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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d1809383e9a137745210b95643a74ebc802a0c2 | 4,586 | py | Python | pointpats/tests/test_distance_statistics.py | sugam45/pointpats | bceba7f70deb2a27ac1cf08fe5c7013926714431 | [
"BSD-3-Clause"
] | null | null | null | pointpats/tests/test_distance_statistics.py | sugam45/pointpats | bceba7f70deb2a27ac1cf08fe5c7013926714431 | [
"BSD-3-Clause"
] | null | null | null | pointpats/tests/test_distance_statistics.py | sugam45/pointpats | bceba7f70deb2a27ac1cf08fe5c7013926714431 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy as np
from ..distance_statistics import *
from ..pointpattern import PointPattern
class TestDistanceStatistics(unittest.TestCase):
def setUp(self):
self.points = [[66.22, 32.54], [22.52, 22.39], [31.01, 81.21],
[9.47, 31.02], [30.78, 60.10], [75.21, 58.... | 48.273684 | 79 | 0.638029 | 595 | 4,586 | 4.811765 | 0.342857 | 0.05379 | 0.084527 | 0.0489 | 0.749563 | 0.731401 | 0.720573 | 0.696822 | 0.618582 | 0.618582 | 0 | 0.525531 | 0.23986 | 4,586 | 94 | 80 | 48.787234 | 0.295754 | 0 | 0 | 0.433735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 1 | 0.072289 | false | 0 | 0.048193 | 0 | 0.13253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 | 5 |
8d67ce442bb50a04456a0515aa83b107d5da7ade | 82 | py | Python | fullSWOF2DConfiguration.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | 1 | 2015-07-14T10:05:52.000Z | 2015-07-14T10:05:52.000Z | fullSWOF2DConfiguration.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | null | null | null | fullSWOF2DConfiguration.py | unterweg/peanoclaw | 2d8b45727e3b26d824f8afc6a8772736176083af | [
"BSD-3-Clause"
] | 1 | 2019-12-03T15:58:53.000Z | 2019-12-03T15:58:53.000Z | fullSWOF2DPath='../FullSWOF_2D'
def getFullSWOF2DPath():
return fullSWOF2DPath
| 16.4 | 31 | 0.792683 | 7 | 82 | 9.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 82 | 4 | 32 | 20.5 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 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 | 1 | 0 | 0 | 5 |
8d796ef1c5762fe6954800b7178853e19ce45810 | 85 | py | Python | CodeWars/7 Kyu/Truncate a string!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Truncate a string!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Truncate a string!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def truncate_string(s,n):
return s if len(s)<=n else s[:n if n<=3 else n-3]+'...' | 42.5 | 59 | 0.588235 | 20 | 85 | 2.45 | 0.5 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.176471 | 85 | 2 | 59 | 42.5 | 0.671429 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a5d9b11331f68db54fab887ee5a98607ab21146f | 136 | py | Python | socialregistration/contrib/google/admin.py | nypublicradio/legacy-publisher-django-socialregistration | 181f75d152f553f77fa899dac895c4276108204f | [
"MIT"
] | 63 | 2015-01-27T16:52:03.000Z | 2021-08-29T04:23:51.000Z | socialregistration/contrib/google/admin.py | nypublicradio/legacy-publisher-django-socialregistration | 181f75d152f553f77fa899dac895c4276108204f | [
"MIT"
] | 3 | 2016-05-26T07:46:53.000Z | 2022-02-16T15:25:16.000Z | socialregistration/contrib/google/admin.py | nypublicradio/legacy-publisher-django-socialregistration | 181f75d152f553f77fa899dac895c4276108204f | [
"MIT"
] | 23 | 2015-02-02T13:33:46.000Z | 2020-10-25T20:02:53.000Z | from django.contrib import admin
from socialregistration.contrib.google.models import GoogleProfile
admin.site.register(GoogleProfile)
| 27.2 | 66 | 0.867647 | 16 | 136 | 7.375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 136 | 4 | 67 | 34 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
574810acc25fd341bd6e2c1773fd6f17c443f41a | 75 | py | Python | plugins/orchestrator_ping/icon_orchestrator_ping/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/orchestrator_ping/icon_orchestrator_ping/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/orchestrator_ping/icon_orchestrator_ping/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .signal.trigger import Signal
| 25 | 39 | 0.773333 | 12 | 75 | 4.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 2 | 40 | 37.5 | 0.935484 | 0.493333 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
575480668ab2d00493ca4f969c02b3d28c44927c | 142 | py | Python | __init__.py | emile-bernard/OpenCV-Webcam-Stream | 8927fa96273bc65997b4ffe353d8d740f823011b | [
"MIT"
] | 1 | 2020-02-13T19:50:32.000Z | 2020-02-13T19:50:32.000Z | __init__.py | emile-bernard/OpenCV-Webcam-Stream | 8927fa96273bc65997b4ffe353d8d740f823011b | [
"MIT"
] | null | null | null | __init__.py | emile-bernard/OpenCV-Webcam-Stream | 8927fa96273bc65997b4ffe353d8d740f823011b | [
"MIT"
] | null | null | null | from model import Model
from videoCapture import VideoCapture
from canvas import Canvas
from rectangle import Rectangle
from text import Text
| 23.666667 | 37 | 0.859155 | 20 | 142 | 6.1 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 142 | 5 | 38 | 28.4 | 1 | 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 | 1 | 0 | 0 | 5 |
9e0b0160e46a214d44a5cf9fc21aa375585f1889 | 119 | py | Python | rafiki/container/__init__.py | airlovelq/rafiki | 7cb81d4445102b7f8255e703f66c1b4161330d7e | [
"Apache-2.0"
] | null | null | null | rafiki/container/__init__.py | airlovelq/rafiki | 7cb81d4445102b7f8255e703f66c1b4161330d7e | [
"Apache-2.0"
] | null | null | null | rafiki/container/__init__.py | airlovelq/rafiki | 7cb81d4445102b7f8255e703f66c1b4161330d7e | [
"Apache-2.0"
] | 1 | 2019-10-14T03:39:18.000Z | 2019-10-14T03:39:18.000Z | from .container_manager import ContainerManager, ContainerService
from .docker_swarm import DockerSwarmContainerManager | 59.5 | 65 | 0.907563 | 11 | 119 | 9.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 119 | 2 | 66 | 59.5 | 0.954955 | 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 | 1 | 0 | 0 | 5 |
9e14f4879e49d349d640f877d0814ea3895830b1 | 2,589 | py | Python | codeshare/instrumenting_native_android_functions_using_frida.py | FreaxW/frida-repos | 3490c18307c9c0f9a7476de66aa8f3ec69ee321f | [
"MIT"
] | 4 | 2021-08-17T02:35:33.000Z | 2021-10-22T03:41:38.000Z | codeshare/instrumenting_native_android_functions_using_frida.py | FreaxW/frida-repos | 3490c18307c9c0f9a7476de66aa8f3ec69ee321f | [
"MIT"
] | null | null | null | codeshare/instrumenting_native_android_functions_using_frida.py | FreaxW/frida-repos | 3490c18307c9c0f9a7476de66aa8f3ec69ee321f | [
"MIT"
] | 1 | 2021-07-05T09:37:48.000Z | 2021-07-05T09:37:48.000Z | import frida
import sys
package_name = "com.devadvance.rootinspector"
def get_messages_from_js(message, data): #print(message)
print(message['payload'])
def instrument_debugger_checks():
hook_code = """
var didHookApis = false;
Interceptor.attach(Module.findExportByName(null, 'dlopen'), {
... | 2,589 | 2,589 | 0.64156 | 250 | 2,589 | 6.44 | 0.344 | 0.072671 | 0.145342 | 0.193789 | 0.534161 | 0.534161 | 0.512422 | 0.512422 | 0.512422 | 0.512422 | 0 | 0.011564 | 0.23175 | 2,589 | 1 | 2,589 | 2,589 | 0.797888 | 0.032445 | 0 | 0.362319 | 0 | 0.014493 | 0.822613 | 0.385937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.028986 | 0 | 0.072464 | 0.014493 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f533333294d36c715c8d4a5d61e6bd514dd2284c | 183 | py | Python | wechat_django/pay/models/__init__.py | UltraVacuum/wechat-django | 0ea243067f5bc5e69cab6c4585d5e46d9399a583 | [
"MIT"
] | 166 | 2019-02-23T10:19:33.000Z | 2022-02-03T06:50:15.000Z | wechat_django/pay/models/__init__.py | UltraVacuum/wechat-django | 0ea243067f5bc5e69cab6c4585d5e46d9399a583 | [
"MIT"
] | 19 | 2019-05-07T07:28:32.000Z | 2021-06-02T06:56:03.000Z | wechat_django/pay/models/__init__.py | UltraVacuum/wechat-django | 0ea243067f5bc5e69cab6c4585d5e46d9399a583 | [
"MIT"
] | 54 | 2019-02-27T07:55:57.000Z | 2021-09-02T06:47:51.000Z | # -*- coding: utf-8 -*-
# flake8: noqa
from __future__ import unicode_literals
from .app import WeChatPay
from .order import UnifiedOrder
from .orderresult import UnifiedOrderResult
| 22.875 | 43 | 0.786885 | 22 | 183 | 6.318182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.136612 | 183 | 7 | 44 | 26.142857 | 0.867089 | 0.185792 | 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 | 1 | 0 | 0 | 5 |
f53b57bfbd38e3122c34f6cd687d399a4154502f | 36 | py | Python | training/src/hello.py | anvelezec/maderapp | c6c6718ac1022723a335eaa2686997ec68ffc404 | [
"MIT"
] | null | null | null | training/src/hello.py | anvelezec/maderapp | c6c6718ac1022723a335eaa2686997ec68ffc404 | [
"MIT"
] | null | null | null | training/src/hello.py | anvelezec/maderapp | c6c6718ac1022723a335eaa2686997ec68ffc404 | [
"MIT"
] | null | null | null | # src/hello.py
print("Hello world!") | 18 | 21 | 0.694444 | 6 | 36 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 2 | 21 | 18 | 0.757576 | 0.333333 | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f5548d88d77b87a28aff38c4d6c3da931908a0ed | 111 | py | Python | proj-flask_app_basic/basicapp/scripts/launcher.py | HarmonicHemispheres/LearnPythonThruRef | 33abb6a83c63f1200a1bd911368f9fac460d432e | [
"MIT"
] | null | null | null | proj-flask_app_basic/basicapp/scripts/launcher.py | HarmonicHemispheres/LearnPythonThruRef | 33abb6a83c63f1200a1bd911368f9fac460d432e | [
"MIT"
] | null | null | null | proj-flask_app_basic/basicapp/scripts/launcher.py | HarmonicHemispheres/LearnPythonThruRef | 33abb6a83c63f1200a1bd911368f9fac460d432e | [
"MIT"
] | null | null | null |
from basicapp.client.app import create_app
def main():
print("------launching------")
create_app()
| 12.333333 | 42 | 0.612613 | 13 | 111 | 5.076923 | 0.769231 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 111 | 8 | 43 | 13.875 | 0.725275 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f5577d2e736ca27ac9cefd296ac7408ab3678b89 | 66 | py | Python | qkd/protocols/b92/__init__.py | stephendiadamo/qkd_error_recon | cb21f4764ab4bd3dad4db7f0d61164d2457731c5 | [
"MIT"
] | null | null | null | qkd/protocols/b92/__init__.py | stephendiadamo/qkd_error_recon | cb21f4764ab4bd3dad4db7f0d61164d2457731c5 | [
"MIT"
] | null | null | null | qkd/protocols/b92/__init__.py | stephendiadamo/qkd_error_recon | cb21f4764ab4bd3dad4db7f0d61164d2457731c5 | [
"MIT"
] | 3 | 2021-07-22T14:12:28.000Z | 2021-09-08T12:33:53.000Z | from .b92_realistic import KeySenderProtocol, KeyReceiverProtocol
| 33 | 65 | 0.893939 | 6 | 66 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.075758 | 66 | 1 | 66 | 66 | 0.918033 | 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 | 1 | 0 | 0 | 5 |
f572daa1ba023aab8aa85fe74eafcf4aa91b8c3f | 2,263 | py | Python | test/test_server/server.py | thecodesome/libwebler | 038f1cf9d42fbf3c35122c0648069b770246bb7f | [
"MIT"
] | null | null | null | test/test_server/server.py | thecodesome/libwebler | 038f1cf9d42fbf3c35122c0648069b770246bb7f | [
"MIT"
] | null | null | null | test/test_server/server.py | thecodesome/libwebler | 038f1cf9d42fbf3c35122c0648069b770246bb7f | [
"MIT"
] | 1 | 2018-08-22T09:40:20.000Z | 2018-08-22T09:40:20.000Z | from flask import Flask,request,jsonify,render_template,request,jsonify,make_response,redirect
app = Flask(__name__)
port = 3000
def getPrefix(arr):
s = ''
for a in arr[:-1]:
s += a + '/'
s += arr[-1]
return s
@app.route("/first/")
def first_link():
return render_template('first_page.htm... | 38.355932 | 109 | 0.677861 | 382 | 2,263 | 3.89267 | 0.123037 | 0.072629 | 0.096839 | 0.112979 | 0.756557 | 0.732347 | 0.705447 | 0.675857 | 0.643578 | 0.608608 | 0 | 0.087996 | 0.076005 | 2,263 | 59 | 110 | 38.355932 | 0.623147 | 0 | 0 | 0 | 0 | 0.045455 | 0.291519 | 0.262809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.022727 | 0.25 | 0.568182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
19160a5b5f63c1a752523ad768b27de7167748a1 | 57 | py | Python | PythonScript/PythonIntermedio/cap_6/sustitucionEnPython.py | FranklinA/CoursesAndSelfStudy | 63a699d6df7eef52190b608e2dd5728f7aa7264a | [
"MIT"
] | null | null | null | PythonScript/PythonIntermedio/cap_6/sustitucionEnPython.py | FranklinA/CoursesAndSelfStudy | 63a699d6df7eef52190b608e2dd5728f7aa7264a | [
"MIT"
] | null | null | null | PythonScript/PythonIntermedio/cap_6/sustitucionEnPython.py | FranklinA/CoursesAndSelfStudy | 63a699d6df7eef52190b608e2dd5728f7aa7264a | [
"MIT"
] | null | null | null | #
import re
print(re.sub(r"\d","*","mpang8uera990",2))
| 9.5 | 42 | 0.596491 | 9 | 57 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0.105263 | 57 | 5 | 43 | 11.4 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
1921b72dee8eed1087850c4e9d30d9be66b5a2d2 | 857 | py | Python | sdk/python/pulumi_hcloud/__init__.py | akoenig/pulumi-hcloud | fdbc21754c69f9bcffac6a880ab9cc7c4a1a0319 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-27T00:52:33.000Z | 2020-04-28T18:57:11.000Z | sdk/python/pulumi_hcloud/__init__.py | akoenig/pulumi-hcloud | fdbc21754c69f9bcffac6a880ab9cc7c4a1a0319 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-10-02T15:48:55.000Z | 2019-10-02T15:48:55.000Z | sdk/python/pulumi_hcloud/__init__.py | akoenig/pulumi-hcloud | fdbc21754c69f9bcffac6a880ab9cc7c4a1a0319 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-17T15:45:22.000Z | 2019-12-17T15:45:22.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import importlib
# Make subpackages available:
__all__ = ['config']
for pkg in __all__:
if pkg != 'config':
importlib.impor... | 28.566667 | 87 | 0.738623 | 124 | 857 | 4.870968 | 0.516129 | 0.264901 | 0.193709 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001397 | 0.164527 | 857 | 29 | 88 | 29.551724 | 0.842179 | 0.288215 | 0 | 0 | 1 | 0 | 0.046358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.863636 | 0 | 0.863636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
194ea5f5fc15f152f0ae643574fa02707ad7057d | 42 | py | Python | tests/__init__.py | research2use/game_control | 96a6d9e01a7d629423687b5632f9c8dbc03b3141 | [
"MIT"
] | null | null | null | tests/__init__.py | research2use/game_control | 96a6d9e01a7d629423687b5632f9c8dbc03b3141 | [
"MIT"
] | null | null | null | tests/__init__.py | research2use/game_control | 96a6d9e01a7d629423687b5632f9c8dbc03b3141 | [
"MIT"
] | null | null | null | """Unit test package for game_control."""
| 21 | 41 | 0.714286 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.783784 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
198b987f3e3abf8570911372e6c197ea5ff084cd | 108 | py | Python | 06/00/iter.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 06/00/iter.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 06/00/iter.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | d = {}; print(len(d))
d = {'k1':'v1', 'k2':'v2'}; print(len(d))
print(iter(d))
for i in iter(d): print(i)
| 15.428571 | 41 | 0.509259 | 22 | 108 | 2.5 | 0.5 | 0.327273 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.157407 | 108 | 6 | 42 | 18 | 0.56044 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 5 |
198c14395a26fe708119766541f7ca63f196c861 | 25 | py | Python | ptdg/__init__.py | cniemira/ptdg | 02818ff02798ce5595a40af9f1ee3c30f2c29d76 | [
"MIT"
] | null | null | null | ptdg/__init__.py | cniemira/ptdg | 02818ff02798ce5595a40af9f1ee3c30f2c29d76 | [
"MIT"
] | null | null | null | ptdg/__init__.py | cniemira/ptdg | 02818ff02798ce5595a40af9f1ee3c30f2c29d76 | [
"MIT"
] | null | null | null | from .server import main
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5fd8e93c661fe6d10f6d958596c386ab9a602be2 | 87 | py | Python | pynetbox/core/util.py | jsenecal/pynetbox | 5cc08971bb37add2d086a65ff90ce684f7cb8936 | [
"Apache-2.0"
] | 264 | 2017-06-29T10:25:15.000Z | 2021-04-13T09:14:57.000Z | pynetbox/core/util.py | jixianbo/pynetbox | 4c3b0f820be2d9d9fb53c52e5ab3b2d541f16e68 | [
"Apache-2.0"
] | 278 | 2017-07-17T17:46:16.000Z | 2021-04-16T17:22:27.000Z | pynetbox/core/util.py | jixianbo/pynetbox | 4c3b0f820be2d9d9fb53c52e5ab3b2d541f16e68 | [
"Apache-2.0"
] | 129 | 2017-07-07T21:56:46.000Z | 2021-03-12T20:19:18.000Z | class Hashabledict(dict):
def __hash__(self):
return hash(frozenset(self))
| 21.75 | 36 | 0.678161 | 10 | 87 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 87 | 3 | 37 | 29 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
5fd92e26196f5316628c59f013b23ec0d54bd94b | 13 | py | Python | tests/connection_integration_tests/data/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | 1 | 2020-03-20T21:33:56.000Z | 2020-03-20T21:33:56.000Z | tests/connection_integration_tests/data/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | 1 | 2020-03-22T03:48:45.000Z | 2020-03-22T03:48:45.000Z | tests/connection_integration_tests/data/__init__.py | ZacharyATanenbaum/service_framework | b5dde4407998350d1b7ad09284110b986fd4e12a | [
"MIT"
] | null | null | null | """ SIGH """
| 6.5 | 12 | 0.307692 | 1 | 13 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 13 | 1 | 13 | 13 | 0.4 | 0.307692 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ff2eb6cbb0af1daca9dfb8eda35180456cf40bc | 40 | py | Python | Warmup/Q09 - Birthday Cake Candles/python.py | utkarshg6/SMVDU-HackerRank | 1f8764be28cd8170841b134bcf9c68e349ba79bc | [
"MIT"
] | 2 | 2018-07-01T21:12:59.000Z | 2018-09-05T16:05:24.000Z | Warmup/Q09 - Birthday Cake Candles/python.py | utkarshg6/SMVDU-HackerRank | 1f8764be28cd8170841b134bcf9c68e349ba79bc | [
"MIT"
] | 4 | 2018-02-20T06:45:49.000Z | 2018-03-29T20:55:53.000Z | Warmup/Q09 - Birthday Cake Candles/python.py | utkarshg6/SMVDU-HackerRank | 1f8764be28cd8170841b134bcf9c68e349ba79bc | [
"MIT"
] | 3 | 2018-02-19T11:35:30.000Z | 2018-03-27T15:23:18.000Z | #Q09 - Birthday Cake Candles || Warmup | 40 | 40 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 40 | 1 | 40 | 40 | 0.8125 | 0.975 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
270c9d833b0a4ad9519f7c5994f800528f9b8595 | 213 | py | Python | weather/templatetags/tags.py | javitocor/Weather-App-Django | e816485663047950c622b6f6596d4b82941017c3 | [
"MIT"
] | 2 | 2021-09-07T11:51:47.000Z | 2021-09-07T18:40:24.000Z | weather/templatetags/tags.py | javitocor/Weather-App-Django | e816485663047950c622b6f6596d4b82941017c3 | [
"MIT"
] | null | null | null | weather/templatetags/tags.py | javitocor/Weather-App-Django | e816485663047950c622b6f6596d4b82941017c3 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter('timestamp_to_time')
def timestamp_to_time(timestamp):
import datetime
return datetime.date.fromtimestamp(int(timestamp)) | 30.428571 | 54 | 0.769953 | 25 | 213 | 6.4 | 0.64 | 0.1375 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 213 | 7 | 54 | 30.428571 | 0.874317 | 0 | 0 | 0 | 0 | 0 | 0.079439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
27322b13fda5feae91ae1cfc420e1e9c690b295d | 195 | py | Python | cap-4/__name__==__main__/foo.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-4/__name__==__main__/foo.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | cap-4/__name__==__main__/foo.py | igoradriano/manipulacao-dados-python-bd | e3e47f15529d98e5c5887ebbb93c48924fceb665 | [
"MIT"
] | null | null | null | if __name__ == '__main__':
print("Estou sendo Executado diretamente no terminal")
print(__name__)
else:
print("Estou sendo importado e executado por outro código")
print(__name__) | 32.5 | 63 | 0.723077 | 24 | 195 | 5.208333 | 0.666667 | 0.16 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 195 | 6 | 64 | 32.5 | 0.786164 | 0 | 0 | 0.333333 | 0 | 0 | 0.52551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 5 |
2735593e97d553bea867b1bb3068a7aa5d43539f | 156 | py | Python | slide_11.py | JakeRoggenbuck/strategy_presentation_numpy | 6f5303c65c3a73cae1a0e0283a88c4f57694a08c | [
"MIT"
] | null | null | null | slide_11.py | JakeRoggenbuck/strategy_presentation_numpy | 6f5303c65c3a73cae1a0e0283a88c4f57694a08c | [
"MIT"
] | null | null | null | slide_11.py | JakeRoggenbuck/strategy_presentation_numpy | 6f5303c65c3a73cae1a0e0283a88c4f57694a08c | [
"MIT"
] | null | null | null | # Not runnable
end_point = "team/frc254"
url = f"https://www.thebluealliance.com/api/v3/{end_point}"
"https://www.thebluealliance.com/api/v3/team/frc254"
| 22.285714 | 59 | 0.737179 | 24 | 156 | 4.708333 | 0.583333 | 0.141593 | 0.40708 | 0.460177 | 0.548673 | 0.548673 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.076923 | 156 | 6 | 60 | 26 | 0.729167 | 0.076923 | 0 | 0 | 0 | 0 | 0.78169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
274022d47c87deea456958ab2e9b2122c30d30aa | 783 | py | Python | Practice/frontend/myapp/models.py | TanmayHiremath/Traffic-Man | 2c44780b336fd99fc6d4a4914a1c0a9716b19d3f | [
"MIT"
] | null | null | null | Practice/frontend/myapp/models.py | TanmayHiremath/Traffic-Man | 2c44780b336fd99fc6d4a4914a1c0a9716b19d3f | [
"MIT"
] | null | null | null | Practice/frontend/myapp/models.py | TanmayHiremath/Traffic-Man | 2c44780b336fd99fc6d4a4914a1c0a9716b19d3f | [
"MIT"
] | 1 | 2020-06-27T14:15:55.000Z | 2020-06-27T14:15:55.000Z | from django.db import models
# Create your models here.
class Image(models.Model):
picture=models.ImageField()
sn=models.IntegerField(default=1)
def __str__(self):
return str(self.sn)
class CurrentImages(models.Model):
img0=models.IntegerField(default=1)
img1=models.IntegerFie... | 34.043478 | 59 | 0.681992 | 91 | 783 | 5.769231 | 0.43956 | 0.205714 | 0.285714 | 0.247619 | 0.095238 | 0.095238 | 0.095238 | 0 | 0 | 0 | 0 | 0.022617 | 0.209451 | 783 | 23 | 60 | 34.043478 | 0.825525 | 0.030651 | 0 | 0.210526 | 0 | 0 | 0.006596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0.105263 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2758cc69acd6610c0bcef6c410c914e30f100410 | 53 | py | Python | walkmate/__init__.py | JoelLefkowitz/walker | a6019cd15425df807dc368716aa5f868a11fe139 | [
"MIT"
] | 2 | 2021-02-03T02:32:30.000Z | 2021-08-03T17:34:11.000Z | walkmate/__init__.py | JoelLefkowitz/walker | a6019cd15425df807dc368716aa5f868a11fe139 | [
"MIT"
] | 1 | 2021-06-02T04:08:24.000Z | 2021-06-02T04:08:24.000Z | walkmate/__init__.py | JoelLefkowitz/walkmate | a6019cd15425df807dc368716aa5f868a11fe139 | [
"MIT"
] | null | null | null | from .files import get_child_files, walk_child_files
| 26.5 | 52 | 0.867925 | 9 | 53 | 4.666667 | 0.666667 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
27828b24f0a52b56fd68e148d71b56d3c6208fee | 153 | py | Python | nsz/gui/GuiPath.py | teknoraver/nsz | 5c22eeccafec29a6d456a58a23006dddb9d620e7 | [
"MIT"
] | 418 | 2019-10-13T06:01:45.000Z | 2022-03-30T13:56:39.000Z | nsz/gui/GuiPath.py | teknoraver/nsz | 5c22eeccafec29a6d456a58a23006dddb9d620e7 | [
"MIT"
] | 95 | 2019-10-11T14:02:11.000Z | 2022-01-13T14:34:19.000Z | nsz/gui/GuiPath.py | teknoraver/nsz | 5c22eeccafec29a6d456a58a23006dddb9d620e7 | [
"MIT"
] | 56 | 2019-10-13T03:05:19.000Z | 2022-02-09T14:03:53.000Z | from pathlib import Path
guiPath = Path(__file__).parent.resolve()
def getGuiPath(relativePath):
return str(guiPath.joinpath(relativePath).resolve())
| 21.857143 | 53 | 0.79085 | 18 | 153 | 6.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091503 | 153 | 6 | 54 | 25.5 | 0.841727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
2798ddaa5071b073352997f714ed819d27a7c134 | 174 | py | Python | setup.py | teonistor/py-beams | 2b954bc000607cc2b4cd56ac080da90c889f1643 | [
"MIT"
] | 3 | 2019-11-11T13:25:34.000Z | 2021-02-04T14:15:12.000Z | setup.py | teonistor/beamr | 2b954bc000607cc2b4cd56ac080da90c889f1643 | [
"MIT"
] | null | null | null | setup.py | teonistor/beamr | 2b954bc000607cc2b4cd56ac080da90c889f1643 | [
"MIT"
] | null | null | null | '''
Created on 6 Mar 2018
@author: Teodor G Nistor
'''
from setuptools import setup, find_packages
from beamr import setup_arg
setup(packages=find_packages(), **setup_arg)
| 17.4 | 44 | 0.764368 | 26 | 174 | 4.961538 | 0.653846 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.137931 | 174 | 9 | 45 | 19.333333 | 0.826667 | 0.270115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
27a57cd4f4b795c2dfe3ca647398eda26ed43554 | 1,039 | py | Python | app.py | stuartmunn/socket_control | 96c3321fd5c7c27027ef22424d4aa3f392da4d72 | [
"Unlicense"
] | null | null | null | app.py | stuartmunn/socket_control | 96c3321fd5c7c27027ef22424d4aa3f392da4d72 | [
"Unlicense"
] | 1 | 2016-02-03T17:36:07.000Z | 2016-02-04T21:45:31.000Z | app.py | stuartmunn/socket_control | 96c3321fd5c7c27027ef22424d4aa3f392da4d72 | [
"Unlicense"
] | null | null | null | from flask import Flask, render_template
import RPi.GPIO as GPIO
import time
from energenie import switch_on, switch_off
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/on1/')
def on1():
switch_on(1)
return render_template('index.html')
@app.route('/... | 18.22807 | 60 | 0.658325 | 151 | 1,039 | 4.317881 | 0.278146 | 0.214724 | 0.276074 | 0.345092 | 0.510736 | 0.510736 | 0.46319 | 0.349693 | 0 | 0 | 0 | 0.036655 | 0.159769 | 1,039 | 56 | 61 | 18.553571 | 0.710195 | 0.018287 | 0 | 0.214286 | 0 | 0 | 0.147348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.095238 | 0.02381 | 0.52381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
27b9e62badcfdaf56cfb083cd73a54c929fa554b | 43 | py | Python | enthought/traits/ui/item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/item.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.item import *
| 14.333333 | 27 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 28 | 21.5 | 0.916667 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
27ce086d51c68688e9df87411eb5c2983af02434 | 147 | py | Python | pq/__init__.py | quantmind/pulsar-queue | 26ec8cbc291a830bd338c31f8a129cbd15f87a69 | [
"BSD-3-Clause"
] | 64 | 2015-09-25T19:28:17.000Z | 2022-02-15T20:52:03.000Z | pq/__init__.py | quantmind/pulsar-queue | 26ec8cbc291a830bd338c31f8a129cbd15f87a69 | [
"BSD-3-Clause"
] | 16 | 2015-09-23T13:35:10.000Z | 2017-11-25T09:32:15.000Z | pq/__init__.py | quantmind/pulsar-queue | 26ec8cbc291a830bd338c31f8a129cbd15f87a69 | [
"BSD-3-Clause"
] | 11 | 2015-10-01T14:39:36.000Z | 2021-12-31T06:57:49.000Z | """Asynchronous task queue"""
from .utils.version import get_version
VERSION = (0, 6, 0, 'final', 0)
__version__ = get_version(VERSION, __file__)
| 24.5 | 44 | 0.727891 | 20 | 147 | 4.85 | 0.6 | 0.206186 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.129252 | 147 | 5 | 45 | 29.4 | 0.726563 | 0.156463 | 0 | 0 | 0 | 0 | 0.042373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
27ec232f027f48b97b835d8501584f8d8a81fa9b | 11,087 | py | Python | optim/optimizer.py | cuongpxu/continual-learning | 0f799ddc0efe7e6df7038d2e97303add8d5e01fd | [
"MIT"
] | null | null | null | optim/optimizer.py | cuongpxu/continual-learning | 0f799ddc0efe7e6df7038d2e97303add8d5e01fd | [
"MIT"
] | null | null | null | optim/optimizer.py | cuongpxu/continual-learning | 0f799ddc0efe7e6df7038d2e97303add8d5e01fd | [
"MIT"
] | null | null | null | import torch
import math
from torch.optim.optimizer import Optimizer
class AdLR(Optimizer):
r"""Implements the algorithm proposed in the paper "A novel adaptive learning rate algorithm for CNN training"
Author: S.V. Georgakopoulos and V.P. Plagianakos
Args:
params (iterable): iterable of parameter... | 41.680451 | 136 | 0.556778 | 1,350 | 11,087 | 4.445185 | 0.137037 | 0.041326 | 0.043326 | 0.023329 | 0.768205 | 0.749708 | 0.723879 | 0.722213 | 0.704549 | 0.671888 | 0 | 0.026196 | 0.328583 | 11,087 | 265 | 137 | 41.837736 | 0.779957 | 0.20294 | 0 | 0.63354 | 0 | 0 | 0.062274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055901 | false | 0 | 0.018634 | 0 | 0.111801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
27ffe5d90c2d24711e625c2273a760cf9fd39e9c | 330 | py | Python | src/icemac/ab/importer/tests/test_importer.py | icemac/icemac.ab.importer | 05a80bf28a389a32acfdf4ba4a8a9add4e8fd3b5 | [
"BSD-2-Clause"
] | 1 | 2020-04-25T08:19:21.000Z | 2020-04-25T08:19:21.000Z | src/icemac/ab/importer/tests/test_importer.py | icemac/icemac.ab.importer | 05a80bf28a389a32acfdf4ba4a8a9add4e8fd3b5 | [
"BSD-2-Clause"
] | 2 | 2020-02-22T08:31:50.000Z | 2020-02-22T08:33:04.000Z | src/icemac/ab/importer/tests/test_importer.py | icemac/icemac.ab.importer | 05a80bf28a389a32acfdf4ba4a8a9add4e8fd3b5 | [
"BSD-2-Clause"
] | null | null | null | import zope.interface.verify
import icemac.ab.importer.interfaces
import icemac.ab.importer.importer
def test_importer__Importer__1():
"""It fulfills the `IImporter` interface."""
assert zope.interface.verify.verifyObject(
icemac.ab.importer.interfaces.IImporter,
icemac.ab.importer.importer.Im... | 30 | 48 | 0.760606 | 39 | 330 | 6.307692 | 0.435897 | 0.130081 | 0.260163 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.130303 | 330 | 10 | 49 | 33 | 0.853659 | 0.115152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | true | 0 | 0.857143 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7e08a9724a3ea755a67a44f149f711cf34fb1f73 | 95 | py | Python | django/FishTank/FishTankApp/admin.py | joshvillbrandt/FishTankApp | beb04400f612905a6df84f1eb4c565301301f868 | [
"Apache-2.0"
] | 2 | 2015-10-01T22:09:58.000Z | 2017-05-03T14:24:36.000Z | django/FishTank/FishTankApp/admin.py | joshvillbrandt/FishTankApp | beb04400f612905a6df84f1eb4c565301301f868 | [
"Apache-2.0"
] | null | null | null | django/FishTank/FishTankApp/admin.py | joshvillbrandt/FishTankApp | beb04400f612905a6df84f1eb4c565301301f868 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from FishTankApp.models import *
admin.site.register(DataLog) | 23.75 | 32 | 0.831579 | 13 | 95 | 6.076923 | 0.769231 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 95 | 4 | 33 | 23.75 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fd76035fdc4d12bf1f66d655f4df5b3de1c4ddb3 | 194 | py | Python | discodo/client/__init__.py | eunwoo1104/discodo | 699250d4fb62d970acd2573a5d967966872b7403 | [
"MIT"
] | 105 | 2020-06-21T23:37:20.000Z | 2022-02-11T14:27:07.000Z | discodo/client/__init__.py | eunwoo1104/discodo | 699250d4fb62d970acd2573a5d967966872b7403 | [
"MIT"
] | 116 | 2020-07-12T03:55:24.000Z | 2022-03-31T23:02:54.000Z | discodo/client/__init__.py | eunwoo1104/discodo | 699250d4fb62d970acd2573a5d967966872b7403 | [
"MIT"
] | 32 | 2020-07-12T03:38:35.000Z | 2022-02-02T23:03:29.000Z | from . import models
from .node import Node, Nodes
from .voice_client import VoiceClient
try:
import discord
except ModuleNotFoundError:
pass
else:
from .DPYClient import DPYClient
| 17.636364 | 37 | 0.768041 | 24 | 194 | 6.166667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190722 | 194 | 10 | 38 | 19.4 | 0.942675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.555556 | 0 | 0.555556 | 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 | 1 | 0 | 0 | 5 |
fd8132cae51b1ca463366a43ef984f4b3f865080 | 48 | py | Python | misc/benchmarks/simpleLoopAddition/simpleLoop.py | maxywb/Anvil | 793793bdaf280e3eb461c22cb175c492424fb3cb | [
"MIT"
] | 3 | 2015-11-07T11:55:25.000Z | 2016-06-02T12:15:53.000Z | misc/benchmarks/simpleLoopAddition/simpleLoop.py | maxywb/Anvil | 793793bdaf280e3eb461c22cb175c492424fb3cb | [
"MIT"
] | null | null | null | misc/benchmarks/simpleLoopAddition/simpleLoop.py | maxywb/Anvil | 793793bdaf280e3eb461c22cb175c492424fb3cb | [
"MIT"
] | null | null | null | x = 0;
for i in range(1000000):
x = x + 1;
| 6.857143 | 24 | 0.479167 | 10 | 48 | 2.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 0.354167 | 48 | 6 | 25 | 8 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fdc5a2124901d1befa647d5894cc202081df4df5 | 55 | py | Python | talk2car/modules/__init__.py | ThierryDeruyttere/VL-BERT-Talk2Car | 7002f2159d4974af62e56e9be2f43ac45b70d04a | [
"MIT"
] | 1 | 2021-09-18T16:57:29.000Z | 2021-09-18T16:57:29.000Z | talk2car/modules/__init__.py | ThierryDeruyttere/VL-BERT-Talk2Car | 7002f2159d4974af62e56e9be2f43ac45b70d04a | [
"MIT"
] | null | null | null | talk2car/modules/__init__.py | ThierryDeruyttere/VL-BERT-Talk2Car | 7002f2159d4974af62e56e9be2f43ac45b70d04a | [
"MIT"
] | null | null | null | from .resnet_vlbert_for_talk2car import ResNetVLBERT
| 13.75 | 52 | 0.872727 | 7 | 55 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.109091 | 55 | 3 | 53 | 18.333333 | 0.897959 | 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 | 1 | 0 | 0 | 5 |
fdefea8a6e10bfcf30a095c4a479128f8974e572 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/array_like.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/array_like.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/array_like.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/eb/24/d4/e0bb6ceef7d3aa0d220e6106359356da3ec729da820102f8ba8ea7efac | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 0 | 96 | 1 | 96 | 96 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fdfce7ad62fa155ab3abbfd4456211927dbc6bfc | 85 | py | Python | backend/src/__init__.py | aar015/2048-deep-rl | 9c8a9c5b43378658b4ff375bb53771213ee046b4 | [
"MIT"
] | null | null | null | backend/src/__init__.py | aar015/2048-deep-rl | 9c8a9c5b43378658b4ff375bb53771213ee046b4 | [
"MIT"
] | null | null | null | backend/src/__init__.py | aar015/2048-deep-rl | 9c8a9c5b43378658b4ff375bb53771213ee046b4 | [
"MIT"
] | null | null | null | """Source code for 2048 deep reinforcement player."""
from .index import app # noqa
| 28.333333 | 53 | 0.729412 | 12 | 85 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.164706 | 85 | 2 | 54 | 42.5 | 0.816901 | 0.623529 | 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 | 1 | 0 | 0 | 5 |
fdfda2e889ff88299c172ce2fcc8fc3f2ca62ce6 | 99 | py | Python | scripts/convert_absolute_urls_to_relative.py | spencerc99/hugo-website | f58c9ea888ac80b24871b70dfcf329365f31d463 | [
"MIT"
] | 1 | 2020-04-29T04:19:49.000Z | 2020-04-29T04:19:49.000Z | scripts/convert_absolute_urls_to_relative.py | spencerc99/hugo-website | f58c9ea888ac80b24871b70dfcf329365f31d463 | [
"MIT"
] | null | null | null | scripts/convert_absolute_urls_to_relative.py | spencerc99/hugo-website | f58c9ea888ac80b24871b70dfcf329365f31d463 | [
"MIT"
] | null | null | null | # TODO: use the regexes in find_linked_articles to convert absolute urls to this site to relative.
| 49.5 | 98 | 0.808081 | 17 | 99 | 4.588235 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 1 | 99 | 99 | 0.939759 | 0.969697 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e32080debd1cdcb499693cecfa2aee66e7ba853c | 112 | py | Python | runserver.py | rahulrrixe/libcloud.repl | b70f8d742af08e42afe1f5a9e91f329518b45f00 | [
"Apache-2.0"
] | 1 | 2015-04-15T09:56:42.000Z | 2015-04-15T09:56:42.000Z | runserver.py | rahulrrixe/libcloud.repl | b70f8d742af08e42afe1f5a9e91f329518b45f00 | [
"Apache-2.0"
] | null | null | null | runserver.py | rahulrrixe/libcloud.repl | b70f8d742af08e42afe1f5a9e91f329518b45f00 | [
"Apache-2.0"
] | null | null | null | # Import your application as:
# from app import application
# Example:
from app import app
app.run(debug=True)
| 16 | 29 | 0.758929 | 17 | 112 | 5 | 0.588235 | 0.164706 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 112 | 6 | 30 | 18.666667 | 0.904255 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e3458fa7c24bdd13203299066333e7deec1de0dc | 150 | py | Python | finnhub/__init__.py | b3ll4t0r/finnhub-python | c4ef8d47042e62b6dd22494545172acf36c58d9c | [
"Apache-2.0"
] | 298 | 2020-06-06T16:24:59.000Z | 2022-03-27T05:02:43.000Z | finnhub/__init__.py | b3ll4t0r/finnhub-python | c4ef8d47042e62b6dd22494545172acf36c58d9c | [
"Apache-2.0"
] | 37 | 2020-06-20T16:18:55.000Z | 2022-02-19T15:23:46.000Z | finnhub/__init__.py | b3ll4t0r/finnhub-python | c4ef8d47042e62b6dd22494545172acf36c58d9c | [
"Apache-2.0"
] | 56 | 2020-06-24T19:03:42.000Z | 2022-03-29T18:12:37.000Z | from __future__ import absolute_import
from finnhub.client import Client
from finnhub.exceptions import FinnhubAPIException, FinnhubRequestException
| 30 | 75 | 0.886667 | 16 | 150 | 8 | 0.5625 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 150 | 4 | 76 | 37.5 | 0.941176 | 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 | 1 | 0 | 0 | 5 |
e377e6b2ec7fa3a234e68b2e4f20345be00d4a01 | 149 | py | Python | Python/MVC/Django/SimpleMessageBoardDone/board/admin.py | UndreamtMayhem/Back-End-Dev | 742849277303a379947706bc39295c1897f66c85 | [
"MIT"
] | null | null | null | Python/MVC/Django/SimpleMessageBoardDone/board/admin.py | UndreamtMayhem/Back-End-Dev | 742849277303a379947706bc39295c1897f66c85 | [
"MIT"
] | null | null | null | Python/MVC/Django/SimpleMessageBoardDone/board/admin.py | UndreamtMayhem/Back-End-Dev | 742849277303a379947706bc39295c1897f66c85 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Topic, Post
admin.site.register(Topic)
admin.site.register(Post) | 21.285714 | 32 | 0.791946 | 22 | 149 | 5.363636 | 0.545455 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120805 | 149 | 7 | 33 | 21.285714 | 0.900763 | 0.174497 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8b72f075f7c5ef64e8a6488eb32ed11c3efb7a65 | 113 | py | Python | django_crossdb_foreignkey/__init__.py | varuna-sd/django-crossdb-foreignkey | 39cf8e5fc47b1cd1bb92f5455561b82cabcf7188 | [
"MIT"
] | null | null | null | django_crossdb_foreignkey/__init__.py | varuna-sd/django-crossdb-foreignkey | 39cf8e5fc47b1cd1bb92f5455561b82cabcf7188 | [
"MIT"
] | null | null | null | django_crossdb_foreignkey/__init__.py | varuna-sd/django-crossdb-foreignkey | 39cf8e5fc47b1cd1bb92f5455561b82cabcf7188 | [
"MIT"
] | 1 | 2021-06-03T12:03:53.000Z | 2021-06-03T12:03:53.000Z | """Initialize django-crossdb-foreignkey package."""
from .fields import CrossDBForeignKey, CrossDBOneToOneField
| 28.25 | 59 | 0.823009 | 10 | 113 | 9.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 113 | 3 | 60 | 37.666667 | 0.894231 | 0.39823 | 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 | 1 | 0 | 0 | 5 |
8b817348375dc659c32eaac6f6c44fa22ce1899c | 259 | py | Python | experiment/core/losses/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | 1 | 2021-05-06T11:51:33.000Z | 2021-05-06T11:51:33.000Z | experiment/core/losses/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | null | null | null | experiment/core/losses/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | null | null | null | from core.losses.cross_entropy_loss import CrossEntropyLoss
from core.losses.dice_loss import FocalDiceLoss
from core.losses.linear_chain_crf import LinearChainCRF
from core.losses.aggregator import AggregatorLoss
from core.losses.focal_loss import FocalLoss
| 43.166667 | 59 | 0.88417 | 36 | 259 | 6.194444 | 0.5 | 0.179372 | 0.313901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07722 | 259 | 5 | 60 | 51.8 | 0.933054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8ba8742804bdc50f76f505734cac3470916b495d | 141 | py | Python | commands/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | 1 | 2016-03-03T17:37:27.000Z | 2016-03-03T17:37:27.000Z | commands/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | null | null | null | commands/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | null | null | null | from command_base import CommandBase
from bcbcommand import BcbCommand
from echo import Echo
from test import Test
from lights import Lights
| 23.5 | 36 | 0.858156 | 21 | 141 | 5.714286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 5 | 37 | 28.2 | 0.991736 | 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 | 1 | 0 | 0 | 5 |
4759bf55fd2405d2ce1726380d9f3eeb14cc16b5 | 255 | py | Python | python/training/image_adapter.py | sergiuiacob1/monet-photos | 4c11048cfba2f3a9f1df370b075b2abb8de0ab75 | [
"MIT"
] | null | null | null | python/training/image_adapter.py | sergiuiacob1/monet-photos | 4c11048cfba2f3a9f1df370b075b2abb8de0ab75 | [
"MIT"
] | null | null | null | python/training/image_adapter.py | sergiuiacob1/monet-photos | 4c11048cfba2f3a9f1df370b075b2abb8de0ab75 | [
"MIT"
] | 1 | 2020-10-27T07:18:26.000Z | 2020-10-27T07:18:26.000Z | class ImageAdapter:
@staticmethod
def to_network_input(dataset):
return (dataset - 127.5) / 127.5
@staticmethod
def to_image(normalized_images):
images = normalized_images * 127.5 + 127.5
return images.astype(int)
| 25.5 | 50 | 0.658824 | 31 | 255 | 5.258065 | 0.516129 | 0.09816 | 0.208589 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08377 | 0.25098 | 255 | 9 | 51 | 28.333333 | 0.769634 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
47652570f76d6f059892821f01016d31ca532642 | 163 | py | Python | hasker/qa/context_processors.py | kochnev/hacker | 17d95aa794c78251c9765ac6878d216aec85bbb4 | [
"MIT"
] | null | null | null | hasker/qa/context_processors.py | kochnev/hacker | 17d95aa794c78251c9765ac6878d216aec85bbb4 | [
"MIT"
] | null | null | null | hasker/qa/context_processors.py | kochnev/hacker | 17d95aa794c78251c9765ac6878d216aec85bbb4 | [
"MIT"
] | null | null | null | from .models import Question
def hot_questions(request):
questions = Question.objects.all().order_by('-rating')[:20]
return {'hot_questions': questions}
| 23.285714 | 63 | 0.723926 | 20 | 163 | 5.75 | 0.75 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014184 | 0.134969 | 163 | 6 | 64 | 27.166667 | 0.801418 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
47656cbec7d231cf69a7bcd1116481b2abd70d8a | 42 | py | Python | slackpdb/exceptions.py | coddingtonbear/slack-pdb | 651ca7e716c2c596c9cb1d382d9ad5aad7869cc3 | [
"BSD-2-Clause"
] | 2 | 2017-06-08T00:46:01.000Z | 2020-01-22T22:26:29.000Z | slackpdb/exceptions.py | coddingtonbear/slack-pdb | 651ca7e716c2c596c9cb1d382d9ad5aad7869cc3 | [
"BSD-2-Clause"
] | null | null | null | slackpdb/exceptions.py | coddingtonbear/slack-pdb | 651ca7e716c2c596c9cb1d382d9ad5aad7869cc3 | [
"BSD-2-Clause"
] | null | null | null |
class SlackpdbError(Exception):
pass
| 10.5 | 31 | 0.738095 | 4 | 42 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 32 | 14 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
47bae9b22e186a47d023ba0480bc084fba9de459 | 434 | py | Python | tests/test_linalg/test_solvers/cases/stopping_criteria.py | probabilistic-numerics/probnum | 93c26c935282b48cca4c4db72616f1e4ebad2266 | [
"MIT"
] | 226 | 2019-11-01T09:44:09.000Z | 2022-03-30T23:17:17.000Z | tests/test_linalg/test_solvers/cases/stopping_criteria.py | probabilistic-numerics/probnum | 93c26c935282b48cca4c4db72616f1e4ebad2266 | [
"MIT"
] | 590 | 2019-11-21T08:32:30.000Z | 2022-03-31T12:37:37.000Z | tests/test_linalg/test_solvers/cases/stopping_criteria.py | probabilistic-numerics/probnum | 93c26c935282b48cca4c4db72616f1e4ebad2266 | [
"MIT"
] | 39 | 2020-01-13T16:29:45.000Z | 2022-03-28T16:16:54.000Z | """Stopping criteria test cases."""
from pytest_cases import parametrize
from probnum.linalg.solvers import stopping_criteria
def case_maxiter():
return stopping_criteria.MaxIterationsStopCrit()
def case_residual_norm():
return stopping_criteria.ResidualNormStopCrit()
@parametrize("qoi", ["x", "Ainv", "... | 22.842105 | 66 | 0.78341 | 48 | 434 | 6.875 | 0.5625 | 0.242424 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 434 | 18 | 67 | 24.111111 | 0.857143 | 0.06682 | 0 | 0 | 0 | 0 | 0.022556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.222222 | 0.333333 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
47e0253e3a655cf3341d1a7207d4348b500eaf74 | 6,322 | py | Python | boa3_test/tests/test_arithmetic.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/test_arithmetic.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/test_arithmetic.py | jplippi/neo3-boa | 052be4adebb665113715bb80067d954f7ad85ad5 | [
"Apache-2.0"
] | null | null | null | from boa3.boa3 import Boa3
from boa3.exception.CompilerError import MismatchedTypes, NotSupportedOperation, UnresolvedReference
from boa3.neo.vm.opcode.Opcode import Opcode
from boa3_test.tests.boa_test import BoaTest
class TestArithmetic(BoaTest):
def test_addition_operation(self):
expected_output = (
... | 29.962085 | 100 | 0.572445 | 610 | 6,322 | 5.786885 | 0.127869 | 0.07932 | 0.038244 | 0.055241 | 0.798017 | 0.758074 | 0.717564 | 0.717564 | 0.709632 | 0.547309 | 0 | 0.024053 | 0.335811 | 6,322 | 210 | 101 | 30.104762 | 0.816623 | 0.027365 | 0 | 0.714286 | 0 | 0 | 0.143532 | 0.130499 | 0 | 0 | 0 | 0 | 0.089286 | 1 | 0.089286 | false | 0 | 0.02381 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9a1bcf1422368cbc8f0d7e849a9b3a5cbf86438b | 50 | py | Python | code_icc/scripts/cluster/baselines/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/scripts/cluster/baselines/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | code_icc/scripts/cluster/baselines/__init__.py | ThmCuong/IIC-Python3 | 5a02b40ffa07b159fa7e89cf5b4ed781f4798ff1 | [
"MIT"
] | null | null | null | from . import triplets_greyscale, triplets_sobel
| 25 | 49 | 0.84 | 6 | 50 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.909091 | 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 | 1 | 0 | 0 | 5 |
d0163cbff8720511c44a5519484d70321366ca59 | 259 | py | Python | Sloth/__init__.py | NewKnowledge/sloth | ed6c9011962f76a1ad1498a03af8b31ac75c6576 | [
"MIT"
] | null | null | null | Sloth/__init__.py | NewKnowledge/sloth | ed6c9011962f76a1ad1498a03af8b31ac75c6576 | [
"MIT"
] | 2 | 2018-11-26T23:17:15.000Z | 2019-04-17T21:39:20.000Z | Sloth/__init__.py | NewKnowledge/sloth | ed6c9011962f76a1ad1498a03af8b31ac75c6576 | [
"MIT"
] | null | null | null | from Sloth.cluster import KMeans
from Sloth.classify import Shapelets
from Sloth.classify import Knn
from Sloth.predict import Arima
__version__ = '2.0.6'
__all__ = [ 'KMeans',
'Shapelets',
'Knn',
'Arima',
]
| 18.5 | 36 | 0.606178 | 29 | 259 | 5.137931 | 0.517241 | 0.241611 | 0.228188 | 0.308725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.301158 | 259 | 13 | 37 | 19.923077 | 0.80663 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d02ac6d4dae428b3b35339148a6541cc1822c538 | 767 | py | Python | test/test.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null | test/test.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null | test/test.py | lyon916/pyecharts | 40efd119ec7bccb4bc3d5dab985ec7aca2936911 | [
"MIT"
] | null | null | null |
from test.test_bar import test_bar
from test.test_custom import test_custom
from test.test_effectscatter import test_effectscatter
from test.test_funnel import test_funnel
from test.test_gauge import test_gague
from test.test_geo import test_geo
from test.test_graph import test_graph
from test.test_grid import test_gr... | 34.863636 | 54 | 0.873533 | 133 | 767 | 4.75188 | 0.172932 | 0.240506 | 0.360759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 767 | 21 | 55 | 36.52381 | 0.917271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 5 |
d04998d074817f05bfca5645ca3cf057fc9877bb | 42 | py | Python | blm/__init__.py | famura/blm | 64710e108865f4fbb056bd53e00d1a0865139f5a | [
"MIT"
] | 3 | 2021-04-01T15:27:10.000Z | 2022-03-12T08:24:15.000Z | blm/__init__.py | famura/blm | 64710e108865f4fbb056bd53e00d1a0865139f5a | [
"MIT"
] | null | null | null | blm/__init__.py | famura/blm | 64710e108865f4fbb056bd53e00d1a0865139f5a | [
"MIT"
] | null | null | null | from .backlash_model import BacklashModel
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d07c042fc729457af1f7069537ba484c48f4dc03 | 124 | py | Python | lib/cmd.py | sergei-dyshel/tmux-clost | 699723565cfecc2ef2d6ededb258d57d467792f4 | [
"MIT"
] | null | null | null | lib/cmd.py | sergei-dyshel/tmux-clost | 699723565cfecc2ef2d6ededb258d57d467792f4 | [
"MIT"
] | null | null | null | lib/cmd.py | sergei-dyshel/tmux-clost | 699723565cfecc2ef2d6ededb258d57d467792f4 | [
"MIT"
] | null | null | null | class Command(object):
def get_option(self, name):
pass
def run(self, ):
raise NotImplementedError
| 17.714286 | 33 | 0.620968 | 14 | 124 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 124 | 6 | 34 | 20.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
d080680a9127553cc14776784d89d4200920468e | 134 | py | Python | ABC_A/ABC083_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC083_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | ABC_A/ABC083_A.py | ryosuke0825/atcoder_python | 185cdbe7db44ecca1aaf357858d16d31ce515ddb | [
"MIT"
] | null | null | null | a, b, c, d = map(int, input().split())
if a+b > c+d:
print("Left")
elif a+b < c+d:
print("Right")
else:
print("Balanced")
| 16.75 | 38 | 0.522388 | 25 | 134 | 2.8 | 0.6 | 0.085714 | 0.128571 | 0.171429 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231343 | 134 | 7 | 39 | 19.142857 | 0.679612 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d0931755a0f0a46ab72259218ed4670fd2f630b3 | 36 | py | Python | broccoli_server/interface/api/__init__.py | KTachibanaM/broccoli-platform | 31d3ee4246a3c035ed3d1ce8657fa7d4567c3092 | [
"Apache-2.0"
] | 7 | 2018-02-19T20:12:59.000Z | 2018-06-11T11:14:26.000Z | broccoli_server/interface/api/__init__.py | KTachibanaM/broccoli-platform | 31d3ee4246a3c035ed3d1ce8657fa7d4567c3092 | [
"Apache-2.0"
] | 50 | 2020-06-05T22:55:49.000Z | 2022-03-18T05:15:29.000Z | broccoli_server/interface/api/__init__.py | k-t-corp/broccoli-server | 16f3966e8391326a5cd5125bb0d5c7306f9e1490 | [
"Apache-2.0"
] | 1 | 2018-02-20T08:33:08.000Z | 2018-02-20T08:33:08.000Z | from .api_handler import ApiHandler
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d09a318b5bb85c9350fe31fa692737b32476f9c2 | 172 | py | Python | api/shipments/admin.py | VidroX/stockii | 237f30aa4b3b061bc0e9a1362c7ab66375feb59e | [
"Apache-2.0"
] | null | null | null | api/shipments/admin.py | VidroX/stockii | 237f30aa4b3b061bc0e9a1362c7ab66375feb59e | [
"Apache-2.0"
] | null | null | null | api/shipments/admin.py | VidroX/stockii | 237f30aa4b3b061bc0e9a1362c7ab66375feb59e | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from shipments.models import Provider, Shipment
# Register your models here.
admin.site.register(Provider)
admin.site.register(Shipment)
| 21.5 | 47 | 0.819767 | 23 | 172 | 6.130435 | 0.565217 | 0.12766 | 0.241135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 7 | 48 | 24.571429 | 0.915584 | 0.151163 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d0ae7a4ca53cde8fe7a553156492c435b1124096 | 173 | py | Python | linuxmachinebeta/review/apps.py | linux-machine/linuxmachinebeta | 78225eb8fdf4f0850f0c091c102e9da7876cfeed | [
"MIT"
] | null | null | null | linuxmachinebeta/review/apps.py | linux-machine/linuxmachinebeta | 78225eb8fdf4f0850f0c091c102e9da7876cfeed | [
"MIT"
] | null | null | null | linuxmachinebeta/review/apps.py | linux-machine/linuxmachinebeta | 78225eb8fdf4f0850f0c091c102e9da7876cfeed | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ReviewConfig(AppConfig):
name = 'linuxmachinebeta.review'
def ready(self):
import linuxmachinebeta.review.signals
| 19.222222 | 46 | 0.739884 | 18 | 173 | 7.111111 | 0.777778 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184971 | 173 | 8 | 47 | 21.625 | 0.907801 | 0 | 0 | 0 | 0 | 0 | 0.132948 | 0.132948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0c487b5daf2a1f115a9a17f77450c315daaac3c | 270 | py | Python | second/core/non_max_suppression/__init__.py | kylevedder/second.pytorch | d3995825b7106595df02e586dc2e206d940dda5a | [
"MIT"
] | null | null | null | second/core/non_max_suppression/__init__.py | kylevedder/second.pytorch | d3995825b7106595df02e586dc2e206d940dda5a | [
"MIT"
] | null | null | null | second/core/non_max_suppression/__init__.py | kylevedder/second.pytorch | d3995825b7106595df02e586dc2e206d940dda5a | [
"MIT"
] | null | null | null | from second.core.non_max_suppression.nms_cpu import nms_jit, soft_nms_jit
import torch
if torch.cuda.is_available():
from second.core.non_max_suppression.nms_gpu import (nms_gpu, rotate_iou_gpu,
rotate_nms_gpu)
| 38.571429 | 79 | 0.666667 | 38 | 270 | 4.342105 | 0.5 | 0.109091 | 0.169697 | 0.206061 | 0.412121 | 0.412121 | 0.412121 | 0 | 0 | 0 | 0 | 0 | 0.274074 | 270 | 6 | 80 | 45 | 0.841837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0dc58bdf06fe10b63605c9bb7b643de6ba85cee | 53 | py | Python | Attack_SplitNN/build/lib/attacksplitnn/attack/labelleakage/labelleakage.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 10 | 2021-04-16T00:38:34.000Z | 2022-02-11T01:28:52.000Z | Attack_SplitNN/build/lib/attacksplitnn/attack/labelleakage/labelleakage.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 7 | 2021-03-27T04:49:06.000Z | 2021-06-20T06:16:32.000Z | Attack_SplitNN/build/lib/attacksplitnn/attack/labelleakage/labelleakage.py | EduardaChagas/Cybersecurity-FL | 52db1a31e71e021f2ce57231a27341c4c080ad3b | [
"MIT"
] | 3 | 2021-07-07T21:55:52.000Z | 2022-03-17T21:17:51.000Z | from ...splitnn.model import Client, Server, SplitNN
| 26.5 | 52 | 0.773585 | 7 | 53 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 1 | 53 | 53 | 0.87234 | 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 | 1 | 0 | 0 | 5 |
d0dce7ff32eb8e0ac410e1ac9e04108947700f4b | 331 | py | Python | tests/base.py | Kolumbs/membank | 6cdfa8afc3b87ab9aafeca5fc95137ec897b6db6 | [
"BSD-3-Clause"
] | null | null | null | tests/base.py | Kolumbs/membank | 6cdfa8afc3b87ab9aafeca5fc95137ec897b6db6 | [
"BSD-3-Clause"
] | null | null | null | tests/base.py | Kolumbs/membank | 6cdfa8afc3b87ab9aafeca5fc95137ec897b6db6 | [
"BSD-3-Clause"
] | null | null | null | """
Common methods and constants for all tests
"""
import os
import unittest
TEST_DATABASE_PATH = "tests/data/test_database.db"
class TestCase(unittest.TestCase):
"""
Generic TestCase class
"""
relative_path = f"sqlite://{TEST_DATABASE_PATH }"
absolute_path = f"sqlite://{os.getcwd()}/{TEST_DATAB... | 19.470588 | 66 | 0.703927 | 42 | 331 | 5.333333 | 0.547619 | 0.214286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163142 | 331 | 16 | 67 | 20.6875 | 0.808664 | 0.196375 | 0 | 0 | 0 | 0 | 0.411523 | 0.403292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0ebea6360fc9c4e89dc6f787410d7270be9e89f | 2,060 | py | Python | verify_lights.py | andrewevans0102/weather-lamp | fb4d1a764b01fd3c50c0e69f9f9765dcedb8ccbc | [
"MIT"
] | null | null | null | verify_lights.py | andrewevans0102/weather-lamp | fb4d1a764b01fd3c50c0e69f9f9765dcedb8ccbc | [
"MIT"
] | null | null | null | verify_lights.py | andrewevans0102/weather-lamp | fb4d1a764b01fd3c50c0e69f9f9765dcedb8ccbc | [
"MIT"
] | 1 | 2021-03-30T18:07:27.000Z | 2021-03-30T18:07:27.000Z | import RPi.GPIO as GPIO
import time
white_light=21
green_light=20
yellow_light=16
blue_light=14
red_light=18
red_2=17
blue_2=27
yellow_2=22
green_2=10
white_2=9
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(white_light,GPIO.OUT)
print("LED on")
GPIO.output(white_light,GPIO.HIGH)
time.sleep(1)
print("LED o... | 19.807692 | 35 | 0.772816 | 377 | 2,060 | 4.116711 | 0.098143 | 0.103093 | 0.096649 | 0.115979 | 0.91817 | 0.914948 | 0.914948 | 0.914948 | 0.69201 | 0.69201 | 0 | 0.025349 | 0.06165 | 2,060 | 103 | 36 | 20 | 0.777548 | 0 | 0 | 0.543478 | 0 | 0 | 0.063107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.021739 | 0.217391 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d0fd601b9b4cdd119030008a16dabb28df3eed1b | 25 | py | Python | version.py | barcesat/adam_io | c9b36a696dca2338de02925cc9af78bc59b55fce | [
"MIT"
] | 1 | 2021-12-12T22:42:11.000Z | 2021-12-12T22:42:11.000Z | version.py | barcesat/adam_io | c9b36a696dca2338de02925cc9af78bc59b55fce | [
"MIT"
] | 3 | 2020-11-30T11:26:04.000Z | 2020-12-15T11:34:01.000Z | version.py | barcesat/adam_io | c9b36a696dca2338de02925cc9af78bc59b55fce | [
"MIT"
] | 1 | 2021-12-01T12:33:49.000Z | 2021-12-01T12:33:49.000Z | __version__='2.1238.1003' | 25 | 25 | 0.8 | 4 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0 | 25 | 1 | 25 | 25 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1901e41a1f7bd155497a260a173f827ec5403565 | 370 | py | Python | 09-functional-programming/higherorderfunctions/higher-order2.py | johnehunt/PythonCleanCode | b0ade446cc98cdc1379f06ad20cc3c6de772a2bb | [
"Apache-2.0"
] | 1 | 2020-05-11T13:58:29.000Z | 2020-05-11T13:58:29.000Z | 09-functional-programming/higherorderfunctions/higher-order2.py | johnehunt/PythonCleanCode | b0ade446cc98cdc1379f06ad20cc3c6de772a2bb | [
"Apache-2.0"
] | null | null | null | 09-functional-programming/higherorderfunctions/higher-order2.py | johnehunt/PythonCleanCode | b0ade446cc98cdc1379f06ad20cc3c6de772a2bb | [
"Apache-2.0"
] | null | null | null | def mult_by_two(num):
return num * 2
def mult_by_five(num):
return num * 5
def square(num):
return num * num
def add_one(num):
return num + 1
def apply(num, func):
return func(num)
result = apply(10, mult_by_two)
print(result)
print(apply(10, mult_by_five))
print(apply(10, square))
print(... | 13.214286 | 31 | 0.672973 | 65 | 370 | 3.646154 | 0.276923 | 0.126582 | 0.202532 | 0.164557 | 0.232068 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043771 | 0.197297 | 370 | 27 | 32 | 13.703704 | 0.754209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.3125 | 0.625 | 0.3125 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ef78f8b7e365309673a677f9012562ffce66a72e | 7,430 | py | Python | Code/tg_offer_stats.py | fmott/two_goal_task | b2a7948ced432b48566d8d00e97e83a65fba7ca5 | [
"MIT"
] | null | null | null | Code/tg_offer_stats.py | fmott/two_goal_task | b2a7948ced432b48566d8d00e97e83a65fba7ca5 | [
"MIT"
] | null | null | null | Code/tg_offer_stats.py | fmott/two_goal_task | b2a7948ced432b48566d8d00e97e83a65fba7ca5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Oct 21 11:27:40 2019
@author: ott
"""
#%% Load stuff
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from tg_set_globalplotting import tg_set_globalplotting
dat = pd.read_csv('../Results/preprocessed_results.csv')
tg_set_globalplotting(style='frontier... | 32.731278 | 239 | 0.595962 | 1,218 | 7,430 | 3.490148 | 0.122332 | 0.067514 | 0.042343 | 0.053634 | 0.812985 | 0.792284 | 0.760292 | 0.709715 | 0.66549 | 0.66549 | 0 | 0.045219 | 0.196366 | 7,430 | 226 | 240 | 32.876106 | 0.666722 | 0.105787 | 0 | 0.696203 | 0 | 0 | 0.098624 | 0.005294 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025316 | 0 | 0.025316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
efa349e794ce48c2524d7dccac32b4d6d5a6de73 | 181 | py | Python | donation_page/admin.py | NiyeSadece/charity_donation | 24c7e7c343c5d4989a94e42f3cf22c201394b0f1 | [
"MIT"
] | null | null | null | donation_page/admin.py | NiyeSadece/charity_donation | 24c7e7c343c5d4989a94e42f3cf22c201394b0f1 | [
"MIT"
] | null | null | null | donation_page/admin.py | NiyeSadece/charity_donation | 24c7e7c343c5d4989a94e42f3cf22c201394b0f1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category, Donation, Institution
admin.site.register(Category)
admin.site.register(Donation)
admin.site.register(Institution)
| 20.111111 | 51 | 0.823204 | 23 | 181 | 6.478261 | 0.478261 | 0.181208 | 0.342282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088398 | 181 | 8 | 52 | 22.625 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
4bda2046ac157eddf33b3b57808e541d3956c44c | 381 | py | Python | app/txdb/parser.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | null | null | null | app/txdb/parser.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | 1 | 2017-10-15T01:11:11.000Z | 2019-10-18T20:02:32.000Z | app/txdb/parser.py | tildecross/tildex-txdb | bc32e1875c55cedfbf4ce7d00174b4b7bf68525f | [
"BSD-3-Clause"
] | null | null | null | import json
from app.txdb.core import TxDBCore
class TxDBParser:
def __init__(self, db):
if isinstance(db, TxDBCore):
self.db = db
else:
self.db = None
def _encode(self, data):
return json.dumps(data)
def _decode(self, data):
return json... | 20.052632 | 36 | 0.55643 | 46 | 381 | 4.478261 | 0.565217 | 0.087379 | 0.135922 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354331 | 381 | 18 | 37 | 21.166667 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.142857 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
ef102608ddc4ae5a6874a5057d0747c5ec995dc8 | 164 | py | Python | apps/home/admin.py | AntMenG/ss | c7e98d512476619b7f2d72d3a11140345a593c3b | [
"Apache-2.0"
] | null | null | null | apps/home/admin.py | AntMenG/ss | c7e98d512476619b7f2d72d3a11140345a593c3b | [
"Apache-2.0"
] | null | null | null | apps/home/admin.py | AntMenG/ss | c7e98d512476619b7f2d72d3a11140345a593c3b | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Empleado, Archivo
# Register your models here.
admin.site.register(Empleado)
admin.site.register(Archivo) | 27.333333 | 38 | 0.792683 | 22 | 164 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128049 | 164 | 6 | 39 | 27.333333 | 0.909091 | 0.158537 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ef31e0abb865a9dd7b4caf8cf77f9b42f5681acd | 144 | py | Python | engine/crud/task.py | thegrafico/annoying-app | 7631af99885d9a68216bced6e8595c221950cd20 | [
"MIT"
] | null | null | null | engine/crud/task.py | thegrafico/annoying-app | 7631af99885d9a68216bced6e8595c221950cd20 | [
"MIT"
] | null | null | null | engine/crud/task.py | thegrafico/annoying-app | 7631af99885d9a68216bced6e8595c221950cd20 | [
"MIT"
] | null | null | null | """
CRUD system for Task
Create, Read, Update, Delete
"""
# Create Task
def create_task():
"""
Create a task into the database
""" | 13.090909 | 35 | 0.618056 | 19 | 144 | 4.631579 | 0.684211 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 144 | 11 | 36 | 13.090909 | 0.814815 | 0.652778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
ef36e62f949bd10b7f7f113621326effcad2f59b | 71 | py | Python | db_credentials/test/__init__.py | damonsauve/-db-credentials | c157854b77270be63097e09f741a27aef3236463 | [
"MIT"
] | null | null | null | db_credentials/test/__init__.py | damonsauve/-db-credentials | c157854b77270be63097e09f741a27aef3236463 | [
"MIT"
] | null | null | null | db_credentials/test/__init__.py | damonsauve/-db-credentials | c157854b77270be63097e09f741a27aef3236463 | [
"MIT"
] | null | null | null | # http://bugs.python.org/issue15881#msg170215
#
import multiprocessing
| 17.75 | 45 | 0.802817 | 8 | 71 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.070423 | 71 | 3 | 46 | 23.666667 | 0.69697 | 0.591549 | 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 | 1 | 0 | 0 | 5 |
ef59efd41a46f3a5753119d29975587c446a0b04 | 38 | py | Python | ftpcli/__init__.py | nanato12/ftpy | b8de28ea51db487e759c6c226e8dc5c1c9890633 | [
"MIT"
] | null | null | null | ftpcli/__init__.py | nanato12/ftpy | b8de28ea51db487e759c6c226e8dc5c1c9890633 | [
"MIT"
] | null | null | null | ftpcli/__init__.py | nanato12/ftpy | b8de28ea51db487e759c6c226e8dc5c1c9890633 | [
"MIT"
] | 1 | 2019-12-12T03:20:04.000Z | 2019-12-12T03:20:04.000Z | # coding: utf-8
from .ftp import FTP
| 9.5 | 20 | 0.684211 | 7 | 38 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.210526 | 38 | 3 | 21 | 12.666667 | 0.833333 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3256cf5b2f618fb900e801616d1e1b70ae667844 | 78 | py | Python | coremltools/converters/mil/backend/mil/__init__.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 2,740 | 2017-10-03T23:19:01.000Z | 2022-03-30T15:16:39.000Z | coremltools/converters/mil/backend/mil/__init__.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 1,057 | 2017-10-05T22:47:01.000Z | 2022-03-31T23:51:15.000Z | coremltools/converters/mil/backend/mil/__init__.py | tonybove-apple/coremltools | 22a8877beec7bad136ba5612d5aacd8e323ecdfc | [
"BSD-3-Clause"
] | 510 | 2017-10-04T19:22:28.000Z | 2022-03-31T12:16:52.000Z | # Copyright (c) 2020, Apple Inc. All rights reserved.
from .load import load
| 19.5 | 53 | 0.730769 | 12 | 78 | 4.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.179487 | 78 | 3 | 54 | 26 | 0.828125 | 0.653846 | 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 | 1 | 0 | 0 | 5 |
327aef11f5c7f61226570d42124a01b489231720 | 125 | py | Python | src/0/general.py | burgerdev/bearded-wookie | 4dbdd34d9bffb73e1d995145167b3d6ef082a73a | [
"MIT"
] | null | null | null | src/0/general.py | burgerdev/bearded-wookie | 4dbdd34d9bffb73e1d995145167b3d6ef082a73a | [
"MIT"
] | null | null | null | src/0/general.py | burgerdev/bearded-wookie | 4dbdd34d9bffb73e1d995145167b3d6ef082a73a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# The general way to solve problems in python, seriously!
from packages import solution
print(solution)
| 15.625 | 57 | 0.768 | 18 | 125 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 7 | 58 | 17.857143 | 0.90566 | 0.576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 5 |
32890000a713023a771718c358d7e0518522b6f9 | 423 | py | Python | Codebase/Code/test_flask.py | gitkage01/csiaustin | e7a106a3df81f6f67cda2bba1d735f9e90afb758 | [
"CC-BY-3.0"
] | null | null | null | Codebase/Code/test_flask.py | gitkage01/csiaustin | e7a106a3df81f6f67cda2bba1d735f9e90afb758 | [
"CC-BY-3.0"
] | null | null | null | Codebase/Code/test_flask.py | gitkage01/csiaustin | e7a106a3df81f6f67cda2bba1d735f9e90afb758 | [
"CC-BY-3.0"
] | 1 | 2019-08-25T20:07:25.000Z | 2019-08-25T20:07:25.000Z | from flask import Flask, render_template, request
app = Flask(__name__)
@app.route('/')
def load():
return render_template('index.html')
@app.route('/autopsy',methods = ['POST', 'GET'])
def autopsy():
return render_template('autopsy-report.html')
@app.route('/incident',methods = ['POST', 'GET'])
def incident(... | 23.5 | 49 | 0.687943 | 54 | 423 | 5.092593 | 0.481481 | 0.203636 | 0.218182 | 0.123636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125296 | 423 | 18 | 50 | 23.5 | 0.743243 | 0 | 0 | 0 | 0 | 0 | 0.205189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
0891f7cd52ee1970a4d0d2378dbbef48e6fe8c7b | 135 | py | Python | kubesys/__init__.py | kubesys/client-python | 2edf93f23a5eddf79b09bdb414b82620182217cf | [
"Apache-2.0"
] | 2 | 2021-09-28T06:04:58.000Z | 2021-11-08T14:11:25.000Z | kubesys/__init__.py | kubesys/client-python | 2edf93f23a5eddf79b09bdb414b82620182217cf | [
"Apache-2.0"
] | null | null | null | kubesys/__init__.py | kubesys/client-python | 2edf93f23a5eddf79b09bdb414b82620182217cf | [
"Apache-2.0"
] | 1 | 2022-03-02T06:04:36.000Z | 2022-03-02T06:04:36.000Z | from urllib3.connectionpool import InsecureRequestWarning
from urllib3 import disable_warnings
disable_warnings(InsecureRequestWarning) | 45 | 57 | 0.918519 | 13 | 135 | 9.384615 | 0.538462 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.059259 | 135 | 3 | 58 | 45 | 0.944882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0892bb1da7981edbc68565e313fe581632e3125d | 86 | wsgi | Python | sipd.wsgi | awkz/sipd | ada3f6e9d10ddcfdf23fa3da36f3825257db7986 | [
"MIT"
] | 1 | 2021-09-16T04:29:12.000Z | 2021-09-16T04:29:12.000Z | sipd.wsgi | awkz/sipd | ada3f6e9d10ddcfdf23fa3da36f3825257db7986 | [
"MIT"
] | null | null | null | sipd.wsgi | awkz/sipd | ada3f6e9d10ddcfdf23fa3da36f3825257db7986 | [
"MIT"
] | null | null | null | import sys
sys.path.append('/home/bara/sipd/')
from aplikasi import app as application | 28.666667 | 39 | 0.790698 | 14 | 86 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 39 | 28.666667 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08c310aa82a43be95ca58c103c2ecbe47a2eb7b7 | 26 | py | Python | stockTwitFetchAPI/__init__.py | bilardi/stockTwitsAPI | 4e115f8dae0208430535fc6a4a333b88696219bb | [
"MIT"
] | null | null | null | stockTwitFetchAPI/__init__.py | bilardi/stockTwitsAPI | 4e115f8dae0208430535fc6a4a333b88696219bb | [
"MIT"
] | null | null | null | stockTwitFetchAPI/__init__.py | bilardi/stockTwitsAPI | 4e115f8dae0208430535fc6a4a333b88696219bb | [
"MIT"
] | 1 | 2021-09-20T17:20:31.000Z | 2021-09-20T17:20:31.000Z | name = 'stockTwitFetchAPI' | 26 | 26 | 0.807692 | 2 | 26 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e9aa7e5da0e00be42f985ace24d14bcd286380d | 119 | py | Python | SolarSystem.py | Simcrafter/WorldBuilder | efb017a58d5477d9c4fc79d809dfd48931f97d4d | [
"MIT"
] | 3 | 2020-08-01T11:34:42.000Z | 2020-09-17T04:37:26.000Z | SolarSystem.py | tofu-7/WorldBuilder | cd1d5047aa89bf4d2de65336b850790810cce0d2 | [
"Unlicense"
] | null | null | null | SolarSystem.py | tofu-7/WorldBuilder | cd1d5047aa89bf4d2de65336b850790810cce0d2 | [
"Unlicense"
] | 1 | 2020-07-31T22:00:19.000Z | 2020-07-31T22:00:19.000Z | # Take one at Solar System Generation
import numpy as np
# i wrote a few lines and lost motivation for the night lmao | 23.8 | 60 | 0.773109 | 22 | 119 | 4.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210084 | 119 | 5 | 60 | 23.8 | 0.978723 | 0.789916 | 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 | 1 | 0 | 0 | 5 |
3ed007a8ca1f2951e8867e33e172bce63ce5a92c | 29 | py | Python | devel/lib/python2.7/dist-packages/hongfu_bms_msg/msg/__init__.py | FProgrammerLIU/caster_man_ros | a75b503fad3a470f985072a2b3953e89074f3223 | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/hongfu_bms_msg/msg/__init__.py | FProgrammerLIU/caster_man_ros | a75b503fad3a470f985072a2b3953e89074f3223 | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/hongfu_bms_msg/msg/__init__.py | FProgrammerLIU/caster_man_ros | a75b503fad3a470f985072a2b3953e89074f3223 | [
"MIT"
] | null | null | null | from ._HongfuStatus import *
| 14.5 | 28 | 0.793103 | 3 | 29 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3edd40cdf03a1acb054b0556f8c032b620802a22 | 1,035 | py | Python | test/test_coverages.py | AYLIEN/aylien_newsapi_python | ab4e667e718e8f919b894d4e4ec76e5d37b2fe74 | [
"Apache-2.0"
] | 13 | 2016-04-30T12:08:24.000Z | 2021-09-14T13:57:46.000Z | test/test_coverages.py | AYLIEN/aylien_newsapi_python | ab4e667e718e8f919b894d4e4ec76e5d37b2fe74 | [
"Apache-2.0"
] | 3 | 2016-09-02T08:22:28.000Z | 2018-07-03T10:59:31.000Z | test/test_coverages.py | AYLIEN/aylien_newsapi_python | ab4e667e718e8f919b894d4e4ec76e5d37b2fe74 | [
"Apache-2.0"
] | 5 | 2016-12-20T08:17:47.000Z | 2022-01-11T22:44:43.000Z | # coding: utf-8
"""
AYLIEN News API
The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client. # noqa: E501
The version of the OpenAPI document: ... | 25.243902 | 235 | 0.713043 | 134 | 1,035 | 5.350746 | 0.589552 | 0.083682 | 0.108787 | 0.04742 | 0.078103 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01476 | 0.214493 | 1,035 | 40 | 236 | 25.875 | 0.867159 | 0.54686 | 0 | 0.214286 | 0 | 0 | 0.018735 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
4114e49b570fac9dcae2fa8f7b4a5926f39c250b | 1,026 | py | Python | hathor/transaction/storage/__init__.py | khengleng/khathor | 8728c7032e6785eaf560a9592df02856dc97900d | [
"Apache-2.0"
] | null | null | null | hathor/transaction/storage/__init__.py | khengleng/khathor | 8728c7032e6785eaf560a9592df02856dc97900d | [
"Apache-2.0"
] | null | null | null | hathor/transaction/storage/__init__.py | khengleng/khathor | 8728c7032e6785eaf560a9592df02856dc97900d | [
"Apache-2.0"
] | null | null | null | from hathor.transaction.storage.binary_storage import TransactionBinaryStorage
from hathor.transaction.storage.cache_storage import TransactionCacheStorage
from hathor.transaction.storage.compact_storage import TransactionCompactStorage
from hathor.transaction.storage.memory_storage import TransactionMemoryStorage
from... | 41.04 | 113 | 0.850877 | 85 | 1,026 | 10.058824 | 0.317647 | 0.231579 | 0.196491 | 0.261988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 1,026 | 24 | 114 | 42.75 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0.218324 | 0.20078 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.045455 | 0.409091 | 0 | 0.409091 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f5fa505977a7e51209d6949477a74f37827907ba | 159 | py | Python | crowd_evacuation/wall_agent.py | mrcabo/MultiAgentSystems | 4d88af3b8c1dac359e0eb8344b335d9bb2733c20 | [
"MIT"
] | 1 | 2019-10-01T13:47:41.000Z | 2019-10-01T13:47:41.000Z | crowd_evacuation/wall_agent.py | mrcabo/MultiAgentSystems | 4d88af3b8c1dac359e0eb8344b335d9bb2733c20 | [
"MIT"
] | 1 | 2019-10-13T14:51:26.000Z | 2019-10-13T14:51:26.000Z | crowd_evacuation/wall_agent.py | mrcabo/MultiAgentSystems | 4d88af3b8c1dac359e0eb8344b335d9bb2733c20 | [
"MIT"
] | 2 | 2019-10-13T20:08:55.000Z | 2021-05-31T13:30:51.000Z | from mesa import Agent
class WallAgent(Agent):
""" A wall agent."""
def __init__(self, unique_id, model):
super().__init__(unique_id, model) | 19.875 | 42 | 0.654088 | 21 | 159 | 4.47619 | 0.714286 | 0.170213 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213836 | 159 | 8 | 42 | 19.875 | 0.752 | 0.081761 | 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 | 1 | 0 | 0 | 5 |
eb063c5b9e0040b04116ba4eb2362bd97aee83e1 | 59 | py | Python | TrieDecoder/Feature.py | X-Crux/sova-asr | 338480b185181b77bc026af732f46db9842f1fd6 | [
"Apache-2.0"
] | null | null | null | TrieDecoder/Feature.py | X-Crux/sova-asr | 338480b185181b77bc026af732f46db9842f1fd6 | [
"Apache-2.0"
] | null | null | null | TrieDecoder/Feature.py | X-Crux/sova-asr | 338480b185181b77bc026af732f46db9842f1fd6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from TrieDecoder._feature import *
| 14.75 | 34 | 0.762712 | 8 | 59 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.118644 | 59 | 3 | 35 | 19.666667 | 0.826923 | 0.355932 | 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 | 1 | 0 | 0 | 5 |
de3fcf7481de3686231dda65389163af72ff651a | 55 | py | Python | python_packages/shift_operation/__init__.py | prabhat-123/ML_Intern_LeapFrog | 3912bd5b72f045063f70cd280739fe797d387221 | [
"MIT"
] | null | null | null | python_packages/shift_operation/__init__.py | prabhat-123/ML_Intern_LeapFrog | 3912bd5b72f045063f70cd280739fe797d387221 | [
"MIT"
] | null | null | null | python_packages/shift_operation/__init__.py | prabhat-123/ML_Intern_LeapFrog | 3912bd5b72f045063f70cd280739fe797d387221 | [
"MIT"
] | null | null | null | from list_shift_operation import rotateLeft,rotateRight | 55 | 55 | 0.927273 | 7 | 55 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.942308 | 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 | 1 | 0 | 0 | 5 |
de7a564e126eba5c30ea89d4f14cf5fcc14f65b3 | 88 | py | Python | enthought/traits/trait_errors.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/trait_errors.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/trait_errors.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from traits.trait_errors import *
| 22 | 38 | 0.840909 | 12 | 88 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 3 | 39 | 29.333333 | 0.883117 | 0.136364 | 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 | 1 | 0 | 0 | 5 |
de8a4d5238aa4b68bfe4ccb8d43182f543a48511 | 291 | py | Python | project/todos/models.py | TheRayOfSeasons/django-aws-boilerplate | da58fee7aab3b7cade2a6c4065214be4fb1b7c7d | [
"MIT"
] | null | null | null | project/todos/models.py | TheRayOfSeasons/django-aws-boilerplate | da58fee7aab3b7cade2a6c4065214be4fb1b7c7d | [
"MIT"
] | null | null | null | project/todos/models.py | TheRayOfSeasons/django-aws-boilerplate | da58fee7aab3b7cade2a6c4065214be4fb1b7c7d | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Todo(models.Model):
"""
Data for a todo-list
"""
name = models.CharField(max_length=128, blank=True)
content = models.CharField(max_length=1000, blank=True)
def __str__(self):
return self.name
| 19.4 | 59 | 0.666667 | 40 | 291 | 4.7 | 0.7 | 0.159574 | 0.191489 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.223368 | 291 | 14 | 60 | 20.785714 | 0.800885 | 0.158076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
de9bf8b68180e4d022a20695cb123c6519839f85 | 115 | py | Python | api/admin.py | kuenane/stunning-chainsaw | 613ea45184b209cf2b49a67a7fe5309e71376e37 | [
"Apache-2.0"
] | null | null | null | api/admin.py | kuenane/stunning-chainsaw | 613ea45184b209cf2b49a67a7fe5309e71376e37 | [
"Apache-2.0"
] | null | null | null | api/admin.py | kuenane/stunning-chainsaw | 613ea45184b209cf2b49a67a7fe5309e71376e37 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Note
admin.site.register(Note)
| 16.428571 | 32 | 0.791304 | 17 | 115 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 6 | 33 | 19.166667 | 0.919192 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dea0f64bc3887f47468ed9051cc385707022515a | 128 | py | Python | include/tclap-1.4.0-rc1/tests/test47.py | SpaceKatt/cpp-cli-poc | 02ffefea2fc6e999fa2b27d08a8b3be6830b1b97 | [
"BSL-1.0"
] | 62 | 2021-09-21T18:58:02.000Z | 2022-03-07T02:17:43.000Z | third_party/tclap-1.4.0-rc1/tests/test47.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | third_party/tclap-1.4.0-rc1/tests/test47.py | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import simple_test
simple_test.test("test8", ["-s=bill", "-i=9", "-i=8", "-B", "homer", "marge", "bart", ])
| 21.333333 | 88 | 0.570313 | 20 | 128 | 3.55 | 0.8 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.109375 | 128 | 5 | 89 | 25.6 | 0.596491 | 0.125 | 0 | 0 | 0 | 0 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dea2e683e2cffd09bcb7838411d4dd92d0229f47 | 43 | py | Python | tests/__init__.py | CoderOJ/RLJ | 20bb7ffd1581bf8cf820e0f594b63d2760ea721c | [
"MIT"
] | 45 | 2017-11-19T06:54:07.000Z | 2022-03-21T14:44:42.000Z | tests/__init__.py | CoderOJ/RLJ | 20bb7ffd1581bf8cf820e0f594b63d2760ea721c | [
"MIT"
] | 6 | 2017-12-12T05:33:16.000Z | 2018-08-28T12:30:50.000Z | tests/__init__.py | CoderOJ/RLJ | 20bb7ffd1581bf8cf820e0f594b63d2760ea721c | [
"MIT"
] | 12 | 2017-12-12T04:43:04.000Z | 2022-02-23T00:13:47.000Z | ' Auto tests of RLJ. '
from tests import *
| 14.333333 | 22 | 0.674419 | 7 | 43 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 2 | 23 | 21.5 | 0.878788 | 0.418605 | 0 | 0 | 0 | 0 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
decea81b8e4f0393e0b658f01a71440b5b97e8b2 | 42 | py | Python | python/testData/selectWord/insideEscapeSequence/after1.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/selectWord/insideEscapeSequence/after1.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/selectWord/insideEscapeSequence/after1.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = 'Hello<selection>\n</selection>World!' | 42 | 42 | 0.714286 | 6 | 42 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 42 | 1 | 42 | 42 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.837209 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ded2560e6fc20749aa0a1efa0615519a54020555 | 26 | py | Python | bocpd/__init__.py | IbarakikenYukishi/two-stage-MDL | 7faf99f36ac012799602f32b359dcda089bcd119 | [
"MIT"
] | 2 | 2022-01-06T09:34:44.000Z | 2022-01-07T08:07:13.000Z | bocpd/__init__.py | IbarakikenYukishi/two-stage-MDL | 7faf99f36ac012799602f32b359dcda089bcd119 | [
"MIT"
] | null | null | null | bocpd/__init__.py | IbarakikenYukishi/two-stage-MDL | 7faf99f36ac012799602f32b359dcda089bcd119 | [
"MIT"
] | null | null | null | from bocpd.bocpd import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7208bc91963a76d6de8802b9f2ecb888bb79df39 | 158 | py | Python | less100.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 3 | 2017-04-30T17:44:53.000Z | 2018-02-03T06:02:11.000Z | less100.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | 10 | 2021-03-18T20:17:19.000Z | 2022-03-11T23:14:19.000Z | less100.py | anokata/pythonPetProjects | 245c3ff11ae560b17830970061d8d60013948fd7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
i = 1
for x in range(-10000, 10000):
for y in range(-10000, 10000):
if (abs(x)+abs(y)) < 100:
i += 1
print(i)
| 17.555556 | 34 | 0.512658 | 28 | 158 | 2.892857 | 0.571429 | 0.049383 | 0.296296 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 0.303797 | 158 | 8 | 35 | 19.75 | 0.5 | 0.132911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
723b36b6c34338ae155f46bfd965ca6ebc144da1 | 213 | py | Python | ecstools/lib/config.py | skout23/ecs-tools | 99b7b588a6ee12b9467dff3f97127ad845671723 | [
"MIT"
] | 9 | 2018-04-23T22:29:35.000Z | 2020-11-18T05:22:54.000Z | ecstools/lib/config.py | skout23/ecs-tools | 99b7b588a6ee12b9467dff3f97127ad845671723 | [
"MIT"
] | 26 | 2018-03-08T00:50:47.000Z | 2021-02-06T00:13:02.000Z | ecstools/lib/config.py | skout23/ecs-tools | 99b7b588a6ee12b9467dff3f97127ad845671723 | [
"MIT"
] | 7 | 2018-02-20T06:03:43.000Z | 2021-02-06T01:09:14.000Z | import os
import configparser
config = configparser.ConfigParser()
config_file = os.path.expanduser('~/.ecstools')
config_file_local = os.path.realpath('.ecstools')
config.read([config_file, config_file_local])
| 23.666667 | 49 | 0.788732 | 27 | 213 | 6 | 0.407407 | 0.246914 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079812 | 213 | 8 | 50 | 26.625 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.093897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
7244f261eb41e81fdb0a712003a463476f03cbf1 | 19 | py | Python | gym/version.py | felixonmars/gym | 70ca46a9685de333493722ee74d0cd51782b2b44 | [
"Python-2.0",
"OLDAP-2.7"
] | 266 | 2015-02-13T18:14:08.000Z | 2022-03-29T22:03:33.000Z | gym/version.py | felixonmars/gym | 70ca46a9685de333493722ee74d0cd51782b2b44 | [
"Python-2.0",
"OLDAP-2.7"
] | 77 | 2015-02-13T00:22:11.000Z | 2022-02-20T07:56:14.000Z | gym/version.py | felixonmars/gym | 70ca46a9685de333493722ee74d0cd51782b2b44 | [
"Python-2.0",
"OLDAP-2.7"
] | 95 | 2015-03-18T23:28:57.000Z | 2022-02-20T23:28:58.000Z | VERSION = '0.10.8'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9d09b9fffdbb80dd9ee155e55701ca852b6ce53e | 152 | py | Python | dtc/enums/partial_fill_handling_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 15 | 2020-04-26T05:25:53.000Z | 2022-02-11T19:38:42.000Z | dtc/enums/partial_fill_handling_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 2 | 2021-01-08T19:58:08.000Z | 2021-11-29T06:08:48.000Z | dtc/enums/partial_fill_handling_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 4 | 2020-11-23T13:38:01.000Z | 2021-12-27T13:21:06.000Z |
class PartialFillHandlingEnum:
PARTIAL_FILL_UNSET = 0
PARTIAL_FILL_HANDLING_REDUCE_QUANTITY = 1
PARTIAL_FILL_HANDLING_IMMEDIATE_CANCEL = 2
| 25.333333 | 46 | 0.815789 | 18 | 152 | 6.333333 | 0.722222 | 0.289474 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.157895 | 152 | 5 | 47 | 30.4 | 0.867188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
9d0d69abff53baebcaa478f3995cb321933250f0 | 91 | py | Python | test/test.py | bachmann87/iemployee | 778301f1d62f27992608721cb6e5d35ccbd7dfe5 | [
"MIT"
] | null | null | null | test/test.py | bachmann87/iemployee | 778301f1d62f27992608721cb6e5d35ccbd7dfe5 | [
"MIT"
] | null | null | null | test/test.py | bachmann87/iemployee | 778301f1d62f27992608721cb6e5d35ccbd7dfe5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Test if Python responses
print('[Python3 started] - Status: [ok]') | 22.75 | 41 | 0.692308 | 13 | 91 | 4.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.131868 | 91 | 4 | 41 | 22.75 | 0.78481 | 0.494505 | 0 | 0 | 0 | 0 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9d0e0f5013e310279bfbe4a486810c4e4163c7d2 | 162 | py | Python | model-optimizer/mo/__main__.py | monroid/openvino | 8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6 | [
"Apache-2.0"
] | 2,406 | 2020-04-22T15:47:54.000Z | 2022-03-31T10:27:37.000Z | model-optimizer/mo/__main__.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 4,948 | 2020-04-22T15:12:39.000Z | 2022-03-31T18:45:42.000Z | model-optimizer/mo/__main__.py | thomas-yanxin/openvino | 031e998a15ec738c64cc2379d7f30fb73087c272 | [
"Apache-2.0"
] | 991 | 2020-04-23T18:21:09.000Z | 2022-03-31T18:40:57.000Z | # Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
from mo.subprocess_main import subprocess_main
subprocess_main(framework=None)
| 27 | 46 | 0.820988 | 23 | 162 | 5.652174 | 0.826087 | 0.323077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068027 | 0.092593 | 162 | 5 | 47 | 32.4 | 0.816327 | 0.475309 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9d14acfd7b76331bcfc801756d3a9c69ddd32744 | 56 | py | Python | PyViCare/PyViCareInstallation.py | michelde/PyViCare | 053690f77970a7c1a846a241f54370f91904014c | [
"Apache-2.0"
] | null | null | null | PyViCare/PyViCareInstallation.py | michelde/PyViCare | 053690f77970a7c1a846a241f54370f91904014c | [
"Apache-2.0"
] | null | null | null | PyViCare/PyViCareInstallation.py | michelde/PyViCare | 053690f77970a7c1a846a241f54370f91904014c | [
"Apache-2.0"
] | 1 | 2021-01-21T21:53:17.000Z | 2021-01-21T21:53:17.000Z | # TODO will the be the representation of an installation | 56 | 56 | 0.821429 | 9 | 56 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 1 | 56 | 56 | 0.978723 | 0.964286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.