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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
96ab91e168f49b01f30f95262f20c9c6f8f22265 | 30 | py | Python | hdmi/__init__.py | jackl-xilinx/PYNQ-derivative-overlays | 66a1b9a4d83ef4c3bfae696f0f17f387e9f22219 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T07:10:31.000Z | 2021-07-21T07:10:31.000Z | hdmi/__init__.py | jackl-xilinx/PYNQ-derivative-overlays | 66a1b9a4d83ef4c3bfae696f0f17f387e9f22219 | [
"BSD-3-Clause"
] | null | null | null | hdmi/__init__.py | jackl-xilinx/PYNQ-derivative-overlays | 66a1b9a4d83ef4c3bfae696f0f17f387e9f22219 | [
"BSD-3-Clause"
] | null | null | null | from .hdmi import HDMIOverlay
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 | 1 | 0 | 0 | 6 |
7367108e3bf8253490f9009027006380251497e4 | 18,850 | py | Python | pybind/slxos/v17s_1_02/routing_system/router/router_bgp/address_family/l2vpn/evpn/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/routing_system/router/router_bgp/address_family/l2vpn/evpn/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17s_1_02/routing_system/router/router_bgp/address_family/l2vpn/evpn/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 70.864662 | 550 | 0.740637 | 2,560 | 18,850 | 5.214063 | 0.073438 | 0.040456 | 0.046149 | 0.057537 | 0.823794 | 0.79053 | 0.77255 | 0.765058 | 0.76326 | 0.742883 | 0 | 0.001156 | 0.128064 | 18,850 | 265 | 551 | 71.132075 | 0.810964 | 0.155862 | 0 | 0.438596 | 0 | 0.02924 | 0.37405 | 0.151778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.064327 | 0 | 0.292398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
736e22885b2f2464b5219707b571f51a8a419433 | 38 | py | Python | crslab/data/dataset/inspired/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 315 | 2021-01-05T06:31:57.000Z | 2022-03-16T21:12:23.000Z | crslab/data/dataset/inspired/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 23 | 2021-01-09T05:43:26.000Z | 2022-03-28T21:05:49.000Z | crslab/data/dataset/inspired/__init__.py | hcmus-nlp-chatbot/CRSLab | b3ab262a4ad93cbae98fe66541eb735377768a35 | [
"MIT"
] | 71 | 2021-01-05T06:31:59.000Z | 2022-03-06T06:30:35.000Z | from .inspired import InspiredDataset
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 | 1 | 0 | 0 | 6 |
73c441062c71a6d6ae106cbf7cf82d4c34c942dd | 38 | py | Python | untitled.py | senpaiashley/example | 4ccbe47b19875b9257e511ac867abd6d252771c2 | [
"MIT"
] | null | null | null | untitled.py | senpaiashley/example | 4ccbe47b19875b9257e511ac867abd6d252771c2 | [
"MIT"
] | 1 | 2018-04-21T16:05:47.000Z | 2018-04-21T16:07:01.000Z | untitled.py | senpaiashley/example | 4ccbe47b19875b9257e511ac867abd6d252771c2 | [
"MIT"
] | null | null | null | print("Welcome to MontyHacks, Bitch")
| 19 | 37 | 0.763158 | 5 | 38 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.736842 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
73d4ad1d3699aa8507aafec0e16461db78c0fd30 | 1,973 | py | Python | gestao/relatorio/views/pdf.py | Smartboxweb98/gestao_empresarial | ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195 | [
"CC0-1.0"
] | 3 | 2015-05-19T17:20:52.000Z | 2017-10-28T02:48:29.000Z | gestao/relatorio/views/pdf.py | Smartboxweb98/gestao_empresarial | ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195 | [
"CC0-1.0"
] | null | null | null | gestao/relatorio/views/pdf.py | Smartboxweb98/gestao_empresarial | ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195 | [
"CC0-1.0"
] | 3 | 2015-06-20T05:05:22.000Z | 2018-09-20T12:02:32.000Z | # -*- coding: utf-8 -*-
import cgi
import datetime
from django import http
from django.http import HttpResponse
from django.template import Context, loader
from xhtml2pdf import pisa
import cStringIO as StringIO
from gestao.settings import PROJECT_ROOT_PATH
def render_to_pdf(template_src, context_dict):
data_a... | 37.942308 | 102 | 0.709072 | 247 | 1,973 | 5.477733 | 0.267206 | 0.065041 | 0.055432 | 0.059128 | 0.801183 | 0.801183 | 0.801183 | 0.801183 | 0.746489 | 0.746489 | 0 | 0.002454 | 0.173847 | 1,973 | 51 | 103 | 38.686275 | 0.827607 | 0.010644 | 0 | 0.631579 | 0 | 0 | 0.162051 | 0.031795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.210526 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
fb537caf26b88b355a047e08b95c0bd0eaed11d5 | 80 | py | Python | nostalgify/views.py | henryfl/nostalgify | b6956d03f29d15f5ceae38f1f07d2b4dc2f4cc0f | [
"MIT"
] | null | null | null | nostalgify/views.py | henryfl/nostalgify | b6956d03f29d15f5ceae38f1f07d2b4dc2f4cc0f | [
"MIT"
] | null | null | null | nostalgify/views.py | henryfl/nostalgify | b6956d03f29d15f5ceae38f1f07d2b4dc2f4cc0f | [
"MIT"
] | null | null | null | from nostalgify import app
@app.route('/')
def index():
return "main view"
| 13.333333 | 26 | 0.6625 | 11 | 80 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 5 | 27 | 16 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fbadad8236111c8782baa19900d62718ef1cad6b | 8,640 | py | Python | testrecorder/app_websocket/consumers.py | LL08-MathematicalModelling-dowell/100060-dowelltestingscenerios | 186037084d3184a583f0ff85ae6e71f54f974fcc | [
"Apache-2.0"
] | null | null | null | testrecorder/app_websocket/consumers.py | LL08-MathematicalModelling-dowell/100060-dowelltestingscenerios | 186037084d3184a583f0ff85ae6e71f54f974fcc | [
"Apache-2.0"
] | null | null | null | testrecorder/app_websocket/consumers.py | LL08-MathematicalModelling-dowell/100060-dowelltestingscenerios | 186037084d3184a583f0ff85ae6e71f54f974fcc | [
"Apache-2.0"
] | null | null | null | import asyncio
import json
from blinker import receiver_connected
from channels.consumer import AsyncConsumer
from random import randint
from time import sleep
import subprocess
from django.conf import settings
class VideoConsumer(AsyncConsumer):
async def websocket_connect(self, event):
# when websocket... | 41.73913 | 103 | 0.543866 | 984 | 8,640 | 4.738821 | 0.20935 | 0.018014 | 0.022303 | 0.029166 | 0.862964 | 0.853099 | 0.839803 | 0.821789 | 0.812781 | 0.792837 | 0 | 0.012334 | 0.361921 | 8,640 | 206 | 104 | 41.941748 | 0.833484 | 0.398843 | 0 | 0.658824 | 0 | 0 | 0.130964 | 0.02042 | 0 | 0 | 0 | 0.004854 | 0 | 1 | 0 | false | 0 | 0.094118 | 0 | 0.117647 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
fbb1cd700c5149d513928376bf59d3fbe3442961 | 40 | py | Python | src/streamusb/__init__.py | latonaio/stream-usb-video-by-rtsp-multiple-camera | 84519009899e22d7fc79b70e696136da10274b0d | [
"MIT"
] | 10 | 2021-09-22T07:15:59.000Z | 2021-11-05T01:25:20.000Z | src/streamusb/__init__.py | latonaio/stream-usb-video-by-rtsp-multiple-camera | 84519009899e22d7fc79b70e696136da10274b0d | [
"MIT"
] | null | null | null | src/streamusb/__init__.py | latonaio/stream-usb-video-by-rtsp-multiple-camera | 84519009899e22d7fc79b70e696136da10274b0d | [
"MIT"
] | null | null | null | # coding: utf-8
from .core import main
| 10 | 22 | 0.7 | 7 | 40 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 3 | 23 | 13.333333 | 0.84375 | 0.325 | 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 | 1 | 0 | 0 | 6 |
fbc0980de06ca63e3262d7096307ef51520c551c | 105 | py | Python | terrascript/bitbucket/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/bitbucket/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/bitbucket/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/bitbucket/__init__.py
import terrascript
class bitbucket(terrascript.Provider):
pass
| 15 | 38 | 0.8 | 11 | 105 | 7.272727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 6 | 39 | 17.5 | 0.869565 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fbde094b07d341fdd35e589eb187d86cc10cc839 | 647 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/cluster/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/cluster/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2017-01-20T22:56:58.000Z | 2017-01-20T22:56:58.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/cluster/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 6 | 2015-04-21T13:14:08.000Z | 2020-12-03T07:27:52.000Z | __all__ = ['cluster', 'clusterfiles', 'clusterinstance', 'clusterinstance_binding', 'clusterinstance_clusternode_binding', 'clusternode', 'clusternodegroup', 'clusternodegroup_authenticationvserver_binding', 'clusternodegroup_binding', 'clusternodegroup_clusternode_binding', 'clusternodegroup_crvserver_binding', 'clust... | 647 | 647 | 0.871716 | 47 | 647 | 11.361702 | 0.382979 | 0.473783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032458 | 647 | 1 | 647 | 647 | 0.853035 | 0 | 0 | 0 | 0 | 0 | 0.859568 | 0.748457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83b9f851455c0e2edd90aec3247eca76fe8c757f | 102 | py | Python | test/test_color.py | SirWindfield/better-exceptions | a2b920c2d48592150329b816274208cb6c8ff2c0 | [
"MIT"
] | 4,410 | 2017-03-12T11:27:56.000Z | 2022-03-31T17:39:51.000Z | test/test_color.py | pralhad88/ng_exception | 5d362bccf94b75d748a156e60e0ededb9dd29cbd | [
"MIT"
] | 104 | 2017-03-22T09:29:12.000Z | 2022-03-22T01:51:27.000Z | test/test_color.py | pralhad88/ng_exception | 5d362bccf94b75d748a156e60e0ededb9dd29cbd | [
"MIT"
] | 243 | 2017-03-22T09:10:42.000Z | 2022-01-11T18:42:46.000Z | from __future__ import print_function
from better_exceptions import color
print(color.SUPPORTS_COLOR)
| 25.5 | 37 | 0.882353 | 14 | 102 | 5.928571 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 3 | 38 | 34 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
83fb651e4d6ca919e3cee2cf2fe334fca0e20ca3 | 24 | py | Python | Algo/Proposed/Proposed.py | vigzmv/AB-Split-Tester | 36a1c4c7b99f933b3f0f4be1219d0292f4ff6955 | [
"MIT"
] | null | null | null | Algo/Proposed/Proposed.py | vigzmv/AB-Split-Tester | 36a1c4c7b99f933b3f0f4be1219d0292f4ff6955 | [
"MIT"
] | null | null | null | Algo/Proposed/Proposed.py | vigzmv/AB-Split-Tester | 36a1c4c7b99f933b3f0f4be1219d0292f4ff6955 | [
"MIT"
] | null | null | null | print "Work In Progress" | 24 | 24 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f7c460f5cd3b38ee6eed70d9c422e0a69d51587b | 199 | py | Python | entomb/exceptions.py | countermeasure/entomb | 4eba79a66ca8d01ccd634f9d74928cb061b5efdb | [
"MIT"
] | null | null | null | entomb/exceptions.py | countermeasure/entomb | 4eba79a66ca8d01ccd634f9d74928cb061b5efdb | [
"MIT"
] | null | null | null | entomb/exceptions.py | countermeasure/entomb | 4eba79a66ca8d01ccd634f9d74928cb061b5efdb | [
"MIT"
] | null | null | null | class GetAttributeError(Exception):
"""Raise when the immutable attribute cannot be accessed."""
class SetAttributeError(Exception):
"""Raise when the immutable attribute cannot be set."""
| 28.428571 | 64 | 0.748744 | 22 | 199 | 6.772727 | 0.590909 | 0.187919 | 0.241611 | 0.281879 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0 | 0 | 0 | 0 | 0.150754 | 199 | 6 | 65 | 33.166667 | 0.881657 | 0.522613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7929487351a7c70ba36fde389614b9bd9427c440 | 195,326 | py | Python | google/cloud/compute_v1/services/instances/transports/rest.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | google/cloud/compute_v1/services/instances/transports/rest.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | google/cloud/compute_v1/services/instances/transports/rest.py | georgiyekkert/python-compute | d128efbb3bf10af9b41e55b20aaa8080b3221e77 | [
"Apache-2.0"
] | null | null | null | from google.auth.transport.requests import AuthorizedSession # type: ignore
import json # type: ignore
import grpc # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.api_core import exceptions as core_... | 40.591438 | 125 | 0.609673 | 19,251 | 195,326 | 5.99626 | 0.029661 | 0.049171 | 0.01937 | 0.024585 | 0.840194 | 0.823674 | 0.811659 | 0.807189 | 0.786917 | 0.783911 | 0 | 0.003067 | 0.308991 | 195,326 | 4,811 | 126 | 40.599875 | 0.852177 | 0.37675 | 0 | 0.649074 | 0 | 0 | 0.090511 | 0.036145 | 0 | 0 | 0 | 0.000208 | 0 | 1 | 0.034659 | false | 0 | 0.005908 | 0.016936 | 0.074833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
792fe53bd2136fed9107b846b83e9798bfeaea59 | 11,766 | py | Python | grapple/helpers.py | NathHorrigan/wagtail-grapple | 73a258e920eb0c5ac45f650311e8a9f6efe21941 | [
"MIT"
] | 1 | 2019-06-28T13:43:53.000Z | 2019-06-28T13:43:53.000Z | grapple/helpers.py | NathHorrigan/wagtail-grapple | 73a258e920eb0c5ac45f650311e8a9f6efe21941 | [
"MIT"
] | 3 | 2019-06-25T14:46:58.000Z | 2019-07-04T13:57:53.000Z | grapple/helpers.py | NathHorrigan/wagtail-grapple | 73a258e920eb0c5ac45f650311e8a9f6efe21941 | [
"MIT"
] | 1 | 2019-06-25T13:28:27.000Z | 2019-06-25T13:28:27.000Z | import inspect
from types import MethodType
import graphene
from django.utils.translation import gettext_lazy as _
from graphene.utils.str_converters import to_camel_case
from wagtail.core.models import Page
from .registry import registry
from .settings import grapple_settings
from .types.streamfield import StreamFie... | 33.617143 | 88 | 0.537566 | 1,145 | 11,766 | 5.263755 | 0.118777 | 0.047785 | 0.05044 | 0.02522 | 0.795255 | 0.765057 | 0.765057 | 0.761241 | 0.761241 | 0.752281 | 0 | 0.001244 | 0.385348 | 11,766 | 349 | 89 | 33.713467 | 0.832135 | 0.053034 | 0 | 0.701493 | 0 | 0 | 0.047375 | 0.007282 | 0 | 0 | 0 | 0 | 0.003731 | 1 | 0.063433 | false | 0 | 0.048507 | 0 | 0.220149 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
f77194ef99e1ec7899793614aa2e875869114c0f | 7,688 | py | Python | tests/src/stanpy/test_reduction.py | DavidNaizheZhou/stanpy | 257072bd52154e9e4d68be957fd12eee1ad3dc56 | [
"MIT"
] | null | null | null | tests/src/stanpy/test_reduction.py | DavidNaizheZhou/stanpy | 257072bd52154e9e4d68be957fd12eee1ad3dc56 | [
"MIT"
] | null | null | null | tests/src/stanpy/test_reduction.py | DavidNaizheZhou/stanpy | 257072bd52154e9e4d68be957fd12eee1ad3dc56 | [
"MIT"
] | 1 | 2022-01-30T17:25:38.000Z | 2022-01-30T17:25:38.000Z | import stanpy as stp
import numpy as np
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
def test_multiple_w0():
EI = 32000 # kN/m2
l = 3 # m
hinged_support = {"w": 0, "M": 0}
roller_support = {"w": 0, "M": 0, "H": 0}
fixed_support = {"w": 0, "phi": 0}
s1 = {"EI": EI, "l": ... | 28.058394 | 135 | 0.512747 | 1,381 | 7,688 | 2.721217 | 0.099203 | 0.01703 | 0.038584 | 0.046301 | 0.894359 | 0.878659 | 0.858968 | 0.855508 | 0.846993 | 0.816924 | 0 | 0.064296 | 0.257544 | 7,688 | 274 | 136 | 28.058394 | 0.594078 | 0.175208 | 0 | 0.66875 | 0 | 0 | 0.089371 | 0.015959 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0375 | false | 0 | 0.11875 | 0 | 0.15625 | 0.01875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
f7872a853768d70eadfb27d6c69bf45c62f0298d | 191 | py | Python | todolistBE/list/urls.py | Jomornt/todolist | 3d754807c7e89ec6bcd098759c24f1d6d2792814 | [
"MIT"
] | null | null | null | todolistBE/list/urls.py | Jomornt/todolist | 3d754807c7e89ec6bcd098759c24f1d6d2792814 | [
"MIT"
] | 6 | 2020-09-06T14:11:10.000Z | 2022-02-26T15:34:03.000Z | todolistBE/list/urls.py | Jomornt/todolist | 3d754807c7e89ec6bcd098759c24f1d6d2792814 | [
"MIT"
] | null | null | null | from django.conf.urls import url
import list.views
urlpatterns = [
url(r'^tododata/$', list.views.TaskTodo.as_view()),# 1
url(r'^tododata/(\d+)/$', list.views.TaskTodo.as_view())#2
] | 27.285714 | 62 | 0.670157 | 29 | 191 | 4.344828 | 0.586207 | 0.214286 | 0.190476 | 0.301587 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.120419 | 191 | 7 | 63 | 27.285714 | 0.738095 | 0.010471 | 0 | 0 | 0 | 0 | 0.149733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f78ec30883a9c12c0b94f23edd294c232f091612 | 33 | py | Python | redditnfl/reddittools/sidebarupdater/__init__.py | redditnfl/reddittools | 68e25fc668a4b108dcf3b3fdfbeed6230a5405ab | [
"MIT"
] | null | null | null | redditnfl/reddittools/sidebarupdater/__init__.py | redditnfl/reddittools | 68e25fc668a4b108dcf3b3fdfbeed6230a5405ab | [
"MIT"
] | null | null | null | redditnfl/reddittools/sidebarupdater/__init__.py | redditnfl/reddittools | 68e25fc668a4b108dcf3b3fdfbeed6230a5405ab | [
"MIT"
] | null | null | null | from .sidebarupdater import main
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 | 1 | 0 | 0 | 6 |
e3aae2c5a9718678f79747c182968c2d843cfb88 | 20,333 | py | Python | spikesorters/sorterlist.py | alowet/spikesorters | 1a5e810b5ba9bfa974ec91b5e0fa7f0901096268 | [
"MIT"
] | null | null | null | spikesorters/sorterlist.py | alowet/spikesorters | 1a5e810b5ba9bfa974ec91b5e0fa7f0901096268 | [
"MIT"
] | null | null | null | spikesorters/sorterlist.py | alowet/spikesorters | 1a5e810b5ba9bfa974ec91b5e0fa7f0901096268 | [
"MIT"
] | null | null | null | from .hdsort import HDSortSorter
from .klusta import KlustaSorter
from .tridesclous import TridesclousSorter
from .mountainsort4 import Mountainsort4Sorter
from .ironclust import IronClustSorter
from .kilosort import KilosortSorter
from .kilosort2 import Kilosort2Sorter
from .kilosort2_5 import Kilosort2_5Sorter
from .... | 34.115772 | 121 | 0.653322 | 2,424 | 20,333 | 5.349835 | 0.058581 | 0.049969 | 0.037014 | 0.032773 | 0.81732 | 0.811151 | 0.808066 | 0.798658 | 0.793723 | 0.793723 | 0 | 0.002786 | 0.276152 | 20,333 | 595 | 122 | 34.173109 | 0.878312 | 0.708159 | 0 | 0.244898 | 0 | 0 | 0.041568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.183673 | false | 0 | 0.112245 | 0 | 0.469388 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
e3f13f11d560ca522f1000ef763227ed14ba6b75 | 36 | py | Python | cody/shell/__init__.py | lotrekagency/order66 | dae9ec291a0436ee7d4fdffc427a2a4e912759b7 | [
"MIT"
] | 2 | 2019-09-23T20:20:09.000Z | 2021-05-26T11:38:38.000Z | cody/shell/__init__.py | lotrekagency/cody | dae9ec291a0436ee7d4fdffc427a2a4e912759b7 | [
"MIT"
] | null | null | null | cody/shell/__init__.py | lotrekagency/cody | dae9ec291a0436ee7d4fdffc427a2a4e912759b7 | [
"MIT"
] | null | null | null | from .shell import execute_commands
| 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 | 1 | 0 | 0 | 6 |
540a24741745e32183381c0728e831d3b1a7817e | 67 | py | Python | api/serializers/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | api/serializers/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | api/serializers/__init__.py | tavoxr/drf-ecommerce-api | 61c6b84dc4e811987ca72c73dfdce08f99d7481d | [
"MIT"
] | null | null | null | from .product import *
from .category import *
from .order import * | 22.333333 | 23 | 0.746269 | 9 | 67 | 5.555556 | 0.555556 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 24 | 22.333333 | 0.892857 | 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 | 1 | 0 | 0 | 6 |
541772a68f19fc01e0a086987bb09d35e311e775 | 133 | py | Python | hydralit/__init__.py | peter-ealu/hydralit | a5d091dd2c9492846e0ff928277352ab61070d10 | [
"Apache-2.0"
] | 1 | 2021-10-09T10:25:42.000Z | 2021-10-09T10:25:42.000Z | hydralit/__init__.py | nzagaspard/hydralit | a5d091dd2c9492846e0ff928277352ab61070d10 | [
"Apache-2.0"
] | null | null | null | hydralit/__init__.py | nzagaspard/hydralit | a5d091dd2c9492846e0ff928277352ab61070d10 | [
"Apache-2.0"
] | null | null | null | from hydralit.hydra_app import HydraApp
from hydralit.sessionstate import SessionState
from hydralit.app_template import HydraHeadApp | 44.333333 | 46 | 0.894737 | 17 | 133 | 6.882353 | 0.529412 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082707 | 133 | 3 | 47 | 44.333333 | 0.959016 | 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 | 1 | 0 | 0 | 6 |
5859b54ec6f9eb2008e4a4a06396e361800911ef | 30 | py | Python | src/aleph/vms/__init__.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | src/aleph/vms/__init__.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | src/aleph/vms/__init__.py | olethanh/pyaleph | 3a64fb89c54e74187679872d559fb00be0dfde43 | [
"MIT"
] | null | null | null | from .dockerized import python | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 | 1 | 0 | 0 | 6 |
58a0a13487645e392581799d02313340fa5e3b01 | 4,495 | py | Python | flask_sketch/questions/features.py | ericsouza/flask-sketch | 65625a567e5492b3787c5da3ba5e12b1473783c4 | [
"MIT"
] | 11 | 2020-08-19T14:33:00.000Z | 2021-05-29T17:12:47.000Z | flask_sketch/questions/features.py | ericsouza/flask-sketch | 65625a567e5492b3787c5da3ba5e12b1473783c4 | [
"MIT"
] | 3 | 2021-03-16T19:33:39.000Z | 2021-03-18T18:53:55.000Z | flask_sketch/questions/features.py | ericsouza/flask-sketch | 65625a567e5492b3787c5da3ba5e12b1473783c4 | [
"MIT"
] | 2 | 2020-08-19T14:33:11.000Z | 2020-09-16T19:34:16.000Z | from flask_sketch.utils import has_answers
from flask_sketch.questions.const import (
FLASK_MIGRATE,
FLASK_ADMIN,
FLASK_CACHING,
FLASK_LIMITER,
FLASK_DEBUGTOOLBAR,
NONE,
MONGODB,
)
"""
{
"type": "checkbox",
"message": "Select the frontend features.",
"name": "fronten... | 36.844262 | 78 | 0.522803 | 408 | 4,495 | 5.642157 | 0.127451 | 0.104257 | 0.057776 | 0.076021 | 0.874457 | 0.874457 | 0.831017 | 0.831017 | 0.831017 | 0.831017 | 0 | 0 | 0.301669 | 4,495 | 121 | 79 | 37.14876 | 0.733355 | 0 | 0 | 0.672897 | 0 | 0 | 0.369227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018692 | 0 | 0.018692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
5488a733d7213f9ba4657ee3cb687bfca87e8d87 | 101 | py | Python | backend/beedare/user/__init__.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | null | null | null | backend/beedare/user/__init__.py | gijs3ntius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | 17 | 2020-06-05T18:27:11.000Z | 2022-03-11T23:24:50.000Z | backend/beedare/user/__init__.py | gijsentius/BeeDare | 9ad5a93dad9b531b332aeb58f9b97e98585bc1ac | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
profile_blueprint = Blueprint('profile', __name__)
from . import views
| 16.833333 | 50 | 0.792079 | 12 | 101 | 6.25 | 0.583333 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 101 | 5 | 51 | 20.2 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 6 |
54b3f431c7e017d1e3cdf0cdad30af23623c6264 | 14,409 | py | Python | incident_io_client/api/incidents/incidents_create.py | expobrain/python-incidentio-client | be15e0370dc3feb979e448f87b40906d12331467 | [
"MIT"
] | null | null | null | incident_io_client/api/incidents/incidents_create.py | expobrain/python-incidentio-client | be15e0370dc3feb979e448f87b40906d12331467 | [
"MIT"
] | null | null | null | incident_io_client/api/incidents/incidents_create.py | expobrain/python-incidentio-client | be15e0370dc3feb979e448f87b40906d12331467 | [
"MIT"
] | null | null | null | from typing import Any, Dict, Optional
import httpx
from ...client import Client
from ...models.incidents_create_request_body import IncidentsCreateRequestBody
from ...models.incidents_create_response_body import IncidentsCreateResponseBody
from ...types import Response
def _get_kwargs(
*,
client: Client,
... | 53.565056 | 102 | 0.642862 | 1,521 | 14,409 | 5.901381 | 0.084813 | 0.187166 | 0.176471 | 0.09893 | 0.900735 | 0.889817 | 0.875 | 0.875 | 0.865642 | 0.865642 | 0 | 0.076412 | 0.217087 | 14,409 | 268 | 103 | 53.764925 | 0.719262 | 0.391491 | 0 | 0.4125 | 0 | 0 | 0.02297 | 0.011881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.075 | 0.0125 | 0.2375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
54b8d9447bebf28ed75ec3f7f3b417b11c1559b1 | 123 | py | Python | cortex/quickflat/__init__.py | shahdloo/pycortex | 08693a048cc66d77ada1126129349c7c1ad46d92 | [
"BSD-2-Clause"
] | null | null | null | cortex/quickflat/__init__.py | shahdloo/pycortex | 08693a048cc66d77ada1126129349c7c1ad46d92 | [
"BSD-2-Clause"
] | null | null | null | cortex/quickflat/__init__.py | shahdloo/pycortex | 08693a048cc66d77ada1126129349c7c1ad46d92 | [
"BSD-2-Clause"
] | null | null | null | from .view import make_figure, make_png, make_svg, make_movie
from .utils import make_flatmap_image
from . import composite | 41 | 61 | 0.837398 | 20 | 123 | 4.85 | 0.6 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 3 | 62 | 41 | 0.889908 | 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 | 1 | 0 | 0 | 6 |
49a94a46b413017e932a705bd3e9e75766131358 | 27 | py | Python | corehq/apps/groups/tests/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | corehq/apps/groups/tests/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/apps/groups/tests/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from .test_groups import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 | 1 | 0 | 0 | 6 |
49ca3775c4ace47b8f4895667ad3fb168673bb92 | 69 | py | Python | ChromaGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | 1 | 2021-02-03T19:46:35.000Z | 2021-02-03T19:46:35.000Z | ChromaGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | null | null | null | ChromaGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | null | null | null | from .chromagan import *
from .train import *
from .dataset import * | 23 | 24 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 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 | 1 | 0 | 0 | 6 |
b70432833f941faec451433f52cfa31b827f6075 | 41 | py | Python | examples/Adafruit_Nokia_LCD/__init__.py | SincereXIA/Adafruit_Nokia_LCD | 329e01bcb25bf9970afee10aad7f365381571819 | [
"MIT"
] | 92 | 2015-01-23T09:38:40.000Z | 2021-11-08T11:19:45.000Z | examples/Adafruit_Nokia_LCD/__init__.py | SincereXIA/Adafruit_Nokia_LCD | 329e01bcb25bf9970afee10aad7f365381571819 | [
"MIT"
] | 9 | 2015-01-31T14:38:23.000Z | 2019-10-29T00:37:15.000Z | examples/Adafruit_Nokia_LCD/__init__.py | SincereXIA/Adafruit_Nokia_LCD | 329e01bcb25bf9970afee10aad7f365381571819 | [
"MIT"
] | 60 | 2015-03-11T06:58:17.000Z | 2022-01-13T04:47:33.000Z | from Adafruit_Nokia_LCD.PCD8544 import *
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.097561 | 41 | 1 | 41 | 41 | 0.783784 | 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 | 1 | 0 | 0 | 6 |
b70c6421ff870b7076ebcad539233a16664173ad | 149 | py | Python | Exames/Exercicio9.py | alexandrebatista84/python-exercises | 0cb2fc11da82d84c959d6bb861cb45ba357f6dab | [
"MIT"
] | null | null | null | Exames/Exercicio9.py | alexandrebatista84/python-exercises | 0cb2fc11da82d84c959d6bb861cb45ba357f6dab | [
"MIT"
] | 3 | 2017-10-18T07:49:36.000Z | 2017-10-19T16:55:44.000Z | Exames/Exercicio9.py | alexandrebatista84/python-exercises | 0cb2fc11da82d84c959d6bb861cb45ba357f6dab | [
"MIT"
] | null | null | null | from functools import reduce
def soma_quadrados(l):
return reduce(lambda x,y: x+y,list(map(lambda x:x**2,l)))
print(soma_quadrados([1,2,3,4])) | 21.285714 | 61 | 0.704698 | 29 | 149 | 3.551724 | 0.655172 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038168 | 0.120805 | 149 | 7 | 62 | 21.285714 | 0.748092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3f78148d92d1bd015e9a278416b4ffa6275cd4cb | 39 | py | Python | groundstation/transfer/notification_handlers/__init__.py | richo/groundstation | 7ed48dd355051ee6b71164fc801e3893c09d11db | [
"MIT"
] | 26 | 2015-06-18T20:17:07.000Z | 2019-09-26T09:55:35.000Z | groundstation/transfer/notification_handlers/__init__.py | richo/groundstation | 7ed48dd355051ee6b71164fc801e3893c09d11db | [
"MIT"
] | null | null | null | groundstation/transfer/notification_handlers/__init__.py | richo/groundstation | 7ed48dd355051ee6b71164fc801e3893c09d11db | [
"MIT"
] | 5 | 2015-07-20T01:52:47.000Z | 2017-01-08T09:54:07.000Z | from newobject import handle_newobject
| 19.5 | 38 | 0.897436 | 5 | 39 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 | 1 | 0 | 0 | 6 |
3f812e933ecc11fd05477c9daf2caeb2ee0bde6f | 527 | py | Python | SaveMD.py | htomtom/AZGomo | 2160122897391ff7e74385b7451e070dd8bf9f78 | [
"MIT"
] | 5 | 2021-12-07T12:57:40.000Z | 2021-12-15T06:20:52.000Z | SaveMD.py | htomtom/AZGomo | 2160122897391ff7e74385b7451e070dd8bf9f78 | [
"MIT"
] | null | null | null | SaveMD.py | htomtom/AZGomo | 2160122897391ff7e74385b7451e070dd8bf9f78 | [
"MIT"
] | 1 | 2021-12-07T13:01:42.000Z | 2021-12-07T13:01:42.000Z | import RNG as RN_Gomoku
import sys
if(len(sys.argv)<2):
a0eng=RN_Gomoku.A0_ENG(64,"./RNG64.tf",1e-1/(2.0**3),10)
a0eng.a0_eng.save("RNG")
a0eng2=RN_Gomoku.A0_ENG(64,"./weights/RNG64.tf",1e-1/(2.0**3),10)
a0eng2.a0_eng.save("RNG_Old")
quit()
if(sys.argv[1]=="n"):
a0eng=RN_Gomoku.A0_ENG(64,"./RN... | 29.277778 | 69 | 0.626186 | 106 | 527 | 2.971698 | 0.301887 | 0.126984 | 0.126984 | 0.165079 | 0.736508 | 0.736508 | 0.736508 | 0.736508 | 0.736508 | 0.736508 | 0 | 0.143777 | 0.11575 | 527 | 18 | 70 | 29.277778 | 0.532189 | 0 | 0 | 0.5 | 0 | 0 | 0.157197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
3f8548a594ff8a416ecaa65b6a5d76128c7bf7d6 | 86,592 | py | Python | assignment_student_portal/assignment_student_portal/main.py | agianchandani2018/ISP | d86a9dd622313294efc86899689c2eb579a901af | [
"MIT"
] | 1 | 2018-06-02T17:50:12.000Z | 2018-06-02T17:50:12.000Z | assignment_student_portal/assignment_student_portal/main.py | agianchandani2018/ISP | d86a9dd622313294efc86899689c2eb579a901af | [
"MIT"
] | 1 | 2018-06-03T15:34:00.000Z | 2018-06-04T15:50:36.000Z | assignment_student_portal/assignment_student_portal/main.py | agianchandani2018/ISP | d86a9dd622313294efc86899689c2eb579a901af | [
"MIT"
] | null | null | null | from .models import *
from .authenticate import AuthorizationError
import time
import json
try:
from json.decoder import JSONDecodeError
except ImportError:
JSONDecodeError = ValueError
class Schoology:
_ROOT = 'https://api.schoology.com/v1/'
key = ''
secret = ''
limit = 20
start = 0
... | 43.296 | 218 | 0.664334 | 11,777 | 86,592 | 4.630551 | 0.032266 | 0.050831 | 0.012653 | 0.014523 | 0.841182 | 0.791965 | 0.738695 | 0.67402 | 0.621319 | 0.517714 | 0 | 0.000601 | 0.231788 | 86,592 | 2,000 | 219 | 43.296 | 0.8192 | 0.197743 | 0 | 0.292683 | 0 | 0.000976 | 0.118108 | 0.054671 | 0 | 0 | 0 | 0.003 | 0 | 1 | 0.292683 | false | 0 | 0.005854 | 0.138537 | 0.600976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3facdbab2ede11457d8300ca4e0071df95142ac8 | 108 | py | Python | app_red/config/views.py | yeojin-dev/EB-Multicontainer-Docker-Deploy | 3530dcdc40c687149f2ac9bb2f689b084e0ff470 | [
"MIT"
] | null | null | null | app_red/config/views.py | yeojin-dev/EB-Multicontainer-Docker-Deploy | 3530dcdc40c687149f2ac9bb2f689b084e0ff470 | [
"MIT"
] | null | null | null | app_red/config/views.py | yeojin-dev/EB-Multicontainer-Docker-Deploy | 3530dcdc40c687149f2ac9bb2f689b084e0ff470 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse('<h1>RED CONTAINER</h1>')
| 21.6 | 49 | 0.75 | 14 | 108 | 5.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.12963 | 108 | 4 | 50 | 27 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
3fb3cd742384b75e8c7ba81382115cd3500ccb23 | 71 | py | Python | api/utils/json.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null | api/utils/json.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null | api/utils/json.py | ziegeer/autocert | 285df181508573918e280948e51cdd7c65743281 | [
"MIT"
] | null | null | null |
import json
def jsonify(string):
return json.loads(str(string))
| 10.142857 | 34 | 0.704225 | 10 | 71 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 6 | 35 | 11.833333 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
3fc385b90e38085a6d9d3e4b76eac62e4f1d04e6 | 54 | py | Python | signhere/exceptions.py | MetLifeLegalPlans/sign-here | cbf2f7bcdcf16a3db681b9e95d761d7951f95dff | [
"MIT"
] | 1 | 2022-02-04T17:42:17.000Z | 2022-02-04T17:42:17.000Z | signhere/exceptions.py | MetLifeLegalPlans/sign-here | cbf2f7bcdcf16a3db681b9e95d761d7951f95dff | [
"MIT"
] | 2 | 2021-06-03T15:06:49.000Z | 2021-06-14T15:31:25.000Z | signhere/exceptions.py | MetLifeLegalPlans/sign-here | cbf2f7bcdcf16a3db681b9e95d761d7951f95dff | [
"MIT"
] | 2 | 2021-06-01T13:25:57.000Z | 2022-02-04T17:42:21.000Z | class AddImageArgumentError(AssertionError):
pass
| 18 | 44 | 0.814815 | 4 | 54 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 45 | 27 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3feea624fcde2302a263cbf58bbff0fe96e969a6 | 59,483 | py | Python | shenfun/legendre/bases.py | liqihao2000/shenfun | 2164596ccf906242779d9ec361168246ee6214d8 | [
"BSD-2-Clause"
] | 1 | 2021-10-09T06:48:30.000Z | 2021-10-09T06:48:30.000Z | shenfun/legendre/bases.py | liqihao2000/shenfun | 2164596ccf906242779d9ec361168246ee6214d8 | [
"BSD-2-Clause"
] | null | null | null | shenfun/legendre/bases.py | liqihao2000/shenfun | 2164596ccf906242779d9ec361168246ee6214d8 | [
"BSD-2-Clause"
] | null | null | null | """
Module for defining function spaces in the Legendre family
"""
from __future__ import division
import os
import functools
import sympy as sp
import numpy as np
from numpy.polynomial import legendre as leg
from scipy.special import eval_legendre
from mpi4py_fft import fftw
from shenfun.spectralbase import SpectralB... | 37.410692 | 109 | 0.584537 | 7,527 | 59,483 | 4.506576 | 0.054603 | 0.019899 | 0.01589 | 0.012264 | 0.810855 | 0.780343 | 0.747384 | 0.732702 | 0.716872 | 0.706465 | 0 | 0.019944 | 0.308794 | 59,483 | 1,589 | 110 | 37.434235 | 0.805083 | 0.339055 | 0 | 0.576251 | 0 | 0 | 0.022142 | 0.004364 | 0 | 0 | 0 | 0 | 0.016298 | 1 | 0.171129 | false | 0 | 0.023283 | 0.082654 | 0.394645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
b2100123c0616cff835c03c6202ad116d2fc9b88 | 108 | py | Python | deep500/lv2/validation/__init__.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 90 | 2019-01-02T22:49:08.000Z | 2022-02-17T21:11:38.000Z | deep500/lv2/validation/__init__.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 4 | 2019-02-14T16:19:06.000Z | 2022-01-11T17:54:42.000Z | deep500/lv2/validation/__init__.py | khoaideptrai/deep500 | 0953038f64bc73c8d41d01796e07d3a23ca97822 | [
"BSD-3-Clause"
] | 24 | 2019-01-09T18:09:44.000Z | 2022-01-10T13:04:42.000Z | from .optimizer import test_optimizer
from .training import test_training
from .sampler import test_sampler
| 27 | 37 | 0.861111 | 15 | 108 | 6 | 0.4 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 3 | 38 | 36 | 0.9375 | 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 | 1 | 0 | 0 | 6 |
b76a8781342db551b5e26f99f9e5482e67757047 | 237 | py | Python | mayan/apps/storage/dependencies.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/storage/dependencies.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/storage/dependencies.py | atitaya1412/Mayan-EDMS | bda9302ba4b743e7d829ad118b8b836221888172 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | from mayan.apps.dependencies.classes import PythonDependency
PythonDependency(
module=__name__, name='extract-msg', version_string='==0.28.7'
)
PythonDependency(
module=__name__, name='pycryptodome', version_string='==3.10.1'
)
| 26.333333 | 67 | 0.759494 | 28 | 237 | 6.071429 | 0.714286 | 0.258824 | 0.305882 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0.097046 | 237 | 8 | 68 | 29.625 | 0.757009 | 0 | 0 | 0.285714 | 0 | 0 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7a0179957b058a576a6de8d0f6f4edd4967ce49 | 18,486 | py | Python | test/test_ipip.py | ydy1234/vpp | 9f9e969f149e40044fee9d2e47b7dd96f3ae4dfa | [
"Apache-2.0"
] | null | null | null | test/test_ipip.py | ydy1234/vpp | 9f9e969f149e40044fee9d2e47b7dd96f3ae4dfa | [
"Apache-2.0"
] | null | null | null | test/test_ipip.py | ydy1234/vpp | 9f9e969f149e40044fee9d2e47b7dd96f3ae4dfa | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""IP{4,6} over IP{v,6} tunnel functional tests"""
import unittest
from scapy.layers.inet6 import IPv6, Ether, IP, UDP, IPv6ExtHdrFragment
from scapy.all import fragment, fragment6, RandShort, defragment6
from framework import VppTestCase, VppTestRunner
from vpp_ip import DpoProto
from vpp_ip_rou... | 35.278626 | 78 | 0.581197 | 2,644 | 18,486 | 3.822995 | 0.099849 | 0.033241 | 0.035615 | 0.01108 | 0.823506 | 0.792442 | 0.774436 | 0.732192 | 0.700139 | 0.674021 | 0 | 0.064991 | 0.304988 | 18,486 | 523 | 79 | 35.34608 | 0.721747 | 0.079736 | 0 | 0.664948 | 0 | 0 | 0.026968 | 0.007128 | 0 | 0 | 0.000238 | 0.001912 | 0.015464 | 1 | 0.061856 | false | 0 | 0.020619 | 0.005155 | 0.103093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
b7c96c90d6ec9edfe65058d5cf2f41dc8adfe02a | 42 | py | Python | phathom/io/__init__.py | chunglabmit/phathom | 304db7a95e898e9b03d6b2640172752d21a7e3ed | [
"MIT"
] | 1 | 2018-04-18T11:54:29.000Z | 2018-04-18T11:54:29.000Z | phathom/io/__init__.py | chunglabmit/phathom | 304db7a95e898e9b03d6b2640172752d21a7e3ed | [
"MIT"
] | 2 | 2018-04-05T20:53:52.000Z | 2018-11-01T16:37:39.000Z | phathom/io/__init__.py | chunglabmit/phathom | 304db7a95e898e9b03d6b2640172752d21a7e3ed | [
"MIT"
] | null | null | null | from phathom.io import tiff, imaris, zarr
| 21 | 41 | 0.785714 | 7 | 42 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.916667 | 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 | 1 | 0 | 0 | 6 |
b7cafb085ed19a53bc60b2631b1acb8f7736566f | 244 | py | Python | OpenGLCffi/GLES3/EXT/OVR/multiview.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES3/EXT/OVR/multiview.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLES3/EXT/OVR/multiview.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLES3 import params
@params(api='gles3', prms=['target', 'attachment', 'texture', 'level', 'baseViewIndex', 'numViews'])
def glFramebufferTextureMultiviewOVR(target, attachment, texture, level, baseViewIndex, numViews):
pass
| 34.857143 | 100 | 0.762295 | 24 | 244 | 7.75 | 0.666667 | 0.172043 | 0.247312 | 0.301075 | 0.526882 | 0.526882 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.090164 | 244 | 6 | 101 | 40.666667 | 0.828829 | 0 | 0 | 0 | 0 | 0 | 0.223141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b7e2847ccbd8bde6ee1e6ba9914e22184f735392 | 14,994 | py | Python | test/test_basic.py | lutraconsulting/mergin-work-packages | 87850b9ca5069fbaf973a9341dca6aee72912528 | [
"MIT"
] | 4 | 2021-03-03T09:39:00.000Z | 2021-08-01T00:00:37.000Z | test/test_basic.py | lutraconsulting/mergin-workpackages | 87850b9ca5069fbaf973a9341dca6aee72912528 | [
"MIT"
] | 33 | 2021-03-03T12:21:51.000Z | 2022-02-17T10:24:20.000Z | test/test_basic.py | lutraconsulting/mergin-workpackages | 87850b9ca5069fbaf973a9341dca6aee72912528 | [
"MIT"
] | 1 | 2021-04-16T18:28:34.000Z | 2021-04-16T18:28:34.000Z | import glob
import os
import shutil
from tempfile import TemporaryDirectory
import sqlite3
from .init_test_data import (
create_farm_dataset,
open_layer_and_create_feature,
open_layer_and_update_feature,
open_layer_and_delete_feature,
)
from wp import load_config_from_yaml, make_work_packages
from wp_u... | 46.565217 | 120 | 0.73276 | 2,401 | 14,994 | 4.266556 | 0.08913 | 0.046271 | 0.073214 | 0.060914 | 0.82214 | 0.778504 | 0.748926 | 0.738286 | 0.712124 | 0.691332 | 0 | 0.02204 | 0.152728 | 14,994 | 321 | 121 | 46.71028 | 0.78432 | 0.201747 | 0 | 0.518135 | 0 | 0 | 0.134824 | 0.020833 | 0 | 0 | 0 | 0.003115 | 0.290155 | 1 | 0.088083 | false | 0 | 0.041451 | 0 | 0.139896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4d01ab9ef37f626026ff8ff09e839d7841e95111 | 21,298 | py | Python | tests/ile_components_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 4 | 2021-02-04T03:57:52.000Z | 2022-02-08T18:19:58.000Z | tests/ile_components_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 68 | 2021-05-06T08:52:46.000Z | 2022-03-23T16:46:03.000Z | tests/ile_components_test.py | NextCenturyCorporation/mcs-scene-generator | e0a6ee778359cadd2de682a5006581b7a6134431 | [
"Apache-2.0"
] | 1 | 2021-02-04T03:21:57.000Z | 2021-02-04T03:21:57.000Z | import pytest
from ideal_learning_env import ILEException, VectorFloatConfig
from ideal_learning_env.mock_component import MockClass, MockComponent
def test_ile_component_call_each_setter_on_init():
component = MockComponent({})
assert component._called_setter['bool_prop']
assert component._called_setter... | 31.931034 | 79 | 0.561086 | 2,541 | 21,298 | 4.365998 | 0.044471 | 0.053633 | 0.043267 | 0.082207 | 0.929421 | 0.883 | 0.806652 | 0.770326 | 0.72697 | 0.62322 | 0 | 0.04505 | 0.288149 | 21,298 | 666 | 80 | 31.978979 | 0.686696 | 0.006902 | 0 | 0.671986 | 0 | 0 | 0.186466 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 1 | 0.085106 | false | 0 | 0.005319 | 0 | 0.090426 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4d197e25e571496b92cc2b20fe9d9bf0813b771e | 84 | py | Python | src/easyterm/__init__.py | marco-mariotti/easyterm | ec7b620136662affc65492bebaa5e8f695a62cda | [
"MIT"
] | null | null | null | src/easyterm/__init__.py | marco-mariotti/easyterm | ec7b620136662affc65492bebaa5e8f695a62cda | [
"MIT"
] | 1 | 2022-01-10T14:15:51.000Z | 2022-01-10T14:15:51.000Z | src/easyterm/__init__.py | marco-mariotti/easyterm | ec7b620136662affc65492bebaa5e8f695a62cda | [
"MIT"
] | null | null | null | from .colorprint import *
from .commandutils import *
from .commandlineopt import *
| 21 | 29 | 0.785714 | 9 | 84 | 7.333333 | 0.555556 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 30 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 6 |
4d26ef4466a29c568ad4b62a7304719bb60d319f | 4,858 | py | Python | ScratchPad_PyDev/com.neustar.programming.contest/nine/MyMainPyDev1.py | rsins/Scratchpad-Java | ed5593a1fa9afc62ef8d567f928001faae163880 | [
"Apache-2.0"
] | null | null | null | ScratchPad_PyDev/com.neustar.programming.contest/nine/MyMainPyDev1.py | rsins/Scratchpad-Java | ed5593a1fa9afc62ef8d567f928001faae163880 | [
"Apache-2.0"
] | null | null | null | ScratchPad_PyDev/com.neustar.programming.contest/nine/MyMainPyDev1.py | rsins/Scratchpad-Java | ed5593a1fa9afc62ef8d567f928001faae163880 | [
"Apache-2.0"
] | null | null | null |
#----------- Question 1 ------------------
breakLoop = False
n = 0
while not breakLoop:
n = n + 1
sum = 0
for i in range (1, n+1):
sum = sum + 2 ** (i-1)
if (sum >= (200*i)):
breakLoop = True
print("----------------- Question 1 -------------------")
print(n)
print("... | 34.453901 | 133 | 0.464594 | 508 | 4,858 | 4.435039 | 0.149606 | 0.058589 | 0.186418 | 0.204172 | 0.874834 | 0.874834 | 0.870839 | 0.591212 | 0.591212 | 0.591212 | 0 | 0.031796 | 0.339646 | 4,858 | 140 | 134 | 34.7 | 0.670511 | 0.028613 | 0 | 0.721311 | 0 | 0.016393 | 0.177204 | 0.04813 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.090164 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d5eadad3f5870ace99ebca38207187f55ce493a | 1,426 | py | Python | tests/api/v1/test_hints.py | AIica/Crypto-2020 | 8980fdd3c20651eb6fd4a66fa72c1f9099dc23d7 | [
"Apache-2.0"
] | 2 | 2019-06-19T07:11:28.000Z | 2019-06-21T05:30:07.000Z | tests/api/v1/test_hints.py | AIica/Crypto-2020 | 8980fdd3c20651eb6fd4a66fa72c1f9099dc23d7 | [
"Apache-2.0"
] | null | null | null | tests/api/v1/test_hints.py | AIica/Crypto-2020 | 8980fdd3c20651eb6fd4a66fa72c1f9099dc23d7 | [
"Apache-2.0"
] | 1 | 2019-11-09T19:00:41.000Z | 2019-11-09T19:00:41.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from tests.helpers import *
def test_api_hint_get_non_admin():
"""Can the users get /api/v1/hints if not admin"""
app = create_ctfd()
with app.app_context():
with login_as_user(app) as client:
r = client.get('/api/v1/hints', json="")
... | 29.102041 | 56 | 0.586957 | 205 | 1,426 | 3.873171 | 0.243902 | 0.050378 | 0.100756 | 0.070529 | 0.88665 | 0.853904 | 0.853904 | 0.853904 | 0.761965 | 0.63602 | 0 | 0.022137 | 0.271389 | 1,426 | 48 | 57 | 29.708333 | 0.74206 | 0.151473 | 0 | 0.666667 | 0 | 0 | 0.073232 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.121212 | false | 0 | 0.030303 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4d7115fd3744b9b7b6353469bb51b18b4556482b | 145 | py | Python | gunicorn_config.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 15 | 2016-11-17T08:34:52.000Z | 2021-11-12T07:08:58.000Z | gunicorn_config.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 137 | 2015-12-07T19:48:03.000Z | 2016-10-11T20:19:33.000Z | gunicorn_config.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 11 | 2016-10-21T22:43:54.000Z | 2021-08-28T14:41:02.000Z | command = '/usr/home/freebsd/py-fly/env/bin/gunicorn'
pythonpath = '/usr/home/freebsd/py-fly/src/fly_project'
bind = '127.0.0.1:8001'
workers = 3 | 36.25 | 55 | 0.724138 | 26 | 145 | 4 | 0.730769 | 0.134615 | 0.269231 | 0.307692 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08209 | 0.075862 | 145 | 4 | 56 | 36.25 | 0.69403 | 0 | 0 | 0 | 0 | 0 | 0.650685 | 0.554795 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d82f8c12ff32b9a039d3766c811641ac0ad84dd | 10,034 | py | Python | mlir/dialects/linalg.py | spcl/pymlir | 88b81ab73d62d1bea81be79bd4a8a2fbae825d48 | [
"BSD-3-Clause"
] | 80 | 2020-01-12T20:55:43.000Z | 2022-03-29T09:23:41.000Z | mlir/dialects/linalg.py | spcl/pymlir | 88b81ab73d62d1bea81be79bd4a8a2fbae825d48 | [
"BSD-3-Clause"
] | 15 | 2020-04-05T22:43:37.000Z | 2021-07-01T22:08:03.000Z | mlir/dialects/linalg.py | spcl/pymlir | 88b81ab73d62d1bea81be79bd4a8a2fbae825d48 | [
"BSD-3-Clause"
] | 15 | 2020-04-05T22:37:44.000Z | 2022-03-28T06:36:12.000Z | """ Implementation of the Linalg dialect. """
import inspect
import sys
import mlir.astnodes as mast
from mlir.dialect import Dialect, DialectOp, is_op
from dataclasses import dataclass
from typing import Optional, List
@dataclass
class LinalgBatchMatmul(DialectOp):
a_id: mast.SsaId
b_id: mast.SsaId
a_ty... | 34.363014 | 100 | 0.59996 | 1,309 | 10,034 | 4.274255 | 0.087853 | 0.058981 | 0.070063 | 0.051117 | 0.803575 | 0.789634 | 0.763896 | 0.761394 | 0.756926 | 0.729759 | 0 | 0.000539 | 0.260315 | 10,034 | 291 | 101 | 34.4811 | 0.753301 | 0.009468 | 0 | 0.646809 | 0 | 0.051064 | 0.404954 | 0.135723 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025532 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4d9fa403ce6b252624dbc04df0771323c80ccee8 | 20,327 | py | Python | create_delete_transaction_from_search_bundle.py | Healthedata1/Flask-PL | 88a2f40ca430c4cbb9fbded7fc92fdc166ebb9f1 | [
"MIT"
] | null | null | null | create_delete_transaction_from_search_bundle.py | Healthedata1/Flask-PL | 88a2f40ca430c4cbb9fbded7fc92fdc166ebb9f1 | [
"MIT"
] | null | null | null | create_delete_transaction_from_search_bundle.py | Healthedata1/Flask-PL | 88a2f40ca430c4cbb9fbded7fc92fdc166ebb9f1 | [
"MIT"
] | null | null | null | from json import dumps
# put search bundle inline here
dict_b = {
"resourceType": "Bundle",
"id": "5d592a0c-1d5a-4de0-8eb8-619f1fb8391e",
"meta": {
"lastUpdated": "2021-01-07T05:37:25.388+00:00"
},
"type": "searchset",
"total": 25,
"link": [
{
"relation": "self"... | 37.093066 | 172 | 0.348797 | 1,338 | 20,327 | 5.257848 | 0.116592 | 0.030704 | 0.05629 | 0.046908 | 0.894243 | 0.865814 | 0.835821 | 0.825586 | 0.693959 | 0.693959 | 0 | 0.088776 | 0.517883 | 20,327 | 547 | 173 | 37.160878 | 0.629082 | 0.003444 | 0 | 0.468519 | 0 | 0.037037 | 0.377506 | 0.086057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001852 | 0 | 0.001852 | 0.003704 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 | 6 |
4dd6c0517bcfcebbda464a3fa5afbd324666b269 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/ui/components/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/ui/components/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/ui/components/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/b4/fb/29/f137ae7a88901de08f970eab89d3c9e564b994bc24e223617f766ee7c5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ded43f792aa04afb7ba13457a74347e2ee76879 | 26 | py | Python | accounts/tests/__init__.py | AnjalBam/iw-capstone-project | 38065885ada3d236823689c8a9e43f581d6f5a97 | [
"MIT"
] | null | null | null | accounts/tests/__init__.py | AnjalBam/iw-capstone-project | 38065885ada3d236823689c8a9e43f581d6f5a97 | [
"MIT"
] | 9 | 2021-04-08T20:15:32.000Z | 2022-03-12T00:50:21.000Z | accounts/tests/__init__.py | AnjalBam/iw-capstone-project | 38065885ada3d236823689c8a9e43f581d6f5a97 | [
"MIT"
] | 1 | 2020-09-12T05:25:23.000Z | 2020-09-12T05:25:23.000Z | from .user_tests import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 | 1 | 0 | 0 | 6 |
151d0e61360acb727d8a24e5188712dfd8c713e4 | 100 | py | Python | src/structmodel/__init__.py | pursultani/struct-model | 6ea3451b13814879c1fcce528344b74e179088c8 | [
"MIT"
] | 2 | 2019-07-15T14:08:53.000Z | 2020-07-13T05:46:57.000Z | src/structmodel/__init__.py | pursultani/struct-model | 6ea3451b13814879c1fcce528344b74e179088c8 | [
"MIT"
] | null | null | null | src/structmodel/__init__.py | pursultani/struct-model | 6ea3451b13814879c1fcce528344b74e179088c8 | [
"MIT"
] | null | null | null | #
# Copyright
#
from structmodel.model import Model, Struct
from structmodel.types import DataType
| 14.285714 | 43 | 0.8 | 12 | 100 | 6.666667 | 0.666667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 6 | 44 | 16.666667 | 0.930233 | 0.09 | 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 | 1 | 0 | 0 | 6 |
127d0e063979d390bb0b3bcb3a741383e668f973 | 67 | py | Python | torchocr/postprocess/ctpn_postprocess.py | hua1024/OpenOCR | 13ecfd18d103d5e70a87922cebe89077e8f0eb9c | [
"Apache-2.0"
] | 3 | 2021-02-02T06:10:50.000Z | 2021-05-10T01:27:31.000Z | torchocr/postprocess/ctpn_postprocess.py | hua1024/OpenOCR | 13ecfd18d103d5e70a87922cebe89077e8f0eb9c | [
"Apache-2.0"
] | null | null | null | torchocr/postprocess/ctpn_postprocess.py | hua1024/OpenOCR | 13ecfd18d103d5e70a87922cebe89077e8f0eb9c | [
"Apache-2.0"
] | 2 | 2021-02-02T06:11:25.000Z | 2021-02-09T16:27:48.000Z | # coding=utf-8
# @Time : 2021/1/28 11:48
# @Auto : zzf-jeff | 22.333333 | 28 | 0.537313 | 12 | 67 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0.268657 | 67 | 3 | 29 | 22.333333 | 0.489796 | 0.880597 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12a52fffda27dd5dcaa7fa7c8d2ed6d149b37e69 | 156 | py | Python | api_site/src/api_x/zyt/vas/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | 1 | 2019-10-14T11:51:49.000Z | 2019-10-14T11:51:49.000Z | api_site/src/api_x/zyt/vas/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | api_site/src/api_x/zyt/vas/entry/__init__.py | webee/pay | b48c6892686bf3f9014bb67ed119506e41050d45 | [
"W3C"
] | null | null | null | # coding=utf-8
from __future__ import unicode_literals
from flask import Blueprint
vas_entry_mod = Blueprint('vas_entry', __name__)
from . import views
| 15.6 | 48 | 0.794872 | 22 | 156 | 5.090909 | 0.681818 | 0.214286 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.141026 | 156 | 9 | 49 | 17.333333 | 0.828358 | 0.076923 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 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 | 1 | 0 | 6 |
12d0d29cd5eb5e0773ca1e74d766d6c2b47ac024 | 34 | py | Python | src/viur/utils/__init__.py | 0x6369616e/viur-cli | 6937ac3d02568d4aa5c068f8d12aac87506b31e9 | [
"MIT"
] | null | null | null | src/viur/utils/__init__.py | 0x6369616e/viur-cli | 6937ac3d02568d4aa5c068f8d12aac87506b31e9 | [
"MIT"
] | null | null | null | src/viur/utils/__init__.py | 0x6369616e/viur-cli | 6937ac3d02568d4aa5c068f8d12aac87506b31e9 | [
"MIT"
] | 1 | 2021-12-11T23:36:28.000Z | 2021-12-11T23:36:28.000Z | from .singleton import Singleton
| 11.333333 | 32 | 0.823529 | 4 | 34 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 2 | 33 | 17 | 0.965517 | 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 | 1 | 0 | 0 | 6 |
12d8ad5581a683a44f26eedab7bb48aadb430fc4 | 7,056 | py | Python | pyrobolearn/values/polynomial.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 2 | 2021-01-21T21:08:30.000Z | 2022-03-29T16:45:49.000Z | pyrobolearn/values/polynomial.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | null | null | null | pyrobolearn/values/polynomial.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 1 | 2020-09-29T21:25:39.000Z | 2020-09-29T21:25:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Provides the polynomial value function approximator.
"""
import copy
import torch
from pyrobolearn.approximators import PolynomialApproximator
from pyrobolearn.values.value import ParametrizedValue, ParametrizedQValue, ParametrizedQValueOutput
__author__ = "Brian Del... | 46.421053 | 121 | 0.672052 | 870 | 7,056 | 5.327586 | 0.156322 | 0.035599 | 0.037756 | 0.009061 | 0.825243 | 0.807335 | 0.807335 | 0.807335 | 0.76246 | 0.737217 | 0 | 0.00646 | 0.232143 | 7,056 | 151 | 122 | 46.728477 | 0.849022 | 0.490646 | 0 | 0.557377 | 0 | 0 | 0.037979 | 0.007533 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147541 | false | 0 | 0.065574 | 0 | 0.409836 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
12e8bd08dc574aaa3294f93a4bef2489d101b85d | 86 | py | Python | powerline_vaulted_segment/__init__.py | sbarber/powerline-vaulted-segment | 8740360b81d6c6855ded6dc37c80e546bbc77c27 | [
"MIT"
] | 1 | 2019-05-03T04:43:58.000Z | 2019-05-03T04:43:58.000Z | powerline_vaulted_segment/__init__.py | sbarber/powerline-vaulted-segment | 8740360b81d6c6855ded6dc37c80e546bbc77c27 | [
"MIT"
] | null | null | null | powerline_vaulted_segment/__init__.py | sbarber/powerline-vaulted-segment | 8740360b81d6c6855ded6dc37c80e546bbc77c27 | [
"MIT"
] | 1 | 2018-03-15T21:31:06.000Z | 2018-03-15T21:31:06.000Z | import pkg_resources
pkg_resources.declare_namespace(__name__)
from vaulted import *
| 17.2 | 41 | 0.860465 | 11 | 86 | 6.090909 | 0.727273 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 4 | 42 | 21.5 | 0.858974 | 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 | 1 | 0 | 0 | 6 |
12fbb0168ac769ab8a8610d414699c0d8872c648 | 24,741 | py | Python | network_ui_dev/client/v1_api_client.py | benthomasson/network-ui | 8c3e114d331a57848acb4004ccf090148fd36e86 | [
"Apache-2.0"
] | 1 | 2018-09-21T17:33:39.000Z | 2018-09-21T17:33:39.000Z | network_ui_dev/client/v1_api_client.py | benthomasson/network-ui | 8c3e114d331a57848acb4004ccf090148fd36e86 | [
"Apache-2.0"
] | 14 | 2020-06-18T14:42:24.000Z | 2022-03-08T23:09:03.000Z | network_ui_dev/client/v1_api_client.py | benthomasson/network-ui | 8c3e114d331a57848acb4004ccf090148fd36e86 | [
"Apache-2.0"
] | 1 | 2020-06-23T11:34:34.000Z | 2020-06-23T11:34:34.000Z |
import requests
import util
import json
from collections import namedtuple
Device = namedtuple('Device', ['device_id',
'topology',
'name',
'x',
'y',
'id',
... | 42.148211 | 157 | 0.459601 | 2,321 | 24,741 | 4.686773 | 0.028436 | 0.106178 | 0.050561 | 0.076852 | 0.897408 | 0.841147 | 0.821107 | 0.805571 | 0.777533 | 0.74168 | 0 | 0.002711 | 0.433531 | 24,741 | 586 | 158 | 42.220137 | 0.773457 | 0 | 0 | 0.681818 | 0 | 0 | 0.047939 | 0.000849 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.008658 | 0 | 0.246753 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
4206751578a27e3c26626feb42ff037360268436 | 49 | py | Python | bench_wizard/__init__.py | tetched/bench-wizard | de9c687909e43b84de1022108316522e8f4bf13a | [
"Apache-2.0"
] | 2 | 2021-04-04T20:45:39.000Z | 2022-01-10T15:12:19.000Z | bench_wizard/__init__.py | tetched/bench-wizard | de9c687909e43b84de1022108316522e8f4bf13a | [
"Apache-2.0"
] | 7 | 2021-03-04T16:46:35.000Z | 2021-04-06T07:21:42.000Z | bench_wizard/__init__.py | tetched/bench-wizard | de9c687909e43b84de1022108316522e8f4bf13a | [
"Apache-2.0"
] | 1 | 2021-04-03T12:35:26.000Z | 2021-04-03T12:35:26.000Z | from bench_wizard.__version__ import __version__
| 24.5 | 48 | 0.897959 | 6 | 49 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.777778 | 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 | 1 | 0 | 0 | 6 |
420df9e7c08383ca2e03ae9702bbefb62a096333 | 188 | py | Python | misa-mima/triangle.py | adadesions/python-afternoon | 57b99cd5dbce0848260d38ef0b18c4ca021d5262 | [
"MIT"
] | null | null | null | misa-mima/triangle.py | adadesions/python-afternoon | 57b99cd5dbce0848260d38ef0b18c4ca021d5262 | [
"MIT"
] | null | null | null | misa-mima/triangle.py | adadesions/python-afternoon | 57b99cd5dbce0848260d38ef0b18c4ca021d5262 | [
"MIT"
] | null | null | null | from turtle import *
bgcolor('black')
pencolor('yellow')
forward(100)
left(120)
forward(100)
left(120)
forward(100)
forward(100)
right(120)
forward(100)
right(120)
forward(100)
done() | 9.894737 | 20 | 0.723404 | 28 | 188 | 4.857143 | 0.464286 | 0.441176 | 0.382353 | 0.25 | 0.661765 | 0.661765 | 0 | 0 | 0 | 0 | 0 | 0.179641 | 0.111702 | 188 | 19 | 21 | 9.894737 | 0.634731 | 0 | 0 | 0.714286 | 0 | 0 | 0.058201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
424b833c7875f10d719ca0759d52361d8c3adbc3 | 162 | py | Python | fairepart/signals.py | thoas/django-fairepart | 222c6c3d2125c33fc8f10a1f2c8a3a5ed273e8f4 | [
"MIT"
] | 2 | 2016-04-09T19:09:30.000Z | 2017-12-12T23:57:13.000Z | fairepart/signals.py | thoas/django-fairepart | 222c6c3d2125c33fc8f10a1f2c8a3a5ed273e8f4 | [
"MIT"
] | null | null | null | fairepart/signals.py | thoas/django-fairepart | 222c6c3d2125c33fc8f10a1f2c8a3a5ed273e8f4 | [
"MIT"
] | null | null | null | from django.dispatch import Signal
relation_linked = Signal(providing_args=['instance', 'user'])
relation_joined = Signal(providing_args=['instance', 'user'])
| 23.142857 | 61 | 0.765432 | 19 | 162 | 6.315789 | 0.631579 | 0.25 | 0.316667 | 0.45 | 0.516667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 162 | 6 | 62 | 27 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
428a6fbb51191f632694d03402d002a7aa1efc31 | 84 | py | Python | yunpipe/pipeline/__init__.py | wangyx2005/yunpipe | c3ccf09f9cd128e47ebd109e19cc4249c8272002 | [
"Apache-2.0"
] | null | null | null | yunpipe/pipeline/__init__.py | wangyx2005/yunpipe | c3ccf09f9cd128e47ebd109e19cc4249c8272002 | [
"Apache-2.0"
] | null | null | null | yunpipe/pipeline/__init__.py | wangyx2005/yunpipe | c3ccf09f9cd128e47ebd109e19cc4249c8272002 | [
"Apache-2.0"
] | null | null | null | from .config import generate_session
USER_CREDENTIAL, session = generate_session()
| 21 | 45 | 0.833333 | 10 | 84 | 6.7 | 0.7 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 3 | 46 | 28 | 0.893333 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4291a98b3880c34c520bf653eeaaed5c8eaf518e | 2,722 | py | Python | nrcan_etl/tests/test_database.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 7 | 2017-12-15T03:58:29.000Z | 2018-04-23T22:48:53.000Z | nrcan_etl/tests/test_database.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 137 | 2018-01-24T16:44:57.000Z | 2018-06-25T14:02:10.000Z | nrcan_etl/tests/test_database.py | Rockynrcan/nrcan_api | 13d8fb306d8185f6bcd082c559ad3fe8b4340cc7 | [
"MIT"
] | 4 | 2018-02-15T12:40:52.000Z | 2018-07-03T14:22:51.000Z | import typing
import pymongo
import pytest
from energuide.embedded import region
from energuide import database
from energuide import dwelling
@pytest.fixture
def load_data() -> typing.List[dwelling.Dwelling]:
return [
dwelling.Dwelling(
house_id=1,
year_built=2000,
cit... | 28.652632 | 96 | 0.594416 | 262 | 2,722 | 5.954198 | 0.209924 | 0.092308 | 0.098718 | 0.073718 | 0.835897 | 0.835897 | 0.789103 | 0.730128 | 0.730128 | 0.730128 | 0 | 0.020878 | 0.31374 | 2,722 | 94 | 97 | 28.957447 | 0.81424 | 0 | 0 | 0.674419 | 0 | 0 | 0.02241 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 1 | 0.034884 | false | 0 | 0.069767 | 0.011628 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
429b8f0a128684d441a0b1f9578f56eb51da32fa | 63 | py | Python | cflearn/models/cv/encoder/backbone/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | cflearn/models/cv/encoder/backbone/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | cflearn/models/cv/encoder/backbone/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from .api import *
from .core import *
from .settings import *
| 15.75 | 23 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 24 | 21 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
c443d875c6c257b135e796c878acf9e691c2df0e | 11,028 | py | Python | ocr_utils.py | nhh1501/E2E_MLT_VN | dabbc1f7e12b45fbaef965200217cca41793dbc3 | [
"MIT"
] | null | null | null | ocr_utils.py | nhh1501/E2E_MLT_VN | dabbc1f7e12b45fbaef965200217cca41793dbc3 | [
"MIT"
] | null | null | null | ocr_utils.py | nhh1501/E2E_MLT_VN | dabbc1f7e12b45fbaef965200217cca41793dbc3 | [
"MIT"
] | null | null | null | '''
Created on Oct 25, 2018
@author: Michal.Busta at gmail.com
'''
import math
import numpy as np
import random
import torch
import torch.nn.functional as F
import cv2
device = 'cuda'
def print_seq_ext(wf, codec):
prev = 0
word = ''
current_word = ''
start_pos = 0
end_pos = 0
dec_splits = []
splits = ... | 29.967391 | 137 | 0.545702 | 1,777 | 11,028 | 3.251548 | 0.115926 | 0.018692 | 0.018172 | 0.009346 | 0.83316 | 0.816199 | 0.794219 | 0.794219 | 0.789373 | 0.777605 | 0 | 0.062638 | 0.263148 | 11,028 | 367 | 138 | 30.049046 | 0.648413 | 0.238937 | 0 | 0.686099 | 0 | 0 | 0.002045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017937 | false | 0 | 0.026906 | 0 | 0.06278 | 0.017937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
c44cad29c2ea8712ff8627089269538ae7120be0 | 628 | py | Python | ephypype/tests/test_power.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/tests/test_power.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/tests/test_power.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | from ephypype.power import compute_and_save_psd
import os
def test_power_welch():
fmin = 0.1
fmax = 300
epochs_fname = 'test-epo.fif'
dir_path = os.path.dirname(os.path.realpath(__file__))
epochs_fname_abs = os.path.join(dir_path, epochs_fname)
compute_and_save_psd(epochs_fname_abs, fmin, fmax... | 29.904762 | 75 | 0.727707 | 98 | 628 | 4.285714 | 0.306122 | 0.209524 | 0.133333 | 0.121429 | 0.757143 | 0.757143 | 0.757143 | 0.757143 | 0.757143 | 0.757143 | 0 | 0.019011 | 0.16242 | 628 | 20 | 76 | 31.4 | 0.779468 | 0 | 0 | 0.625 | 0 | 0 | 0.062102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 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 | 6 |
c46fca760cc51e88cdb228c2ecb53b1e5acc6066 | 380 | py | Python | clipboard_functions.py | 4n4nd/UniClip_python | 70a7b70662e78c3808d80892bfacc0d521de4221 | [
"MIT"
] | null | null | null | clipboard_functions.py | 4n4nd/UniClip_python | 70a7b70662e78c3808d80892bfacc0d521de4221 | [
"MIT"
] | null | null | null | clipboard_functions.py | 4n4nd/UniClip_python | 70a7b70662e78c3808d80892bfacc0d521de4221 | [
"MIT"
] | null | null | null | import pyperclip #Library for clipboard manipulation
import os
def local_get_clipboard():
return pyperclip.paste()
def local_set_clipboard(clipboard_data):
pyperclip.copy(clipboard_data)
# local_set_clipboard("My Name is Khan")
# print (local_get_clipboard())
# pyperclip.copy("hi")
# data = "myman"
# os.system(... | 22.352941 | 52 | 0.75 | 51 | 380 | 5.352941 | 0.509804 | 0.087912 | 0.186813 | 0.161172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121053 | 380 | 17 | 53 | 22.352941 | 0.817365 | 0.547368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
671624fa5964c36732989b5770ee5f96277b869a | 74 | py | Python | foo_bar/bar.py | JPBeukes/foo_bar_pkg | 7127b954b3f6ce66dacb4bf7221a7998f151728a | [
"MIT"
] | null | null | null | foo_bar/bar.py | JPBeukes/foo_bar_pkg | 7127b954b3f6ce66dacb4bf7221a7998f151728a | [
"MIT"
] | null | null | null | foo_bar/bar.py | JPBeukes/foo_bar_pkg | 7127b954b3f6ce66dacb4bf7221a7998f151728a | [
"MIT"
] | null | null | null | import foo_bar.foo as foo
def bar_print():
print('bar')
foo.foo_print() | 14.8 | 25 | 0.716216 | 14 | 74 | 3.571429 | 0.428571 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 5 | 26 | 14.8 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6761cf95f7ac0dc935285955a4e450f12e1679e4 | 169,826 | py | Python | chb/mips/simulation/MIPSimStubs.py | orinatic/CodeHawk-Binary | 8b4fd728213e629736d5ece840ea3b43cea53f30 | [
"MIT"
] | null | null | null | chb/mips/simulation/MIPSimStubs.py | orinatic/CodeHawk-Binary | 8b4fd728213e629736d5ece840ea3b43cea53f30 | [
"MIT"
] | null | null | null | chb/mips/simulation/MIPSimStubs.py | orinatic/CodeHawk-Binary | 8b4fd728213e629736d5ece840ea3b43cea53f30 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# CodeHawk Binary Analyzer
# Author: Henny Sipma
# ------------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2020-2021 Henny Sipma
# Copyright (c) 2021 Aarno Labs LLC
#
# ... | 38.318141 | 89 | 0.588396 | 20,140 | 169,826 | 4.756902 | 0.036097 | 0.085216 | 0.044153 | 0.068619 | 0.804747 | 0.781658 | 0.768277 | 0.748685 | 0.728967 | 0.702852 | 0 | 0.02192 | 0.286258 | 169,826 | 4,431 | 90 | 38.326789 | 0.768464 | 0.024325 | 0 | 0.686455 | 0 | 0 | 0.070007 | 0.002135 | 0.000288 | 0 | 0.000345 | 0 | 0 | 1 | 0.141787 | false | 0.000865 | 0.00317 | 0.039193 | 0.295389 | 0.015274 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
67e4d9a02c6653abd321ada0ee2db59690a8de28 | 102 | py | Python | Lesson 03 - Time Complexity/ForgJmp/Solution.py | AbdeenM/codility-lessons-solutions | b58029d834e430d8c42c4468649aeff468195dd1 | [
"MIT"
] | 1 | 2021-01-26T19:29:39.000Z | 2021-01-26T19:29:39.000Z | Lesson 03 - Time Complexity/ForgJmp/Solution.py | AbdeenM/codility-lessons-solutions | b58029d834e430d8c42c4468649aeff468195dd1 | [
"MIT"
] | null | null | null | Lesson 03 - Time Complexity/ForgJmp/Solution.py | AbdeenM/codility-lessons-solutions | b58029d834e430d8c42c4468649aeff468195dd1 | [
"MIT"
] | null | null | null | import math
def solution(X, Y, D):
# Return the maxium distance
return math.ceil((Y - X) / D) | 20.4 | 33 | 0.627451 | 17 | 102 | 3.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245098 | 102 | 5 | 33 | 20.4 | 0.831169 | 0.254902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
67e7aca8b827efe1d023ab71c9f18658ed34d4fd | 5,727 | py | Python | editor_api/fileio/exco.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | 8 | 2020-06-28T07:50:29.000Z | 2022-01-05T16:29:48.000Z | editor_api/fileio/exco.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | null | null | null | editor_api/fileio/exco.py | jphuart/swatplus-automatic-workflow | dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4 | [
"MIT"
] | 5 | 2020-06-28T07:50:31.000Z | 2021-08-16T07:09:59.000Z | from .base import BaseFileModel, FileColumn as col
from helpers import utils
from database.project.recall import Recall_dat, Recall_rec
import database.project.exco as db
class Exco_om_exc(BaseFileModel):
def __init__(self, file_name, version=None):
self.file_name = file_name
self.version = version
def read(se... | 31.295082 | 69 | 0.692858 | 893 | 5,727 | 4.240761 | 0.110862 | 0.13784 | 0.184843 | 0.161605 | 0.821231 | 0.801954 | 0.760761 | 0.668075 | 0.668075 | 0.668075 | 0 | 0.00313 | 0.163262 | 5,727 | 182 | 70 | 31.467033 | 0.787145 | 0.008032 | 0 | 0.523179 | 0 | 0 | 0.043662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119205 | false | 0 | 0.02649 | 0 | 0.18543 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c00c3187b34580671f449cd9aee80f5154a6597b | 140 | py | Python | domainconnectzone/__init__.py | vdyminskyy/DomainConnectApplyZone | 70bfb3abc89adec6d2f8a3605e477f32c728063f | [
"MIT"
] | null | null | null | domainconnectzone/__init__.py | vdyminskyy/DomainConnectApplyZone | 70bfb3abc89adec6d2f8a3605e477f32c728063f | [
"MIT"
] | null | null | null | domainconnectzone/__init__.py | vdyminskyy/DomainConnectApplyZone | 70bfb3abc89adec6d2f8a3605e477f32c728063f | [
"MIT"
] | null | null | null | from .DomainConnect import DomainConnect
from .qsutil import qs2dict, qsfilter
from .sigutil import verify_sig, generate_sig, get_publickey
| 35 | 60 | 0.85 | 18 | 140 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.107143 | 140 | 3 | 61 | 46.666667 | 0.92 | 0 | 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 | 1 | 0 | 0 | 6 |
c04f51e1460fccbff7a6b38582793f5538922da5 | 43 | py | Python | fastestrplidar/__init__.py | psomers3/FastestRplidar | de729ac04cc559941c4d2007a442d14b17ab8e67 | [
"MIT"
] | null | null | null | fastestrplidar/__init__.py | psomers3/FastestRplidar | de729ac04cc559941c4d2007a442d14b17ab8e67 | [
"MIT"
] | null | null | null | fastestrplidar/__init__.py | psomers3/FastestRplidar | de729ac04cc559941c4d2007a442d14b17ab8e67 | [
"MIT"
] | null | null | null | from .fastestrplidar import FastestRplidar
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 | 1 | 0 | 0 | 6 |
fbeee4aa9fbd873d886930a721021ef77935f9dc | 35 | py | Python | ipclassifier/iambic_line_processors/__init__.py | Chad-Mowbray/iamb-classifier | 9da3bbfa2cac4518dae5b01de7c62a100a785a82 | [
"MIT"
] | 2 | 2021-09-11T13:12:38.000Z | 2022-03-16T23:42:34.000Z | ipclassifier/iambic_line_processors/__init__.py | redova87/iamb-classifier | 9da3bbfa2cac4518dae5b01de7c62a100a785a82 | [
"MIT"
] | 2 | 2021-09-07T02:35:37.000Z | 2022-02-06T08:29:18.000Z | ipclassifier/iambic_line_processors/__init__.py | redova87/iamb-classifier | 9da3bbfa2cac4518dae5b01de7c62a100a785a82 | [
"MIT"
] | 2 | 2022-02-06T08:27:47.000Z | 2022-02-06T17:46:34.000Z | from .iambic_line import IambicLine | 35 | 35 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 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 | 1 | 0 | 0 | 6 |
fbf2b5515da51d02d0c5cd1a25cf2cc1febb0bd8 | 71,066 | py | Python | fundamental_analysis/accounting_ratios.py | olivier2311/Quantropy | 539014df811b85742a8731ca347f0a224d82820b | [
"MIT"
] | 1 | 2021-11-16T19:06:56.000Z | 2021-11-16T19:06:56.000Z | fundamental_analysis/accounting_ratios.py | webclinic017/Quantropy-1 | 539014df811b85742a8731ca347f0a224d82820b | [
"MIT"
] | null | null | null | fundamental_analysis/accounting_ratios.py | webclinic017/Quantropy-1 | 539014df811b85742a8731ca347f0a224d82820b | [
"MIT"
] | 1 | 2021-11-16T19:06:53.000Z | 2021-11-16T19:06:53.000Z | from datetime import datetime, timedelta
import fundamental_analysis.financial_statements_entries as fi
import fundamental_analysis.supporting_metrics as me
import historical_data_collection.data_preparation_helpers as excel
import fundamental_analysis.equity_valuation_models.equity_valuation_models as valuation
'''
L... | 70.924152 | 271 | 0.695902 | 10,349 | 71,066 | 4.690888 | 0.053145 | 0.083632 | 0.065711 | 0.035224 | 0.796317 | 0.774173 | 0.751926 | 0.746508 | 0.739422 | 0.730194 | 0 | 0.009234 | 0.196916 | 71,066 | 1,001 | 272 | 70.995005 | 0.841341 | 0.632961 | 0 | 0.305785 | 0 | 0 | 0.00493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206612 | false | 0.020661 | 0.024793 | 0 | 0.417355 | 0.008264 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2222b7764e2de6fce05911a99adcbe3c22d40f38 | 5,054 | py | Python | src/deepcolor/dataset.py | kojikoji/deepcolor | bf8fd441ea3cdb6e5b1879157640d85998b55041 | [
"MIT"
] | null | null | null | src/deepcolor/dataset.py | kojikoji/deepcolor | bf8fd441ea3cdb6e5b1879157640d85998b55041 | [
"MIT"
] | null | null | null | src/deepcolor/dataset.py | kojikoji/deepcolor | bf8fd441ea3cdb6e5b1879157640d85998b55041 | [
"MIT"
] | null | null | null | # evndyn
import torch
import numpy as np
class VaeSmDataSet(torch.utils.data.Dataset):
def __init__(self, x, xnorm_mat, transform=None, pre_transform=None):
self.x = x
self.xnorm_mat = xnorm_mat
def __len__(self):
return(self.x.shape[0])
def __getitem__(self, idx):
idx_x =... | 42.830508 | 152 | 0.682034 | 712 | 5,054 | 4.488764 | 0.109551 | 0.070088 | 0.043805 | 0.04005 | 0.821026 | 0.821026 | 0.79224 | 0.768148 | 0.768148 | 0.768148 | 0 | 0.005773 | 0.211713 | 5,054 | 117 | 153 | 43.196581 | 0.796436 | 0.001187 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.020833 | 0.020833 | 0.239583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2245794f829e43611ca6a39b731f0a0471740a06 | 21,060 | py | Python | src/models/segnet.py | shendu-sw/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | 7 | 2021-08-24T10:01:28.000Z | 2021-12-29T07:13:17.000Z | src/models/segnet_istropy.py | idrl-lab/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | null | null | null | src/models/segnet_istropy.py | idrl-lab/TFR-HSS-Benchmark | 3fbc93ff548d924050e2de5070007197f04be7f4 | [
"MIT"
] | 1 | 2021-08-25T01:38:39.000Z | 2021-08-25T01:38:39.000Z | # encoding: utf-8
from math import ceil
import torch
import torch.nn as nn
import torch.nn.functional as F
from .util.backbone import *
__all__ = [
"SegNet_VGG",
"SegNet_VGG_GN",
"SegNet_AlexNet",
"SegNet_ResNet18",
"SegNet_ResNet50",
"SegNet_ResNet101",
"SegNet_ResNet34",
"SegNet_Re... | 33.75 | 88 | 0.57227 | 2,644 | 21,060 | 4.388805 | 0.076778 | 0.06808 | 0.017235 | 0.021717 | 0.842985 | 0.810841 | 0.787401 | 0.770252 | 0.750517 | 0.730955 | 0 | 0.051303 | 0.309544 | 21,060 | 623 | 89 | 33.804173 | 0.746716 | 0.047673 | 0 | 0.632653 | 0 | 0 | 0.006116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046939 | false | 0 | 0.010204 | 0 | 0.1 | 0.004082 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
2274a2feaea502fa6c3f8a0c98c8155db599d409 | 96 | py | Python | venv/lib/python3.8/site-packages/yapf/yapflib/format_token.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/format_token.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/yapf/yapflib/format_token.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/28/60/ae/0ed7ba935d630565e607df68d8384da6f83424ab9e7519647610e64102 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f1621ba39df17f7cefc7e7a15e602361b856ab9 | 19,267 | py | Python | django_cradmin/tests/test_sortable/test_sortable.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 11 | 2015-07-05T16:57:58.000Z | 2020-11-24T16:58:19.000Z | django_cradmin/tests/test_sortable/test_sortable.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 91 | 2015-01-08T22:38:13.000Z | 2022-02-10T10:25:27.000Z | django_cradmin/tests/test_sortable/test_sortable.py | appressoas/django_cradmin | 0f8715afdfe1ad32e46033f442e622aecf6a4dec | [
"BSD-3-Clause"
] | 3 | 2016-12-07T12:19:24.000Z | 2018-10-03T14:04:18.000Z | from builtins import range
from django import test
from django.core.exceptions import FieldDoesNotExist
from model_bakery import baker
from django_cradmin.tests.test_sortable.cradmin_sortable_testapp.models import SortableItem
from django_cradmin.tests.test_sortable.cradmin_sortable_testapp.models import ItemContainer... | 45.016355 | 107 | 0.67286 | 2,499 | 19,267 | 4.916767 | 0.065226 | 0.084235 | 0.06926 | 0.058599 | 0.897615 | 0.875071 | 0.846423 | 0.833483 | 0.82746 | 0.801172 | 0 | 0.026283 | 0.217989 | 19,267 | 427 | 108 | 45.12178 | 0.789208 | 0.011055 | 0 | 0.643478 | 0 | 0 | 0.028121 | 0 | 0 | 0 | 0 | 0 | 0.191304 | 1 | 0.133333 | false | 0.005797 | 0.017391 | 0 | 0.171014 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
3f40aa7fe4ae95244a009071351efccf6c656f20 | 45 | py | Python | backend/users/serializers/__init__.py | orlantquijada/impact2050 | 1153a11c81477cd24689fad92f597621b7da84b9 | [
"MIT"
] | null | null | null | backend/users/serializers/__init__.py | orlantquijada/impact2050 | 1153a11c81477cd24689fad92f597621b7da84b9 | [
"MIT"
] | 14 | 2020-06-06T00:08:34.000Z | 2022-03-12T00:03:46.000Z | backend/users/serializers/__init__.py | orlantquijada/impact2050 | 1153a11c81477cd24689fad92f597621b7da84b9 | [
"MIT"
] | null | null | null | from . import base, request, extended, query
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.894737 | 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 | 1 | 0 | 0 | 6 |
58c2b2b0fe4b3508053ff98f42907b54995a9f80 | 149 | py | Python | apps/sale/models/__init__.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | apps/sale/models/__init__.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | apps/sale/models/__init__.py | picsldev/pyerp | e998e3e99a4e45033d54a6b1df50697f7288f67f | [
"MIT"
] | null | null | null | """ Centralización de los modelos del módulo de ventas
"""
# __init__.py
from .saleorder import PySaleOrder
from .saleorder import PySaleOrderDetail
| 24.833333 | 54 | 0.798658 | 18 | 149 | 6.388889 | 0.777778 | 0.226087 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 5 | 55 | 29.8 | 0.891473 | 0.422819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
58e9a9174ed0d574bea61dfd4df2f8d8fa905e39 | 3,867 | py | Python | project/Transparency/model/modules/Rationale_Generator.py | hancia/ToxicSpansDetection | 4a10600292af90a936767aee09559b39380e3d5e | [
"Apache-2.0"
] | 3 | 2021-03-23T08:07:54.000Z | 2021-11-13T07:13:32.000Z | project/Transparency/model/modules/Rationale_Generator.py | hancia/ToxicSpansDetection | 4a10600292af90a936767aee09559b39380e3d5e | [
"Apache-2.0"
] | null | null | null | project/Transparency/model/modules/Rationale_Generator.py | hancia/ToxicSpansDetection | 4a10600292af90a936767aee09559b39380e3d5e | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from model.modelUtils import isTrue
from allennlp.common import Registrable
from allennlp.nn.activations import Activation
from torch.nn import LSTMCell
from collections import namedtuple
from model.modelUtils import isTrue, BatchHolder, BatchMultiHolder
from allennlp.common.from_par... | 37.182692 | 126 | 0.656581 | 528 | 3,867 | 4.598485 | 0.181818 | 0.074135 | 0.058896 | 0.044481 | 0.815486 | 0.789951 | 0.789951 | 0.789951 | 0.789951 | 0.741763 | 0 | 0.01336 | 0.225756 | 3,867 | 103 | 127 | 37.543689 | 0.797595 | 0.061029 | 0 | 0.611111 | 0 | 0 | 0.00946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.152778 | 0 | 0.263889 | 0.027778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
58fd08bfe62746ab3de50421266da34393594f66 | 4,881 | py | Python | mbzirc_ign/src/mbzirc_ign/test_model.py | osrf/mbzirc | 53b8fddcd4fd99b669ba539a4439b07d711692f0 | [
"Apache-2.0"
] | 13 | 2022-01-06T06:08:35.000Z | 2022-03-31T14:56:45.000Z | mbzirc_ign/src/mbzirc_ign/test_model.py | osrf/mbzirc | 53b8fddcd4fd99b669ba539a4439b07d711692f0 | [
"Apache-2.0"
] | 28 | 2021-12-16T17:59:49.000Z | 2022-03-31T18:40:09.000Z | mbzirc_ign/src/mbzirc_ign/test_model.py | osrf/mbzirc | 53b8fddcd4fd99b669ba539a4439b07d711692f0 | [
"Apache-2.0"
] | 9 | 2022-01-07T20:15:04.000Z | 2022-03-30T07:41:06.000Z | import os
import unittest
from ament_index_python.packages import get_package_share_directory
from mbzirc_ign.model import Model
class TestModel(unittest.TestCase):
def test_single_uav_config(self):
config = os.path.join(get_package_share_directory('mbzirc_ign'),
'config',... | 35.369565 | 91 | 0.61975 | 562 | 4,881 | 5.174377 | 0.124555 | 0.128955 | 0.154746 | 0.082531 | 0.839065 | 0.795392 | 0.790578 | 0.753439 | 0.740371 | 0.712173 | 0 | 0.009426 | 0.261012 | 4,881 | 137 | 92 | 35.627737 | 0.796784 | 0 | 0 | 0.58 | 0 | 0 | 0.099775 | 0.029297 | 0 | 0 | 0 | 0 | 0.35 | 1 | 0.06 | false | 0 | 0.04 | 0 | 0.11 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
453966259dfb7245873209ca8861317993e7d4c7 | 3,964 | py | Python | december-measurements/config/network_metrics_config.py | dalton/socialsim | 48b6acc2db423c0f4b14f4ff1c98e931660342fd | [
"BSD-2-Clause"
] | null | null | null | december-measurements/config/network_metrics_config.py | dalton/socialsim | 48b6acc2db423c0f4b14f4ff1c98e931660342fd | [
"BSD-2-Clause"
] | null | null | null | december-measurements/config/network_metrics_config.py | dalton/socialsim | 48b6acc2db423c0f4b14f4ff1c98e931660342fd | [
"BSD-2-Clause"
] | null | null | null | import Metrics
from run_measurements_and_metrics import named_partial
network_measurement_params = {
### Github
"number_of_nodes": {
"question": '',
"scale": "population",
"scenario1":True,
"scenario2":False,
"sceanrio2":True,
"measurement": "number_of_nodes",
... | 27.915493 | 81 | 0.562311 | 294 | 3,964 | 7.258503 | 0.163265 | 0.168697 | 0.234302 | 0.281162 | 0.797563 | 0.797563 | 0.797563 | 0.797563 | 0.685098 | 0.685098 | 0 | 0.011935 | 0.302472 | 3,964 | 141 | 82 | 28.113475 | 0.759855 | 0.001514 | 0 | 0.620155 | 0 | 0 | 0.384674 | 0.118867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015504 | 0 | 0.015504 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
453c4da07185e3d17286b9ebf96fcb00077cdc52 | 25 | py | Python | electricityLoadForecasting/paths/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/paths/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null | electricityLoadForecasting/paths/__init__.py | BCD65/electricityLoadForecasting | 07a6ed060afaf7cc2906c0389b5c9e9b0fede193 | [
"MIT"
] | null | null | null |
from .paths import *
| 4.166667 | 20 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 25 | 5 | 21 | 5 | 0.882353 | 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 | 1 | 0 | 0 | 6 |
188929f44e31ab820cb1ed2904ae6aad1015a3a7 | 25,673 | py | Python | train/mix_net.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | 2 | 2021-09-18T14:21:24.000Z | 2021-12-20T03:39:13.000Z | train/mix_net.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | null | null | null | train/mix_net.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | 1 | 2021-09-12T07:02:23.000Z | 2021-09-12T07:02:23.000Z | # Copyright 2020 Tsinghua University, Author: Yunfu Song
# Apache 2.0.
# This script contrains net structures of CRF supervised training experiments.
import tensorflow as tf
from base import *
import alg
from hrf import alg as alg_np
class Config(wb.Config):
def __init__(self, word_vocab_size, char_vocab_size, ... | 46.509058 | 126 | 0.566198 | 3,117 | 25,673 | 4.401989 | 0.081809 | 0.061949 | 0.018439 | 0.023322 | 0.83937 | 0.822389 | 0.815247 | 0.806355 | 0.803659 | 0.788281 | 0 | 0.013364 | 0.320882 | 25,673 | 552 | 127 | 46.509058 | 0.773616 | 0.116737 | 0 | 0.682584 | 0 | 0 | 0.020047 | 0.001116 | 0 | 0 | 0 | 0 | 0.011236 | 1 | 0.101124 | false | 0 | 0.011236 | 0.02809 | 0.199438 | 0.02809 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
189e578e7e7852e62fa6ad4fef246a6bcb8af6aa | 12,108 | py | Python | tests/test_utils_iterverbose.py | dbajar/segno | f7d5669537b12d3ebb914ae6d0a0a1e14f8d25f5 | [
"BSD-3-Clause"
] | 254 | 2016-09-25T21:32:00.000Z | 2022-03-30T09:56:14.000Z | tests/test_utils_iterverbose.py | dbajar/segno | f7d5669537b12d3ebb914ae6d0a0a1e14f8d25f5 | [
"BSD-3-Clause"
] | 102 | 2016-08-04T12:18:44.000Z | 2022-03-23T09:09:51.000Z | tests/test_utils_iterverbose.py | dbajar/segno | f7d5669537b12d3ebb914ae6d0a0a1e14f8d25f5 | [
"BSD-3-Clause"
] | 34 | 2016-09-25T21:34:42.000Z | 2022-03-30T08:19:03.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016 - 2020 -- Lars Heuer
# All rights reserved.
#
# License: BSD License
#
"""\
Tests against the ``utils.matrix_iter_verboses`` function.
"""
from __future__ import absolute_import, unicode_literals, print_function
import io
import os
import pytest
from segno import encoder, ... | 36.251497 | 113 | 0.658077 | 1,727 | 12,108 | 4.431963 | 0.081065 | 0.015286 | 0.064672 | 0.045989 | 0.90763 | 0.893389 | 0.861249 | 0.836425 | 0.798798 | 0.726548 | 0 | 0.025665 | 0.208375 | 12,108 | 333 | 114 | 36.36036 | 0.772874 | 0.036009 | 0 | 0.611336 | 0 | 0 | 0.063645 | 0.030962 | 0 | 0 | 0.013933 | 0 | 0.129555 | 1 | 0.133603 | false | 0 | 0.020243 | 0 | 0.157895 | 0.004049 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
18ab7d39eeaed42a3e079c910b0a49f3a0aeb3e8 | 227 | py | Python | core_collection/sysinfo/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | 4 | 2021-12-22T10:48:28.000Z | 2021-12-22T11:06:10.000Z | core_collection/sysinfo/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | null | null | null | core_collection/sysinfo/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | null | null | null | """This entry can find out some properties of the host system,
lazily computed via parameters.
Usage examples :
axs byname sysinfo , get osname
axs byname sysinfo , get arch
"""
| 28.375 | 62 | 0.599119 | 27 | 227 | 5.037037 | 0.851852 | 0.132353 | 0.235294 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352423 | 227 | 7 | 63 | 32.428571 | 0.92517 | 0.964758 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 6 |
18d379ae2cd868db2af989b66da71ba30f75b7f4 | 220 | py | Python | src/kotobo/exceptions.py | rmc8/kotobo-api | 88e42286682f3e3a3c90906b504b7d87b901a808 | [
"MIT"
] | null | null | null | src/kotobo/exceptions.py | rmc8/kotobo-api | 88e42286682f3e3a3c90906b504b7d87b901a808 | [
"MIT"
] | null | null | null | src/kotobo/exceptions.py | rmc8/kotobo-api | 88e42286682f3e3a3c90906b504b7d87b901a808 | [
"MIT"
] | null | null | null | class KotoboConnectionError(Exception):
pass
class KotoboTooManyRequestsError(Exception):
pass
class KotoboNotLoginException(Exception):
pass
class KotoboUndefinedCategoryException(Exception):
pass
| 14.666667 | 50 | 0.790909 | 16 | 220 | 10.875 | 0.4375 | 0.298851 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154545 | 220 | 14 | 51 | 15.714286 | 0.935484 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
18e99212b43b090ce556541b0da3ad3e3276f9a5 | 458 | py | Python | roomai/sevenking/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | null | null | null | roomai/sevenking/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | null | null | null | roomai/sevenking/__init__.py | yooyoo2004/RoomAI | 7f4d655581a03ded801f6c6d7d18f9fff47aa6f5 | [
"MIT"
] | 1 | 2021-08-15T16:19:01.000Z | 2021-08-15T16:19:01.000Z | from roomai.sevenking.SevenKingUtils import SevenKingPokerCard
from roomai.sevenking.SevenKingUtils import AllSevenKingPokerCards
from roomai.sevenking.SevenKingInfo import SevenKingPublicState
from roomai.sevenking.SevenKingInfo import SevenKingPrivateState
from roomai.sevenking.SevenKingInfo import Seven... | 50.888889 | 68 | 0.866812 | 42 | 458 | 9.452381 | 0.309524 | 0.176322 | 0.335013 | 0.241814 | 0.483627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10262 | 458 | 8 | 69 | 57.25 | 0.965937 | 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 | 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 | 6 |
e186cd4c655e2a36ba4a952287dcfe2c6c0d20c8 | 134 | py | Python | website/about/views.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 1 | 2021-12-14T22:24:20.000Z | 2021-12-14T22:24:20.000Z | website/about/views.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | 11 | 2021-03-30T13:59:29.000Z | 2022-03-12T00:48:40.000Z | website/about/views.py | zckoh/ecommerce-fullstack | c4cecea3ebaec900da484954d01dcbc2cba325c9 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def about_view(request):
return render(request, 'about/about.html') | 26.8 | 46 | 0.768657 | 19 | 134 | 5.368421 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 134 | 5 | 46 | 26.8 | 0.87931 | 0.171642 | 0 | 0 | 0 | 0 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
e1c229a4d39784f95cb6afc0bca712010fe0ed7a | 11,412 | py | Python | tests/test_models_GAE.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 459 | 2019-01-30T17:04:40.000Z | 2022-03-23T08:28:24.000Z | tests/test_models_GAE.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 7 | 2019-01-31T03:58:31.000Z | 2021-12-14T15:30:28.000Z | tests/test_models_GAE.py | unit8co/vegans | 46ceebe917c3a58fec7a87644c3945a148cfc7c9 | [
"MIT"
] | 34 | 2019-01-30T18:20:33.000Z | 2022-01-25T06:24:26.000Z | """
Test for models with encoder, generator, adversary structure.
"""
import torch
import pytest
import numpy as np
from vegans.GAN import AAE, BicycleGAN, LRGAN, VAEGAN
from vegans.utils.layers import LayerReshape
# gan, adv_dim, enc_dim
networks_flat = [
(AAE, 10, 10),
(BicycleGAN, 16, 10+1),
(LRGAN, ... | 36.228571 | 119 | 0.668332 | 1,744 | 11,412 | 4.072821 | 0.071674 | 0.033225 | 0.036463 | 0.063072 | 0.86921 | 0.861467 | 0.852034 | 0.840631 | 0.832184 | 0.832184 | 0 | 0.02739 | 0.203382 | 11,412 | 314 | 120 | 36.343949 | 0.753932 | 0.022958 | 0 | 0.62249 | 0 | 0 | 0.078685 | 0 | 0 | 0 | 0 | 0 | 0.080321 | 1 | 0.044177 | false | 0 | 0.02008 | 0 | 0.076305 | 0.024096 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
835793b94346c0ddcb98979259b08b7de3d8301b | 295 | py | Python | examples/django/example/djfoursquare/auth.py | Code-in-the-House/foursquare_api | 47f710802bad581d36c7e8ec28612bccf1f9fe41 | [
"MIT"
] | null | null | null | examples/django/example/djfoursquare/auth.py | Code-in-the-House/foursquare_api | 47f710802bad581d36c7e8ec28612bccf1f9fe41 | [
"MIT"
] | null | null | null | examples/django/example/djfoursquare/auth.py | Code-in-the-House/foursquare_api | 47f710802bad581d36c7e8ec28612bccf1f9fe41 | [
"MIT"
] | null | null | null | from django.conf import settings
def get_consumer_credentials():
'''
Return consumer OAuth credentials
'''
return getattr(settings, 'FOURSQUARE_CLIENT_ID', ''), \
getattr(settings, 'FOURSQUARE_CLIENT_SECRET', ''), \
getattr(settings, 'FOURSQUARE_CALLBACK', '')
| 26.818182 | 60 | 0.674576 | 28 | 295 | 6.857143 | 0.607143 | 0.234375 | 0.390625 | 0.322917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19661 | 295 | 10 | 61 | 29.5 | 0.810127 | 0.111864 | 0 | 0 | 0 | 0 | 0.256098 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
55ef800ad9be85fe7cf92edcb76594b2fbef572a | 12,169 | py | Python | examples/account_examples.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 21 | 2020-11-25T16:30:53.000Z | 2022-03-08T06:24:02.000Z | examples/account_examples.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 29 | 2021-03-06T19:04:33.000Z | 2022-03-18T15:16:44.000Z | examples/account_examples.py | janezpodhostnik/flow-py-sdk | 8b10f4ca2290f5d31920b86fd93a68a643cb1c75 | [
"MIT"
] | 15 | 2021-03-06T18:36:40.000Z | 2022-02-09T15:14:01.000Z | from flow_py_sdk import (
flow_client,
AccountKey,
ProposalKey,
create_account_template,
Tx,
TransactionTemplates,
cadence,
SignAlgo,
HashAlgo,
)
from examples.common import Example, Config
from examples.common.utils import random_account
# -----------------------------------------... | 38.754777 | 83 | 0.49133 | 1,060 | 12,169 | 5.365094 | 0.133019 | 0.076314 | 0.024618 | 0.033234 | 0.840162 | 0.808335 | 0.791454 | 0.746263 | 0.746263 | 0.720943 | 0 | 0.00733 | 0.394609 | 12,169 | 313 | 84 | 38.878594 | 0.764626 | 0.125401 | 0 | 0.670543 | 0 | 0 | 0.115109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015504 | false | 0 | 0.011628 | 0 | 0.05814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
3621d1078b93ff9b3a2cb7946032d5f76ec6e466 | 9,444 | py | Python | tests/separate_reference_test.py | thoppe/NLPre | 4e7be5b9db2f3053dfb1af7f5312d95191c95f24 | [
"CC0-1.0"
] | 186 | 2017-04-01T15:38:53.000Z | 2022-03-04T18:59:58.000Z | tests/separate_reference_test.py | thoppe/NLPre | 4e7be5b9db2f3053dfb1af7f5312d95191c95f24 | [
"CC0-1.0"
] | 98 | 2017-04-03T18:34:22.000Z | 2019-11-15T17:36:02.000Z | tests/separate_reference_test.py | thoppe/NLPre | 4e7be5b9db2f3053dfb1af7f5312d95191c95f24 | [
"CC0-1.0"
] | 28 | 2017-09-25T11:35:30.000Z | 2021-07-15T13:54:05.000Z | from nose.tools import *
from nlpre.separate_reference import separate_reference
class References_Test:
@classmethod
def setup_class(cls):
cls.parser = separate_reference()
cls.parser_with_ref = separate_reference(reference_token=True)
def number_test(self):
doc = "How is the trea... | 34.593407 | 94 | 0.657666 | 1,361 | 9,444 | 4.326231 | 0.104335 | 0.092391 | 0.065217 | 0.092391 | 0.891644 | 0.88553 | 0.879076 | 0.852412 | 0.805367 | 0.764946 | 0 | 0.01644 | 0.259318 | 9,444 | 272 | 95 | 34.720588 | 0.825304 | 0.000635 | 0 | 0.473958 | 0 | 0 | 0.354811 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 1 | 0.182292 | false | 0 | 0.010417 | 0 | 0.197917 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
362d6acb565b4b3fe7d06ed62f810b010af90183 | 258,346 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/33.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/33.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/33.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19150
passenger_arriving = (
(4, 4, 3, 5, 7, 3, 0, 1, 1, 0, 1, 0, 0, 5, 4, 4, 2, 5, 3, 1, 0, 2, 1, 0, 1, 0), # 0
(6, 3, 4, 3, 2, 1, 2, 2, 2, 1, 1, 1, 0, 6, 2, 3, 4, 8, 0, 1, 0, 0, 2, 3, 0, 0), # 1
(7, 4, 5, 7, 5, 0, 1, 3, 0, 3, 1, 0, 0, 9, 2, 2, 7, 7, 3, 3, 2, 1, 1, 0, 0, 0), ... | 276.305882 | 494 | 0.769596 | 32,987 | 258,346 | 6.02695 | 0.217025 | 0.358531 | 0.344045 | 0.651875 | 0.375985 | 0.36753 | 0.364416 | 0.363994 | 0.363994 | 0.363994 | 0 | 0.849836 | 0.09574 | 258,346 | 934 | 495 | 276.601713 | 0.001194 | 0.015526 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
366a9ee730f7436b1948c3ca79a02b479f9aa5ee | 19 | py | Python | modules/unit_tests/core/formats/__init__.py | nursix/DRKCM | 09328289ff721c416494398aa751ff99906327cb | [
"MIT"
] | 3 | 2022-01-26T08:07:54.000Z | 2022-03-21T21:53:52.000Z | modules/unit_tests/core/formats/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | null | null | null | modules/unit_tests/core/formats/__init__.py | nursix/eden-asp | e49f46cb6488918f8d5a163dcd5a900cd686978c | [
"MIT"
] | 4 | 2018-07-09T12:56:09.000Z | 2019-10-21T21:00:42.000Z | from .xml import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 | 1 | 0 | 0 | 6 |
366c335defd508c15d9e2b0da8d9a3838242bec5 | 25 | py | Python | PC2/71755174-JorgeZuluaga/__init__.py | carloseorozco/PythonChallenges | 78fd49e2acdf97e8e60b95b1009e3fdd2ada37ce | [
"MIT"
] | 2 | 2021-06-03T15:52:03.000Z | 2021-06-07T15:52:10.000Z | PC2/71755174-JorgeZuluaga/__init__.py | carloseorozco/PythonChallenges | 78fd49e2acdf97e8e60b95b1009e3fdd2ada37ce | [
"MIT"
] | null | null | null | PC2/71755174-JorgeZuluaga/__init__.py | carloseorozco/PythonChallenges | 78fd49e2acdf97e8e60b95b1009e3fdd2ada37ce | [
"MIT"
] | 3 | 2021-06-04T13:16:08.000Z | 2021-06-10T19:22:32.000Z | import math
import numpy
| 8.333333 | 12 | 0.84 | 4 | 25 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 13 | 12.5 | 1 | 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 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.