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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a838a5b5199f769aece8cf41deaf5eae27a57e4 | 245 | py | Python | scripts/X_Imports.py | demostheneslld/astro | 7cd9be56602be8510f4d2144edb356c21282f2fc | [
"MIT"
] | null | null | null | scripts/X_Imports.py | demostheneslld/astro | 7cd9be56602be8510f4d2144edb356c21282f2fc | [
"MIT"
] | 4 | 2015-09-26T18:07:40.000Z | 2015-09-26T18:10:00.000Z | scripts/X_Imports.py | demostheneslld/astro | 7cd9be56602be8510f4d2144edb356c21282f2fc | [
"MIT"
] | null | null | null | ######################################
########## ASTRO IMPORTS #############
######################################
import os
import time
import datetime as dt
import pandas as pd
import X_Header as header
import X_Astro as astro
import ctypes | 22.272727 | 38 | 0.481633 | 26 | 245 | 4.461538 | 0.5 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 245 | 11 | 39 | 22.272727 | 0.534562 | 0.053061 | 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 |
1a8574b1aafa7ed108c04e30047be9b3a56a7af9 | 231 | py | Python | Perceptron/__init__.py | paolodelia99/Python-Perceptron | 9a4e9ab47634fd7a81d54c5792658b77a715b4b4 | [
"MIT"
] | 1 | 2021-03-16T11:18:01.000Z | 2021-03-16T11:18:01.000Z | Perceptron/__init__.py | paolodelia99/Python-Perceptron | 9a4e9ab47634fd7a81d54c5792658b77a715b4b4 | [
"MIT"
] | null | null | null | Perceptron/__init__.py | paolodelia99/Python-Perceptron | 9a4e9ab47634fd7a81d54c5792658b77a715b4b4 | [
"MIT"
] | null | null | null | __version__ = "1.0.0"
__name__ = "Perceptron"
from .perceptron import Perceptron
# Importing all the activation functions
from . import functions
from .functions.activationFunctions import *
from .functions.lossFunctions import *
| 25.666667 | 44 | 0.800866 | 26 | 231 | 6.807692 | 0.538462 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0.125541 | 231 | 8 | 45 | 28.875 | 0.861386 | 0.164502 | 0 | 0 | 0 | 0 | 0.078534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a8efeea901572d8292bec2e8509941ae99d3c9f | 143 | py | Python | custom/custom_metrics/accuracy.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 12 | 2021-03-26T08:17:07.000Z | 2022-01-05T22:31:19.000Z | custom/custom_metrics/accuracy.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 1 | 2021-03-26T09:11:34.000Z | 2021-03-27T01:32:35.000Z | custom/custom_metrics/accuracy.py | AISyLab/AISY_Framework | 51af3a639d6dee4c970859f5cd95f35f1db26dcc | [
"MIT"
] | 2 | 2021-03-14T01:35:49.000Z | 2021-03-31T06:43:01.000Z | def run(dataset, settings, model, *args):
loss, acc = model.evaluate(dataset.x_validation, dataset.y_validation, verbose=0)
return acc
| 35.75 | 85 | 0.734266 | 20 | 143 | 5.15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.146853 | 143 | 3 | 86 | 47.666667 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1aac81728ace8b5063f9946bbb2c21db18ab4d02 | 148 | py | Python | work/apps.py | emin100/kip | f78c17476e6e0e493ef164da7a8671967b4137f7 | [
"MIT"
] | null | null | null | work/apps.py | emin100/kip | f78c17476e6e0e493ef164da7a8671967b4137f7 | [
"MIT"
] | null | null | null | work/apps.py | emin100/kip | f78c17476e6e0e493ef164da7a8671967b4137f7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class WorkConfig(AppConfig):
name = 'work'
| 16.444444 | 39 | 0.722973 | 18 | 148 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.168919 | 148 | 8 | 40 | 18.5 | 0.821138 | 0.141892 | 0 | 0 | 0 | 0 | 0.032 | 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 |
1ac6784f32d1ebe7eadb162660a9dc070cb6ed07 | 527 | py | Python | programming_for_biology/lists_and_tuples/squares.py | jnferner/programming-for-biology | d895a20a9591888616af2bae2e2d87feebf6d60a | [
"MIT"
] | null | null | null | programming_for_biology/lists_and_tuples/squares.py | jnferner/programming-for-biology | d895a20a9591888616af2bae2e2d87feebf6d60a | [
"MIT"
] | null | null | null | programming_for_biology/lists_and_tuples/squares.py | jnferner/programming-for-biology | d895a20a9591888616af2bae2e2d87feebf6d60a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
if __name__ == '__main__':
numbers = [[6, 1, 6], [6], [5, 6, 6], [5], [4], [7, 5, 7, 2], [5, 8], [9], [7], [5, 6], [3, 4], [8], [4, 9, 3, 6], [8, 2, 4], [9, 7], [6, 8], [2, 5], [2, 4], [8, 3, 4], [5, 2], [4], [4, 4, 5, 5], [5, 1], [1, 4, 8], [6, 5], [5, 7, 8, 9], [1], [6], [3], [6], [7, 3, 8... | 87.833333 | 383 | 0.375712 | 117 | 527 | 1.623932 | 0.205128 | 0.042105 | 0.031579 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2425 | 0.240987 | 527 | 6 | 384 | 87.833333 | 0.2325 | 0.039848 | 0 | 0 | 0 | 0 | 0.01581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46cbbf44da8dbf75d4afeb625afdb57c01bf0b68 | 23 | py | Python | decorators/infos.py | Louis-Navarro/decorators | 6339a32aae66608cbf7fd8a1221b47ae88992d53 | [
"MIT"
] | null | null | null | decorators/infos.py | Louis-Navarro/decorators | 6339a32aae66608cbf7fd8a1221b47ae88992d53 | [
"MIT"
] | null | null | null | decorators/infos.py | Louis-Navarro/decorators | 6339a32aae66608cbf7fd8a1221b47ae88992d53 | [
"MIT"
] | null | null | null | __version__ = "0.01a2"
| 11.5 | 22 | 0.695652 | 3 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
20182b2f6379c33fe01f7cace9d0f70811bef0df | 99 | py | Python | src/disco/main/__init__.py | bkimmig/urban-disco | 29a157c156697e3bf850b2b683bc3a23e911bfb1 | [
"MIT"
] | null | null | null | src/disco/main/__init__.py | bkimmig/urban-disco | 29a157c156697e3bf850b2b683bc3a23e911bfb1 | [
"MIT"
] | 2 | 2019-08-25T22:06:22.000Z | 2019-08-29T17:12:53.000Z | src/disco/main/__init__.py | bkimmig/urban-disco | 29a157c156697e3bf850b2b683bc3a23e911bfb1 | [
"MIT"
] | null | null | null | from flask import Blueprint
mod = Blueprint('main', __name__, url_prefix="")
from . import views
| 16.5 | 48 | 0.737374 | 13 | 99 | 5.230769 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 49 | 19.8 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
2026bb3decb0d0f983052d5f4abe1f977ace6709 | 63 | py | Python | login.py | qruihua/test_01 | 7a6d4ed66deafccac0ba6316c25c5ecaaab101f3 | [
"MIT"
] | null | null | null | login.py | qruihua/test_01 | 7a6d4ed66deafccac0ba6316c25c5ecaaab101f3 | [
"MIT"
] | null | null | null | login.py | qruihua/test_01 | 7a6d4ed66deafccac0ba6316c25c5ecaaab101f3 | [
"MIT"
] | null | null | null | num1=100
num2=200
num3=300
a
b
c
1
2
3
ttttt
e
f
g
9
8
7
| 2.73913 | 8 | 0.603175 | 19 | 63 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.439024 | 0.349206 | 63 | 22 | 9 | 2.863636 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
20328abc902c8418e591fc115d2bcf5df802b5c6 | 223 | py | Python | tests/fixtures/models/__init__.py | XavierJingfeng/starter | 274566e491d5c7157f3c8deff136c56838022349 | [
"MIT"
] | null | null | null | tests/fixtures/models/__init__.py | XavierJingfeng/starter | 274566e491d5c7157f3c8deff136c56838022349 | [
"MIT"
] | null | null | null | tests/fixtures/models/__init__.py | XavierJingfeng/starter | 274566e491d5c7157f3c8deff136c56838022349 | [
"MIT"
] | null | null | null | from tests.fixtures.models.simple_gaussian_mlp_model import (
SimpleGaussianMLPModel)
from tests.fixtures.models.simple_mlp_model import SimpleMLPModel
__all__ = [
"SimpleGaussianMLPModel",
"SimpleMLPModel",
]
| 24.777778 | 65 | 0.798206 | 22 | 223 | 7.681818 | 0.545455 | 0.106509 | 0.201183 | 0.272189 | 0.343195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125561 | 223 | 8 | 66 | 27.875 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.161435 | 0.098655 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
203d1b18ce973cb48f2ecd6f633b1578d058e521 | 3,093 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES1/OES/packed_depth_stencil.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES1/OES/packed_depth_stencil.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES1/OES/packed_depth_stencil.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension OES.packed_depth_stencil
This module customises the behaviour of the
OpenGL.raw.GLES1.OES.packed_depth_stencil to provide a more
Python-friendly API
Overview (from the spec)
Many OpenGL implementations have chosen to interleave the depth and stencil
buffers into one buffer, often wi... | 50.704918 | 78 | 0.786615 | 486 | 3,093 | 4.934156 | 0.407407 | 0.040033 | 0.029191 | 0.043786 | 0.118015 | 0.052127 | 0.052127 | 0.037531 | 0.037531 | 0 | 0 | 0.011458 | 0.181701 | 3,093 | 61 | 79 | 50.704918 | 0.935994 | 0.926932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
205423c0e4fe346dfce61bc241e6c2307c827a99 | 29 | py | Python | sdks/python-pyawd/src/pyawd/utils/__init__.py | gcodebackups/awd | 24385969fea7857df1e5e34f169a152a488fe353 | [
"Apache-2.0"
] | 1 | 2020-01-22T19:15:33.000Z | 2020-01-22T19:15:33.000Z | sdks/python-pyawd/src/pyawd/utils/__init__.py | gcodebackups/awd | 24385969fea7857df1e5e34f169a152a488fe353 | [
"Apache-2.0"
] | null | null | null | sdks/python-pyawd/src/pyawd/utils/__init__.py | gcodebackups/awd | 24385969fea7857df1e5e34f169a152a488fe353 | [
"Apache-2.0"
] | null | null | null | __all__ = [ 'geom', 'math' ]
| 14.5 | 28 | 0.517241 | 3 | 29 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 1 | 29 | 29 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 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 |
645877871e14e843eb89bb71ae1b43fa8eff2ad8 | 1,170 | py | Python | main.py | wsxc0617/wechat-robot | 9f4f4cd428b3929cb5bdb4ddeed9ec1177e7510a | [
"Apache-2.0"
] | null | null | null | main.py | wsxc0617/wechat-robot | 9f4f4cd428b3929cb5bdb4ddeed9ec1177e7510a | [
"Apache-2.0"
] | null | null | null | main.py | wsxc0617/wechat-robot | 9f4f4cd428b3929cb5bdb4ddeed9ec1177e7510a | [
"Apache-2.0"
] | null | null | null | # import requests
#
# a = {
# "HeWeather6": [
# {
# "basic": {
# "cid": "CN101280109",
# "location": "天河",
# "parent_city": "广州",
# "admin_area": "广东",
# "cnty": "中国",
# "lat": "23.1355896",
# ... | 23.4 | 46 | 0.267521 | 89 | 1,170 | 3.426966 | 0.797753 | 0.072131 | 0.052459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143608 | 0.511966 | 1,170 | 49 | 47 | 23.877551 | 0.390543 | 0.880342 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
647303a2818240784f7089d021baf3a2d3ec0bc8 | 247 | py | Python | nerium/schema/compact.py | OAODEV/nerium | c0dbef1fe0534a9266a240ad2103f7f9ae4544c5 | [
"Apache-2.0"
] | 4 | 2018-01-22T21:48:02.000Z | 2018-07-14T20:38:35.000Z | nerium/schema/compact.py | OAODEV/nerium | c0dbef1fe0534a9266a240ad2103f7f9ae4544c5 | [
"Apache-2.0"
] | 32 | 2018-01-22T21:32:22.000Z | 2019-02-28T23:00:29.000Z | nerium/schema/compact.py | tym-xqo/nerium | c0dbef1fe0534a9266a240ad2103f7f9ae4544c5 | [
"Apache-2.0"
] | 2 | 2018-05-03T19:18:02.000Z | 2018-08-11T06:56:08.000Z | # -*- coding: utf-8 -*-
from marshmallow import Schema, fields
class ResultSchema(Schema):
columns = fields.Function(lambda obj: list(obj.result[0].keys()))
data = fields.Function(lambda obj: [tuple(row.values()) for row in obj.result])
| 30.875 | 83 | 0.696356 | 34 | 247 | 5.058824 | 0.705882 | 0.162791 | 0.232558 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009479 | 0.145749 | 247 | 7 | 84 | 35.285714 | 0.805687 | 0.08502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b3b83e2c5ecdb72437670b43f2593a2774e910c7 | 310 | py | Python | tests/test_tools/cors.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | tests/test_tools/cors.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | tests/test_tools/cors.py | lallamilagro/yafas-server | 8bd8b64c7bfdaeeadffe0daf91eecf91091fcb94 | [
"MIT"
] | null | null | null | from yafas import config
def cors_callback(client, response):
assert response.headers[
'Access-Control-Allow-Origin'] == config['ALLOW_ORIGIN']
assert response.headers['Access-Control-Allow-Credentials'] == 'true'
assert 'Content-Type' in response.headers['Access-Control-Allow-Headers']
| 34.444444 | 77 | 0.732258 | 37 | 310 | 6.081081 | 0.540541 | 0.2 | 0.28 | 0.373333 | 0.493333 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135484 | 310 | 8 | 78 | 38.75 | 0.839552 | 0 | 0 | 0 | 0 | 0 | 0.370968 | 0.280645 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b3c677f3762fc7205d4cc08dc87f2f47474dccf8 | 84 | py | Python | gryphon/lib/analysis/legacy/util.py | qiquanzhijia/gryphon | 7bb2c646e638212bd1352feb1b5d21536a5b918d | [
"Apache-2.0"
] | 1,109 | 2019-06-20T19:23:27.000Z | 2022-03-20T14:03:43.000Z | gryphon/lib/analysis/legacy/util.py | qiquanzhijia/gryphon | 7bb2c646e638212bd1352feb1b5d21536a5b918d | [
"Apache-2.0"
] | 63 | 2019-06-21T05:36:17.000Z | 2021-05-26T21:08:15.000Z | gryphon/lib/analysis/legacy/util.py | qiquanzhijia/gryphon | 7bb2c646e638212bd1352feb1b5d21536a5b918d | [
"Apache-2.0"
] | 181 | 2019-06-20T19:42:05.000Z | 2022-03-21T13:05:13.000Z |
def get_relevant_valuesa_and_timestamps(timestamps, values, window_size):
pass
| 21 | 73 | 0.821429 | 11 | 84 | 5.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 3 | 74 | 28 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b3cd881b10f014f6c57e59feb1192aff0554c6cb | 59 | py | Python | tqdj/__init__.py | sri-rad/tqdj | 1c615a112c7588b4a55dac8367804453f6a574b6 | [
"MIT"
] | 54 | 2020-09-23T17:58:56.000Z | 2021-07-11T13:01:22.000Z | tqdj/__init__.py | sri-rad/tqdj | 1c615a112c7588b4a55dac8367804453f6a574b6 | [
"MIT"
] | null | null | null | tqdj/__init__.py | sri-rad/tqdj | 1c615a112c7588b4a55dac8367804453f6a574b6 | [
"MIT"
] | 1 | 2020-09-30T00:05:23.000Z | 2020-09-30T00:05:23.000Z | from .std import tqdj, trange
__all__ = ['tqdj', 'trange'] | 19.666667 | 29 | 0.677966 | 8 | 59 | 4.5 | 0.75 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 3 | 30 | 19.666667 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
37724837a57e35efe992816cd5e521f44fa84b69 | 794 | py | Python | app/recommendations/repositories.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | app/recommendations/repositories.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | app/recommendations/repositories.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | 1 | 2020-05-21T10:07:07.000Z | 2020-05-21T10:07:07.000Z | from abc import ABCMeta, abstractmethod
class RecommendationRepository:
__metaclass__ = ABCMeta
@abstractmethod
def get_all_for_sport(self, sport_id):
""" abstract method """
@abstractmethod
def get_all_for_practice_center(self, practice_center_id):
""" abstract method """
@... | 26.466667 | 99 | 0.688917 | 85 | 794 | 6.047059 | 0.305882 | 0.198444 | 0.272374 | 0.301556 | 0.603113 | 0.603113 | 0.429961 | 0.429961 | 0.210117 | 0 | 0 | 0 | 0.216625 | 794 | 29 | 100 | 27.37931 | 0.826367 | 0.125945 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
377b5a3fe75fc0b1258aaf65e68535362a7870ed | 289 | py | Python | parser/team05/proyecto/NodoAST.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/team05/proyecto/NodoAST.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/team05/proyecto/NodoAST.py | webdev188/tytus | 847071edb17b218f51bb969d335a8ec093d13f94 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | class NodoAST:
def __init__(self, contenido):
self._contenido = contenido
self._hijos = []
def getContenido(self):
return self._contenido
def getHijos(self):
return self._hijos
def setHijo(self, hijo):
self._hijos.append(hijo) | 22.230769 | 35 | 0.612457 | 31 | 289 | 5.419355 | 0.419355 | 0.232143 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 289 | 13 | 36 | 22.230769 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.7 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
378a3f9c084c14b6d35d27b4389a33b1748c9d8d | 1,525 | py | Python | FrcScoutingWebsite/Libarys/DataFrame.py | Fightfx1/Frc-5951-Makers-Assemble-scouting-website | d90eeee64f440b0d2f2ff0c7d92cfb435c6dd6aa | [
"MIT"
] | 1 | 2020-03-16T22:23:30.000Z | 2020-03-16T22:23:30.000Z | FrcScoutingWebsite/Libarys/DataFrame.py | Fightfx1/Frc-5951-Makers-Assemble-scouting-website | d90eeee64f440b0d2f2ff0c7d92cfb435c6dd6aa | [
"MIT"
] | null | null | null | FrcScoutingWebsite/Libarys/DataFrame.py | Fightfx1/Frc-5951-Makers-Assemble-scouting-website | d90eeee64f440b0d2f2ff0c7d92cfb435c6dd6aa | [
"MIT"
] | null | null | null | import pandas as pd
pd.options.display.max_rows = 999
class SaveDataFrame:
def __init__(self,SpreadSheet_Lib, FireBase_Lib):
self._privatedf = None
self.__SpreadSheet_Lib = SpreadSheet_Lib
self.__FireBase_Lib = FireBase_Lib
def set_dataframe(self):
self._privatedf = pd.DataFr... | 31.770833 | 132 | 0.699672 | 179 | 1,525 | 5.502793 | 0.268156 | 0.224365 | 0.109645 | 0.063959 | 0.412183 | 0.364467 | 0.364467 | 0.325888 | 0.238579 | 0.136041 | 0 | 0.003289 | 0.202623 | 1,525 | 47 | 133 | 32.446809 | 0.806743 | 0 | 0 | 0.382353 | 0 | 0 | 0.031475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.029412 | 0.117647 | 0.529412 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
37caab22bb9e055133cb1cbcbc3806f5e31bd587 | 360 | py | Python | python/chap_0/0.6.2.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | python/chap_0/0.6.2.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | python/chap_0/0.6.2.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from random import randint
for i in range(3):
print randint(0,1000)
def movie_review(name) : return ('See it !', 'A gem !', 'Ideological claptrap !')[randint(0,2)]
print movie_review('Star Wars')
print movie_review('Sin GodZilla')
print movie_review('Catch me if you... | 24 | 95 | 0.697222 | 56 | 360 | 4.392857 | 0.732143 | 0.223577 | 0.260163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029221 | 0.144444 | 360 | 14 | 96 | 25.714286 | 0.769481 | 0.116667 | 0 | 0 | 0 | 0 | 0.275316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8079ffec1d15299b31d4cb96cae3f6fa7b706911 | 240 | py | Python | experiments/make_folders_compose.py | uiuc-arc/DeepJ | 1c0493511b12394ca6f9a0098d3401cdcab50806 | [
"MIT"
] | 2 | 2022-01-20T15:46:19.000Z | 2022-01-29T16:51:37.000Z | experiments/make_folders_compose.py | uiuc-arc/DeepJ | 1c0493511b12394ca6f9a0098d3401cdcab50806 | [
"MIT"
] | null | null | null | experiments/make_folders_compose.py | uiuc-arc/DeepJ | 1c0493511b12394ca6f9a0098d3401cdcab50806 | [
"MIT"
] | 1 | 2021-10-31T02:02:43.000Z | 2021-10-31T02:02:43.000Z | import os
splits = [2, 3, 5, 9]
os.system('mkdir results_compose')
os.chdir('results_compose')
os.system('mkdir results_compose_nosplit && mkdir results_compose_baseline')
for s in splits:
os.system(f'mkdir results_compose_split{s}')
| 24 | 76 | 0.754167 | 38 | 240 | 4.552632 | 0.5 | 0.404624 | 0.439306 | 0.231214 | 0.312139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.116667 | 240 | 9 | 77 | 26.666667 | 0.79717 | 0 | 0 | 0 | 0 | 0 | 0.5375 | 0.295833 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80a7a5f3ca49b0b4a521e0411197219b4ea30b6b | 65 | py | Python | pugh_torch/tests/__init__.py | BrianPugh/pugh_torch | d620a518d78ec03556c5089bfc76e4cf7bd0cd70 | [
"MIT"
] | 4 | 2020-09-15T17:30:31.000Z | 2021-08-07T02:32:22.000Z | pugh_torch/tests/__init__.py | BrianPugh/pugh_torch | d620a518d78ec03556c5089bfc76e4cf7bd0cd70 | [
"MIT"
] | null | null | null | pugh_torch/tests/__init__.py | BrianPugh/pugh_torch | d620a518d78ec03556c5089bfc76e4cf7bd0cd70 | [
"MIT"
] | 1 | 2020-11-02T22:46:32.000Z | 2020-11-02T22:46:32.000Z | # -*- coding: utf-8 -*-
"""Unit test package for pugh_torch."""
| 16.25 | 39 | 0.584615 | 9 | 65 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.169231 | 65 | 3 | 40 | 21.666667 | 0.666667 | 0.861538 | 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 |
80c47583cdba5d47a88762c66526e9be9de97c3e | 216 | py | Python | tests/core/test_annotation.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 1 | 2020-01-28T05:10:14.000Z | 2020-01-28T05:10:14.000Z | tests/core/test_annotation.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 38 | 2019-11-12T10:49:25.000Z | 2021-04-07T12:10:24.000Z | tests/core/test_annotation.py | ta4tsering/openpecha-toolkit | ff24b4813fb8146a4327e746e4024890b6807bea | [
"Apache-2.0"
] | 6 | 2019-11-14T12:30:35.000Z | 2020-05-12T01:50:13.000Z | import pytest
from pydantic import ValidationError
from openpecha.core.annotation import Span
def test_span_end_must_not_be_less_than_start():
with pytest.raises(ValidationError):
Span(start=2, end=1)
| 21.6 | 48 | 0.791667 | 31 | 216 | 5.258065 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010811 | 0.143519 | 216 | 9 | 49 | 24 | 0.87027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 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 |
80c4a287ce23cb36260a7032cf2504d0322f0963 | 804 | py | Python | pagent/tests/distributionTests.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | pagent/tests/distributionTests.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | pagent/tests/distributionTests.py | cloutfront/pagent | 72ca8caaefc9b5955989e3737f099e0ecafcd77f | [
"MIT"
] | null | null | null | import unittest
from pagent.distribution import Distribution
class TestDistribution(unittest.TestCase):
test_distribuition = Distribution()
def test_read
def test_distribuition_map(self):
self.assertTrue(self.test_distribuition.distributions)
def test_rollForValue(self):
for key, dis... | 30.923077 | 71 | 0.660448 | 83 | 804 | 6.180723 | 0.325301 | 0.231969 | 0.204678 | 0.19883 | 0.510721 | 0.510721 | 0.510721 | 0.510721 | 0.510721 | 0.510721 | 0 | 0 | 0.251244 | 804 | 26 | 72 | 30.923077 | 0.852159 | 0 | 0 | 0.5 | 0 | 0 | 0.009938 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | null | null | 0 | 0.1 | null | null | 0.2 | 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 |
80d3fb6c3e3e1734cd5b2e3cf93c669f692df0ca | 3,211 | py | Python | blender/2.79/scripts/addons/archipack/presets/archipack_fence/inox_glass_concrete.py | uzairakbar/bpy2.79 | 3a3e0004ac6783c4e4b89d939e4432de99026a85 | [
"MIT"
] | 3 | 2019-09-16T10:29:19.000Z | 2022-02-11T14:43:18.000Z | engine/2.80/scripts/addons/archipack/presets/archipack_fence/inox_glass_concrete.py | byteinc/Phasor | f7d23a489c2b4bcc3c1961ac955926484ff8b8d9 | [
"Unlicense"
] | null | null | null | engine/2.80/scripts/addons/archipack/presets/archipack_fence/inox_glass_concrete.py | byteinc/Phasor | f7d23a489c2b4bcc3c1961ac955926484ff8b8d9 | [
"Unlicense"
] | 4 | 2020-02-19T20:02:26.000Z | 2022-02-11T18:47:56.000Z | import bpy
d = bpy.context.active_object.data.archipack_fence[0]
d.rail_expand = True
d.shape = 'RECTANGLE'
d.rail = True
d.radius = 0.699999988079071
d.user_defined_resolution = 12
d.handrail = True
d.handrail_x = 0.07999999076128006
d.subs_alt = 0.10000000149011612
d.handrail_extend = 0.0
d.idmat_subs = '0'
d.rail_a... | 49.4 | 663 | 0.768296 | 529 | 3,211 | 4.533081 | 0.139887 | 0.053378 | 0.443703 | 0.840701 | 0.521268 | 0.487907 | 0.487907 | 0.487907 | 0.487907 | 0.487907 | 0 | 0.553375 | 0.095609 | 3,211 | 64 | 664 | 50.171875 | 0.272383 | 0 | 0 | 0 | 0 | 0 | 0.007474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.015873 | 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 |
80ee39d94d970f65a65d831de302d6ac222b889f | 127 | py | Python | packages/impyrial/tests/test_utils.py | kwhjvdkamp/PythonTutotial | cbe52c83b0ff2b30f746977f698186dad055b1f4 | [
"MIT"
] | null | null | null | packages/impyrial/tests/test_utils.py | kwhjvdkamp/PythonTutotial | cbe52c83b0ff2b30f746977f698186dad055b1f4 | [
"MIT"
] | 5 | 2021-07-12T16:34:28.000Z | 2022-03-12T00:59:38.000Z | packages/impyrial/tests/test_utils.py | kwhjvdkamp/PythonTutotial | cbe52c83b0ff2b30f746977f698186dad055b1f4 | [
"MIT"
] | null | null | null | from impyrial.utils import (
check_units
)
def test_check_units():
assert check_units('oz', 'oz', ("oz", "lb", "st"))
| 18.142857 | 54 | 0.629921 | 18 | 127 | 4.222222 | 0.666667 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 6 | 55 | 21.166667 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
80efa43001fbca4e1aae0dd0c0658132ba3f0e89 | 142 | py | Python | Python-ListComprehensionsConditionals.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-ListComprehensionsConditionals.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | Python-ListComprehensionsConditionals.py | H2oPtic/Codecademy-Education | 454ecff36a055fa17b4b338e1c6f1e9b3b94ef66 | [
"MIT"
] | null | null | null | heights = [161, 164, 156, 144, 158, 170, 163, 163, 157]
can_ride_coaster = [can for can in heights if can > 161]
print(can_ride_coaster)
| 28.4 | 57 | 0.683099 | 25 | 142 | 3.72 | 0.64 | 0.150538 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.197183 | 142 | 4 | 58 | 35.5 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03a67a69173aea483b3e0eed1c203745ca7fa7bf | 153 | py | Python | pm4pyws/handlers/xes/process_schema/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/process_schema/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | pm4pyws/handlers/xes/process_schema/__init__.py | ehbasouri/pm4py-ws | 9bf5f88848a4aa2873bae86af95d37f64ae1dde1 | [
"Apache-2.0"
] | null | null | null | from pm4pyws.handlers.xes.process_schema import alpha_freq, alpha_performance, dfg_freq, dfg_perf, inductive_freq, \
inductive_perf, heuristics_freq
| 51 | 116 | 0.836601 | 21 | 153 | 5.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.098039 | 153 | 2 | 117 | 76.5 | 0.862319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
03f341e939d4ce648c0ef6b7b467b59bb2d556dd | 267 | py | Python | src/main/admin.py | Mark-Soko/general_point_of_sale | d1cc82f4456fd987326b781f74f5aab14f0d007f | [
"MIT"
] | null | null | null | src/main/admin.py | Mark-Soko/general_point_of_sale | d1cc82f4456fd987326b781f74f5aab14f0d007f | [
"MIT"
] | null | null | null | src/main/admin.py | Mark-Soko/general_point_of_sale | d1cc82f4456fd987326b781f74f5aab14f0d007f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import product,cash_sales,category,credited_customer,credits
admin.site.register(product)
admin.site.register(cash_sales)
admin.site.register(category)
admin.site.register(credited_customer)
admin.site.register(credits)
| 29.666667 | 73 | 0.850187 | 37 | 267 | 6.027027 | 0.405405 | 0.201794 | 0.381166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052434 | 267 | 8 | 74 | 33.375 | 0.881423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
206f6e0a4e38e732a8fc6f6317b5667c6dad4f19 | 79,454 | py | Python | pyeccodes/defs/grib2/shortName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/shortName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/shortName_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
discipline = h.get_l('discipline')
parameterCategory = h.get_l('parameterCategory')
parameterNumber = h.get_l('parameterNumber')
typeOfStatisticalProcessing = h.get_l('typeOfStatisticalProcessing')
typeOfFirstFi... | 46.033604 | 366 | 0.646638 | 7,814 | 79,454 | 6.561812 | 0.085999 | 0.045637 | 0.094824 | 0.116706 | 0.862172 | 0.844444 | 0.833424 | 0.758669 | 0.360924 | 0.241389 | 0 | 0.052085 | 0.275317 | 79,454 | 1,725 | 367 | 46.06029 | 0.838413 | 0 | 0 | 0.03125 | 0 | 0 | 0.04035 | 0.004783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001736 | false | 0 | 0.000868 | 0 | 0.490451 | 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 |
20c6651e5b4f697b8adc848ae262c7daab9bba9c | 98 | py | Python | examples/pip_repository_annotations/data/copy_executable.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | null | null | null | examples/pip_repository_annotations/data/copy_executable.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | null | null | null | examples/pip_repository_annotations/data/copy_executable.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
if __name__ == "__main__":
print("Hello world from copied executable")
| 19.6 | 47 | 0.693878 | 13 | 98 | 4.615385 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 48 | 24.5 | 0.731707 | 0.204082 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
20d7906923473fa8b38c8305dc2dd38fbb93cd8d | 97 | py | Python | clip.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | clip.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | null | null | null | clip.py | catskillsresearch/openasr20 | b9821c4ee6a51501e81103c1d6d4db0ea8aaa31e | [
"Apache-2.0"
] | 1 | 2021-07-28T02:13:21.000Z | 2021-07-28T02:13:21.000Z | from normalize import normalize
def clip(y,level=0.1):
y[y<level]=0
return normalize(y)
| 16.166667 | 31 | 0.690722 | 17 | 97 | 3.941176 | 0.588235 | 0.179104 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.185567 | 97 | 5 | 32 | 19.4 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
20edce6c0a70107a1e05deb3a24f8afee5b5ff3c | 66 | py | Python | clickup_to_jira/handlers/__init__.py | anmarkoulis/clickup-to-jira | 2ba6dde69d8a4d32957d3546772e839ccb530ee7 | [
"MIT"
] | 2 | 2021-01-13T14:58:17.000Z | 2022-01-10T09:31:36.000Z | clickup_to_jira/handlers/__init__.py | anmarkoulis/clickup-to-jira | 2ba6dde69d8a4d32957d3546772e839ccb530ee7 | [
"MIT"
] | 36 | 2020-11-13T14:10:43.000Z | 2022-03-01T01:14:11.000Z | clickup_to_jira/handlers/__init__.py | anmarkoulis/clickup-to-jira | 2ba6dde69d8a4d32957d3546772e839ccb530ee7 | [
"MIT"
] | null | null | null | from .clickup import ClickUpHandler
from .jira import JIRAHandler
| 22 | 35 | 0.848485 | 8 | 66 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 36 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
454c44a5e1cf3ef0f385f5d75586af89904f71e2 | 123 | py | Python | individual1.py | dibovdmitry/laba2.13 | 083de5475b7fa66eb601db047496c8a97efdb6f9 | [
"MIT"
] | null | null | null | individual1.py | dibovdmitry/laba2.13 | 083de5475b7fa66eb601db047496c8a97efdb6f9 | [
"MIT"
] | null | null | null | individual1.py | dibovdmitry/laba2.13 | 083de5475b7fa66eb601db047496c8a97efdb6f9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import module_individual1
if __name__ == '__main__':
print(string())
| 13.666667 | 26 | 0.642276 | 15 | 123 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.170732 | 123 | 8 | 27 | 15.375 | 0.656863 | 0.349594 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
458d78312fbc6b08921a9ad361c4035eaff42960 | 25 | py | Python | src/render.py | komiamiko/fc-ezalia | 29d233cfa817af8c99eb9922931aa3294c5decf7 | [
"MIT"
] | 1 | 2020-09-05T19:05:43.000Z | 2020-09-05T19:05:43.000Z | src/render.py | komiamiko/fc-ezalia | 29d233cfa817af8c99eb9922931aa3294c5decf7 | [
"MIT"
] | null | null | null | src/render.py | komiamiko/fc-ezalia | 29d233cfa817af8c99eb9922931aa3294c5decf7 | [
"MIT"
] | null | null | null | """
Rendering stage
""" | 8.333333 | 16 | 0.56 | 2 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 3 | 17 | 8.333333 | 0.7 | 0.6 | 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 |
4596039623e71fd620eb92938ca20a3f7496e3b2 | 1,343 | py | Python | lastpass/vault.py | HyShai/lastpass-pythonista | 8f7c88e931d44c1ca62db23d1531e166821a8edd | [
"MIT"
] | 8 | 2015-03-28T09:12:40.000Z | 2021-12-26T18:35:50.000Z | lastpass/vault.py | HyShai/lastpass-pythonista | 8f7c88e931d44c1ca62db23d1531e166821a8edd | [
"MIT"
] | null | null | null | lastpass/vault.py | HyShai/lastpass-pythonista | 8f7c88e931d44c1ca62db23d1531e166821a8edd | [
"MIT"
] | null | null | null | # coding: utf-8
from .fetcher import Fetcher
from .parser import Parser
class Vault(object):
# Fetches a blob from the server and creates a vault
@classmethod
def open_remote(cls, username, password, multifactor_password=None, trusted_device=None):
return cls.open(cls.fetch_blob(username, password... | 41.96875 | 117 | 0.724497 | 177 | 1,343 | 5.367232 | 0.389831 | 0.151579 | 0.113684 | 0.147368 | 0.309474 | 0.309474 | 0.208421 | 0.136842 | 0.136842 | 0.136842 | 0 | 0.000923 | 0.192852 | 1,343 | 32 | 118 | 41.96875 | 0.875461 | 0.204765 | 0 | 0.2 | 0 | 0 | 0.00565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.4 | 0.15 | 0.15 | 0.65 | 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 |
45a2526abb68c4d010ddbebc3a7e543cbc48f80f | 8,758 | py | Python | HW8/EX2/fairpy/items/min_sharing_impl/TestScript.py | ShmuelLa/research-algorithms | 43cab0e9c13ce9ddb9646f7539f1a865e86f9841 | [
"MIT"
] | null | null | null | HW8/EX2/fairpy/items/min_sharing_impl/TestScript.py | ShmuelLa/research-algorithms | 43cab0e9c13ce9ddb9646f7539f1a865e86f9841 | [
"MIT"
] | null | null | null | HW8/EX2/fairpy/items/min_sharing_impl/TestScript.py | ShmuelLa/research-algorithms | 43cab0e9c13ce9ddb9646f7539f1a865e86f9841 | [
"MIT"
] | null | null | null | #!python3
"""
Some tests for the min-sharing algorithm.
Programmer: Eliyahu Sattat
Since: 2020
"""
import numpy as np
import datetime
from fairpy.items.min_sharing_impl.ConsumptionGraph import ConsumptionGraph
from fairpy.items.min_sharing_impl.FairEnvyFreeAllocationProblem import FairEnvyFreeAllocatio... | 29.096346 | 321 | 0.383421 | 1,369 | 8,758 | 2.411249 | 0.200877 | 0.176916 | 0.194487 | 0.184187 | 0.45047 | 0.415329 | 0.332929 | 0.307786 | 0.273251 | 0.233869 | 0 | 0.356698 | 0.413565 | 8,758 | 301 | 322 | 29.096346 | 0.28602 | 0.024549 | 0 | 0.054054 | 0 | 0 | 0.049061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.162162 | 0 | 0.216216 | 0.162162 | 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 |
45a36e076f377c31ffb9b77ec4ab374f268aaca2 | 1,416 | py | Python | run.py | FajarTheGGman/Take-All-Repo | 1e6793ade954492fe6aedf4506e20f4dca4f4fd5 | [
"BSD-2-Clause"
] | 3 | 2019-08-09T22:17:47.000Z | 2020-04-06T04:35:22.000Z | run.py | FajarTheGGman/Take-All-Repo | 1e6793ade954492fe6aedf4506e20f4dca4f4fd5 | [
"BSD-2-Clause"
] | null | null | null | run.py | FajarTheGGman/Take-All-Repo | 1e6793ade954492fe6aedf4506e20f4dca4f4fd5 | [
"BSD-2-Clause"
] | 1 | 2020-04-06T04:35:22.000Z | 2020-04-06T04:35:22.000Z | #Copyright© 2019 By Fajar Firdaus
#Please don't Recode My Program Because i take a long time to complete this project :)
import urllib3 as url
import json as js
import os
import os.path
import time
import os.path
class Get:
def banner():
print(" .---. ")
print(" |---| ")
... | 30.782609 | 100 | 0.429379 | 141 | 1,416 | 4.219858 | 0.560284 | 0.218487 | 0.277311 | 0.302521 | 0.12605 | 0.084034 | 0.084034 | 0.084034 | 0.084034 | 0 | 0 | 0.028441 | 0.379237 | 1,416 | 46 | 101 | 30.782609 | 0.647327 | 0.082627 | 0 | 0.222222 | 0 | 0.027778 | 0.347965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.25 | 0.472222 | 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 |
45b70e8f2904e1c850dc4fa8e4743d1237c46442 | 69 | py | Python | repocribro_badges/__init__.py | MarekSuchanek/repocribro-badges | 6564bcb47a2e877c1755ed44ead1cacfa0c89608 | [
"MIT"
] | null | null | null | repocribro_badges/__init__.py | MarekSuchanek/repocribro-badges | 6564bcb47a2e877c1755ed44ead1cacfa0c89608 | [
"MIT"
] | 1 | 2018-11-29T18:10:01.000Z | 2018-11-29T18:10:01.000Z | repocribro_badges/__init__.py | MarekSuchanek/repocribro-badges | 6564bcb47a2e877c1755ed44ead1cacfa0c89608 | [
"MIT"
] | null | null | null | from .ext_badges import make_extension
__all__ = ['make_extension']
| 17.25 | 38 | 0.797101 | 9 | 69 | 5.333333 | 0.777778 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 3 | 39 | 23 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 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 |
45dc112aaf8db3fe4f5b0a7eea8bac84d93f3a89 | 196 | py | Python | Clase 8/test/test_restar.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | Clase 8/test/test_restar.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | Clase 8/test/test_restar.py | FreddyGJ/Portafolio-de-prog-3 | ea16b7f8951d02b62291b8e7b73833f25b56578e | [
"MIT"
] | null | null | null | from unittest import TestCase
from app import matematica
class TestRestar(TestCase):
def test_restar(self):
resultado = matematica.restar(2, 1)
self.assertEqual(resultado, 1)
| 24.5 | 43 | 0.72449 | 24 | 196 | 5.875 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.19898 | 196 | 7 | 44 | 28 | 0.878981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
afd6bb6434d01c65e1a92b10cdf850640fc42743 | 92 | py | Python | apartment/enums.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | apartment/enums.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | apartment/enums.py | frwickst/apartment-application-service | 40387327a0f82ba01bfcb6ab8532ea4aec40d37a | [
"MIT"
] | null | null | null | from enum import Enum
class IdentifierSchemaType(Enum):
ATT_PROJECT_ES = "att_pro_es"
| 15.333333 | 33 | 0.771739 | 13 | 92 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 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 |
b328b802923ccf68e2dd19142f167a1ee232736e | 171 | py | Python | pyash/process_error.py | JamJar00/pyash | 309fba074cdb20e31a0cf2510fa71f15e3509448 | [
"MIT"
] | null | null | null | pyash/process_error.py | JamJar00/pyash | 309fba074cdb20e31a0cf2510fa71f15e3509448 | [
"MIT"
] | null | null | null | pyash/process_error.py | JamJar00/pyash | 309fba074cdb20e31a0cf2510fa71f15e3509448 | [
"MIT"
] | null | null | null | class ProcessError(Exception):
"""Exception raised when a process exits with a non-zero exit code."""
def __init__(self, message):
self.message = message
| 28.5 | 74 | 0.690058 | 22 | 171 | 5.181818 | 0.772727 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 171 | 5 | 75 | 34.2 | 0.844444 | 0.374269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b34960a8e8124750e33decbed4ba53e8142d0ee7 | 114 | py | Python | starboardscanner_app/apps.py | to314as/a-Distributed-Network-and-Port-Scanner | 6930e493432e56d0ecf9b9890701fc34e1687d1b | [
"MIT"
] | 2 | 2020-06-29T21:37:14.000Z | 2020-06-30T05:34:45.000Z | starboardscanner_app/apps.py | to314as/a-Distributed-Network-and-Port-Scanner | 6930e493432e56d0ecf9b9890701fc34e1687d1b | [
"MIT"
] | null | null | null | starboardscanner_app/apps.py | to314as/a-Distributed-Network-and-Port-Scanner | 6930e493432e56d0ecf9b9890701fc34e1687d1b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class StarboardscannerAppConfig(AppConfig):
name = 'starboardscanner_app'
| 19 | 43 | 0.807018 | 11 | 114 | 8.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 44 | 22.8 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 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 |
b362a3d69d072ab76283739809b8d30c7b0c3dc7 | 675 | py | Python | ex041.py | favitoria/python123 | 99074c309b700f48ddc6aa0811a1891145281af7 | [
"MIT"
] | null | null | null | ex041.py | favitoria/python123 | 99074c309b700f48ddc6aa0811a1891145281af7 | [
"MIT"
] | null | null | null | ex041.py | favitoria/python123 | 99074c309b700f48ddc6aa0811a1891145281af7 | [
"MIT"
] | null | null | null | DN = int(input('Qual o seu ano de nascimento?'))
idade = 2022 - DN
if DN >= 2013:
print('A categoria para quem tem {} anos na Confederação Nacional de Natação é: MIRIM'.format(idade))
elif DN >= 2008:
print('A categoria para quem tem {} anos na Confederação Nacional de Natação é: INFANTIL'.format(idade))
elif D... | 51.923077 | 108 | 0.714074 | 105 | 675 | 4.590476 | 0.342857 | 0.062241 | 0.155602 | 0.197095 | 0.643154 | 0.643154 | 0.643154 | 0.643154 | 0.643154 | 0.643154 | 0 | 0.036036 | 0.177778 | 675 | 12 | 109 | 56.25 | 0.832432 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.416667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
2faf5de324389864edbb85df31332c0d08d3332c | 34 | py | Python | imagetagger/venv/lib/python3.7/locale.py | wrigsa/ImageTagger | d8a7ab7d004eeda8deae423eccc7236c4accab47 | [
"MIT"
] | 8 | 2020-04-09T13:37:16.000Z | 2021-11-22T01:26:02.000Z | env/lib/python3.7/locale.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 23 | 2019-01-19T08:54:48.000Z | 2022-03-11T23:39:37.000Z | env/lib/python3.7/locale.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 5 | 2021-01-12T07:03:31.000Z | 2021-09-27T16:30:24.000Z | /anaconda3/lib/python3.7/locale.py | 34 | 34 | 0.823529 | 6 | 34 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 34 | 1 | 34 | 34 | 0.735294 | 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 |
2fcd9afda058a1f357447e4c63fb33def7d04ee9 | 130 | py | Python | ceres/__init__.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | ceres/__init__.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | ceres/__init__.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | __version__ = '0.0.1'
from .spacecraft import Spacecraft
from .celestialbody import CelestialBody
from .rotations import Rotation | 26 | 40 | 0.823077 | 16 | 130 | 6.4375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.115385 | 130 | 5 | 41 | 26 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2fe0a1a09030d906d47a21ec12fe7e005d1533a5 | 182 | py | Python | tile.py | EemeliSyynimaa/picross | 691d4a8a81656d48239d7fa1fa6b9566728a4a9f | [
"MIT"
] | null | null | null | tile.py | EemeliSyynimaa/picross | 691d4a8a81656d48239d7fa1fa6b9566728a4a9f | [
"MIT"
] | null | null | null | tile.py | EemeliSyynimaa/picross | 691d4a8a81656d48239d7fa1fa6b9566728a4a9f | [
"MIT"
] | null | null | null | from engine import sprite
class Tile(sprite.Sprite):
""" A tile class! """
def __init__(self, *args, **kwargs):
super(Tile, self).__init__(*args, **kwargs)
| 22.75 | 51 | 0.598901 | 22 | 182 | 4.590909 | 0.590909 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241758 | 182 | 8 | 52 | 22.75 | 0.731884 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
640b575f6164cce6720f23fc33d2328c2e8b52ee | 376 | py | Python | src/cz_urnnbn_api/__init__.py | edeposit/urn-nbn-api | 2c9d36648491bfcbf0f29bedaf6f507a51805f8e | [
"MIT"
] | 1 | 2016-04-26T10:01:35.000Z | 2016-04-26T10:01:35.000Z | src/cz_urnnbn_api/__init__.py | edeposit/cz-urnnbn-api | 2c9d36648491bfcbf0f29bedaf6f507a51805f8e | [
"MIT"
] | 24 | 2015-03-04T09:03:51.000Z | 2015-10-12T12:46:30.000Z | src/cz_urnnbn_api/__init__.py | edeposit/cz-urnnbn-api | 2c9d36648491bfcbf0f29bedaf6f507a51805f8e | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from api_structures import *
from xml_composer import MonographComposer
from xml_composer import MultiMonoComposer
from xml_convertor import convert_mono... | 25.066667 | 79 | 0.651596 | 42 | 376 | 5.595238 | 0.571429 | 0.119149 | 0.12766 | 0.178723 | 0.280851 | 0.280851 | 0 | 0 | 0 | 0 | 0 | 0.008955 | 0.109043 | 376 | 14 | 80 | 26.857143 | 0.692537 | 0.406915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
640b83e2e1fb6ef20167084983a10e1d5719a398 | 276 | py | Python | etc/test_delphes.py | deepjets/deepjets | fc9c610d4fd80975d8d25eb0d7cd41d7dd318c75 | [
"BSD-3-Clause"
] | 23 | 2016-11-13T02:48:32.000Z | 2021-11-13T01:02:20.000Z | etc/test_delphes.py | deepjets/deepjets | fc9c610d4fd80975d8d25eb0d7cd41d7dd318c75 | [
"BSD-3-Clause"
] | null | null | null | etc/test_delphes.py | deepjets/deepjets | fc9c610d4fd80975d8d25eb0d7cd41d7dd318c75 | [
"BSD-3-Clause"
] | 7 | 2016-12-02T16:58:33.000Z | 2021-09-02T12:36:46.000Z | from deepjets.generate import get_generator_input, generate
gen_input = get_generator_input('pythia', 'w.config')
for pythia, delphes in generate(gen_input, 10, delphes=True):
print pythia.jets
if delphes is not None:
print delphes.jets
print '========'
| 27.6 | 61 | 0.710145 | 38 | 276 | 5 | 0.578947 | 0.126316 | 0.178947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.177536 | 276 | 9 | 62 | 30.666667 | 0.828194 | 0 | 0 | 0 | 1 | 0 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
640fa33fae63e973ec1003da69239c318faaf3aa | 258 | py | Python | optimizers/__init__.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | 15 | 2019-09-06T15:49:12.000Z | 2021-12-15T08:10:25.000Z | optimizers/__init__.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | null | null | null | optimizers/__init__.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | 2 | 2020-01-05T03:40:09.000Z | 2021-12-15T08:10:29.000Z | # Author: DINDIN Meryll
# Date: 03/03/2019
# Project: optimizers
from .problem import Problem, Prototype, Logger
from .parzen import Parzen
from .bayesian import Bayesian
from .optunas import Optunas
from .wrappers import Experiment, Wrapper, WrapperCV
| 25.8 | 52 | 0.782946 | 33 | 258 | 6.121212 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03653 | 0.151163 | 258 | 9 | 53 | 28.666667 | 0.885845 | 0.24031 | 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 |
6414119b4984db6bc0ed96636e987afeee795fa4 | 871 | py | Python | invconv/axm/__init__.py | TechPowerAwaits/ax-toolkit | d49924ef2dcd3f54f494ba3859afb070cc12ef91 | [
"0BSD"
] | null | null | null | invconv/axm/__init__.py | TechPowerAwaits/ax-toolkit | d49924ef2dcd3f54f494ba3859afb070cc12ef91 | [
"0BSD"
] | 16 | 2021-04-14T03:46:37.000Z | 2022-02-11T16:15:00.000Z | invconv/axm/__init__.py | TechPowerAwaits/ax-toolkit | d49924ef2dcd3f54f494ba3859afb070cc12ef91 | [
"0BSD"
] | null | null | null | # Copyright 2021 Richard Johnston <techpowerawaits@outlook.com>
# SPDX-license-identifier: 0BSD
# Automatically bring in all modules within the package.
try:
import axm.command as command
import axm.common as common
import axm.exceptions as exceptions
import axm.operator as operator
import axm.outp... | 34.84 | 63 | 0.76349 | 121 | 871 | 5.495868 | 0.289256 | 0.121805 | 0.216541 | 0.057143 | 0.613534 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.190586 | 871 | 24 | 64 | 36.291667 | 0.93617 | 0.167623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
64294ce583f6c15c51af7beeb59843e2644eef69 | 30 | py | Python | custom_components/instagram/__init__.py | kk88/sensor.instagram | bd9e213faa9d7c195f5c56b0e23bb554fd1a4dd3 | [
"MIT"
] | 4 | 2021-02-23T07:05:51.000Z | 2021-10-07T07:57:03.000Z | custom_components/instagram/__init__.py | fabHAgithub/sensor.instagram | e13eb23e20753d08495489512e0ae79a17da9a9a | [
"MIT"
] | 6 | 2021-04-05T22:39:30.000Z | 2022-03-25T10:35:42.000Z | custom_components/instagram/__init__.py | fabHAgithub/sensor.instagram | e13eb23e20753d08495489512e0ae79a17da9a9a | [
"MIT"
] | 3 | 2021-07-06T09:11:50.000Z | 2022-01-12T16:16:40.000Z | """The Instagram Component.""" | 30 | 30 | 0.7 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.75 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff214edf4175ce09e59386c180ebe9edc66d95e6 | 230 | py | Python | api/serializers.py | Aananda-giri/ioe_auto_attend | f55e532365e9f2da17437c554286d01754e7ac00 | [
"Apache-2.0"
] | null | null | null | api/serializers.py | Aananda-giri/ioe_auto_attend | f55e532365e9f2da17437c554286d01754e7ac00 | [
"Apache-2.0"
] | null | null | null | api/serializers.py | Aananda-giri/ioe_auto_attend | f55e532365e9f2da17437c554286d01754e7ac00 | [
"Apache-2.0"
] | 1 | 2021-10-31T13:09:04.000Z | 2021-10-31T13:09:04.000Z | # serializers.py
from rest_framework import serializers
from .models import IoeNoti
class NotiSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = IoeNoti
fields = ('title', 'url', 'date')
| 23 | 61 | 0.721739 | 23 | 230 | 7.173913 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 230 | 9 | 62 | 25.555556 | 0.887097 | 0.06087 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff27b6f9ec2e89a4fdaa12005c4ca5d1c836ac12 | 47,692 | py | Python | python/course/leetcode/53. Maximum Subarray.py | TimVan1596/ACM-ICPC | 07f7d728db1ecd09c5a3d0f05521930b14eb9883 | [
"Apache-2.0"
] | 1 | 2019-05-22T07:12:34.000Z | 2019-05-22T07:12:34.000Z | python/course/leetcode/53. Maximum Subarray.py | TimVan1596/ACM-ICPC | 07f7d728db1ecd09c5a3d0f05521930b14eb9883 | [
"Apache-2.0"
] | 3 | 2021-12-10T01:13:54.000Z | 2021-12-14T21:18:42.000Z | python/course/leetcode/53. Maximum Subarray.py | TimVan1596/ACM-ICPC | 07f7d728db1ecd09c5a3d0f05521930b14eb9883 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# @Time:2020/6/29 18:52
# @Author:TimVan
# @File:53. Maximum Subarray.py
# @Software:PyCharm
# 53. Maximum Subarray
# Given an integer array nums, find the contiguous subarray (containing at least one number)
# which has the largest sum and return its sum.
#
# Example:
# Input: [-2,1,-3,4,-1,2,1... | 104.358862 | 120 | 0.417701 | 10,254 | 47,692 | 1.942754 | 0.018042 | 0.000803 | 0.000753 | 0.000602 | 0.008835 | 0.005421 | 0.005421 | 0.005421 | 0.005421 | 0 | 0 | 0.543342 | 0.263692 | 47,692 | 456 | 121 | 104.587719 | 0.023949 | 0.022121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002469 | false | 0 | 0.002469 | 0 | 0.009877 | 0.002469 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
ff33b14dca1fde0762097d21d956798781c851b5 | 1,403 | py | Python | hypothepy/utils/http_client.py | embo-press/hypothepy | dc4e0ba5bcbc46fcb0a9ced97218a388c590228d | [
"MIT"
] | 6 | 2021-01-31T09:06:29.000Z | 2022-01-29T14:16:54.000Z | hypothepy/utils/http_client.py | embo-press/hypothepy | dc4e0ba5bcbc46fcb0a9ced97218a388c590228d | [
"MIT"
] | 1 | 2019-08-28T09:14:49.000Z | 2020-04-02T07:43:22.000Z | hypothepy/utils/http_client.py | embo-press/hypothepy | dc4e0ba5bcbc46fcb0a9ced97218a388c590228d | [
"MIT"
] | null | null | null | import requests
from typing import Dict
from requests.models import Response
class HttpClient:
def __init__(self, default_headers: Dict[str, str] = None) -> None:
if default_headers is None:
default_headers = {}
self._headers = default_headers
#####################################... | 35.974359 | 79 | 0.566643 | 136 | 1,403 | 5.742647 | 0.213235 | 0.128041 | 0.256082 | 0.140845 | 0.614597 | 0.614597 | 0.614597 | 0.614597 | 0.614597 | 0.614597 | 0 | 0 | 0.215253 | 1,403 | 38 | 80 | 36.921053 | 0.709355 | 0.007128 | 0 | 0.357143 | 0 | 0 | 0.079848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.107143 | 0 | 0.535714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ff87aa5cb04a6a4cabf8f24f2da6a9de70d24379 | 181 | py | Python | gitPull.py | akd001/RPi | 020900b93f51471c2174c8cc61127e702a8fdbdb | [
"MIT"
] | 1 | 2016-12-22T11:49:06.000Z | 2016-12-22T11:49:06.000Z | gitPull.py | akd001/RPi | 020900b93f51471c2174c8cc61127e702a8fdbdb | [
"MIT"
] | null | null | null | gitPull.py | akd001/RPi | 020900b93f51471c2174c8cc61127e702a8fdbdb | [
"MIT"
] | null | null | null | import subprocess
import rpiutil
def pull():
outString = subprocess.check_output("git -C " + rpiutil.getHome() + "git/ pull", shell=True)
rpiutil.logOutput("gitPull", outString)
| 25.857143 | 93 | 0.734807 | 22 | 181 | 6 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121547 | 181 | 6 | 94 | 30.166667 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0.127072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
443b1d271947d7b6eb3da5910feab09dd6dd26a0 | 101 | py | Python | settings.py | texit/texit | 51c1ba34802964bd5d45cb1aa06d6b479820b5f8 | [
"MIT"
] | 10 | 2015-03-25T04:43:35.000Z | 2021-10-20T01:47:35.000Z | settings.py | texit/texit | 51c1ba34802964bd5d45cb1aa06d6b479820b5f8 | [
"MIT"
] | 3 | 2015-09-08T09:09:45.000Z | 2021-03-25T14:41:23.000Z | settings.py | texit/texit | 51c1ba34802964bd5d45cb1aa06d6b479820b5f8 | [
"MIT"
] | 2 | 2021-03-25T14:39:33.000Z | 2022-01-22T06:13:22.000Z | import os
PRODUCTION=os.getenv('PRODUCTION', False)
MIXPANEL_TOKEN=os.environ.get('MIXPANEL_TOKEN')
| 20.2 | 47 | 0.80198 | 14 | 101 | 5.642857 | 0.642857 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 101 | 4 | 48 | 25.25 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0.237624 | 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 |
44455dfa372c94c588550129cc67e0400ffd8d31 | 801 | py | Python | crawler/mongo_connect.py | crispim1411/extract_pdf | f058635a6d30f5bfb76a71bfacd0d9926e3b2842 | [
"MIT"
] | null | null | null | crawler/mongo_connect.py | crispim1411/extract_pdf | f058635a6d30f5bfb76a71bfacd0d9926e3b2842 | [
"MIT"
] | null | null | null | crawler/mongo_connect.py | crispim1411/extract_pdf | f058635a6d30f5bfb76a71bfacd0d9926e3b2842 | [
"MIT"
] | null | null | null | from pymongo import MongoClient
USER = "root"
PASS = "example"
DBNAME = "test_database"
COLLECTION = "pdf"
class DBConnect:
def __init__(self):
try:
self.client = MongoClient(username = USER, password = PASS, serverSelectionTimeoutMS = 2000)
self.db = self.client[DBNAME][COLLECTION... | 25.83871 | 104 | 0.642946 | 99 | 801 | 5.070707 | 0.494949 | 0.071713 | 0.119522 | 0.079681 | 0.191235 | 0.103586 | 0 | 0 | 0 | 0 | 0 | 0.0067 | 0.254682 | 801 | 30 | 105 | 26.7 | 0.834171 | 0 | 0 | 0 | 0 | 0 | 0.088639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0.086957 | 0.043478 | 0.217391 | 0.565217 | 0.043478 | 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 |
4468324ff36dfb4edc706a978f5a749306597140 | 121 | py | Python | src/parade/tests/test_cmdline.py | bailaohe/parade | e2be18b7c5fa13136435e7a6a29399f9fa392870 | [
"MIT"
] | 39 | 2017-03-07T06:20:03.000Z | 2020-03-01T00:18:21.000Z | src/parade/tests/test_cmdline.py | bailaohe/parade | e2be18b7c5fa13136435e7a6a29399f9fa392870 | [
"MIT"
] | 15 | 2017-03-07T08:21:21.000Z | 2019-04-24T09:23:14.000Z | src/parade/tests/test_cmdline.py | bailaohe/parade | e2be18b7c5fa13136435e7a6a29399f9fa392870 | [
"MIT"
] | 11 | 2017-03-11T07:13:43.000Z | 2020-05-28T07:34:52.000Z | from parade.cmdline import execute
class TestCmdline(object):
def test_no_cmd(self):
assert execute() == 0
| 17.285714 | 34 | 0.694215 | 16 | 121 | 5.125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.214876 | 121 | 6 | 35 | 20.166667 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
446b6e671caa4984aad996279949f606825a2362 | 1,928 | py | Python | msgraph/__init__.py | SWB-Dev/microsoft-graph-api | 07fef0071852a697bdf0b0a28a4758214621d5b2 | [
"MIT"
] | null | null | null | msgraph/__init__.py | SWB-Dev/microsoft-graph-api | 07fef0071852a697bdf0b0a28a4758214621d5b2 | [
"MIT"
] | null | null | null | msgraph/__init__.py | SWB-Dev/microsoft-graph-api | 07fef0071852a697bdf0b0a28a4758214621d5b2 | [
"MIT"
] | null | null | null | from .graph.abstractions.IGraphResponse import IGraphResponse
from .graph.abstractions.IGraphAction import IGraphAction, IGraphDeleteAction, IGraphGetAction, IGraphPatchAction, IGraphPostAction, IGraphPutAction
from .graph.abstractions.IGraphFilter import IGraphFilter
from .graph.implementations.graph_filter import Gr... | 58.424242 | 148 | 0.905602 | 169 | 1,928 | 10.189349 | 0.289941 | 0.138211 | 0.105691 | 0.057491 | 0.152729 | 0.152729 | 0.069686 | 0 | 0 | 0 | 0 | 0 | 0.053423 | 1,928 | 32 | 149 | 60.25 | 0.943562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
44792d70f3219fdd58f78cd7dd659a9f4a7ef2e7 | 109 | py | Python | examples/dialogpt_large.py | ibivibiv/openchat | b63c13018d5b6435fd17bcf1f84726e3c662dd41 | [
"Apache-2.0"
] | null | null | null | examples/dialogpt_large.py | ibivibiv/openchat | b63c13018d5b6435fd17bcf1f84726e3c662dd41 | [
"Apache-2.0"
] | null | null | null | examples/dialogpt_large.py | ibivibiv/openchat | b63c13018d5b6435fd17bcf1f84726e3c662dd41 | [
"Apache-2.0"
] | 1 | 2021-05-20T13:00:45.000Z | 2021-05-20T13:00:45.000Z | from openchat import OpenChat
if __name__ == '__main__':
OpenChat(model="dialogpt.large", device="cuda") | 27.25 | 51 | 0.733945 | 13 | 109 | 5.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 4 | 51 | 27.25 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 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 |
448e5884036be8fc4b3a889c3b52285c2fb4fc94 | 221 | py | Python | awscfncli2/cli/utils/__init__.py | andyfase/awscfncli | 467297a93b74ac094202af980140f93b531800fd | [
"MIT"
] | null | null | null | awscfncli2/cli/utils/__init__.py | andyfase/awscfncli | 467297a93b74ac094202af980140f93b531800fd | [
"MIT"
] | null | null | null | awscfncli2/cli/utils/__init__.py | andyfase/awscfncli | 467297a93b74ac094202af980140f93b531800fd | [
"MIT"
] | null | null | null | from .pprint import StackPrettyPrinter, echo_pair, echo_pair_if_exists
from .deco import command_exception_handler
from .pager import custom_paginator
from .events import tail_stack_events, start_tail_stack_events_daemon
| 44.2 | 70 | 0.882353 | 32 | 221 | 5.6875 | 0.625 | 0.087912 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085973 | 221 | 4 | 71 | 55.25 | 0.90099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
4497e31cca3e84ae0c6dff094bb1d3d9b29d3ddf | 262 | py | Python | ch01/18-distribution-of-word-lengths.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | 2 | 2015-01-06T11:37:18.000Z | 2015-11-07T11:14:02.000Z | ch01/18-distribution-of-word-lengths.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | null | null | null | ch01/18-distribution-of-word-lengths.py | prinsmike/nltk_book | 6badfa2e82cba7fc4f869a6c2c4922737ace8543 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2.7
from nltk.book import *
print [len(w) for w in text1]
print
fdist = FreqDist([len(w) for w in text1])
print fdist
print
print fdist.keys()
print
print fdist.items()
print
print fdist.max()
print
print fdist[3]
print
print fdist.freq(3) | 14.555556 | 41 | 0.729008 | 48 | 262 | 3.979167 | 0.458333 | 0.366492 | 0.39267 | 0.08377 | 0.26178 | 0.26178 | 0.26178 | 0.26178 | 0 | 0 | 0 | 0.026786 | 0.145038 | 262 | 18 | 42 | 14.555556 | 0.825893 | 0.087786 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 0.866667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9220f258de50841dbc2f6e279da2949128479177 | 2,470 | py | Python | polliwog/box/box.py | algrs/polliwog | faa6531e8e2f7d0b52e928d64a4c1914199c4023 | [
"BSD-2-Clause"
] | null | null | null | polliwog/box/box.py | algrs/polliwog | faa6531e8e2f7d0b52e928d64a4c1914199c4023 | [
"BSD-2-Clause"
] | null | null | null | polliwog/box/box.py | algrs/polliwog | faa6531e8e2f7d0b52e928d64a4c1914199c4023 | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
import vg
class Box(object):
"""
An axis-aligned cuboid.
"""
def __init__(self, origin, size):
"""
origin: The x, y, z coordinate of the origin.
size: A sequence containing the width (dx), height (dy), and
depth (dz).
"""
vg.shape... | 23.084112 | 70 | 0.559919 | 347 | 2,470 | 3.936599 | 0.293948 | 0.136896 | 0.143485 | 0.161054 | 0.321376 | 0.253294 | 0.175695 | 0.136164 | 0.136164 | 0 | 0 | 0.02525 | 0.310526 | 2,470 | 106 | 71 | 23.301887 | 0.776864 | 0.131984 | 0 | 0.246377 | 0 | 0 | 0.033463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275362 | false | 0 | 0.028986 | 0.217391 | 0.57971 | 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 |
9222b5b264b7b4453d39f1aa28b86cb8d02ceab8 | 85 | py | Python | alone/apps.py | jbbqqf/okapi | 3db29ef1e15685fae304190bd176f75c4e367d03 | [
"BSD-3-Clause"
] | null | null | null | alone/apps.py | jbbqqf/okapi | 3db29ef1e15685fae304190bd176f75c4e367d03 | [
"BSD-3-Clause"
] | null | null | null | alone/apps.py | jbbqqf/okapi | 3db29ef1e15685fae304190bd176f75c4e367d03 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class AloneConfig(AppConfig):
name = 'alone'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
923d9a852ffde82f6f8d8bdf861196f3c3cc5ba6 | 19 | py | Python | fastapi_mvc/cli/commands/__init__.py | julianbrooks/fastapi-mvc-template | 8fef3cb671254987f136415dfc4d8325334ce38e | [
"MIT"
] | 23 | 2021-07-27T20:42:18.000Z | 2021-12-14T00:02:05.000Z | fastapi_mvc/cli/commands/__init__.py | julianbrooks/fastapi-mvc-template | 8fef3cb671254987f136415dfc4d8325334ce38e | [
"MIT"
] | 5 | 2021-07-27T14:10:24.000Z | 2021-12-11T20:06:43.000Z | fastapi_mvc/cli/commands/__init__.py | julianbrooks/fastapi-mvc-template | 8fef3cb671254987f136415dfc4d8325334ce38e | [
"MIT"
] | 5 | 2021-09-07T18:56:46.000Z | 2021-12-14T00:02:20.000Z | """fastapi-mvc."""
| 9.5 | 18 | 0.526316 | 2 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.555556 | 0.631579 | 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 |
92675424d46645d2a146a9839588986b82396d3a | 57 | py | Python | tests/unit/libraries/psycopg2_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | tests/unit/libraries/psycopg2_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | tests/unit/libraries/psycopg2_/__init__.py | hackerrdave/signalfx-python-tracing | 55f50c7b71cea642bb18733e452988a32f899fbb | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2019 SignalFx, Inc. All rights reserved.
| 28.5 | 56 | 0.736842 | 8 | 57 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.157895 | 57 | 1 | 57 | 57 | 0.791667 | 0.947368 | 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 |
929e8a297535b5df5b10652ea85893f4599090b1 | 37 | py | Python | bballstats/bballreference/__init__.py | ahmedlawi92/basketball-stats | 6a7415a9f04ebf3bef3cf502aa8cee9490e9ca3e | [
"Apache-2.0"
] | 1 | 2016-01-07T18:22:17.000Z | 2016-01-07T18:22:17.000Z | bballstats/statsnba/__init__.py | ahmedlawi92/basketball-stats | 6a7415a9f04ebf3bef3cf502aa8cee9490e9ca3e | [
"Apache-2.0"
] | null | null | null | bballstats/statsnba/__init__.py | ahmedlawi92/basketball-stats | 6a7415a9f04ebf3bef3cf502aa8cee9490e9ca3e | [
"Apache-2.0"
] | null | null | null | __author__ = 'ahmedlawi92@gmail.com'
| 18.5 | 36 | 0.783784 | 4 | 37 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.567568 | 0.567568 | 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 |
92a602e634cbf8b66d28f36eb0d1616f06ba239c | 141 | py | Python | service-workers/service-worker/resources/mime-type-worker.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | service-workers/service-worker/resources/mime-type-worker.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | service-workers/service-worker/resources/mime-type-worker.py | meyerweb/wpt | f04261533819893c71289614c03434c06856c13e | [
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | def main(request, response):
if b'mime' in request.GET:
return [(b'Content-Type', request.GET[b'mime'])], b""
return [], b""
| 28.2 | 61 | 0.58156 | 21 | 141 | 3.904762 | 0.571429 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 141 | 4 | 62 | 35.25 | 0.738739 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
92b1b57a1226bdd2a4d1e8e20b93b11aa192a7a7 | 147 | py | Python | excript/lista2/q5.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista2/q5.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista2/q5.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | idadeM = int(input("Bote a idade da mãe: "))
idadeF = int(input("Bote a idade do filho(a): "))
print("A mãe pariu com {}".format(idadeM - idadeF)) | 36.75 | 51 | 0.653061 | 25 | 147 | 3.84 | 0.6 | 0.166667 | 0.25 | 0.270833 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 147 | 4 | 51 | 36.75 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.439189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b9101d25193beda95fa43a9fd25f56fd07a652e | 20 | py | Python | SoftLayer/CLI/file/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 126 | 2015-01-05T05:09:22.000Z | 2021-07-02T00:16:35.000Z | SoftLayer/CLI/file/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 969 | 2015-01-05T15:55:31.000Z | 2022-03-31T19:55:20.000Z | SoftLayer/CLI/file/__init__.py | dvzrv/softlayer-python | 9a5f6c6981bcc370084537b4d1769383499ce90d | [
"MIT"
] | 176 | 2015-01-22T11:23:40.000Z | 2022-02-11T13:16:58.000Z | """File Storage."""
| 10 | 19 | 0.55 | 2 | 20 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.611111 | 0.65 | 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 |
2b92e0f53aa0b5e6265191a29579f41ffd9b0529 | 80 | py | Python | src/io/__init__.py | zeou1/maggot_models | 4e1b518c2981ab1ca9607099c3813e8429d94ca4 | [
"BSD-3-Clause"
] | null | null | null | src/io/__init__.py | zeou1/maggot_models | 4e1b518c2981ab1ca9607099c3813e8429d94ca4 | [
"BSD-3-Clause"
] | null | null | null | src/io/__init__.py | zeou1/maggot_models | 4e1b518c2981ab1ca9607099c3813e8429d94ca4 | [
"BSD-3-Clause"
] | null | null | null | from .io import savefig, saveobj, saveskels, savecsv, savelol, readlol, readcsv
| 40 | 79 | 0.7875 | 10 | 80 | 6.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 80 | 1 | 80 | 80 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2bb20e142e993ce58e0e9a93991675a56934d79e | 77 | py | Python | src/__init__.py | Apostolos-Delis/Tensorflow-Framework | abafcde025e0d5e5c3be77cb29ff600fee11a697 | [
"MIT"
] | null | null | null | src/__init__.py | Apostolos-Delis/Tensorflow-Framework | abafcde025e0d5e5c3be77cb29ff600fee11a697 | [
"MIT"
] | null | null | null | src/__init__.py | Apostolos-Delis/Tensorflow-Framework | abafcde025e0d5e5c3be77cb29ff600fee11a697 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf8
if __name__ == "__main__":
pass
| 9.625 | 26 | 0.623377 | 10 | 77 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.220779 | 77 | 7 | 27 | 11 | 0.633333 | 0.441558 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
920fc81ec01c5ca26005bca215acf9ed0c09d726 | 1,885 | py | Python | fpl_reader/cool_io.py | rr-/fpl_reader | d4099a597a3eb2fe18f410334639e3189eac24af | [
"MIT"
] | 18 | 2015-11-12T17:34:04.000Z | 2022-01-13T14:42:00.000Z | fpl_reader/cool_io.py | rr-/fpl_reader | d4099a597a3eb2fe18f410334639e3189eac24af | [
"MIT"
] | 1 | 2015-11-13T18:14:59.000Z | 2015-11-13T18:14:59.000Z | fpl_reader/cool_io.py | rr-/fpl_reader | d4099a597a3eb2fe18f410334639e3189eac24af | [
"MIT"
] | 1 | 2015-11-13T18:02:22.000Z | 2015-11-13T18:02:22.000Z | import io
import struct
class CoolIO:
def __init__(self, data=None):
self.file = io.BytesIO(data)
def __enter__(self):
self.file.__enter__()
return self
def __exit__(self, exc_type, exc_value, traceback):
self.file.__exit__(exc_type, exc_value, traceback)
def size(se... | 24.166667 | 69 | 0.566048 | 271 | 1,885 | 3.774908 | 0.243542 | 0.172043 | 0.140762 | 0.172043 | 0.364614 | 0.247312 | 0.200391 | 0.179863 | 0.179863 | 0.179863 | 0 | 0.03139 | 0.290186 | 1,885 | 77 | 70 | 24.480519 | 0.733184 | 0 | 0 | 0.087719 | 0 | 0 | 0.025464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.035088 | 0.210526 | 0.684211 | 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 |
ecfdcf3e278841191e1fcf03a0d148c5dc48312e | 859 | py | Python | feeds/apps.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | null | null | null | feeds/apps.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | null | null | null | feeds/apps.py | lesspointless/Shakal-NG | eee491af94527228735c2bca7644605effd74b37 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
from .register import FeedsRegister
class FeedsConfig(AppConfig):
name = 'feeds'
verbose_name = 'Feedy'
def ready(self):
from article.feeds import ArticleFeed
from blog.feeds import PostFeed
from forum.feeds ... | 29.62069 | 53 | 0.80908 | 98 | 859 | 6.887755 | 0.387755 | 0.114074 | 0.300741 | 0.342222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001316 | 0.11525 | 859 | 28 | 54 | 30.678571 | 0.886842 | 0.024447 | 0 | 0 | 0 | 0 | 0.011962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.47619 | 0 | 0.666667 | 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 |
ecfe7aadde466afb1e6be43e4e2b3bb3f13cef4c | 12,547 | py | Python | theano/typed_list/basic.py | mrgloom/Theano | 018c7fa9a292858486b92e03a5d0a36cb3e45e1f | [
"BSD-3-Clause"
] | 1 | 2020-12-27T13:50:59.000Z | 2020-12-27T13:50:59.000Z | theano/typed_list/basic.py | mrgloom/Theano | 018c7fa9a292858486b92e03a5d0a36cb3e45e1f | [
"BSD-3-Clause"
] | null | null | null | theano/typed_list/basic.py | mrgloom/Theano | 018c7fa9a292858486b92e03a5d0a36cb3e45e1f | [
"BSD-3-Clause"
] | null | null | null | from type import TypedListType
import theano
from theano.gof import Apply, Constant, Op, Variable
from theano.tensor.type_other import SliceType
from theano import tensor as T
import numpy
class _typed_list_py_operators:
def __getitem__(self, index):
return getitem(self, index)
def append(self, to... | 28.451247 | 133 | 0.552084 | 1,564 | 12,547 | 4.230179 | 0.095908 | 0.027963 | 0.039903 | 0.026602 | 0.741687 | 0.716747 | 0.707376 | 0.683948 | 0.606862 | 0.595677 | 0 | 0.009684 | 0.308679 | 12,547 | 440 | 134 | 28.515909 | 0.753055 | 0.003507 | 0 | 0.704762 | 0 | 0.022222 | 0.194312 | 0.061909 | 0 | 0 | 0 | 0 | 0.053968 | 0 | null | null | 0 | 0.019048 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a6074c96f544e2815b306648a7dcaf5015f66d30 | 41 | py | Python | docs/__init__.py | jmtaysom/idom | d2a569d27f915d3b2b1fc6eb8eef9aca3a6d9343 | [
"MIT"
] | 55 | 2019-02-28T23:58:42.000Z | 2020-07-14T22:01:45.000Z | docs/__init__.py | jmtaysom/idom | d2a569d27f915d3b2b1fc6eb8eef9aca3a6d9343 | [
"MIT"
] | 72 | 2019-04-04T18:46:30.000Z | 2020-06-24T02:47:57.000Z | docs/__init__.py | jmtaysom/idom | d2a569d27f915d3b2b1fc6eb8eef9aca3a6d9343 | [
"MIT"
] | 7 | 2019-04-02T17:53:30.000Z | 2020-06-23T16:17:58.000Z | from .app import run
__all__ = ["run"]
| 8.2 | 20 | 0.634146 | 6 | 41 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 21 | 10.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 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 |
a60c41ef5ae3c40eca2b06f5b8224d107b4f89b2 | 177,616 | py | Python | gdal2tile-mapslicer/mapslicer/icons.py | 13903596952/gdal2tiles | 5bfb8373da4776cab57e0cc58e7422fcedbe2315 | [
"Apache-2.0"
] | 44 | 2015-03-20T23:12:34.000Z | 2022-01-09T16:00:19.000Z | mapslicer/icons.py | himaps/mapslicer | 1c60a2d4d3c0296424b2421e09001fcf32075c6e | [
"BSD-3-Clause"
] | 12 | 2015-02-16T20:41:25.000Z | 2021-05-01T05:21:34.000Z | mapslicer/icons.py | kalxas/maptiler | 1c60a2d4d3c0296424b2421e09001fcf32075c6e | [
"BSD-3-Clause"
] | 20 | 2015-02-16T20:25:50.000Z | 2021-11-02T12:11:11.000Z | #----------------------------------------------------------------------
# This file was generated by /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/wx-2.8-mac-unicode/wx/tools/img2py.py
#
# img2py.py -n Icon -i ../resources/mapslicer.ico icons.py
# img2py.py -a -n Icon140 ../resources/icon14... | 75.452846 | 141 | 0.715572 | 39,569 | 177,616 | 3.206449 | 0.166646 | 0.002175 | 0.001206 | 0.000662 | 0.003586 | 0.002167 | 0.001742 | 0.001742 | 0.001742 | 0.001742 | 0 | 0.226665 | 0.015235 | 177,616 | 2,353 | 142 | 75.484913 | 0.498714 | 0.003012 | 0 | 0.003435 | 1 | 0.638471 | 0.00179 | 0.001655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005582 | false | 0 | 0.000859 | 0.003435 | 0.012022 | 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 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a69dbeca70a8980e593ff9532544260198337d02 | 270 | py | Python | appengine_config.py | peterlie/pystart-gae | b0812c119998f5a4b07615a1ffb2b9363f33b689 | [
"MIT"
] | null | null | null | appengine_config.py | peterlie/pystart-gae | b0812c119998f5a4b07615a1ffb2b9363f33b689 | [
"MIT"
] | null | null | null | appengine_config.py | peterlie/pystart-gae | b0812c119998f5a4b07615a1ffb2b9363f33b689 | [
"MIT"
] | null | null | null | from google.appengine.ext import vendor
# Add any libraries installed in the "lib" folder.
vendor.add('lib')
def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app
| 24.545455 | 55 | 0.774074 | 38 | 270 | 5.368421 | 0.578947 | 0.098039 | 0.186275 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 270 | 10 | 56 | 27 | 0.886957 | 0.177778 | 0 | 0 | 0 | 0 | 0.013636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 |
a6b3be73ab4385f09a24e8e7b2761dbc2639dafc | 614 | py | Python | Chapter 05/aliens.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | Chapter 05/aliens.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | Chapter 05/aliens.py | Wenzurk-Ma/Python-Crash-Course | 25bb81af95e16f08c849da5f1161658839b85f61 | [
"Apache-2.0"
] | null | null | null | # Title : TODO
# Objective : TODO
# Created by: Wenzurk
# Created on: 2018/2/6
alien_color = 'green'
# if alien_color == 'green':
# print("You get 5 point.")
# if alien_color == 'yellow':
# print("You are a loser.")
# if alien_color == 'green':
# print("You got 5 point.")
# else:
# print("You got... | 21.928571 | 32 | 0.594463 | 90 | 614 | 3.966667 | 0.322222 | 0.201681 | 0.215686 | 0.142857 | 0.663866 | 0.644258 | 0.498599 | 0.394958 | 0.394958 | 0.285714 | 0 | 0.038055 | 0.229642 | 614 | 28 | 33 | 21.928571 | 0.716702 | 0.615635 | 0 | 0 | 0 | 0 | 0.315068 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a6c63f999fe561c3c572da47765657aa1539ce30 | 204 | py | Python | pymt_frost_number/component.py | mcflugen/pymt_frost_number | acafd43fb1f5950eafbe6e8109442629a05e6f00 | [
"MIT"
] | null | null | null | pymt_frost_number/component.py | mcflugen/pymt_frost_number | acafd43fb1f5950eafbe6e8109442629a05e6f00 | [
"MIT"
] | null | null | null | pymt_frost_number/component.py | mcflugen/pymt_frost_number | acafd43fb1f5950eafbe6e8109442629a05e6f00 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from pymt.framework.bmi_bridge import bmi_factory
from .bmi import BmiFrostnumberMethod
BmiFrostNumberMethod = bmi_factory(BmiFrostnumberMethod)
del bmi_factory
| 20.4 | 56 | 0.867647 | 24 | 204 | 7 | 0.458333 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 9 | 57 | 22.666667 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a6d728d06c418cbca7db096e3466bb254153d41b | 116 | py | Python | app/forms/comment_form.py | mrakzero/FlaskCMS | 03ad35610befca1f45d5705f07cfb4794f9b2d3b | [
"MulanPSL-1.0"
] | 1 | 2022-03-31T03:57:45.000Z | 2022-03-31T03:57:45.000Z | app/forms/comment_form.py | mrakzero/FlaskCMS | 03ad35610befca1f45d5705f07cfb4794f9b2d3b | [
"MulanPSL-1.0"
] | null | null | null | app/forms/comment_form.py | mrakzero/FlaskCMS | 03ad35610befca1f45d5705f07cfb4794f9b2d3b | [
"MulanPSL-1.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# File: comment_form.py
# Author: Zhangzhijun
# Date: 2021/9/15 22:25
| 19.333333 | 23 | 0.646552 | 19 | 116 | 3.894737 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.146552 | 116 | 5 | 24 | 23.2 | 0.626263 | 0.913793 | 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 |
a6e1da0fe077c1fd1912a1144a5fb316f83095e5 | 29 | py | Python | _package/xms/stamper/api/__init__.py | rohankumardubey/xmsstamper | 00abfec145f9dab1867006ccdffe6e9e1a0e4caf | [
"BSD-2-Clause"
] | 2 | 2019-02-22T05:18:27.000Z | 2019-08-09T21:40:05.000Z | _package/xms/stamper/api/__init__.py | rohankumardubey/xmsstamper | 00abfec145f9dab1867006ccdffe6e9e1a0e4caf | [
"BSD-2-Clause"
] | 11 | 2018-10-09T12:39:24.000Z | 2022-03-16T18:16:27.000Z | _package/tests/__init__.py | Aquaveo/xmsextractor | 7b8ebc5e444bbdd3d8c44a2d5f849fa0430ad97e | [
"BSD-2-Clause"
] | 2 | 2020-09-24T22:38:54.000Z | 2021-04-14T21:05:34.000Z | """Initialize the module."""
| 14.5 | 28 | 0.655172 | 3 | 29 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.730769 | 0.758621 | 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 |
a6f0852e35f530c48b405fcf9b73f4e392c0ae15 | 253 | py | Python | nectar/models/experiment.py | imrancharania/nectar | b7ed009ffcbc5570d16a5d0f40556b6761d137d3 | [
"Apache-2.0"
] | 4 | 2021-12-13T02:33:29.000Z | 2021-12-21T15:43:31.000Z | nectar/models/experiment.py | imrancharania/nectar | b7ed009ffcbc5570d16a5d0f40556b6761d137d3 | [
"Apache-2.0"
] | 2 | 2021-12-24T10:47:56.000Z | 2021-12-29T21:47:12.000Z | nectar/models/experiment.py | imrancharania/nectar | b7ed009ffcbc5570d16a5d0f40556b6761d137d3 | [
"Apache-2.0"
] | 1 | 2021-12-13T02:02:11.000Z | 2021-12-13T02:02:11.000Z | from pydantic import BaseModel
from typing import List
from .gym_environment import GymEnvironment
class Experiment(BaseModel):
algorithms: List[str]
gymEnvironment: GymEnvironment
iterations: int
gamma: List[float]
lr: List[float] | 23 | 43 | 0.762846 | 29 | 253 | 6.62069 | 0.62069 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177866 | 253 | 11 | 44 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a6f8b8e8d5198cf1608abee453f2f192aacc1ba0 | 1,222 | py | Python | PTU_Notice.py | dodoeon/ptu_notice | 558770edbc4174ea697772f0f388f41c84bd9462 | [
"MIT"
] | null | null | null | PTU_Notice.py | dodoeon/ptu_notice | 558770edbc4174ea697772f0f388f41c84bd9462 | [
"MIT"
] | null | null | null | PTU_Notice.py | dodoeon/ptu_notice | 558770edbc4174ea697772f0f388f41c84bd9462 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
import requests
response = requests.get('https://www.ptu.ac.kr/index.do')
FrontUrl=('https://www.ptu.ac.kr')
data = BeautifulSoup(response.content,"html.parser",from_encoding="utf-8")
def GETNOTICE(nth):
nth -= 1
Data_Tag = data.select('#body > div > div:nth-child(2) > div > div ... | 58.190476 | 207 | 0.638298 | 217 | 1,222 | 3.529954 | 0.24424 | 0.27154 | 0.199739 | 0.250653 | 0.560052 | 0.520888 | 0.520888 | 0.520888 | 0.520888 | 0.520888 | 0 | 0.026769 | 0.144026 | 1,222 | 20 | 208 | 61.1 | 0.705545 | 0 | 0 | 0 | 0 | 0.25 | 0.56874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.25 | 0.0625 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b306d6ed9727bd765a8fb2a8fb1a2ebcce3654e | 96 | py | Python | tests/asp/weakConstraints/optimization.example1.nonground.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/weakConstraints/optimization.example1.nonground.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/weakConstraints/optimization.example1.nonground.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
8 2 2 3 0 0
6 0 2 0 2 3 1 2
0
3 b
2 a
0
B+
0
B-
1
0
1
"""
output = """
COST 1@1
"""
| 5.333333 | 15 | 0.447917 | 31 | 96 | 1.387097 | 0.354839 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.375 | 96 | 17 | 16 | 5.647059 | 0.316667 | 0 | 0 | 0.117647 | 0 | 0 | 0.677083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b49c96b032a34951cdc64156f55450b652bdcab | 1,450 | py | Python | gittip/models/payday.py | bountysource/www.gittip.com | 84cd36dd1da2eec54ebf0fe8c7c31d10ae5b933c | [
"CC0-1.0"
] | 4 | 2015-03-11T02:04:27.000Z | 2021-04-28T01:33:40.000Z | gittip/models/payday.py | sigmavirus24/www.gittip.com | 112ea4e62aefad11c36954f0f979679ce057cf02 | [
"CC0-1.0"
] | null | null | null | gittip/models/payday.py | sigmavirus24/www.gittip.com | 112ea4e62aefad11c36954f0f979679ce057cf02 | [
"CC0-1.0"
] | 3 | 2015-08-27T09:47:17.000Z | 2018-08-02T14:05:59.000Z | import datetime
import pytz
from sqlalchemy.schema import Column, UniqueConstraint
from sqlalchemy.types import Integer, Numeric, Text, TIMESTAMP
from gittip.orm import db
class Payday(db.Model):
__tablename__ = 'paydays'
__table_args__ = (
UniqueConstraint('ts_end', name='paydays_ts_end_key'),
)... | 40.277778 | 76 | 0.695172 | 188 | 1,450 | 5.223404 | 0.361702 | 0.114053 | 0.183299 | 0.192464 | 0.39002 | 0.332994 | 0.332994 | 0.237271 | 0.237271 | 0.237271 | 0 | 0.033985 | 0.188276 | 1,450 | 36 | 77 | 40.277778 | 0.80034 | 0.026207 | 0 | 0 | 0 | 0 | 0.025514 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.866667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5b4c7c593399e8d374ae783791fb8b741c94215b | 1,009 | py | Python | src/05-threads/woz_test/hundred_thread.py | ziwoz/async-techniques-python-course | a2689962c6e26f93e153e2ea34da2b3e73ddbf75 | [
"MIT"
] | null | null | null | src/05-threads/woz_test/hundred_thread.py | ziwoz/async-techniques-python-course | a2689962c6e26f93e153e2ea34da2b3e73ddbf75 | [
"MIT"
] | null | null | null | src/05-threads/woz_test/hundred_thread.py | ziwoz/async-techniques-python-course | a2689962c6e26f93e153e2ea34da2b3e73ddbf75 | [
"MIT"
] | null | null | null |
import threading
import time
import math
start = time.time()
def do_math(start=0, num=100):
pos = start
k_sq = 1000 * 1000
while pos < num:
pos += 1
math.sqrt((pos - k_sq) * (pos - k_sq))
def time_waste():
a = 10000*10000*1200000*55555555*99999*77777*55555
b = 10000 * 10000 * 1... | 28.828571 | 70 | 0.635282 | 144 | 1,009 | 4.402778 | 0.381944 | 0.11041 | 0.187697 | 0.276025 | 0.501577 | 0.44164 | 0.44164 | 0 | 0 | 0 | 0 | 0.401554 | 0.234886 | 1,009 | 35 | 71 | 28.828571 | 0.419689 | 0 | 0 | 0 | 0 | 0 | 0.063429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.12 | 0 | 0.2 | 0.08 | 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 |
5b509fb4473b598bb22f564f994a1f84d9fa6e7b | 50 | py | Python | jinahub/encoders/video/VideoTorchEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/video/VideoTorchEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | jinahub/encoders/video/VideoTorchEncoder/__init__.py | sauravgarg540/executors | c06a16633767346eee96ec019ae6a171f125f6cb | [
"Apache-2.0"
] | null | null | null | from .video_torch_encoder import VideoTorchEncoder | 50 | 50 | 0.92 | 6 | 50 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5b5a537b05216129ab1a7b58d800f4a33ca84396 | 231 | py | Python | algorithms/compression/utils.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | 1 | 2019-11-25T07:23:42.000Z | 2019-11-25T07:23:42.000Z | algorithms/compression/utils.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | 13 | 2020-01-07T16:09:47.000Z | 2022-03-02T12:51:44.000Z | algorithms/compression/utils.py | bigfoolliu/liu_aistuff | aa661d37c05c257ee293285dd0868fb7e8227628 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# author: bigfoolliu
def get_rate(compressed_binary, uncompressed_bits):
"""
获取压缩率
计算公式: 压缩后的体积/压缩前的体积
"""
return len(compressed_binary) * 100 / uncompressed_bits
| 19.25 | 59 | 0.666667 | 27 | 231 | 5.518519 | 0.851852 | 0.214765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0.194805 | 231 | 11 | 60 | 21 | 0.774194 | 0.376623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5b605183feae88087c3adc3b71cb22e3fdedd2a9 | 171 | py | Python | wagtailstartproject/project_template/project_name/pages/models.py | leukeleu/wagtail-startproject | 84eb3df8316ffa17f7a724bd64485d43b16446bb | [
"MIT"
] | 4 | 2017-08-08T18:58:52.000Z | 2017-12-20T06:28:31.000Z | wagtailstartproject/project_template/project_name/pages/models.py | leukeleu/wagtail-startproject | 84eb3df8316ffa17f7a724bd64485d43b16446bb | [
"MIT"
] | 10 | 2017-06-13T14:23:10.000Z | 2018-03-19T14:08:00.000Z | wagtailstartproject/project_template/project_name/pages/models.py | leukeleu/wagtail-startproject | 84eb3df8316ffa17f7a724bd64485d43b16446bb | [
"MIT"
] | 2 | 2017-06-13T14:25:54.000Z | 2019-09-10T16:06:35.000Z | from __future__ import absolute_import, unicode_literals
from wagtail.wagtailcore.models import Page
class HomePage(Page):
pass
class ContentPage(Page):
pass
| 14.25 | 56 | 0.783626 | 21 | 171 | 6.095238 | 0.666667 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163743 | 171 | 11 | 57 | 15.545455 | 0.895105 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
5b68058462dc5b9a03aeb3b44d5deeff63c8acc1 | 2,871 | py | Python | mdjpp/render.py | tljm/jpp | 23e3816a503a7b5558d990cacbe869991f76755f | [
"0BSD"
] | null | null | null | mdjpp/render.py | tljm/jpp | 23e3816a503a7b5558d990cacbe869991f76755f | [
"0BSD"
] | null | null | null | mdjpp/render.py | tljm/jpp | 23e3816a503a7b5558d990cacbe869991f76755f | [
"0BSD"
] | null | null | null | import hashlib
from functools import wraps
from os import linesep
from mdjpp.tags import Multi, Date, Global
from mdjpp import tagtag
def auto_color(value):
hash_str = hashlib.md5(value.encode('utf-8')).hexdigest()[0:7]
pair_sort = lambda p: ''.join(sorted(p,reverse=False))
return ''.join(map(pair_sort,(... | 24.330508 | 103 | 0.595263 | 400 | 2,871 | 4.15 | 0.2225 | 0.101205 | 0.140964 | 0.163855 | 0.459036 | 0.435542 | 0.425904 | 0.357229 | 0.230723 | 0.195181 | 0 | 0.009713 | 0.246952 | 2,871 | 117 | 104 | 24.538462 | 0.758094 | 0.031 | 0 | 0.421687 | 0 | 0.012048 | 0.092446 | 0.02518 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253012 | false | 0.012048 | 0.060241 | 0.180723 | 0.650602 | 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 |
5b6bd438d5ec0f8b67815802b23e869f99e61443 | 91 | py | Python | libweasyl/libweasyl/__init__.py | hyena/weasyl | a43ad885eb07ae89d6639f289a5b95f3a177439c | [
"Apache-2.0"
] | null | null | null | libweasyl/libweasyl/__init__.py | hyena/weasyl | a43ad885eb07ae89d6639f289a5b95f3a177439c | [
"Apache-2.0"
] | 19 | 2018-01-02T07:27:22.000Z | 2019-01-23T05:20:06.000Z | libweasyl/libweasyl/__init__.py | hyena/weasyl | a43ad885eb07ae89d6639f289a5b95f3a177439c | [
"Apache-2.0"
] | null | null | null | from libweasyl._version import __version__, __sha__
__all__ = ['__version__', '__sha__']
| 18.2 | 51 | 0.769231 | 9 | 91 | 5.444444 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 4 | 52 | 22.75 | 0.6125 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 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 |
5b7294537793d2b19009d9114c49e61d9e92526d | 221 | py | Python | mkdocs_awesome_pages_plugin/options.py | marcovoc/mkdocs-awesome-pages-plugin | 8b489024c1a545fead6e7338fffb29b98c657bdc | [
"MIT"
] | 226 | 2018-02-07T09:58:36.000Z | 2022-03-31T16:33:54.000Z | mkdocs_awesome_pages_plugin/options.py | marcovoc/mkdocs-awesome-pages-plugin | 8b489024c1a545fead6e7338fffb29b98c657bdc | [
"MIT"
] | 55 | 2018-02-07T10:36:38.000Z | 2022-03-16T03:23:47.000Z | mkdocs_awesome_pages_plugin/options.py | marcovoc/mkdocs-awesome-pages-plugin | 8b489024c1a545fead6e7338fffb29b98c657bdc | [
"MIT"
] | 30 | 2018-05-01T17:27:03.000Z | 2022-03-04T07:33:28.000Z | class Options:
def __init__(self, *, filename: str, collapse_single_pages: bool, strict: bool):
self.filename = filename
self.collapse_single_pages = collapse_single_pages
self.strict = strict
| 36.833333 | 84 | 0.701357 | 26 | 221 | 5.576923 | 0.461538 | 0.289655 | 0.393103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217195 | 221 | 5 | 85 | 44.2 | 0.83815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5b7e2d791ef76e7968987649527c4564a6c07285 | 708 | py | Python | tests/schemas/v1/test_predicate_session_value_getter.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | null | null | null | tests/schemas/v1/test_predicate_session_value_getter.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | 7 | 2018-09-07T16:03:42.000Z | 2020-05-13T10:54:37.000Z | tests/schemas/v1/test_predicate_session_value_getter.py | Clustaar/clustaar.schemas | 3eb68b0a8c76f3529fb645516a76007435b04d17 | [
"MIT"
] | null | null | null | from clustaar.schemas.v1 import PREDICATE_SESSION_VALUE_GETTER
from clustaar.schemas.models import SessionValueGetter
import pytest
@pytest.fixture
def data():
return {"type": "session_value", "key": "name"}
@pytest.fixture
def getter():
return SessionValueGetter(key="name")
class TestLoad(object):
de... | 26.222222 | 68 | 0.734463 | 86 | 708 | 5.848837 | 0.406977 | 0.095427 | 0.125249 | 0.161034 | 0.131213 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001698 | 0.168079 | 708 | 26 | 69 | 27.230769 | 0.852292 | 0 | 0 | 0.111111 | 0 | 0 | 0.045198 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.222222 | false | 0 | 0.166667 | 0.111111 | 0.611111 | 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 |
5bb82d19e7faf6a270241931bc0986844a4a8c84 | 76 | py | Python | step_1.py | GreeeNic/lesson_201129_5 | e7b8b544df6d650e912dc24b2bdd7f249bcb0e1d | [
"Apache-2.0"
] | null | null | null | step_1.py | GreeeNic/lesson_201129_5 | e7b8b544df6d650e912dc24b2bdd7f249bcb0e1d | [
"Apache-2.0"
] | null | null | null | step_1.py | GreeeNic/lesson_201129_5 | e7b8b544df6d650e912dc24b2bdd7f249bcb0e1d | [
"Apache-2.0"
] | null | null | null | globus = 'глобус'
print(globus)
print('глобус',globus)
print('hello world!') | 19 | 22 | 0.723684 | 10 | 76 | 5.5 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 4 | 23 | 19 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 |
5bd6da6dd451d483379a46fbbc186a5c0eb2b4de | 497 | py | Python | ExampleApp/ExampleController.py | GTBebbo/DjangoControllers | 23fde1992728e2d80c69124375bf4e022d9a0364 | [
"BSD-3-Clause"
] | null | null | null | ExampleApp/ExampleController.py | GTBebbo/DjangoControllers | 23fde1992728e2d80c69124375bf4e022d9a0364 | [
"BSD-3-Clause"
] | null | null | null | ExampleApp/ExampleController.py | GTBebbo/DjangoControllers | 23fde1992728e2d80c69124375bf4e022d9a0364 | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt
def get_view(request):
return HttpResponse("GET Request", status=200)
def get_specific_view(request, model_id):
print("GET CALLED")
return HttpResponse(f"GET Request for model id: {model_id}", status=200)
@csrf_e... | 22.590909 | 76 | 0.760563 | 69 | 497 | 5.333333 | 0.362319 | 0.119565 | 0.105978 | 0.236413 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.138833 | 497 | 21 | 77 | 23.666667 | 0.831776 | 0 | 0 | 0.153846 | 0 | 0 | 0.167002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.230769 | 0.769231 | 0.076923 | 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 |
5bfaadad3bb996d748576b9d0f6c3b6ef6c5fa1e | 115 | py | Python | common/moudle/waf_plugins/naxsi.py | ziizhuwy/cify | 627ae74f6a27d803521df213e8644366dbba183f | [
"Apache-2.0"
] | 8 | 2018-10-11T16:05:14.000Z | 2020-12-30T08:21:15.000Z | common/moudle/waf_plugins/naxsi.py | keven1z/cify | 627ae74f6a27d803521df213e8644366dbba183f | [
"Apache-2.0"
] | 1 | 2020-04-22T03:36:59.000Z | 2020-06-11T06:42:42.000Z | common/moudle/waf_plugins/naxsi.py | ziizhuwy/cify | 627ae74f6a27d803521df213e8644366dbba183f | [
"Apache-2.0"
] | 4 | 2019-07-10T06:51:45.000Z | 2020-04-19T09:52:09.000Z | #!/usr/bin/env python
NAME = 'Naxsi'
def is_waf(self):
return self.match_header(('X-Data-Origin', '^naxsi'))
| 16.428571 | 57 | 0.652174 | 18 | 115 | 4.055556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 6 | 58 | 19.166667 | 0.737374 | 0.173913 | 0 | 0 | 0 | 0 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
75090530865a62758a2bc50afdc9f1d856fcc245 | 114 | py | Python | model.py | bmichele/d2t_iterative_editing | 3e3c7e246b173e8a2f03d1122f2acf1ece2634ae | [
"Apache-2.0"
] | 11 | 2021-02-17T12:37:48.000Z | 2021-12-13T14:52:36.000Z | model.py | bmichele/d2t_iterative_editing | 3e3c7e246b173e8a2f03d1122f2acf1ece2634ae | [
"Apache-2.0"
] | null | null | null | model.py | bmichele/d2t_iterative_editing | 3e3c7e246b173e8a2f03d1122f2acf1ece2634ae | [
"Apache-2.0"
] | 2 | 2021-02-17T12:55:10.000Z | 2021-06-04T08:33:01.000Z | #!/usr/bin/env python3
class FuseModel:
def fuse(self, first, second):
raise NotImplementedError()
| 14.25 | 35 | 0.666667 | 13 | 114 | 5.846154 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.219298 | 114 | 7 | 36 | 16.285714 | 0.842697 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
753be63e0e52879d9ed5185e4d3593e49faa371b | 110 | py | Python | example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Trigonometric and hyperbolic functions/arctanh Inverse hyperbolic tangent, element-wise with automatic domain.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Trigonometric and hyperbolic functions/arctanh Inverse hyperbolic tangent, element-wise with automatic domain.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/NumPy/Vectorized (universal) functions/Trigonometric and hyperbolic functions/arctanh Inverse hyperbolic tangent, element-wise with automatic domain.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | # Use np.emath.arctanh when input dtype is float, but may contain values outside of (-1,1)
np.emath.arctanh(x) | 55 | 90 | 0.754545 | 21 | 110 | 3.952381 | 0.809524 | 0.168675 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.136364 | 110 | 2 | 91 | 55 | 0.852632 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.