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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46b4b0321354077553576ed17ffceecc515fd04d | 35 | py | Python | scripts/assert.py | liwt31/unexpected | f973896812ad54494a8644fff431fc5202eaef41 | [
"MIT"
] | null | null | null | scripts/assert.py | liwt31/unexpected | f973896812ad54494a8644fff431fc5202eaef41 | [
"MIT"
] | null | null | null | scripts/assert.py | liwt31/unexpected | f973896812ad54494a8644fff431fc5202eaef41 | [
"MIT"
] | null | null | null | AssertionError = None
assert False
| 11.666667 | 21 | 0.828571 | 4 | 35 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 22 | 17.5 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d3ca7906f906df31f8147b04179f0d938cc33965 | 138 | py | Python | ctgan/__main__.py | ljk423/ctgan-tf | 916ae47e1932d5dd76152fc9e59e9de88142590d | [
"MIT"
] | 2 | 2020-11-26T18:59:04.000Z | 2021-06-05T04:39:51.000Z | ctgan/__main__.py | ljk423/ctgan-tf | 916ae47e1932d5dd76152fc9e59e9de88142590d | [
"MIT"
] | null | null | null | ctgan/__main__.py | ljk423/ctgan-tf | 916ae47e1932d5dd76152fc9e59e9de88142590d | [
"MIT"
] | 1 | 2021-01-17T15:20:39.000Z | 2021-01-17T15:20:39.000Z | """
Module that proxies the execution to the command-line interface.
"""
from ctgan import cli
if __name__ == '__main__':
cli.cli()
| 15.333333 | 64 | 0.695652 | 19 | 138 | 4.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 138 | 8 | 65 | 17.25 | 0.785714 | 0.463768 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
d3fae4615a096c53ef6a5fe1288d7bfeeebfe493 | 154 | py | Python | python-ds-practice/01_product/product.py | SteviBee/SpringBoard_Exercises | 5366390a2dad85b0a243f24a7f8536ff4a12bc7a | [
"Apache-2.0"
] | null | null | null | python-ds-practice/01_product/product.py | SteviBee/SpringBoard_Exercises | 5366390a2dad85b0a243f24a7f8536ff4a12bc7a | [
"Apache-2.0"
] | null | null | null | python-ds-practice/01_product/product.py | SteviBee/SpringBoard_Exercises | 5366390a2dad85b0a243f24a7f8536ff4a12bc7a | [
"Apache-2.0"
] | null | null | null | def product(a, b):
"""Return product of a and b.
>>> product(2, 2)
4
>>> product(2, -2)
-4
"""
return a * b | 14 | 33 | 0.38961 | 21 | 154 | 2.857143 | 0.428571 | 0.066667 | 0.3 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.441558 | 154 | 11 | 34 | 14 | 0.627907 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
31063b1ddb78a10b05ae8b60ab12ccc6d85e9613 | 251 | py | Python | spherov2/toy/bb8.py | wwj718/spherov2.py | baa62211ad4691e7eb6593ff77d6b8a73856e695 | [
"MIT"
] | null | null | null | spherov2/toy/bb8.py | wwj718/spherov2.py | baa62211ad4691e7eb6593ff77d6b8a73856e695 | [
"MIT"
] | null | null | null | spherov2/toy/bb8.py | wwj718/spherov2.py | baa62211ad4691e7eb6593ff77d6b8a73856e695 | [
"MIT"
] | null | null | null | from spherov2.commands.core import Core
from spherov2.toy.ollie import Ollie
from spherov2.types import ToyType
class BB8(Ollie):
toy_type = ToyType('BB-8', 'BB-', 'BB', .06)
get_factory_config_block_crc = Core.get_factory_config_block_crc
| 25.1 | 68 | 0.76494 | 39 | 251 | 4.692308 | 0.512821 | 0.196721 | 0.174863 | 0.229508 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.135458 | 251 | 9 | 69 | 27.888889 | 0.81106 | 0 | 0 | 0 | 0 | 0 | 0.035857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
31135e00934fe5c0c0dafb3601cebf2255d94a8f | 6,592 | py | Python | Verkefni2/verk3.py | Kristberg/VEF-2VF05CU | f1d82106a6d2488412896e00e3bb64a3e70b1dd1 | [
"MIT"
] | null | null | null | Verkefni2/verk3.py | Kristberg/VEF-2VF05CU | f1d82106a6d2488412896e00e3bb64a3e70b1dd1 | [
"MIT"
] | null | null | null | Verkefni2/verk3.py | Kristberg/VEF-2VF05CU | f1d82106a6d2488412896e00e3bb64a3e70b1dd1 | [
"MIT"
] | null | null | null | import os
from flask import *
app = Flask(__name__)
@app.route("/")
def home():
return render_template_string("""
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ url_for('static', filename='main.css')}}"/>
<title>Hasarfréttir - VEFÞ2VF05CU Verkefni 3</title>
</head>
<body>
... | 29.560538 | 231 | 0.598604 | 887 | 6,592 | 4.42841 | 0.224352 | 0.042006 | 0.022912 | 0.022912 | 0.729633 | 0.703666 | 0.636456 | 0.62831 | 0.62831 | 0.618126 | 0 | 0.03116 | 0.206462 | 6,592 | 223 | 232 | 29.560538 | 0.719748 | 0.005765 | 0 | 0.736842 | 0 | 0.142105 | 0.932206 | 0.11457 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031579 | false | 0 | 0.010526 | 0.031579 | 0.073684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
311de5bb5b76966c776cfbef10061b773458d76e | 270 | py | Python | parlai/agents/programr/config/brain/semantic_similarity.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | parlai/agents/programr/config/brain/semantic_similarity.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | parlai/agents/programr/config/brain/semantic_similarity.py | roholazandie/ParlAI | 32352cab81ecb666aefd596232c5ed9f33cbaeb9 | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from parlai.agents.programr.config.base import BaseConfigurationData
@dataclass
class BrainSemanticSimilarityConfiguration(BaseConfigurationData):
method: None = field(default=None)
model_dir: str = field(default=".")
| 27 | 68 | 0.803704 | 27 | 270 | 8 | 0.703704 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114815 | 270 | 9 | 69 | 30 | 0.903766 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
315eb684f31c9e1164adfd440362bbcafc086cdc | 112 | py | Python | src/api/pdi/application/operation/GetDataOperation/GetDataOperationRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/operation/GetDataOperation/GetDataOperationRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/operation/GetDataOperation/GetDataOperationRequest.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from pdip.cqrs.decorators import requestclass
@requestclass
class GetDataOperationRequest:
Id: int = None
| 16 | 45 | 0.794643 | 12 | 112 | 7.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 6 | 46 | 18.666667 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
31882755e774f4fef5492f08539a75995dffae43 | 132 | py | Python | example/07.Light_matrix/light_matrix.off.py | rundhall/PC-LEGO-SPIKE-Simulator | 5b2fae19293875b2f60d599940d77237700798d3 | [
"MIT"
] | null | null | null | example/07.Light_matrix/light_matrix.off.py | rundhall/PC-LEGO-SPIKE-Simulator | 5b2fae19293875b2f60d599940d77237700798d3 | [
"MIT"
] | null | null | null | example/07.Light_matrix/light_matrix.off.py | rundhall/PC-LEGO-SPIKE-Simulator | 5b2fae19293875b2f60d599940d77237700798d3 | [
"MIT"
] | null | null | null | off()
Turns off all of the pixels on the Light Matrix.
Example
from spike import PrimeHub
hub = PrimeHub()
hub.light_matrix.off()
| 14.666667 | 48 | 0.757576 | 22 | 132 | 4.5 | 0.681818 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 132 | 8 | 49 | 16.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | 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 |
3198e6fdef076299f8559090c6baa6bf129c3732 | 1,604 | py | Python | parsers/pddl/solver_planning_domains/SPDGrammarVisitor.py | MikeCoder96/EmbASP-Python | 60898633db9fa3786989bfe7b4c77c5381315e7a | [
"MIT"
] | 1 | 2020-03-28T14:28:40.000Z | 2020-03-28T14:28:40.000Z | parsers/pddl/solver_planning_domains/SPDGrammarVisitor.py | MikeCoder96/EmbASP-Python | 60898633db9fa3786989bfe7b4c77c5381315e7a | [
"MIT"
] | null | null | null | parsers/pddl/solver_planning_domains/SPDGrammarVisitor.py | MikeCoder96/EmbASP-Python | 60898633db9fa3786989bfe7b4c77c5381315e7a | [
"MIT"
] | 5 | 2020-03-29T15:48:05.000Z | 2021-09-07T22:05:04.000Z | # Generated from SPDGrammar.g4 by ANTLR 4.7
from antlr4 import *
# This class defines a complete generic visitor for a parse tree produced by SPDGrammarParser.
class SPDGrammarVisitor(ParseTreeVisitor):
# Visit a parse tree produced by SPDGrammarParser#array.
def visitArray(self, ctx):
return self.vi... | 27.655172 | 94 | 0.719451 | 188 | 1,604 | 6.138298 | 0.265957 | 0.057192 | 0.095321 | 0.171577 | 0.672444 | 0.672444 | 0.612652 | 0.577123 | 0.577123 | 0.577123 | 0 | 0.003167 | 0.212594 | 1,604 | 57 | 95 | 28.140351 | 0.91053 | 0.441397 | 0 | 0.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.045455 | 0.454545 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
31adbc7b7c39ef8e9e1693031b88da23beffe360 | 28 | py | Python | pinax_theme_bootstrap/__init__.py | dstufft/pinax-theme-bootstrap | 6c30b67aad7a626ab7b3eee75b3db59df056b97e | [
"Apache-2.0"
] | 1 | 2020-02-08T11:04:18.000Z | 2020-02-08T11:04:18.000Z | pinax_theme_bootstrap/__init__.py | dstufft/pinax-theme-bootstrap | 6c30b67aad7a626ab7b3eee75b3db59df056b97e | [
"Apache-2.0"
] | null | null | null | pinax_theme_bootstrap/__init__.py | dstufft/pinax-theme-bootstrap | 6c30b67aad7a626ab7b3eee75b3db59df056b97e | [
"Apache-2.0"
] | null | null | null | __version__ = "2.0.2.post1"
| 14 | 27 | 0.678571 | 5 | 28 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.107143 | 28 | 1 | 28 | 28 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 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 |
31e981d24c03ac22951eef6fdc046e31db761a1d | 235 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/modes/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/modes/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/modes/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from plugin.sync.modes.fast_pull import FastPull
from plugin.sync.modes.pull import Pull
from plugin.sync.modes.push import Push
from plugin.sync.modes.full import Full
__all__ = [
'FastPull',
'Pull',
'Push',
'Full'
] | 19.583333 | 48 | 0.714894 | 34 | 235 | 4.794118 | 0.323529 | 0.245399 | 0.343558 | 0.466258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174468 | 235 | 12 | 49 | 19.583333 | 0.840206 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9ece944b1fa86147476ed01c0ea5b0fc1e6295ee | 402 | py | Python | samples/LuceneInAction/PositionalPorterStopAnalyzerTest.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 15 | 2015-05-21T09:28:01.000Z | 2022-03-18T23:41:49.000Z | samples/LuceneInAction/PositionalPorterStopAnalyzerTest.py | fnp/pylucene | fb16ac375de5479dec3919a5559cda02c899e387 | [
"Apache-2.0"
] | 1 | 2021-09-30T03:59:43.000Z | 2021-09-30T03:59:43.000Z | samples/LuceneInAction/PositionalPorterStopAnalyzerTest.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 13 | 2015-04-18T23:05:11.000Z | 2021-11-29T21:23:26.000Z |
import os, sys, unittest, lucene
lucene.initVM()
sys.path.append(os.path.dirname(os.path.abspath(sys.argv[0])))
from lia.analysis.positional.PositionalPorterStopAnalyzerTest import \
PositionalPorterStopAnalyzerTest
PositionalPorterStopAnalyzerTest.main()
import lia.analysis.positional.PositionalPorterStopAna... | 28.714286 | 71 | 0.843284 | 39 | 402 | 8.692308 | 0.461538 | 0.097345 | 0.185841 | 0.469027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00266 | 0.064677 | 402 | 13 | 72 | 30.923077 | 0.898936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
730558a064c2d4d1a2dff57b1b3640d308d4583b | 45,987 | py | Python | methods.py | SystemFail/godot | 926495d8eb11de2878319ba54f30812fa1637d72 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | methods.py | SystemFail/godot | 926495d8eb11de2878319ba54f30812fa1637d72 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | methods.py | SystemFail/godot | 926495d8eb11de2878319ba54f30812fa1637d72 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | import os
def add_source_files(self, sources, filetype, lib_env = None, shared = False):
import glob;
import string;
#if not lib_objects:
if not lib_env:
lib_env = self
if type(filetype) == type(""):
dir = self.Dir('.').abspath
list = glob.glob(dir + "/"+filetype)
for f in list:
sources.append( self.O... | 31.802905 | 335 | 0.660839 | 7,046 | 45,987 | 4.094096 | 0.069259 | 0.05751 | 0.050751 | 0.035879 | 0.764828 | 0.737546 | 0.723299 | 0.675911 | 0.658162 | 0.644192 | 0 | 0.014409 | 0.136778 | 45,987 | 1,445 | 336 | 31.824913 | 0.71227 | 0.038881 | 0 | 0.604247 | 0 | 0.051158 | 0.415299 | 0.118789 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000965 | 0.010618 | null | null | 0.009653 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
732433628d0d25b32b6a77af3b5b9e151353b582 | 1,135 | py | Python | catalyst/data/session_bars.py | guilhermeprokisch/catalyst | 21e096b261912d9e905584178d6ee626072c23cb | [
"Apache-2.0"
] | null | null | null | catalyst/data/session_bars.py | guilhermeprokisch/catalyst | 21e096b261912d9e905584178d6ee626072c23cb | [
"Apache-2.0"
] | null | null | null | catalyst/data/session_bars.py | guilhermeprokisch/catalyst | 21e096b261912d9e905584178d6ee626072c23cb | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Quantopian, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 30.675676 | 78 | 0.670485 | 142 | 1,135 | 5.34507 | 0.661972 | 0.079051 | 0.034256 | 0.042161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009535 | 0.260793 | 1,135 | 36 | 79 | 31.527778 | 0.895113 | 0.653744 | 0 | 0 | 0 | 0 | 0.025547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
732a5e7fa0e072e1ccc9e035e426a8f0090f5444 | 26,532 | py | Python | lib/python3.8/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_ospf_interfaces.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_ospf_interfaces.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_ospf_interfaces.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2020 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is au... | 28.901961 | 117 | 0.452209 | 2,229 | 26,532 | 5.317631 | 0.115747 | 0.101999 | 0.097444 | 0.088585 | 0.74344 | 0.721168 | 0.688518 | 0.675778 | 0.667004 | 0.6503 | 0 | 0.060361 | 0.427408 | 26,532 | 917 | 118 | 28.933479 | 0.719853 | 0.022953 | 0 | 0.811071 | 0 | 0 | 0.968456 | 0.00843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001203 | false | 0.036101 | 0.004813 | 0 | 0.006017 | 0.001203 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
73309d6581f1a74018f1c74c0b2976e061d90b9b | 1,901 | py | Python | yenviron/test/test.py | javiermatos/yenviron | 5df987a930db56dcf1a87a70a3b4c7c816b18eca | [
"MIT"
] | null | null | null | yenviron/test/test.py | javiermatos/yenviron | 5df987a930db56dcf1a87a70a3b4c7c816b18eca | [
"MIT"
] | null | null | null | yenviron/test/test.py | javiermatos/yenviron | 5df987a930db56dcf1a87a70a3b4c7c816b18eca | [
"MIT"
] | null | null | null | import os
import unittest
from .. import Yenviron
from .. import exceptions
from ..yenviron import yenviron_read
TEST_FILE = os.path.join(os.path.dirname(__file__), 'yenviron.yml')
class YenvironTests(unittest.TestCase):
def setUp(self):
self.yenv = yenviron_read(TEST_FILE)
def test_constructor_n... | 32.220339 | 74 | 0.68122 | 229 | 1,901 | 5.475983 | 0.218341 | 0.114833 | 0.229665 | 0.267943 | 0.513557 | 0.304625 | 0.304625 | 0.304625 | 0.22488 | 0.082137 | 0 | 0.016949 | 0.193056 | 1,901 | 58 | 75 | 32.775862 | 0.800522 | 0 | 0 | 0.047619 | 0 | 0 | 0.102052 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.261905 | false | 0 | 0.119048 | 0 | 0.404762 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7335575b50fd36b8370c4859b6102181961b0853 | 90 | py | Python | comp_493/apps.py | hackeralistarsays/Toxic-Words-Identification | 341c236030684a1397b03d57c2f7cb740b8e4f2f | [
"MIT"
] | 1 | 2021-06-07T06:06:44.000Z | 2021-06-07T06:06:44.000Z | comp_493/apps.py | hackeralistarsays/Toxic-Words-Identification | 341c236030684a1397b03d57c2f7cb740b8e4f2f | [
"MIT"
] | null | null | null | comp_493/apps.py | hackeralistarsays/Toxic-Words-Identification | 341c236030684a1397b03d57c2f7cb740b8e4f2f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class Comp493Config(AppConfig):
name = 'comp_493'
| 15 | 33 | 0.755556 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.166667 | 90 | 5 | 34 | 18 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 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 |
7338abcf2e1213816f857be7663fffb4b7542a62 | 4,839 | py | Python | 01_Modelos_Supervisionados/1.11_Ensemble_Methods/1.11.3_AdaBoost.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | 01_Modelos_Supervisionados/1.11_Ensemble_Methods/1.11.3_AdaBoost.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | 01_Modelos_Supervisionados/1.11_Ensemble_Methods/1.11.3_AdaBoost.py | BrunoBertti/Scikit_Learning | 4b9e10ff7909f3728ac1e8bba19f5fd779340bc4 | [
"MIT"
] | null | null | null | ########## 1.11.3 AdaBoost ##########
# O módulo sklearn.ensemble inclui o algoritmo de boosting popular AdaBoost, introduzido em 1995 por Freund e Schapire [FS1995].
# O princípio central do AdaBoost é ajustar uma sequência de alunos fracos (ou seja, modelos que são apenas ligeiramente melhores do que supos... | 83.431034 | 1,322 | 0.786733 | 704 | 4,839 | 5.357955 | 0.431818 | 0.032078 | 0.04666 | 0.055408 | 0.232238 | 0.232238 | 0.201485 | 0.201485 | 0.1079 | 0.08245 | 0 | 0.021999 | 0.135772 | 4,839 | 57 | 1,323 | 84.894737 | 0.879244 | 0.898119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
734e711fb7fcf8bf86d10a3b11203c5e3efd8327 | 236 | py | Python | lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | from __future__ import absolute_import
from lldbsuite.test import lldbinline
lldbinline.MakeInlineTest(
__file__, globals(), [
lldbinline.expectedFailureAll(
oslist=["windows"], bugnumber="llvm.org/pr24663")])
| 26.222222 | 63 | 0.724576 | 22 | 236 | 7.363636 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.173729 | 236 | 8 | 64 | 29.5 | 0.805128 | 0 | 0 | 0 | 0 | 0 | 0.097458 | 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 |
73640623a5ba6d309c8a94173a1ac23be655be3e | 221 | py | Python | sample/data_generator.py | YuMurata/ParameterOptimizer | 60b172a7a9d3f54213ac3d59e15ebb4d707475c3 | [
"MIT"
] | null | null | null | sample/data_generator.py | YuMurata/ParameterOptimizer | 60b172a7a9d3f54213ac3d59e15ebb4d707475c3 | [
"MIT"
] | null | null | null | sample/data_generator.py | YuMurata/ParameterOptimizer | 60b172a7a9d3f54213ac3d59e15ebb4d707475c3 | [
"MIT"
] | null | null | null | import numpy as np
import os
import sys
sys.path.append(os.getcwd())
from ParameterOptimizer import DataGenerator
class SampleGenerator(DataGenerator):
def generate(self, param: dict) -> dict:
return param
| 18.416667 | 44 | 0.751131 | 28 | 221 | 5.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 221 | 11 | 45 | 20.090909 | 0.907104 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0.125 | 0.875 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
7dfa7cfa68d826aa8b9a1c3fa184801fdd079c67 | 58 | py | Python | instwitter/rest/partial/__init__.py | sovnarkom/instwitter-py | 971ec9db5c75476b8fc51adc90eb368951152341 | [
"MIT"
] | null | null | null | instwitter/rest/partial/__init__.py | sovnarkom/instwitter-py | 971ec9db5c75476b8fc51adc90eb368951152341 | [
"MIT"
] | 1 | 2017-11-27T04:13:29.000Z | 2017-11-27T04:13:29.000Z | instwitter/rest/partial/__init__.py | sovnarkom/instwitter-py | 971ec9db5c75476b8fc51adc90eb368951152341 | [
"MIT"
] | null | null | null | '''
Created on Aug 9, 2009
@author: aleksandrcicenin
'''
| 9.666667 | 25 | 0.672414 | 7 | 58 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.172414 | 58 | 5 | 26 | 11.6 | 0.708333 | 0.844828 | 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 |
b40c94e6bd3e1d1d11dd0cf946103ea5e29ce7ba | 37,194 | py | Python | docker-images/taigav2/taiga-back/tests/integration/test_hooks_gitlab.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-back/tests/integration/test_hooks_gitlab.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | docker-images/taigav2/taiga-back/tests/integration/test_hooks_gitlab.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (C) 2014-2016 Andrey Antukh <niwi@niwi.nz>
# Copyright (C) 2014-2016 Jesús Espino <jespinog@gmail.com>
# Copyright (C) 2014-2016 David Barragán <bameda@dbarragan.com>
# Copyright (C) 2014-2016 Alejandro Alonso <alejandro.alonso@kaleidos.net>
# Copyright (C) 2014-2016 Anler Hernández ... | 38.503106 | 148 | 0.674033 | 4,315 | 37,194 | 5.632213 | 0.103824 | 0.043205 | 0.05703 | 0.039172 | 0.777846 | 0.758384 | 0.729293 | 0.716949 | 0.698556 | 0.677365 | 0 | 0.048428 | 0.185003 | 37,194 | 965 | 149 | 38.543005 | 0.753307 | 0.025676 | 0 | 0.625156 | 0 | 0.002491 | 0.287217 | 0.040144 | 0 | 0 | 0 | 0 | 0.103362 | 1 | 0.039851 | false | 0 | 0.024907 | 0 | 0.064757 | 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 |
b437c1b4233eb991a4302ae2b36a6531c92e9041 | 83 | py | Python | statusmsg/movement.py | bmoscon/statusmsg | 1418c87503a9092201de53a11505f29bf3e83d5b | [
"MIT"
] | 2 | 2020-03-25T05:07:26.000Z | 2020-03-25T05:51:23.000Z | statusmsg/movement.py | bmoscon/statusmsg | 1418c87503a9092201de53a11505f29bf3e83d5b | [
"MIT"
] | null | null | null | statusmsg/movement.py | bmoscon/statusmsg | 1418c87503a9092201de53a11505f29bf3e83d5b | [
"MIT"
] | 1 | 2020-03-25T03:55:30.000Z | 2020-03-25T03:55:30.000Z | UP = u"\u001b[{}A"
DOWN = u"\u001b[{}B"
RIGHT = u"\u001b[{}C"
LEFT = u"\u001b[{}D"
| 16.6 | 21 | 0.518072 | 16 | 83 | 2.6875 | 0.625 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 0.144578 | 83 | 4 | 22 | 20.75 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c30c0290eedbadf9d5fe6c049917f1bd37fc880e | 806 | py | Python | test/apps/minermedic/resources/mining_pools/ethermine_etc.py | holitics/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 2 | 2020-02-13T15:32:43.000Z | 2020-04-08T04:10:10.000Z | test/apps/minermedic/resources/mining_pools/ethermine_etc.py | alimogh/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 11 | 2019-11-23T00:20:23.000Z | 2020-01-02T02:17:55.000Z | test/apps/minermedic/resources/mining_pools/ethermine_etc.py | alimogh/minermedic | 39dd03e58d665bea23f1e9c9ab134a794d092cb1 | [
"Apache-2.0"
] | 2 | 2020-06-15T22:32:43.000Z | 2020-07-17T18:40:58.000Z | routes = {
'/data/price?fsym=ETC&tsyms=USD' : {'USD': 4.88},
'/miner/:2da4e946c0ee6977bc44fbba9019b3931952cfff/worker/:holitics1/currentStats' : {"status":"OK","data":{"time":1553352000,"lastSeen":1553351963,"reportedHashrate":314146860,"currentHashrate":188888888.8888889,"validShares":170,"invalidShares":0,"staleS... | 161.2 | 444 | 0.782878 | 74 | 806 | 8.527027 | 0.621622 | 0.142631 | 0.063391 | 0.07607 | 0.557845 | 0.557845 | 0.557845 | 0.557845 | 0.557845 | 0.557845 | 0 | 0.307107 | 0.022333 | 806 | 5 | 445 | 161.2 | 0.493655 | 0 | 0 | 0 | 0 | 0 | 0.552664 | 0.210657 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3349a27f06fd92494a7b97c7f209f0da24cc31a | 128 | py | Python | Darlington/phase1/python Basic 1/day 11 solution/qtn3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to get the identity of an object.obj1 = object()
import sys
obj1_address = id(obj1)
print()
print(obj1_address)
print() | 21.333333 | 57 | 0.757813 | 21 | 128 | 4.52381 | 0.666667 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.132813 | 128 | 6 | 58 | 21.333333 | 0.81982 | 0.4375 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c3549d47b1e67094a300675a8a737d848bffec56 | 3,966 | py | Python | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-guardians | cc84c18f7c222bc69cf4a263a1c2296b6d335c8b | [
"BSD-3-Clause"
] | null | null | null | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-guardians | cc84c18f7c222bc69cf4a263a1c2296b6d335c8b | [
"BSD-3-Clause"
] | 32 | 2019-01-09T07:52:32.000Z | 2022-01-13T01:01:55.000Z | authors/apps/authentication/tests/test_social_auth.py | andela/Ah-backend-guardians | cc84c18f7c222bc69cf4a263a1c2296b6d335c8b | [
"BSD-3-Clause"
] | 3 | 2019-01-03T12:05:53.000Z | 2019-09-24T11:41:14.000Z | from rest_framework.test import APITestCase
from .data import wrong_fb_token, fb_token, google_token, twitter_token
from rest_framework.views import status
from django.urls import reverse
from unittest.mock import patch
class TestSocialLogin(APITestCase):
def setUp(self):
self.fb_url = reverse("authentic... | 43.108696 | 81 | 0.699445 | 493 | 3,966 | 5.330629 | 0.137931 | 0.045662 | 0.063927 | 0.082192 | 0.790335 | 0.760654 | 0.760654 | 0.736301 | 0.687595 | 0.656012 | 0 | 0.011908 | 0.195411 | 3,966 | 91 | 82 | 43.582418 | 0.811658 | 0 | 0 | 0.576923 | 0 | 0 | 0.156833 | 0.119264 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.128205 | false | 0 | 0.064103 | 0 | 0.205128 | 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 |
c381d4455cdc44a19c0c1e3b1893d49b9d498397 | 125 | py | Python | buuctf/19-diff/exp.py | RoderickChan/ctf_tasks | a021c6d86cade26448d099933f3caa856ed28360 | [
"MIT"
] | null | null | null | buuctf/19-diff/exp.py | RoderickChan/ctf_tasks | a021c6d86cade26448d099933f3caa856ed28360 | [
"MIT"
] | null | null | null | buuctf/19-diff/exp.py | RoderickChan/ctf_tasks | a021c6d86cade26448d099933f3caa856ed28360 | [
"MIT"
] | null | null | null | from pwn import *
sh = ssh(user='ctf', host='node3.buuoj.cn', port=25102, password='guest', level='debug')
sh.interactive() | 25 | 88 | 0.688 | 19 | 125 | 4.526316 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.104 | 125 | 5 | 89 | 25 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
5edd1ab27ba5b4f789ed6757409d3efdb9438ef1 | 201 | py | Python | polyaxon/checks/logs.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/checks/logs.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | polyaxon/checks/logs.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | from checks.worker import WorkerCheck
from polyaxon.config_settings import LogsCeleryTasks
class LogsCheck(WorkerCheck):
WORKER_HEALTH_TASK = LogsCeleryTasks.LOGS_HEALTH
WORKER_NAME = 'LOGS'
| 25.125 | 52 | 0.820896 | 23 | 201 | 6.956522 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129353 | 201 | 7 | 53 | 28.714286 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5ee2f3c0cd1ce632622707ae901d53b5ee0b8c35 | 50 | py | Python | supervisor/plugins/__init__.py | pnjongang/supervisor | 2a006ae76de4b06e3e291b37aa2a4e14dc272445 | [
"Apache-2.0"
] | 597 | 2017-04-27T15:10:08.000Z | 2019-12-18T16:02:57.000Z | supervisor/plugins/__init__.py | BigElkHunter/cyberockit | fa7140fd9a5ee1316d103628f1f7f4c6db05b158 | [
"Apache-2.0"
] | 1,056 | 2020-01-30T09:59:44.000Z | 2022-03-31T10:15:32.000Z | supervisor/plugins/__init__.py | BigElkHunter/cyberockit | fa7140fd9a5ee1316d103628f1f7f4c6db05b158 | [
"Apache-2.0"
] | 295 | 2020-02-03T11:30:42.000Z | 2022-03-31T18:53:14.000Z | """Supervisor plugins to extend functionality."""
| 25 | 49 | 0.76 | 5 | 50 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.844444 | 0.86 | 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 |
6f0019a57d5428d442b78defbb534d9e85b991a5 | 117 | py | Python | sample.py | Batake/wavegan | 8ba09b68717a29829c061083803b7d21f7004e19 | [
"MIT"
] | null | null | null | sample.py | Batake/wavegan | 8ba09b68717a29829c061083803b7d21f7004e19 | [
"MIT"
] | null | null | null | sample.py | Batake/wavegan | 8ba09b68717a29829c061083803b7d21f7004e19 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy
a = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
a.set_shape([2, 3, 2])
print(a)
| 16.714286 | 45 | 0.581197 | 27 | 117 | 2.481481 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21978 | 0.222222 | 117 | 6 | 46 | 19.5 | 0.516484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
6f07b1b43182a9afc92fcabcd43fe77cb308fced | 218 | py | Python | backend-project/small_eod/notes/views.py | kostyrko/small_eod | c12fe36f2233bdd297d32d61d9cd25ddbfca897b | [
"MIT"
] | 1 | 2021-02-10T19:58:51.000Z | 2021-02-10T19:58:51.000Z | backend-project/small_eod/notes/views.py | kostyrko/small_eod | c12fe36f2233bdd297d32d61d9cd25ddbfca897b | [
"MIT"
] | null | null | null | backend-project/small_eod/notes/views.py | kostyrko/small_eod | c12fe36f2233bdd297d32d61d9cd25ddbfca897b | [
"MIT"
] | 1 | 2021-02-10T19:38:35.000Z | 2021-02-10T19:38:35.000Z | from rest_framework import viewsets
from .models import Note
from .serializers import NoteSerializer
class NoteViewSet(viewsets.ModelViewSet):
queryset = Note.objects.all()
serializer_class = NoteSerializer
| 21.8 | 41 | 0.802752 | 24 | 218 | 7.208333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142202 | 218 | 9 | 42 | 24.222222 | 0.925134 | 0 | 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 |
6f35634adb7d4297e95a4478cb429275ee04f57e | 8,199 | py | Python | signing_today_client/__init__.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | signing_today_client/__init__.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | signing_today_client/__init__.py | signingtoday/signingtoday-sdk-python | ed267279622fb59f2ad8fa289157fc9cdf9d8a5b | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Signing Today Web
*Signing Today* is the perfect Digital Signature Gateway. Whenever in Your workflow You need to add one or more Digital Signatures to Your document, *Signing Today* is the right choice. You prepare Your documents, *Signing Today* takes care of all the rest... | 70.076923 | 557 | 0.90755 | 1,018 | 8,199 | 6.966601 | 0.246562 | 0.165821 | 0.209814 | 0.288494 | 0.477439 | 0.366892 | 0.178511 | 0.051607 | 0.026227 | 0 | 0 | 0.006648 | 0.064276 | 8,199 | 116 | 558 | 70.681034 | 0.917753 | 0.093426 | 0 | 0 | 0 | 0 | 0.000675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.989474 | 0 | 0.989474 | 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 |
6f4015d6ea8eccc96fd691f2cd556d5572154186 | 107 | py | Python | crabageprediction/venv/Lib/site-packages/matplotlib/backends/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 603 | 2020-12-23T13:49:32.000Z | 2022-03-31T23:38:03.000Z | crabageprediction/venv/Lib/site-packages/matplotlib/backends/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 387 | 2020-12-15T14:54:04.000Z | 2022-03-31T07:00:21.000Z | crabageprediction/venv/Lib/site-packages/matplotlib/backends/__init__.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 35 | 2021-03-26T03:12:04.000Z | 2022-03-23T10:15:10.000Z | # NOTE: plt.switch_backend() (called at import time) will add a "backend"
# attribute here for backcompat.
| 35.666667 | 73 | 0.747664 | 16 | 107 | 4.9375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 2 | 74 | 53.5 | 0.868132 | 0.953271 | 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 |
6f69abc29e15677f3ac4fe0579559b5b487bc0a0 | 1,160 | py | Python | account/migrations/0002_auto_20210805_2019.py | Gandabh/E-commerce-Site | 8bc4ca85c9cd6f3ed1435e5767aef4ab315df559 | [
"MIT"
] | 1 | 2022-01-01T21:46:48.000Z | 2022-01-01T21:46:48.000Z | account/migrations/0002_auto_20210805_2019.py | Gandabh/E-commerce-Site | 8bc4ca85c9cd6f3ed1435e5767aef4ab315df559 | [
"MIT"
] | null | null | null | account/migrations/0002_auto_20210805_2019.py | Gandabh/E-commerce-Site | 8bc4ca85c9cd6f3ed1435e5767aef4ab315df559 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.4 on 2021-08-05 20:19
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('account', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='checkout',
old_name='shopping_address',
... | 26.363636 | 47 | 0.555172 | 104 | 1,160 | 5.894231 | 0.355769 | 0.205546 | 0.254486 | 0.293638 | 0.51876 | 0.51876 | 0.51876 | 0.51876 | 0 | 0 | 0 | 0.024837 | 0.340517 | 1,160 | 43 | 48 | 26.976744 | 0.776471 | 0.038793 | 0 | 0.486486 | 1 | 0 | 0.220126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6f6a92b5138c79573f9781e8fbb9c922fdd9a951 | 150 | py | Python | src/datapane/runner/__init__.py | philopon/datapane | d7d69865d4def0cbe6eb334acd9edeb829dd67e6 | [
"Apache-2.0"
] | 481 | 2020-04-25T05:40:21.000Z | 2022-03-30T22:04:35.000Z | src/datapane/runner/__init__.py | tig/datapane | defae6776e73b07191c0a5804a50b284ec3c9a63 | [
"Apache-2.0"
] | 74 | 2020-04-28T10:47:35.000Z | 2022-03-14T15:50:55.000Z | src/datapane/runner/__init__.py | admariner/datapane | c440eaf07bd1c1f2de3ff952e0fd8c78d636aa8f | [
"Apache-2.0"
] | 41 | 2020-07-21T16:30:21.000Z | 2022-02-21T22:50:27.000Z | # Copyright 2020 StackHut Limited (trading as Datapane)
# SPDX-License-Identifier: Apache-2.0
import os
os.environ["DATAPANE_BY_DATAPANE"] = "true"
| 21.428571 | 55 | 0.766667 | 21 | 150 | 5.380952 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 150 | 6 | 56 | 25 | 0.810606 | 0.593333 | 0 | 0 | 0 | 0 | 0.413793 | 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 |
4889998c94ff2f393e577e28645f3246160f9d0a | 95 | py | Python | network_machine_learning_in_python/_build/jupyter_execute/foundations/ch2/ch2.py | Laknath1996/graph-stats-book | 4b10c2f99dbfb5e05a72c98130f8c4338d7c9a21 | [
"MIT"
] | 10 | 2020-09-15T19:09:53.000Z | 2022-03-17T21:24:14.000Z | network_machine_learning_in_python/_build/jupyter_execute/foundations/ch2/ch2.py | Laknath1996/graph-stats-book | 4b10c2f99dbfb5e05a72c98130f8c4338d7c9a21 | [
"MIT"
] | 30 | 2020-09-15T19:15:11.000Z | 2022-03-10T15:33:24.000Z | network_machine_learning_in_python/_build/jupyter_execute/foundations/ch2/ch2.py | Laknath1996/graph-stats-book | 4b10c2f99dbfb5e05a72c98130f8c4338d7c9a21 | [
"MIT"
] | 2 | 2021-04-12T05:08:00.000Z | 2021-10-04T09:42:21.000Z | #!/usr/bin/env python
# coding: utf-8
# # End-to-end Biology Network Machine Learning Project
| 19 | 55 | 0.726316 | 15 | 95 | 4.6 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.147368 | 95 | 4 | 56 | 23.75 | 0.839506 | 0.915789 | 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 |
489464c8c1191fcfcd0df2ba333e56f27bcb9f40 | 345 | py | Python | machine_comprehension_baselines/Peter/feature_extractor_interface.py | recski/semantic_parsing_szte_bme | b775614ac33882a09c0cce94bb40bbd8744df336 | [
"MIT"
] | null | null | null | machine_comprehension_baselines/Peter/feature_extractor_interface.py | recski/semantic_parsing_szte_bme | b775614ac33882a09c0cce94bb40bbd8744df336 | [
"MIT"
] | null | null | null | machine_comprehension_baselines/Peter/feature_extractor_interface.py | recski/semantic_parsing_szte_bme | b775614ac33882a09c0cce94bb40bbd8744df336 | [
"MIT"
] | 2 | 2018-03-29T14:05:12.000Z | 2018-04-05T16:57:00.000Z | from feature_extractor import get_features_wordvec as gfw
from feature_extractor import get_features_bow as gfb
def get_features_bow(train, dev, outfile="features_bow.pickle"):
return gfb(train, dev, outfile)
def get_features_wordvec(train, dev, model_path, outfile="features_wv.pickle"):
return gfw(train, d... | 31.363636 | 79 | 0.797101 | 52 | 345 | 5.019231 | 0.384615 | 0.168582 | 0.153257 | 0.199234 | 0.467433 | 0.283525 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 345 | 10 | 80 | 34.5 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.107246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
48a3af11a2099b33aa24ede8460a661547932a4a | 184 | py | Python | pyf/_lcfirst.py | snoopyjc/pythonizer | 6b3683084f41f0aa06b1b4e652a0f00b19cceac1 | [
"Artistic-2.0"
] | 1 | 2022-03-13T22:08:25.000Z | 2022-03-13T22:08:25.000Z | pyf/_lcfirst.py | snoopyjc/pythonizer | 6b3683084f41f0aa06b1b4e652a0f00b19cceac1 | [
"Artistic-2.0"
] | 21 | 2022-03-17T16:53:04.000Z | 2022-03-31T23:55:24.000Z | pyf/_lcfirst.py | snoopyjc/pythonizer | 6b3683084f41f0aa06b1b4e652a0f00b19cceac1 | [
"Artistic-2.0"
] | null | null | null |
def _lcfirst(string):
"""Implementation of lcfirst and \l in interpolated strings: lowercase the first char of the given string"""
return string[0:1].lower() + string[1:]
| 36.8 | 113 | 0.695652 | 26 | 184 | 4.884615 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.190217 | 184 | 4 | 114 | 46 | 0.832215 | 0.554348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
48c1f8df48e36abc529fbc3430c006edd6e1bbab | 299 | py | Python | molsysmt/tools/string_aminoacids1/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/string_aminoacids1/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/string_aminoacids1/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .is_string_aminoacids1 import is_string_aminoacids1
from .to_file_fasta import to_file_fasta
from .to_file_pir import to_file_pir
from .to_string_aminoacids3 import to_string_aminoacids3
from .to_biopython_Seq import to_biopython_Seq
from .to_biopython_SeqRecord import to_biopython_SeqRecord
| 37.375 | 58 | 0.896321 | 48 | 299 | 5.083333 | 0.270833 | 0.122951 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.083612 | 299 | 7 | 59 | 42.714286 | 0.875912 | 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 |
48cb3517940af0c6055eeeda75791bbf631123cb | 73 | py | Python | tests/__init__.py | abhi-parmar/phishing_detection | 7442ad7030ea986af0dabf72600dfb8ef16a6dfa | [
"MIT"
] | 5 | 2019-07-20T19:39:33.000Z | 2020-10-08T14:16:53.000Z | tests/__init__.py | abhi-parmar/phishing_detection | 7442ad7030ea986af0dabf72600dfb8ef16a6dfa | [
"MIT"
] | 6 | 2019-07-20T18:03:38.000Z | 2021-02-02T22:05:41.000Z | tests/__init__.py | abhi-parmar/phishing_detection | 7442ad7030ea986af0dabf72600dfb8ef16a6dfa | [
"MIT"
] | 1 | 2019-07-20T17:57:55.000Z | 2019-07-20T17:57:55.000Z | # -*- coding: utf-8 -*-
"""Unit test package for phishing_detection."""
| 18.25 | 47 | 0.630137 | 9 | 73 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.150685 | 73 | 3 | 48 | 24.333333 | 0.709677 | 0.876712 | 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 |
48fdbac5759068eb0d7164e1f9c8f82232902593 | 44 | py | Python | HARK/__init__.py | fangli-DX3906/HARK | a55d06f4e47e9564b3bcc2250c8d8012cc758761 | [
"Apache-2.0"
] | null | null | null | HARK/__init__.py | fangli-DX3906/HARK | a55d06f4e47e9564b3bcc2250c8d8012cc758761 | [
"Apache-2.0"
] | null | null | null | HARK/__init__.py | fangli-DX3906/HARK | a55d06f4e47e9564b3bcc2250c8d8012cc758761 | [
"Apache-2.0"
] | null | null | null | from .core import *
__version__ = "0.10.6"
| 11 | 22 | 0.659091 | 7 | 44 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.181818 | 44 | 3 | 23 | 14.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5b0379501019e33fc3e4d3ef24fd717a1c458388 | 177 | py | Python | OpenDataCatalog/suggestions/forms.py | timwis/Open-Data-Catalog | 0ccdc71f28773508c337875fd32478dd4324a50c | [
"MIT"
] | 3 | 2016-08-07T17:25:56.000Z | 2019-11-12T00:51:14.000Z | suggestions/forms.py | opensandiego/Open-Data-Catalog | 06f93bab36d22431ff86a87faea4e388d0491846 | [
"MIT"
] | 1 | 2021-04-17T10:52:53.000Z | 2021-04-17T10:52:53.000Z | suggestions/forms.py | opensandiego/Open-Data-Catalog | 06f93bab36d22431ff86a87faea4e388d0491846 | [
"MIT"
] | 2 | 2016-10-28T14:20:27.000Z | 2021-04-17T10:52:28.000Z | from django import forms
from models import *
class SuggestionForm(forms.Form):
text = forms.CharField(widget=forms.Textarea(), max_length=255, label="My Nomination")
| 25.285714 | 90 | 0.745763 | 23 | 177 | 5.695652 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.146893 | 177 | 7 | 91 | 25.285714 | 0.847682 | 0 | 0 | 0 | 0 | 0 | 0.073034 | 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 |
5b10c17d68462a6a3c8d1c991deebe207414cf8a | 183 | py | Python | Mundo 2/aula14/desafio1.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 2/aula14/desafio1.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | Mundo 2/aula14/desafio1.py | mandamg/Exercicios-de-Python-do-Curso-em-Video | 3f818c11c3c10213bebc1dfb6a740adee468ea3a | [
"MIT"
] | null | null | null | sexo = input('Digite seu sexo[M/F]:').upper()
while sexo not in 'MmFf':
sexo = input('Digite novamente').upper()
idade = input('Digite sua idade:')
print('registrado com sucesso') | 36.6 | 45 | 0.68306 | 27 | 183 | 4.62963 | 0.666667 | 0.264 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136612 | 183 | 5 | 46 | 36.6 | 0.791139 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
d2a7e69486ef02d7e6f575978099b251d27f2793 | 129 | py | Python | tests/__main__.py | utdb/judged | 383c08df1ded265ff26c344e1df2f1a623ffe86d | [
"MIT"
] | 20 | 2015-12-26T12:58:14.000Z | 2021-07-31T21:34:00.000Z | tests/__main__.py | utdb/judged | 383c08df1ded265ff26c344e1df2f1a623ffe86d | [
"MIT"
] | null | null | null | tests/__main__.py | utdb/judged | 383c08df1ded265ff26c344e1df2f1a623ffe86d | [
"MIT"
] | 5 | 2016-12-22T18:49:48.000Z | 2020-12-29T07:47:58.000Z | #!/usr/bin/env python3.4
from tests.lawful import run_tests
def main():
run_tests()
if __name__ == '__main__':
main()
| 12.9 | 34 | 0.658915 | 19 | 129 | 3.947368 | 0.736842 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.193798 | 129 | 9 | 35 | 14.333333 | 0.701923 | 0.178295 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d2b81dfc98fa74368c9b5b82eee79f3d69a63c12 | 112 | py | Python | job_scheduler/logging/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | null | null | null | job_scheduler/logging/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | null | null | null | job_scheduler/logging/__init__.py | konkolorado/job-scheduler | e76b24d0592d9d1f62b5a1525b6a152b9983b2fa | [
"MIT"
] | 1 | 2021-08-09T15:28:49.000Z | 2021-08-09T15:28:49.000Z | from job_scheduler.logging.main import logging_config, setup_logging
all = ["setup_logging", "logging_config"]
| 28 | 68 | 0.8125 | 15 | 112 | 5.733333 | 0.6 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089286 | 112 | 3 | 69 | 37.333333 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d2dc1b96e9438dfa4003d16ae801702a9e076190 | 106 | py | Python | python/zp/primjer_17.08.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_17.08.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_17.08.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | # assert nareba
mojalista = ['stvar']
assert len(mojalista) >= 1
print(mojalista.pop())
print(mojalista)
| 15.142857 | 26 | 0.716981 | 13 | 106 | 5.846154 | 0.615385 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.122642 | 106 | 6 | 27 | 17.666667 | 0.806452 | 0.122642 | 0 | 0 | 0 | 0 | 0.054945 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d2f4df5b21e4fd04b50c45008a3f65aa35a4a280 | 126 | py | Python | terrascript/data/Sighery/njalla.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/data/Sighery/njalla.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/data/Sighery/njalla.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/data/Sighery/njalla.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:37 UTC)
__all__ = []
| 21 | 73 | 0.746032 | 19 | 126 | 4.736842 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.119048 | 126 | 5 | 74 | 25.2 | 0.702703 | 0.84127 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
826d05ccbf003a93b78441d93a7b1a39ed54662b | 252 | py | Python | ncurses/__init__.py | siju-samuel/tvm-curses-ui | c19ece357fa103f2ca05c3c9ee3bb62016f358cb | [
"Apache-2.0"
] | null | null | null | ncurses/__init__.py | siju-samuel/tvm-curses-ui | c19ece357fa103f2ca05c3c9ee3bb62016f358cb | [
"Apache-2.0"
] | null | null | null | ncurses/__init__.py | siju-samuel/tvm-curses-ui | c19ece357fa103f2ca05c3c9ee3bb62016f358cb | [
"Apache-2.0"
] | null | null | null | """Public Python API of TVM Debugger (tvmdbg)."""
#from __future__ import absolute_import
#from __future__ import division
#from __future__ import print_function
#from tvm.contrib.debugger.curses.wrappers.ui_wrapper import LocalCLIDebugWrapperModule
| 31.5 | 87 | 0.829365 | 31 | 252 | 6.258065 | 0.645161 | 0.154639 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099206 | 252 | 7 | 88 | 36 | 0.854626 | 0.936508 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 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 |
82765802c5e3b78ec10e3e8150d127da4b0fb9c3 | 1,180 | py | Python | tests/test_article.py | AhmadSAshraf/News-Highlight-IP | 78448c61601bdfff85dabe0b884181689aae6c42 | [
"MIT"
] | null | null | null | tests/test_article.py | AhmadSAshraf/News-Highlight-IP | 78448c61601bdfff85dabe0b884181689aae6c42 | [
"MIT"
] | 2 | 2019-11-17T11:45:08.000Z | 2021-06-02T00:41:00.000Z | tests/test_article.py | AhmadSAshraf/News-Highlight-IP | 78448c61601bdfff85dabe0b884181689aae6c42 | [
"MIT"
] | null | null | null | import unittest
from app.models import Article
class TestArticle(unittest.TestCase):
'''
Test Case to test the behaviour of the Article Model
Args:
unittest.TestCase - helps in creating Test Cases
'''
def setUp(self):
'''
Inbuilt function that runs before each test is executed
'''
self.new_article = Art... | 51.304348 | 642 | 0.759322 | 172 | 1,180 | 5.145349 | 0.593023 | 0.030508 | 0.031638 | 0.047458 | 0.20113 | 0.20113 | 0.110734 | 0.110734 | 0.110734 | 0.110734 | 0 | 0.049038 | 0.118644 | 1,180 | 23 | 643 | 51.304348 | 0.801923 | 0.211017 | 0 | 0 | 0 | 0.555556 | 0.660773 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8286317b36f193ad62f2b4776d1b2d34a528550f | 190 | py | Python | anprx/__init__.py | ppintosilva/anprx | a37fa36d735b00261efbefbf14c6224323ee1169 | [
"Apache-2.0"
] | 6 | 2019-07-05T04:43:01.000Z | 2021-02-25T07:06:16.000Z | anprx/__init__.py | ppintosilva/anprx | a37fa36d735b00261efbefbf14c6224323ee1169 | [
"Apache-2.0"
] | null | null | null | anprx/__init__.py | ppintosilva/anprx | a37fa36d735b00261efbefbf14c6224323ee1169 | [
"Apache-2.0"
] | 1 | 2020-01-14T23:04:59.000Z | 2020-01-14T23:04:59.000Z | __version__ = '0.1.3'
import anprx.core
import anprx.helpers
import anprx.nominatim
import anprx.constants
import anprx.utils
import anprx.plot
import anprx.animate
import anprx.exceptions
| 17.272727 | 23 | 0.826316 | 28 | 190 | 5.464286 | 0.5 | 0.575163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017647 | 0.105263 | 190 | 10 | 24 | 19 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
828ac4b71d30059b88e5b0387d57756d5059297a | 27 | py | Python | mitty/version.py | latticelabs/Mitty-deprecated- | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | 1 | 2015-10-21T23:43:34.000Z | 2015-10-21T23:43:34.000Z | mitty/version.py | latticelabs/Mitty | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | null | null | null | mitty/version.py | latticelabs/Mitty | bf192600233daea8a42a1f995c60b1e883cbaaba | [
"Apache-2.0"
] | null | null | null | __version__ = '1.40.0.dev0' | 27 | 27 | 0.703704 | 5 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.074074 | 27 | 1 | 27 | 27 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 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 |
8298b1f8e47eb7a013401b584f7e880a83b16915 | 943 | py | Python | data/models/__init__.py | SIXMON/peps | 48c09a951a0193ada7b91c8bb6efc4b1232c3520 | [
"MIT"
] | 5 | 2019-08-29T13:55:47.000Z | 2021-11-15T08:30:33.000Z | data/models/__init__.py | SIXMON/peps | 48c09a951a0193ada7b91c8bb6efc4b1232c3520 | [
"MIT"
] | 295 | 2019-08-19T12:40:29.000Z | 2022-01-24T14:03:20.000Z | data/models/__init__.py | SIXMON/peps | 48c09a951a0193ada7b91c8bb6efc4b1232c3520 | [
"MIT"
] | 7 | 2020-05-27T06:28:48.000Z | 2021-11-17T10:00:54.000Z | from .simulator.practice import Practice
from .simulator.simulatorculture import SimulatorCulture
from .simulator.pest import Pest
from .simulator.practicetype import PracticeType, PracticeTypeCategory
from .simulator.problem import Problem
from .simulator.soiltype import SoilType
from .simulator.weed import Weed
from ... | 41 | 74 | 0.8579 | 106 | 943 | 7.632075 | 0.283019 | 0.257108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096501 | 943 | 22 | 75 | 42.863636 | 0.949531 | 0 | 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 | 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 |
82de4075bd68d725d35956589d2a7c4dccb1bf54 | 208 | py | Python | pytpp/attributes/agent_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | 4 | 2022-02-04T23:58:55.000Z | 2022-02-15T18:53:08.000Z | pytpp/attributes/agent_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | pytpp/attributes/agent_container.py | Venafi/pytpp | 42af655b2403b8c9447c86962abd4aaa0201f646 | [
"MIT"
] | null | null | null | from pytpp.attributes._helper import IterableMeta
from pytpp.attributes.top import TopAttributes
class AgentContainerAttributes(TopAttributes, metaclass=IterableMeta):
__config_class__ = "Agent Container"
| 29.714286 | 70 | 0.855769 | 21 | 208 | 8.190476 | 0.666667 | 0.104651 | 0.22093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 208 | 6 | 71 | 34.666667 | 0.905263 | 0 | 0 | 0 | 0 | 0 | 0.072115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 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 |
7d6353775087371a1620dd64e5c3fb3327b8766b | 70 | py | Python | run.py | eloipereira/multimeter_reader | 30a5255de5a5a7e9644fb432298347d6d96a41f0 | [
"Apache-2.0"
] | null | null | null | run.py | eloipereira/multimeter_reader | 30a5255de5a5a7e9644fb432298347d6d96a41f0 | [
"Apache-2.0"
] | null | null | null | run.py | eloipereira/multimeter_reader | 30a5255de5a5a7e9644fb432298347d6d96a41f0 | [
"Apache-2.0"
] | null | null | null | from seven_seg_rec import SevenSegRec
app = SevenSegRec()
app.run()
| 11.666667 | 37 | 0.771429 | 10 | 70 | 5.2 | 0.8 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 5 | 38 | 14 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
7d74815edf63f4b28b364d00763a2f2c340c4b50 | 16,194 | py | Python | apps/app01/migrations/0001_initial.py | chenhuxy/myweb | eb9373434d1ca069fd37ae6688d140d99a319294 | [
"Apache-2.0"
] | 7 | 2021-04-13T02:57:11.000Z | 2022-02-07T09:08:18.000Z | apps/app01/migrations/0001_initial.py | chenhuxy/myweb | eb9373434d1ca069fd37ae6688d140d99a319294 | [
"Apache-2.0"
] | 1 | 2021-06-27T15:06:15.000Z | 2021-06-28T08:33:53.000Z | apps/app01/migrations/0001_initial.py | chenhuxy/myweb | eb9373434d1ca069fd37ae6688d140d99a319294 | [
"Apache-2.0"
] | 1 | 2021-04-16T06:47:15.000Z | 2021-04-16T06:47:15.000Z | # Generated by Django 2.2.17 on 2020-11-09 19:02
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Asset',
fields=[
... | 51.903846 | 168 | 0.562307 | 1,624 | 16,194 | 5.415025 | 0.118227 | 0.165113 | 0.080168 | 0.056175 | 0.798954 | 0.77496 | 0.74005 | 0.691039 | 0.673982 | 0.660337 | 0 | 0.014449 | 0.286279 | 16,194 | 311 | 169 | 52.07074 | 0.746409 | 0.002841 | 0 | 0.555921 | 1 | 0 | 0.129444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003289 | 0.006579 | 0 | 0.019737 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d9b7b39866f25631ff6a01f00fdb1f171abec72 | 185 | py | Python | importing_questions.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | 1 | 2019-09-19T07:05:05.000Z | 2019-09-19T07:05:05.000Z | importing_questions.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | null | null | null | importing_questions.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | null | null | null | import numpy
import xlsxwriter
from pandas import read_excel
import xlrd
import pandas
data = read_excel('data/questions_and_choices.xlsx')
print(data.columns[2])
# print(data.head())
| 18.5 | 52 | 0.8 | 28 | 185 | 5.142857 | 0.607143 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.102703 | 185 | 9 | 53 | 20.555556 | 0.861446 | 0.097297 | 0 | 0 | 0 | 0 | 0.187879 | 0.187879 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7da8c2fac293a6a76a53044863c61082cb3a1956 | 4,346 | py | Python | os_api_ref/tests/test_microversions.py | openstack/os-api-ref | 3d4f056ca3fa870000391f02cea2120392ddfbfd | [
"Apache-2.0"
] | 16 | 2016-05-25T08:18:08.000Z | 2019-03-22T05:49:20.000Z | os_api_ref/tests/test_microversions.py | openstack/os-api-ref | 3d4f056ca3fa870000391f02cea2120392ddfbfd | [
"Apache-2.0"
] | null | null | null | os_api_ref/tests/test_microversions.py | openstack/os-api-ref | 3d4f056ca3fa870000391f02cea2120392ddfbfd | [
"Apache-2.0"
] | 1 | 2018-08-09T09:04:07.000Z | 2018-08-09T09:04:07.000Z | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 41 | 1,088 | 0.654625 | 723 | 4,346 | 3.84509 | 0.286307 | 0.129496 | 0.183453 | 0.194245 | 0.21259 | 0.201079 | 0.17518 | 0.138849 | 0.138849 | 0.138849 | 0 | 0.057227 | 0.14358 | 4,346 | 105 | 1,089 | 41.390476 | 0.689683 | 0.197883 | 0 | 0.314286 | 0 | 0.028571 | 0.629543 | 0.384414 | 0 | 0 | 0 | 0 | 0.085714 | 1 | 0.071429 | false | 0 | 0.042857 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7dad24d1431882acd62f256b4f14165f12b4da0f | 646 | py | Python | psdaq/psdaq/pyxpm/LclsTimingCore/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 16 | 2017-11-09T17:10:56.000Z | 2022-03-09T23:03:10.000Z | psdaq/psdaq/pyxpm/LclsTimingCore/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 6 | 2017-12-12T19:30:05.000Z | 2020-07-09T00:28:33.000Z | psdaq/psdaq/pyxpm/LclsTimingCore/__init__.py | JBlaschke/lcls2 | 30523ef069e823535475d68fa283c6387bcf817b | [
"BSD-3-Clause-LBNL"
] | 25 | 2017-09-18T20:02:43.000Z | 2022-03-27T22:27:42.000Z | #!/usr/bin/env python
from LclsTimingCore.EvrV1Isr import *
from LclsTimingCore.EvrV1Reg import *
from LclsTimingCore.EvrV2ChannelReg import *
from LclsTimingCore.EvrV2Core import *
from LclsTimingCore.EvrV2CoreTriggers import *
from LclsTimingCore.EvrV2TriggerReg import *
from LclsTimingCore.GthRxAlignCheck import ... | 30.761905 | 46 | 0.843653 | 64 | 646 | 8.515625 | 0.34375 | 0.495413 | 0.616514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010345 | 0.102167 | 646 | 20 | 47 | 32.3 | 0.92931 | 0.03096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7db5c79abec8743037120f8ec171f35d3ed2e6b2 | 66 | py | Python | Week_3_Labs/vfleet2210_cloudmesh_ex2.py | futuresystems/465-rvanfleet | 3fb4de7589de06947eb5eee6786cb70badd21205 | [
"Apache-2.0"
] | null | null | null | Week_3_Labs/vfleet2210_cloudmesh_ex2.py | futuresystems/465-rvanfleet | 3fb4de7589de06947eb5eee6786cb70badd21205 | [
"Apache-2.0"
] | null | null | null | Week_3_Labs/vfleet2210_cloudmesh_ex2.py | futuresystems/465-rvanfleet | 3fb4de7589de06947eb5eee6786cb70badd21205 | [
"Apache-2.0"
] | null | null | null | import cloudmesh
user = cloudmesh.load()
print user.cloudnames()
| 13.2 | 23 | 0.772727 | 8 | 66 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 4 | 24 | 16.5 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7dbb14d6e00580e7f1cbb12355206815f91e7875 | 28,103 | py | Python | Reinforcement-Learning/Python-Model/venv/lib/python3.8/site-packages/tensorflow/core/profiler/protobuf/xplane_pb2.py | lawrence910426/ProgrammingII_FinalProject | 493183dc2a674310e65bffe3a5e00395e8bebb4b | [
"MIT"
] | null | null | null | Reinforcement-Learning/Python-Model/venv/lib/python3.8/site-packages/tensorflow/core/profiler/protobuf/xplane_pb2.py | lawrence910426/ProgrammingII_FinalProject | 493183dc2a674310e65bffe3a5e00395e8bebb4b | [
"MIT"
] | null | null | null | Reinforcement-Learning/Python-Model/venv/lib/python3.8/site-packages/tensorflow/core/profiler/protobuf/xplane_pb2.py | lawrence910426/ProgrammingII_FinalProject | 493183dc2a674310e65bffe3a5e00395e8bebb4b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: tensorflow/core/profiler/protobuf/xplane.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as ... | 43.235385 | 2,508 | 0.744405 | 3,636 | 28,103 | 5.470022 | 0.068757 | 0.053899 | 0.047061 | 0.067977 | 0.778219 | 0.722912 | 0.653829 | 0.639097 | 0.629846 | 0.62155 | 0 | 0.041814 | 0.123474 | 28,103 | 649 | 2,509 | 43.302003 | 0.765599 | 0.029926 | 0 | 0.669449 | 1 | 0.001669 | 0.222667 | 0.175432 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008347 | 0 | 0.008347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
815d71f321bc2dc30e202b099ca6baca614a37cf | 237 | py | Python | omnitool/config.py | ojhall94/omnitool | b95a715fb7a41a4fc5d7f90dd66fead124fe14b8 | [
"MIT"
] | null | null | null | omnitool/config.py | ojhall94/omnitool | b95a715fb7a41a4fc5d7f90dd66fead124fe14b8 | [
"MIT"
] | null | null | null | omnitool/config.py | ojhall94/omnitool | b95a715fb7a41a4fc5d7f90dd66fead124fe14b8 | [
"MIT"
] | null | null | null | import os
import inspect
from pkg_resources import resource_filename
__ROOT__ = '/'.join(os.path.abspath(inspect.getfile(inspect.currentframe())).split('/')[:-1])
# default data directory
datadir = resource_filename('omnitool', 'data')
| 29.625 | 93 | 0.763713 | 29 | 237 | 6 | 0.724138 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.084388 | 237 | 7 | 94 | 33.857143 | 0.797235 | 0.092827 | 0 | 0 | 0 | 0 | 0.065728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
81678698f54f3a607d8f06b0d124d220fa08947f | 23 | py | Python | config.py | dcesarz/design_patterns_factories | e276e25586dc631309febb0fe9eb5f1454627107 | [
"MIT"
] | null | null | null | config.py | dcesarz/design_patterns_factories | e276e25586dc631309febb0fe9eb5f1454627107 | [
"MIT"
] | null | null | null | config.py | dcesarz/design_patterns_factories | e276e25586dc631309febb0fe9eb5f1454627107 | [
"MIT"
] | null | null | null | enable_prints = False
| 11.5 | 22 | 0.782609 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
816828595bd990b46d818b158797cf7c3af405ad | 273 | py | Python | apps/result/admin.py | abdulwaliyahaya/resultLab | 08c84d9b8c2bcc2a71e9c0a7766988ada0234be4 | [
"MIT"
] | 3 | 2019-03-19T03:49:17.000Z | 2021-03-20T10:36:22.000Z | apps/result/admin.py | abdulwaliyahaya/resultLab | 08c84d9b8c2bcc2a71e9c0a7766988ada0234be4 | [
"MIT"
] | null | null | null | apps/result/admin.py | abdulwaliyahaya/resultLab | 08c84d9b8c2bcc2a71e9c0a7766988ada0234be4 | [
"MIT"
] | 3 | 2019-08-10T18:39:59.000Z | 2021-01-19T07:30:20.000Z | from django.contrib import admin
from apps.result.models import *
from apps.accounts.models import *
admin.site.register(Subject)
admin.site.register(Class)
admin.site.register(ResultSheet)
admin.site.register(StudentResultSheet)
admin.site.register(StudentSubjectResult)
| 27.3 | 41 | 0.835165 | 35 | 273 | 6.514286 | 0.457143 | 0.197368 | 0.372807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 273 | 9 | 42 | 30.333333 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
817ab7876c737bade8883470735d7a8414cf9f5a | 1,085 | py | Python | not_used/scripts/get_last_working_day.py | flaireclair/DeepLearning-stock | 34cd296236fc10df34158cc5a65b5537d167645e | [
"Apache-2.0"
] | null | null | null | not_used/scripts/get_last_working_day.py | flaireclair/DeepLearning-stock | 34cd296236fc10df34158cc5a65b5537d167645e | [
"Apache-2.0"
] | null | null | null | not_used/scripts/get_last_working_day.py | flaireclair/DeepLearning-stock | 34cd296236fc10df34158cc5a65b5537d167645e | [
"Apache-2.0"
] | 1 | 2019-01-23T03:16:42.000Z | 2019-01-23T03:16:42.000Z | import workdays
import datetime
def return_last_day_of_working(year, month) :
if month == 3 :
if year % 4 == 0 :
start_date = datetime.datetime(year, month-1, 29)
end_date = datetime.datetime(year, month, 31)
else :
start_date = datetime.datetime(year, month... | 37.413793 | 61 | 0.607373 | 145 | 1,085 | 4.4 | 0.248276 | 0.183386 | 0.376176 | 0.451411 | 0.721003 | 0.721003 | 0.721003 | 0.612853 | 0.551724 | 0.416928 | 0 | 0.054616 | 0.291244 | 1,085 | 28 | 62 | 38.75 | 0.775033 | 0 | 0 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.16 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8183841960ed28b97b879ced512194b2494685f2 | 129 | py | Python | exercicios/ex012.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | exercicios/ex012.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | exercicios/ex012.py | Matheus1199/python | c87859d4bf63ba0edea43d864fcbce4915da7e6a | [
"MIT"
] | null | null | null | n1 = float(input('Valor do produto: R$'))
print('O preço do produto com 5% de desconto é: R${:.2f}'.format(n1 - n1 * (5 / 100)))
| 43 | 86 | 0.612403 | 24 | 129 | 3.291667 | 0.75 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 0.170543 | 129 | 2 | 87 | 64.5 | 0.654206 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
819392e335c0e5e4842732e4f8a681daf9a7f116 | 44 | py | Python | apartment/apps/users/__init__.py | Hardy7/CS465_Final | a38ccc1ebd988ed5ded9acc05ad6c8dd1cc2d1bd | [
"MIT"
] | 1 | 2020-03-15T22:45:42.000Z | 2020-03-15T22:45:42.000Z | apartment/apps/users/__init__.py | Hardy7/CS465_Final | a38ccc1ebd988ed5ded9acc05ad6c8dd1cc2d1bd | [
"MIT"
] | null | null | null | apartment/apps/users/__init__.py | Hardy7/CS465_Final | a38ccc1ebd988ed5ded9acc05ad6c8dd1cc2d1bd | [
"MIT"
] | null | null | null | default_app_config = "users.apps.UserConfig" | 44 | 44 | 0.840909 | 6 | 44 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 44 | 1 | 44 | 44 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
819d37071e48ae3db89c3858cb9fdb4608af349a | 860 | py | Python | ddtrace/monkey.py | KDWSS/dd-trace-py | 6d859bec403347f7c1e7efd039210908b562741e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ddtrace/monkey.py | KDWSS/dd-trace-py | 6d859bec403347f7c1e7efd039210908b562741e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | ddtrace/monkey.py | KDWSS/dd-trace-py | 6d859bec403347f7c1e7efd039210908b562741e | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | """Patch libraries to be automatically instrumented.
It can monkey patch supported standard libraries and third party modules.
A patched module will automatically report spans with its default configuration.
A library instrumentation can be configured (for instance, to report as another service)
using Pin. For that, ... | 34.4 | 96 | 0.787209 | 115 | 860 | 5.773913 | 0.495652 | 0.105422 | 0.168675 | 0.180723 | 0.201807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004138 | 0.156977 | 860 | 24 | 97 | 35.833333 | 0.911724 | 0.438372 | 0 | 0 | 0 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.692308 | 0 | 0.692308 | 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 |
81b0b7de1c0886e163caacb79bae1fbba6245a1f | 11,461 | py | Python | tests/test_crypto/test_ledger_apis.py | 8ball030/agents-aea | fcf470e3daa9bd8e272ca66542c6003feb0fd7a8 | [
"Apache-2.0"
] | 1 | 2021-07-25T18:50:18.000Z | 2021-07-25T18:50:18.000Z | tests/test_crypto/test_ledger_apis.py | 8ball030/agents-aea | fcf470e3daa9bd8e272ca66542c6003feb0fd7a8 | [
"Apache-2.0"
] | null | null | null | tests/test_crypto/test_ledger_apis.py | 8ball030/agents-aea | fcf470e3daa9bd8e272ca66542c6003feb0fd7a8 | [
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the... | 55.100962 | 233 | 0.681092 | 1,287 | 11,461 | 5.792541 | 0.158508 | 0.0778 | 0.033132 | 0.048424 | 0.758149 | 0.734406 | 0.712676 | 0.712676 | 0.67002 | 0.636888 | 0 | 0.065412 | 0.22101 | 11,461 | 207 | 234 | 55.36715 | 0.769601 | 0.123724 | 0 | 0.506849 | 0 | 0 | 0.142857 | 0.087201 | 0 | 0 | 0.050231 | 0 | 0.212329 | 1 | 0.082192 | false | 0 | 0.082192 | 0 | 0.171233 | 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 |
81d48812c9dfe5fb94dd78089decf39084948ec2 | 307 | py | Python | python codes/Leapyear.py | vatsla1601/Hacktoberfest2020-1 | 2f65f26bd5bba3ba518cac95b7bf080e295c11e0 | [
"MIT"
] | 266 | 2020-10-06T11:47:03.000Z | 2022-03-08T09:01:00.000Z | python codes/Leapyear.py | vatsla1601/Hacktoberfest2020-1 | 2f65f26bd5bba3ba518cac95b7bf080e295c11e0 | [
"MIT"
] | 73 | 2020-10-06T09:14:43.000Z | 2021-10-05T19:02:00.000Z | python codes/Leapyear.py | vatsla1601/Hacktoberfest2020-1 | 2f65f26bd5bba3ba518cac95b7bf080e295c11e0 | [
"MIT"
] | 958 | 2020-10-06T10:41:13.000Z | 2022-02-23T11:14:34.000Z | # User enters the year
year = int(input("Enter Year: "))
# Leap Year Check
if year % 4 == 0 and year % 100 != 0:
print(year, "is a Leap Year")
elif year % 100 == 0:
print(year, "is not a Leap Year")
elif year % 400 ==0:
print(year, "is a Leap Year")
else:
print(year, "is not a Leap Year")
| 23.615385 | 37 | 0.599349 | 55 | 307 | 3.345455 | 0.381818 | 0.217391 | 0.23913 | 0.195652 | 0.625 | 0.559783 | 0.478261 | 0 | 0 | 0 | 0 | 0.06087 | 0.250814 | 307 | 12 | 38 | 25.583333 | 0.73913 | 0.117264 | 0 | 0.444444 | 0 | 0 | 0.283582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
81da352648b20b5a710bd862af6067bb2d9a4f59 | 1,345 | py | Python | md2html/node.py | dosisod/dosisod.github.io | 8fca74392cbbe53a761f60cbdb05513dc663f768 | [
"MIT"
] | null | null | null | md2html/node.py | dosisod/dosisod.github.io | 8fca74392cbbe53a761f60cbdb05513dc663f768 | [
"MIT"
] | null | null | null | md2html/node.py | dosisod/dosisod.github.io | 8fca74392cbbe53a761f60cbdb05513dc663f768 | [
"MIT"
] | null | null | null | from enum import auto, Enum
from dataclasses import dataclass, field
from typing import List
@dataclass(kw_only=True)
class Node:
contents: str = ""
@dataclass(kw_only=True)
class CommentNode(Node):
pass
@dataclass(kw_only=True)
class DataNode(Node):
data: List[str] = field(default_factory=list)
@da... | 14.462366 | 56 | 0.712268 | 170 | 1,345 | 5.541176 | 0.282353 | 0.175159 | 0.238854 | 0.302548 | 0.507431 | 0.430998 | 0.37155 | 0.082803 | 0 | 0 | 0 | 0.000901 | 0.174721 | 1,345 | 92 | 57 | 14.619565 | 0.847748 | 0 | 0 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.155172 | 0.051724 | 0 | 0.568966 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c4ab7f48e708ad4ee67bb02e733fbbb2b035134c | 27,242 | py | Python | models_nonconvex_simple2/sfacloc2_2_95.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_nonconvex_simple2/sfacloc2_2_95.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_nonconvex_simple2/sfacloc2_2_95.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 08/20/20 01:30:44
#
# Equation counts
# Total E G L N X C B
# 240 46 162 32 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 39.028653 | 119 | 0.655495 | 4,809 | 27,242 | 3.713246 | 0.132668 | 0.030688 | 0.187322 | 0.164641 | 0.701742 | 0.609677 | 0.609677 | 0.609229 | 0.609229 | 0.343059 | 0 | 0.279151 | 0.140261 | 27,242 | 697 | 120 | 39.084648 | 0.483284 | 0.024961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002299 | 0 | 0.002299 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c4ba4380258671989c146897f898e573b64695b4 | 1,896 | py | Python | test/test_game_over.py | jasondaming/bobail | cbc3796c5da9ff1daae0ed6729e1c336c79322b2 | [
"MIT"
] | null | null | null | test/test_game_over.py | jasondaming/bobail | cbc3796c5da9ff1daae0ed6729e1c336c79322b2 | [
"MIT"
] | null | null | null | test/test_game_over.py | jasondaming/bobail | cbc3796c5da9ff1daae0ed6729e1c336c79322b2 | [
"MIT"
] | null | null | null | import unittest
from bobail.game import Game
import random
class TestGameOver(unittest.TestCase):
def setUp(self):
self.game = Game()
def test_new_game_not_over(self):
self.expect(False)
def test_win_by_bobail_end_row(self):
self.make_non_final_moves([[3, 11], [13, 8], [25, 10]])
self.m... | 43.090909 | 164 | 0.484705 | 358 | 1,896 | 2.486034 | 0.192737 | 0.020225 | 0.031461 | 0.039326 | 0.21573 | 0.175281 | 0.147191 | 0.147191 | 0.147191 | 0.079775 | 0 | 0.25968 | 0.209916 | 1,896 | 44 | 165 | 43.090909 | 0.334446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.318182 | false | 0 | 0.136364 | 0 | 0.545455 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c4cdd3fa30a063ec12b40b110fdad2bdeef08314 | 269 | py | Python | src/utils/env_utils.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/utils/env_utils.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/utils/env_utils.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | 1 | 2021-10-03T13:18:09.000Z | 2021-10-03T13:18:09.000Z | from src.configs import CONFIGS
from src.constants import Env
def get_env():
return Env(CONFIGS["env"] or Env.PRODUCETION)
def set_env(env: Env):
CONFIGS["env"] = env
def is_test():
env = get_env()
return env == Env.TEST or env == Env.DEVELOPMENT
| 16.8125 | 52 | 0.672862 | 42 | 269 | 4.214286 | 0.357143 | 0.169492 | 0.135593 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204461 | 269 | 15 | 53 | 17.933333 | 0.827103 | 0 | 0 | 0 | 0 | 0 | 0.022305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c4eae706f8fcbe1ab1e4daff9460b2af2e60b285 | 87 | py | Python | lablog/apps.py | raylab/EmpathyLab | ae1bde75103eb38c979694ee76d13a319196c36b | [
"CC0-1.0"
] | null | null | null | lablog/apps.py | raylab/EmpathyLab | ae1bde75103eb38c979694ee76d13a319196c36b | [
"CC0-1.0"
] | 6 | 2018-03-30T02:50:04.000Z | 2018-04-15T16:11:52.000Z | lablog/apps.py | raylab/EmpathyLab | ae1bde75103eb38c979694ee76d13a319196c36b | [
"CC0-1.0"
] | null | null | null | from django.apps import AppConfig
class LablogConfig(AppConfig):
name = 'lablog'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
f2068df91c4edfb351c4c9e5aff891396f2adac1 | 17 | py | Python | commands/tests/__init__.py | MaferMazu/blockchain-network-simulator | 3f2184b2c05681184eee40168b142e5d0af581b1 | [
"MIT"
] | 1 | 2021-03-30T09:29:13.000Z | 2021-03-30T09:29:13.000Z | tests/__init__.py | alueschow/srupy | a73fa62549bb3e62b07fe2be4a96926a41088ae2 | [
"MIT"
] | 1 | 2021-03-24T10:28:21.000Z | 2021-03-24T10:28:21.000Z | commands/tests/__init__.py | MaferMazu/blockchain-network-simulator | 3f2184b2c05681184eee40168b142e5d0af581b1 | [
"MIT"
] | 1 | 2021-03-20T20:23:26.000Z | 2021-03-20T20:23:26.000Z | """Docstring."""
| 8.5 | 16 | 0.529412 | 1 | 17 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 17 | 1 | 17 | 17 | 0.5625 | 0.588235 | 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 |
f20ae42a83d651cabcf43872caa538c600105c34 | 8,220 | py | Python | readthedocs/rtd_tests/tests/test_version_querysets.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | null | null | null | readthedocs/rtd_tests/tests/test_version_querysets.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | null | null | null | readthedocs/rtd_tests/tests/test_version_querysets.py | darrowco/readthedocs.org | fa7fc5a24306f1f6a27c7393f381c594ab29b357 | [
"MIT"
] | null | null | null | from django_dynamic_fixture import get
from django.contrib.auth.models import User
from django.test import TestCase
from readthedocs.projects.models import Project
from readthedocs.projects.constants import PRIVATE, PUBLIC, PROTECTED
from readthedocs.builds.constants import LATEST
from readthedocs.builds.models import ... | 31.860465 | 84 | 0.587105 | 797 | 8,220 | 5.846926 | 0.062735 | 0.087339 | 0.100429 | 0.064378 | 0.883691 | 0.827468 | 0.782403 | 0.747425 | 0.674893 | 0.526824 | 0 | 0 | 0.326399 | 8,220 | 257 | 85 | 31.984436 | 0.841611 | 0 | 0 | 0.631356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.055085 | false | 0 | 0.029661 | 0 | 0.088983 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1eed754f4ffcc83268d48e26138477f856bd5b83 | 200 | py | Python | src/custom_logging/middlewares.py | sh-cho/django-custom-logging | a016fd1ede6f81e3b0ca4ccbe170ffe2015ecb76 | [
"MIT"
] | 4 | 2021-04-05T14:24:09.000Z | 2021-11-01T09:34:23.000Z | src/custom_logging/middlewares.py | sh-cho/django-custom-logging | a016fd1ede6f81e3b0ca4ccbe170ffe2015ecb76 | [
"MIT"
] | null | null | null | src/custom_logging/middlewares.py | sh-cho/django-custom-logging | a016fd1ede6f81e3b0ca4ccbe170ffe2015ecb76 | [
"MIT"
] | null | null | null | from . import local_thread
def capture_request(get_response):
def middleware(request):
local_thread.request = request or None
return get_response(request)
return middleware
| 20 | 46 | 0.725 | 24 | 200 | 5.833333 | 0.541667 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 200 | 9 | 47 | 22.222222 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1eefb0b2f5d5177d57174c190054a13509188ae0 | 4,491 | py | Python | utils/interfaces/_library/appsec_data.py | DataDog/system-tests | 04f94312fddb135830dbe2df6d51d9246561ea6e | [
"Apache-2.0"
] | 3 | 2021-11-15T20:28:25.000Z | 2022-01-27T18:33:15.000Z | utils/interfaces/_library/appsec_data.py | DataDog/system-tests | 04f94312fddb135830dbe2df6d51d9246561ea6e | [
"Apache-2.0"
] | 25 | 2021-11-08T15:50:38.000Z | 2022-03-29T12:16:17.000Z | utils/interfaces/_library/appsec_data.py | DataDog/system-tests | 04f94312fddb135830dbe2df6d51d9246561ea6e | [
"Apache-2.0"
] | 1 | 2021-11-15T20:28:28.000Z | 2021-11-15T20:28:28.000Z | # Unless explicitly stated otherwise all files in this repository are licensed under the the Apache License Version 2.0.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2021 Datadog, Inc.
# Automatic generatiom from:
# python utils/scripts/extract_appsec_waf_rules.py ... | 35.928 | 120 | 0.6277 | 611 | 4,491 | 4.432079 | 0.278232 | 0.276957 | 0.319055 | 0.37223 | 0.095643 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18131 | 0.163661 | 4,491 | 124 | 121 | 36.217742 | 0.53967 | 0.07014 | 0 | 0 | 0 | 0 | 0.664748 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4839394dc53ab72ad0fa51ddfd0f73a119654e54 | 112 | py | Python | plugins/hello.py | takaakiaoki/ilas-slackbot-aoki | 001c13340948a1b80ec4f6bc66ceb093d6a7ca66 | [
"MIT"
] | null | null | null | plugins/hello.py | takaakiaoki/ilas-slackbot-aoki | 001c13340948a1b80ec4f6bc66ceb093d6a7ca66 | [
"MIT"
] | null | null | null | plugins/hello.py | takaakiaoki/ilas-slackbot-aoki | 001c13340948a1b80ec4f6bc66ceb093d6a7ca66 | [
"MIT"
] | null | null | null | import slackbot.bot
@slackbot.bot.respond_to('hello')
def resp_hello(message):
message.reply('こんにちは')
| 18.666667 | 34 | 0.714286 | 15 | 112 | 5.2 | 0.733333 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 5 | 35 | 22.4 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
48565e754f39efb7bc7362b9e5136fa99ea54b01 | 767 | py | Python | neukivy/factory_registers.py | kengoon/NeuKivy | 1ad64b0dc32cef870d727034fa2313045f3ce4de | [
"MIT"
] | 1 | 2021-06-25T07:04:04.000Z | 2021-06-25T07:04:04.000Z | neukivy/factory_registers.py | kengoon/NeuKivy | 1ad64b0dc32cef870d727034fa2313045f3ce4de | [
"MIT"
] | null | null | null | neukivy/factory_registers.py | kengoon/NeuKivy | 1ad64b0dc32cef870d727034fa2313045f3ce4de | [
"MIT"
] | null | null | null | from kivy.factory import Factory
r = Factory.register
r("NeuButton", module="neukivy.uix.button")
r("NeuRoundedButton", module="neukivy.uix.button")
r("NeuCircularButton", module="neukivy.uix.button")
r("NeuIconButton", module="neukivy.uix.button")
r("NeuRoundedIconButton", module="neukivy.uix.button")
r("NeuCircular... | 40.368421 | 58 | 0.765319 | 92 | 767 | 6.380435 | 0.293478 | 0.310051 | 0.381601 | 0.29983 | 0.477002 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04824 | 767 | 18 | 59 | 42.611111 | 0.80411 | 0 | 0 | 0 | 0 | 0 | 0.616688 | 0.08605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4858c4478ad63d18f082b63bb99e796851f071a7 | 325 | py | Python | arxpy/smt/tests/test_verification_differential.py | ranea/RX-difference-tool | 28b4a42bc0c602956f980a8b0d7d758f4147ff5e | [
"MIT"
] | null | null | null | arxpy/smt/tests/test_verification_differential.py | ranea/RX-difference-tool | 28b4a42bc0c602956f980a8b0d7d758f4147ff5e | [
"MIT"
] | null | null | null | arxpy/smt/tests/test_verification_differential.py | ranea/RX-difference-tool | 28b4a42bc0c602956f980a8b0d7d758f4147ff5e | [
"MIT"
] | null | null | null | """Tests for the verification module."""
import unittest
import doctest
import arxpy.smt.verification_differential
class EmptyTest(unittest.TestCase):
pass
def load_tests(loader, tests, ignore):
"""Add doctests."""
tests.addTests(doctest.DocTestSuite(arxpy.smt.verification_differential))
return tes... | 18.055556 | 77 | 0.756923 | 37 | 325 | 6.567568 | 0.648649 | 0.065844 | 0.164609 | 0.263374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141538 | 325 | 17 | 78 | 19.117647 | 0.870968 | 0.147692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
485be2a332a52e0c6d1f38bdc388d47757ba78fb | 211 | py | Python | tests/test_pydisp.py | dimatura/pydisplay | 98addd643372c19cbdab2226b5b600eaac5953a5 | [
"MIT"
] | 2 | 2017-03-09T19:06:39.000Z | 2017-03-15T04:10:22.000Z | tests/test_pydisp.py | dimatura/pydisplay | 98addd643372c19cbdab2226b5b600eaac5953a5 | [
"MIT"
] | null | null | null | tests/test_pydisp.py | dimatura/pydisplay | 98addd643372c19cbdab2226b5b600eaac5953a5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Tests for `pydisp` module.
"""
import pytest
from contextlib import contextmanager
from click.testing import CliRunner
import pydisp
from pydisp import cli
| 13.1875 | 37 | 0.725118 | 28 | 211 | 5.464286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.161137 | 211 | 15 | 38 | 14.066667 | 0.858757 | 0.327014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4868ef2e203da395641db74123cb18e7b219ac72 | 15,821 | py | Python | cairis/controllers/RequirementController.py | RAIJ95/https-github.com-failys-cairis | 86601347ea016f4a3f90b6942093d63e91de5f74 | [
"Apache-2.0"
] | null | null | null | cairis/controllers/RequirementController.py | RAIJ95/https-github.com-failys-cairis | 86601347ea016f4a3f90b6942093d63e91de5f74 | [
"Apache-2.0"
] | null | null | null | cairis/controllers/RequirementController.py | RAIJ95/https-github.com-failys-cairis | 86601347ea016f4a3f90b6942093d63e91de5f74 | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | 34.543668 | 130 | 0.544593 | 1,333 | 15,821 | 6.295574 | 0.152288 | 0.045043 | 0.046592 | 0.048022 | 0.73868 | 0.719852 | 0.715324 | 0.701859 | 0.661106 | 0.637393 | 0 | 0.001279 | 0.357689 | 15,821 | 457 | 131 | 34.619256 | 0.824542 | 0.062954 | 0 | 0.568182 | 0 | 0 | 0.198837 | 0.011832 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020202 | false | 0 | 0.025253 | 0 | 0.078283 | 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 |
487eda7246d5065a6326fdfdfeae8ef4e829b161 | 260 | py | Python | server/server.py | MRtecno98/Juno | 18576ad6b14000f40ddcdbe14434bc1986f7b64b | [
"MIT"
] | null | null | null | server/server.py | MRtecno98/Juno | 18576ad6b14000f40ddcdbe14434bc1986f7b64b | [
"MIT"
] | null | null | null | server/server.py | MRtecno98/Juno | 18576ad6b14000f40ddcdbe14434bc1986f7b64b | [
"MIT"
] | null | null | null | from .agent_operator import AgentOperator
from .router import Router
class LogisticalRouter(Router):
def __init__(self, agents_configuration):
super().__init__()
self.operator = AgentOperator(self, "localhost", 7777, agents_configuration)
| 32.5 | 84 | 0.753846 | 27 | 260 | 6.851852 | 0.592593 | 0.086486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018265 | 0.157692 | 260 | 7 | 85 | 37.142857 | 0.826484 | 0 | 0 | 0 | 0 | 0 | 0.034615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
488025cf27dd390997ea57a79914d14c58d17a96 | 252 | py | Python | tests/dags/dag_dagfile_has_dag.py | politools/dag-checks | 53b587d29d5e985698d9b08627af9231647de316 | [
"Apache-2.0"
] | 5 | 2021-02-06T14:01:08.000Z | 2021-12-02T00:06:07.000Z | tests/dags/dag_dagfile_has_dag.py | Polidea/dag-checks | 53b587d29d5e985698d9b08627af9231647de316 | [
"Apache-2.0"
] | null | null | null | tests/dags/dag_dagfile_has_dag.py | Polidea/dag-checks | 53b587d29d5e985698d9b08627af9231647de316 | [
"Apache-2.0"
] | 3 | 2021-02-01T08:09:40.000Z | 2021-11-01T18:29:23.000Z | from airflow import DAG
from airflow.operators.dummy_operator import DummyOperator
from airflow.utils.dates import days_ago
with DAG(dag_id="dag_dagfile_has_dag_fail", schedule_interval=None, start_date=days_ago(1)):
DummyOperator(task_id="test")
| 36 | 92 | 0.829365 | 39 | 252 | 5.076923 | 0.641026 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.087302 | 252 | 6 | 93 | 42 | 0.856522 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
6f890edd1d8e95fd92f0e4244480ea7056ddfb96 | 18 | py | Python | test/integration/Lambda/two parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 30 | 2019-10-29T12:47:50.000Z | 2022-02-12T06:41:39.000Z | test/integration/Lambda/two parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 247 | 2017-09-21T17:11:18.000Z | 2019-10-08T12:59:07.000Z | test/integration/Lambda/two parameters.py | HighSchoolHacking/GLS-Draft | 9e418b6290e7c8e3f2da87668784bdba1cde5a76 | [
"MIT"
] | 17 | 2017-10-01T16:53:20.000Z | 2018-11-28T07:20:35.000Z | #
abc(def, ghi)
#
| 4.5 | 13 | 0.5 | 3 | 18 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 3 | 14 | 6 | 0.642857 | 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 |
6fb01fb5e9d710542100f90f0bea37a4da3c63c8 | 141 | py | Python | 8-9.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | 1 | 2019-02-06T01:49:18.000Z | 2019-02-06T01:49:18.000Z | 8-9.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | 8-9.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | def show_magicians(names):
for name in names:
print(name)
unprinted_name = ['a','b','c','d']
show_magicians(unprinted_name) | 23.5 | 35 | 0.64539 | 20 | 141 | 4.35 | 0.65 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198582 | 141 | 6 | 36 | 23.5 | 0.769912 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6fca6a0ffa9a3a0bbd2f44aa41088d7773521122 | 76 | py | Python | framework/utils/__init__.py | maxim-filkov/mobile-test-helper | 46dcb27b0ee25153b697d19c17801cee35e136ce | [
"Apache-2.0"
] | 1 | 2018-12-14T02:13:14.000Z | 2018-12-14T02:13:14.000Z | framework/utils/__init__.py | maxim-filkov/mobile-test-helper | 46dcb27b0ee25153b697d19c17801cee35e136ce | [
"Apache-2.0"
] | null | null | null | framework/utils/__init__.py | maxim-filkov/mobile-test-helper | 46dcb27b0ee25153b697d19c17801cee35e136ce | [
"Apache-2.0"
] | 1 | 2018-12-14T02:13:21.000Z | 2018-12-14T02:13:21.000Z | """
Define here anything what is needed for the package framework.utils.
""" | 25.333333 | 68 | 0.75 | 11 | 76 | 5.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 69 | 25.333333 | 0.876923 | 0.894737 | 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 |
6fd7cc5b707fc4743a9bf24846c1994cce369414 | 187 | py | Python | Dataset/Leetcode/test/20/206.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/20/206.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/20/206.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, s):
while "()" in s or "[]" in s or "{}" in s:
s = s.replace('[]','').replace('()','').replace('{}','')
return len(s) == 0
| 26.714286 | 68 | 0.406417 | 24 | 187 | 3.166667 | 0.541667 | 0.118421 | 0.131579 | 0.184211 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.31016 | 187 | 6 | 69 | 31.166667 | 0.581395 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 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 | 0 | 0 | 4 |
6fdd47e78f89d37feeb24f469a0543a6ee9f590a | 81 | py | Python | code/answer_4-2-37.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | 1 | 2022-03-29T13:50:12.000Z | 2022-03-29T13:50:12.000Z | code/answer_4-2-37.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | code/answer_4-2-37.py | KoyanagiHitoshi/AtCoder-Python-Introduction | 6d014e333a873f545b4d32d438e57cf428b10b96 | [
"MIT"
] | null | null | null | S = input()
print(S[::-1].replace("6", "x").replace("9", "6").replace("x", "9"))
| 27 | 68 | 0.493827 | 14 | 81 | 2.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0.08642 | 81 | 2 | 69 | 40.5 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6fea3bf47a39cd0d19d90ae0f406360a9a2cbe4e | 162 | py | Python | test/test_roadrunner.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | test/test_roadrunner.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | test/test_roadrunner.py | stanleygu/tellurium | bfa6898eb4b632b31c4d12c0b0c78ce704a1d898 | [
"Apache-2.0"
] | null | null | null | import roadrunner
import roadrunner.testing
rr = roadrunner.RoadRunner(roadrunner.testing.getData('feedback.xml'))
result = rr.simulate()
roadrunner.plot(result)
| 27 | 70 | 0.814815 | 19 | 162 | 6.947368 | 0.526316 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067901 | 162 | 5 | 71 | 32.4 | 0.874172 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b5121a1ca5582d503c0d07016451cf6761eb41d3 | 269 | py | Python | random_fun/python_challange/c05.py | mmmonk/crap | 96ba81723f043503e7ed2f96ea727b524d22b83f | [
"MIT"
] | 14 | 2015-01-14T15:53:22.000Z | 2019-06-21T06:15:47.000Z | random_fun/python_challange/c05.py | mmmonk/crap | 96ba81723f043503e7ed2f96ea727b524d22b83f | [
"MIT"
] | 1 | 2018-04-01T08:40:17.000Z | 2020-06-24T10:05:33.000Z | random_fun/python_challange/c05.py | mmmonk/crap | 96ba81723f043503e7ed2f96ea727b524d22b83f | [
"MIT"
] | 12 | 2015-05-13T10:52:04.000Z | 2020-10-07T14:49:37.000Z | #!/usr/bin/env python
# http://www.pythonchallenge.com/pc/def/peak.html
import urllib
import pickle
import sys
f = urllib.URLopener().open("http://www.pythonchallenge.com/pc/def/banner.p")
a = pickle.load(f)
for b in a:
print "".join([c[0]*int(c[1]) for c in b])
| 19.214286 | 77 | 0.687732 | 49 | 269 | 3.77551 | 0.653061 | 0.075676 | 0.237838 | 0.27027 | 0.324324 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0.008439 | 0.118959 | 269 | 13 | 78 | 20.692308 | 0.772152 | 0.252788 | 0 | 0 | 0 | 0 | 0.231156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.428571 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b51221aa9b2ae9dbe7650525cc7ddc80faa8b9e7 | 104 | py | Python | sitemap_urls_auditor/sitemap/__init__.py | alena-kono/sitemap-urls-auditor | b9f1651c48fd8e4131eca8ee44122ffa54a4576e | [
"MIT"
] | null | null | null | sitemap_urls_auditor/sitemap/__init__.py | alena-kono/sitemap-urls-auditor | b9f1651c48fd8e4131eca8ee44122ffa54a4576e | [
"MIT"
] | null | null | null | sitemap_urls_auditor/sitemap/__init__.py | alena-kono/sitemap-urls-auditor | b9f1651c48fd8e4131eca8ee44122ffa54a4576e | [
"MIT"
] | null | null | null | """Sitemap package.
Package is responsible for getting and processing urls from website's sitemap.
"""
| 20.8 | 78 | 0.769231 | 14 | 104 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 4 | 79 | 26 | 0.898876 | 0.923077 | 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 |
82eb341ad33a59915ff901fe669b2e8e08f584f8 | 218 | py | Python | Palantir/problem_3.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | 54 | 2019-03-14T21:27:13.000Z | 2021-12-08T12:58:08.000Z | Palantir/problem_3.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | null | null | null | Palantir/problem_3.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | 8 | 2020-02-06T23:28:01.000Z | 2021-08-05T20:33:16.000Z | """ Asked by: Palantir [Easy].
Write a program that checks whether an integer is a palindrome. For example, 121 is a palindrome,
as well as 888. 678 is not a palindrome. Do not convert the integer into a string.
""" | 36.333333 | 98 | 0.733945 | 38 | 218 | 4.210526 | 0.710526 | 0.20625 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051136 | 0.192661 | 218 | 6 | 99 | 36.333333 | 0.857955 | 0.958716 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d23177e3400dbfd375eaf3af86095ce23dce1c57 | 208 | py | Python | Chapter10/deque_rotation.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 12 | 2018-07-09T16:20:31.000Z | 2022-03-21T22:52:15.000Z | Chapter10/deque_rotation.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | null | null | null | Chapter10/deque_rotation.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 19 | 2018-01-09T12:49:06.000Z | 2021-11-23T08:05:55.000Z | import collections
d = collections.deque(xrange(6))
print "Normal queue", d
d.rotate(2)
print "\nRight rotation :", d
d1 = collections.deque(xrange(6))
d1.rotate(-2)
print "\nleft rotation :", d1 | 18.909091 | 34 | 0.673077 | 30 | 208 | 4.666667 | 0.5 | 0.228571 | 0.314286 | 0.328571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040698 | 0.173077 | 208 | 11 | 35 | 18.909091 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 0.236181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.375 | 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 |
d24960f94b9f9717ec1c57f09484fd4c020e671f | 16,562 | py | Python | app/project/logics.py | Pechsopha/KITPoint | 076890838ca7f57b76f7c9a9a4101c9e90b13d8b | [
"MIT"
] | 1 | 2019-10-16T14:27:29.000Z | 2019-10-16T14:27:29.000Z | app/project/logics.py | Pechsopha/KITPoint | 076890838ca7f57b76f7c9a9a4101c9e90b13d8b | [
"MIT"
] | null | null | null | app/project/logics.py | Pechsopha/KITPoint | 076890838ca7f57b76f7c9a9a4101c9e90b13d8b | [
"MIT"
] | null | null | null | from app import db
from app.base.models import KitPointValue, AverageInternHour, Semester, Batch
from app.student.models import StudentSummary, Student
from app.task.models import Report, Task
from app.stakeholder.models import StakeholderTask, StakeholderSummary, Stakeholder
from datetime import datetime
def generat... | 46.522472 | 115 | 0.576319 | 1,982 | 16,562 | 4.60999 | 0.063068 | 0.075845 | 0.048594 | 0.033271 | 0.791945 | 0.761191 | 0.727263 | 0.702966 | 0.679216 | 0.659954 | 0 | 0.010972 | 0.328644 | 16,562 | 355 | 116 | 46.653521 | 0.810774 | 0.004528 | 0 | 0.640244 | 0 | 0 | 0.001274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015244 | false | 0 | 0.018293 | 0 | 0.036585 | 0.003049 | 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 |
9637f0ed3e638cd3afbe37dcddde1600334abfa1 | 388 | py | Python | models/__init__.py | jtbai/glo-7027 | 956be4b9c474bade4f28c2b2d7267ae55002f0a5 | [
"MIT"
] | null | null | null | models/__init__.py | jtbai/glo-7027 | 956be4b9c474bade4f28c2b2d7267ae55002f0a5 | [
"MIT"
] | null | null | null | models/__init__.py | jtbai/glo-7027 | 956be4b9c474bade4f28c2b2d7267ae55002f0a5 | [
"MIT"
] | null | null | null | from models.gradient_boosting_regression import GradientBoostingRegression
from models.random_forest_regression import RandomForestRegression
from models.simple_linear_regression import SimpleLinearRegression
from models.support_vector_machine_regression import SupportVectorMachineRegression
from models.support_vector_... | 77.6 | 95 | 0.935567 | 38 | 388 | 9.210526 | 0.5 | 0.142857 | 0.097143 | 0.131429 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.051546 | 388 | 5 | 95 | 77.6 | 0.945652 | 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 |
96409e1f58060901b7d5cf857deaf1a76eea2cac | 106 | py | Python | pastebin_crawler/settings/__init__.py | mikeler216/pastebin_crawler | 9a5712fc139cf4f02b8f81398b458f75fe0f8e86 | [
"Apache-2.0"
] | null | null | null | pastebin_crawler/settings/__init__.py | mikeler216/pastebin_crawler | 9a5712fc139cf4f02b8f81398b458f75fe0f8e86 | [
"Apache-2.0"
] | 3 | 2021-01-30T17:57:37.000Z | 2021-01-31T17:59:08.000Z | pastebin_crawler/settings/__init__.py | mikeler216/pastebin_crawler | 9a5712fc139cf4f02b8f81398b458f75fe0f8e86 | [
"Apache-2.0"
] | null | null | null | from apscheduler.schedulers.blocking import BlockingScheduler
background_scheduler = BlockingScheduler()
| 26.5 | 61 | 0.877358 | 9 | 106 | 10.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 3 | 62 | 35.333333 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
964358059a90f5670d5af22e074f7f19a9eea993 | 102 | py | Python | pyintesishome/exceptions.py | rklomp/pyIntesisHome | 0c2fefaadebb9bdde87217a0b612d55b577c2b20 | [
"MIT"
] | null | null | null | pyintesishome/exceptions.py | rklomp/pyIntesisHome | 0c2fefaadebb9bdde87217a0b612d55b577c2b20 | [
"MIT"
] | null | null | null | pyintesishome/exceptions.py | rklomp/pyIntesisHome | 0c2fefaadebb9bdde87217a0b612d55b577c2b20 | [
"MIT"
] | null | null | null | class IHConnectionError(Exception):
pass
class IHAuthenticationError(ConnectionError):
pass
| 14.571429 | 45 | 0.784314 | 8 | 102 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 6 | 46 | 17 | 0.930233 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
96620bccfe48a659a0d91f70c5e9466f6902dc44 | 262 | py | Python | apps/account/admin.py | Couapy/mc-manager | 9ea4b6d5e42a3261b364b729991e10717e966c73 | [
"MIT"
] | null | null | null | apps/account/admin.py | Couapy/mc-manager | 9ea4b6d5e42a3261b364b729991e10717e966c73 | [
"MIT"
] | 9 | 2021-04-09T06:22:50.000Z | 2022-03-12T00:57:19.000Z | apps/account/admin.py | Couapy/mc-manager | 9ea4b6d5e42a3261b364b729991e10717e966c73 | [
"MIT"
] | null | null | null | from django.contrib import admin
from social_django.models import Association, Nonce, UserSocialAuth
from .models import Profile
admin.site.register(Profile)
admin.site.unregister(Association)
admin.site.unregister(Nonce)
admin.site.unregister(UserSocialAuth)
| 26.2 | 67 | 0.843511 | 33 | 262 | 6.666667 | 0.424242 | 0.163636 | 0.259091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 262 | 9 | 68 | 29.111111 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 1 | 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.