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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff795d3d5f71f38158882f6a10ae2d230ce09c3e | 226 | py | Python | src/my_code.py | Athenian-Computer-Science/print-input-assignment-template | ef9f6add483636402e3326bd150be928de5c82b4 | [
"Apache-2.0"
] | null | null | null | src/my_code.py | Athenian-Computer-Science/print-input-assignment-template | ef9f6add483636402e3326bd150be928de5c82b4 | [
"Apache-2.0"
] | null | null | null | src/my_code.py | Athenian-Computer-Science/print-input-assignment-template | ef9f6add483636402e3326bd150be928de5c82b4 | [
"Apache-2.0"
] | null | null | null | ##################################################
# Collaborators (including friends, parents, web sites where you got help, etc):
# Enter none if you didn't need help!
#
##################################################
| 28.25 | 81 | 0.393805 | 19 | 226 | 4.684211 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 226 | 7 | 82 | 32.285714 | 0.445 | 0.50885 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff7f8cc020c13b11f04e65784379dca68e2bf4bb | 172 | py | Python | HackerRank/Python_Learn/03_Strings/03_Whats_Your_Name.py | Zubieta/CPP | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 8 | 2017-03-02T07:56:45.000Z | 2021-08-07T20:20:19.000Z | HackerRank/Python_Learn/03_Strings/03_Whats_Your_Name.py | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | null | null | null | HackerRank/Python_Learn/03_Strings/03_Whats_Your_Name.py | zubie7a/Algorithms | fb4a3cbf2e4edcc590df15663cd28fb9ecab679c | [
"MIT"
] | 1 | 2021-08-07T20:20:20.000Z | 2021-08-07T20:20:20.000Z | # https://www.hackerrank.com/challenges/whats-your-name
def print_full_name(a, b):
# Formatting strings.
print "Hello %s %s! You just delved into python." % (a, b)
| 34.4 | 62 | 0.686047 | 27 | 172 | 4.296296 | 0.814815 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 172 | 4 | 63 | 43 | 0.805556 | 0.424419 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ff93e8208f8d48305cd3220942122dbeda9646de | 27 | py | Python | pineboolib/plugins/sql/__init__.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/plugins/sql/__init__.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/plugins/sql/__init__.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 8 | 2017-11-05T15:56:31.000Z | 2019-04-25T16:32:28.000Z | """Sql drivers package."""
| 13.5 | 26 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.708333 | 0.740741 | 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 |
ff9e61a6e89f6e2bd8465c1127793f661a7c622e | 53 | py | Python | quara/protocol/qtomography/__init__.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 3 | 2021-05-19T11:44:30.000Z | 2022-03-30T07:13:49.000Z | quara/protocol/qtomography/__init__.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 2 | 2021-06-02T01:24:59.000Z | 2021-06-02T12:20:31.000Z | quara/protocol/qtomography/__init__.py | tknrsgym/quara | 8f3337af83cdd02bb85632bb1e297902b1fff8fb | [
"Apache-2.0"
] | 1 | 2021-10-14T13:21:27.000Z | 2021-10-14T13:21:27.000Z | """Main logics for Quantum Tomography protocols."""
| 26.5 | 52 | 0.735849 | 6 | 53 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.847826 | 0.849057 | 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 |
ff9efa8d199512372b8f73be9b38d5de225e070c | 2,982 | py | Python | main.py | c-smith7/Feedback_GUI | 141d082b03fe40651e0d9d02546de73b4b72e558 | [
"MIT"
] | null | null | null | main.py | c-smith7/Feedback_GUI | 141d082b03fe40651e0d9d02546de73b4b72e558 | [
"MIT"
] | null | null | null | main.py | c-smith7/Feedback_GUI | 141d082b03fe40651e0d9d02546de73b4b72e558 | [
"MIT"
] | null | null | null | import sys
from PyQt5 import QtCore, Qt
from PyQt5.QtWidgets import QMessageBox, QApplication
from selenium.common.exceptions import SessionNotCreatedException
from app.main_widget import Splashscreen
from app.main_window import MainWindow
import resources
def main():
try:
app = QApplication(sys.argv)
... | 48.096774 | 131 | 0.651241 | 352 | 2,982 | 5.488636 | 0.28125 | 0.062112 | 0.046584 | 0.062112 | 0.706004 | 0.706004 | 0.706004 | 0.643892 | 0.643892 | 0.643892 | 0 | 0.077353 | 0.219651 | 2,982 | 61 | 132 | 48.885246 | 0.752901 | 0 | 0 | 0.545455 | 0 | 0.236364 | 0.441315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.127273 | 0 | 0.145455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4452815dd4a7c17fbb7a784c30b9d2d5f2d74d41 | 109 | py | Python | Vamei/std06/sp2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 5 | 2020-05-18T06:54:52.000Z | 2021-05-29T23:17:41.000Z | Vamei/std06/sp2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | null | null | null | Vamei/std06/sp2.py | YangPhy/learnPython | 5507fa1a0d2878fc663d62509af8ff959955f822 | [
"MIT"
] | 1 | 2020-05-17T22:47:49.000Z | 2020-05-17T22:47:49.000Z | import subprocess
out1=subprocess.call("ls -l",shell=True)
out2=subprocess.call("cd /home && ls",shell=True)
| 27.25 | 49 | 0.743119 | 17 | 109 | 4.764706 | 0.647059 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.073395 | 109 | 3 | 50 | 36.333333 | 0.782178 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4452e03ecdc5eae363cc91f7e655d0b4f12ebfeb | 266 | py | Python | mysite/services/plot_cutter_service.py | mscibxablach/PhotoApp2 | 84cf70bd5f6442ed325f1082a6e0087883e06d37 | [
"MIT"
] | null | null | null | mysite/services/plot_cutter_service.py | mscibxablach/PhotoApp2 | 84cf70bd5f6442ed325f1082a6e0087883e06d37 | [
"MIT"
] | null | null | null | mysite/services/plot_cutter_service.py | mscibxablach/PhotoApp2 | 84cf70bd5f6442ed325f1082a6e0087883e06d37 | [
"MIT"
] | null | null | null | from mysite.plot_cutter.plot_cutter import PlotCutter
class PlotCutterService:
def __init__(self, plot_cutter):
self.plot_cutter = plot_cutter
def get_plot(self, image_path):
image = PlotCutter.cut_plot(image_path)
return image
| 19 | 53 | 0.718045 | 34 | 266 | 5.235294 | 0.470588 | 0.280899 | 0.157303 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218045 | 266 | 13 | 54 | 20.461538 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
922f74375a57400b7e0b9149fd360529eebdd5eb | 349 | py | Python | wencai/__init__.py | bruce2792/wencai | 1b4e8bdcb02e594e575601c0893c1b356cc2256b | [
"MIT"
] | 113 | 2019-11-02T07:30:09.000Z | 2022-03-29T08:00:51.000Z | wencai/__init__.py | bruce2792/wencai | 1b4e8bdcb02e594e575601c0893c1b356cc2256b | [
"MIT"
] | 18 | 2019-10-19T16:51:46.000Z | 2022-03-09T13:22:39.000Z | wencai/__init__.py | bruce2792/wencai | 1b4e8bdcb02e594e575601c0893c1b356cc2256b | [
"MIT"
] | 47 | 2019-12-02T07:11:47.000Z | 2022-03-24T13:09:13.000Z | # -*- coding:utf-8 -*-
import sys
import os
from wencai.core.event import (get_scrape_report,
set_variable,
get_strategy,
get_event_evaluate,
get_lastjs,
search
... | 31.727273 | 50 | 0.363897 | 25 | 349 | 4.8 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.584527 | 349 | 10 | 51 | 34.9 | 0.82069 | 0.057307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9239554782b02d4f5581764394f6700379c004ab | 460 | py | Python | CoverLetterBuilder.py | joetannn/cs-321-project | 38b3c3939f0d631dbffce36043c8f43e32d8ecb6 | [
"MIT"
] | null | null | null | CoverLetterBuilder.py | joetannn/cs-321-project | 38b3c3939f0d631dbffce36043c8f43e32d8ecb6 | [
"MIT"
] | 4 | 2021-03-10T11:08:26.000Z | 2022-03-02T06:22:24.000Z | CoverLetterBuilder.py | joetannn/cs-321-project | 38b3c3939f0d631dbffce36043c8f43e32d8ecb6 | [
"MIT"
] | null | null | null | import json
class CoverLetterBuilder:
jsonInfo = ""
jsonInfoIndicators = ""
def __init__(self, info, infoIndicators):
self.jsonInfo = info
self.jsonInfoIndicators = infoIndicators
# param infile; file pointer with cover letter with indicators to be filled in with info
# param out... | 27.058824 | 92 | 0.691304 | 52 | 460 | 6.038462 | 0.634615 | 0.070064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 460 | 16 | 93 | 28.75 | 0.912791 | 0.378261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
92400e4b46cc5d5435a047d06b28525e1878aa7b | 960 | py | Python | ports/k210-standalone/builtin-py/platform.py | alangman/MaixPy | d58620dd153fa0830436ec0df4ad704fbb94ee14 | [
"MIT"
] | 1 | 2020-04-08T07:25:24.000Z | 2020-04-08T07:25:24.000Z | ports/k210-standalone/builtin-py/common.py | trouble3/MaixPy | 368b2c3f55ca6969542f6eed459a06d53ba6d531 | [
"MIT"
] | null | null | null | ports/k210-standalone/builtin-py/common.py | trouble3/MaixPy | 368b2c3f55ca6969542f6eed459a06d53ba6d531 | [
"MIT"
] | 1 | 2019-09-09T08:06:33.000Z | 2019-09-09T08:06:33.000Z | import machine
class pin_init:
fpioa=machine.fpioa()
def init(self):
self.fpioa.set_function(47,137)#FUNC_CMOS_PCLK
self.fpioa.set_function(46,132)#FUNC_CMOS_XCLK
self.fpioa.set_function(45,136)#FUNC_CMOS_HREF
self.fpioa.set_function(44,134)#FUNC_CMOS_PWDN ... | 48 | 77 | 0.734375 | 155 | 960 | 4.219355 | 0.393548 | 0.206422 | 0.275229 | 0.458716 | 0.212538 | 0.142202 | 0.142202 | 0 | 0 | 0 | 0 | 0.102117 | 0.163542 | 960 | 19 | 78 | 50.526316 | 0.712329 | 0.369792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9255ee06015b4da1e8a5e92854d796b2df9226bb | 47 | py | Python | workflows/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | workflows/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | workflows/__init__.py | ChrisHad/algorithm-reference-library | bded1b62ea801ea4f4f5bd0794c18cd81d4b2810 | [
"Apache-2.0"
] | null | null | null | """ Algorithm Reference Library workflows
"""
| 11.75 | 41 | 0.723404 | 4 | 47 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 42 | 15.666667 | 0.85 | 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 |
92676087b72621392ed82045ec290ae24c16e28c | 127 | py | Python | bin/pnr_compiler.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | null | null | null | bin/pnr_compiler.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | null | null | null | bin/pnr_compiler.py | mabrains/ALIGN-public | 9a6c14310de13df369a8340f465911b629f15a3f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from align.pnr.pnr_compiler import cmdline
import sys
if __name__ == '__main__':
cmdline( sys.argv)
| 18.142857 | 42 | 0.732283 | 19 | 127 | 4.421053 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 6 | 43 | 21.166667 | 0.777778 | 0.15748 | 0 | 0 | 0 | 0 | 0.075472 | 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 |
9270515e5cbd59e1466345439279555411a7a1a8 | 60 | py | Python | de0nano-interface/firmware/src/fx2lib/examples/bulkloop/load.py | mfkiwl/myriadrf-boards | 70e0b59f5fd1aea4f37bf5474537016fa778eed5 | [
"CC-BY-3.0"
] | 30 | 2015-01-05T12:52:22.000Z | 2022-01-31T12:32:28.000Z | de0nano-interface/firmware/src/fx2lib/examples/bulkloop/load.py | mfkiwl/myriadrf-boards | 70e0b59f5fd1aea4f37bf5474537016fa778eed5 | [
"CC-BY-3.0"
] | 2 | 2016-05-03T07:39:46.000Z | 2016-05-07T10:04:36.000Z | de0nano-interface/firmware/src/fx2lib/examples/bulkloop/load.py | mfkiwl/myriadrf-boards | 70e0b59f5fd1aea4f37bf5474537016fa778eed5 | [
"CC-BY-3.0"
] | 26 | 2015-01-15T04:04:19.000Z | 2021-11-10T22:37:11.000Z |
from fx2load import *
openfx2()
reset_bix('bulkloop.bix')
| 10 | 25 | 0.733333 | 8 | 60 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 60 | 5 | 26 | 12 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 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 |
92aa9962b410a67ab502e900d9bf57e1f1dd6fee | 97 | py | Python | src/survey_stats/etl/metadata.py | semanticbits/survey_stats | 10d74ea6f25f98e55aefc89cb612e1e668ab236e | [
"BSD-2-Clause"
] | 2 | 2017-06-05T14:39:13.000Z | 2017-06-16T15:42:21.000Z | src/survey_stats/etl/metadata.py | HHS/survey_stats | db09f0b506154e154db5b3506825c8d989b99f58 | [
"BSD-2-Clause"
] | 50 | 2018-07-05T21:05:19.000Z | 2021-07-29T06:14:19.000Z | src/survey_stats/etl/metadata.py | HHS/survey_stats | db09f0b506154e154db5b3506825c8d989b99f58 | [
"BSD-2-Clause"
] | 3 | 2017-06-16T16:10:01.000Z | 2018-10-05T21:54:30.000Z | import yaml
import pandas as pd
from survey_stats import log
logger = log.getLogger(__name__)
| 12.125 | 32 | 0.793814 | 15 | 97 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 7 | 33 | 13.857143 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 |
2b99abf9300e83266387360d244f2c2f51ac9b4a | 34,053 | py | Python | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_9.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_9():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 175.530928 | 1,433 | 0.800722 | 5,404 | 34,053 | 4.910437 | 0.3651 | 0.040775 | 0.056075 | 0.068435 | 0.271932 | 0.27035 | 0.261418 | 0.257688 | 0.255427 | 0.255427 | 0 | 0.598377 | 0.048513 | 34,053 | 193 | 1,434 | 176.440415 | 0.22061 | 0.04167 | 0 | 0.185841 | 0 | 0.00885 | 0.032977 | 0.006135 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b9e9af7471081699466351e4f3d3c8733fa60bb | 74 | py | Python | python_docs/23Erros_excecoes/tempCodeRunnerFile.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_docs/23Erros_excecoes/tempCodeRunnerFile.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | python_docs/23Erros_excecoes/tempCodeRunnerFile.py | Matheus-IT/lang-python-related | dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9 | [
"MIT"
] | null | null | null | a = float(input('Numerador: '))
b = float(input('Denominador: ')) | 37 | 37 | 0.567568 | 8 | 74 | 5.25 | 0.75 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 74 | 2 | 37 | 37 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2ba0673d40d215ccfbade8f9abe9392441b46289 | 572 | py | Python | tests/algorithm_t/test_a_594.py | firstprojectfor/FPF_python | 2321aff0d5b56f787befec55917d731c8c776558 | [
"MIT"
] | 1 | 2019-05-04T01:32:06.000Z | 2019-05-04T01:32:06.000Z | tests/algorithm_t/test_a_594.py | firstprojectfor/FPF_python | 2321aff0d5b56f787befec55917d731c8c776558 | [
"MIT"
] | null | null | null | tests/algorithm_t/test_a_594.py | firstprojectfor/FPF_python | 2321aff0d5b56f787befec55917d731c8c776558 | [
"MIT"
] | null | null | null | from unittest import TestCase
from algorithm.a_594_longest_harmonious_subsequence import Algorithm
class A_594_Test(TestCase):
def setUp(self):
self.algorithm = Algorithm()
super().setUp()
def testLongestPalindromeSubSeq(self):
self.assertEqual(0, self.algorithm.findLHS(None))
... | 31.777778 | 80 | 0.678322 | 73 | 572 | 5.232877 | 0.410959 | 0.204188 | 0.26178 | 0.209424 | 0.382199 | 0.382199 | 0.193717 | 0 | 0 | 0 | 0 | 0.051613 | 0.187063 | 572 | 17 | 81 | 33.647059 | 0.769892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2bb892e48b8da9bf5c4d537efb0e726951e7b58d | 23,015 | py | Python | pairs/core/backtest/fb_amzn.py | GenusGeoff/pairs | 11e2a23a663beadd25bca6be932c1522f6ff0102 | [
"MIT"
] | 3 | 2021-06-22T21:19:52.000Z | 2021-11-09T19:12:59.000Z | pairs/core/backtest/fb_amzn.py | GenusGeoff/pairs | 11e2a23a663beadd25bca6be932c1522f6ff0102 | [
"MIT"
] | 15 | 2021-03-13T21:58:20.000Z | 2021-03-26T21:07:23.000Z | pairs/core/backtest/fb_amzn.py | GenusGeoff/pairs | 11e2a23a663beadd25bca6be932c1522f6ff0102 | [
"MIT"
] | 1 | 2021-03-13T23:09:43.000Z | 2021-03-13T23:09:43.000Z | """Data for FB-AMZN Spread"""
data = """
date,price_l,price_r
2019-03-14,170.1699981689453,1686.219970703125
2019-03-15,165.97999572753906,1712.3599853515625
2019-03-18,160.47000122070312,1742.1500244140625
2019-03-19,161.57000732421875,1761.8499755859375
2019-03-20,165.44000244140625,1797.27001953125
2019-03-21,166.0... | 45.127451 | 48 | 0.845579 | 3,539 | 23,015 | 5.498446 | 0.233117 | 0.007092 | 0.002621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.863073 | 0.022333 | 23,015 | 509 | 49 | 45.21611 | 0.001733 | 0.000999 | 0 | 0 | 0 | 0 | 0.999304 | 0.97642 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2bc836c501da68562b53375a7ae4faac1f7f286b | 866 | py | Python | 2020_10_14/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 114 | 2015-03-10T22:17:42.000Z | 2022-03-09T17:49:48.000Z | 2020_10_14/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 9 | 2018-09-04T12:49:59.000Z | 2019-11-17T21:29:51.000Z | 2020_10_14/dojo_test.py | devppjr/dojo | de0bf116153bd1251dd948c18fc73ac41def0fa5 | [
"MIT"
] | 39 | 2015-01-29T01:20:56.000Z | 2022-02-17T16:26:25.000Z | import unittest
from dojo import is_substring_valid, main
class DojoTest(unittest.TestCase):
def test_is_substring_valid_1(self):
self.assertTrue(is_substring_valid("LR"))
def test_is_substring_valid_2(self):
self.assertFalse(is_substring_valid("LRR"))
def test_is_substring_valid_3(se... | 24.742857 | 81 | 0.670901 | 117 | 866 | 4.709402 | 0.393162 | 0.139746 | 0.203267 | 0.166969 | 0.248639 | 0.123412 | 0 | 0 | 0 | 0 | 0 | 0.014663 | 0.212471 | 866 | 35 | 82 | 24.742857 | 0.785924 | 0.143187 | 0 | 0 | 0 | 0 | 0.064828 | 0 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.368421 | false | 0 | 0.105263 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9200c58c15fb82e4fda656ef1deca64c342ff9f3 | 108 | py | Python | py_tdlib/constructors/authentication_code_type_flash_call.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/authentication_code_type_flash_call.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/authentication_code_type_flash_call.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class authenticationCodeTypeFlashCall(Type):
pattern = None # type: "string"
| 18 | 44 | 0.759259 | 11 | 108 | 7.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 5 | 45 | 21.6 | 0.891304 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6115b59f0892168ff10e5f4aecf7b20c58f79ee | 167 | py | Python | blackmamba/lib/future/moves/html/parser.py | oz90210/blackmamba | 65c82c8e99028d6fbb57098ce82d0a394df215a0 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | blackmamba/lib/future/moves/html/parser.py | oz90210/blackmamba | 65c82c8e99028d6fbb57098ce82d0a394df215a0 | [
"MIT"
] | 4,640 | 2015-07-08T16:19:08.000Z | 2019-12-02T15:01:27.000Z | blackmamba/lib/future/moves/html/parser.py | oz90210/blackmamba | 65c82c8e99028d6fbb57098ce82d0a394df215a0 | [
"MIT"
] | 698 | 2015-06-02T19:18:35.000Z | 2022-03-29T16:57:15.000Z | from __future__ import absolute_import
from future.utils import PY3
__future_module__ = True
if PY3:
from html.parser import *
else:
from HTMLParser import *
| 18.555556 | 38 | 0.772455 | 23 | 167 | 5.173913 | 0.565217 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.185629 | 167 | 8 | 39 | 20.875 | 0.860294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
a612433fc0a0fc997203246665402269c2609cd9 | 749 | py | Python | tests/integration/resources/token_test.py | tong181567/magic-admin | 76d3af5838ae9f6a4d756ddf8157695a4573dc65 | [
"MIT"
] | 19 | 2020-07-29T21:15:44.000Z | 2022-03-04T07:30:51.000Z | tests/integration/resources/token_test.py | tong181567/magic-admin | 76d3af5838ae9f6a4d756ddf8157695a4573dc65 | [
"MIT"
] | 8 | 2020-07-15T04:58:25.000Z | 2022-02-24T02:00:37.000Z | tests/integration/resources/token_test.py | tong181567/magic-admin | 76d3af5838ae9f6a4d756ddf8157695a4573dc65 | [
"MIT"
] | 10 | 2020-07-29T21:15:46.000Z | 2022-02-05T12:23:36.000Z | from magic_admin.resources.token import Token
from testing.data.did_token import claim
from testing.data.did_token import future_did_token
from testing.data.did_token import issuer
from testing.data.did_token import proof
from testing.data.did_token import public_address
class TestToken:
def test_check_required_... | 29.96 | 75 | 0.773031 | 108 | 749 | 5.046296 | 0.25 | 0.146789 | 0.137615 | 0.165138 | 0.284404 | 0.284404 | 0.124771 | 0 | 0 | 0 | 0 | 0 | 0.157543 | 749 | 24 | 76 | 31.208333 | 0.863708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.294118 | false | 0 | 0.352941 | 0 | 0.705882 | 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 |
a6270026d37a254a1ba1348773f5dbc083b04cfa | 3,008 | py | Python | ApiTest/MyApp/migrations/0001_initial.py | archerckk/TestDir | 6cce4bf70b2758c49ade435f51bb4392433f04fb | [
"MIT"
] | null | null | null | ApiTest/MyApp/migrations/0001_initial.py | archerckk/TestDir | 6cce4bf70b2758c49ade435f51bb4392433f04fb | [
"MIT"
] | null | null | null | ApiTest/MyApp/migrations/0001_initial.py | archerckk/TestDir | 6cce4bf70b2758c49ade435f51bb4392433f04fb | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2021-03-01 08:30
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='DB_apis',
fields=[
('id', models.AutoField(au... | 46.276923 | 114 | 0.567154 | 325 | 3,008 | 5.070769 | 0.218462 | 0.121359 | 0.262136 | 0.349515 | 0.777306 | 0.716019 | 0.678398 | 0.48301 | 0.331311 | 0.225728 | 0 | 0.038569 | 0.284574 | 3,008 | 64 | 115 | 47 | 0.72723 | 0.014295 | 0 | 0.385965 | 1 | 0 | 0.083024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.087719 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a66bd635a65f5b38ac680e1cd85e386ecea0ff42 | 202 | py | Python | celery_with_django/mainapp/views.py | viresh18/celery_with_django | 6921cce90e6379eb9637dc663941fe531e43ff51 | [
"MIT"
] | null | null | null | celery_with_django/mainapp/views.py | viresh18/celery_with_django | 6921cce90e6379eb9637dc663941fe531e43ff51 | [
"MIT"
] | null | null | null | celery_with_django/mainapp/views.py | viresh18/celery_with_django | 6921cce90e6379eb9637dc663941fe531e43ff51 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from .tasks import test_func
# Create your views here.
def test(request):
test_func.delay()
return HttpResponse("Done") | 22.444444 | 36 | 0.772277 | 28 | 202 | 5.5 | 0.678571 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153465 | 202 | 9 | 37 | 22.444444 | 0.900585 | 0.113861 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a698f8f569a374580614041319640a1f71f48003 | 435 | py | Python | build/piman.app/pysmi/reader/__init__.py | jackgisel/team-athens | 91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0 | [
"Apache-2.0"
] | null | null | null | build/piman.app/pysmi/reader/__init__.py | jackgisel/team-athens | 91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0 | [
"Apache-2.0"
] | null | null | null | build/piman.app/pysmi/reader/__init__.py | jackgisel/team-athens | 91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0 | [
"Apache-2.0"
] | null | null | null | #
# This file is part of pysmi software.
#
# Copyright (c) 2015-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysmi/license.html
#
from pysmi.reader.callback import CallbackReader
from pysmi.reader.ftpclient import FtpReader
from pysmi.reader.httpclient import HttpReader
from pysmi.reader.ziprea... | 33.461538 | 59 | 0.816092 | 59 | 435 | 6.016949 | 0.559322 | 0.152113 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020513 | 0.103448 | 435 | 12 | 60 | 36.25 | 0.889744 | 0.326437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a6bf4c8fd90b7925df0437f34a2d8b3487014418 | 373 | py | Python | Day 14: Scope/scope.py | Pritam055/python-ProblemSolving | 402cabb9047f68e330c1c064f0c46a5535775f44 | [
"MIT"
] | 1 | 2021-11-02T04:08:31.000Z | 2021-11-02T04:08:31.000Z | Day 14: Scope/scope.py | Pritam055/python-ProblemSolving | 402cabb9047f68e330c1c064f0c46a5535775f44 | [
"MIT"
] | null | null | null | Day 14: Scope/scope.py | Pritam055/python-ProblemSolving | 402cabb9047f68e330c1c064f0c46a5535775f44 | [
"MIT"
] | 1 | 2021-12-01T14:43:21.000Z | 2021-12-01T14:43:21.000Z |
# Add your code here
def computeDifference(self):
difference = []
for j in range(len(self.__elements)-1):
for i in range(j,len(self.__elements)-1):
diff = abs(self.__elements[j] - self.__elements[i+1])
difference.append(diff)
... | 23.3125 | 69 | 0.536193 | 41 | 373 | 4.682927 | 0.512195 | 0.25 | 0.15625 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.356568 | 373 | 15 | 70 | 24.866667 | 0.7875 | 0.048257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6cf4ba8cbb3dbd6381b4605c0d1c0107656b952 | 2,295 | py | Python | tests/cosrlibtests/test_urlclient.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 141 | 2016-02-17T14:27:57.000Z | 2021-12-27T02:56:48.000Z | tests/cosrlibtests/test_urlclient.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 69 | 2016-02-20T02:06:59.000Z | 2017-01-29T22:23:46.000Z | tests/cosrlibtests/test_urlclient.py | commonsearch/cosr-back | 28ca0c1b938dde52bf4f59a835c98dd5ab22cad6 | [
"Apache-2.0"
] | 38 | 2016-02-25T04:40:07.000Z | 2020-06-11T07:22:44.000Z | def test_urlclient_getids(urlclient):
# TODO proper fixture with reset at each test for local dev!
client = urlclient.client
# Test basic hashes being different
wp_homepage = client.get_id("http://www.wordpress.org")
wp_com_homepage = client.get_id("http://www.wordpress.com")
assert wp_homepag... | 39.568966 | 85 | 0.694989 | 329 | 2,295 | 4.595745 | 0.197568 | 0.130952 | 0.179894 | 0.188492 | 0.664021 | 0.633598 | 0.633598 | 0.61045 | 0.51918 | 0.399471 | 0 | 0.005206 | 0.162963 | 2,295 | 57 | 86 | 40.263158 | 0.781884 | 0.084096 | 0 | 0.05 | 0 | 0 | 0.320286 | 0 | 0 | 0 | 0 | 0.017544 | 0.425 | 0 | null | null | 0 | 0 | null | null | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6cfa12f70ddcba8c324be6359bd2ab77467a850 | 18 | py | Python | mapillary_tools/__init__.py | mxa/mapillary_tools | 4bfebf8705d06d8568619cc0c6b83fd3d4fad95e | [
"BSD-2-Clause"
] | null | null | null | mapillary_tools/__init__.py | mxa/mapillary_tools | 4bfebf8705d06d8568619cc0c6b83fd3d4fad95e | [
"BSD-2-Clause"
] | null | null | null | mapillary_tools/__init__.py | mxa/mapillary_tools | 4bfebf8705d06d8568619cc0c6b83fd3d4fad95e | [
"BSD-2-Clause"
] | null | null | null | VERSION = "0.8.2"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6f70e22248345957384770b9ccecfcb89b6487d | 174 | py | Python | plugins/python/container/util/iterator.py | proglang/servercodetest | f0acd5940a22be9a72a95494afb308bb3017ea64 | [
"MIT"
] | null | null | null | plugins/python/container/util/iterator.py | proglang/servercodetest | f0acd5940a22be9a72a95494afb308bb3017ea64 | [
"MIT"
] | 2 | 2020-06-05T16:24:37.000Z | 2020-11-15T09:02:48.000Z | plugins/python/container/util/iterator.py | proglang/servercodetest | f0acd5940a22be9a72a95494afb308bb3017ea64 | [
"MIT"
] | 1 | 2020-10-22T05:46:52.000Z | 2020-10-22T05:46:52.000Z | import re
def lines(data: str):
return iterate(data, r"[^\n]+")
def iterate(data: str, regex: str):
return (x.group(0).strip() for x in re.finditer(regex, data))
| 17.4 | 65 | 0.632184 | 29 | 174 | 3.793103 | 0.62069 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.183908 | 174 | 9 | 66 | 19.333333 | 0.767606 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 |
47077ff459634eb84a4ae0a45bb6e1ba58bcb75e | 615 | py | Python | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/forums.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/forums.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null | blog_pro/wp-content/themes/ngi/iearn_tech_new-prod/iearn_tech_new/forums.py | TheSilentNoise/NexGenSetup | 972a29dc7dfb54d59a1d458387c6804b27435097 | [
"Apache-2.0"
] | null | null | null |
from flask import render_template,redirect,url_for,request,json,flash
from app import app
import datetime
from flask_mail import Message
from app import db,mail
from forms import *
from werkzeug.security import generate_password_hash,check_password_hash
from flask_login import LoginManager,login_user,login_required,lo... | 26.73913 | 87 | 0.811382 | 88 | 615 | 5.465909 | 0.5 | 0.056133 | 0.054054 | 0.108108 | 0.12474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120325 | 615 | 22 | 88 | 27.954545 | 0.889094 | 0.035772 | 0 | 0 | 0 | 0 | 0.049236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0.066667 | 0.666667 | 0 | 0.866667 | 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 |
4724dd447afde3887aaa0a1ebe1e819a459ac85b | 1,837 | py | Python | rover_source/scripts/rover_joint_state_publisher.py | yavuzterzioglu/Rover_19 | d500ef3208312280935e0c15c9648270d29ee317 | [
"BSD-2-Clause"
] | 4 | 2019-02-15T12:54:17.000Z | 2021-03-07T14:30:47.000Z | rover_source/scripts/rover_joint_state_publisher.py | yavuzterzioglu/Rover_19 | d500ef3208312280935e0c15c9648270d29ee317 | [
"BSD-2-Clause"
] | 1 | 2019-02-05T19:57:24.000Z | 2019-02-05T19:57:51.000Z | rover_source/scripts/rover_joint_state_publisher.py | yavuzterzioglu/Rover_19 | d500ef3208312280935e0c15c9648270d29ee317 | [
"BSD-2-Clause"
] | 2 | 2019-01-22T15:06:43.000Z | 2019-01-25T11:38:08.000Z | #!/usr/bin/env python
import rospy
from sensor_msgs.msg import JointState
from std_msgs.msg import String
from rover_source.msg import *
joints =Joint_msgs()
joint_state_vector=[joints.joint1, joints.joint2, joints.joint3, joints.joint4, joints.joint5, joints.joint6]
def callback(data,self):
self.splitted=data... | 31.135593 | 109 | 0.645618 | 246 | 1,837 | 4.739837 | 0.235772 | 0.267581 | 0.349914 | 0.19554 | 0.576329 | 0.566038 | 0.566038 | 0.566038 | 0.566038 | 0.555746 | 0 | 0.077638 | 0.179641 | 1,837 | 58 | 110 | 31.672414 | 0.696085 | 0 | 0 | 0 | 0 | 0 | 0.042952 | 0.04185 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.097561 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b534460e437722b85365f871ab4099b815edcd6 | 53 | py | Python | setup.py | ocean779/venv | 2b0a063fca28aedd67d0a4b5a360bfee570b43b4 | [
"bzip2-1.0.6"
] | null | null | null | setup.py | ocean779/venv | 2b0a063fca28aedd67d0a4b5a360bfee570b43b4 | [
"bzip2-1.0.6"
] | null | null | null | setup.py | ocean779/venv | 2b0a063fca28aedd67d0a4b5a360bfee570b43b4 | [
"bzip2-1.0.6"
] | null | null | null | from setuptools import setup
setup(name='guestbook')
| 17.666667 | 28 | 0.811321 | 7 | 53 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 2 | 29 | 26.5 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 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 |
5b5ef0d847741ba7e1f5fa3e0832aef27249419d | 215 | py | Python | kabzimal/rest/serializers/payments.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | null | null | null | kabzimal/rest/serializers/payments.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | 12 | 2020-06-05T23:02:28.000Z | 2022-03-11T23:59:56.000Z | kabzimal/rest/serializers/payments.py | arasumran/kabzimal | dbae35fdb940bdf0338bd43983b1894c87a35961 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from kabzimal.models import PaymentsModels
class PaymentsSerializers(serializers.ModelSerializer):
class Meta:
model = PaymentsModels
fields = '__all__'
| 21.5 | 55 | 0.762791 | 20 | 215 | 7.95 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190698 | 215 | 9 | 56 | 23.888889 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0.032558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b738f5cfef942bcffa98358bce6bd63f75a65d8 | 220 | py | Python | dbaas/flipperfox_migration/service/databaseflipperfoxmigration.py | jaeko44/python_dbaas | 4fafa4ad70200fec1436c326c751761922ec9fa8 | [
"BSD-3-Clause"
] | null | null | null | dbaas/flipperfox_migration/service/databaseflipperfoxmigration.py | jaeko44/python_dbaas | 4fafa4ad70200fec1436c326c751761922ec9fa8 | [
"BSD-3-Clause"
] | null | null | null | dbaas/flipperfox_migration/service/databaseflipperfoxmigration.py | jaeko44/python_dbaas | 4fafa4ad70200fec1436c326c751761922ec9fa8 | [
"BSD-3-Clause"
] | 1 | 2017-07-02T08:46:17.000Z | 2017-07-02T08:46:17.000Z | # -*- coding: utf-8 -*-
from django_services import service
from ..models import DatabaseFlipperFoxMigration
class DatabaseFlipperFoxMigrationService(service.CRUDService):
model_class = DatabaseFlipperFoxMigration
| 27.5 | 62 | 0.818182 | 19 | 220 | 9.368421 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.109091 | 220 | 7 | 63 | 31.428571 | 0.903061 | 0.095455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5b87dbe851a23fccfbc2f2b658f9446896d6b4af | 87 | py | Python | scripts/nltk_downloads.py | NatalieThurlby/nlp-islamist-discourse | 588b70624918c5690662294e162c7319a651bb50 | [
"MIT"
] | 2 | 2021-07-05T09:17:46.000Z | 2021-09-14T10:06:26.000Z | scripts/nltk_downloads.py | NatalieThurlby/nlp-islamist-discourse | 588b70624918c5690662294e162c7319a651bb50 | [
"MIT"
] | 6 | 2021-07-05T08:28:05.000Z | 2021-07-22T08:37:05.000Z | scripts/nltk_downloads.py | NatalieThurlby/nlp-islamist-discourse | 588b70624918c5690662294e162c7319a651bb50 | [
"MIT"
] | 3 | 2021-07-07T13:12:46.000Z | 2022-02-08T12:51:17.000Z | """Must be run before using NLTK downloads"""
import nltk
nltk.download("stopwords")
| 14.5 | 45 | 0.735632 | 12 | 87 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 5 | 46 | 17.4 | 0.853333 | 0.448276 | 0 | 0 | 0 | 0 | 0.214286 | 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 |
5ba0d566868db7bcaa115eb28ee7a43713d627e4 | 85 | py | Python | tests/IT/fixtures/test_module_setup_fail.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | tests/IT/fixtures/test_module_setup_fail.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | 5 | 2018-12-27T02:52:01.000Z | 2019-01-02T01:52:55.000Z | tests/IT/fixtures/test_module_setup_fail.py | testandconquer/pytest-conquer | da600c7f5bcd06aa62c5cca9b75370bf1a6ebf05 | [
"MIT"
] | null | null | null | def setup_module(module):
raise Exception('setup failed')
def test():
pass
| 12.142857 | 35 | 0.670588 | 11 | 85 | 5.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 85 | 6 | 36 | 14.166667 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
5bbce23accbed6efb0ce6d3ae1b16f3ef82f7f78 | 98 | py | Python | examples/linux/print-minute-fill.py | Gustra/tiny-dash | a6eb226432f7207b40adc0b1bf763c6c929b4ce4 | [
"MIT"
] | null | null | null | examples/linux/print-minute-fill.py | Gustra/tiny-dash | a6eb226432f7207b40adc0b1bf763c6c929b4ce4 | [
"MIT"
] | 33 | 2017-06-03T08:58:07.000Z | 2017-10-12T19:09:55.000Z | examples/linux/print-minute-fill.py | Gustra/tiny-dash | a6eb226432f7207b40adc0b1bf763c6c929b4ce4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
import sys
print float(int(time.time())%60)/60.0
sys.exit(0)
| 10.888889 | 37 | 0.693878 | 19 | 98 | 3.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.122449 | 98 | 8 | 38 | 12.25 | 0.72093 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5be03286c3a9225c623eae0fd85a3bb0cca145a7 | 183 | py | Python | speech_synthesizer/config.py | naderabdalghani/project-rev | 3205d42a2220372783ab49ce8c3c70a4c4b9ad7e | [
"Apache-2.0"
] | 2 | 2021-12-13T04:19:30.000Z | 2022-02-16T16:27:20.000Z | speech_synthesizer/config.py | MuhanadAtef/project-rev | 3205d42a2220372783ab49ce8c3c70a4c4b9ad7e | [
"Apache-2.0"
] | null | null | null | speech_synthesizer/config.py | MuhanadAtef/project-rev | 3205d42a2220372783ab49ce8c3c70a4c4b9ad7e | [
"Apache-2.0"
] | 2 | 2021-08-17T06:25:36.000Z | 2021-08-17T12:45:33.000Z | import os
from app_config import MODELS_DIR
TED_VOICE_SAMPLE_PATH = os.path.join(MODELS_DIR, 'speech-synthesizer', "TED_VOICE_SAMPLE.wav")
SAVED_INSTANCE_DIR = "speech-synthesizer"
| 26.142857 | 94 | 0.819672 | 28 | 183 | 5 | 0.607143 | 0.128571 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 183 | 6 | 95 | 30.5 | 0.838323 | 0 | 0 | 0 | 0 | 0 | 0.306011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
5bef2604744d99408a1160159a3a5650331ba469 | 6,570 | py | Python | tests/functional/auth/test_id_token.py | sirosen/globus-sdk-python | 0d4e420f52329ab8f993bfe6f86729fb1ef07570 | [
"ECL-2.0",
"Apache-2.0"
] | 47 | 2016-04-13T21:28:19.000Z | 2022-02-28T18:28:18.000Z | tests/functional/auth/test_id_token.py | sirosen/globus-sdk-python | 0d4e420f52329ab8f993bfe6f86729fb1ef07570 | [
"ECL-2.0",
"Apache-2.0"
] | 314 | 2016-04-12T15:07:32.000Z | 2022-03-14T21:00:50.000Z | tests/functional/auth/test_id_token.py | sirosen/globus-sdk-python | 0d4e420f52329ab8f993bfe6f86729fb1ef07570 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2016-06-14T14:05:13.000Z | 2022-02-18T17:20:51.000Z | import json
import jwt
import pytest
import globus_sdk
from tests.common import register_api_route
OIDC_CONFIG = {
"issuer": "https://auth.globus.org",
"authorization_endpoint": "https://auth.globus.org/v2/oauth2/authorize",
"userinfo_endpoint": "https://auth.globus.org/v2/oauth2/userinfo",
"token_en... | 49.398496 | 2,191 | 0.775951 | 512 | 6,570 | 9.679688 | 0.355469 | 0.019774 | 0.020985 | 0.021792 | 0.217716 | 0.202785 | 0.168886 | 0.155165 | 0.113398 | 0.113398 | 0 | 0.071228 | 0.13242 | 6,570 | 132 | 2,192 | 49.772727 | 0.798246 | 0.042009 | 0 | 0.179245 | 0 | 0.009434 | 0.613745 | 0.456252 | 0 | 1 | 0 | 0 | 0.028302 | 1 | 0.066038 | false | 0 | 0.04717 | 0.018868 | 0.132075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f34c3c848bdd3cc564182310a761b4fce9c8255c | 256 | py | Python | Examples/VAE.py | ngroebner/Autoencoders | 49105c4aba2959c6973aeba41b9df4eb012f44ac | [
"MIT"
] | 1 | 2021-07-23T13:07:11.000Z | 2021-07-23T13:07:11.000Z | Examples/VAE.py | ngroebner/Autoencoders | 49105c4aba2959c6973aeba41b9df4eb012f44ac | [
"MIT"
] | null | null | null | Examples/VAE.py | ngroebner/Autoencoders | 49105c4aba2959c6973aeba41b9df4eb012f44ac | [
"MIT"
] | null | null | null | # Example training a variational autoencoder
from torch import nn, optim
from Autoencoders.encoders import VAEEncoder2DConv
from Autoencoders.decoders import Decoder2DConv
from Autoencoders.autoencoders import VAE
from Autoencoders.losses import vae_loss
| 32 | 50 | 0.867188 | 31 | 256 | 7.129032 | 0.580645 | 0.289593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.109375 | 256 | 7 | 51 | 36.571429 | 0.960526 | 0.164063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f352d65589549d6515055665c0c90018adaf9e44 | 210 | py | Python | src/events/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 7 | 2017-04-14T15:28:29.000Z | 2021-09-10T09:45:38.000Z | src/events/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 799 | 2016-04-28T09:31:50.000Z | 2022-03-29T09:05:02.000Z | src/events/admin.py | lgandersen/bornhack-website | fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df | [
"BSD-3-Clause"
] | 35 | 2016-04-28T09:23:53.000Z | 2021-05-02T12:36:01.000Z | from django.contrib import admin
from .models import Routing, Type
@admin.register(Type)
class TypeAdmin(admin.ModelAdmin):
pass
@admin.register(Routing)
class RoutingAdmin(admin.ModelAdmin):
pass
| 15 | 37 | 0.766667 | 26 | 210 | 6.192308 | 0.538462 | 0.161491 | 0.236025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 210 | 13 | 38 | 16.153846 | 0.894444 | 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 |
f355e68febde3f9099d0e3874d9ef59aa88db7ac | 89 | py | Python | uitests/apps.py | wichmannpas/todoscheduler-webclient | ee8256b9bc8cba475f18721c92550b3dd9023ca4 | [
"Apache-2.0"
] | null | null | null | uitests/apps.py | wichmannpas/todoscheduler-webclient | ee8256b9bc8cba475f18721c92550b3dd9023ca4 | [
"Apache-2.0"
] | 75 | 2018-08-20T11:45:14.000Z | 2021-03-03T04:16:00.000Z | uitests/apps.py | wichmannpas/todoscheduler-webclient | ee8256b9bc8cba475f18721c92550b3dd9023ca4 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class UiTestsConfig(AppConfig):
name = 'uitests'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
f36f5ab0b5ccdd9f41f2bf5c834616fd658d27b1 | 197 | py | Python | network-automation-fundamentals/unreadable-script.py | omhmichaels/python-network-automation | fd1cfea4b4009b9514668ac53a3e3551669e23f1 | [
"BSD-2-Clause"
] | null | null | null | network-automation-fundamentals/unreadable-script.py | omhmichaels/python-network-automation | fd1cfea4b4009b9514668ac53a3e3551669e23f1 | [
"BSD-2-Clause"
] | null | null | null | network-automation-fundamentals/unreadable-script.py | omhmichaels/python-network-automation | fd1cfea4b4009b9514668ac53a3e3551669e23f1 | [
"BSD-2-Clause"
] | null | null | null | x=input("What is your name:")
print ("how are you"+x)
y="how are you"+x
if ("test1" in y) and ("test2" in y):
print ("cool") x=y.split(" ") x=x[2]+"awesome" if ("are" in x):
print ("not cool") | 32.833333 | 63 | 0.573604 | 40 | 197 | 2.825 | 0.525 | 0.106195 | 0.159292 | 0.176991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.177665 | 197 | 6 | 64 | 32.833333 | 0.679012 | 0 | 0 | 0 | 0 | 0 | 0.368687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f389eb5a2029b39db6c69f210ae655d15b708bc1 | 1,492 | py | Python | storage/memcached/memcached_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 23 | 2021-05-17T09:24:24.000Z | 2022-01-29T18:40:44.000Z | storage/memcached/memcached_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 2 | 2021-05-17T16:15:12.000Z | 2021-07-20T09:11:22.000Z | storage/memcached/memcached_type.py | DS3Lab/LambdaML | 0afca7819e08632ba116fec8e102084e4040a47a | [
"Apache-2.0"
] | 3 | 2021-05-17T09:31:53.000Z | 2021-12-02T16:29:59.000Z | from storage.base import BaseStorage
from storage.memcached import memcached_operator
class MemcachedStorage(BaseStorage):
def __init__(self, ip, port=11211):
super(MemcachedStorage, self).__init__()
self.client = memcached_operator.get_client(ip, port)
def save(self, src_data, key, **kwargs... | 36.390244 | 102 | 0.710456 | 208 | 1,492 | 4.822115 | 0.221154 | 0.20339 | 0.229312 | 0.103689 | 0.374875 | 0.167498 | 0.115653 | 0.115653 | 0.115653 | 0.115653 | 0 | 0.015625 | 0.184987 | 1,492 | 40 | 103 | 37.3 | 0.809211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.37037 | false | 0 | 0.074074 | 0.296296 | 0.851852 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f3c1fe8ccf238e09fd3e947be49d8f9380494183 | 28 | py | Python | data/studio21_generated/introductory/3109/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3109/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3109/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def scramble_words(words):
| 14 | 26 | 0.785714 | 4 | 28 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 2 | 27 | 14 | 0.84 | 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 |
34116683a42d63256107c74ec42c9adc0be3dedc | 131 | py | Python | Jasmijn/lists/room_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | Jasmijn/lists/room_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | Jasmijn/lists/room_file.py | ArtezGDA/text-IO | b9ed7f2433c0eda08fb45d125ea22a5fdeaef667 | [
"MIT"
] | null | null | null | room_jasmijn = {'adress': "Johan de Wittlaan 41", 'postcode':"6828XC", 'city':"Arnhem", 'surface':"30m2" 'doors': 1, 'windows': 2,} | 131 | 131 | 0.641221 | 17 | 131 | 4.882353 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 0.099237 | 131 | 1 | 131 | 131 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0.55303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
343480a25e5d288cf216d07f3b542b7145749386 | 14,271 | py | Python | alntools/cli.py | churchill-lab/alntools | dd9668284a7d924d881e4d39d1841242ef883d9c | [
"MIT"
] | 1 | 2018-03-22T21:52:27.000Z | 2018-03-22T21:52:27.000Z | alntools/cli.py | churchill-lab/alntools | dd9668284a7d924d881e4d39d1841242ef883d9c | [
"MIT"
] | 8 | 2018-08-22T16:09:16.000Z | 2021-11-15T17:46:56.000Z | alntools/cli.py | churchill-lab/alntools | dd9668284a7d924d881e4d39d1841242ef883d9c | [
"MIT"
] | 2 | 2019-03-10T04:34:16.000Z | 2020-06-03T21:30:27.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function
import glob
import os
import click
from . import bin_utils
from . import methods
from . import utils
from . import viewer
from . import __logo_text__, __version__
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
@click.group(context_setting... | 54.888462 | 170 | 0.722514 | 1,992 | 14,271 | 5.006024 | 0.089859 | 0.051845 | 0.056057 | 0.049739 | 0.801344 | 0.745989 | 0.726835 | 0.686121 | 0.651825 | 0.630866 | 0 | 0.004114 | 0.114358 | 14,271 | 259 | 171 | 55.100386 | 0.784872 | 0.274473 | 0 | 0.389313 | 0 | 0 | 0.205225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099237 | false | 0 | 0.068702 | 0 | 0.175573 | 0.015267 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
34698adc5e916b45087ea8ae56171439a99b1d3a | 156 | py | Python | app/linear_equations/factorization/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | app/linear_equations/factorization/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | app/linear_equations/factorization/__init__.py | sgg10/arsp_solver_api | ad1d2f52eea58338d4f26128d5130eb326d529fb | [
"MIT"
] | null | null | null | from .simple_lu import SimpleLU
from .partial_lu import PartialLU
from .crout import Croult
from .doolittle import Doolittle
from .cholesky import Cholesky
| 26 | 33 | 0.839744 | 22 | 156 | 5.863636 | 0.5 | 0.124031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 5 | 34 | 31.2 | 0.948529 | 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 |
cabf3c589066f3600e914199f966db2d8eb5cf10 | 213 | py | Python | day-of-the-week.py | 11aparna91/LeetCodesPython | 317ddd963122e082ced8a6510bd04255d59b6c35 | [
"MIT"
] | 1 | 2021-10-06T00:07:30.000Z | 2021-10-06T00:07:30.000Z | day-of-the-week.py | 11aparna91/LeetCodesPython | 317ddd963122e082ced8a6510bd04255d59b6c35 | [
"MIT"
] | null | null | null | day-of-the-week.py | 11aparna91/LeetCodesPython | 317ddd963122e082ced8a6510bd04255d59b6c35 | [
"MIT"
] | null | null | null | ########################Problem 1185################################
class Solution:
def dayOfTheWeek(self, day: int, month: int, year: int) -> str:
return date(year,month,day).strftime("%A")
| 35.5 | 68 | 0.460094 | 21 | 213 | 4.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.173709 | 213 | 5 | 69 | 42.6 | 0.534091 | 0.056338 | 0 | 0 | 0 | 0 | 0.013793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cae888a4ea86ae9a51120da15e1ffc81f97c6a71 | 9,310 | py | Python | python/sea-level-predictor/test_module.py | dbgeek/freeCodeCamp | 39a78ef914c17b751cebf46f0c28e3f75aaef2cb | [
"MIT"
] | null | null | null | python/sea-level-predictor/test_module.py | dbgeek/freeCodeCamp | 39a78ef914c17b751cebf46f0c28e3f75aaef2cb | [
"MIT"
] | 12 | 2021-03-06T18:28:14.000Z | 2022-02-27T07:23:02.000Z | python/sea-level-predictor/test_module.py | dbgeek/freeCodeCamp | 39a78ef914c17b751cebf46f0c28e3f75aaef2cb | [
"MIT"
] | null | null | null | import unittest
import sea_level_predictor
import matplotlib as mpl
# the test case
class LinePlotTestCase(unittest.TestCase):
def setUp(self):
self.ax = sea_level_predictor.draw_plot()
def test_plot_title(self):
actual = self.ax.get_title()
expected = "Rise in Sea Level"
self... | 227.073171 | 3,327 | 0.749624 | 1,218 | 9,310 | 5.703612 | 0.457307 | 0.007773 | 0.012092 | 0.015114 | 0.075572 | 0.055708 | 0.049086 | 0.029653 | 0.014395 | 0.014395 | 0 | 0.703195 | 0.092374 | 9,310 | 40 | 3,328 | 232.75 | 0.118935 | 0.001396 | 0 | 0 | 0 | 0.030303 | 0.047983 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 1 | 0.151515 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b1928bd7f08291bf7402da0273dd64cefd5766e | 6,236 | py | Python | code/python/FactSetSearchAnswers/v1/fds/sdk/FactSetSearchAnswers/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/FactSetSearchAnswers/v1/fds/sdk/FactSetSearchAnswers/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/FactSetSearchAnswers/v1/fds/sdk/FactSetSearchAnswers/models/__init__.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# import all models into this package
# if you have many models here with many references from one model to another this may
# raise a RecursionError
# to avoid this, import only the models that you directly need like:
# from from fds.sdk.FactSetSearchAnswers.model.pet import Pet
# or import this packag... | 82.052632 | 146 | 0.903624 | 754 | 6,236 | 7.234748 | 0.193634 | 0.08341 | 0.119157 | 0.35747 | 0.618882 | 0.566086 | 0.458478 | 0.335105 | 0.229881 | 0.144455 | 0 | 0.001184 | 0.051796 | 6,236 | 75 | 147 | 83.146667 | 0.92136 | 0.059173 | 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 | 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 |
1b2ea6102d1b33a9916185b30ded6ec372bb42f9 | 224 | py | Python | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/recorder/SimplifiedDeck.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 2 | 2021-05-26T15:12:33.000Z | 2021-12-09T17:17:19.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/recorder/SimplifiedDeck.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 558 | 2021-05-27T05:41:23.000Z | 2022-02-27T21:50:54.000Z | WMIAdventure/backend/WMIAdventure_backend/battle/businesslogic/recorder/SimplifiedDeck.py | emkarcinos/WMIAdventure | 7ca057bb4e4d462b8626d53b66bed86e0125059a | [
"Apache-2.0"
] | 4 | 2021-05-26T15:09:29.000Z | 2022-03-13T15:28:07.000Z | from battle.businesslogic.recorder.SimplifiedCard import SimplifiedCard
class SimplifiedDeck:
def __init__(self, deck):
self.cards = tuple(list(SimplifiedCard(battle_card) for battle_card in deck.cards_queue))
| 32 | 97 | 0.790179 | 27 | 224 | 6.296296 | 0.703704 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 224 | 6 | 98 | 37.333333 | 0.876289 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1b33f51cec798ea383ae1418c920a6ce200e793d | 64 | py | Python | src/fiesta/apps/registry/__init__.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | null | null | null | src/fiesta/apps/registry/__init__.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | 3 | 2019-10-29T23:31:01.000Z | 2020-03-31T03:08:28.000Z | src/fiesta/apps/registry/__init__.py | lerooze/django-fiesta | d521f50bcdd3d40e91f0474ec2fa7e256758e0a5 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'fiesta.apps.registry.apps.RegistryConfig'
| 32 | 63 | 0.84375 | 8 | 64 | 6.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 64 | 1 | 64 | 64 | 0.852459 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b63f93e5702c15732a49a224def488354b18404 | 83 | py | Python | tests/__init__.py | Samantha-uk/cookiecutter-homeassistant-custom-component-instance | 808bd30c3095609d9e906f6903deb41f24e8acef | [
"MIT"
] | null | null | null | tests/__init__.py | Samantha-uk/cookiecutter-homeassistant-custom-component-instance | 808bd30c3095609d9e906f6903deb41f24e8acef | [
"MIT"
] | 131 | 2020-12-04T06:57:42.000Z | 2022-03-30T22:07:29.000Z | tests/__init__.py | Samantha-uk/cookiecutter-homeassistant-custom-component-instance | 808bd30c3095609d9e906f6903deb41f24e8acef | [
"MIT"
] | 5 | 2021-01-21T19:27:14.000Z | 2022-03-02T15:17:32.000Z | """Tests for Cookiecutter Home Assistant Custom Component Instance integration."""
| 41.5 | 82 | 0.807229 | 9 | 83 | 7.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 83 | 1 | 83 | 83 | 0.905405 | 0.915663 | 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 |
1b8aed9b29c570755a838b2807483cd53a500aa4 | 288,352 | py | Python | orca_share_media1528408472708.py | syahraqagr/cobaajacuy | 5905d72cefb6a3b19f19a8af95a84669f0750710 | [
"BSD-3-Clause"
] | null | null | null | orca_share_media1528408472708.py | syahraqagr/cobaajacuy | 5905d72cefb6a3b19f19a8af95a84669f0750710 | [
"BSD-3-Clause"
] | null | null | null | orca_share_media1528408472708.py | syahraqagr/cobaajacuy | 5905d72cefb6a3b19f19a8af95a84669f0750710 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import CHROME
from CHROME.lib.curve.ttypes import *
from datetime import datetime
#from Helper.main import qr
from time import time
from bs4 import BeautifulSoup
from threading import Thread
from googletrans import Translator
from urllib3 import HTTPConnectionPool
import time,random,sys,json,co... | 50.420003 | 4,030 | 0.414785 | 29,915 | 288,352 | 4.026843 | 0.072205 | 0.040012 | 0.060865 | 0.06998 | 0.758972 | 0.722678 | 0.697227 | 0.673742 | 0.646921 | 0.615027 | 0.000101 | 0.028364 | 0.433904 | 288,352 | 5,718 | 4,031 | 50.428821 | 0.700162 | 0 | 0 | 0.650411 | 0 | 0.012534 | 0.184475 | 0.025638 | 0.000979 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012926 | 0.003917 | null | null | 0.02076 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b92eceb9ba869f38b20eb34bce82ed5f6e6bbd4 | 357 | py | Python | fabobjects/__init__.py | abiolarasheed/fabobjects | f11f4670cc5744f08d90ec3d8212e184921e45f2 | [
"MIT"
] | null | null | null | fabobjects/__init__.py | abiolarasheed/fabobjects | f11f4670cc5744f08d90ec3d8212e184921e45f2 | [
"MIT"
] | null | null | null | fabobjects/__init__.py | abiolarasheed/fabobjects | f11f4670cc5744f08d90ec3d8212e184921e45f2 | [
"MIT"
] | 1 | 2018-12-17T16:32:14.000Z | 2018-12-17T16:32:14.000Z | # coding: utf-8
from __future__ import unicode_literals
from apps.django import DjangoApp
from apps.git import GitRepo
from apps.nginx import NginxServer
from apps.postgres import PGBouncer, PostgresServer, PostgresServerReplica
from apps.redis import RedisServer, RedisSslClient
from fabobjects.distros import BSD, Cen... | 35.7 | 75 | 0.840336 | 46 | 357 | 6.413043 | 0.652174 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003155 | 0.112045 | 357 | 9 | 76 | 39.666667 | 0.927445 | 0.036415 | 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 |
1bbaf0ccb44f82ef72ce92b347ee15806ffe5be4 | 99 | py | Python | angr/procedures/testing/manyargs.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/procedures/testing/manyargs.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/procedures/testing/manyargs.py | Kyle-Kyle/angr | 345b2131a7a67e3a6ffc7d9fd475146a3e12f837 | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | import angr
class manyargs(angr.SimProcedure):
NO_RET = True
def run(self):
pass
| 12.375 | 34 | 0.636364 | 13 | 99 | 4.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282828 | 99 | 7 | 35 | 14.142857 | 0.873239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1bc4b0b4f2755ca4ed8a7c00e1c80f181ef4867a | 82 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/F/Faraday constant for conventional electric current.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/F/Faraday constant for conventional electric current.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Physical and mathematical constants/CODATA physical constants/F/Faraday constant for conventional electric current.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | constants.physical_constants["Faraday constant for conventional electric current"] | 82 | 82 | 0.878049 | 9 | 82 | 7.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 82 | 1 | 82 | 82 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59fd94b12ec0eec6f022d5e1d82149a660214e5d | 95 | py | Python | server_py/flatgov/uscongress/app.py | aih/BillMap | d130b1396cb25b415cd7d9ea7389ad558a34eec1 | [
"CC0-1.0"
] | 2 | 2022-01-18T14:55:52.000Z | 2022-01-31T03:38:39.000Z | server_py/flatgov/uscongress/app.py | aih/FlatGov | 8201ef1813bbc062841421017f492e877f75a5f8 | [
"CC0-1.0"
] | 321 | 2020-09-01T16:20:35.000Z | 2021-07-03T06:42:34.000Z | server_py/flatgov/uscongress/app.py | aih/FlatGov | 8201ef1813bbc062841421017f492e877f75a5f8 | [
"CC0-1.0"
] | 1 | 2022-03-31T15:02:49.000Z | 2022-03-31T15:02:49.000Z | from django.apps import AppConfig
class UscongressConfig(AppConfig):
name = 'uscongress'
| 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 |
941f6baef73a331b206f2bf57464e8de27e2e245 | 35 | py | Python | tests/__init__.py | MUONetwork/uocli | 2d88eb5f7df13ab10e285493bcc0c371c55965c9 | [
"MIT"
] | null | null | null | tests/__init__.py | MUONetwork/uocli | 2d88eb5f7df13ab10e285493bcc0c371c55965c9 | [
"MIT"
] | null | null | null | tests/__init__.py | MUONetwork/uocli | 2d88eb5f7df13ab10e285493bcc0c371c55965c9 | [
"MIT"
] | null | null | null | """Unit test package for uocli."""
| 17.5 | 34 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.766667 | 0.8 | 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 |
94212196f61439f96872d1caf7ee94b6a39abcc8 | 115 | py | Python | logic/const.py | nafuka11/dena-review | ce10f16f37d5f0d2d888c77bf252d718534ef401 | [
"MIT"
] | null | null | null | logic/const.py | nafuka11/dena-review | ce10f16f37d5f0d2d888c77bf252d718534ef401 | [
"MIT"
] | 9 | 2021-12-13T13:58:59.000Z | 2021-12-16T13:56:50.000Z | logic/const.py | nafuka11/dena-review | ce10f16f37d5f0d2d888c77bf252d718534ef401 | [
"MIT"
] | null | null | null | from typing import Final
from logic.point import Point
BOARD_SIZE: Final = Point(7, 6)
CONNECT_LENGTH: Final = 4
| 16.428571 | 31 | 0.765217 | 19 | 115 | 4.526316 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.165217 | 115 | 6 | 32 | 19.166667 | 0.864583 | 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 |
947c0d9bd2253c701d17ff1d3ed7101988338e0a | 256 | py | Python | server/__init__.py | CostaDiego/charging-distributed-system | 2e5d20a063c2c2df25af7ca8640077647f981037 | [
"MIT"
] | null | null | null | server/__init__.py | CostaDiego/charging-distributed-system | 2e5d20a063c2c2df25af7ca8640077647f981037 | [
"MIT"
] | null | null | null | server/__init__.py | CostaDiego/charging-distributed-system | 2e5d20a063c2c2df25af7ca8640077647f981037 | [
"MIT"
] | null | null | null | __all__ = ['transaction_server']
from os import path
import sys
root = path.abspath('..')
if root not in sys.path:
sys.path.append(root)
from server.transaction_server import run as run_server
from server.transaction_server import TransactionServer | 21.333333 | 55 | 0.78125 | 37 | 256 | 5.189189 | 0.459459 | 0.265625 | 0.21875 | 0.28125 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136719 | 256 | 12 | 56 | 21.333333 | 0.868778 | 0 | 0 | 0 | 0 | 0 | 0.077821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
94818c5afb4a2c9aa8459cb96453c3d7512e228f | 554 | py | Python | profit/dataset/splitters/__init__.py | ayushkarnawat/profit | f3c4d601078b52513af6832c3faf75ddafc59ac5 | [
"MIT"
] | null | null | null | profit/dataset/splitters/__init__.py | ayushkarnawat/profit | f3c4d601078b52513af6832c3faf75ddafc59ac5 | [
"MIT"
] | 1 | 2021-09-15T13:13:12.000Z | 2021-09-15T13:13:12.000Z | profit/dataset/splitters/__init__.py | ayushkarnawat/profit | f3c4d601078b52513af6832c3faf75ddafc59ac5 | [
"MIT"
] | null | null | null | """Split datasets into train, val, and test sets using different
splitting techniques.
"""
from profit.dataset.splitters import base_splitter
from profit.dataset.splitters import random_splitter
from profit.dataset.splitters import stratified_splitter
from profit.dataset.splitters.base_splitter import BaseSplitter
fr... | 32.588235 | 75 | 0.837545 | 64 | 554 | 7.125 | 0.40625 | 0.131579 | 0.223684 | 0.342105 | 0.320175 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101083 | 554 | 16 | 76 | 34.625 | 0.915663 | 0.149819 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8467cda0731c2689e29cf387eb6300a78789fe2e | 32 | py | Python | PageObjectLibrary/version.py | rama-bornfree/simple-pageobject | 6a66a256867f7b1604005818b12e7c9f8dc6c027 | [
"Apache-2.0"
] | null | null | null | PageObjectLibrary/version.py | rama-bornfree/simple-pageobject | 6a66a256867f7b1604005818b12e7c9f8dc6c027 | [
"Apache-2.0"
] | null | null | null | PageObjectLibrary/version.py | rama-bornfree/simple-pageobject | 6a66a256867f7b1604005818b12e7c9f8dc6c027 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.1.0.0-beta.1"
| 10.666667 | 30 | 0.625 | 7 | 32 | 2.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.125 | 32 | 2 | 31 | 16 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 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 |
84681ef782fdda607e61d5ae1db63b722671bf0f | 76 | py | Python | fedrec/modules/transforms.py | ayush268/RecoEdge | b6554c646bae602704f44ae80571a4c319f90fd2 | [
"Apache-2.0"
] | 5 | 2022-02-27T17:01:17.000Z | 2022-03-29T10:06:18.000Z | fedrec/modules/transforms.py | ayush268/RecoEdge | b6554c646bae602704f44ae80571a4c319f90fd2 | [
"Apache-2.0"
] | 16 | 2022-02-26T13:29:04.000Z | 2022-03-29T08:20:01.000Z | fedrec/modules/transforms.py | ayush268/RecoEdge | b6554c646bae602704f44ae80571a4c319f90fd2 | [
"Apache-2.0"
] | 6 | 2022-03-04T14:53:11.000Z | 2022-03-23T12:33:14.000Z | from torchvision import transforms
transforms.ToTensor
transforms.Normalize | 19 | 34 | 0.894737 | 8 | 76 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 4 | 35 | 19 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
847284b8431162e0c72bc0da115b3c18938fdafb | 98 | py | Python | creel_portal/apps.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/apps.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | creel_portal/apps.py | AdamCottrill/CreelPortal | 5ec867c4f11b4231c112e8209116b6b96c2830ec | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CreelPortalConfig(AppConfig):
name = 'creel_portal'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84ae2f52c360133d1eb38eae5429cbc5ce784223 | 432 | py | Python | algorithms/medium/1410. HTML Entity Parser.py | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/medium/1410. HTML Entity Parser.py | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/medium/1410. HTML Entity Parser.py | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | # 1410. HTML Entity Parser
# Runtime: 52 ms, faster than 91.08% of Python3 online submissions for HTML Entity Parser.
# Memory Usage: 14.4 MB, less than 100.00% of Python3 online submissions for HTML Entity Parser.
class Solution:
def entityParser(self, text: str) -> str:
return text.replace('"', '"'... | 54 | 153 | 0.643519 | 58 | 432 | 4.793103 | 0.672414 | 0.107914 | 0.172662 | 0.18705 | 0.323741 | 0.323741 | 0.323741 | 0.323741 | 0 | 0 | 0 | 0.054496 | 0.150463 | 432 | 8 | 153 | 54 | 0.702997 | 0.481481 | 0 | 0 | 0 | 0 | 0.171946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
84bf5ef09b467516295fd2b669794bb8cc00f304 | 85 | py | Python | UI/flask_ownstorj/ownstorj/__init__.py | lakewik/storj-gui-client | 9eef7717a72cce8b46f971d8cf1dbe4561d6cb2c | [
"MIT"
] | 40 | 2017-03-23T19:42:32.000Z | 2017-07-13T23:43:00.000Z | UI/flask_ownstorj/ownstorj/__init__.py | Abd-Elrazek/EasyStorj | 9eef7717a72cce8b46f971d8cf1dbe4561d6cb2c | [
"MIT"
] | 80 | 2017-04-10T19:47:23.000Z | 2017-06-29T17:38:12.000Z | UI/flask_ownstorj/ownstorj/__init__.py | Abd-Elrazek/EasyStorj | 9eef7717a72cce8b46f971d8cf1dbe4561d6cb2c | [
"MIT"
] | 9 | 2017-04-13T08:06:14.000Z | 2017-06-27T23:57:55.000Z | from flask import Flask
app = Flask('ownstorj')
import models
import controller
| 8.5 | 23 | 0.752941 | 11 | 85 | 5.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 9 | 24 | 9.444444 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
84c9def3a7937d6b6f33517d8408a78459c12e11 | 257 | py | Python | composer/trainer/__init__.py | moinnadeem/composer | bc3f41b766bd4450f05a99f44db4a6b3901ea1c8 | [
"Apache-2.0"
] | null | null | null | composer/trainer/__init__.py | moinnadeem/composer | bc3f41b766bd4450f05a99f44db4a6b3901ea1c8 | [
"Apache-2.0"
] | null | null | null | composer/trainer/__init__.py | moinnadeem/composer | bc3f41b766bd4450f05a99f44db4a6b3901ea1c8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 MosaicML Composer authors
# SPDX-License-Identifier: Apache-2.0
"""Train models with flexible insertion of algorithms."""
from composer.trainer import devices as devices
from composer.trainer.trainer import Trainer
__all__ = ['Trainer']
| 25.7 | 57 | 0.789883 | 33 | 257 | 6.030303 | 0.727273 | 0.120603 | 0.190955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.124514 | 257 | 9 | 58 | 28.555556 | 0.857778 | 0.501946 | 0 | 0 | 0 | 0 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 |
84f15def0b431021036e2e33b50f20fc5f3c20fe | 127 | py | Python | spiking_neural_network/training/method.py | londoed/SpikingNeuralModels | b549927a125d54ff5c8c495686aca08e59501d0d | [
"MIT"
] | null | null | null | spiking_neural_network/training/method.py | londoed/SpikingNeuralModels | b549927a125d54ff5c8c495686aca08e59501d0d | [
"MIT"
] | 1 | 2019-08-27T15:23:57.000Z | 2019-08-27T15:23:57.000Z | spiking_neural_network/training/method.py | londoed/SpikingNeuralModels | b549927a125d54ff5c8c495686aca08e59501d0d | [
"MIT"
] | 1 | 2019-07-07T14:07:27.000Z | 2019-07-07T14:07:27.000Z | class TrainingMethod():
def update(self):
raise NotImplementedError("A training method needs an update function.")
| 31.75 | 80 | 0.724409 | 14 | 127 | 6.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 3 | 81 | 42.333333 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0.338583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1704cc1ce77bb2f55414d820ae672d3f61539661 | 3,423 | py | Python | excercise2.py | karthi12ck/caiaptyhon | 3ab42a5ddb3f6814274b1f7a473b35254783ff4c | [
"Apache-2.0"
] | null | null | null | excercise2.py | karthi12ck/caiaptyhon | 3ab42a5ddb3f6814274b1f7a473b35254783ff4c | [
"Apache-2.0"
] | null | null | null | excercise2.py | karthi12ck/caiaptyhon | 3ab42a5ddb3f6814274b1f7a473b35254783ff4c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue May 21 09:07:52 2019
@author: Training23
"""
#arithmetic function
class Arithmetic():
def __init__(self,a,b):
self.a=a
self.b=b
def add(self):
return self.a + self.b
def sub(self):
return self.a - self.b
... | 18.111111 | 46 | 0.471224 | 471 | 3,423 | 3.36518 | 0.235669 | 0.123028 | 0.185489 | 0.123028 | 0.455521 | 0.38612 | 0.350158 | 0.113565 | 0.052997 | 0.052997 | 0 | 0.043198 | 0.411627 | 3,423 | 189 | 47 | 18.111111 | 0.743793 | 0.058136 | 0 | 0.282258 | 0 | 0 | 0.00728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.306452 | false | 0 | 0.008065 | 0.177419 | 0.604839 | 0.104839 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ca1bd592d94d7c2fa77f2e7492d4a31a609b9448 | 33 | py | Python | custom_components/attributes/__init__.py | martinweu/homeassistant-attributes | 71818a88313fb765b2e2e001be4404e894120b85 | [
"Apache-2.0"
] | 136 | 2019-06-27T08:11:47.000Z | 2022-03-11T12:26:53.000Z | custom_components/attributes/__init__.py | martinweu/homeassistant-attributes | 71818a88313fb765b2e2e001be4404e894120b85 | [
"Apache-2.0"
] | 27 | 2019-07-30T20:09:18.000Z | 2022-02-08T08:07:54.000Z | custom_components/attributes/__init__.py | martinweu/homeassistant-attributes | 71818a88313fb765b2e2e001be4404e894120b85 | [
"Apache-2.0"
] | 63 | 2019-07-15T21:11:58.000Z | 2022-03-13T09:43:24.000Z | """Attributes breakout sensor"""
| 16.5 | 32 | 0.727273 | 3 | 33 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.8 | 0.787879 | 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 |
ca239050c5cd7072e96fdb683b97351fa4de262b | 52 | py | Python | manifest.py | moritzwietersheim/specter-diy | f82ee0281cfd706c63877463e7cd10283c28fe46 | [
"MIT"
] | null | null | null | manifest.py | moritzwietersheim/specter-diy | f82ee0281cfd706c63877463e7cd10283c28fe46 | [
"MIT"
] | null | null | null | manifest.py | moritzwietersheim/specter-diy | f82ee0281cfd706c63877463e7cd10283c28fe46 | [
"MIT"
] | null | null | null | include('f469-disco/manifest_f469.py')
freeze('src') | 26 | 38 | 0.769231 | 8 | 52 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.019231 | 52 | 2 | 39 | 26 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.566038 | 0.509434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ca2f3944a5351ecdea1fbf3ebca04844bf90e646 | 2,086 | py | Python | utils/boilerplate/test_badger.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null | utils/boilerplate/test_badger.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null | utils/boilerplate/test_badger.py | cfginn/sap-simulation-package | 73314e5380cec5c61a9fe5ff5fbafa25b9e2beac | [
"MIT"
] | null | null | null |
import unittest
from pysapets.badger import Badger
from pysapets.animal import Animal
import pysapets.constants as constants
from unittest.mock import patch
from io import StringIO
from copy import deepcopy
class BadgerTest(unittest.TestCase):
def setUp(self):
self.badger = Badger()
self.friends = [self.ba... | 31.134328 | 95 | 0.741131 | 295 | 2,086 | 5.071186 | 0.216949 | 0.05615 | 0.033422 | 0.076872 | 0.528075 | 0.445856 | 0.296123 | 0.127674 | 0.080214 | 0.058824 | 0 | 0.015734 | 0.177373 | 2,086 | 67 | 96 | 31.134328 | 0.856061 | 0.243528 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.230769 | 1 | 0.333333 | false | 0.102564 | 0.179487 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
ca9d269c02cb46cd8927b144864c839e0ae39318 | 75 | py | Python | examples/D_class_inherit/__init__.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | null | null | null | examples/D_class_inherit/__init__.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | 1 | 2020-02-27T08:24:25.000Z | 2020-02-28T18:37:49.000Z | examples/D_class_inherit/__init__.py | David-Lor/pytest-talk-examples | 332162b0feada2c9b24b586edbcd3a8b2e9aac4e | [
"Apache-2.0"
] | null | null | null | """Init is required to do relative import of BaseTest from test modules"""
| 37.5 | 74 | 0.76 | 12 | 75 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 1 | 75 | 75 | 0.904762 | 0.906667 | 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 |
04701d6bbaff64002d5e987f581253c35ba29eaa | 197 | py | Python | tensorhive/__main__.py | martyole/TensorHive | 9ba4349777f9601fd82643b3ba083d82a29c3fad | [
"Apache-2.0"
] | 129 | 2017-08-25T11:45:15.000Z | 2022-03-29T05:11:25.000Z | tensorhive/__main__.py | martyole/TensorHive | 9ba4349777f9601fd82643b3ba083d82a29c3fad | [
"Apache-2.0"
] | 251 | 2017-07-27T10:05:58.000Z | 2022-03-02T12:46:13.000Z | tensorhive/__main__.py | martyole/TensorHive | 9ba4349777f9601fd82643b3ba083d82a29c3fad | [
"Apache-2.0"
] | 20 | 2017-08-13T13:05:14.000Z | 2022-03-19T02:21:37.000Z | import tensorhive.cli as cli
import logging
# GLOBAL TODOS
# TODO Capture tracebacks from all exceptions with e.g. log.error()
def main():
cli.main()
if __name__ == "__main__":
main()
| 14.071429 | 67 | 0.690355 | 28 | 197 | 4.571429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203046 | 197 | 13 | 68 | 15.153846 | 0.815287 | 0.395939 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0480db537e81dd6a89f81ff5d1e801ac8cc7bd40 | 26 | py | Python | whendo/_version.py | electronhead/whendo | 27112834be0935b5b0f7ade4316e35532532e047 | [
"MIT"
] | 1 | 2022-03-04T09:25:13.000Z | 2022-03-04T09:25:13.000Z | whendo/_version.py | electronhead/whendo | 27112834be0935b5b0f7ade4316e35532532e047 | [
"MIT"
] | null | null | null | whendo/_version.py | electronhead/whendo | 27112834be0935b5b0f7ade4316e35532532e047 | [
"MIT"
] | null | null | null | version = "0.0.3.alpha18"
| 13 | 25 | 0.653846 | 5 | 26 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.115385 | 26 | 1 | 26 | 26 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
048bb08704081c04e2d434e78f2294e639da4e18 | 149 | py | Python | app/profile/__init__.py | DCGM/pero_ocr_web | e901027712827278f9ace914f6ccba16d3ac280f | [
"BSD-2-Clause"
] | 2 | 2020-05-07T13:58:31.000Z | 2021-01-27T09:33:07.000Z | app/profile/__init__.py | DCGM/pero_ocr_web | e901027712827278f9ace914f6ccba16d3ac280f | [
"BSD-2-Clause"
] | 47 | 2019-09-17T19:20:07.000Z | 2022-03-20T12:33:28.000Z | app/profile/__init__.py | DCGM/pero_ocr_web | e901027712827278f9ace914f6ccba16d3ac280f | [
"BSD-2-Clause"
] | 1 | 2019-10-02T10:42:35.000Z | 2019-10-02T10:42:35.000Z | from flask import Blueprint
bp = Blueprint('profile', __name__, template_folder='templates', static_folder='static')
from app.profile import routes | 29.8 | 88 | 0.798658 | 19 | 149 | 5.947368 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 5 | 89 | 29.8 | 0.843284 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
04a1bb9573885661e7b2a765593261214027aab3 | 18 | py | Python | embyupdater/version.py | shokinn/emby-updater | c4dfde580d90abc25ce7b1efb9646104147f014a | [
"MIT"
] | 7 | 2018-11-15T21:34:44.000Z | 2021-06-03T12:20:38.000Z | embyupdater/version.py | shokinn/emby-updater | c4dfde580d90abc25ce7b1efb9646104147f014a | [
"MIT"
] | 4 | 2019-02-25T15:00:21.000Z | 2020-08-27T13:24:09.000Z | embyupdater/version.py | shokinn/emby-updater | c4dfde580d90abc25ce7b1efb9646104147f014a | [
"MIT"
] | null | null | null | version = "0.8.3"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
04a93bc7d25e31d6be71a42439bdb168c39a17c6 | 64 | py | Python | fairseq/models/wav2vec/eteh_model/conformer/__init__.py | gaochangfeng/fairseq | 70a468230b8fb558caa394322b02fface663e17a | [
"MIT"
] | null | null | null | fairseq/models/wav2vec/eteh_model/conformer/__init__.py | gaochangfeng/fairseq | 70a468230b8fb558caa394322b02fface663e17a | [
"MIT"
] | null | null | null | fairseq/models/wav2vec/eteh_model/conformer/__init__.py | gaochangfeng/fairseq | 70a468230b8fb558caa394322b02fface663e17a | [
"MIT"
] | null | null | null | import sys
sys.path.append("..")
from .encoder import Encoder
| 16 | 28 | 0.71875 | 9 | 64 | 5.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 3 | 29 | 21.333333 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
04b15b47c7c01f75040577e9b78b7f99859ce1ab | 103 | py | Python | rhonda.py | nitesh-jaswal/cloudmesh-pi-cluster | 804a7f0f93fb06161bccb4c9ff0fcecc93854747 | [
"Apache-2.0"
] | null | null | null | rhonda.py | nitesh-jaswal/cloudmesh-pi-cluster | 804a7f0f93fb06161bccb4c9ff0fcecc93854747 | [
"Apache-2.0"
] | 1 | 2020-07-15T15:05:11.000Z | 2020-07-15T16:53:21.000Z | rhonda.py | nitesh-jaswal/cloudmesh-pi-cluster | 804a7f0f93fb06161bccb4c9ff0fcecc93854747 | [
"Apache-2.0"
] | null | null | null | from cloudmesh.pi.cluster.spark.spark import Spark
spark = Spark()
spark.scripts()
print(spark.script) | 20.6 | 50 | 0.786408 | 15 | 103 | 5.4 | 0.6 | 0.493827 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 5 | 51 | 20.6 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 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 |
04b176527c73eca8361499a531cb8b0ec92fbad9 | 3,194 | py | Python | generator/fourier.py | yuchenxi2000/diana-curve | a6b07b7f8e2aa94191806e679bd9701f056f5948 | [
"MIT"
] | 1 | 2021-10-31T03:56:00.000Z | 2021-10-31T03:56:00.000Z | generator/fourier.py | yuchenxi2000/diana-curve | a6b07b7f8e2aa94191806e679bd9701f056f5948 | [
"MIT"
] | null | null | null | generator/fourier.py | yuchenxi2000/diana-curve | a6b07b7f8e2aa94191806e679bd9701f056f5948 | [
"MIT"
] | null | null | null | import numpy as np
from fractions import Fraction
def to_frac(a):
return str(Fraction(a).limit_denominator(1000))
def to_frac_tex(a):
frac = Fraction(a).limit_denominator(1000)
if frac.numerator < 0:
return '-\\frac{' + str(-frac.numerator) + '}{' + str(frac.denominator) + '}'
else:
r... | 39.432099 | 103 | 0.50908 | 524 | 3,194 | 2.954198 | 0.129771 | 0.077519 | 0.113695 | 0.046512 | 0.793928 | 0.752584 | 0.744186 | 0.744186 | 0.678941 | 0.678941 | 0 | 0.021315 | 0.309643 | 3,194 | 80 | 104 | 39.925 | 0.680726 | 0.014402 | 0 | 0.507463 | 0 | 0.089552 | 0.221763 | 0.173719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104478 | false | 0 | 0.029851 | 0.014925 | 0.253731 | 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 |
04b524a3b655d3774f0efc91701893e8fbeefc2b | 238 | py | Python | djangobench/benchmarks/query_delete_related/models.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 92 | 2015-02-07T11:03:45.000Z | 2022-03-23T10:51:06.000Z | djangobench/benchmarks/query_delete_related/models.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 19 | 2015-03-22T14:30:03.000Z | 2022-03-24T22:43:24.000Z | djangobench/benchmarks/query_delete_related/models.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 25 | 2015-01-22T19:53:25.000Z | 2022-03-20T11:15:54.000Z | from django.db import models
class Book(models.Model):
title = models.CharField(max_length=100)
class Chapter(models.Model):
book = models.ForeignKey(Book, on_delete=models.CASCADE)
title = models.CharField(max_length=100)
| 23.8 | 60 | 0.752101 | 33 | 238 | 5.333333 | 0.545455 | 0.113636 | 0.227273 | 0.261364 | 0.363636 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0.029268 | 0.138655 | 238 | 9 | 61 | 26.444444 | 0.829268 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b6d9ca1fad2de88fb6e27e96f51e25e7c575d565 | 87 | py | Python | forms/admin.py | asommer70/formation | 88281c935d242cc9b77882c71fedd604948ee6f9 | [
"MIT"
] | null | null | null | forms/admin.py | asommer70/formation | 88281c935d242cc9b77882c71fedd604948ee6f9 | [
"MIT"
] | null | null | null | forms/admin.py | asommer70/formation | 88281c935d242cc9b77882c71fedd604948ee6f9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Form
admin.site.register(Form)
| 12.428571 | 32 | 0.793103 | 13 | 87 | 5.307692 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 6 | 33 | 14.5 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b6f3ca3a8f8df0b75a5c2c503d1c2633044214a5 | 102 | py | Python | cargan/data/__init__.py | mdc202002/cargan | 5bfb44a1d8c2de8126e8053bed6078ad2e20819c | [
"MIT"
] | 72 | 2021-10-20T01:17:54.000Z | 2022-02-22T07:40:35.000Z | cargan/data/__init__.py | mdc202002/cargan | 5bfb44a1d8c2de8126e8053bed6078ad2e20819c | [
"MIT"
] | 7 | 2021-10-21T21:44:00.000Z | 2022-03-17T18:24:42.000Z | cargan/data/__init__.py | mdc202002/cargan | 5bfb44a1d8c2de8126e8053bed6078ad2e20819c | [
"MIT"
] | 16 | 2021-10-20T02:07:46.000Z | 2022-03-16T08:18:37.000Z | from .dataset import Dataset
from .loader import loaders
from .util import chdir
from . import collate | 25.5 | 28 | 0.813725 | 15 | 102 | 5.533333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 4 | 29 | 25.5 | 0.954023 | 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 |
b6f9d705ba9cc13d160d25947157ba9b432e3e32 | 288 | py | Python | CybORG/CybORG/Shared/Actions/GameActions/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 18 | 2021-08-20T15:07:55.000Z | 2022-03-11T12:05:15.000Z | CybORG/CybORG/Shared/Actions/GameActions/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 7 | 2021-11-09T06:46:58.000Z | 2022-03-31T12:35:06.000Z | CybORG/CybORG/Shared/Actions/GameActions/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 13 | 2021-08-17T00:26:31.000Z | 2022-03-29T20:06:45.000Z | from .GameAction import GameAction
from .CreateAgent import CreateAgent
from .ListAgents import ListAgents
from .GameEcho import GameEcho
from .GameSleep import GameSleep
from .GetTrueState import GetTrueState
from .ListAllSessions import ListAllSessions
from .ResetGame import ResetGame
| 32 | 44 | 0.861111 | 32 | 288 | 7.75 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 288 | 8 | 45 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8e07356d37eb0071da88237326c1d5d6dbb3a0f9 | 262 | py | Python | strawman/utilities/elements.py | SimonBoothroyd/strawman | 41cbee89b41b33afa49cbaec9ba28ca4ee5d729b | [
"MIT"
] | 2 | 2021-02-17T20:49:26.000Z | 2021-02-17T21:49:03.000Z | strawman/utilities/elements.py | SimonBoothroyd/strawman | 41cbee89b41b33afa49cbaec9ba28ca4ee5d729b | [
"MIT"
] | null | null | null | strawman/utilities/elements.py | SimonBoothroyd/strawman | 41cbee89b41b33afa49cbaec9ba28ca4ee5d729b | [
"MIT"
] | 1 | 2021-04-12T20:40:20.000Z | 2021-04-12T20:40:20.000Z | from typing import Literal
from pydantic import conint
AtomicNumber = conint(ge=1, le=118)
AtomicSymbol = Literal["H", "C", "O", "N"]
def atomic_number_to_symbol(atomic_number: int) -> AtomicSymbol:
return {1: "H", 6: "C", 7: "N", 8: "O"}[atomic_number]
| 23.818182 | 64 | 0.675573 | 40 | 262 | 4.3 | 0.65 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.152672 | 262 | 10 | 65 | 26.2 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
8e1134a4b8b5d1d6467c5a8794b4122da9b9fd3b | 30 | py | Python | ctrl-hyper/hyper-b.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | 1 | 2020-05-02T03:46:10.000Z | 2020-05-02T03:46:10.000Z | ctrl-hyper/hyper-b.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | ctrl-hyper/hyper-b.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+b") | 30 | 30 | 0.733333 | 5 | 30 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 30 | 1 | 30 | 30 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 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 |
8e3ec5c82f37a173d375991b7cf31e53f655a8e8 | 320 | py | Python | modes/BaseMode.py | Invalid-Entry/BigScreenFramework | a7d01f3eb968c86039d09a6846e0f95ced62ba9c | [
"MIT"
] | 1 | 2020-12-21T11:22:56.000Z | 2020-12-21T11:22:56.000Z | modes/BaseMode.py | Invalid-Entry/BigScreenFramework | a7d01f3eb968c86039d09a6846e0f95ced62ba9c | [
"MIT"
] | null | null | null | modes/BaseMode.py | Invalid-Entry/BigScreenFramework | a7d01f3eb968c86039d09a6846e0f95ced62ba9c | [
"MIT"
] | null | null | null |
class BaseMode:
clacks = None
size = None
def __init__(self, clacks, size):
self.clacks = clacks
self.size = size
def enter_screen(self):
pass
def exit_screen(self):
pass
def handle_event(self, event):
pass
def render(self, event):
pass | 14.545455 | 37 | 0.559375 | 38 | 320 | 4.526316 | 0.394737 | 0.122093 | 0.162791 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.359375 | 320 | 22 | 38 | 14.545455 | 0.839024 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0.285714 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f3d2a0f2534e685114a7c78ae4829d1f9ccccaa6 | 6,227 | py | Python | countess/tests/test_module_wildtype.py | VariantEffect/Enrich2-py3 | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 4 | 2020-01-14T19:24:07.000Z | 2020-01-16T18:11:35.000Z | countess/tests/test_module_wildtype.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 3 | 2020-01-01T10:38:15.000Z | 2020-01-03T09:45:41.000Z | countess/tests/test_module_wildtype.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T00:35:24.000Z | 2022-02-20T00:35:24.000Z | import unittest
from ..sequence.wildtype import WildTypeSequence
def make_cfg(sequence, offset=0, coding=False):
cfg = dict()
cfg["sequence"] = sequence
cfg["reference offset"] = offset
cfg["coding"] = coding
return cfg
class TestWildTypeModule(unittest.TestCase):
def setUp(self):
p... | 32.602094 | 78 | 0.636101 | 747 | 6,227 | 5.058902 | 0.123159 | 0.051866 | 0.071447 | 0.077798 | 0.807886 | 0.769251 | 0.720296 | 0.665255 | 0.637999 | 0.631119 | 0 | 0.006177 | 0.246025 | 6,227 | 190 | 79 | 32.773684 | 0.798722 | 0 | 0 | 0.568627 | 0 | 0 | 0.055243 | 0 | 0 | 0 | 0 | 0 | 0.169935 | 1 | 0.163399 | false | 0.013072 | 0.013072 | 0 | 0.189542 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3f24eb0fee3f750126d685552d98061591a5ca8 | 1,809 | py | Python | complaints/migrations/0003_auto_20210224_0122.py | Three-Dev-Musketeers/Mumbai_Police | 293fbc1d81db459c23649c9c6b1eef8c38da1939 | [
"MIT"
] | 5 | 2021-02-19T20:37:35.000Z | 2021-12-19T06:41:50.000Z | complaints/migrations/0003_auto_20210224_0122.py | Divesh2201/Mumbai_Police | dfabf8494de2c790178541ee20d37d3002ca12af | [
"MIT"
] | 1 | 2021-10-04T17:37:51.000Z | 2021-10-05T10:50:36.000Z | complaints/migrations/0003_auto_20210224_0122.py | Divesh2201/Mumbai_Police | dfabf8494de2c790178541ee20d37d3002ca12af | [
"MIT"
] | 4 | 2021-03-05T05:44:20.000Z | 2021-04-25T17:23:16.000Z | # Generated by Django 3.1.6 on 2021-02-23 19:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('complaints', '0002_complaintsinfo_admin_message'),
]
operations = [
migrations.AlterField(
model_name='complaintsinfo',
... | 30.661017 | 68 | 0.566611 | 164 | 1,809 | 6.121951 | 0.29878 | 0.179283 | 0.224104 | 0.25996 | 0.747012 | 0.747012 | 0.606574 | 0.530876 | 0.491036 | 0.433267 | 0 | 0.030819 | 0.318408 | 1,809 | 58 | 69 | 31.189655 | 0.783455 | 0.024876 | 0 | 0.634615 | 1 | 0 | 0.129398 | 0.018729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6d00d6f821110d078e99fd685cc93f26094ac348 | 18 | py | Python | sale.py | Rosheen-2000/second_hand_trading_platform | 1df9dfedb1e16ae9136dc9e09c52ef11592a55a8 | [
"MIT"
] | null | null | null | sale.py | Rosheen-2000/second_hand_trading_platform | 1df9dfedb1e16ae9136dc9e09c52ef11592a55a8 | [
"MIT"
] | null | null | null | sale.py | Rosheen-2000/second_hand_trading_platform | 1df9dfedb1e16ae9136dc9e09c52ef11592a55a8 | [
"MIT"
] | null | null | null | I'm another file.
| 9 | 17 | 0.722222 | 4 | 18 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
6d14716e2c59d8f131680496ce44e49f61a5d1d6 | 21 | py | Python | deuceclient/common/__init__.py | TheSriram/deuce-client | 87efbbd912fd603bc70a5fea199ba26f75d34235 | [
"Apache-2.0"
] | null | null | null | deuceclient/common/__init__.py | TheSriram/deuce-client | 87efbbd912fd603bc70a5fea199ba26f75d34235 | [
"Apache-2.0"
] | 16 | 2015-01-02T19:46:21.000Z | 2016-09-07T04:57:40.000Z | deuceclient/common/__init__.py | TheSriram/deuce-client | 87efbbd912fd603bc70a5fea199ba26f75d34235 | [
"Apache-2.0"
] | null | null | null | """
Deuce Common
"""
| 5.25 | 12 | 0.52381 | 2 | 21 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 3 | 13 | 7 | 0.647059 | 0.571429 | 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 |
6d53fdc3cdd225c6866e1cd6e3d6941e603b6299 | 92 | py | Python | src/screen.py | stepan-antonyuk/pixelpunk | 240659ac961fbbec457290446c2e966cc226ed53 | [
"MIT"
] | null | null | null | src/screen.py | stepan-antonyuk/pixelpunk | 240659ac961fbbec457290446c2e966cc226ed53 | [
"MIT"
] | 6 | 2019-08-22T00:08:41.000Z | 2020-03-05T04:33:37.000Z | src/screen.py | stepan-antonyuk/pixelpunk | 240659ac961fbbec457290446c2e966cc226ed53 | [
"MIT"
] | 1 | 2019-08-12T21:48:49.000Z | 2019-08-12T21:48:49.000Z | import pygame
class Screen:
screen = pygame.display.set_mode(flags=pygame.FULLSCREEN)
| 15.333333 | 61 | 0.771739 | 12 | 92 | 5.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 62 | 18.4 | 0.886076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed9ad63c94cf4522301072d570a84297e6e0a9c7 | 565 | py | Python | keyring/demo/simplekeyring.py | robinson96/GRAPE | f6404ae6ee2933647e515a9480077ab01fb2c430 | [
"BSD-3-Clause"
] | 4 | 2017-04-30T17:08:42.000Z | 2019-11-15T04:44:09.000Z | installed/keyring/demo/simplekeyring.py | jscherer26/Icarra | 5bc8b298ae21dcde7e8e2253b9ed9db95fd0d164 | [
"BSD-3-Clause"
] | 1 | 2016-02-12T07:51:30.000Z | 2016-02-12T07:51:30.000Z | keyring/demo/simplekeyring.py | robinson96/GRAPE | f6404ae6ee2933647e515a9480077ab01fb2c430 | [
"BSD-3-Clause"
] | 2 | 2020-03-28T02:55:19.000Z | 2021-11-09T04:37:08.000Z | """
simplekeyring.py
A simple keyring class for the keyring_demo.py
Created by Kang Zhang on 2009-07-12
"""
from keyring.backend import KeyringBackend
class SimpleKeyring(KeyringBackend):
"""Simple Keyring is a keyring which can store only one
password in memory.
"""
def __init__(self):
self.... | 20.925926 | 59 | 0.676106 | 71 | 565 | 5.28169 | 0.56338 | 0.096 | 0.08 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023419 | 0.244248 | 565 | 26 | 60 | 21.730769 | 0.854801 | 0.307965 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.454545 | 0.090909 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
edac80fbf7875ec9af092d32a2fd92c677b3f64d | 152 | py | Python | Chap.17/17.3.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | Chap.17/17.3.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | Chap.17/17.3.py | joonion/daily-coding-problems | 8e313d28c3a989a41d87024588d38bd60a98b2c6 | [
"MIT"
] | null | null | null | def find_length(n):
maxlength = 0
while n > 0:
maxlength += 1
n &= (n << 1)
return maxlength
n = 156
print(find_length(n))
| 15.2 | 22 | 0.532895 | 22 | 152 | 3.590909 | 0.5 | 0.253165 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07 | 0.342105 | 152 | 9 | 23 | 16.888889 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.125 | 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 |
edc2c0da5b7fb7d1c6d623e952a8a87f953af9b8 | 9,367 | py | Python | minaCAT.py | inilorente/minaCAT | 241c4b4606f7858d7d9c626052dd6e8709d0a354 | [
"Apache-2.0"
] | null | null | null | minaCAT.py | inilorente/minaCAT | 241c4b4606f7858d7d9c626052dd6e8709d0a354 | [
"Apache-2.0"
] | null | null | null | minaCAT.py | inilorente/minaCAT | 241c4b4606f7858d7d9c626052dd6e8709d0a354 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
##########################################################################################################
#Introducir aquí la ruta del archivo cat entre comillas. NOTA: Las barras de la ruta deben ir duplicadas.
# Ejemplo: C:\\Users\\fulanito\\Escritorio\\archivo.cat
archivocat= "C:\Users\inilo\D... | 41.631111 | 133 | 0.627522 | 1,657 | 9,367 | 3.442969 | 0.189499 | 0.097458 | 0.219281 | 0.097984 | 0.269413 | 0.148642 | 0.141104 | 0.023488 | 0.023488 | 0.023488 | 0 | 0.224561 | 0.08199 | 9,367 | 224 | 134 | 41.816964 | 0.438656 | 0.132593 | 0 | 0 | 0 | 0 | 0.183843 | 0.029735 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005464 | null | null | 0.038251 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
edd23a59ffc2a3b8102da15d13ecc2ba196c9eaf | 375 | py | Python | megaman/geometry/__init__.py | jakevdp/Mmani | 681b6cdbd358b207e8b6c4a482262c84bea15bd7 | [
"BSD-2-Clause"
] | 303 | 2016-03-03T00:44:37.000Z | 2022-03-14T03:43:38.000Z | megaman/geometry/__init__.py | jakevdp/Mmani | 681b6cdbd358b207e8b6c4a482262c84bea15bd7 | [
"BSD-2-Clause"
] | 52 | 2016-02-26T21:41:31.000Z | 2021-06-27T08:33:51.000Z | megaman/geometry/__init__.py | jakevdp/Mmani | 681b6cdbd358b207e8b6c4a482262c84bea15bd7 | [
"BSD-2-Clause"
] | 67 | 2016-03-03T22:38:35.000Z | 2022-01-12T08:03:47.000Z | # LICENSE: Simplified BSD https://github.com/mmp2/megaman/blob/master/LICENSE
from .rmetric import RiemannMetric
from .geometry import Geometry
from .adjacency import Adjacency, compute_adjacency_matrix, adjacency_methods
from .affinity import Affinity, compute_affinity_matrix, affinity_methods
from .laplacian import ... | 46.875 | 77 | 0.856 | 46 | 375 | 6.782609 | 0.456522 | 0.070513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0.085333 | 375 | 7 | 78 | 53.571429 | 0.906706 | 0.2 | 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 |
610dff97b88b68867d80e942acc96994ef01795f | 147 | py | Python | 11_Day_Functions/12.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 11_Day_Functions/12.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 11_Day_Functions/12.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | def remove_item(lst: list, item):
lst.remove(item)
return lst
print(remove_item([1, 2, 3, 4], 4))
print(remove_item(['a', 'b', 'c'], 'c')) | 24.5 | 40 | 0.598639 | 26 | 147 | 3.269231 | 0.538462 | 0.470588 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0.163265 | 147 | 6 | 40 | 24.5 | 0.650407 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0.4 | 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 |
b62c93679ec0d15fd044ea010fec8c1e5a35eb4c | 5,965 | py | Python | python/test/datetime/test_time_calc.py | takashiharano/util | 0f730475386a77415545de3f9763e5bdeaab0e94 | [
"MIT"
] | null | null | null | python/test/datetime/test_time_calc.py | takashiharano/util | 0f730475386a77415545de3f9763e5bdeaab0e94 | [
"MIT"
] | null | null | null | python/test/datetime/test_time_calc.py | takashiharano/util | 0f730475386a77415545de3f9763e5bdeaab0e94 | [
"MIT"
] | null | null | null | #!python
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '../..'))
import util
def test_time_add():
s = ''
s += '\n--------------------\n'
s += _test_calc_time('add', '00:05:30.700', '00:01:20.123000', False, '00:06:50.823')
s += '\n--------------------\n'
s += _test_calc_time... | 39.766667 | 91 | 0.500587 | 1,005 | 5,965 | 2.7801 | 0.092537 | 0.094488 | 0.210451 | 0.223336 | 0.768074 | 0.697208 | 0.682176 | 0.664996 | 0.656049 | 0.586256 | 0 | 0.220245 | 0.152054 | 5,965 | 149 | 92 | 40.033557 | 0.332147 | 0.001174 | 0 | 0.267857 | 0 | 0 | 0.421185 | 0.107437 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.026786 | 0 | 0.089286 | 0.026786 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.