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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75a4bb9fdee748c40195051c6c8f951f1adbfc5a | 1,615 | py | Python | tests/test_reader_base.py | po2xel/mootdx | aaa7114891e77445f2acfaf76a71d66070a18177 | [
"MIT"
] | 88 | 2021-06-29T03:18:13.000Z | 2022-03-30T12:28:28.000Z | tests/test_reader_base.py | po2xel/mootdx | aaa7114891e77445f2acfaf76a71d66070a18177 | [
"MIT"
] | 9 | 2021-10-02T14:00:19.000Z | 2022-03-21T02:10:19.000Z | tests/test_reader_base.py | po2xel/mootdx | aaa7114891e77445f2acfaf76a71d66070a18177 | [
"MIT"
] | 48 | 2021-07-22T04:24:08.000Z | 2022-03-26T01:10:47.000Z | import unittest
from mootdx.reader import ReaderBase
class TestReaderBase(unittest.TestCase):
def test_find_path(self):
reader = ReaderBase('../fixtures')
result = reader.find_path(symbol='sh000001', subdir='minline', suffix=['lc1', '1'], debug=True)
assert ('sh', 'sh000001', ['lc1', '1'... | 39.390244 | 104 | 0.605573 | 186 | 1,615 | 5.11828 | 0.215054 | 0.05042 | 0.069328 | 0.176471 | 0.828782 | 0.828782 | 0.828782 | 0.788866 | 0.788866 | 0.566176 | 0 | 0.080831 | 0.195666 | 1,615 | 40 | 105 | 40.375 | 0.65204 | 0 | 0 | 0.448276 | 0 | 0 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.310345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
75b540b9a28ad2275717a4a5217b09736253a7d7 | 106 | py | Python | boundfield_renderer/registries/__init__.py | bmampaey/django-form-renderer | b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776 | [
"MIT"
] | 1 | 2020-10-09T15:27:47.000Z | 2020-10-09T15:27:47.000Z | boundfield_renderer/registries/__init__.py | bmampaey/django-form-renderer | b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776 | [
"MIT"
] | null | null | null | boundfield_renderer/registries/__init__.py | bmampaey/django-form-renderer | b56eecb16bb8f7a47667aec8baf1ffcc0cd5b776 | [
"MIT"
] | null | null | null | from .default import renderer_registry as default
from .bootstrap4 import renderer_registry as bootstrap4
| 35.333333 | 55 | 0.867925 | 14 | 106 | 6.428571 | 0.5 | 0.311111 | 0.488889 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.113208 | 106 | 2 | 56 | 53 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
75ee030bd41db064f1fd3423be3e2ddea2b4f281 | 7,951 | py | Python | datasets/augmentation.py | HanHuCAS/DR-UDA | 46691fe9e6703ad796572ed8dc9dc07a34714576 | [
"Apache-2.0"
] | 9 | 2021-08-16T15:34:44.000Z | 2021-12-13T03:36:05.000Z | datasets/augmentation.py | HanHuCAS/DR-UDA | 46691fe9e6703ad796572ed8dc9dc07a34714576 | [
"Apache-2.0"
] | 1 | 2021-11-23T07:26:30.000Z | 2021-11-23T07:26:30.000Z | datasets/augmentation.py | HanHuCAS/DR-UDA | 46691fe9e6703ad796572ed8dc9dc07a34714576 | [
"Apache-2.0"
] | 2 | 2021-11-10T03:06:35.000Z | 2021-12-13T05:14:50.000Z | from imgaug import augmenters as iaa
import math
import cv2
from datasets.data_helper import *
def random_cropping(image, target_shape=(32, 32, 3), is_random = True):
image = cv2.resize(image,(RESIZE_SIZE,RESIZE_SIZE))
target_h, target_w,_ = target_shape
height, width, _ = image.shape
if is_random:
... | 29.018248 | 100 | 0.57628 | 1,115 | 7,951 | 3.853812 | 0.090583 | 0.076565 | 0.072609 | 0.045381 | 0.807075 | 0.793577 | 0.793111 | 0.787759 | 0.735862 | 0.728881 | 0 | 0.032229 | 0.301472 | 7,951 | 273 | 101 | 29.124542 | 0.741448 | 0.012954 | 0 | 0.727723 | 0 | 0 | 0.000637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.019802 | 0 | 0.143564 | 0.004951 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f9408e452d897b9a43f9bfc1b4c820661179a664 | 2,343 | py | Python | Motor Scripts/motorfunctions.py | Abtaha/AISS | 2824598db03659472b061c381fee20d38b4bce2e | [
"MIT"
] | null | null | null | Motor Scripts/motorfunctions.py | Abtaha/AISS | 2824598db03659472b061c381fee20d38b4bce2e | [
"MIT"
] | null | null | null | Motor Scripts/motorfunctions.py | Abtaha/AISS | 2824598db03659472b061c381fee20d38b4bce2e | [
"MIT"
] | null | null | null | class motor1:
def setup(self):
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BOARD)
GPIO.setup(7, GPIO.OUT)
GPIO.setup(5, GPIO.OUT)
GPIO.output(5, GPIO.LOW)
def step(self,_):
... | 33 | 51 | 0.381989 | 234 | 2,343 | 3.764957 | 0.128205 | 0.15891 | 0.14983 | 0.192963 | 0.948922 | 0.912599 | 0.853575 | 0.853575 | 0.853575 | 0.683314 | 0 | 0.037239 | 0.53009 | 2,343 | 70 | 52 | 33.471429 | 0.762943 | 0 | 0 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.193548 | 0 | 0.354839 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 9 |
ddbe2375691b01f21890b71891eb98d18825769a | 21,047 | py | Python | tools/run_tests/performance/scenario_config.py | engineer-legion/grpc | b75f5571e8c27da5ccbde298e323b515580b80cc | [
"BSD-3-Clause"
] | null | null | null | tools/run_tests/performance/scenario_config.py | engineer-legion/grpc | b75f5571e8c27da5ccbde298e323b515580b80cc | [
"BSD-3-Clause"
] | null | null | null | tools/run_tests/performance/scenario_config.py | engineer-legion/grpc | b75f5571e8c27da5ccbde298e323b515580b80cc | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2016, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the f... | 30.54717 | 76 | 0.569962 | 2,072 | 21,047 | 5.396236 | 0.127413 | 0.044182 | 0.074054 | 0.022538 | 0.819068 | 0.800912 | 0.790538 | 0.772024 | 0.767731 | 0.767731 | 0 | 0.012241 | 0.320758 | 21,047 | 688 | 77 | 30.59157 | 0.769866 | 0.092887 | 0 | 0.75208 | 0 | 0 | 0.37296 | 0.075999 | 0 | 0 | 0 | 0.001453 | 0 | 1 | 0.049917 | false | 0.004992 | 0 | 0.02995 | 0.08985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9b350fb2bdca85345bbcc310558f70d81324f724 | 6,278 | py | Python | tests/test_ouath.py | gbozee/accounting-oauth | ab522a340a1fdb82cd5db72bdb019b41951bdb90 | [
"MIT"
] | null | null | null | tests/test_ouath.py | gbozee/accounting-oauth | ab522a340a1fdb82cd5db72bdb019b41951bdb90 | [
"MIT"
] | null | null | null | tests/test_ouath.py | gbozee/accounting-oauth | ab522a340a1fdb82cd5db72bdb019b41951bdb90 | [
"MIT"
] | null | null | null | import pytest
import datetime
from accounting_oauth import AccountingOauth, StorageInterface
@pytest.fixture
def q_client(quickbook_client):
return quickbook_client(StorageInterface())
@pytest.mark.asyncio
async def test_authorization(q_client: AccountingOauth, mock_request, mocker):
mock_httpx ... | 68.23913 | 831 | 0.821121 | 417 | 6,278 | 11.983213 | 0.268585 | 0.036022 | 0.025615 | 0.122473 | 0.798879 | 0.756454 | 0.73384 | 0.73384 | 0.719232 | 0.698019 | 0 | 0.114778 | 0.121536 | 6,278 | 91 | 832 | 68.989011 | 0.791296 | 0.005575 | 0 | 0.3 | 0 | 0.05 | 0.638315 | 0.572776 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.0375 | false | 0 | 0.0375 | 0.0125 | 0.0875 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9b6fc6b1e634c8154d3cd2a41c460ea323bb8b52 | 97 | py | Python | tests/conftest.py | vopri/battle-python | e01439562ccddee718b089fb5f171a2841c204a3 | [
"MIT"
] | null | null | null | tests/conftest.py | vopri/battle-python | e01439562ccddee718b089fb5f171a2841c204a3 | [
"MIT"
] | null | null | null | tests/conftest.py | vopri/battle-python | e01439562ccddee718b089fb5f171a2841c204a3 | [
"MIT"
] | null | null | null | from fixtures_board import *
from fixtures_move_decisions import *
from fixtures_snakes import *
| 24.25 | 37 | 0.845361 | 13 | 97 | 6 | 0.538462 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 38 | 32.333333 | 0.917647 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9ba843f984efef81ecf82bd67bea997ca207043e | 20,945 | py | Python | Evaluate.py | JamesKing76/AudioSuperResolution | 85114887248c02b1c80f7162c909f6fe51d3667e | [
"MIT"
] | null | null | null | Evaluate.py | JamesKing76/AudioSuperResolution | 85114887248c02b1c80f7162c909f6fe51d3667e | [
"MIT"
] | null | null | null | Evaluate.py | JamesKing76/AudioSuperResolution | 85114887248c02b1c80f7162c909f6fe51d3667e | [
"MIT"
] | null | null | null | import argparse
import os
import matplotlib.pyplot as plt
import numpy as np
import soundfile as sf
import torch
from matplotlib import cm
from matplotlib.colors import ListedColormap
from Processing.Filter import butter_lowpass_filter
from Models.AudioEDSR import AudioEDSR
from Models.AudioUNet import AudioUNet, Aud... | 51.58867 | 120 | 0.595369 | 2,845 | 20,945 | 4.147627 | 0.081898 | 0.122034 | 0.081102 | 0.042373 | 0.837712 | 0.823305 | 0.821695 | 0.815339 | 0.813136 | 0.813136 | 0 | 0.04915 | 0.250084 | 20,945 | 405 | 121 | 51.716049 | 0.702107 | 0.092671 | 0 | 0.746951 | 0 | 0 | 0.074781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.033537 | 0.039634 | 0 | 0.039634 | 0.164634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9bbeac278917af1dcc4820889b45dbddec766da7 | 22,000 | py | Python | sdk/python/pulumi_cloudflare/device_posture_rule.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 35 | 2019-03-14T21:29:29.000Z | 2022-03-30T00:00:59.000Z | sdk/python/pulumi_cloudflare/device_posture_rule.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 128 | 2019-03-08T23:45:58.000Z | 2022-03-31T21:05:22.000Z | sdk/python/pulumi_cloudflare/device_posture_rule.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-05-10T12:52:56.000Z | 2020-03-24T15:02:14.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.650794 | 202 | 0.641091 | 2,434 | 22,000 | 5.641331 | 0.079704 | 0.096934 | 0.068313 | 0.062486 | 0.861408 | 0.840798 | 0.824922 | 0.809118 | 0.802491 | 0.795791 | 0 | 0.008645 | 0.253364 | 22,000 | 503 | 203 | 43.737575 | 0.827286 | 0.367636 | 0 | 0.746212 | 1 | 0 | 0.106693 | 0.047888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159091 | false | 0.003788 | 0.026515 | 0 | 0.280303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
32cea390f719e0fc1fb072dedd04f1cd57ca0f19 | 7,397 | py | Python | Testing/test_Searching.py | Yarintop/Data-Structures-And-Algorithms-In-Python | 55db9e7f39211c42988171d51ef2659041df1aa1 | [
"MIT"
] | null | null | null | Testing/test_Searching.py | Yarintop/Data-Structures-And-Algorithms-In-Python | 55db9e7f39211c42988171d51ef2659041df1aa1 | [
"MIT"
] | null | null | null | Testing/test_Searching.py | Yarintop/Data-Structures-And-Algorithms-In-Python | 55db9e7f39211c42988171d51ef2659041df1aa1 | [
"MIT"
] | null | null | null | import unittest
import random
from Algorithms.Searching.LinearSearch import LinearSearch
from Algorithms.Searching.BinarySearch import BinarySearch
from Algorithms.Searching.JumpSearch import JumpSearch
from Algorithms.Searching.ExponentialSearch import ExponentialSearch
from Algorithms.Searching.TernarySearch import ... | 94.833333 | 184 | 0.712586 | 1,039 | 7,397 | 4.940327 | 0.076997 | 0.235924 | 0.081824 | 0.120008 | 0.872394 | 0.870251 | 0.870251 | 0.854276 | 0.854276 | 0.815508 | 0 | 0.020983 | 0.136677 | 7,397 | 78 | 185 | 94.833333 | 0.782806 | 0.029877 | 0 | 0.125 | 0 | 0 | 0.196682 | 0.041957 | 0 | 0 | 0 | 0 | 0.65625 | 1 | 0.109375 | false | 0 | 0.140625 | 0 | 0.265625 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
32e0a7273a06f60e0d330fe4f0b4ea4ce6f07d71 | 9,419 | gyp | Python | gyp/animator.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 20 | 2015-03-15T22:42:36.000Z | 2021-04-28T21:34:05.000Z | gyp/animator.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | 1 | 2017-01-19T05:40:33.000Z | 2017-01-19T05:40:33.000Z | gyp/animator.gyp | Shouqun/node-skia | d2f6bf4443ac8f733f18ed9e80b0295b88c031b9 | [
"MIT"
] | null | null | null | #Animator is basically Skia's (much saner) version of Flash.
#On top of Views it provides a declarative UI model which can be updated
#based on events which trigger changes or scripts.
{
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'animator',
'type': 'static_library',
... | 47.812183 | 76 | 0.622784 | 1,050 | 9,419 | 5.58 | 0.153333 | 0.22666 | 0.291005 | 0.499403 | 0.849633 | 0.129374 | 0.012289 | 0.012289 | 0 | 0 | 0 | 0.00116 | 0.176452 | 9,419 | 196 | 77 | 48.056122 | 0.754158 | 0.05404 | 0 | 0.049724 | 0 | 0 | 0.757249 | 0.746685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b5be0f998b9e90fdbadd854a281ac49e949340f1 | 16,276 | py | Python | xrk.py | briguy-official/xrk | 9acd44bd457d02f837cd4eb2611effb87a351e7a | [
"MIT"
] | null | null | null | xrk.py | briguy-official/xrk | 9acd44bd457d02f837cd4eb2611effb87a351e7a | [
"MIT"
] | 1 | 2020-07-14T09:27:54.000Z | 2020-07-14T09:27:54.000Z | xrk.py | briguy-official/xrk | 9acd44bd457d02f837cd4eb2611effb87a351e7a | [
"MIT"
] | 1 | 2022-01-19T06:27:08.000Z | 2022-01-19T06:27:08.000Z | # AIM XRK Wrapper Class
# Brian Acosta
# May 16th, 2018
#
#
# Distributed under creative commons beerware license:
# Free, but if you use it and we ever meet you buy me a beer.
#
from ctypes import *
import os
from xrk_util import *
class XRK():
def __init__(self, filename):
... | 38.56872 | 97 | 0.571946 | 1,866 | 16,276 | 4.648982 | 0.05895 | 0.106513 | 0.049798 | 0.049798 | 0.884957 | 0.877233 | 0.863631 | 0.854525 | 0.830202 | 0.793314 | 0 | 0.004075 | 0.321578 | 16,276 | 422 | 98 | 38.56872 | 0.781561 | 0.031887 | 0 | 0.712375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.010033 | 0.053512 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bd2fa74f9ba51d08437e66e84e5cde0152ba524b | 106 | py | Python | shellen/__init__.py | f0rki/shellen | 46f81de9b180931cc5e438b1dda7ab2a623b2087 | [
"MIT"
] | 882 | 2017-11-29T20:42:58.000Z | 2022-03-12T08:18:57.000Z | shellen/__init__.py | f0rki/shellen | 46f81de9b180931cc5e438b1dda7ab2a623b2087 | [
"MIT"
] | 21 | 2017-12-01T05:30:39.000Z | 2020-12-15T11:14:44.000Z | shellen/__init__.py | f0rki/shellen | 46f81de9b180931cc5e438b1dda7ab2a623b2087 | [
"MIT"
] | 104 | 2018-01-20T07:12:31.000Z | 2022-03-12T08:18:59.000Z | import os
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.abspath(__file__), os.pardir))) | 26.5 | 84 | 0.773585 | 19 | 106 | 4.105263 | 0.473684 | 0.230769 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 106 | 4 | 84 | 26.5 | 0.78 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1fc263f8231e3b4ac5fef9c6c103abfb53893931 | 3,229 | py | Python | CobaltStrike_Trojanlinkage/CobaltStrike_Payload/payload.py | Tokisaki-Galaxy/BadUSB | 11f55ac48357acb737ab1204f671cbfe3dfa45b1 | [
"BSD-3-Clause"
] | 145 | 2019-10-21T12:07:24.000Z | 2022-03-21T23:20:57.000Z | CobaltStrike_Trojanlinkage/CobaltStrike_Payload/payload.py | beidouhz/BadUSB | 11f55ac48357acb737ab1204f671cbfe3dfa45b1 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T03:13:35.000Z | 2021-02-08T16:44:34.000Z | CobaltStrike_Trojanlinkage/CobaltStrike_Payload/payload.py | beidouhz/BadUSB | 11f55ac48357acb737ab1204f671cbfe3dfa45b1 | [
"BSD-3-Clause"
] | 33 | 2019-08-26T23:29:54.000Z | 2022-02-27T09:43:43.000Z | # length: 800 bytes
buf = "\xfc\xe8\x89\x00\x00\x00\x60\x89\xe5\x31\xd2\x64\x8b\x52\x30\x8b\x52\x0c\x8b\x52\x14\x8b\x72\x28\x0f\xb7\x4a\x26\x31\xff\x31\xc0\xac\x3c\x61\x7c\x02\x2c\x20\xc1\xcf\x0d\x01\xc7\xe2\xf0\x52\x57\x8b\x52\x10\x8b\x42\x3c\x01\xd0\x8b\x40\x78\x85\xc0\x74\x4a\x01\xd0\x50\x8b\x48\x18\x8b\x58\x20\x01\... | 1,076.333333 | 3,208 | 0.748529 | 804 | 3,229 | 3.006219 | 0.185323 | 0.074472 | 0.111709 | 0.14398 | 0.405875 | 0.356227 | 0.356227 | 0.356227 | 0.356227 | 0.356227 | 0 | 0.394786 | 0.002168 | 3,229 | 2 | 3,209 | 1,614.5 | 0.355369 | 0.005265 | 0 | 0 | 0 | 1 | 0.996885 | 0.996885 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9513df2531ca00bf32c9f072836e3022745872ad | 214 | py | Python | src/xhorizon/tortoise/__init__.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | null | null | null | src/xhorizon/tortoise/__init__.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | null | null | null | src/xhorizon/tortoise/__init__.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | null | null | null |
from xhorizon.tortoise import math_util
from xhorizon.tortoise import metfunc_class
from xhorizon.tortoise import metfunc_factory
from xhorizon.tortoise import metfunc_tests
from xhorizon.tortoise import tortoise
| 30.571429 | 45 | 0.878505 | 29 | 214 | 6.344828 | 0.344828 | 0.326087 | 0.543478 | 0.706522 | 0.538043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098131 | 214 | 6 | 46 | 35.666667 | 0.953368 | 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 | 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 | 8 |
1f0149c05f64705d7cb6983695b2ccb56271eac7 | 67 | py | Python | utils/embed.py | k-anson/clash_watcher | fa8aba99719e8b6088a73ce67cc851a2f6908b73 | [
"MIT"
] | 1 | 2020-11-29T17:18:39.000Z | 2020-11-29T17:18:39.000Z | utils/embed.py | k-anson/clash_watcher | fa8aba99719e8b6088a73ce67cc851a2f6908b73 | [
"MIT"
] | null | null | null | utils/embed.py | k-anson/clash_watcher | fa8aba99719e8b6088a73ce67cc851a2f6908b73 | [
"MIT"
] | null | null | null | from discord import Embed
def analyze_war_embed() -> Embed:
pass | 16.75 | 33 | 0.761194 | 10 | 67 | 4.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 4 | 34 | 16.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
1f6d5576f704b06b83f7ca0c53c0e1100f1bb1e8 | 6,456 | py | Python | tests/test_csp_extract.py | crataegustess/csp-tool | 7d998abf22eb8823d59b4ee2446de334ff396a9c | [
"Apache-2.0"
] | null | null | null | tests/test_csp_extract.py | crataegustess/csp-tool | 7d998abf22eb8823d59b4ee2446de334ff396a9c | [
"Apache-2.0"
] | null | null | null | tests/test_csp_extract.py | crataegustess/csp-tool | 7d998abf22eb8823d59b4ee2446de334ff396a9c | [
"Apache-2.0"
] | 2 | 2020-06-19T12:39:56.000Z | 2021-04-10T23:43:30.000Z | import pytest
from csp_tool.csp_extractor import extract_csp_part_from_java_like_entry, extract_full_csp, decode_base64_entry
def test_can_decode_base64_entry():
plain = "default-src 'self' 'unsafe-inline' 'unsafe-eval' www.googletagmanager.com www.google-analytics.com tagmanager.google.com fonts.googleapis.com s... | 124.153846 | 719 | 0.825279 | 647 | 6,456 | 8.11592 | 0.14374 | 0.045706 | 0.06513 | 0.075986 | 0.791278 | 0.781375 | 0.768806 | 0.750143 | 0.719292 | 0.719292 | 0 | 0.065636 | 0.067844 | 6,456 | 52 | 720 | 124.153846 | 0.806913 | 0 | 0 | 0.105263 | 0 | 0.342105 | 0.761809 | 0.438904 | 0.052632 | 0 | 0 | 0 | 0.131579 | 1 | 0.131579 | false | 0 | 0.052632 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1f7db653aecb6076868eb63b9ed5143aa1c631b9 | 302 | py | Python | python/testData/inspections/PySetFunctionToLiteralInspection/test.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PySetFunctionToLiteralInspection/test.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PySetFunctionToLiteralInspection/test.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | my_set = set()
my_set = <warning descr="Function call can be replaced with set literal">set([1,2,3])</warning>
my_set = <warning descr="Function call can be replaced with set literal">set((1,2,3))</warning>
my_set = set(var)
def set(fake=None):
pass
my_fake_set = set()
my_fake_set = set([1,2,3])
| 25.166667 | 95 | 0.695364 | 57 | 302 | 3.54386 | 0.333333 | 0.09901 | 0.074257 | 0.089109 | 0.707921 | 0.707921 | 0.707921 | 0.707921 | 0.707921 | 0.707921 | 0 | 0.034615 | 0.139073 | 302 | 11 | 96 | 27.454545 | 0.742308 | 0 | 0 | 0 | 0 | 0 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.125 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
2f54ed69e022e1f669b9a440fe5d8f24d05f272d | 3,211 | py | Python | accelbyte_py_sdk/api/gdpr/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/gdpr/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/gdpr/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 55.362069 | 83 | 0.903145 | 456 | 3,211 | 5.721491 | 0.175439 | 0.122652 | 0.169414 | 0.229207 | 0.868915 | 0.868915 | 0.866999 | 0.866999 | 0.641242 | 0.574166 | 0 | 0.00268 | 0.070383 | 3,211 | 57 | 84 | 56.333333 | 0.871357 | 0.112426 | 0 | 0 | 1 | 0 | 0.011276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.930233 | 0 | 0.930233 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
2f5f898701e4783163c91a9c18c0442de734dabd | 9,748 | py | Python | userbot/modules/petrus.py | ichn666shit/Yama | 8dc991aa01f0810341520133c27bea436537656b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/petrus.py | ichn666shit/Yama | 8dc991aa01f0810341520133c27bea436537656b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/petrus.py | ichn666shit/Yama | 8dc991aa01f0810341520133c27bea436537656b | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | from time import sleep
from userbot import CMD_HELP
from userbot.events import register
@register(outgoing=True, pattern=r"^\.petrus(?: |$)(.*)")
async def typewriter(typew):
typew.pattern_match.group(1)
await typew.edit("`Operasi petrus dilaksanakeun!1!1 ツ`")
sleep(2)
await typew.edit("`Mencari ante... | 29.90184 | 60 | 0.487895 | 1,277 | 9,748 | 4.414252 | 0.111981 | 0.186269 | 0.260777 | 0.301579 | 0.793507 | 0.778783 | 0.778783 | 0.778783 | 0.778783 | 0.778783 | 0 | 0.057059 | 0.26826 | 9,748 | 325 | 61 | 29.993846 | 0.609281 | 0 | 0 | 0.634375 | 0 | 0 | 0.145261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009375 | 0 | 0.009375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
2f7667e4813d9f2fb9d9ea413b2ea490d288a469 | 179 | py | Python | src/h_vialib/secure/__init__.py | hypothesis/h-vialib | 7b4e75c24e16363a11fe446b0a9f24c54becc70b | [
"BSD-2-Clause"
] | null | null | null | src/h_vialib/secure/__init__.py | hypothesis/h-vialib | 7b4e75c24e16363a11fe446b0a9f24c54becc70b | [
"BSD-2-Clause"
] | 9 | 2021-02-05T16:23:17.000Z | 2021-04-16T13:47:15.000Z | src/h_vialib/secure/__init__.py | hypothesis/h-vialib | 7b4e75c24e16363a11fe446b0a9f24c54becc70b | [
"BSD-2-Clause"
] | null | null | null | """Security helpers."""
from h_vialib.secure.expiry import quantized_expiry
from h_vialib.secure.token import SecureToken
from h_vialib.secure.url import SecureURL, ViaSecureURL
| 29.833333 | 55 | 0.832402 | 25 | 179 | 5.8 | 0.56 | 0.103448 | 0.227586 | 0.351724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 179 | 5 | 56 | 35.8 | 0.889571 | 0.094972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
85efe0f5b690a0a0557b8e1413fbeb700f2b6c4d | 37 | py | Python | pythonteste/Aula11.py | RodrigoPasini/PYTHON | e114390091fedb03bf25a56a671da6186d6bfcae | [
"MIT"
] | null | null | null | pythonteste/Aula11.py | RodrigoPasini/PYTHON | e114390091fedb03bf25a56a671da6186d6bfcae | [
"MIT"
] | null | null | null | pythonteste/Aula11.py | RodrigoPasini/PYTHON | e114390091fedb03bf25a56a671da6186d6bfcae | [
"MIT"
] | null | null | null | print("\033[1;47mOlá, mundo!\033[m")
| 18.5 | 36 | 0.648649 | 7 | 37 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0.054054 | 37 | 1 | 37 | 37 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0.72973 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
c847e6f5a5165c04d51932822fdf963d562a8d61 | 2,636 | py | Python | shutterstock/utils/request.py | shutterstock/shutterstock-cli | 736a6f0ee1c3fd9cf02095820be79b1a8bbc5f86 | [
"MIT"
] | 3 | 2021-08-12T23:41:33.000Z | 2022-03-14T18:52:31.000Z | shutterstock/utils/request.py | shutterstock/shutterstock-cli | 736a6f0ee1c3fd9cf02095820be79b1a8bbc5f86 | [
"MIT"
] | 2 | 2017-09-05T11:26:55.000Z | 2021-05-08T17:28:45.000Z | shutterstock/utils/request.py | shutterstock/shutterstock-cli | 736a6f0ee1c3fd9cf02095820be79b1a8bbc5f86 | [
"MIT"
] | 2 | 2021-03-25T20:58:52.000Z | 2022-03-22T08:41:15.000Z | """"
HTTP functions.
"""
import json
import os
import requests
from .prettyprint import pretty_print
from .request_helper import RequestHelper
COLORIZE_OUTPUT = os.getenv("SHUTTERSTOCK_CLI_COLORIZE_OUTPUT")
def get(url, params, json_data=None):
"""
Get resource.
:param url: URL of the endpoint.
:p... | 23.327434 | 63 | 0.598255 | 308 | 2,636 | 5.025974 | 0.165584 | 0.056848 | 0.033592 | 0.043928 | 0.814599 | 0.814599 | 0.814599 | 0.814599 | 0.792636 | 0.792636 | 0 | 0.002128 | 0.286798 | 2,636 | 112 | 64 | 23.535714 | 0.821277 | 0.2022 | 0 | 0.73913 | 0 | 0 | 0.064909 | 0.064909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057971 | false | 0 | 0.072464 | 0 | 0.188406 | 0.188406 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c84de06d4ff0c3c018631ed962f029fe11e6bda3 | 44,436 | py | Python | dev/models_pysr.py | astrockragh/GraphMerge | 25869b798158eb9c1c3aa613642c9bbd4a07e300 | [
"MIT"
] | null | null | null | dev/models_pysr.py | astrockragh/GraphMerge | 25869b798158eb9c1c3aa613642c9bbd4a07e300 | [
"MIT"
] | null | null | null | dev/models_pysr.py | astrockragh/GraphMerge | 25869b798158eb9c1c3aa613642c9bbd4a07e300 | [
"MIT"
] | null | null | null | import torch.nn.functional as F
from torch.nn import Linear, LayerNorm, LeakyReLU, Module, ReLU, Sequential, ModuleList
from torch_geometric.nn import SAGEConv, global_mean_pool, norm, global_max_pool, global_add_pool, MetaLayer
from torch_scatter import scatter_mean, scatter_sum, scatter_max, scatter_min, scatter_add
... | 38.87664 | 166 | 0.544378 | 5,322 | 44,436 | 4.367531 | 0.055242 | 0.0783 | 0.041043 | 0.037429 | 0.875323 | 0.860781 | 0.847789 | 0.841421 | 0.838023 | 0.825159 | 0 | 0.011643 | 0.327392 | 44,436 | 1,143 | 167 | 38.87664 | 0.76606 | 0.096026 | 0 | 0.854192 | 0 | 0 | 0.029472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048603 | false | 0 | 0.006075 | 0.001215 | 0.133657 | 0.030377 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c09162bee5436b9a66ba797a032e600443982ce4 | 10,113 | py | Python | oct_data/fep_control_clinical.py | dianajosephm12/oct-sz-ai | c8fa4560309b6c0018109027345a80afdc4589fb | [
"MIT"
] | null | null | null | oct_data/fep_control_clinical.py | dianajosephm12/oct-sz-ai | c8fa4560309b6c0018109027345a80afdc4589fb | [
"MIT"
] | null | null | null | oct_data/fep_control_clinical.py | dianajosephm12/oct-sz-ai | c8fa4560309b6c0018109027345a80afdc4589fb | [
"MIT"
] | null | null | null | fep_control_clinical = [[24, 45, 120, 1, -0.1, 0.0, -0.1, 17, 4, 100, 0.17, 0.012, 97, 0.12, 0.007, 96, 138, 70, 137, 55, 129, 77, 131, 50, 266, 249, 258, 294, 272, 292, 259, 250, 247, 9.80, 273, 248, 9.90, 275, 77, 77],
[21, 49, 127, 1, 0.0, 0.0, 0.0, 16, 1, 66, 0.07, 0.000, 85, 0.08, 0.000, 68, 57, 76, 80, 52, 94... | 288.942857 | 4,213 | 0.505884 | 2,562 | 10,113 | 1.98829 | 0.113583 | 0.053004 | 0.051237 | 0.040047 | 0.782097 | 0.758343 | 0.746761 | 0.740283 | 0.737142 | 0.737142 | 0 | 0.60486 | 0.218728 | 10,113 | 35 | 4,214 | 288.942857 | 0.039868 | 0.032236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c0999c2b2be1a636cc0bcc03cdf9efbc0e864b23 | 4,986 | py | Python | package/tests/test_cp/test_openstack/test_command/test_operations/test_power_operations.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 1 | 2016-07-06T19:59:33.000Z | 2016-07-06T19:59:33.000Z | package/tests/test_cp/test_openstack/test_command/test_operations/test_power_operations.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 256 | 2016-07-06T17:02:55.000Z | 2020-10-01T09:35:03.000Z | package/tests/test_cp/test_openstack/test_command/test_operations/test_power_operations.py | QualiSystems/OpenStack-Shell | 2e218ee249867550332a9b887a7c50b76ad52e20 | [
"ISC"
] | 1 | 2017-05-16T20:24:57.000Z | 2017-05-16T20:24:57.000Z | from unittest import TestCase
from mock import Mock
from cloudshell.cp.openstack.command.operations.power_operation import PowerOperation
class TestPowerOperation(TestCase):
def setUp(self):
self.instance_service = Mock()
self.power_operation = PowerOperation(instance_service=self.instance_servic... | 50.363636 | 131 | 0.573205 | 438 | 4,986 | 6.134703 | 0.111872 | 0.094157 | 0.162635 | 0.114626 | 0.874581 | 0.861928 | 0.848158 | 0.848158 | 0.846297 | 0.846297 | 0 | 0.008912 | 0.369836 | 4,986 | 98 | 132 | 50.877551 | 0.846276 | 0.024469 | 0 | 0.760563 | 0 | 0 | 0.006997 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.070423 | false | 0 | 0.042254 | 0 | 0.126761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
23a263f506b2d32cb0014053b8d80084e391be52 | 71,389 | py | Python | mock_server/custom/customresponse.py | xxxxzm/mock-server | 2c8d26464c2734a5ab53a6423f41872312d3644f | [
"Apache-2.0"
] | null | null | null | mock_server/custom/customresponse.py | xxxxzm/mock-server | 2c8d26464c2734a5ab53a6423f41872312d3644f | [
"Apache-2.0"
] | null | null | null | mock_server/custom/customresponse.py | xxxxzm/mock-server | 2c8d26464c2734a5ab53a6423f41872312d3644f | [
"Apache-2.0"
] | 1 | 2019-05-30T06:37:17.000Z | 2019-05-30T06:37:17.000Z | import xmlrpclib
import uuid
import pyclbr
import sys
#this class will be calling method on base of method name
class CustomResponse():
@staticmethod
def callMethod(requestData,methodName):
methodName = methodName.replace('.','_')
__import__('mock_server.custom.customresponse')
module ... | 124.805944 | 4,514 | 0.65017 | 9,168 | 71,389 | 5.014834 | 0.041558 | 0.113538 | 0.15308 | 0.189099 | 0.904298 | 0.891226 | 0.88096 | 0.869584 | 0.85984 | 0.852249 | 0 | 0.037151 | 0.100744 | 71,389 | 571 | 4,515 | 125.024518 | 0.679019 | 0.073555 | 0 | 0.607059 | 0 | 0.141176 | 0.739834 | 0.690851 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011765 | null | null | 0.004706 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
f1a79661dfa55b1e78cf665533a48bb94e7fea21 | 71 | py | Python | CookieAnalysis/__init__.py | D-E-F-E-A-T/Cookie-Analyzer-and-Session-Hijack | 97a1ce1c56c3962f57754c60d46a75fe68715c54 | [
"MIT"
] | 2 | 2020-01-13T13:51:33.000Z | 2020-01-17T21:58:10.000Z | CookieAnalysis/__init__.py | D-E-F-E-A-T/Cookie-Analyzer-and-Session-Hijack | 97a1ce1c56c3962f57754c60d46a75fe68715c54 | [
"MIT"
] | 3 | 2020-01-09T19:25:22.000Z | 2020-01-13T16:06:45.000Z | CookieAnalysis/__init__.py | D-E-F-E-A-T/Cookie-Analyzer-and-Session-Hijack | 97a1ce1c56c3962f57754c60d46a75fe68715c54 | [
"MIT"
] | null | null | null | from CookieAnalysis import wrapper
from CookieAnalysis import analysis
| 23.666667 | 35 | 0.887324 | 8 | 71 | 7.875 | 0.625 | 0.571429 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 36 | 35.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 7 |
9e67bdd291cb5489e20c59abc6e700021abd2ddc | 25 | py | Python | tests/import/pkg/mod.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/import/pkg/mod.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/import/pkg/mod.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | def foo():
return 42
| 8.333333 | 13 | 0.56 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.32 | 25 | 2 | 14 | 12.5 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
9e98ec501774bc3f6687aeee4783da403eaeafa0 | 36,258 | py | Python | ds5-scripts/aosp_8_1/arm/entrypoint.py | rewhy/happer | 3b48894e2d91f150f1aee0ce75291b9ca2a29bbe | [
"Apache-2.0"
] | 32 | 2021-04-08T05:39:51.000Z | 2022-03-31T03:49:35.000Z | ds5-scripts/aosp_8_1/arm/entrypoint.py | rewhy/happer | 3b48894e2d91f150f1aee0ce75291b9ca2a29bbe | [
"Apache-2.0"
] | 2 | 2021-04-14T08:31:30.000Z | 2021-08-29T19:12:09.000Z | ds5-scripts/aosp_8_1/arm/entrypoint.py | rewhy/happer | 3b48894e2d91f150f1aee0ce75291b9ca2a29bbe | [
"Apache-2.0"
] | 3 | 2021-06-08T08:52:56.000Z | 2021-06-23T17:28:51.000Z | # DexFile.py is used to dump the dex file when the "DexFile::<init>" method is invoked in 32-bit mode.
import gc
import os
import sys
from arm_ds.debugger_v1 import Debugger
from arm_ds.debugger_v1 import DebugException
import config
import memory
import mmu
from DexParser import header_item
# obtain ... | 53.399116 | 210 | 0.719014 | 4,340 | 36,258 | 5.718894 | 0.063594 | 0.053666 | 0.106366 | 0.029009 | 0.825786 | 0.771636 | 0.738114 | 0.725947 | 0.706487 | 0.703666 | 0 | 0.010366 | 0.135253 | 36,258 | 678 | 211 | 53.477876 | 0.78124 | 0.272243 | 0 | 0.506925 | 0 | 0.00277 | 0.06853 | 0.005724 | 0.171745 | 0 | 0.018466 | 0 | 0.00831 | 0 | null | null | 0.016621 | 0.024931 | null | null | 0.041551 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7b5818d1d11026f85b9a92a7c3b5c27305406f48 | 4,106 | py | Python | nox/src/nox/lib/packet/t/dhcp_parse_test.py | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 28 | 2015-02-04T13:59:25.000Z | 2021-12-29T03:44:47.000Z | nox/src/nox/lib/packet/t/dhcp_parse_test.py | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 552 | 2015-01-05T18:25:54.000Z | 2022-03-16T18:51:13.000Z | nox/src/nox/lib/packet/t/dhcp_parse_test.py | ayjazz/OESS | deadc504d287febc7cbd7251ddb102bb5c8b1f04 | [
"Apache-2.0"
] | 25 | 2015-02-04T18:48:20.000Z | 2020-06-18T15:51:05.000Z | # Copyright 2008 (C) Nicira, Inc.
#
# This file is part of NOX.
#
# NOX is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# NOX is d... | 48.305882 | 85 | 0.711154 | 846 | 4,106 | 3.41253 | 0.193853 | 1.047454 | 1.555594 | 2.053343 | 0.678559 | 0.621406 | 0.52061 | 0.52061 | 0.52061 | 0.52061 | 0 | 0.311985 | 0.083536 | 4,106 | 84 | 86 | 48.880952 | 0.455222 | 0.156844 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 1 | 0.00997 | 0 | 0.608696 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c87f108dd05d21922d67355913c72e948f3aa69b | 119 | py | Python | virtual/lib/python3.8/site-packages/wtforms/widgets/__init__.py | Esther-Anyona/mylearner | d49d1c4c8dbeb93cc384f2037c48236be5dc89e1 | [
"MIT"
] | 1,197 | 2015-01-04T16:17:55.000Z | 2022-03-28T01:14:33.000Z | venv/lib/python3.10/site-packages/wtforms/widgets/__init__.py | superiorkid/rbac | 40f45849687075bc46a52985af22eab6cf83cbda | [
"MIT"
] | 517 | 2015-01-03T13:36:25.000Z | 2022-03-27T07:02:07.000Z | venv/lib/python3.10/site-packages/wtforms/widgets/__init__.py | superiorkid/rbac | 40f45849687075bc46a52985af22eab6cf83cbda | [
"MIT"
] | 449 | 2015-01-02T12:17:36.000Z | 2022-02-17T06:41:34.000Z | from wtforms.widgets.core import *
from wtforms.widgets.core import html_params
from wtforms.widgets.core import Input
| 29.75 | 44 | 0.840336 | 18 | 119 | 5.5 | 0.444444 | 0.333333 | 0.545455 | 0.666667 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 3 | 45 | 39.666667 | 0.925234 | 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 | 1 | 1 | 1 | 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 | 9 |
c8fc940d78f2d5ab329be7a0052f6633e914b3fa | 4,525 | py | Python | sql/tests/ast/test_datetime.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 63 | 2020-03-26T15:26:10.000Z | 2020-10-22T06:26:38.000Z | sql/tests/ast/test_datetime.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 87 | 2021-02-20T20:43:49.000Z | 2022-03-31T16:24:46.000Z | sql/tests/ast/test_datetime.py | AprilXiaoyanLiu/whitenoise-system | 0e94d2cc8114b97a61d5d2e45278428f91f1e687 | [
"MIT"
] | 17 | 2021-02-18T18:47:09.000Z | 2022-03-01T06:44:17.000Z | import datetime
from snsql.sql.parse import QueryParser
import calendar
class TestDateTime:
def test_cur_date(self):
frag = "CURRENT_DATE"
expr = QueryParser().parse_expression(frag)
assert(frag.replace(' ', '') == str(expr).replace(' ', ''))
v = expr.evaluate({})
assert(isi... | 41.898148 | 67 | 0.563094 | 509 | 4,525 | 4.886051 | 0.115914 | 0.047849 | 0.136711 | 0.205066 | 0.803378 | 0.770004 | 0.743868 | 0.743868 | 0.725372 | 0.725372 | 0 | 0.034574 | 0.252155 | 4,525 | 107 | 68 | 42.28972 | 0.700355 | 0 | 0 | 0.54717 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0.320755 | 1 | 0.160377 | false | 0 | 0.028302 | 0 | 0.198113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
cda701589e29630f1886cf82afce6b7be13aae28 | 62 | py | Python | asana_random_one_on_one/__init__.py | flychain-us/random-one-on-one | bb6d673d800ceb92b2bde103fc267e25fdc88ee8 | [
"MIT"
] | 4 | 2021-05-14T18:42:10.000Z | 2021-05-19T20:18:19.000Z | asana_random_one_on_one/__init__.py | flychain-us/random-one-on-one | bb6d673d800ceb92b2bde103fc267e25fdc88ee8 | [
"MIT"
] | null | null | null | asana_random_one_on_one/__init__.py | flychain-us/random-one-on-one | bb6d673d800ceb92b2bde103fc267e25fdc88ee8 | [
"MIT"
] | 2 | 2021-06-27T09:34:14.000Z | 2021-11-08T02:23:56.000Z | from asana_random_one_on_one.asana_random_one_on_one import *
| 31 | 61 | 0.903226 | 12 | 62 | 4 | 0.5 | 0.458333 | 0.583333 | 0.666667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 1 | 62 | 62 | 0.827586 | 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 | 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 | 0 | 0 | 0 | 7 |
cddcd08ce5d2c731378ba425e6520d55bc1a7264 | 3,818 | py | Python | lib/modules/context_module.py | Inovasyon-ve-Analiz/uacanet | 4f6567840360ece53868888acd72a16de8279dc2 | [
"MIT"
] | 57 | 2021-07-07T06:13:03.000Z | 2022-03-29T10:20:30.000Z | lib/modules/context_module.py | Inovasyon-ve-Analiz/uacanet | 4f6567840360ece53868888acd72a16de8279dc2 | [
"MIT"
] | 9 | 2021-07-17T10:46:52.000Z | 2022-03-10T15:00:57.000Z | lib/modules/context_module.py | Inovasyon-ve-Analiz/uacanet | 4f6567840360ece53868888acd72a16de8279dc2 | [
"MIT"
] | 17 | 2021-07-08T04:52:19.000Z | 2022-03-19T13:33:48.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from .layers import *
class simple_context(nn.Module):
def __init__(self, in_channel, out_channel):
super(simple_context, self).__init__()
self.branch0 = conv(in_channel, out_channel, 1)
self.branch1 = conv(in_channel, out_... | 33.787611 | 84 | 0.624935 | 571 | 3,818 | 3.908932 | 0.105079 | 0.188172 | 0.236111 | 0.187276 | 0.875896 | 0.845878 | 0.837814 | 0.787634 | 0.711022 | 0.711022 | 0 | 0.035389 | 0.252488 | 3,818 | 112 | 85 | 34.089286 | 0.746671 | 0 | 0 | 0.613636 | 0 | 0 | 0.000524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113636 | false | 0 | 0.045455 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
b57417a6eaadfbddffb05f8802552dac9787749e | 8,854 | py | Python | pyrpct/Blast.py | KingoftheNight/pyrpct | ec2f8ee6cc27cb7d5a3d5ddd2f86f802c09f485d | [
"BSD-2-Clause"
] | null | null | null | pyrpct/Blast.py | KingoftheNight/pyrpct | ec2f8ee6cc27cb7d5a3d5ddd2f86f802c09f485d | [
"BSD-2-Clause"
] | null | null | null | pyrpct/Blast.py | KingoftheNight/pyrpct | ec2f8ee6cc27cb7d5a3d5ddd2f86f802c09f485d | [
"BSD-2-Clause"
] | null | null | null | # import packages
import os
import subprocess
import time
from Visual import visual_longcommand_linux, visual_longcommand_windows
blast_path = os.path.dirname(__file__)
# make database
def blast_makedb_linux(file, out):
database_path = os.path.join(blast_path, 'blastDB')
command = 'makeblastdb -in ... | 39.526786 | 116 | 0.575446 | 1,267 | 8,854 | 3.840568 | 0.081294 | 0.081381 | 0.13358 | 0.069462 | 0.902384 | 0.902384 | 0.902384 | 0.88882 | 0.887587 | 0.86827 | 0 | 0.004037 | 0.272532 | 8,854 | 223 | 117 | 39.704036 | 0.751436 | 0.010617 | 0 | 0.885 | 0 | 0 | 0.063548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.02 | 0.02 | 0 | 0.06 | 0.06 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b5b4935854cfe03210802bec9167b8d90507a354 | 1,949 | py | Python | opennre/tests/preprocess/test_preprocess.py | igorvlnascimento/DeepREF | 0fed8120571e44e12ee3d1861289bc101c0a275f | [
"MIT"
] | null | null | null | opennre/tests/preprocess/test_preprocess.py | igorvlnascimento/DeepREF | 0fed8120571e44e12ee3d1861289bc101c0a275f | [
"MIT"
] | null | null | null | opennre/tests/preprocess/test_preprocess.py | igorvlnascimento/DeepREF | 0fed8120571e44e12ee3d1861289bc101c0a275f | [
"MIT"
] | null | null | null | import os
from opennre.dataset.preprocess_dataset import PreprocessDataset
def test_should_return_sw_eb_preprocessed_file_ddi():
p = PreprocessDataset("ddi", ["sw", "eb"])
p.preprocess_dataset()
assert os.path.exists("benchmark/ddi/eb_sw/ddi_test_eb_sw.txt")
assert os.path.exists("benchmark/ddi/eb_sw/... | 49.974359 | 85 | 0.762442 | 303 | 1,949 | 4.570957 | 0.09571 | 0.034657 | 0.129964 | 0.194946 | 0.861372 | 0.861372 | 0.826715 | 0.826715 | 0.770397 | 0.743682 | 0 | 0.072124 | 0.103643 | 1,949 | 39 | 86 | 49.974359 | 0.720664 | 0 | 0 | 0.625 | 0 | 0 | 0.39641 | 0.366154 | 0 | 0 | 0 | 0 | 0.46875 | 1 | 0.15625 | false | 0 | 0.0625 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a99c6be9eb60780712e75faebfbd77806fa2ff5c | 20,191 | py | Python | resources/test_cases/python/PyCrypto/python-code-testc.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | 5 | 2021-09-13T11:24:13.000Z | 2022-03-18T21:56:58.000Z | resources/test_cases/python/PyCrypto/python-code-testc.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | null | null | null | resources/test_cases/python/PyCrypto/python-code-testc.py | stg-tud/licma | b899e6e682f7716d19e79d6ce7b73c28c6efd4cf | [
"MIT"
] | 1 | 2021-09-13T06:02:20.000Z | 2021-09-13T06:02:20.000Z | from Crypto.Cipher import AES
from Crypto.Protocol.KDF import PBKDF2
from TestRule1c import TestRule1c
from TestRule2c import TestRule2c
from TestRule3c import TestRule3c
from TestRule4c import TestRule4c
from TestRule5c import TestRule5c
g_key = b"1234567812345678"
g_iv = b"1234567812345678"
g_password = "12345678"
g... | 83.433884 | 152 | 0.566738 | 2,086 | 20,191 | 4.941515 | 0.045542 | 0.137757 | 0.072565 | 0.151727 | 0.899884 | 0.873205 | 0.842355 | 0.78735 | 0.759701 | 0.685293 | 0 | 0.049745 | 0.357833 | 20,191 | 241 | 153 | 83.780083 | 0.745257 | 0.003913 | 0 | 0.224215 | 0 | 0 | 0.196807 | 0.116234 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013453 | false | 0.121076 | 0.03139 | 0.004484 | 0.058296 | 0.327354 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
8d1d38a9a445c761ec65d60d9fd0e5efcf40f635 | 7,094 | py | Python | xl_tensorflow/models/vision/detection/configs/yolo_config.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | null | null | null | xl_tensorflow/models/vision/detection/configs/yolo_config.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | 1 | 2020-11-13T18:52:23.000Z | 2020-11-13T18:52:23.000Z | xl_tensorflow/models/vision/detection/configs/yolo_config.py | Lannister-Xiaolin/xl_tensorflow | 99e0f458769ee1e45ebf55c789961e40f7d2eeac | [
"Apache-2.0"
] | null | null | null | from .common import Config
from xl_tensorflow.models.vision.classification.darknet import DarknetConv2D_BN_Leaky, DarknetConv2D
from tensorflow.keras import layers
def default_yolo_config():
"""default yolo config """
config = Config()
config.name = "yolov3"
config.image_size = 608
config.anchors_... | 45.474359 | 112 | 0.524105 | 812 | 7,094 | 4.35468 | 0.098522 | 0.158371 | 0.197964 | 0.161199 | 0.7681 | 0.757636 | 0.750566 | 0.750566 | 0.738688 | 0.693722 | 0 | 0.072703 | 0.367917 | 7,094 | 155 | 113 | 45.767742 | 0.712756 | 0.058641 | 0 | 0.595588 | 0 | 0 | 0.007959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022059 | false | 0 | 0.022059 | 0 | 0.066176 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
8d4501929f311e2ea9716d10c251dcb555cd9f90 | 8,121 | py | Python | tests/unit/project_lifecycle/project/typetests/test_push.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 3 | 2021-07-19T09:46:01.000Z | 2022-03-07T13:51:25.000Z | tests/unit/project_lifecycle/project/typetests/test_push.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 43 | 2019-08-27T12:36:29.000Z | 2020-08-27T14:50:40.000Z | tests/unit/project_lifecycle/project/typetests/test_push.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 7 | 2020-09-22T20:32:17.000Z | 2022-03-29T12:25:51.000Z | import unittest
from unittest.mock import call
import os
import tests.common.simulations.project_lab as project_lab
from tests.common.project_testing import (ProjectSimTestCase, PROJECT_CONTAINS_DIR)
from lmctl.project.sessions import EnvironmentSessions
from lmctl.project.package.core import Pkg, PkgContent, PushOptio... | 46.942197 | 161 | 0.581332 | 821 | 8,121 | 5.464068 | 0.138855 | 0.046144 | 0.079581 | 0.068212 | 0.882746 | 0.842844 | 0.824565 | 0.810299 | 0.792911 | 0.783772 | 0 | 0.033761 | 0.299717 | 8,121 | 173 | 162 | 46.942197 | 0.755055 | 0 | 0 | 0.722892 | 0 | 0 | 0.221867 | 0.098375 | 0 | 0 | 0 | 0 | 0.10241 | 1 | 0.036145 | false | 0 | 0.042169 | 0 | 0.084337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a5c75ff91fcbe8c201918760a5aa94a10d22af91 | 471 | py | Python | calculator/helpers.py | akshayvaidya/python-calculator | d07272b8ba8f15ebec0eb516673bde39138d5987 | [
"MIT"
] | null | null | null | calculator/helpers.py | akshayvaidya/python-calculator | d07272b8ba8f15ebec0eb516673bde39138d5987 | [
"MIT"
] | null | null | null | calculator/helpers.py | akshayvaidya/python-calculator | d07272b8ba8f15ebec0eb516673bde39138d5987 | [
"MIT"
] | null | null | null | def add(a,b) :
if isinstance(a, (int,float)) and isinstance(b,(int,float)) :
return a+b
return
def sub(a,b) :
if isinstance(a, (int,float)) and isinstance(b,(int,float)) :
return a-b
return
def mul(a,b) :
if isinstance(a, (int,float)) and isinstance(b,(int,float)) :
... | 22.428571 | 76 | 0.562633 | 75 | 471 | 3.533333 | 0.186667 | 0.060377 | 0.207547 | 0.211321 | 0.871698 | 0.871698 | 0.871698 | 0.871698 | 0.871698 | 0.871698 | 0 | 0.00295 | 0.280255 | 471 | 21 | 77 | 22.428571 | 0.778761 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a5e7e7ab428cb89c84ab48c2f01039b52a630ba1 | 68,613 | py | Python | main.py | kindanoob/pyconnect_four | ce2068b5afb2660015f8ad8ef6ef1eb9f32cfa47 | [
"MIT"
] | null | null | null | main.py | kindanoob/pyconnect_four | ce2068b5afb2660015f8ad8ef6ef1eb9f32cfa47 | [
"MIT"
] | null | null | null | main.py | kindanoob/pyconnect_four | ce2068b5afb2660015f8ad8ef6ef1eb9f32cfa47 | [
"MIT"
] | null | null | null | import sys
import random
import time
import pygame
import pygame.locals
INFINITY = 1000000
SMALL_INIFINITY = 1000
MINIMAX_DEPTH = 7
ALPHA_0 = -INFINITY
BETA_0 = INFINITY
WINDOWWIDTH = 640
WINDOWHEIGHT = 480
BOARDWIDTH = 350
BOARDHEIGHT = 350
X_MARGIN = (WINDOWWIDTH - BOARDWIDTH) / 2
Y_MARGIN = (WINDOWH... | 65.910663 | 385 | 0.601023 | 11,828 | 68,613 | 3.349679 | 0.022912 | 0.320293 | 0.101893 | 0.08208 | 0.871353 | 0.852701 | 0.82789 | 0.809692 | 0.783872 | 0.757824 | 0 | 0.066047 | 0.162127 | 68,613 | 1,040 | 386 | 65.974038 | 0.623128 | 0.095448 | 0 | 0.256188 | 0 | 0 | 0.016964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033416 | false | 0 | 0.006188 | 0.001238 | 0.063119 | 0.006188 | 0 | 0 | 0 | null | 1 | 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 | 7 |
5708934c2a2912a9fae8abb3094316b7fcde4905 | 160 | py | Python | MLPcluster/expBuildWd2.py | ryan75195/Deep-Learning | 899e593cc8e8a7857b93b8d2885250e4b0cb76b6 | [
"MIT"
] | null | null | null | MLPcluster/expBuildWd2.py | ryan75195/Deep-Learning | 899e593cc8e8a7857b93b8d2885250e4b0cb76b6 | [
"MIT"
] | null | null | null | MLPcluster/expBuildWd2.py | ryan75195/Deep-Learning | 899e593cc8e8a7857b93b8d2885250e4b0cb76b6 | [
"MIT"
] | null | null | null | import train_model
#resnet18
train_model.run_experiment(34,1e-5,0.001)
train_model.run_experiment(34,1e-5,0.0001)
train_model.run_experiment(34,1e-5,0.00001)
| 20 | 43 | 0.8125 | 31 | 160 | 3.967742 | 0.419355 | 0.325203 | 0.317073 | 0.560976 | 0.707317 | 0.707317 | 0.707317 | 0.707317 | 0 | 0 | 0 | 0.190789 | 0.05 | 160 | 7 | 44 | 22.857143 | 0.618421 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 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 | 8 |
5719297863b93980c8c13ec6215ee8bdf1fb654a | 95 | py | Python | hemp/web/views/topology.py | nobuhikosekiya/sbx_multi_ios | 9a8e540617d46fd98f466d89e1f9af4f8a1797aa | [
"MIT"
] | 64 | 2018-08-18T01:13:18.000Z | 2021-12-09T17:46:35.000Z | hemp/web/views/topology.py | nobuhikosekiya/sbx_multi_ios | 9a8e540617d46fd98f466d89e1f9af4f8a1797aa | [
"MIT"
] | 45 | 2018-08-16T21:26:11.000Z | 2021-12-13T19:58:20.000Z | hemp/web/views/topology.py | nobuhikosekiya/sbx_multi_ios | 9a8e540617d46fd98f466d89e1f9af4f8a1797aa | [
"MIT"
] | 37 | 2018-09-23T04:09:53.000Z | 2021-11-11T16:39:37.000Z | from flask import render_template
def topology():
return render_template('topology.html')
| 19 | 43 | 0.778947 | 12 | 95 | 6 | 0.75 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 4 | 44 | 23.75 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 7 |
57553400ee69c90f43af992089bdcdef8b989dd9 | 403 | py | Python | seeq/addons/mps/__init__.py | seeq12/seeq-mps | aaa7bb6ffae2db3333c991edac64377aff6d8c24 | [
"Apache-2.0"
] | 4 | 2021-11-17T00:18:04.000Z | 2022-03-04T07:44:39.000Z | seeq/addons/mps/__init__.py | seeq12/seeq-mps | aaa7bb6ffae2db3333c991edac64377aff6d8c24 | [
"Apache-2.0"
] | 1 | 2021-11-04T14:38:20.000Z | 2021-11-12T06:05:33.000Z | seeq/addons/mps/__init__.py | seeq12/seeq-mps | aaa7bb6ffae2db3333c991edac64377aff6d8c24 | [
"Apache-2.0"
] | null | null | null | from ._version import __version__
from ._mps import load_ref, save_ref, pull_mps_data, seeq_mps_dtw_batch, push_mps_results_batch, seeq_mps_mass, \
seeq_mps_dtw, push_mps_results
from ._mps_sdl_ui import MpsUI
__all__ = ['__version__', 'load_ref', 'save_ref', 'pull_mps_data', 'seeq_mps_dtw_batch', 'push_mps_result... | 50.375 | 114 | 0.774194 | 64 | 403 | 4.109375 | 0.296875 | 0.159696 | 0.152091 | 0.106464 | 0.714829 | 0.714829 | 0.714829 | 0.714829 | 0.714829 | 0.714829 | 0 | 0 | 0.119107 | 403 | 7 | 115 | 57.571429 | 0.740845 | 0 | 0 | 0 | 0 | 0 | 0.312655 | 0.054591 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
93c45644d1bf5172b15c746f7a5d010139cdacc0 | 396 | py | Python | piudb/__init__.py | Peiiii/piudb | fb580fb4bb6004374095c9a4e4bab1eb24a33338 | [
"MIT"
] | null | null | null | piudb/__init__.py | Peiiii/piudb | fb580fb4bb6004374095c9a4e4bab1eb24a33338 | [
"MIT"
] | null | null | null | piudb/__init__.py | Peiiii/piudb | fb580fb4bb6004374095c9a4e4bab1eb24a33338 | [
"MIT"
] | null | null | null |
__name__="piudb"
__author__ = "Wang Pei"
from .classes import (
InfoBody,TableManager,Table,Map,
Model,ModelMetaclass,Field,StringField,
IntegerField,BooleanField,TextField,FloatField,ObjectField,
Piu
)
__all__= [
'InfoBody','TableManager','Table','Map',
'Model','ModelMetaclass','Field','String... | 23.294118 | 63 | 0.714646 | 36 | 396 | 7.527778 | 0.638889 | 0.147601 | 0.184502 | 0.206642 | 0.782288 | 0.782288 | 0.782288 | 0.782288 | 0.782288 | 0.782288 | 0 | 0 | 0.126263 | 396 | 17 | 64 | 23.294118 | 0.783237 | 0 | 0 | 0 | 0 | 0 | 0.308081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
f50db3364b333b155eb6c24726a5a85be771d447 | 168 | py | Python | tia/rlab/__init__.py | AmarisAI/tia | a7043b6383e557aeea8fc7112bbffd6e36a230e9 | [
"BSD-3-Clause"
] | 366 | 2015-01-21T21:57:23.000Z | 2022-03-29T09:11:24.000Z | tia/rlab/__init__.py | AmarisAI/tia | a7043b6383e557aeea8fc7112bbffd6e36a230e9 | [
"BSD-3-Clause"
] | 51 | 2015-03-01T14:20:44.000Z | 2021-08-19T15:46:51.000Z | tia/rlab/__init__.py | AmarisAI/tia | a7043b6383e557aeea8fc7112bbffd6e36a230e9 | [
"BSD-3-Clause"
] | 160 | 2015-02-22T07:16:17.000Z | 2022-03-29T13:41:15.000Z | # Monkey patch module
import tia.rlab.patch
from tia.rlab.components import *
from tia.rlab.table import *
from tia.rlab.builder import *
from tia.rlab.font import *
| 18.666667 | 33 | 0.767857 | 27 | 168 | 4.777778 | 0.407407 | 0.271318 | 0.341085 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 8 | 34 | 21 | 0.895833 | 0.113095 | 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 | 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 | 8 |
f575f17488a954f2b84a89ca8b857bb93f0fdd70 | 163 | py | Python | optimus/engines/dask_cudf/rows.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 1,045 | 2017-07-17T17:59:46.000Z | 2021-06-15T07:06:48.000Z | optimus/engines/dask_cudf/rows.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 955 | 2017-07-14T15:47:58.000Z | 2021-05-27T14:16:24.000Z | optimus/engines/dask_cudf/rows.py | ironmussa/Optimus | fbaea6e0957f0bc016280a85ff021904faac20c5 | [
"Apache-2.0"
] | 226 | 2017-08-04T20:41:33.000Z | 2021-05-21T08:28:33.000Z | from optimus.engines.base.cudf.rows import CUDFBaseRows
from optimus.engines.base.dask.rows import DaskBaseRows
class Rows(CUDFBaseRows, DaskBaseRows):
pass
| 23.285714 | 55 | 0.815951 | 21 | 163 | 6.333333 | 0.571429 | 0.165414 | 0.270677 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 6 | 56 | 27.166667 | 0.917241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
1947dda77c56a1ad0cd60d144491c80361fc0fde | 38,854 | py | Python | eeauditor/auditors/aws/Amazon_ECR_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_ECR_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_ECR_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 49.812821 | 525 | 0.466644 | 3,165 | 38,854 | 5.713428 | 0.107425 | 0.01659 | 0.024885 | 0.030415 | 0.85749 | 0.854449 | 0.848421 | 0.840568 | 0.840568 | 0.836753 | 0 | 0.048538 | 0.429454 | 38,854 | 780 | 526 | 49.812821 | 0.767187 | 0.041952 | 0 | 0.799728 | 0 | 0.02861 | 0.387979 | 0.045255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009537 | false | 0.009537 | 0.00545 | 0 | 0.017711 | 0.004087 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1998a450d7cad5cff37b5dc708a3fe2a61a5a10f | 71 | py | Python | tests/integration/testdata/invoke/layers/custom_layer/my_layer/simple_python.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 2,959 | 2018-05-08T21:48:56.000Z | 2020-08-24T14:35:39.000Z | tests/integration/testdata/invoke/layers/custom_layer/my_layer/simple_python.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 1,469 | 2018-05-08T22:44:28.000Z | 2020-08-24T20:19:24.000Z | tests/integration/testdata/invoke/layers/custom_layer/my_layer/simple_python.py | renanmontebelo/aws-sam-cli | b5cfc46aa9726b5cd006df8ecc08d1b4eedeb9ea | [
"BSD-2-Clause",
"Apache-2.0"
] | 642 | 2018-05-08T22:09:19.000Z | 2020-08-17T09:04:37.000Z | def layer_ping():
return "This is a Layer Ping from simple_python"
| 23.666667 | 52 | 0.732394 | 12 | 71 | 4.166667 | 0.833333 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 71 | 2 | 53 | 35.5 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0.549296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
270d24345262b87296bac736a240a608dbc05890 | 68,619 | py | Python | eeauditor/auditors/aws/Amazon_ElasticsearchService_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_ElasticsearchService_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_ElasticsearchService_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 50.716186 | 514 | 0.475889 | 5,337 | 68,619 | 6.103054 | 0.078134 | 0.015842 | 0.023763 | 0.029043 | 0.906883 | 0.904673 | 0.903567 | 0.902769 | 0.897397 | 0.896383 | 0 | 0.053582 | 0.422041 | 68,619 | 1,353 | 515 | 50.716186 | 0.76772 | 0.030137 | 0 | 0.811437 | 0 | 0.032458 | 0.394867 | 0.051254 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007728 | false | 0.007728 | 0.002318 | 0 | 0.011592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
273c29c64b4097e4e5beba39fb76750895e2985e | 5,525 | py | Python | tab/tab1.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | tab/tab1.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | tab/tab1.py | Mariaalice1/tabuada | acfa5c8ce07048d77f37a168818e80c7d77c208b | [
"MIT"
] | null | null | null | #Soma
tabb = [1+1]
tab = [2+1]
tab_2 = [3+1]
tab_3 = [4+1]
tab_4 = [5+1]
tab_5 = [6+1]
tab_6 = [7+1]
tab_7 = [8+1]
tab_8 = [9+1]
tab_9 = [10+1]
for y in tabb:
print("1+1 = {}".format(y))
for i in tab:
print("2+1 = {}".format(i))
for a in tab_2:
print("3+1 = {}".format(a))
for b in tab_3:
print("4+1 = {... | 20.92803 | 65 | 0.475294 | 1,120 | 5,525 | 2.208929 | 0.025893 | 0.157639 | 0.019402 | 0.03557 | 0.991108 | 0.991108 | 0.991108 | 0.991108 | 0.991108 | 0.991108 | 0 | 0.115706 | 0.220995 | 5,525 | 264 | 65 | 20.92803 | 0.459108 | 0.002353 | 0 | 0.352227 | 0 | 0 | 0.185266 | 0.066776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.356275 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27885e6257246f018fdf1b7e5d1d1ae44fba5709 | 505,670 | py | Python | test/unit/test_catalog_management_v1.py | JonahFarc/platform-services-python-sdk | f5cee0d629ce81048680e19c81cea8448ecab217 | [
"Apache-2.0"
] | 10 | 2020-04-02T15:48:33.000Z | 2021-06-23T05:12:49.000Z | test/unit/test_catalog_management_v1.py | JonahFarc/platform-services-python-sdk | f5cee0d629ce81048680e19c81cea8448ecab217 | [
"Apache-2.0"
] | 151 | 2020-03-30T20:24:39.000Z | 2022-03-30T16:51:22.000Z | test/unit/test_catalog_management_v1.py | JonahFarc/platform-services-python-sdk | f5cee0d629ce81048680e19c81cea8448ecab217 | [
"Apache-2.0"
] | 25 | 2020-04-16T21:03:19.000Z | 2021-12-13T19:37:39.000Z | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2021.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 52.531685 | 4,243 | 0.642423 | 55,085 | 505,670 | 5.599909 | 0.009767 | 0.012059 | 0.022109 | 0.026129 | 0.944682 | 0.912776 | 0.873962 | 0.842572 | 0.829063 | 0.817707 | 0 | 0.030148 | 0.216647 | 505,670 | 9,625 | 4,244 | 52.537143 | 0.748588 | 0.112281 | 0 | 0.747376 | 0 | 0.015916 | 0.433421 | 0.083916 | 0 | 0 | 0 | 0 | 0.109042 | 1 | 0.046901 | false | 0.001524 | 0.004741 | 0 | 0.095157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
278ac93317faee21c8164f2d7bb518b472e0abaf | 14,414 | py | Python | source/lambda/tests/test_ssm_handler.py | elduds/aws-instance-scheduler | 4b4c8a628fd0ab34e7d5c17af215f0bf10e48bd8 | [
"Apache-2.0"
] | 338 | 2018-02-09T17:24:26.000Z | 2021-10-06T01:33:52.000Z | source/lambda/tests/test_ssm_handler.py | elduds/aws-instance-scheduler | 4b4c8a628fd0ab34e7d5c17af215f0bf10e48bd8 | [
"Apache-2.0"
] | 267 | 2018-02-09T10:45:25.000Z | 2021-10-15T14:47:34.000Z | source/lambda/tests/test_ssm_handler.py | elduds/aws-instance-scheduler | 4b4c8a628fd0ab34e7d5c17af215f0bf10e48bd8 | [
"Apache-2.0"
] | 193 | 2018-02-14T08:25:30.000Z | 2021-10-06T14:59:14.000Z | ######################################################################################################################
# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. #
# ... | 48.369128 | 208 | 0.621965 | 1,709 | 14,414 | 4.971913 | 0.099473 | 0.039543 | 0.074144 | 0.096505 | 0.905261 | 0.895963 | 0.89361 | 0.888902 | 0.888196 | 0.879722 | 0 | 0.019529 | 0.207784 | 14,414 | 297 | 209 | 48.531987 | 0.724582 | 0.081518 | 0 | 0.717054 | 0 | 0 | 0.303644 | 0.037368 | 0 | 0 | 0 | 0 | 0.135659 | 1 | 0.054264 | false | 0 | 0.015504 | 0 | 0.073643 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7e0e268a28ba03826471b2b62ef2d8407077ac0f | 61,691 | py | Python | tests/test_trade_date_validation.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | 122 | 2017-09-14T01:17:56.000Z | 2022-02-25T11:59:04.000Z | tests/test_trade_date_validation.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | null | null | null | tests/test_trade_date_validation.py | windblood/moonshot | d79cf26e7fb5ce3fcb34060771ea4992e19dc46a | [
"Apache-2.0"
] | 39 | 2017-10-24T14:36:54.000Z | 2022-02-20T01:04:03.000Z | # Copyright 2018 QuantRocket LLC - All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 37.096212 | 126 | 0.44055 | 5,418 | 61,691 | 4.864157 | 0.068106 | 0.035516 | 0.063709 | 0.074789 | 0.907832 | 0.898915 | 0.884458 | 0.870722 | 0.86374 | 0.854671 | 0 | 0.062275 | 0.456242 | 61,691 | 1,662 | 127 | 37.118532 | 0.723357 | 0.060495 | 0 | 0.800912 | 0 | 0 | 0.161613 | 0.055489 | 0 | 0 | 0 | 0 | 0.023556 | 1 | 0.072188 | false | 0.006079 | 0.005319 | 0.008359 | 0.132979 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fd6955a789bf0a2d39beb111bf28898708e9707d | 476,279 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_controller_odu_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_controller_odu_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_controller_odu_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_controller_odu_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR controller\-odu package operational data.
This module contains definitions
for the following management objects\:
odu\: ODU operational data
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights reser... | 43.627279 | 5,724 | 0.403089 | 36,019 | 476,279 | 5.025153 | 0.016658 | 0.030409 | 0.038011 | 0.098077 | 0.88173 | 0.864459 | 0.824344 | 0.792846 | 0.749488 | 0.731902 | 0 | 0.022584 | 0.504097 | 476,279 | 10,916 | 5,725 | 43.631275 | 0.743759 | 0.19425 | 0 | 0.699879 | 0 | 0.000241 | 0.131268 | 0.03375 | 0 | 0 | 0 | 0 | 0.055006 | 1 | 0.08661 | false | 0.007479 | 0.035223 | 0 | 0.22509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fdb07e1fc3279cf9302796453b1c0ae8dd70b79a | 48 | py | Python | fuel/__init__.py | opticrd/fuel-price-extractor-api | ce585f3246f4541116b4d1e43a6742d8c285697a | [
"MIT"
] | 2 | 2022-02-28T17:23:49.000Z | 2022-02-28T20:27:25.000Z | fuel/__init__.py | opticrd/fuel-price-extractor-api | ce585f3246f4541116b4d1e43a6742d8c285697a | [
"MIT"
] | 2 | 2022-02-22T14:27:44.000Z | 2022-02-22T21:07:19.000Z | fuel/__init__.py | opticrd/fuel-price-extractor-api | ce585f3246f4541116b4d1e43a6742d8c285697a | [
"MIT"
] | null | null | null | from .main import Prices
from .main import Fuel
| 16 | 24 | 0.791667 | 8 | 48 | 4.75 | 0.625 | 0.421053 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
fdbe42f8b197c01152cc9309aeb28cc705dccf8b | 11,989 | py | Python | optimizer/lpcgd.py | WilliamLiPro/LpSS_demo | 3f53a2a9c44a3857a8eb95e6fc44b8409ce363f4 | [
"Apache-2.0"
] | 2 | 2020-10-30T00:47:17.000Z | 2021-08-21T09:36:02.000Z | optimizer/lpcgd.py | WilliamLiPro/LpSS | 9c8cbc17f2662b244f8764508bb2f3b6f077c34f | [
"Apache-2.0"
] | null | null | null | optimizer/lpcgd.py | WilliamLiPro/LpSS | 9c8cbc17f2662b244f8764508bb2f3b6f077c34f | [
"Apache-2.0"
] | null | null | null | import torch
from torch.optim.optimizer import Optimizer, required
import myFunction as myF
class LpCGD(Optimizer):
r"""Implements Lp constrained gradient descent (optionally with momentum).
Nesterov momentum is based on the formula from
`On the importance of initialization and momentum in deep learning`_... | 37.34891 | 123 | 0.537576 | 1,440 | 11,989 | 4.308333 | 0.124306 | 0.024178 | 0.02579 | 0.021921 | 0.875403 | 0.85332 | 0.84784 | 0.839781 | 0.829142 | 0.822695 | 0 | 0.010893 | 0.372091 | 11,989 | 321 | 124 | 37.34891 | 0.813231 | 0.206189 | 0 | 0.831633 | 0 | 0 | 0.066294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.015306 | 0 | 0.076531 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fdcfd222ed9c8847e9893d6828fd67532128667a | 805 | py | Python | utils.py | shinning91/SudokuSolverGUI | 3ac1f6de57094e98f67525a9ebece33bba152eab | [
"MIT"
] | null | null | null | utils.py | shinning91/SudokuSolverGUI | 3ac1f6de57094e98f67525a9ebece33bba152eab | [
"MIT"
] | null | null | null | utils.py | shinning91/SudokuSolverGUI | 3ac1f6de57094e98f67525a9ebece33bba152eab | [
"MIT"
] | null | null | null | def get_square_3x3(grid, row, column):
square = []
if row<3:
if column < 3:
square = [grid[i][0:3] for i in range(0, 3)]
elif column<6:
square = [grid[i][3:6] for i in range(0, 3)]
else:
square = [grid[i][6:9] for i in range(0, 3)]
elif row<6:
... | 33.541667 | 56 | 0.462112 | 137 | 805 | 2.70073 | 0.138686 | 0.243243 | 0.267568 | 0.267568 | 0.848649 | 0.848649 | 0.821622 | 0.778378 | 0.778378 | 0.778378 | 0 | 0.092184 | 0.380124 | 805 | 24 | 57 | 33.541667 | 0.649299 | 0 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 9 |
e3084f36c82aa08c2055ae3cc2c5b2718a69076c | 3,652 | py | Python | neural_clbf/datamodules/tests/test_episodic_datamodule.py | saxenam06/neural_clbf | 1f2a43b579330172a03f284a5673b00f0899c755 | [
"BSD-3-Clause"
] | 9 | 2022-01-22T11:47:11.000Z | 2022-03-08T14:49:38.000Z | neural_clbf/datamodules/tests/test_episodic_datamodule.py | saxenam06/neural_clbf | 1f2a43b579330172a03f284a5673b00f0899c755 | [
"BSD-3-Clause"
] | 1 | 2021-11-14T22:30:20.000Z | 2021-11-19T14:40:49.000Z | neural_clbf/datamodules/tests/test_episodic_datamodule.py | saxenam06/neural_clbf | 1f2a43b579330172a03f284a5673b00f0899c755 | [
"BSD-3-Clause"
] | 5 | 2022-01-23T17:02:52.000Z | 2022-03-29T22:26:59.000Z | """Test the data generation for the f16 gcas"""
import random
from typing import Dict
import torch
from neural_clbf.datamodules.episodic_datamodule import EpisodicDataModule
from neural_clbf.systems.tests.mock_system import MockSystem
params: Dict[str, float] = {}
model = MockSystem(params)
def test_episodic_data... | 32.607143 | 80 | 0.684556 | 520 | 3,652 | 4.598077 | 0.211538 | 0.045169 | 0.070263 | 0.010038 | 0.83898 | 0.83898 | 0.83898 | 0.83898 | 0.83898 | 0.83898 | 0 | 0.023264 | 0.223165 | 3,652 | 111 | 81 | 32.900901 | 0.819528 | 0.197426 | 0 | 0.825 | 0 | 0 | 0.004821 | 0 | 0 | 0 | 0 | 0 | 0.275 | 1 | 0.025 | false | 0 | 0.0625 | 0 | 0.0875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e345bb90276c709939125f2e366f45318e973486 | 267 | py | Python | tests/data/numeric_literals_skip_underscores.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 16,110 | 2019-07-22T21:54:54.000Z | 2022-03-31T22:52:39.000Z | tests/data/numeric_literals_skip_underscores.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 1,981 | 2019-07-22T21:26:16.000Z | 2022-03-31T23:14:35.000Z | tests/data/numeric_literals_skip_underscores.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 1,762 | 2019-07-22T21:23:00.000Z | 2022-03-31T06:10:22.000Z | #!/usr/bin/env python3.6
x = 123456789
x = 1_2_3_4_5_6_7
x = 1E+1
x = 0xb1acc
x = 0.00_00_006
x = 12_34_567J
x = .1_2
x = 1_2.
# output
#!/usr/bin/env python3.6
x = 123456789
x = 1_2_3_4_5_6_7
x = 1e1
x = 0xB1ACC
x = 0.00_00_006
x = 12_34_567j
x = 0.1_2
x = 1_2.0 | 11.608696 | 24 | 0.651685 | 72 | 267 | 2.083333 | 0.319444 | 0.08 | 0.1 | 0.213333 | 0.906667 | 0.84 | 0.84 | 0.84 | 0.84 | 0.84 | 0 | 0.4 | 0.213483 | 267 | 23 | 25 | 11.608696 | 0.314286 | 0.198502 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e3875487749406bddcc253f97b7467b00823cde5 | 27 | py | Python | djangoproject/pages/namer.py | dipak122/MyDjangoProject | e3a1bbf996f4b818d4d70eea42eb79ca662a2faa | [
"bzip2-1.0.6"
] | null | null | null | djangoproject/pages/namer.py | dipak122/MyDjangoProject | e3a1bbf996f4b818d4d70eea42eb79ca662a2faa | [
"bzip2-1.0.6"
] | null | null | null | djangoproject/pages/namer.py | dipak122/MyDjangoProject | e3a1bbf996f4b818d4d70eea42eb79ca662a2faa | [
"bzip2-1.0.6"
] | null | null | null | def namer():
return 2+3 | 13.5 | 14 | 0.592593 | 5 | 27 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.259259 | 27 | 2 | 14 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
473ea662ed0889fd47c92f4a50622573a3b8be94 | 102 | py | Python | app/airq/management/__init__.py | ianhoffman/airq | 986a5948d87169b5828b5488ea968a18d9f549db | [
"MIT"
] | 5 | 2020-08-31T02:02:54.000Z | 2020-09-11T22:20:48.000Z | app/airq/management/__init__.py | ianhoffman/airq | 986a5948d87169b5828b5488ea968a18d9f549db | [
"MIT"
] | 53 | 2020-09-14T04:04:43.000Z | 2022-01-31T06:57:18.000Z | app/airq/management/__init__.py | ianhoffman/airq | 986a5948d87169b5828b5488ea968a18d9f549db | [
"MIT"
] | 1 | 2020-10-03T08:18:16.000Z | 2020-10-03T08:18:16.000Z | from airq.management.generate_fixtures import generate_fixtures
from airq.management.sync import sync
| 34 | 63 | 0.882353 | 14 | 102 | 6.285714 | 0.5 | 0.181818 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 2 | 64 | 51 | 0.93617 | 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 | 1 | 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 | 7 |
47872f8e7c4856376a7387b557797e7d7eb9c882 | 193 | py | Python | syn/conf/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 1 | 2021-07-15T08:55:12.000Z | 2021-07-15T08:55:12.000Z | syn/conf/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 7 | 2021-01-07T23:51:57.000Z | 2021-12-13T19:50:57.000Z | syn/conf/__init__.py | mbodenhamer/syn | aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258 | [
"MIT"
] | 2 | 2016-07-11T08:46:31.000Z | 2017-12-13T13:30:51.000Z | from .conf import *
from .conf2 import *
from .vars import *
from syn.base_utils import harvest_metadata, delete
with delete(harvest_metadata, delete):
harvest_metadata('../metadata.yml')
| 24.125 | 51 | 0.761658 | 26 | 193 | 5.5 | 0.5 | 0.20979 | 0.293706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.134715 | 193 | 7 | 52 | 27.571429 | 0.850299 | 0 | 0 | 0 | 0 | 0 | 0.07772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
478ee4f34522cca1893ec8c3fabd35688dafe866 | 52 | py | Python | python/testData/codeInsight/mlcompletion/haveOpeningSquareBracket.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/mlcompletion/haveOpeningSquareBracket.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/codeInsight/mlcompletion/haveOpeningSquareBracket.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | k1 = 1
k2 = 22
dct = {k1: "1", k2: "22"}
dct[<caret> | 13 | 25 | 0.480769 | 11 | 52 | 2.272727 | 0.545455 | 0.24 | 0.4 | 0.56 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.230769 | 52 | 4 | 26 | 13 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
47a20de53e920aac9580322759efd1b5f713eeb8 | 9,452 | py | Python | backend/battles/tests/test_forms.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | null | null | null | backend/battles/tests/test_forms.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | 4 | 2021-01-05T18:51:30.000Z | 2021-04-07T17:03:08.000Z | backend/battles/tests/test_forms.py | jaenia/pokebattle | 760181384ea1c067d40705f120152641156724d8 | [
"MIT"
] | null | null | null | import responses
from django.test import TestCase
from model_mommy import mommy
from battles.forms import BattleForm, BattleOpponentPokemonsForm
from common.constants import POKEAPI_BASE_URL
class BattleCreateFormTests(TestCase):
@responses.activate
def test_create_battle(self):
responses.add(respo... | 34.246377 | 98 | 0.583263 | 1,029 | 9,452 | 5.165209 | 0.087464 | 0.038946 | 0.042145 | 0.070555 | 0.90969 | 0.868485 | 0.864346 | 0.856444 | 0.856444 | 0.856444 | 0 | 0.041723 | 0.300148 | 9,452 | 275 | 99 | 34.370909 | 0.761754 | 0 | 0 | 0.821577 | 0 | 0 | 0.270948 | 0.123783 | 0 | 0 | 0 | 0 | 0.058091 | 1 | 0.020747 | false | 0 | 0.020747 | 0 | 0.049793 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
47a20e61cff5232c965e6a3ea652b8ca0a24f015 | 139 | py | Python | datascrubber/tasks/__init__.py | alphagov/govuk-datascrubber | 0b2b4c9f62ddf52d83b56ddf57bde25cb9be686f | [
"MIT"
] | null | null | null | datascrubber/tasks/__init__.py | alphagov/govuk-datascrubber | 0b2b4c9f62ddf52d83b56ddf57bde25cb9be686f | [
"MIT"
] | 4 | 2018-08-24T12:49:33.000Z | 2018-10-25T08:46:05.000Z | datascrubber/tasks/__init__.py | alphagov/govuk-datascrubber | 0b2b4c9f62ddf52d83b56ddf57bde25cb9be686f | [
"MIT"
] | 3 | 2019-08-29T13:58:49.000Z | 2021-04-10T19:41:20.000Z | from .whitehall import scrub_whitehall
from .email_alert_api import scrub_email_alert_api
from .publishing_api import scrub_publishing_api
| 34.75 | 50 | 0.892086 | 21 | 139 | 5.47619 | 0.380952 | 0.286957 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086331 | 139 | 3 | 51 | 46.333333 | 0.905512 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
47e98cee7aa9db035f96bc26de80569af4205ace | 275 | py | Python | awesome_autodl/data_cls/__init__.py | DestinyMy/Awesome-NAS | 723654525ba02b07d28494919c9c83edbd64964a | [
"MIT"
] | 1,135 | 2019-04-20T13:23:06.000Z | 2020-07-22T14:29:06.000Z | awesome_autodl/data_cls/__init__.py | D-X-Y/awesome-AutoML | 204cfc316b2d914b72769c59c2e7fe75d477397c | [
"MIT"
] | 17 | 2019-05-14T16:47:45.000Z | 2020-07-09T23:58:33.000Z | awesome_autodl/data_cls/__init__.py | D-X-Y/awesome-AutoML | 204cfc316b2d914b72769c59c2e7fe75d477397c | [
"MIT"
] | 183 | 2019-04-22T11:51:54.000Z | 2020-07-21T11:04:35.000Z | #####################################################
# Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2022.01 #
#####################################################
from awesome_autodl.data_cls.abbrv import BibAbbreviations
from awesome_autodl.data_cls.paper import AutoDLpaper
| 45.833333 | 58 | 0.494545 | 26 | 275 | 5.076923 | 0.769231 | 0.166667 | 0.257576 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.069091 | 275 | 5 | 59 | 55 | 0.492188 | 0.178182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
47eda9f337de3f42ee19de166b7cfcc789520eb0 | 79,862 | py | Python | tests/test_export_crossref.py | robertatakenaka/articles_meta | 75ebb158d0ca801f3495a80ec7352c8393eda541 | [
"BSD-2-Clause"
] | 6 | 2016-01-06T09:32:00.000Z | 2021-11-17T18:09:32.000Z | tests/test_export_crossref.py | robertatakenaka/articles_meta | 75ebb158d0ca801f3495a80ec7352c8393eda541 | [
"BSD-2-Clause"
] | 99 | 2015-03-31T19:27:30.000Z | 2021-12-13T19:47:41.000Z | tests/test_export_crossref.py | robertatakenaka/articles_meta | 75ebb158d0ca801f3495a80ec7352c8393eda541 | [
"BSD-2-Clause"
] | 12 | 2015-10-02T15:45:57.000Z | 2021-08-20T22:35:15.000Z | # coding: utf-8
import unittest
import json
import os
import io
from lxml import etree as ET
from articlemeta import export_crossref
from articlemeta import export
from articlemeta.export import CustomArticle as Article
def create_xmlcrossref_with_journal_element(journal_child_name=None):
xmlcrossref = ET.Eleme... | 43.545256 | 2,385 | 0.586361 | 8,173 | 79,862 | 5.558424 | 0.092867 | 0.05054 | 0.03632 | 0.039226 | 0.930639 | 0.924894 | 0.917101 | 0.907086 | 0.898545 | 0.890621 | 0 | 0.038617 | 0.30286 | 79,862 | 1,833 | 2,386 | 43.569013 | 0.777351 | 0.000563 | 0 | 0.727398 | 0 | 0.024155 | 0.36063 | 0.101324 | 0 | 0 | 0 | 0 | 0.089717 | 1 | 0.05245 | false | 0 | 0.005521 | 0 | 0.063492 | 0.00069 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9a5de7c69ca47746f671c8f377583780d564ee89 | 5,603 | py | Python | extlinks/aggregates/models.py | suecarmol/externallinks | 388771924f0e0173237393226cb7549a02ae40e3 | [
"MIT"
] | 6 | 2019-12-05T13:14:45.000Z | 2022-03-13T18:22:00.000Z | extlinks/aggregates/models.py | WikipediaLibrary/externallinks | 6519719a8b01ab121bf77c465c587af3762e99af | [
"MIT"
] | 97 | 2019-07-01T14:42:51.000Z | 2022-03-29T04:09:34.000Z | extlinks/aggregates/models.py | suecarmol/externallinks | 388771924f0e0173237393226cb7549a02ae40e3 | [
"MIT"
] | 8 | 2019-12-03T01:52:41.000Z | 2020-08-19T00:26:46.000Z | from django.db import models
from django.core.exceptions import ValidationError
from extlinks.organisations.models import Collection, Organisation
class LinkAggregate(models.Model):
class Meta:
app_label = "aggregates"
indexes = [
models.Index(fields=["full_date"]),
models... | 37.604027 | 162 | 0.659825 | 598 | 5,603 | 5.978261 | 0.147157 | 0.053706 | 0.033566 | 0.035245 | 0.892028 | 0.841958 | 0.841958 | 0.841958 | 0.841958 | 0.841958 | 0 | 0.001868 | 0.235588 | 5,603 | 148 | 163 | 37.858108 | 0.832827 | 0 | 0 | 0.806202 | 0 | 0 | 0.092629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.395349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9a6bcaf42692e310dc142762f867f7428785be47 | 119 | py | Python | data/micro-benchmark/decorators/nested/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | data/micro-benchmark/decorators/nested/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | data/micro-benchmark/decorators/nested/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | def dec(f):
return f
def func():
def dec(f):
return f
@dec
def inner():
pass
func()
| 9.153846 | 16 | 0.453782 | 17 | 119 | 3.176471 | 0.411765 | 0.222222 | 0.259259 | 0.481481 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.420168 | 119 | 12 | 17 | 9.916667 | 0.782609 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0 | 0.222222 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 7 |
d01475b7b2ff72446fbbac93ff7a1c97ebffb2e4 | 152 | py | Python | notebooks/data-prep/config.py | HPI-Information-Systems/TimeEval | 9b2717b89decd57dd09e04ad94c120f13132d7b8 | [
"MIT"
] | 2 | 2022-01-29T03:46:31.000Z | 2022-02-14T14:06:35.000Z | notebooks/data-prep/config.py | HPI-Information-Systems/TimeEval | 9b2717b89decd57dd09e04ad94c120f13132d7b8 | [
"MIT"
] | null | null | null | notebooks/data-prep/config.py | HPI-Information-Systems/TimeEval | 9b2717b89decd57dd09e04ad94c120f13132d7b8 | [
"MIT"
] | null | null | null | data_raw_folder = "/home/projects/akita/data/benchmark-data/data-raw"
data_processed_folder = "/home/projects/akita/data/benchmark-data/data-processed"
| 50.666667 | 81 | 0.815789 | 22 | 152 | 5.454545 | 0.363636 | 0.116667 | 0.3 | 0.383333 | 0.733333 | 0.733333 | 0.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0.039474 | 152 | 2 | 82 | 76 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.684211 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 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 | 9 |
d04fcf61c379ceb0f7e8fc287381cb8f01f2baf0 | 491 | py | Python | phoila/__init__.py | datalayer-contrib/phoila | f8ff5f0a1f807829b57deae9f72bed91908258ad | [
"BSD-3-Clause"
] | 10 | 2019-08-09T14:45:49.000Z | 2020-03-30T12:48:05.000Z | phoila/__init__.py | datalayer-contrib/phoila | f8ff5f0a1f807829b57deae9f72bed91908258ad | [
"BSD-3-Clause"
] | 9 | 2019-08-09T17:07:45.000Z | 2019-10-22T18:22:09.000Z | phoila/__init__.py | datalayer-contrib/phoila | f8ff5f0a1f807829b57deae9f72bed91908258ad | [
"BSD-3-Clause"
] | 5 | 2019-08-09T17:57:53.000Z | 2019-10-22T12:14:14.000Z | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) Vidar Tonaas Fauske.
# Distributed under the terms of the Modified BSD License.
from ._version import __version__, version_info
def load_jupyter_server_extension(nb_server_app):
# Wrap this here to avoid pulling in webapp in a normal run
from .server_ext... | 25.842105 | 64 | 0.778004 | 70 | 491 | 5.085714 | 0.657143 | 0.210674 | 0.247191 | 0.219101 | 0.207865 | 0.207865 | 0.207865 | 0 | 0 | 0 | 0 | 0.002398 | 0.150713 | 491 | 18 | 65 | 27.277778 | 0.851319 | 0.374745 | 0 | 0 | 0 | 0 | 0.039735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d0567b824e9a22b6de4e6f96cdb67ccb0d8a7c4b | 5,994 | py | Python | nebula/tests/test_config_custom.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 2 | 2019-05-01T09:42:32.000Z | 2019-05-31T01:08:37.000Z | nebula/tests/test_config_custom.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 1 | 2021-06-01T23:30:04.000Z | 2021-06-01T23:30:04.000Z | nebula/tests/test_config_custom.py | threathunterX/nebula_web | 2e32e6e7b225e0bd87ee8c847c22862f12c51bb1 | [
"Apache-2.0"
] | 5 | 2019-05-14T09:30:12.000Z | 2020-09-29T04:57:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from sqlalchemy.orm import sessionmaker
from nebula.views import config
from nebula.dao.config_dao import ConfigCustDao, ConfigDefaultDao
from base import WebTestCase, wsgi_safe, Auth_Code
configs = [
{
"last_modified": 1497421508806,
"valu... | 33.864407 | 80 | 0.619453 | 699 | 5,994 | 5.184549 | 0.130186 | 0.103477 | 0.07947 | 0.035872 | 0.813466 | 0.786976 | 0.786976 | 0.75745 | 0.745309 | 0.745309 | 0 | 0.007362 | 0.229563 | 5,994 | 176 | 81 | 34.056818 | 0.777393 | 0.01635 | 0 | 0.726619 | 0 | 0 | 0.103343 | 0.051247 | 0 | 0 | 0 | 0 | 0.179856 | 1 | 0.129496 | false | 0 | 0.035971 | 0.021583 | 0.208633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d0594825bfb56f90c5cef5a8c91e4bfecd645256 | 89 | py | Python | automate/__main__.py | alexflorez/test_api_cypress | bda6bf113bf861afbd9226c8a04e7bab0f2aebaf | [
"BSD-3-Clause"
] | null | null | null | automate/__main__.py | alexflorez/test_api_cypress | bda6bf113bf861afbd9226c8a04e7bab0f2aebaf | [
"BSD-3-Clause"
] | null | null | null | automate/__main__.py | alexflorez/test_api_cypress | bda6bf113bf861afbd9226c8a04e7bab0f2aebaf | [
"BSD-3-Clause"
] | null | null | null | from automate import install_cypress, run_api_server
install_cypress()
run_api_server()
| 17.8 | 52 | 0.853933 | 13 | 89 | 5.384615 | 0.615385 | 0.4 | 0.485714 | 0.571429 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 4 | 53 | 22.25 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
d08f7d68fe6e75f8d652d41f8644b192b4c876ca | 47,292 | py | Python | timelight_ai_python_api_client/api/day_trend_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | timelight_ai_python_api_client/api/day_trend_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | timelight_ai_python_api_client/api/day_trend_api.py | timelight-ai/python-api-client | 7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
timelight
This is the timelight api. # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from ... | 54.048 | 2,038 | 0.632855 | 6,225 | 47,292 | 4.608353 | 0.051888 | 0.041552 | 0.025796 | 0.015896 | 0.975808 | 0.969708 | 0.955659 | 0.947572 | 0.940077 | 0.933315 | 0 | 0.016293 | 0.231688 | 47,292 | 874 | 2,039 | 54.10984 | 0.773221 | 0.494841 | 0 | 0.776842 | 1 | 0 | 0.192073 | 0.057147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035789 | false | 0 | 0.008421 | 0 | 0.096842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d0d918d50f97599ad706e14910e3b0bf0085626d | 22,512 | py | Python | scanner/util/script/poc_jenkins_CVE_2015_8103.py | Shinpachi8/webscanner | 52aa377f0ee903a04ed19ea07433d0718697833d | [
"Apache-2.0"
] | 5 | 2018-04-27T12:34:08.000Z | 2020-11-09T10:47:02.000Z | scanner/util/script/poc_jenkins_CVE_2015_8103.py | Shinpachi8/webscanner | 52aa377f0ee903a04ed19ea07433d0718697833d | [
"Apache-2.0"
] | null | null | null | scanner/util/script/poc_jenkins_CVE_2015_8103.py | Shinpachi8/webscanner | 52aa377f0ee903a04ed19ea07433d0718697833d | [
"Apache-2.0"
] | 3 | 2019-04-08T19:58:20.000Z | 2020-04-07T15:35:07.000Z | # -*- encoding:utf-8 -*-
import socket
import base64
import random
import urllib2
import time
import binascii
from config import is_port_open
def random_str(len):
str1 = ""
for i in range(len):
str1 += (random.choice("ABCDEFGH1234567890"))
return str(str1)
def get_ver_ip(ip):
addr = 'devil.d... | 381.559322 | 17,791 | 0.770389 | 4,671 | 22,512 | 3.707771 | 0.056733 | 0.058895 | 0.058722 | 0.078296 | 0.711069 | 0.701195 | 0.692881 | 0.678503 | 0.674693 | 0.660835 | 0 | 0.45464 | 0.020211 | 22,512 | 58 | 17,792 | 388.137931 | 0.330553 | 0.001599 | 0 | 0.04 | 0 | 0.06 | 0.936101 | 0.926089 | 0 | 1 | 0 | 0 | 0 | 1 | 0.06 | false | 0.02 | 0.14 | 0 | 0.28 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ef630020da2b1a69b857e6213862ac955421138e | 26,619 | py | Python | radiantkit/plot.py | ggirelli/radiantkit | df3e57dbcda902f4f7b3796e6b8dbbf623ee36b8 | [
"MIT"
] | 2 | 2021-03-03T09:19:25.000Z | 2022-03-23T10:24:47.000Z | radiantkit/plot.py | ggirelli/radiantkit | df3e57dbcda902f4f7b3796e6b8dbbf623ee36b8 | [
"MIT"
] | 122 | 2020-10-05T06:19:09.000Z | 2022-02-04T18:26:20.000Z | radiantkit/plot.py | ggirelli/radiantkit | df3e57dbcda902f4f7b3796e6b8dbbf623ee36b8 | [
"MIT"
] | null | null | null | """
@author: Gabriele Girelli
@contact: gigi.ga90@gmail.com
"""
from collections import defaultdict
import numpy as np # type: ignore
import os
import pandas as pd # type: ignore
import plotly.graph_objects as go # type: ignore
import plotly.express as px # type: ignore
from plotly.subplots import make_subplots #... | 35.730201 | 87 | 0.468838 | 2,686 | 26,619 | 4.431124 | 0.089725 | 0.045371 | 0.015124 | 0.026214 | 0.856327 | 0.84448 | 0.829945 | 0.8123 | 0.798437 | 0.775164 | 0 | 0.013782 | 0.4194 | 26,619 | 744 | 88 | 35.778226 | 0.756325 | 0.004546 | 0 | 0.766764 | 0 | 0 | 0.070566 | 0.021257 | 0 | 0 | 0 | 0 | 0.026239 | 1 | 0.033528 | false | 0 | 0.01312 | 0.002915 | 0.088921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
32986d45a002b327f9d0c84a98fb3f9531babe0f | 137,699 | py | Python | pyboto3/cognitoidentityprovider.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/cognitoidentityprovider.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/cognitoidentityprovider.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 33.325024 | 625 | 0.60243 | 13,953 | 137,699 | 5.897585 | 0.062926 | 0.017864 | 0.015239 | 0.011691 | 0.820231 | 0.784989 | 0.757185 | 0.735469 | 0.716912 | 0.691259 | 0 | 0.006313 | 0.317795 | 137,699 | 4,131 | 626 | 33.333091 | 0.869671 | 0.833158 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.538462 | 0.032051 | 0 | 0.532051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
329b29b0fee4c641e2cfc32de5e4769e6c60dc51 | 4,060 | py | Python | tests/test_utilities/test_csvsplit.py | themiurgo/csvkit | d03fb24c9b35d6cac77881b71c794ff6274356a3 | [
"MIT"
] | 2 | 2016-01-24T22:10:19.000Z | 2017-01-10T10:43:13.000Z | tests/test_utilities/test_csvsplit.py | themiurgo/csvkit | d03fb24c9b35d6cac77881b71c794ff6274356a3 | [
"MIT"
] | null | null | null | tests/test_utilities/test_csvsplit.py | themiurgo/csvkit | d03fb24c9b35d6cac77881b71c794ff6274356a3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import StringIO
import unittest
from csvkit import CSVKitReader
from csvkit.utilities.csvsplit import CSVSplit, fname_format
class DummyFiles(object):
def __init__(self):
self.file_objs = {}
def dummy_file_constructor(self, fname, mode, *args, **kwargs):
fobj = Stri... | 41.428571 | 110 | 0.625369 | 496 | 4,060 | 4.953629 | 0.155242 | 0.07733 | 0.136752 | 0.1628 | 0.789174 | 0.789174 | 0.773301 | 0.77208 | 0.77208 | 0.77208 | 0 | 0.014614 | 0.207882 | 4,060 | 97 | 111 | 41.85567 | 0.749378 | 0.310837 | 0 | 0.583333 | 0 | 0 | 0.130105 | 0.096494 | 0 | 0 | 0 | 0 | 0.25 | 0 | null | null | 0 | 0.083333 | null | null | 0.041667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
32c7d89787386bcd601ca37279ebb900dce6021f | 4,515 | py | Python | tests/test_grep_edge_cases.py | florianbegusch/simple_grep | 62fd0f76383e2332c5308e7961ce6f585c2a8208 | [
"BSD-2-Clause"
] | null | null | null | tests/test_grep_edge_cases.py | florianbegusch/simple_grep | 62fd0f76383e2332c5308e7961ce6f585c2a8208 | [
"BSD-2-Clause"
] | 2 | 2020-06-19T20:18:12.000Z | 2020-06-19T20:18:50.000Z | tests/test_grep_edge_cases.py | florianbegusch/simple_grep | 62fd0f76383e2332c5308e7961ce6f585c2a8208 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import platform
import pytest
from grep import print_helper
from grep import file_helper
from grep.grep import Searcher
from tests.helper_for_tests import *
def test_run_with_empty_str_not_regex_line_by_line(with_f_write):
with_f_write.write('docopt\nasdfwer')
with_f_write.... | 29.129032 | 65 | 0.66268 | 615 | 4,515 | 4.364228 | 0.108943 | 0.044709 | 0.081967 | 0.099106 | 0.86699 | 0.831222 | 0.81073 | 0.81073 | 0.800298 | 0.786513 | 0 | 0.001494 | 0.258915 | 4,515 | 154 | 66 | 29.318182 | 0.800658 | 0.014618 | 0 | 0.836066 | 0 | 0 | 0.022042 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.057377 | false | 0 | 0.057377 | 0 | 0.114754 | 0.008197 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
08bb6c3aefb4bb5f1466e06b61fb131352718118 | 154 | py | Python | oop/inheritance/email_enable_contact.py | erzhiqianyi/Design-Patterns-In-Python | 2c4ab70963dc339361c7adc34317d0cb966710cc | [
"Apache-2.0"
] | null | null | null | oop/inheritance/email_enable_contact.py | erzhiqianyi/Design-Patterns-In-Python | 2c4ab70963dc339361c7adc34317d0cb966710cc | [
"Apache-2.0"
] | null | null | null | oop/inheritance/email_enable_contact.py | erzhiqianyi/Design-Patterns-In-Python | 2c4ab70963dc339361c7adc34317d0cb966710cc | [
"Apache-2.0"
] | null | null | null | from oop.inheritance.contact import Contact
from oop.inheritance.mail_sender import MailSender
class EmailEnableContact(Contact, MailSender):
pass
| 19.25 | 50 | 0.824675 | 18 | 154 | 7 | 0.611111 | 0.111111 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123377 | 154 | 7 | 51 | 22 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
3ed17299106b02f3dab287aa9f81b7aa3ff40fe6 | 152 | py | Python | datasets/__init__.py | RichardDominik/AICITY2021_Track2_DMT | 50f27363532ae712868ff1ceaf128a3bbec426ac | [
"MIT"
] | 74 | 2021-04-19T03:09:45.000Z | 2022-03-29T06:32:08.000Z | datasets/__init__.py | RichardDominik/AICITY2021_Track2_DMT | 50f27363532ae712868ff1ceaf128a3bbec426ac | [
"MIT"
] | 16 | 2021-05-14T06:09:26.000Z | 2022-02-23T20:08:27.000Z | datasets/__init__.py | RichardDominik/AICITY2021_Track2_DMT | 50f27363532ae712868ff1ceaf128a3bbec426ac | [
"MIT"
] | 18 | 2021-05-10T02:17:01.000Z | 2022-03-27T05:18:55.000Z | from .make_dataloader import make_dataloader,make_dataloader_Pseudo,get_trainloader_uda, get_testloader_uda
from .make_dataloader import RandomErasing
| 50.666667 | 108 | 0.901316 | 20 | 152 | 6.4 | 0.5 | 0.4375 | 0.28125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 152 | 2 | 109 | 76 | 0.901408 | 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 | 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 | 8 |
4127e27c3fcd34e10592f3bcfdcdde379ec51d1d | 93,016 | py | Python | talon_one/api/integration_api.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2021-03-05T06:41:26.000Z | 2021-03-05T06:41:26.000Z | talon_one/api/integration_api.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2021-09-07T08:56:58.000Z | 2021-09-07T08:56:58.000Z | talon_one/api/integration_api.py | talon-one/talon_one.py | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | [
"MIT"
] | 1 | 2019-05-21T10:27:54.000Z | 2019-05-21T10:27:54.000Z | # coding: utf-8
"""
Talon.One API
The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #... | 56.135184 | 1,764 | 0.632687 | 11,029 | 93,016 | 5.14072 | 0.037809 | 0.035134 | 0.052595 | 0.020636 | 0.968146 | 0.966365 | 0.96252 | 0.961762 | 0.951126 | 0.946734 | 0 | 0.014255 | 0.298615 | 93,016 | 1,656 | 1,765 | 56.169082 | 0.854675 | 0.536811 | 0 | 0.765664 | 0 | 0 | 0.190115 | 0.053564 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033835 | false | 0 | 0.006266 | 0 | 0.073935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f5fc8d5f7e3c1dff56b0bfea428d6fdd6714d632 | 6,545 | py | Python | loldib/getratings/models/NA/na_reksai/na_reksai_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_reksai/na_reksai_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_reksai/na_reksai_bot.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_RekSai_Bot_Aatrox(Ratings):
pass
class NA_RekSai_Bot_Ahri(Ratings):
pass
class NA_RekSai_Bot_Akali(Ratings):
pass
class NA_RekSai_Bot_Alistar(Ratings):
pass
class NA_RekSai_Bot_Amumu(Ratings):
pass
class NA_RekSai_Bot_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 8 |
de2cb22c06be951b4fdc7384a94a639d5b1f883c | 10,847 | py | Python | struct/model/boss/2pcf_pk_test/plot_test.py | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | 6 | 2021-09-28T04:00:56.000Z | 2022-03-23T03:49:19.000Z | struct/model/boss/2pcf_pk_test/plot_test.py | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | null | null | null | struct/model/boss/2pcf_pk_test/plot_test.py | naonori/hitomi | 02b188eb8ada4d39a10801bf3193581b9bc9c310 | [
"MIT"
] | null | null | null | ########################
# Purpose of this code #
########################
#
# This code aims to plot the computed power spectra and 2PCFs.
#
######################################################
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, os
import numpy as np
import matplotlib.pyplot as plt
params =... | 39.878676 | 119 | 0.548815 | 1,836 | 10,847 | 3.122004 | 0.071895 | 0.03559 | 0.031403 | 0.097697 | 0.925506 | 0.919749 | 0.906315 | 0.900384 | 0.888172 | 0.846127 | 0 | 0.047593 | 0.167051 | 10,847 | 271 | 120 | 40.02583 | 0.586829 | 0.85443 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
de3fda95d161613919b336bc254597d4c050044e | 54 | py | Python | stRT/plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | stRT/plot/__init__.py | Yao-14/stAnalysis | d08483ce581f5b03cfcad8be500aaa64b0293f74 | [
"BSD-3-Clause"
] | null | null | null | from .three_d_plot import *
from .two_d_plot import *
| 18 | 27 | 0.777778 | 10 | 54 | 3.8 | 0.6 | 0.263158 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 28 | 27 | 0.826087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
de40a673cf2d9517d36be6de4ef1d9ecc1f5744c | 30,260 | py | Python | data_block/one/tests/test_block.py | spectrum-dev/django-block-monolith | c17a1ef98ae813a4e94581e2e52a4a03f0e65769 | [
"MIT"
] | null | null | null | data_block/one/tests/test_block.py | spectrum-dev/django-block-monolith | c17a1ef98ae813a4e94581e2e52a4a03f0e65769 | [
"MIT"
] | null | null | null | data_block/one/tests/test_block.py | spectrum-dev/django-block-monolith | c17a1ef98ae813a4e94581e2e52a4a03f0e65769 | [
"MIT"
] | null | null | null | import responses
from django.test import TestCase
from blocks.event import event_ingestor
from data_block.one.exceptions import (
DataBlockOneInvalidCandlestickException,
DataBlockOneInvalidInputPayloadException,
)
class GetEquityName(TestCase):
@responses.activate
def test_ok(self):
ticker_n... | 35.6 | 163 | 0.353073 | 2,472 | 30,260 | 4.257686 | 0.112055 | 0.036485 | 0.025083 | 0.028884 | 0.785653 | 0.776912 | 0.748694 | 0.744323 | 0.729311 | 0.718575 | 0 | 0.2036 | 0.511599 | 30,260 | 849 | 164 | 35.641932 | 0.508559 | 0.001355 | 0 | 0.524715 | 0 | 0.017744 | 0.286461 | 0.028461 | 0 | 0 | 0 | 0.001178 | 0.019011 | 1 | 0.021546 | false | 0.001267 | 0.00507 | 0 | 0.029151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 7 |
de504515503229eb2f54aff686fc9f55b107d8bd | 97 | py | Python | scqtlib/plots/__init__.py | huangyh09/scQTLib | d0d704ab42704d97f780d707626a4f6a6558dd93 | [
"Apache-2.0"
] | null | null | null | scqtlib/plots/__init__.py | huangyh09/scQTLib | d0d704ab42704d97f780d707626a4f6a6558dd93 | [
"Apache-2.0"
] | null | null | null | scqtlib/plots/__init__.py | huangyh09/scQTLib | d0d704ab42704d97f780d707626a4f6a6558dd93 | [
"Apache-2.0"
] | 1 | 2022-01-07T06:49:45.000Z | 2022-01-07T06:49:45.000Z | from .base_plot import Gboxplot, scatter_adata
from .base_plot import wzhu_colors, vega_20_scanpy | 48.5 | 50 | 0.865979 | 16 | 97 | 4.875 | 0.75 | 0.205128 | 0.307692 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.092784 | 97 | 2 | 50 | 48.5 | 0.863636 | 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 | 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 | 0 | 0 | 0 | 7 |
dec483e338d7dcbde0fe0a9f844998abe3498390 | 6,852 | py | Python | website/templates/database.py | fahad-rewon/SELab | 431bcf827177d6ba7a5761e58f773b2031bbb79b | [
"MIT"
] | null | null | null | website/templates/database.py | fahad-rewon/SELab | 431bcf827177d6ba7a5761e58f773b2031bbb79b | [
"MIT"
] | null | null | null | website/templates/database.py | fahad-rewon/SELab | 431bcf827177d6ba7a5761e58f773b2031bbb79b | [
"MIT"
] | null | null | null | import sqlite3
from bs4 import BeautifulSoup
import requests
# Create a database in RAM
# db = sqlite3.connect(':memory:')
# Creates or opens a file called mydb with a SQLite3 DB
try:
db = sqlite3.connect('C:\sqlite\mydb.db')
cursor = db.cursor()
# Get a cursor object
cursor.execute('''
... | 35.6875 | 112 | 0.610479 | 704 | 6,852 | 5.849432 | 0.166193 | 0.026226 | 0.037882 | 0.052453 | 0.865712 | 0.843856 | 0.821515 | 0.821515 | 0.815202 | 0.815202 | 0 | 0.008998 | 0.27014 | 6,852 | 192 | 113 | 35.6875 | 0.814437 | 0.210158 | 0 | 0.817391 | 0 | 0.008696 | 0.193118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026087 | 0 | 0.026087 | 0.269565 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a0f5e95fa3668ab917b7633aac371c6c285a04e7 | 27,058 | py | Python | src/abaqus/Step/StaticRiksStep.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Step/StaticRiksStep.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Step/StaticRiksStep.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from abaqusConstants import *
from .AnalysisStep import AnalysisStep
from ..Adaptivity.AdaptiveMeshConstraintState import AdaptiveMeshConstraintState
from ..Adaptivity.AdaptiveMeshDomain import AdaptiveMeshDomain
from ..BoundaryCondition.BoundaryConditionState import BoundaryConditionState
from ..Load.LoadCase import L... | 49.738971 | 130 | 0.697834 | 3,128 | 27,058 | 6.006074 | 0.092072 | 0.030926 | 0.063076 | 0.071486 | 0.818598 | 0.77708 | 0.752009 | 0.728323 | 0.71805 | 0.717305 | 0 | 0.003086 | 0.257558 | 27,058 | 543 | 131 | 49.830571 | 0.931903 | 0.745177 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0.025316 | 0.202532 | 0 | 0.759494 | 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 | 1 | 0 | 0 | 7 |
9d283bf91c893390124f6f8f26727b1eab86c82d | 477 | py | Python | tests/decorators.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 17 | 2017-12-04T15:18:16.000Z | 2021-04-22T11:32:25.000Z | tests/decorators.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 19 | 2017-12-28T15:17:46.000Z | 2022-03-30T12:38:16.000Z | tests/decorators.py | zvolsky/django-smoke-tests | 049a6b92013c78f44c5ec9cb55d9978f391af3d7 | [
"MIT"
] | 8 | 2017-12-28T12:31:09.000Z | 2021-11-01T15:28:23.000Z | from functools import wraps
def decorator_without_functools_wraps(f):
def wrapper(request, *args, **kwargs):
if not request.user.is_superuser:
raise Exception
return f(request, *args, **kwargs)
return wrapper
def decorator_with_functools_wraps(f):
@wraps(f)
def wrapper(re... | 25.105263 | 42 | 0.656184 | 58 | 477 | 5.258621 | 0.362069 | 0.144262 | 0.222951 | 0.104918 | 0.727869 | 0.727869 | 0.727869 | 0.727869 | 0.727869 | 0.727869 | 0 | 0 | 0.249476 | 477 | 18 | 43 | 26.5 | 0.851955 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9d2fad7e81e403963335945f309cce8e109830b1 | 2,545 | py | Python | slothtest_tests/test.py | elegantwist/slothtest | 0c5e5fa6f06c6089f6d1ac0e667d33abeda989bf | [
"MIT"
] | 12 | 2019-02-04T09:13:09.000Z | 2019-04-17T07:02:54.000Z | slothtest_tests/test.py | elegantwist/slothtest | 0c5e5fa6f06c6089f6d1ac0e667d33abeda989bf | [
"MIT"
] | null | null | null | slothtest_tests/test.py | elegantwist/slothtest | 0c5e5fa6f06c6089f6d1ac0e667d33abeda989bf | [
"MIT"
] | null | null | null | import pytest
import os
import pandas as pd
from slothtest import watchme
from slothtest import slothwatcher
class ClassForTesting:
debugging = 99
def __init__(self, dd=0):
self.debugging = dd
@watchme()
def im_a_function_for_testing(self, d_table=None, vv=1):
for i, row in d_table.i... | 29.593023 | 108 | 0.670334 | 342 | 2,545 | 4.719298 | 0.192982 | 0.138786 | 0.182156 | 0.216853 | 0.848823 | 0.828996 | 0.828996 | 0.806691 | 0.806691 | 0.806691 | 0 | 0.022607 | 0.183104 | 2,545 | 85 | 109 | 29.941176 | 0.753728 | 0 | 0 | 0.618182 | 0 | 0 | 0.131631 | 0.022004 | 0 | 0 | 0 | 0 | 0.327273 | 1 | 0.090909 | false | 0 | 0.090909 | 0 | 0.254545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
9d42dba2e36da3490c524ac95a75b46194999b80 | 108 | py | Python | utils/get_time.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | utils/get_time.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | utils/get_time.py | ChrissisCodeXD/Hikari-TestProject | 236c8fc9081172d9edff6d629e5d11c5abe64205 | [
"MIT"
] | null | null | null | import datetime, pytz
def get_time():
return datetime.datetime.now(tz=pytz.timezone('Europe/Berlin'))
| 18 | 67 | 0.740741 | 15 | 108 | 5.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 5 | 68 | 21.6 | 0.831579 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
19de8e324ff772ee03cacfddc8dfae3888e7bcd1 | 17,887 | py | Python | vision/image_classification/configs/configs.py | pedro-abundio-wang/image-classification | 952719d7561b9998add0daf71d61e55cb6103eaf | [
"Apache-2.0"
] | null | null | null | vision/image_classification/configs/configs.py | pedro-abundio-wang/image-classification | 952719d7561b9998add0daf71d61e55cb6103eaf | [
"Apache-2.0"
] | null | null | null | vision/image_classification/configs/configs.py | pedro-abundio-wang/image-classification | 952719d7561b9998add0daf71d61e55cb6103eaf | [
"Apache-2.0"
] | null | null | null | # Lint as: python3
# ==============================================================================
"""Configuration utils for image classification experiments."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import dataclasses
from vision.image_classifi... | 50.528249 | 116 | 0.613854 | 1,517 | 17,887 | 6.963085 | 0.090969 | 0.137461 | 0.043548 | 0.064376 | 0.822683 | 0.802802 | 0.796743 | 0.748462 | 0.748462 | 0.748462 | 0 | 0.01179 | 0.30771 | 17,887 | 353 | 117 | 50.671388 | 0.841234 | 0.039973 | 0 | 0.825397 | 0 | 0 | 0.029866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003175 | false | 0 | 0.038095 | 0 | 0.298413 | 0.003175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c2098c3f86f8a565346738dc2270bf0d01ba9106 | 208 | py | Python | core/textsummarize.py | tonymazn/cs410 | 6abcd5762a1e5b131220651d2a82e6fac29b55fe | [
"Apache-2.0"
] | null | null | null | core/textsummarize.py | tonymazn/cs410 | 6abcd5762a1e5b131220651d2a82e6fac29b55fe | [
"Apache-2.0"
] | null | null | null | core/textsummarize.py | tonymazn/cs410 | 6abcd5762a1e5b131220651d2a82e6fac29b55fe | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from string import punctuation
from .summarizer import *
def get_summary(text, count, algorithm_name):
return convert_to_text(get_summary_result(text, count, algorithm_name))
| 18.909091 | 75 | 0.75 | 28 | 208 | 5.321429 | 0.678571 | 0.134228 | 0.241611 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.144231 | 208 | 10 | 76 | 20.8 | 0.831461 | 0.100962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
dfe86162496523bf90e46ab022930a12cdc8b8d1 | 102 | py | Python | eggdriver/news/__init__.py | PythonForChange/eggdriver | bcf1da6dcb2a8daf3144c7af8d1d04f8844be2fc | [
"MIT"
] | 3 | 2021-09-25T01:22:31.000Z | 2021-11-28T23:25:46.000Z | eggdriver/news/__init__.py | PythonForChange/eggdriver | bcf1da6dcb2a8daf3144c7af8d1d04f8844be2fc | [
"MIT"
] | null | null | null | eggdriver/news/__init__.py | PythonForChange/eggdriver | bcf1da6dcb2a8daf3144c7af8d1d04f8844be2fc | [
"MIT"
] | null | null | null | from eggdriver.news.app import *
from eggdriver.news.config import *
from eggdriver.news.news import * | 34 | 35 | 0.803922 | 15 | 102 | 5.466667 | 0.4 | 0.47561 | 0.621951 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 36 | 34 | 0.901099 | 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 | 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 | 8 |
a051c3240f7f97b08d6062627ce105d6ae0f96dd | 144 | py | Python | app/tempBerry/smarthome/models/__init__.py | ChristianKreuzberger/tempBerry | d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf | [
"MIT"
] | 2 | 2019-07-16T19:09:50.000Z | 2020-01-03T09:06:46.000Z | app/tempBerry/smarthome/models/__init__.py | ChristianKreuzberger/tempBerry | d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf | [
"MIT"
] | null | null | null | app/tempBerry/smarthome/models/__init__.py | ChristianKreuzberger/tempBerry | d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf | [
"MIT"
] | 1 | 2020-02-09T22:46:05.000Z | 2020-02-09T22:46:05.000Z | from tempBerry.smarthome.models.models import *
from tempBerry.smarthome.models.base import *
from tempBerry.smarthome.models.handlers import *
| 36 | 49 | 0.833333 | 18 | 144 | 6.666667 | 0.388889 | 0.325 | 0.55 | 0.7 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 3 | 50 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
a08494f4c74b5a7fbb167c2da6055672dbabb93b | 213 | bzl | Python | debian/m4.bzl | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | debian/m4.bzl | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | debian/m4.bzl | AustinSchuh/971-Robot-Code | 99abc66fd2d899c0bdab338dc6f57dc5def9be8d | [
"Apache-2.0"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | files = {
"libsigsegv2_2.12-2_amd64.deb": "78d1be36433355530c2e55ac8a24c41cbbdd8f5a3c943e614c8761113a72cb8d",
"m4_1.4.18-2_amd64.deb": "37076cc03a19863eb6c4ec2afb3e79328c19fdc506176bfe8ffcada6d0f7d099",
}
| 42.6 | 103 | 0.821596 | 16 | 213 | 10.6875 | 0.75 | 0.070175 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.467005 | 0.075117 | 213 | 4 | 104 | 53.25 | 0.401015 | 0 | 0 | 0 | 0 | 0 | 0.830986 | 0.830986 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
39fc51c2098c956b44f04e2f256b45cb43565fd0 | 2,422 | py | Python | Questionnaire/migrations/0004_commonfeaturetable_transferstimulitable.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0004_commonfeaturetable_transferstimulitable.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | Questionnaire/migrations/0004_commonfeaturetable_transferstimulitable.py | AdityaKapoor74/Supervised_Categorization_Study | 1ce29de95c8ccc2b848e2d06463719858e57b942 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.2 on 2020-07-20 11:53
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Questionnaire', '0003_auto_20200720_1101'),
]
operations = [
migrations.CreateModel(
name='Comm... | 46.576923 | 124 | 0.594963 | 234 | 2,422 | 5.982906 | 0.333333 | 0.117857 | 0.142857 | 0.165714 | 0.770714 | 0.770714 | 0.770714 | 0.770714 | 0.770714 | 0.770714 | 0 | 0.024321 | 0.270025 | 2,422 | 51 | 125 | 47.490196 | 0.767534 | 0.01858 | 0 | 0.666667 | 1 | 0 | 0.175579 | 0.030737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044444 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.