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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9fc7d79e587b9d1a68e8da208a6437cf03391b4 | 8,845 | py | Python | coordinator/SEs/qsym.py | hjyuan/muse | 293e02fb659601282234117a98b203b6361484a3 | [
"Apache-2.0"
] | 33 | 2020-10-15T20:08:23.000Z | 2022-01-28T14:27:04.000Z | coordinator/SEs/qsym.py | Microsvuln/muse | 5af0ed322ae0f8da5ac0979d3db3df87673d828e | [
"Apache-2.0"
] | 1 | 2021-11-23T11:15:00.000Z | 2021-12-13T07:49:23.000Z | coordinator/SEs/qsym.py | Microsvuln/muse | 5af0ed322ae0f8da5ac0979d3db3df87673d828e | [
"Apache-2.0"
] | 7 | 2020-10-15T21:22:27.000Z | 2022-02-16T07:11:50.000Z | import ConfigParser
import multiprocessing
import subprocess
import os
import sys
import utils
import shutil
import signal
import tempfile
from utils import bcolors
from utils import mkdir, mkdir_force
import qsym_minimizer as minimizer
from qsym_executor import Executor
DEFAULT_TIMEOUT = 90
TARGET_FILE = utils.AT_FIL... | 35.239044 | 117 | 0.574901 | 1,140 | 8,845 | 4.261404 | 0.218421 | 0.023055 | 0.020585 | 0.020173 | 0.198847 | 0.127007 | 0.113421 | 0.081103 | 0.081103 | 0.060107 | 0 | 0.008391 | 0.312832 | 8,845 | 250 | 118 | 35.38 | 0.790885 | 0.113171 | 0 | 0.134503 | 0 | 0 | 0.106888 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0 | null | null | 0.023392 | 0.076023 | null | null | 0.02924 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e9fcf11f16bed2e53ea6e00012cfef0dad7ae512 | 381 | py | Python | hitchhikeproject/hitchhikeapp/migrations/0010_userdata_userid.py | AlexW57/HitchHikeProject | 54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89 | [
"MIT"
] | null | null | null | hitchhikeproject/hitchhikeapp/migrations/0010_userdata_userid.py | AlexW57/HitchHikeProject | 54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89 | [
"MIT"
] | null | null | null | hitchhikeproject/hitchhikeapp/migrations/0010_userdata_userid.py | AlexW57/HitchHikeProject | 54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.2 on 2020-03-29 18:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hitchhikeapp', '0009_user_ride'),
]
operations = [
migrations.AddField(
model_name='userdata',
name='userId',
... | 20.052632 | 49 | 0.593176 | 40 | 381 | 5.575 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07037 | 0.291339 | 381 | 18 | 50 | 21.166667 | 0.755556 | 0.11811 | 0 | 0 | 1 | 0 | 0.11976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
180284232c78232f8509906fad9208dc154bb359 | 8,293 | py | Python | velocity_expression.py | qingfengxia/quasi_static_metal_cutting | 9773fc0ea33c290057cb2230365094058216caf0 | [
"AFL-1.1"
] | 2 | 2019-07-18T18:35:31.000Z | 2021-09-12T14:00:58.000Z | velocity_expression.py | qingfengxia/quasi_static_metal_cutting | 9773fc0ea33c290057cb2230365094058216caf0 | [
"AFL-1.1"
] | 1 | 2020-04-26T04:22:26.000Z | 2020-05-11T08:54:44.000Z | velocity_expression.py | qingfengxia/quasi_static_metal_cutting | 9773fc0ea33c290057cb2230365094058216caf0 | [
"AFL-1.1"
] | null | null | null | import math
import numpy as np
from parameter import *
if using_salome:
from parameter_salome import *
else:
from parameter_gmsh import *
if workpiece_type_id == 1:
disc_H = 0.01; #same with cutter now
length_scale = disc_R;
#if is_straight_chip:
# mesh_file = meshfolder + "/metal_cut_st... | 37.524887 | 130 | 0.623659 | 1,298 | 8,293 | 3.664869 | 0.139445 | 0.055497 | 0.040362 | 0.040362 | 0.44629 | 0.325836 | 0.262981 | 0.247635 | 0.182888 | 0.176792 | 0 | 0.031374 | 0.242855 | 8,293 | 221 | 131 | 37.524887 | 0.72623 | 0.085253 | 0 | 0.138728 | 0 | 0.034682 | 0.613749 | 0.083322 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017341 | false | 0 | 0.028902 | 0.00578 | 0.057803 | 0.00578 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
18046c41e8e5a224705722da8d850e432723b652 | 1,012 | py | Python | src/main.py | gras/16-TaterBot | 2865e75f32cb462475b4a46fceed99cb2101f3a0 | [
"MIT"
] | 2 | 2016-03-14T00:02:11.000Z | 2016-10-22T23:38:08.000Z | src/main.py | gras/16-TaterBot | 2865e75f32cb462475b4a46fceed99cb2101f3a0 | [
"MIT"
] | null | null | null | src/main.py | gras/16-TaterBot | 2865e75f32cb462475b4a46fceed99cb2101f3a0 | [
"MIT"
] | null | null | null | # 16-TaterBot main.py
'''
Created on Mar 13, 2016
@author: Dead Robot Society
'''
import actions as act
import constants as c
from sensors import DEBUG
from servos import moveClaw
def main():
act.init()
#act.disposeOfDirt()
act.goToWestPile()
act.grabWestPile()
act.wiggle()
... | 19.461538 | 54 | 0.600791 | 108 | 1,012 | 5.555556 | 0.583333 | 0.045 | 0.04 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014986 | 0.274704 | 1,012 | 52 | 55 | 19.461538 | 0.802452 | 0.114625 | 0 | 0.172414 | 0 | 0 | 0.013413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | true | 0 | 0.206897 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1807e88736ccd23f1f5c5abf9b4965b87b825257 | 2,726 | py | Python | smc/examples/engine-node-health.py | kobaan/fp-NGFW-SMC-python | 7be57bdde954e4115a887c0140054c87cc0b53a0 | [
"Apache-2.0"
] | 17 | 2019-11-19T07:25:09.000Z | 2022-02-16T16:43:51.000Z | smc/examples/engine-node-health.py | kobaan/fp-NGFW-SMC-python | 7be57bdde954e4115a887c0140054c87cc0b53a0 | [
"Apache-2.0"
] | 25 | 2020-05-20T12:27:35.000Z | 2022-02-21T05:27:10.000Z | smc/examples/engine-node-health.py | kobaan/fp-NGFW-SMC-python | 7be57bdde954e4115a887c0140054c87cc0b53a0 | [
"Apache-2.0"
] | 7 | 2020-02-04T12:16:50.000Z | 2022-02-18T14:01:04.000Z | """
Example script to show how to use Engine Node health
-get virtual engine or Layer3 firewall
-get health data for each node
-retrieve master engine from virtual engine health
"""
# Python Base Import
from smc import session
from smc.core.engines import Layer3VirtualEngine, Layer3Firewall
from smc.core.waiters impor... | 36.346667 | 99 | 0.659574 | 349 | 2,726 | 5.04298 | 0.272206 | 0.068182 | 0.072727 | 0.031818 | 0.571023 | 0.571023 | 0.521023 | 0.496591 | 0.452273 | 0.452273 | 0 | 0.007452 | 0.212399 | 2,726 | 74 | 100 | 36.837838 | 0.812296 | 0.111519 | 0 | 0.382979 | 0 | 0 | 0.207555 | 0.022416 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0 | false | 0 | 0.085106 | 0 | 0.085106 | 0.425532 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
1809c63523ae454aea97a3c93cce2d05f6e6dfc0 | 6,194 | py | Python | src/Aletheia.py | lliang17/AletheiaPy | 5a44b0c41d59f37477b6ad6d0773cdbf7b17af36 | [
"MIT"
] | null | null | null | src/Aletheia.py | lliang17/AletheiaPy | 5a44b0c41d59f37477b6ad6d0773cdbf7b17af36 | [
"MIT"
] | null | null | null | src/Aletheia.py | lliang17/AletheiaPy | 5a44b0c41d59f37477b6ad6d0773cdbf7b17af36 | [
"MIT"
] | null | null | null | import requests
import json
class Client:
def __init__(self, key):
self.key = key
self.base = "https://api.aletheiaapi.com/"
def StockData(self, symbol, summary = False, statistics = False):
url = self.base + f"StockData?key={self.key}&symbol={symbol}"
if summary: url =... | 41.019868 | 141 | 0.579755 | 783 | 6,194 | 4.581098 | 0.128991 | 0.050181 | 0.048787 | 0.090326 | 0.475606 | 0.414831 | 0.330638 | 0.308893 | 0.229997 | 0.173683 | 0 | 0.004413 | 0.268324 | 6,194 | 151 | 142 | 41.019868 | 0.78707 | 0.014207 | 0 | 0.230769 | 0 | 0 | 0.223497 | 0.131738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.019231 | 0.038462 | 0.480769 | 0.009615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
180c66341bcfe163d41d8c1361be3863e993d420 | 6,619 | py | Python | third_party/gsutil/gslib/addlhelp/dev.py | ravitejavalluri/catapult | 246a39a82c2213d913a96fff020a263838dc76e6 | [
"BSD-3-Clause"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/gsutil/gslib/addlhelp/dev.py | ravitejavalluri/catapult | 246a39a82c2213d913a96fff020a263838dc76e6 | [
"BSD-3-Clause"
] | 1 | 2021-02-23T22:20:14.000Z | 2021-02-23T22:20:14.000Z | third_party/gsutil/gslib/addlhelp/dev.py | ravitejavalluri/catapult | 246a39a82c2213d913a96fff020a263838dc76e6 | [
"BSD-3-Clause"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | # -*- coding: utf-8 -*-
# Copyright 2012 Google Inc. 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 require... | 44.422819 | 80 | 0.728811 | 1,019 | 6,619 | 4.708538 | 0.380765 | 0.008337 | 0.011255 | 0.015006 | 0.097541 | 0.068362 | 0.050021 | 0.032097 | 0 | 0 | 0 | 0.004457 | 0.220426 | 6,619 | 148 | 81 | 44.722973 | 0.925388 | 0.123433 | 0 | 0.020408 | 0 | 0.010204 | 0.927458 | 0.015582 | 0 | 0 | 0 | 0.006757 | 0 | 1 | 0 | false | 0 | 0.030612 | 0 | 0.05102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
180e8fc3897f6c3e73335c49be7d0322e13980f3 | 1,612 | py | Python | bikesharing/models/vehicle_type.py | mohnbroetchen2/cykel_jenarad | 6ed9fa45d8b98e1021bc41a57e1250ac6f0cfcc4 | [
"MIT"
] | 80 | 2019-08-20T17:41:31.000Z | 2021-05-31T19:20:28.000Z | bikesharing/models/vehicle_type.py | mohnbroetchen2/cykel_jenarad | 6ed9fa45d8b98e1021bc41a57e1250ac6f0cfcc4 | [
"MIT"
] | 19 | 2019-08-24T15:17:33.000Z | 2021-09-22T17:58:03.000Z | bikesharing/models/vehicle_type.py | mohnbroetchen2/cykel_jenarad | 6ed9fa45d8b98e1021bc41a57e1250ac6f0cfcc4 | [
"MIT"
] | 12 | 2019-08-21T17:55:14.000Z | 2021-04-07T18:53:52.000Z | from textwrap import dedent
from django.db import models
from django.utils.translation import gettext_lazy as _
class VehicleType(models.Model):
class FormFactor(models.TextChoices):
"""These factors are defined by GBFS v2.1."""
BIKE = "BI", _("Bike")
ESCOOTER = "ES", _("E-Scooter")
... | 33.583333 | 82 | 0.628412 | 188 | 1,612 | 5.255319 | 0.574468 | 0.045547 | 0.045547 | 0.057692 | 0.246964 | 0.246964 | 0.097166 | 0.097166 | 0.097166 | 0.097166 | 0 | 0.00755 | 0.260546 | 1,612 | 47 | 83 | 34.297872 | 0.821309 | 0.073201 | 0 | 0 | 0 | 0 | 0.067937 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.03125 | false | 0 | 0.09375 | 0.03125 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
180f15ca2f440f6eed768919123307c64d397fb7 | 4,792 | py | Python | scrape/scrape_sched.py | mdelhey/rice-scrape | edccf6de6e0c4a3e64d8dc89e96758e4d39dddad | [
"MIT"
] | 1 | 2017-06-13T09:13:57.000Z | 2017-06-13T09:13:57.000Z | scrape/scrape_sched.py | mdelhey/rice-scrape | edccf6de6e0c4a3e64d8dc89e96758e4d39dddad | [
"MIT"
] | null | null | null | scrape/scrape_sched.py | mdelhey/rice-scrape | edccf6de6e0c4a3e64d8dc89e96758e4d39dddad | [
"MIT"
] | null | null | null | import dryscrape
import sqlalchemy
import os
import time
import sys
import numpy as np
import pandas as pd
NetID = ''
Password = ''
project_dir = '/Users/mdelhey/rice-scrape/'
YEAR_SCRAPE = '2013'
TERM_SCRAPE = 'Spring'
dbuser = 'mdelhey'
dbname = 'ricedb'
dbhost = 'localhost'
tbl_out = 't_evaluations_raw'
tbl_... | 37.4375 | 107 | 0.65025 | 651 | 4,792 | 4.506912 | 0.298003 | 0.0409 | 0.0818 | 0.090661 | 0.20893 | 0.089639 | 0.068166 | 0.040218 | 0.040218 | 0.040218 | 0 | 0.009236 | 0.164023 | 4,792 | 127 | 108 | 37.732283 | 0.723165 | 0.103923 | 0 | 0.024096 | 0 | 0 | 0.34277 | 0.13547 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.024096 | 0.108434 | null | null | 0.084337 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
181043453273b634a6b6cfab99ba2b8a84e32159 | 5,394 | py | Python | sequencetools/tools/hifi_profiler.py | ncgr/seqtools2 | 5b529f38db3f058af2352402fddf8119e9749fe0 | [
"BSD-3-Clause"
] | null | null | null | sequencetools/tools/hifi_profiler.py | ncgr/seqtools2 | 5b529f38db3f058af2352402fddf8119e9749fe0 | [
"BSD-3-Clause"
] | 3 | 2018-09-19T18:30:36.000Z | 2019-12-06T23:06:15.000Z | sequencetools/tools/hifi_profiler.py | ncgr/seqtools2 | 5b529f38db3f058af2352402fddf8119e9749fe0 | [
"BSD-3-Clause"
] | null | null | null |
import os
import sys
import re
import click
import json
import logging
from collections import OrderedDict
from time import sleep
from signal import signal, SIGPIPE, SIG_DFL
from ..helpers.sequence_helpers import get_seqio_fastq_record
from ..helpers.file_helpers import return_filehandle, check_stdin
signal(SIGPIPE,... | 37.985915 | 113 | 0.608454 | 708 | 5,394 | 4.501412 | 0.269774 | 0.022592 | 0.017258 | 0.016944 | 0.097898 | 0.076561 | 0.048949 | 0 | 0 | 0 | 0 | 0.012135 | 0.25139 | 5,394 | 141 | 114 | 38.255319 | 0.777117 | 0.122173 | 0 | 0.061404 | 0 | 0 | 0.176811 | 0.014145 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04386 | false | 0.201754 | 0.096491 | 0 | 0.184211 | 0.017544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
1810cd5b9d45b236580d7dd4b36b5d13802d5b8d | 14,946 | py | Python | Source/GW/nanogateway.py | Keldandorin/Iot-Kurs | 29437486ad02eceb31147a4e1f2aa6ef2c6424d2 | [
"MIT"
] | null | null | null | Source/GW/nanogateway.py | Keldandorin/Iot-Kurs | 29437486ad02eceb31147a4e1f2aa6ef2c6424d2 | [
"MIT"
] | null | null | null | Source/GW/nanogateway.py | Keldandorin/Iot-Kurs | 29437486ad02eceb31147a4e1f2aa6ef2c6424d2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Copyright (c) 2019, Pycom Limited.
#
# This software is licensed under the GNU GPL version 3 or any
# later version, with permitted additional terms. For more information
# see the Pycom Licence v1.0 document supplied with this file, or
# available at https://www.pycom.io/opensource/licensing
... | 32.004283 | 155 | 0.539275 | 1,858 | 14,946 | 4.142088 | 0.203445 | 0.019101 | 0.009356 | 0.009356 | 0.257147 | 0.20738 | 0.178015 | 0.164501 | 0.154366 | 0.154366 | 0 | 0.026743 | 0.344507 | 14,946 | 466 | 156 | 32.072961 | 0.758804 | 0.050649 | 0 | 0.226471 | 0 | 0.014706 | 0.087928 | 0.002364 | 0 | 0 | 0.000763 | 0 | 0 | 0 | null | null | 0.011765 | 0.035294 | null | null | 0.002941 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
181603f5d8332eed64009f90fc11b0db2e1a7fdf | 427 | py | Python | src/app/celery.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | null | null | null | src/app/celery.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | 1 | 2022-02-10T12:08:02.000Z | 2022-02-10T12:08:02.000Z | src/app/celery.py | iNerV/education-backend | 787c0d090eb6e4a9338812941b0246a6e1b8e7ad | [
"MIT"
] | null | null | null | import locale
import os
from celery import Celery
from django.conf import settings
__all__ = [
'celery',
]
locale.setlocale(locale.LC_ALL, 'ru_RU.UTF-8') # i dont know how to force my django setup to respect locale set in env, sorry
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app.settings')
celery = Cele... | 21.35 | 126 | 0.772834 | 63 | 427 | 5.047619 | 0.603175 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002695 | 0.131148 | 427 | 19 | 127 | 22.473684 | 0.854447 | 0.177986 | 0 | 0 | 0 | 0 | 0.154728 | 0.063037 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1816b4ad9d1bc0410a675bb7468b4be5425be80c | 6,572 | py | Python | application.py | lucasarvelo/Board-Game-Inventory | 86b5a286823b24e890dd18fda2b685237a5d20d1 | [
"MIT"
] | null | null | null | application.py | lucasarvelo/Board-Game-Inventory | 86b5a286823b24e890dd18fda2b685237a5d20d1 | [
"MIT"
] | null | null | null | application.py | lucasarvelo/Board-Game-Inventory | 86b5a286823b24e890dd18fda2b685237a5d20d1 | [
"MIT"
] | null | null | null | from helpers import *
from collection_api import info, add_game, remove_game, lend_game
from cs50 import SQL
from flask import Flask, jsonify, render_template, request, url_for
from flask_jsglue import JSGlue
from flask_session import Session
from passlib.apps import custom_app_context as pwd_context
from tempfile impo... | 30.285714 | 115 | 0.628271 | 833 | 6,572 | 4.855942 | 0.207683 | 0.03115 | 0.0178 | 0.0267 | 0.439802 | 0.422497 | 0.366873 | 0.350803 | 0.303337 | 0.303337 | 0 | 0.004468 | 0.250761 | 6,572 | 217 | 116 | 30.285714 | 0.817019 | 0.151096 | 0 | 0.447761 | 0 | 0 | 0.193364 | 0.008581 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067164 | false | 0.104478 | 0.08209 | 0.014925 | 0.358209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
18235aec6d44230c9725df7ef494d607199d8f69 | 14,690 | py | Python | chicago_bikeshare/chicago_bikeshare_pt.py | antonio-muniz/udacity-projects | 1991bd5b17277cdf19f7df964f539b8b3d7a1210 | [
"MIT"
] | null | null | null | chicago_bikeshare/chicago_bikeshare_pt.py | antonio-muniz/udacity-projects | 1991bd5b17277cdf19f7df964f539b8b3d7a1210 | [
"MIT"
] | null | null | null | chicago_bikeshare/chicago_bikeshare_pt.py | antonio-muniz/udacity-projects | 1991bd5b17277cdf19f7df964f539b8b3d7a1210 | [
"MIT"
] | null | null | null | # coding: utf-8
# Começando com os imports
import csv
import matplotlib.pyplot as plt
# É importante definir "constantes" para valores fixos que precisam ser frequentemente utilizados.
# (Optei por não utilizá-las nos pontos em que são executados os asserts para não fazer nenhuma alteração.)
START_TIME_INDEX = 0
END_... | 36.725 | 262 | 0.681552 | 2,024 | 14,690 | 4.806324 | 0.209486 | 0.038651 | 0.018503 | 0.023026 | 0.302118 | 0.236534 | 0.146382 | 0.131785 | 0.113487 | 0.103413 | 0 | 0.015283 | 0.189312 | 14,690 | 399 | 263 | 36.817043 | 0.801579 | 0.388632 | 0 | 0.180412 | 0 | 0.005155 | 0.307078 | 0 | 0 | 0 | 0 | 0.017544 | 0.087629 | 1 | 0.036082 | false | 0 | 0.010309 | 0 | 0.07732 | 0.190722 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1824b7715b233f148a0832eb18c89ebb7d09015c | 7,778 | py | Python | tests/unittests/test_invoice_main_patterns.py | simone-campagna/invoice | 6446cf6ebb158b895cd11d707eb019ae23833881 | [
"Apache-2.0"
] | null | null | null | tests/unittests/test_invoice_main_patterns.py | simone-campagna/invoice | 6446cf6ebb158b895cd11d707eb019ae23833881 | [
"Apache-2.0"
] | 16 | 2015-01-30T16:28:54.000Z | 2015-03-02T14:18:56.000Z | tests/unittests/test_invoice_main_patterns.py | simone-campagna/invoice | 6446cf6ebb158b895cd11d707eb019ae23833881 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2015 Simone Campagna
#
# 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 applica... | 33.525862 | 124 | 0.536513 | 835 | 7,778 | 4.845509 | 0.171257 | 0.039545 | 0.054622 | 0.071429 | 0.704399 | 0.678201 | 0.659664 | 0.639397 | 0.639397 | 0.639397 | 0 | 0.001706 | 0.321677 | 7,778 | 231 | 125 | 33.670996 | 0.765163 | 0.078683 | 0 | 0.674157 | 0 | 0 | 0.11349 | 0.02239 | 0 | 0 | 0 | 0 | 0.095506 | 1 | 0.033708 | false | 0 | 0.073034 | 0 | 0.129213 | 0.101124 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1825a618faeb3f43e2b7dec241997b15917ffdf5 | 1,028 | py | Python | mayan/apps/user_management/tests/literals.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2021-06-17T18:24:25.000Z | 2021-06-17T18:24:25.000Z | mayan/apps/user_management/tests/literals.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 7 | 2020-06-06T00:01:04.000Z | 2022-01-13T01:47:17.000Z | mayan/apps/user_management/tests/literals.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 1 | 2020-07-29T21:03:27.000Z | 2020-07-29T21:03:27.000Z | from __future__ import unicode_literals
TEST_CASE_GROUP_NAME = 'test case group'
TEST_CASE_SUPERUSER_EMAIL = 'test_case_superuser@example.com'
TEST_CASE_SUPERUSER_PASSWORD = 'test case superuser password'
TEST_CASE_SUPERUSER_USERNAME = 'test_case_superuser'
TEST_CASE_USER_EMAIL = 'test_case_user@example.com'
TEST_CA... | 35.448276 | 61 | 0.832685 | 161 | 1,028 | 4.801242 | 0.124224 | 0.186287 | 0.104787 | 0.113842 | 0.377749 | 0.377749 | 0.269082 | 0.115136 | 0 | 0 | 0 | 0.015102 | 0.098249 | 1,028 | 28 | 62 | 36.714286 | 0.81877 | 0 | 0 | 0 | 0 | 0 | 0.388132 | 0.075875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.272727 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
182bc6e039026c122602fcc5c787cd37376cbf4b | 254 | py | Python | ACM-Solution/Lpthwex15.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 2 | 2016-04-26T15:40:40.000Z | 2018-07-18T10:16:42.000Z | ACM-Solution/Lpthwex15.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2016-04-26T15:44:15.000Z | 2016-04-29T14:44:40.000Z | LPTHWEX/Lpthwex15.py | wasi0013/Python-CodeBase | 4a7a36395162f68f84ded9085fa34cc7c9b19233 | [
"MIT"
] | 1 | 2018-10-02T16:12:19.000Z | 2018-10-02T16:12:19.000Z | from sys import argv
script, filename = argv
txt = open (filename)
print ("Here is your file %r:"%filename)
print (txt.read())
print ("Type the filename again:")
file_again = input("> ")
txt_again = open (file_again)
print (txt_again.read())
| 23.090909 | 41 | 0.673228 | 37 | 254 | 4.513514 | 0.513514 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185039 | 254 | 10 | 42 | 25.4 | 0.806763 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
18313afb8700ab3576b9674cdf57c334814bd7b5 | 9,233 | py | Python | app/YtManager/settings.py | chibicitiberiu/ytsm | 89499c75addc198be44be5ab9462ab58f3b983eb | [
"MIT"
] | 298 | 2018-10-29T19:29:07.000Z | 2022-03-29T06:12:58.000Z | app/YtManager/settings.py | chibicitiberiu/ytsm | 89499c75addc198be44be5ab9462ab58f3b983eb | [
"MIT"
] | 73 | 2018-10-30T09:15:51.000Z | 2022-01-07T15:13:26.000Z | app/YtManager/settings.py | chibicitiberiu/ytsm | 89499c75addc198be44be5ab9462ab58f3b983eb | [
"MIT"
] | 29 | 2018-10-30T03:29:11.000Z | 2021-02-04T07:48:43.000Z | """
Django settings for YtManager project.
Generated by 'django-admin startproject' using Django 1.11.11.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import... | 30.983221 | 118 | 0.654608 | 1,077 | 9,233 | 5.415042 | 0.288765 | 0.035665 | 0.020576 | 0.027778 | 0.193587 | 0.135802 | 0.094479 | 0.089335 | 0.068587 | 0.054527 | 0 | 0.008713 | 0.229286 | 9,233 | 297 | 119 | 31.087542 | 0.810849 | 0.140908 | 0 | 0.055249 | 1 | 0.016575 | 0.339461 | 0.171199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01105 | false | 0.044199 | 0.038674 | 0 | 0.099448 | 0.01105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1831c428ee31efcff0d02e5219507cb60e0b9f56 | 11,476 | py | Python | crunch_old.py | yasheshgaur/OOV-repitition-analysis | f11e04c2e10995052117cb575b753f949eee054a | [
"MIT"
] | 1 | 2018-02-04T18:53:34.000Z | 2018-02-04T18:53:34.000Z | crunch_old.py | yasheshgaur/OOV-repitition-analysis | f11e04c2e10995052117cb575b753f949eee054a | [
"MIT"
] | null | null | null | crunch_old.py | yasheshgaur/OOV-repitition-analysis | f11e04c2e10995052117cb575b753f949eee054a | [
"MIT"
] | null | null | null | from nltk.tokenize import RegexpTokenizer
import re
from bs4 import BeautifulSoup
from urllib2 import urlopen
import num2words
from decimal import *
import matplotlib.pyplot as plt
from math import *
import numpy as np
#pdb.set_trace()
# The commented code is incase you want to download the text from the web
#url = "... | 28.19656 | 216 | 0.633757 | 1,500 | 11,476 | 4.836667 | 0.206667 | 0.018332 | 0.013232 | 0.024259 | 0.429497 | 0.375327 | 0.334941 | 0.311234 | 0.300482 | 0.293866 | 0 | 0.020064 | 0.209568 | 11,476 | 406 | 217 | 28.26601 | 0.779738 | 0.210875 | 0 | 0.408 | 0 | 0.004 | 0.130367 | 0.017641 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.036 | null | null | 0.224 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
18376287d737a82df0f957a75ca01a59446e891b | 2,916 | py | Python | src/py/vo.py | snwjas/RandomDesktopBackground-WEBUI | 1e34fb38a1088687987a9c2acd0ce5386b70489c | [
"MIT"
] | 17 | 2022-02-16T11:16:05.000Z | 2022-03-17T07:44:12.000Z | src/py/vo.py | snwjas/RandomDesktopBackground-WEBUI | 1e34fb38a1088687987a9c2acd0ce5386b70489c | [
"MIT"
] | 1 | 2022-03-11T08:40:05.000Z | 2022-03-12T02:04:06.000Z | src/py/vo.py | snwjas/RandomDesktopBackground-WEBUI | 1e34fb38a1088687987a9c2acd0ce5386b70489c | [
"MIT"
] | 4 | 2022-02-17T11:10:09.000Z | 2022-03-18T00:45:07.000Z | # -*-coding:utf-8-*-
"""
视图对象
@author Myles Yang
"""
import traceback
import typing
from enum import Enum
from starlette.responses import JSONResponse
class ConfigVO(object):
""" """
key: str
value: typing.Any
pytype: type
defaults: typing.Any # 默认值,pcikle序列化字节字符串值
comment: str
enable... | 23.901639 | 83 | 0.564129 | 339 | 2,916 | 4.79351 | 0.224189 | 0.135385 | 0.064 | 0.073231 | 0.469538 | 0.403077 | 0.337846 | 0.228923 | 0.228923 | 0.228923 | 0 | 0.01334 | 0.305898 | 2,916 | 121 | 84 | 24.099174 | 0.789526 | 0.029492 | 0 | 0.240964 | 0 | 0 | 0.05056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108434 | false | 0 | 0.048193 | 0 | 0.506024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
184164befc19fce674ee047ba6f688d17d8ce346 | 530 | py | Python | examples/lib.title.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 23 | 2015-09-13T04:42:24.000Z | 2021-05-28T23:28:57.000Z | examples/lib.title.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 23 | 2015-01-14T04:48:59.000Z | 2015-08-25T19:25:43.000Z | examples/lib.title.py | frankier/python-mediawiki-utilities | aa066d3d955daa3d20cf09bf5b0d46778dd67a7c | [
"MIT"
] | 14 | 2015-09-15T16:04:50.000Z | 2022-01-09T19:18:39.000Z | """
Demonstrates title normalization and parsing.
"""
import sys
import os
sys.path.insert(0, os.path.abspath(os.getcwd()))
from mw.api import Session
from mw.lib import title
# Normalize titles
title.normalize("foo bar")
# > "Foo_bar"
# Construct a title parser from the API
api_session = Session("https://en.wikipe... | 19.62963 | 59 | 0.735849 | 77 | 530 | 5.012987 | 0.545455 | 0.031088 | 0.07772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006466 | 0.124528 | 530 | 26 | 60 | 20.384615 | 0.825431 | 0.362264 | 0 | 0 | 0 | 0 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1843d116af03702628cf0b219d32ff4c520e8f9d | 809 | py | Python | tests/unit/test_cant_enter_unless_started.py | ZeroEkkusu/smartcontract-lottery | b163d65c11ba8ae8a9388375c8f13c27c5a92c6b | [
"MIT"
] | null | null | null | tests/unit/test_cant_enter_unless_started.py | ZeroEkkusu/smartcontract-lottery | b163d65c11ba8ae8a9388375c8f13c27c5a92c6b | [
"MIT"
] | 1 | 2022-01-26T11:08:18.000Z | 2022-01-26T11:08:18.000Z | tests/unit/test_cant_enter_unless_started.py | ZeroEkkusu/smartcontract-lottery | b163d65c11ba8ae8a9388375c8f13c27c5a92c6b | [
"MIT"
] | null | null | null | from brownie import network, exceptions
from scripts.deploy_lottery import deploy_lottery
from scripts.helpful_scripts import LOCAL_BLOCKCHAIN_ENVIRONMENTS, get_account
import pytest
def test_cant_enter_unless_started():
# (Arrange)
# Only on a local, non-forked network
if network.show_active() not in LOC... | 35.173913 | 78 | 0.721879 | 105 | 809 | 5.409524 | 0.552381 | 0.068662 | 0.09507 | 0.066901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196539 | 809 | 22 | 79 | 36.772727 | 0.873846 | 0.247219 | 0 | 0 | 0 | 0 | 0.036545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.307692 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1843d4c971bfed626284743fe497fe52c9ca7ae0 | 4,229 | py | Python | Code/tests/test_expand_repo.py | macmule/autopkg | c22530cf354c4bef87402875db767e481a79c3ed | [
"Apache-2.0"
] | 855 | 2015-01-04T00:26:24.000Z | 2022-03-30T09:50:02.000Z | Code/tests/test_expand_repo.py | macmule/autopkg | c22530cf354c4bef87402875db767e481a79c3ed | [
"Apache-2.0"
] | 563 | 2015-01-08T21:33:32.000Z | 2022-03-30T16:39:26.000Z | Code/tests/test_expand_repo.py | macmule/autopkg | c22530cf354c4bef87402875db767e481a79c3ed | [
"Apache-2.0"
] | 195 | 2015-01-09T05:47:14.000Z | 2022-03-18T20:03:46.000Z | #!/usr/local/autopkg/python
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 45.473118 | 88 | 0.681249 | 558 | 4,229 | 5.02509 | 0.22043 | 0.078459 | 0.114123 | 0.142653 | 0.695792 | 0.671184 | 0.641583 | 0.6102 | 0.533167 | 0.505706 | 0 | 0.001152 | 0.178766 | 4,229 | 92 | 89 | 45.967391 | 0.806219 | 0.263419 | 0 | 0.222222 | 0 | 0 | 0.364437 | 0.054486 | 0 | 0 | 0 | 0.01087 | 0.333333 | 1 | 0.092593 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1843f6a55ef6fad48bfff393107605f3ea388292 | 2,324 | py | Python | allennlp/allennlp/data/tokenizers/pretrained_transformer_pre_tokenizer.py | rahular/joint-coref-srl | cd85fb4e11af1a1ea400ed657d0a4511c1d6c6be | [
"MIT"
] | null | null | null | allennlp/allennlp/data/tokenizers/pretrained_transformer_pre_tokenizer.py | rahular/joint-coref-srl | cd85fb4e11af1a1ea400ed657d0a4511c1d6c6be | [
"MIT"
] | null | null | null | allennlp/allennlp/data/tokenizers/pretrained_transformer_pre_tokenizer.py | rahular/joint-coref-srl | cd85fb4e11af1a1ea400ed657d0a4511c1d6c6be | [
"MIT"
] | null | null | null | from typing import List, Optional
from overrides import overrides
import spacy
from transformers.tokenization_bert import (
BasicTokenizer as BertTokenizer,
_is_punctuation,
)
from allennlp.data.tokenizers.token import Token
from allennlp.data.tokenizers.tokenizer import Tokenizer
@Tokenizer.register("bert-... | 32.732394 | 88 | 0.639845 | 289 | 2,324 | 4.941176 | 0.359862 | 0.119048 | 0.04902 | 0.029412 | 0.148459 | 0.078431 | 0.044818 | 0.044818 | 0 | 0 | 0 | 0.004106 | 0.266351 | 2,324 | 70 | 89 | 33.2 | 0.833431 | 0.153184 | 0 | 0.125 | 0 | 0 | 0.018585 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.083333 | false | 0 | 0.125 | 0.041667 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1846ced7386eb542d855b08edf804394cb9a59f4 | 688 | py | Python | tmdb-search/ingest_tmdb_to_appserarch.py | xinlc/elasticsearch-learning | 9269b7c613b95ba0866f199f20b8fd5e4b635984 | [
"MIT"
] | 2 | 2020-02-17T10:38:52.000Z | 2021-04-08T06:04:21.000Z | tmdb-search/ingest_tmdb_to_appserarch.py | xinlc/elasticsearch-learning | 9269b7c613b95ba0866f199f20b8fd5e4b635984 | [
"MIT"
] | 16 | 2020-03-05T00:22:51.000Z | 2022-02-27T12:06:11.000Z | tmdb-search/ingest_tmdb_to_appserarch.py | xinlc/elasticsearch-learning | 9269b7c613b95ba0866f199f20b8fd5e4b635984 | [
"MIT"
] | null | null | null | import requests
import json
def extract():
f = open('./tmdb.json')
if f:
return json.loads(f.read());
return {}
def index_all(movieDict={}):
for id, movie in movieDict.iteritems():
index_doc(movie)
print(id)
def index_doc(doc):
content=[]
content.append(d... | 19.657143 | 112 | 0.625 | 80 | 688 | 5.225 | 0.5625 | 0.038278 | 0.08134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013208 | 0.229651 | 688 | 34 | 113 | 20.235294 | 0.775472 | 0 | 0 | 0 | 0 | 0 | 0.222384 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.086957 | null | null | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
18499b95d4dec7614de48519d04b19043478b137 | 20,626 | py | Python | compare_wem.py | ADawesomeguy/witcher-3-sound-editing-tools | 82365dc8c7721ce6cc47cd57fabf065d805a5f74 | [
"BSD-2-Clause"
] | 2 | 2021-12-27T04:43:56.000Z | 2021-12-28T07:05:07.000Z | compare_wem.py | ADawesomeguy/witcher-3-sound-editing-tools | 82365dc8c7721ce6cc47cd57fabf065d805a5f74 | [
"BSD-2-Clause"
] | null | null | null | compare_wem.py | ADawesomeguy/witcher-3-sound-editing-tools | 82365dc8c7721ce6cc47cd57fabf065d805a5f74 | [
"BSD-2-Clause"
] | null | null | null | import sys
import os
import struct
from cStringIO import StringIO
class WEMError(Exception):
pass
class WEMTypes(object):
SEEK_BEGIN = 0
SEEK_CURRENT = 1
SEEK_END = 2
def yes_or_no(message):
while True:
answer = raw_input("%s? [Y]es/[N]o: " % (message)).strip().lower()
... | 37.097122 | 180 | 0.560021 | 2,532 | 20,626 | 4.298183 | 0.094392 | 0.025912 | 0.035836 | 0.040154 | 0.359735 | 0.184967 | 0.110172 | 0.046127 | 0.03216 | 0.007718 | 0 | 0.030441 | 0.339038 | 20,626 | 556 | 181 | 37.097122 | 0.767843 | 0.036362 | 0 | 0.059242 | 0 | 0 | 0.062241 | 0 | 0 | 0 | 0.008136 | 0 | 0 | 0 | null | null | 0.009479 | 0.009479 | null | null | 0.009479 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
184b8106469f444c7638c905bc140b0dbc8c02ba | 3,562 | py | Python | authlete/django/handler/authorization_request_error_handler.py | authlete/authlete-python-django | ccdfecbac5205a7ed7c14186b5ea4552fd390d2c | [
"Apache-2.0"
] | 6 | 2019-08-10T03:07:05.000Z | 2020-11-06T13:59:29.000Z | authlete/django/handler/authorization_request_error_handler.py | authlete/authlete-python-django | ccdfecbac5205a7ed7c14186b5ea4552fd390d2c | [
"Apache-2.0"
] | null | null | null | authlete/django/handler/authorization_request_error_handler.py | authlete/authlete-python-django | ccdfecbac5205a7ed7c14186b5ea4552fd390d2c | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) 2019 Authlete, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 40.022472 | 102 | 0.687254 | 395 | 3,562 | 6.149367 | 0.38481 | 0.024702 | 0.059695 | 0.059284 | 0.112392 | 0.112392 | 0.086044 | 0.065871 | 0.065871 | 0.065871 | 0 | 0.008689 | 0.256878 | 3,562 | 88 | 103 | 40.477273 | 0.908954 | 0.552779 | 0 | 0.086957 | 0 | 0 | 0.015917 | 0.015917 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
18520e0d4d6966817b26ac2a9da68084b967e9ba | 2,011 | py | Python | aiobungie/undefined.py | nxtlo/aiobungie | ca0a842bf5a7217662f0d8d63456ad277f313ef1 | [
"MIT"
] | 36 | 2021-07-09T19:26:18.000Z | 2022-03-26T09:12:43.000Z | aiobungie/undefined.py | nxtlo/aiobungie | ca0a842bf5a7217662f0d8d63456ad277f313ef1 | [
"MIT"
] | 149 | 2021-07-13T21:46:21.000Z | 2022-03-29T12:21:38.000Z | aiobungie/undefined.py | nxtlo/aiobungie | ca0a842bf5a7217662f0d8d63456ad277f313ef1 | [
"MIT"
] | 4 | 2021-07-21T05:33:11.000Z | 2022-02-19T11:15:31.000Z | # MIT License
#
# Copyright (c) 2020 - Present nxtlo
#
# 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, mer... | 33.516667 | 85 | 0.722029 | 272 | 2,011 | 5.209559 | 0.503676 | 0.062103 | 0.031757 | 0.03952 | 0.035286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002495 | 0.202884 | 2,011 | 59 | 86 | 34.084746 | 0.881472 | 0.554451 | 0 | 0.2 | 0 | 0 | 0.028209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.15 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
185638b873fccd147a3e76046e66135d48cbf541 | 3,774 | py | Python | pyss/queue_object.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | null | null | null | pyss/queue_object.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | 2 | 2017-09-05T11:12:05.000Z | 2017-09-07T19:23:15.000Z | pyss/queue_object.py | vpv11110000/pyss | bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b | [
"MIT"
] | null | null | null | # #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Модуль объекта очереди
"""
# pylint: disable=line-too-long
from pyss import pyssobject
from pyss.pyss_const import *
from pyss.block import Block
from pyss import statisticalseries
from pyss.pyssobject import PyssObject
from pyss.pyssstateobject import PyssStateObject
... | 41.021739 | 127 | 0.7239 | 444 | 3,774 | 5.968468 | 0.351351 | 0.058113 | 0.067925 | 0.035849 | 0.222642 | 0.179623 | 0.156226 | 0.156226 | 0.097358 | 0.097358 | 0 | 0.002924 | 0.18442 | 3,774 | 91 | 128 | 41.472527 | 0.858025 | 0.060413 | 0 | 0.139535 | 0 | 0 | 0.004548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.139535 | null | null | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1864306ba151279412dc2d1d42c2dff9db372dd1 | 525 | py | Python | setup.py | bizarrechaos/gdoh-client | e15144c8e3daa78435ff151f02aa56de64c16656 | [
"Apache-2.0"
] | null | null | null | setup.py | bizarrechaos/gdoh-client | e15144c8e3daa78435ff151f02aa56de64c16656 | [
"Apache-2.0"
] | null | null | null | setup.py | bizarrechaos/gdoh-client | e15144c8e3daa78435ff151f02aa56de64c16656 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
setup(
name='gdoh-client',
version='1.0',
author='bizarrechaos',
packages=['gdoh'],
license='Apache License Version 2.0',
description='Libraries and command line tool for Google\'s DNS-over-HTTPS',
install_requires=['docopt==0.6.2',
'reque... | 26.25 | 79 | 0.588571 | 62 | 525 | 4.870968 | 0.709677 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035806 | 0.255238 | 525 | 19 | 80 | 27.631579 | 0.736573 | 0 | 0 | 0 | 0 | 0 | 0.48381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
18660ee32fa3ebe743a2d3ece067dcd24711a973 | 3,934 | py | Python | enrichmentmanager/templatetags/enrichment_extra.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | null | null | null | enrichmentmanager/templatetags/enrichment_extra.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | 5 | 2020-06-05T17:33:12.000Z | 2021-06-10T19:04:41.000Z | enrichmentmanager/templatetags/enrichment_extra.py | rectory-school/rectory-apps | 184021529ac9cadc3b7c0fbf93a023c82fc76b91 | [
"MIT"
] | 1 | 2016-02-08T15:53:28.000Z | 2016-02-08T15:53:28.000Z | from enrichmentmanager.models import EnrichmentSignup, EnrichmentOption
from enrichmentmanager.lib import canEditSignup
from io import StringIO
from datetime import date
from django import template
register = template.Library()
@register.assignment_tag(takes_context=True)
def select_for(context, slot, student):
... | 40.142857 | 169 | 0.626335 | 404 | 3,934 | 5.992574 | 0.247525 | 0.046262 | 0.057827 | 0.04461 | 0.444031 | 0.35853 | 0.335399 | 0.302354 | 0.266832 | 0.266832 | 0 | 0 | 0.252415 | 3,934 | 98 | 170 | 40.142857 | 0.823189 | 0.023894 | 0 | 0.298507 | 0 | 0.029851 | 0.221672 | 0.104194 | 0 | 0 | 0 | 0.010204 | 0 | 1 | 0.029851 | false | 0 | 0.074627 | 0 | 0.208955 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
186fda37f0ddaf1217e9409d5bf7a62efdec7458 | 1,659 | py | Python | helper/omim_ps_constructor.py | PEDIA-Charite/PEDIA-workflow | f0ab0c7ed3833edb01ad0772ad294978b71feb64 | [
"MIT"
] | 9 | 2017-10-16T17:04:48.000Z | 2021-11-03T13:09:11.000Z | helper/omim_ps_constructor.py | PEDIA-Charite/PEDIA-workflow | f0ab0c7ed3833edb01ad0772ad294978b71feb64 | [
"MIT"
] | 60 | 2017-05-22T15:43:06.000Z | 2022-02-07T22:16:48.000Z | helper/omim_ps_constructor.py | PEDIA-Charite/PEDIA-workflow | f0ab0c7ed3833edb01ad0772ad294978b71feb64 | [
"MIT"
] | 9 | 2017-11-27T16:19:11.000Z | 2021-01-24T03:48:08.000Z | # snipplets from omim api for phenotypic series creation
def api_query_phenotype_mapping(self, mim_pheno: str):
'''Map phenotype to phenotypic series number.'''
entry_list = self.api_query_entry(mim_pheno)
phenotypic_numbers = [
v['phenotypeMap']['phenotypicSeriesNumber']
... | 39.5 | 76 | 0.588306 | 186 | 1,659 | 4.994624 | 0.376344 | 0.086114 | 0.029064 | 0.051668 | 0.064586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.331525 | 1,659 | 41 | 77 | 40.463415 | 0.837692 | 0.03255 | 0 | 0 | 0 | 0 | 0.174983 | 0.045113 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
187a06946c63b88485fdf5c72260b671912b0433 | 3,583 | py | Python | voiceplay/player/tasks/actions.py | tb0hdan/voiceplay | 3e35a25cfcf982a3871cf0d819bae4374ee31ecf | [
"Unlicense"
] | 2 | 2017-03-22T10:02:07.000Z | 2020-08-02T11:56:47.000Z | voiceplay/player/tasks/actions.py | tb0hdan/voiceplay | 3e35a25cfcf982a3871cf0d819bae4374ee31ecf | [
"Unlicense"
] | 69 | 2016-12-10T22:27:47.000Z | 2017-12-14T05:15:43.000Z | voiceplay/player/tasks/actions.py | tb0hdan/voiceplay | 3e35a25cfcf982a3871cf0d819bae4374ee31ecf | [
"Unlicense"
] | null | null | null | #-*- coding: utf-8 -*-
""" Track actions task module """
from voiceplay.database import voiceplaydb
from voiceplay.webapp.baseresource import APIV1Resource
from voiceplay.utils.helpers import SingleQueueDispatcher
from .basetask import BasePlayerTask
class CurrentTrackResource(APIV1Resource):
"""
Current tra... | 30.109244 | 93 | 0.591404 | 367 | 3,583 | 5.555858 | 0.228883 | 0.141246 | 0.051496 | 0.030898 | 0.632173 | 0.632173 | 0.632173 | 0.609613 | 0.490436 | 0.490436 | 0 | 0.006531 | 0.273514 | 3,583 | 118 | 94 | 30.364407 | 0.776796 | 0.101591 | 0 | 0.544118 | 0 | 0 | 0.16622 | 0.007373 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0 | 0.058824 | 0 | 0.544118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
1880f0bb556c939120fdf17826d5418b99451a00 | 500 | py | Python | lightil/util/exception.py | codertx/lightil | 8f3b78047cc885729c4922fc5221e274cc8e1d4f | [
"MIT"
] | 1 | 2019-05-31T09:19:09.000Z | 2019-05-31T09:19:09.000Z | lightil/util/exception.py | codertx/Lidict | 8f3b78047cc885729c4922fc5221e274cc8e1d4f | [
"MIT"
] | null | null | null | lightil/util/exception.py | codertx/Lidict | 8f3b78047cc885729c4922fc5221e274cc8e1d4f | [
"MIT"
] | null | null | null | from rest_framework import status
from rest_framework.views import exception_handler
from rest_framework.exceptions import APIException, NotAcceptable
def custom_exception_handler(exc, context):
# Get the standard error response
response = exception_handler(exc, context)
if response is not None:
r... | 29.411765 | 65 | 0.782 | 61 | 500 | 6.213115 | 0.590164 | 0.063325 | 0.134565 | 0.137203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00716 | 0.162 | 500 | 16 | 66 | 31.25 | 0.897375 | 0.062 | 0 | 0 | 0 | 0 | 0.044968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.272727 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
43e5411c05cd80d1cded2f4d010f9a5a0ec7cf6b | 328 | py | Python | scripts/metrics.py | bzshang/yelp-photo-classification | 72d93d3f6202feb5dd2f57d60f3c6738f45cd969 | [
"Apache-2.0"
] | 10 | 2016-04-30T07:34:13.000Z | 2018-11-29T14:42:45.000Z | scripts/metrics.py | bzshang/yelp-photo-classification | 72d93d3f6202feb5dd2f57d60f3c6738f45cd969 | [
"Apache-2.0"
] | null | null | null | scripts/metrics.py | bzshang/yelp-photo-classification | 72d93d3f6202feb5dd2f57d60f3c6738f45cd969 | [
"Apache-2.0"
] | 6 | 2016-04-26T15:16:59.000Z | 2019-08-28T16:24:16.000Z | """
Custom metric for mxnet
"""
__author__ = 'bshang'
from sklearn.metrics import f1_score
from sklearn import preprocessing
def f1(label, pred):
""" Custom evaluation metric on F1.
"""
pred_bin = preprocessing.binarize(pred, threshold=0.5)
score = f1_score(label, pred_bin, average='micro')
retur... | 20.5 | 58 | 0.704268 | 43 | 328 | 5.186047 | 0.604651 | 0.098655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.185976 | 328 | 15 | 59 | 21.866667 | 0.812734 | 0.182927 | 0 | 0 | 0 | 0 | 0.043307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
43ea62140dd9981f78d78345893bab083ce97990 | 7,292 | py | Python | code/convNet.py | UKPLab/scienceie2017 | 6b4daa890d24f4bdc8a48aadee7cab20664a353f | [
"Apache-2.0"
] | 40 | 2017-03-02T16:34:52.000Z | 2021-07-16T08:07:06.000Z | code/convNet.py | UKPLab/scienceie2017 | 6b4daa890d24f4bdc8a48aadee7cab20664a353f | [
"Apache-2.0"
] | 2 | 2017-10-12T06:24:02.000Z | 2021-05-25T01:03:36.000Z | code/convNet.py | UKPLab/scienceie2017 | 6b4daa890d24f4bdc8a48aadee7cab20664a353f | [
"Apache-2.0"
] | 13 | 2018-01-09T08:12:06.000Z | 2022-02-20T09:53:31.000Z | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from extras import VSM, read_and_map
from representation import VeryStupidCBOWMapper, CharMapper
import sys, numpy as np,os
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import confusion_matrix
from sklearn.metrics import precision_recall_fscore_sup... | 32.846847 | 124 | 0.650576 | 989 | 7,292 | 4.59454 | 0.203236 | 0.027729 | 0.017826 | 0.03169 | 0.432218 | 0.381822 | 0.364657 | 0.364657 | 0.292914 | 0.272227 | 0 | 0.026115 | 0.228058 | 7,292 | 221 | 125 | 32.995475 | 0.781133 | 0.077619 | 0 | 0.314286 | 0 | 0 | 0.0565 | 0.014311 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068571 | null | null | 0.062857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
43eb4ab8294b1455aa16cba144c2aaa7868b4742 | 10,118 | py | Python | chatApp/server/server.py | Mark-Suckau/ChatApp | d64edf40d004ce7e9ff91f39547e24f99c3ac0de | [
"MIT"
] | 2 | 2021-07-24T02:20:12.000Z | 2021-07-24T14:04:53.000Z | chatApp/server/server.py | Mark-Suckau/ChatApp | d64edf40d004ce7e9ff91f39547e24f99c3ac0de | [
"MIT"
] | null | null | null | chatApp/server/server.py | Mark-Suckau/ChatApp | d64edf40d004ce7e9ff91f39547e24f99c3ac0de | [
"MIT"
] | 1 | 2021-07-17T14:39:40.000Z | 2021-07-17T14:39:40.000Z | import socket, queue, select, json, traceback
from datetime import datetime
from hashlib import sha256
from chatapp.shared import exceptions, message
from chatapp.server import db_connector as db_conn
from chatapp.server import load_server_config
server_config = load_server_config.load_config()
server_config_python_s... | 38.766284 | 148 | 0.6695 | 1,283 | 10,118 | 5.066251 | 0.198753 | 0.050769 | 0.043846 | 0.029538 | 0.305538 | 0.258308 | 0.198923 | 0.178462 | 0.151692 | 0.102769 | 0 | 0.003922 | 0.244021 | 10,118 | 261 | 149 | 38.766284 | 0.845862 | 0.179186 | 0 | 0.255814 | 0 | 0 | 0.117021 | 0.002539 | 0 | 0 | 0 | 0.003831 | 0 | 1 | 0.081395 | false | 0.063953 | 0.034884 | 0 | 0.156977 | 0.133721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
43ebf2ac85f033e244b7536714a6e54fea2ab5f5 | 5,493 | py | Python | python/orca/src/bigdl/orca/automl/xgboost/auto_xgb.py | EmiCareOfCell44/BigDL | 6278ee8eed09b5072da53dab3a99530cf5f69ba2 | [
"Apache-2.0"
] | null | null | null | python/orca/src/bigdl/orca/automl/xgboost/auto_xgb.py | EmiCareOfCell44/BigDL | 6278ee8eed09b5072da53dab3a99530cf5f69ba2 | [
"Apache-2.0"
] | null | null | null | python/orca/src/bigdl/orca/automl/xgboost/auto_xgb.py | EmiCareOfCell44/BigDL | 6278ee8eed09b5072da53dab3a99530cf5f69ba2 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 The BigDL Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 49.486486 | 98 | 0.557437 | 627 | 5,493 | 4.631579 | 0.298246 | 0.060606 | 0.066116 | 0.020661 | 0.697658 | 0.694215 | 0.677686 | 0.677686 | 0.634298 | 0.583333 | 0 | 0.013272 | 0.369015 | 5,493 | 110 | 99 | 49.936364 | 0.824582 | 0.621336 | 0 | 0.75 | 0 | 0 | 0.050184 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
43ece1b05debc2b4d4924f8587bef822b9254e44 | 375 | py | Python | hackerrank/flipping-the-matrix/solution.py | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/flipping-the-matrix/solution.py | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/flipping-the-matrix/solution.py | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | from itertools import product
for _ in range(int(input())):
n = int(input())
matrix = [[*map(int, input().split())] for _ in range(2 * n)]
print(sum(max(matrix[i][j],
matrix[2 * n - i - 1][j],
matrix[i][2 * n - j - 1],
matrix[2 * n - i - 1][2 * ... | 37.5 | 98 | 0.453333 | 58 | 375 | 2.896552 | 0.344828 | 0.059524 | 0.119048 | 0.107143 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036885 | 0.349333 | 375 | 9 | 99 | 41.666667 | 0.651639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
43fe5d33a9512a7140502de4481a8028fd34d198 | 204 | py | Python | apps/core/base/urls.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | apps/core/base/urls.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | apps/core/base/urls.py | GMNaim/Online-Exam-System | ed1e18cf0c0fa7f896bde261988982b49825e61f | [
"MIT"
] | null | null | null | from django.urls import path, include
from .views import dashboard
app_name = 'base'
urlpatterns = [
path('api/', include('apps.core.base.api.urls')),
path('', dashboard, name='dashboard'),
]
| 18.545455 | 53 | 0.671569 | 26 | 204 | 5.230769 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 204 | 10 | 54 | 20.4 | 0.795322 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 0.112745 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
43ff7757e3730b62daad8372e55c7b1cabd711d9 | 391 | py | Python | info/migrations/0016_alter_attendanceclass_options.py | theluney/DataBase-project | 95e9d36f9da526b0297114f20c75668c0b72c776 | [
"MIT"
] | null | null | null | info/migrations/0016_alter_attendanceclass_options.py | theluney/DataBase-project | 95e9d36f9da526b0297114f20c75668c0b72c776 | [
"MIT"
] | null | null | null | info/migrations/0016_alter_attendanceclass_options.py | theluney/DataBase-project | 95e9d36f9da526b0297114f20c75668c0b72c776 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-22 17:14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('info', '0015_attendancerange'),
]
operations = [
migrations.AlterModelOptions(
name='attendanceclass',
options={'verbose_name'... | 21.722222 | 88 | 0.624041 | 37 | 391 | 6.486486 | 0.783784 | 0.091667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0.255754 | 391 | 17 | 89 | 23 | 0.762887 | 0.109974 | 0 | 0 | 1 | 0 | 0.260116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1009e1cb95250380c2f70b9c3beeb6168d628ab | 1,107 | py | Python | sfm_torch/utils/kitti.py | ArthurAllshire/sfm-torch | 8e6e5e2d7091da608e854481f57f94dc744bf2a0 | [
"MIT"
] | null | null | null | sfm_torch/utils/kitti.py | ArthurAllshire/sfm-torch | 8e6e5e2d7091da608e854481f57f94dc744bf2a0 | [
"MIT"
] | 2 | 2019-11-20T12:42:44.000Z | 2019-11-20T12:44:56.000Z | sfm_torch/utils/kitti.py | ArthurAllshire/sfm_torch | 8e6e5e2d7091da608e854481f57f94dc744bf2a0 | [
"MIT"
] | null | null | null | import torch
import pykitti
from torch.utils.data import Dataset
from torchvision.utils import make_grid
import torchvision.transforms.functional as TF
import matplotlib.pyplot as plt
def transform_stereo_lidar(samples):
for k in samples:
samples[k] = TF.to_tensor(samples[k])
return samples
class Ki... | 25.159091 | 74 | 0.63776 | 137 | 1,107 | 5 | 0.423358 | 0.052555 | 0.046715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.262873 | 1,107 | 43 | 75 | 25.744186 | 0.834559 | 0.095754 | 0 | 0.074074 | 0 | 0 | 0.021255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148148 | false | 0 | 0.222222 | 0.037037 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
a10564ef59c17a074b48ba52b60d511fc83a846b | 1,776 | py | Python | source/pic2card/app/api.py | riag23/AdaptiveCards | 769c4afe7e96f348becbef80b3c3ed2bf58b1806 | [
"MIT"
] | 1 | 2021-10-18T03:23:54.000Z | 2021-10-18T03:23:54.000Z | source/pic2card/app/api.py | riag23/AdaptiveCards | 769c4afe7e96f348becbef80b3c3ed2bf58b1806 | [
"MIT"
] | 29 | 2021-02-16T15:51:01.000Z | 2021-12-22T12:46:11.000Z | source/pic2card/app/api.py | riag23/AdaptiveCards | 769c4afe7e96f348becbef80b3c3ed2bf58b1806 | [
"MIT"
] | 16 | 2021-02-10T07:46:07.000Z | 2021-11-23T10:22:44.000Z | """Flask service to predict the adaptive card json from the card design"""
import os
import logging
from logging.handlers import RotatingFileHandler
from flask import Flask
from flask_cors import CORS
from flask_restplus import Api
from mystique.utils import load_od_instance
from . import resources as res
from mystiqu... | 32.888889 | 76 | 0.727477 | 236 | 1,776 | 5.322034 | 0.483051 | 0.023885 | 0.055732 | 0.067675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012032 | 0.157658 | 1,776 | 53 | 77 | 33.509434 | 0.82754 | 0.181306 | 0 | 0 | 0 | 0.027778 | 0.106029 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a10676e081eadbee8b96a78b3db771d23641d818 | 390 | py | Python | calc/migrations/0021_auto_20210712_1234.py | AlexGogev/Django-Kids-Math | 8007e65d2f4baadc17eeefd64f1b29f2be656451 | [
"MIT"
] | null | null | null | calc/migrations/0021_auto_20210712_1234.py | AlexGogev/Django-Kids-Math | 8007e65d2f4baadc17eeefd64f1b29f2be656451 | [
"MIT"
] | null | null | null | calc/migrations/0021_auto_20210712_1234.py | AlexGogev/Django-Kids-Math | 8007e65d2f4baadc17eeefd64f1b29f2be656451 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.12 on 2021-07-12 11:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('calc', '0020_adding_num1'),
]
operations = [
migrations.AlterField(
model_name='adding',
name='num1',
f... | 20.526316 | 65 | 0.594872 | 43 | 390 | 5.302326 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082734 | 0.287179 | 390 | 18 | 66 | 21.666667 | 0.73741 | 0.117949 | 0 | 0 | 1 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a107cf5cce380b99bf2e2d51543bb8cffa97f2fc | 925 | py | Python | RandomCorrMat/RandomCorr.py | KikeM/RandomCorrMat | 52ab5e341f0d4b426109f6d21aa86a06692d79b7 | [
"MIT"
] | null | null | null | RandomCorrMat/RandomCorr.py | KikeM/RandomCorrMat | 52ab5e341f0d4b426109f6d21aa86a06692d79b7 | [
"MIT"
] | null | null | null | RandomCorrMat/RandomCorr.py | KikeM/RandomCorrMat | 52ab5e341f0d4b426109f6d21aa86a06692d79b7 | [
"MIT"
] | null | null | null | # ----------------------------------------------------
# Generate a random correlations
# ----------------------------------------------------
import numpy as np
def randCorr(size, lower=-1, upper=1):
"""
Create a random matrix T from uniform distribution of dimensions size x m (assumed to be 10000)
normal... | 38.541667 | 99 | 0.6 | 130 | 925 | 4.261538 | 0.438462 | 0.102888 | 0.036101 | 0.061372 | 0.194946 | 0.194946 | 0.194946 | 0.194946 | 0.194946 | 0.194946 | 0 | 0.020325 | 0.202162 | 925 | 23 | 100 | 40.217391 | 0.730352 | 0.608649 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a10ba9237e88a1c0b69b6ca8b21d0676aa34689f | 33,845 | py | Python | Movie Recommender System Based on User Demographics Prediction/App/app.py | Mohammed-Khaled1/ITI_AI-PRO_Graduation_Project | 32de2dcaf91748189cbe58c85e7fa4b3e89814dc | [
"MIT"
] | null | null | null | Movie Recommender System Based on User Demographics Prediction/App/app.py | Mohammed-Khaled1/ITI_AI-PRO_Graduation_Project | 32de2dcaf91748189cbe58c85e7fa4b3e89814dc | [
"MIT"
] | null | null | null | Movie Recommender System Based on User Demographics Prediction/App/app.py | Mohammed-Khaled1/ITI_AI-PRO_Graduation_Project | 32de2dcaf91748189cbe58c85e7fa4b3e89814dc | [
"MIT"
] | null | null | null | ###################### Importing Libraries ######################
from flask import Flask, g, redirect, render_template, request, session, url_for
from flask_mysqldb import MySQL
# from flask_sqlalchemy import SQLAlchemy
from flask_mail import Mail, Message
import emoji
import random
import numpy as np
im... | 38.635845 | 298 | 0.554026 | 3,882 | 33,845 | 4.657136 | 0.134724 | 0.019359 | 0.035953 | 0.024891 | 0.614857 | 0.583273 | 0.554621 | 0.514298 | 0.475745 | 0.454616 | 0 | 0.012103 | 0.270055 | 33,845 | 876 | 299 | 38.635845 | 0.719692 | 0.297031 | 0 | 0.460705 | 0 | 0.01355 | 0.158011 | 0.015457 | 0.00271 | 0 | 0 | 0 | 0 | 1 | 0.04607 | false | 0.054201 | 0.03523 | 0.00542 | 0.162602 | 0.00542 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
a10bc0abaeaaf54be7b59daffeee65c2d9664ccf | 520 | py | Python | config/urls.py | git-shuvam/recipe-app-api | 74dd65ae417bdbd5e044fab199ab1cc6a0b30802 | [
"MIT"
] | null | null | null | config/urls.py | git-shuvam/recipe-app-api | 74dd65ae417bdbd5e044fab199ab1cc6a0b30802 | [
"MIT"
] | null | null | null | config/urls.py | git-shuvam/recipe-app-api | 74dd65ae417bdbd5e044fab199ab1cc6a0b30802 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
from rest_framework.documentation import include_docs_urls
urlpatterns = [
path('admin/', admin.site.urls),
path('api/user/', include('apps.user.urls'), name='user'... | 40 | 68 | 0.746154 | 73 | 520 | 5.205479 | 0.383562 | 0.105263 | 0.073684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109615 | 520 | 12 | 69 | 43.333333 | 0.820734 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
a11369f4743927ce4710d352aedb54a211c832bb | 878 | py | Python | mne/datasets/mtrf/mtrf.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 1 | 2020-07-28T16:09:54.000Z | 2020-07-28T16:09:54.000Z | mne/datasets/mtrf/mtrf.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 23 | 2017-09-12T11:08:26.000Z | 2019-10-04T11:11:29.000Z | mne/datasets/mtrf/mtrf.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 3 | 2019-01-28T13:48:00.000Z | 2019-07-10T16:02:11.000Z | # Authors: Chris Holdgraf <choldgraf@berkeley.edu>
#
# License: BSD Style.
from functools import partial
from ...utils import verbose
from ..utils import (has_dataset, _data_path, _data_path_doc,
_get_version, _version_doc)
data_name = 'mtrf'
has_mtrf_data = partial(has_dataset, name=data_name)... | 28.322581 | 77 | 0.678815 | 113 | 878 | 4.840708 | 0.336283 | 0.087751 | 0.087751 | 0.062157 | 0.076782 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008902 | 0.232346 | 878 | 30 | 78 | 29.266667 | 0.802671 | 0.102506 | 0 | 0 | 0 | 0 | 0.033248 | 0.028133 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.176471 | 0.117647 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
a1138d6dfb57269f74958407cfb7178007de51d3 | 1,424 | py | Python | teamgen/stats.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | teamgen/stats.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | teamgen/stats.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | import logging
from typing import List
import math
import itertools
logger = logging.getLogger(__name__)
class RoundStats:
def __init__(self):
self._diff_history = []
self._q_history = []
def push_histories(self, diff=None, q=None):
if diff: self._diff_history.append(diff)
i... | 20.342857 | 55 | 0.573034 | 188 | 1,424 | 4.026596 | 0.255319 | 0.095112 | 0.126816 | 0.055482 | 0.06605 | 0.06605 | 0.06605 | 0 | 0 | 0 | 0 | 0.019979 | 0.332163 | 1,424 | 69 | 56 | 20.637681 | 0.776025 | 0 | 0 | 0.134615 | 0 | 0 | 0.000702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211538 | false | 0 | 0.076923 | 0.076923 | 0.480769 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a11d70dd3adbad99e50ef547fb714897f0a8a076 | 3,188 | py | Python | homeassistant/components/cover/ryobi_gdo.py | don66/home-assistant | a277470363c0758bb305410aad49c257ff8bac40 | [
"Apache-2.0"
] | 7 | 2018-06-29T01:13:54.000Z | 2020-04-01T16:08:27.000Z | homeassistant/components/cover/ryobi_gdo.py | sara0871/https-wakatime.com-android-studio | 5a15b2c036b332c17d5f6a06664378e9273d684f | [
"Apache-2.0"
] | 3 | 2021-09-08T03:06:43.000Z | 2022-03-12T00:56:04.000Z | homeassistant/components/cover/ryobi_gdo.py | sara0871/https-wakatime.com-android-studio | 5a15b2c036b332c17d5f6a06664378e9273d684f | [
"Apache-2.0"
] | 3 | 2018-10-09T08:37:48.000Z | 2019-11-16T08:32:27.000Z | """
Ryobi platform for the cover component.
For more details about this platform, please refer to the documentation
https://home-assistant.io/components/cover.ryobi_gdo/
"""
import logging
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.components.cover import (
C... | 30.653846 | 77 | 0.673777 | 407 | 3,188 | 5.029484 | 0.287469 | 0.04299 | 0.031754 | 0.022472 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001612 | 0.221769 | 3,188 | 103 | 78 | 30.951456 | 0.823458 | 0.143664 | 0 | 0.090909 | 0 | 0 | 0.100299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0.060606 | 0.090909 | 0 | 0.348485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
a12a961fc31a06b7e33ccb80eb4ea866368ea14d | 525 | py | Python | crawl_data.py | Sharad24/NeurIPS2021Datasets-OpenReviewData | 8eb9cf340afd145854a0600e5469bb84a36abe16 | [
"MIT"
] | 493 | 2019-11-05T22:22:00.000Z | 2022-03-20T15:31:33.000Z | crawl_data.py | Sharad24/NeurIPS2021Datasets-OpenReviewData | 8eb9cf340afd145854a0600e5469bb84a36abe16 | [
"MIT"
] | 3 | 2019-11-06T15:18:55.000Z | 2020-11-14T09:26:44.000Z | crawl_data.py | Sharad24/NeurIPS2021Datasets-OpenReviewData | 8eb9cf340afd145854a0600e5469bb84a36abe16 | [
"MIT"
] | 53 | 2019-11-06T08:00:09.000Z | 2022-01-11T09:24:49.000Z | import numpy as np
import h5py
import string
from util import crawl_meta
import time
CRAWL_DATA = True
AFTER_DECISION = False
CRAWL_REVIEW = True
# Get the meta data
meta_list = crawl_meta(
meta_hdf5=None,
write_meta_name='data_{}.hdf5'.format(time.strftime("%Y%m%d%H%M%S")),
crawl_review=CRA... | 27.631579 | 81 | 0.725714 | 83 | 525 | 4.385542 | 0.53012 | 0.090659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.165714 | 525 | 18 | 82 | 29.166667 | 0.824201 | 0.032381 | 0 | 0 | 0 | 0 | 0.175889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
a12c6e0ef6e12d89e09959c2d09353ad34b45b18 | 4,362 | py | Python | python/dataingest/grammar/bp/python_parse_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/grammar/bp/python_parse_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/dataingest/grammar/bp/python_parse_api.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import pandas as pd
from pandas import DataFrame
from tabulate import tabulate
from base import BaseObject
class PythonParseAPI(BaseObject):
""" API (Orchestrator) for Python Dependency Parsing
"""
def __init__(self,
is_debug: ... | 33.29771 | 103 | 0.56442 | 442 | 4,362 | 5.316742 | 0.303167 | 0.04766 | 0.037447 | 0.02766 | 0.326809 | 0.229787 | 0.185532 | 0.132766 | 0.081702 | 0.060426 | 0 | 0.014629 | 0.341816 | 4,362 | 130 | 104 | 33.553846 | 0.803901 | 0.125172 | 0 | 0.076923 | 0 | 0 | 0.101704 | 0.040844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141026 | false | 0 | 0.282051 | 0.012821 | 0.564103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
a1316ebeacbe160988f3eb2ed7499cb3066a4f52 | 1,672 | py | Python | Programas_Capitulo_05/Cap05_pagina_132_bisection_con_for.py | rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador | ee6fe3a7182033633a45c40e2bb8b912652bab9d | [
"MIT"
] | 17 | 2016-04-15T16:44:00.000Z | 2022-01-27T23:47:30.000Z | Programas_Capitulo_05/Cap05_pagina_132_bisection_con_for.py | rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador | ee6fe3a7182033633a45c40e2bb8b912652bab9d | [
"MIT"
] | null | null | null | Programas_Capitulo_05/Cap05_pagina_132_bisection_con_for.py | rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador | ee6fe3a7182033633a45c40e2bb8b912652bab9d | [
"MIT"
] | 10 | 2016-04-28T08:07:08.000Z | 2020-04-12T23:05:05.000Z | '''
@author: Sergio Rojas
@contact: rr.sergio@gmail.com
--------------------------
Contenido bajo
Atribución-NoComercial-CompartirIgual 3.0 Venezuela (CC BY-NC-SA 3.0 VE)
http://creativecommons.org/licenses/by-nc-sa/3.0/ve/
Creado en abril 21, 2016
'''
def biseccion(f, a, b, tol=1.e-6):
"""
Funcion que impl... | 26.539683 | 79 | 0.538278 | 271 | 1,672 | 3.321033 | 0.405904 | 0.013333 | 0.043333 | 0.015556 | 0.131111 | 0.075556 | 0.053333 | 0 | 0 | 0 | 0 | 0.035902 | 0.316986 | 1,672 | 62 | 80 | 26.967742 | 0.752189 | 0.438995 | 0 | 0.068966 | 0 | 0.103448 | 0.177419 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.068966 | false | 0 | 0 | 0 | 0.172414 | 0.103448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a13205c08a9ebe7324790819761144f5ae333236 | 976 | py | Python | Bugscan_exploits-master/exp_list/exp-1667.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-1667.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-1667.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
POC Name : jenkins_script_console_java_execution
Author : fenyouxiangyu
mail : fenyouxiangyu@sina.cn
Referer : http://www.th3r3p0.com/vulns/jenkins/jenkinsVuln.html
"""
# Description : This module uses the Jenkins Groovy script console to execu... | 34.857143 | 117 | 0.653689 | 132 | 976 | 4.719697 | 0.674242 | 0.041734 | 0.028892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055484 | 0.205943 | 976 | 28 | 118 | 34.857143 | 0.747097 | 0.19877 | 0 | 0 | 0 | 0.071429 | 0.343972 | 0.216312 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a141869ba9d96b21b8fd5eacbb4f4792bb924415 | 926 | py | Python | polecat/jsonapi/lateral/list.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | 4 | 2019-08-10T12:56:12.000Z | 2020-01-21T09:51:20.000Z | polecat/jsonapi/lateral/list.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | 71 | 2019-04-09T05:39:21.000Z | 2020-05-16T23:09:24.000Z | polecat/jsonapi/lateral/list.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | null | null | null | from ..list import List as ListBase
class List(ListBase):
""" Use laterals to compose a list query.
WITH ep0(included, type, id, fields) AS (
SELECT
'f',
'movies',
movies.id,
jsonb_build_array(movies.name, ep0_actors.values)
FROM movies
LIMIT 20
)
S... | 23.74359 | 67 | 0.566955 | 113 | 926 | 4.477876 | 0.477876 | 0.041502 | 0.047431 | 0.067194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009788 | 0.338013 | 926 | 38 | 68 | 24.368421 | 0.815661 | 0 | 0 | 0 | 0 | 0 | 0.038647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a14db4e6bf159bc29f3b177709f350ed11fab535 | 749 | py | Python | django_server/accounts/models.py | forkcs/mycode | 6319266cba70111cd229b15d163cccbc1918410c | [
"MIT"
] | null | null | null | django_server/accounts/models.py | forkcs/mycode | 6319266cba70111cd229b15d163cccbc1918410c | [
"MIT"
] | null | null | null | django_server/accounts/models.py | forkcs/mycode | 6319266cba70111cd229b15d163cccbc1918410c | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.db import models
User = get_user_model()
ACCOUNT_TYPES = (
(1, 'Admin'),
(2, 'Teacher'),
(3, 'Student')
)
class Account(models.Model):
class Meta:
verbose_name = 'Account'
verbose_name_plural = 'Accounts'
user = models.O... | 26.75 | 74 | 0.71028 | 96 | 749 | 5.270833 | 0.5 | 0.079051 | 0.150198 | 0.173913 | 0.233202 | 0.177866 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.182911 | 749 | 27 | 75 | 27.740741 | 0.80719 | 0 | 0 | 0 | 0 | 0 | 0.045394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.095238 | 0.047619 | 0.619048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a153dc18e956d0dcf8acacce310e659811cc2a06 | 585 | py | Python | test_project/runtests.py | mvpoland/django-datatrans | 8f2d68dcaccd200867bef2634936c4d472268799 | [
"BSD-3-Clause"
] | 1 | 2017-04-27T19:43:36.000Z | 2017-04-27T19:43:36.000Z | test_project/runtests.py | mvpoland/django-datatrans | 8f2d68dcaccd200867bef2634936c4d472268799 | [
"BSD-3-Clause"
] | 5 | 2017-04-27T11:21:27.000Z | 2020-09-04T12:03:26.000Z | test_project/runtests.py | mvpoland/django-datatrans | 8f2d68dcaccd200867bef2634936c4d472268799 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T06:41:35.000Z | 2019-12-09T06:41:35.000Z | # This file mainly exists to allow python setup.py test to work.
import os, sys
from django.test.utils import get_runner
from django.conf import settings
os.environ["DJANGO_SETTINGS_MODULE"] = "test_project.settings"
test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.insert(0, test_dir)... | 20.892857 | 71 | 0.704274 | 81 | 585 | 4.814815 | 0.530864 | 0.076923 | 0.066667 | 0.076923 | 0.082051 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00211 | 0.189744 | 585 | 27 | 72 | 21.666667 | 0.820675 | 0.105983 | 0 | 0 | 0 | 0 | 0.097889 | 0.082534 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.294118 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
a15d623f9c404dcb2f08bb0dfeaee85d12d1e2b0 | 2,620 | py | Python | python/perspective/perspective/tests/core/test_plugin.py | mcleo-d/perspective | 1c1f690bbc9ea855039a879fca2c9d5378611554 | [
"Apache-2.0"
] | null | null | null | python/perspective/perspective/tests/core/test_plugin.py | mcleo-d/perspective | 1c1f690bbc9ea855039a879fca2c9d5378611554 | [
"Apache-2.0"
] | null | null | null | python/perspective/perspective/tests/core/test_plugin.py | mcleo-d/perspective | 1c1f690bbc9ea855039a879fca2c9d5378611554 | [
"Apache-2.0"
] | null | null | null | ################################################################################
#
# Copyright (c) 2019, the Perspective Authors.
#
# This file is part of the Perspective library, distributed under the terms of
# the Apache License 2.0. The full license can be found in the LICENSE file.
#
from pytest import raises
fr... | 34.933333 | 80 | 0.581298 | 307 | 2,620 | 4.830619 | 0.192182 | 0.105192 | 0.096426 | 0.089683 | 0.639919 | 0.486851 | 0.486851 | 0.4147 | 0.4147 | 0.4147 | 0 | 0.013939 | 0.260687 | 2,620 | 74 | 81 | 35.405405 | 0.751678 | 0.075191 | 0 | 0.490566 | 0 | 0 | 0.027825 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.207547 | false | 0 | 0.037736 | 0 | 0.264151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a16308a944d5c42852513834ee56e1cb7d7d9ae0 | 943 | py | Python | virtual_modi/virtual_module/virtual_input_module/virtual_env.py | LUXROBO/virtual-modi | d386fdda78a29eb357da9a622d2fb86c0e3199d6 | [
"MIT"
] | 1 | 2020-11-01T05:33:40.000Z | 2020-11-01T05:33:40.000Z | virtual_modi/virtual_module/virtual_input_module/virtual_env.py | LUXROBO/virtual-modi | d386fdda78a29eb357da9a622d2fb86c0e3199d6 | [
"MIT"
] | null | null | null | virtual_modi/virtual_module/virtual_input_module/virtual_env.py | LUXROBO/virtual-modi | d386fdda78a29eb357da9a622d2fb86c0e3199d6 | [
"MIT"
] | 1 | 2021-02-08T10:34:19.000Z | 2021-02-08T10:34:19.000Z |
from virtual_modi.virtual_module.virtual_module import VirtualModule
class VirtualEnv(VirtualModule):
BRIGHTNESS = 2
RED = 3
GREEN = 4
BLUE = 5
TEMPERATURE = 6
HUMIDITY = 7
def __init__(self, message_handler):
super(VirtualEnv, self).__init__(message_handler)
self.type =... | 26.942857 | 70 | 0.660657 | 115 | 943 | 5.191304 | 0.313043 | 0.050251 | 0.160804 | 0.231156 | 0.271357 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024045 | 0.250265 | 943 | 34 | 71 | 27.735294 | 0.820368 | 0 | 0 | 0 | 0 | 0 | 0.003185 | 0 | 0 | 0 | 0.006369 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a165e732e8992dac12cd5db15eb7ff2629731cd6 | 885 | py | Python | old_logen/pylogen/ToolBar.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | 14 | 2015-10-16T11:35:30.000Z | 2021-05-12T15:31:16.000Z | old_logen/pylogen/ToolBar.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | null | null | null | old_logen/pylogen/ToolBar.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | 5 | 2015-10-16T12:44:41.000Z | 2019-10-02T02:45:38.000Z | from Tkinter import *
class ToolBar(Frame):
"""
This class managed the main toolbar
"""
def __init__(self,master=None,app=None):
Frame.__init__(self, master)
self["height"] = "-1cm"
self.images = {}
self.app = app
def add_button(self, text="", comm... | 29.5 | 92 | 0.589831 | 116 | 885 | 4.413793 | 0.456897 | 0.058594 | 0.054688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006042 | 0.251977 | 885 | 29 | 93 | 30.517241 | 0.767372 | 0.039548 | 0 | 0 | 0 | 0 | 0.044471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a167478530370a58693b7d6ef6e6b1b9e22246df | 235 | py | Python | docs/examples/02_description_models/files/02_robot_from_ros.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 64 | 2019-08-07T07:19:06.000Z | 2022-03-22T16:48:23.000Z | docs/examples/02_description_models/files/02_robot_from_ros.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 228 | 2019-07-08T07:55:30.000Z | 2022-03-25T16:39:17.000Z | docs/examples/02_description_models/files/02_robot_from_ros.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 18 | 2019-08-04T16:42:37.000Z | 2022-01-12T18:36:06.000Z | import compas
from compas_fab.backends import RosClient
# Set high precision to import meshes defined in meters
compas.PRECISION = '12f'
with RosClient() as ros:
robot = ros.load_robot(load_geometry=True)
print(robot.model)
| 21.363636 | 55 | 0.765957 | 34 | 235 | 5.205882 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010152 | 0.161702 | 235 | 10 | 56 | 23.5 | 0.888325 | 0.225532 | 0 | 0 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
a16cf973047f4f7b3360721536a07999438c7cea | 939 | py | Python | tests/test_amf3_int.py | chrippa/python-flashmedia | f5df4987d6d6661a240756435bb8729f82d8d31f | [
"BSD-2-Clause"
] | 14 | 2015-03-03T15:41:26.000Z | 2021-06-09T02:23:22.000Z | tests/test_amf3_int.py | chrippa/python-flashmedia | f5df4987d6d6661a240756435bb8729f82d8d31f | [
"BSD-2-Clause"
] | 1 | 2016-12-24T03:49:35.000Z | 2016-12-24T03:49:35.000Z | tests/test_amf3_int.py | chrippa/python-flashmedia | f5df4987d6d6661a240756435bb8729f82d8d31f | [
"BSD-2-Clause"
] | 3 | 2017-12-13T17:37:24.000Z | 2018-09-09T09:35:19.000Z | from . import with_fd
from flashmedia.types import AMF3Integer
MIN = -268435456
MIN_BYTES = b"\xc0\x80\x80\x00"
MIN_SIZE = len(MIN_BYTES)
MAX = 268435455
MAX_BYTES = b"\xbf\xff\xff\xff"
MAX_SIZE = len(MAX_BYTES)
ZERO = 0
ZERO_BYTES = b"\x00"
ZERO_SIZE = len(ZERO_BYTES)
def test_pack_min():
assert AMF3Integer.pa... | 19.5625 | 47 | 0.726305 | 150 | 939 | 4.28 | 0.18 | 0.098131 | 0.130841 | 0.074766 | 0.116822 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047739 | 0.15229 | 939 | 47 | 48 | 19.978723 | 0.758794 | 0 | 0 | 0 | 0 | 0 | 0.038339 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 1 | 0.28125 | false | 0 | 0.0625 | 0 | 0.34375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a16d4a7b4ddca6c411cee0e16d95260da8b1e75f | 392 | py | Python | djedi/migrations/0002_auto_20190722_1447.py | Mojken/djedi-cms | 9c110094436caffb198a1f41d8c90ca29b8a1c72 | [
"BSD-3-Clause"
] | 41 | 2015-01-28T21:16:45.000Z | 2021-10-13T08:56:59.000Z | djedi/migrations/0002_auto_20190722_1447.py | Mojken/djedi-cms | 9c110094436caffb198a1f41d8c90ca29b8a1c72 | [
"BSD-3-Clause"
] | 49 | 2015-03-19T14:17:49.000Z | 2022-03-31T13:25:29.000Z | djedi/migrations/0002_auto_20190722_1447.py | Mojken/djedi-cms | 9c110094436caffb198a1f41d8c90ca29b8a1c72 | [
"BSD-3-Clause"
] | 29 | 2015-03-18T14:22:18.000Z | 2022-03-24T10:37:20.000Z | # Generated by Django 2.2.3 on 2019-07-22 14:47
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('djedi', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='node',
name='is_published',
... | 20.631579 | 65 | 0.596939 | 42 | 392 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067857 | 0.285714 | 392 | 18 | 66 | 21.777778 | 0.757143 | 0.114796 | 0 | 0 | 1 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a16e022e640fd89ed68c7aaffbbd73a92ff8c117 | 478 | py | Python | setup.py | apljungquist/botfights-sdk | 73148e1d7ce819d0da90840a973ee8152e20d1a2 | [
"MIT"
] | null | null | null | setup.py | apljungquist/botfights-sdk | 73148e1d7ce819d0da90840a973ee8152e20d1a2 | [
"MIT"
] | null | null | null | setup.py | apljungquist/botfights-sdk | 73148e1d7ce819d0da90840a973ee8152e20d1a2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import setuptools
setuptools.setup(
name="botfights",
install_requires=["fire", "requests"],
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
entry_points={
"console_scripts": ["fight = botfights:main"],
"botfig... | 25.157895 | 58 | 0.621339 | 47 | 478 | 6.148936 | 0.680851 | 0.155709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221757 | 478 | 18 | 59 | 26.555556 | 0.776882 | 0.041841 | 0 | 0 | 0 | 0 | 0.374179 | 0.190372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a172ba87b03867ef4528b62aedcab017d5746a6a | 324 | py | Python | setup.py | michael-olney/hotpatch | 9feb5343db4bed0287ca655758b58f866a4e5fe9 | [
"MIT"
] | 4 | 2019-06-27T06:43:30.000Z | 2020-08-20T12:06:24.000Z | setup.py | michael-olney/hotpatch | 9feb5343db4bed0287ca655758b58f866a4e5fe9 | [
"MIT"
] | null | null | null | setup.py | michael-olney/hotpatch | 9feb5343db4bed0287ca655758b58f866a4e5fe9 | [
"MIT"
] | 1 | 2020-04-03T03:18:04.000Z | 2020-04-03T03:18:04.000Z | from setuptools import setup
setup(
name='hotpatch',
version='0.1',
description='',
url='http://github.com/michael-olney/hotpatch',
author='Michael Olney',
author_email='michael@spectralforms.com',
license='MIT',
packages=['hotpatch'],
zip_safe=False,
install_requires=['bytecode... | 23.142857 | 51 | 0.660494 | 36 | 324 | 5.861111 | 0.777778 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007491 | 0.175926 | 324 | 13 | 52 | 24.923077 | 0.782772 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.07716 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a17b7c2a2efd2275adbb7e66da9af588ad564459 | 2,492 | py | Python | airlock_processor/tests/test_copy_data.py | chboudry/AzureTRE | 79011378f19ce0e1030b05937bfb0f5f685bfab9 | [
"MIT"
] | null | null | null | airlock_processor/tests/test_copy_data.py | chboudry/AzureTRE | 79011378f19ce0e1030b05937bfb0f5f685bfab9 | [
"MIT"
] | null | null | null | airlock_processor/tests/test_copy_data.py | chboudry/AzureTRE | 79011378f19ce0e1030b05937bfb0f5f685bfab9 | [
"MIT"
] | null | null | null | from json import JSONDecodeError
import unittest
from StatusChangedQueueTrigger import extract_properties, get_source_dest_env_vars, is_require_data_copy
class TestPropertiesExtraction(unittest.TestCase):
def test_extract_prop_valid_body_return_all_values(self):
msg = "{ \"data\": { \"request_id\":\"123\... | 47.923077 | 120 | 0.686196 | 288 | 2,492 | 5.590278 | 0.253472 | 0.111801 | 0.072671 | 0.095031 | 0.546584 | 0.534161 | 0.486335 | 0.381366 | 0.381366 | 0.35528 | 0 | 0.023844 | 0.158507 | 2,492 | 51 | 121 | 48.862745 | 0.74392 | 0.016854 | 0 | 0.108108 | 0 | 0 | 0.091912 | 0 | 0 | 0 | 0 | 0 | 0.513514 | 1 | 0.162162 | false | 0 | 0.108108 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a17b8d9d0e9d1007441fcce4ecf60101e1743cd4 | 7,947 | py | Python | tidepool_data_science_simulator/models/controller.py | tidepool-org/data-science-simulator | fbecdadd8ea4afe88a2789871c13d8d128f637ac | [
"BSD-2-Clause"
] | 3 | 2021-05-16T12:14:51.000Z | 2022-03-19T18:52:21.000Z | tidepool_data_science_simulator/models/controller.py | tidepool-org/data-science-simulator | fbecdadd8ea4afe88a2789871c13d8d128f637ac | [
"BSD-2-Clause"
] | 4 | 2020-06-30T21:25:20.000Z | 2021-01-14T13:28:33.000Z | tidepool_data_science_simulator/models/controller.py | tidepool-org/data-science-simulator | fbecdadd8ea4afe88a2789871c13d8d128f637ac | [
"BSD-2-Clause"
] | 1 | 2021-01-19T22:13:03.000Z | 2021-01-19T22:13:03.000Z | __author__ = "Cameron Summers"
import pickle as pk
import datetime
import copy
import numpy as np
from tidepool_data_science_simulator.models.simulation import SimulationComponent
from tidepool_data_science_simulator.models.measures import GlucoseTrace
from pyloopkit.loop_data_manager import update
from pyloopkit.do... | 34.25431 | 95 | 0.65962 | 920 | 7,947 | 5.41413 | 0.248913 | 0.059024 | 0.049588 | 0.027103 | 0.297731 | 0.25276 | 0.214013 | 0.188316 | 0.143345 | 0.143345 | 0 | 0.001706 | 0.262237 | 7,947 | 231 | 96 | 34.402597 | 0.847859 | 0.263118 | 0 | 0.241071 | 0 | 0 | 0.107052 | 0.051618 | 0 | 0 | 0 | 0.017316 | 0 | 1 | 0.098214 | false | 0.017857 | 0.071429 | 0.017857 | 0.232143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a18133cdf2267a1c9779c55d828d81cc2bdf78b4 | 448 | py | Python | dace/codegen/instrumentation/__init__.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | 1 | 2020-09-18T07:27:22.000Z | 2020-09-18T07:27:22.000Z | dace/codegen/instrumentation/__init__.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | null | null | null | dace/codegen/instrumentation/__init__.py | tbennun/dace | 484f959c847feee048cd43ae5580f57e67d51671 | [
"BSD-3-Clause"
] | null | null | null | from dace.dtypes import InstrumentationType
from .provider import InstrumentationProvider
from .papi import PAPIInstrumentation
from .timer import TimerProvider
from .cuda_events import CUDAEventProvider
INSTRUMENTATION_PROVIDERS = {
InstrumentationType.No_Instrumentation: None,
InstrumentationType.PAPI_Count... | 34.461538 | 59 | 0.848214 | 39 | 448 | 9.615385 | 0.487179 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 448 | 13 | 60 | 34.461538 | 0.93985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.454545 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
a1870054c5fc6fdd95e232a2e34bed1a263940f8 | 4,903 | py | Python | scripts/appctl.py | ljlu1504/EHPC | 4535e09e55ff0c29810e244d4d29260fdff18fb6 | [
"Apache-2.0"
] | null | null | null | scripts/appctl.py | ljlu1504/EHPC | 4535e09e55ff0c29810e244d4d29260fdff18fb6 | [
"Apache-2.0"
] | null | null | null | scripts/appctl.py | ljlu1504/EHPC | 4535e09e55ff0c29810e244d4d29260fdff18fb6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import sys
from os import path
from constants import (
ACTION_APP_INIT,
ACTION_APP_START,
ACTION_APP_STOP,
ACTION_APP_RESTART,
ACTION_HEALTH_CHECK,
ACTION_METADATA_RELOAD,
ROLE_CONTROLLER,
ROLE_COMPUTE,
ROLE_LOGIN,
SLURM_CONF,
MASTER_CONTROLLER_SID,
)
f... | 25.536458 | 83 | 0.638997 | 614 | 4,903 | 4.85342 | 0.221498 | 0.032215 | 0.047987 | 0.031879 | 0.26443 | 0.182215 | 0.162081 | 0.142617 | 0.12047 | 0.12047 | 0 | 0.004054 | 0.24536 | 4,903 | 191 | 84 | 25.670157 | 0.801351 | 0.041607 | 0 | 0.241611 | 0 | 0 | 0.163505 | 0.014283 | 0 | 0 | 0 | 0.005236 | 0 | 0 | null | null | 0 | 0.053691 | null | null | 0.006711 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a189fb4ac623da0dc857ffe414ccf2e99150222d | 24,597 | py | Python | src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | null | null | null | src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | 3 | 2021-03-26T00:48:20.000Z | 2022-03-29T22:05:39.000Z | src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py | v-Ajnava/azure-cli | febec631d79bfca151e84267b5b409594bad598e | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | 69.483051 | 220 | 0.738993 | 3,231 | 24,597 | 5.123801 | 0.096874 | 0.081546 | 0.105708 | 0.067653 | 0.609967 | 0.517427 | 0.430504 | 0.378798 | 0.341468 | 0.284929 | 0 | 0.00685 | 0.133472 | 24,597 | 353 | 221 | 69.679887 | 0.769823 | 0.03224 | 0 | 0.058182 | 0 | 0.014545 | 0.32872 | 0.127913 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.029091 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a18a25ea6ebcb2ea922017636fd60057c607a007 | 7,021 | py | Python | src/stateserver.py | Mukeshkanna19/sbsim-19 | d2ac9c232e1376a157bbcccd2af95265fbd70f5e | [
"MIT"
] | null | null | null | src/stateserver.py | Mukeshkanna19/sbsim-19 | d2ac9c232e1376a157bbcccd2af95265fbd70f5e | [
"MIT"
] | 1 | 2019-01-14T15:17:08.000Z | 2019-01-15T00:30:31.000Z | src/stateserver.py | Mukeshkanna19/sbsim-19 | d2ac9c232e1376a157bbcccd2af95265fbd70f5e | [
"MIT"
] | 4 | 2019-01-15T19:51:02.000Z | 2019-02-12T12:17:17.000Z | #!/usr/bin/env python
import sys
import physics as p
import pygame as pg
import pid
import rospy
import math as m
from geometry_msgs.msg import Pose, Twist
from sbsim.msg import goalmsg
import controller as c
from std_msgs.msg import Int32
from std_msgs.msg import Float64
from sbsim.msg import dribble
d = 0
r10msg = ... | 26.900383 | 103 | 0.528842 | 999 | 7,021 | 3.696697 | 0.181181 | 0.05199 | 0.015164 | 0.009748 | 0.435148 | 0.360953 | 0.333333 | 0.326293 | 0.301923 | 0.301923 | 0 | 0.097607 | 0.321464 | 7,021 | 261 | 104 | 26.900383 | 0.677582 | 0.012676 | 0 | 0.475983 | 0 | 0 | 0.046334 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004367 | 0.052402 | null | null | 0.030568 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a18be6653cd36daa5c566dd5d9cdb47f33667bf0 | 1,074 | py | Python | real_time_ids.py | aspera1631/hs_logreader | 853fb80678bfc5a399a142daf7025f03a73fd673 | [
"MIT"
] | null | null | null | real_time_ids.py | aspera1631/hs_logreader | 853fb80678bfc5a399a142daf7025f03a73fd673 | [
"MIT"
] | null | null | null | real_time_ids.py | aspera1631/hs_logreader | 853fb80678bfc5a399a142daf7025f03a73fd673 | [
"MIT"
] | null | null | null | ## Reads the log file in real time and fills the dataframe with card info
__author__ = 'bdeutsch'
import time
import numpy as np
import pandas as pd
import re
# Follow the log and output lines
def follow(filename):
filename.seek(0, 2)
while True:
line = filename.readline()
if not line:
... | 24.409091 | 81 | 0.639665 | 172 | 1,074 | 3.959302 | 0.569767 | 0.017621 | 0.026432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007614 | 0.266294 | 1,074 | 44 | 82 | 24.409091 | 0.856599 | 0.403166 | 0 | 0 | 0 | 0 | 0.109524 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.16 | null | null | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a19d5d36f50d1a9ff97b27562d78824711e6e462 | 1,175 | py | Python | setup.py | ctberthiaume/tsdataformat-python | 078c8da0398c3055d95251d02f77b6c5171a137c | [
"MIT"
] | null | null | null | setup.py | ctberthiaume/tsdataformat-python | 078c8da0398c3055d95251d02f77b6c5171a137c | [
"MIT"
] | 4 | 2020-03-24T18:05:23.000Z | 2021-08-23T20:35:23.000Z | setup.py | ctberthiaume/tsdataformat-python | 078c8da0398c3055d95251d02f77b6c5171a137c | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
import versioneer
setup(
name='tsdataformat',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Chris T. Berthiaume',
author_email='chrisbee@uw.edu',
license='MIT',
description='A Python project to manage time series da... | 29.375 | 64 | 0.615319 | 119 | 1,175 | 5.957983 | 0.731092 | 0.03385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010011 | 0.234894 | 1,175 | 39 | 65 | 30.128205 | 0.778643 | 0 | 0 | 0.052632 | 0 | 0 | 0.401702 | 0.046809 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1ac5f76465fb900271983ef25e6323bb3c3c3a1 | 448 | py | Python | python_packages/pytorch/4_extending_with_python/CUDACpp_exts/2_PMTS_custom_cuda_kernel/setup.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | 2 | 2021-08-22T05:19:26.000Z | 2021-12-21T12:03:57.000Z | python_packages/pytorch/4_extending_with_python/Mixed_exts/1_PMTS_custom_mixed/setup.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | null | null | null | python_packages/pytorch/4_extending_with_python/Mixed_exts/1_PMTS_custom_mixed/setup.py | trisct/Software-Tutorials | 50d7851b861700fe256dfed97f84dc321a5286dc | [
"CC0-1.0"
] | null | null | null | from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
# [!!!] be sure to use different file names for cpp and cu files
# because `setuptools` does not see the filename extension
setup(
name='PMTS_cuda',
ext_modules=[
CUDAExtension('PMTS_cuda', [
'... | 24.888889 | 67 | 0.647321 | 52 | 448 | 5.423077 | 0.673077 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256696 | 448 | 17 | 68 | 26.352941 | 0.846847 | 0.265625 | 0 | 0 | 0 | 0 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1ad4f8b78e32d6680c6ef1fd11f9ee8f3fcdbd4 | 6,093 | py | Python | stable/ckan/conf/psql-init/psql-init.py | menmarc/charts | 1d00cfd9e21a2baed90b504b6ae0ca656c874330 | [
"MIT"
] | 6 | 2020-04-24T00:16:18.000Z | 2021-12-05T22:56:37.000Z | stable/ckan/conf/psql-init/psql-init.py | menmarc/charts | 1d00cfd9e21a2baed90b504b6ae0ca656c874330 | [
"MIT"
] | 29 | 2020-10-02T00:02:39.000Z | 2022-03-21T18:04:02.000Z | stable/ckan/conf/psql-init/psql-init.py | traizenne/charts | 720e906b567a400f6cae3c049f16eaef1ce538bc | [
"MIT"
] | 15 | 2020-11-08T08:39:59.000Z | 2022-03-10T21:01:48.000Z | """
Copyright (c) 2020 Keitaro AB
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | 32.409574 | 111 | 0.633514 | 762 | 6,093 | 4.868766 | 0.253281 | 0.038814 | 0.024259 | 0.036658 | 0.393801 | 0.371698 | 0.349326 | 0.315903 | 0.315903 | 0.315903 | 0 | 0.007577 | 0.263581 | 6,093 | 187 | 112 | 32.582888 | 0.819256 | 0.153127 | 0 | 0.470588 | 0 | 0 | 0.125316 | 0.0136 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036765 | false | 0.080882 | 0.058824 | 0 | 0.102941 | 0.154412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
a1adc91706c6cf7e5322991f3d4173755d5159b4 | 5,065 | py | Python | vxt/view/config.py | veeso/voice-xtractor | 8382dd889ed665741c3c66b65321cc1d36c6a767 | [
"MIT"
] | 1 | 2022-01-11T01:31:36.000Z | 2022-01-11T01:31:36.000Z | vxt/view/config.py | veeso/vxt | 8382dd889ed665741c3c66b65321cc1d36c6a767 | [
"MIT"
] | null | null | null | vxt/view/config.py | veeso/vxt | 8382dd889ed665741c3c66b65321cc1d36c6a767 | [
"MIT"
] | null | null | null | # VXT
# Developed by Christian Visintin
#
# MIT License
# Copyright (c) 2021 Christian Visintin
# 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 limitati... | 33.993289 | 85 | 0.704837 | 619 | 5,065 | 5.53958 | 0.311793 | 0.020414 | 0.025663 | 0.029746 | 0.055701 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012133 | 0.218954 | 5,065 | 148 | 86 | 34.222973 | 0.854651 | 0.233959 | 0 | 0.075269 | 0 | 0 | 0.037259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.247312 | false | 0.021505 | 0.107527 | 0.096774 | 0.473118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1af9cea6b392c34c7982eca727e09c044abd54c | 34,427 | py | Python | topo/sparse/sparsecf.py | ceball/topographica | ec0eea614409ceb7473e04bc2f6b6c888099160f | [
"BSD-3-Clause"
] | null | null | null | topo/sparse/sparsecf.py | ceball/topographica | ec0eea614409ceb7473e04bc2f6b6c888099160f | [
"BSD-3-Clause"
] | null | null | null | topo/sparse/sparsecf.py | ceball/topographica | ec0eea614409ceb7473e04bc2f6b6c888099160f | [
"BSD-3-Clause"
] | null | null | null | """
Basic SparseCFProjection with associated sparse CFs and output,
response, and learning function. If sparse component cannot be imported,
SparseCFProjection will fall back to a basic dense CFProjection.
CFSOF and CFSLF Plugin function allow any single CF output function to
be applied to the sparse CFs, but may suff... | 38.812852 | 170 | 0.654225 | 4,439 | 34,427 | 4.885785 | 0.150259 | 0.017521 | 0.01291 | 0.002951 | 0.264524 | 0.196514 | 0.168619 | 0.136988 | 0.129888 | 0.128043 | 0 | 0.010236 | 0.265025 | 34,427 | 886 | 171 | 38.856659 | 0.846896 | 0.032823 | 0 | 0.185996 | 0 | 0 | 0.066196 | 0 | 0 | 0 | 0 | 0 | 0.004376 | 0 | null | null | 0 | 0.035011 | null | null | 0.002188 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1b3b55b5a4080838bbe58ba998e77cc06e05935 | 232 | py | Python | src/bxcommon/utils/stats/stat_event_logic_flags.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 12 | 2019-11-06T17:39:10.000Z | 2022-03-01T11:26:19.000Z | src/bxcommon/utils/stats/stat_event_logic_flags.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 8 | 2019-11-06T21:31:11.000Z | 2021-06-02T00:46:50.000Z | src/bxcommon/utils/stats/stat_event_logic_flags.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | 5 | 2019-11-14T18:08:11.000Z | 2022-02-08T09:36:22.000Z | from enum import Flag
class StatEventLogicFlags(Flag):
NONE = 0
BLOCK_INFO = 1
MATCH = 2
SUMMARY = 4
PROPAGATION_START = 8
PROPAGATION_END = 16
def __str__(self) -> str:
return str(self.value)
| 16.571429 | 32 | 0.62931 | 30 | 232 | 4.633333 | 0.833333 | 0.100719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0.297414 | 232 | 13 | 33 | 17.846154 | 0.809816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0.1 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
a1b4022c6df02acaf9125f47b1839fe40de712f4 | 8,047 | py | Python | seed_services_client/tests/test_message_sender.py | praekeltfoundation/seed-services-client | bfb216b6b770f9433bd9cda573f13199c4afee9c | [
"BSD-3-Clause"
] | null | null | null | seed_services_client/tests/test_message_sender.py | praekeltfoundation/seed-services-client | bfb216b6b770f9433bd9cda573f13199c4afee9c | [
"BSD-3-Clause"
] | 25 | 2016-06-24T14:37:51.000Z | 2018-06-26T09:08:31.000Z | seed_services_client/tests/test_message_sender.py | praekeltfoundation/seed-services-client | bfb216b6b770f9433bd9cda573f13199c4afee9c | [
"BSD-3-Clause"
] | null | null | null | from unittest import TestCase
import json
import responses
import re
from seed_services_client.message_sender \
import MessageSenderApiClient
class TestMessageSenderClient(TestCase):
def setUp(self):
self.api = MessageSenderApiClient(
"NO", "http://ms.example.org/api/v1")
@responses... | 35.139738 | 104 | 0.540326 | 795 | 8,047 | 5.36478 | 0.143396 | 0.091442 | 0.064009 | 0.078781 | 0.755686 | 0.717937 | 0.649238 | 0.624385 | 0.605862 | 0.570926 | 0 | 0.055814 | 0.305331 | 8,047 | 228 | 105 | 35.29386 | 0.707156 | 0.017771 | 0 | 0.507853 | 0 | 0.015707 | 0.278433 | 0.023837 | 0 | 0 | 0 | 0 | 0.136126 | 1 | 0.036649 | false | 0 | 0.026178 | 0 | 0.068063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1b54b32589ce0bb8d7ac7de575f72bac7c52600 | 2,433 | py | Python | move_test.py | hyjalxl/spidier2 | 3ab1dec50bf03bd673665297147606a418757969 | [
"Apache-2.0"
] | null | null | null | move_test.py | hyjalxl/spidier2 | 3ab1dec50bf03bd673665297147606a418757969 | [
"Apache-2.0"
] | null | null | null | move_test.py | hyjalxl/spidier2 | 3ab1dec50bf03bd673665297147606a418757969 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# name=hu_yang_jie
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys
# from selenium.webdriver.support.ui import WebDriverWait
# from selenium.webdriver.support import expected_conditions as EC
from PIL import Image
import time
impo... | 34.757143 | 95 | 0.653925 | 336 | 2,433 | 4.494048 | 0.380952 | 0.039735 | 0.06755 | 0.075497 | 0.170861 | 0.170861 | 0.136424 | 0.136424 | 0.046358 | 0 | 0 | 0.034664 | 0.217427 | 2,433 | 69 | 96 | 35.26087 | 0.757353 | 0.100288 | 0 | 0.037037 | 0 | 0 | 0.156566 | 0.060147 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.037037 | 0.111111 | null | null | 0.185185 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1b713ee92991ea396871ea56ecd72f62cced434 | 1,713 | py | Python | alipay/aop/api/domain/OuterTargetingItem.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/OuterTargetingItem.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/domain/OuterTargetingItem.py | articuly/alipay-sdk-python-all | 0259cd28eca0f219b97dac7f41c2458441d5e7a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import simplejson as json
from alipay.aop.api.constant.ParamConstants import *
class OuterTargetingItem(object):
def __init__(self):
self._type = None
self._value_list = None
@property
def type(self):
return self._type
@type.set... | 26.765625 | 71 | 0.55108 | 208 | 1,713 | 4.3125 | 0.235577 | 0.210702 | 0.173913 | 0.080268 | 0.225195 | 0.154961 | 0.051282 | 0 | 0 | 0 | 0 | 0.001784 | 0.345593 | 1,713 | 63 | 72 | 27.190476 | 0.798394 | 0.024518 | 0 | 0.081633 | 0 | 0 | 0.058788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.040816 | 0.040816 | 0.306122 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1b9f0cd7c836d9c92ce807b71e540df89022e32 | 538 | py | Python | src/data_analyze.py | leclair-7/CarND-Unscented-Kalman-Filter-Project | 66a21c80cd1fa4be44f0a3bbb682df5f29013450 | [
"MIT"
] | null | null | null | src/data_analyze.py | leclair-7/CarND-Unscented-Kalman-Filter-Project | 66a21c80cd1fa4be44f0a3bbb682df5f29013450 | [
"MIT"
] | null | null | null | src/data_analyze.py | leclair-7/CarND-Unscented-Kalman-Filter-Project | 66a21c80cd1fa4be44f0a3bbb682df5f29013450 | [
"MIT"
] | null | null | null |
# coding: utf-8
# In[1]:
import pandas as pd
import matplotlib
import numpy as np
import matplotlib.pyplot as plt
get_ipython().magic('matplotlib inline')
# In[2]:
data = pd.read_csv("../build/nis_array_.log",delimiter="\n")
t = [7.8 for i in range(498)]
ts = np.arange(0,498,1)
# In[3]:
plt.plot(ts, t, labe... | 17.354839 | 148 | 0.702602 | 95 | 538 | 3.936842 | 0.610526 | 0.085562 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.159851 | 538 | 30 | 149 | 17.933333 | 0.79646 | 0.336431 | 0 | 0 | 0 | 0 | 0.18 | 0.065714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
a1babe4a66767376b9fc8e22a23d5b9ff212210e | 1,593 | py | Python | jaikucommon/protocol/base.py | noutrela/jaikuenginepatch | ab723e5480f36c471faa8bca4c65c2f7487f0365 | [
"Apache-2.0"
] | 1 | 2016-05-09T10:35:57.000Z | 2016-05-09T10:35:57.000Z | jaikucommon/protocol/base.py | noutrela/jaikuenginepatch | ab723e5480f36c471faa8bca4c65c2f7487f0365 | [
"Apache-2.0"
] | null | null | null | jaikucommon/protocol/base.py | noutrela/jaikuenginepatch | ab723e5480f36c471faa8bca4c65c2f7487f0365 | [
"Apache-2.0"
] | null | null | null | # Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 27.465517 | 74 | 0.702448 | 212 | 1,593 | 5.193396 | 0.471698 | 0.054496 | 0.049046 | 0.029064 | 0.052679 | 0.052679 | 0 | 0 | 0 | 0 | 0 | 0.006415 | 0.2172 | 1,593 | 57 | 75 | 27.947368 | 0.876504 | 0.344005 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.028571 | 0.028571 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1bb3a8f93b9d829e764b5cc39ca3d6abb95ac2c | 7,647 | py | Python | allsky/launch_allsky.py | philbull/SinglePixel | 0cd3dba84a0a36ab672707154d3cf8dde903872b | [
"MIT"
] | null | null | null | allsky/launch_allsky.py | philbull/SinglePixel | 0cd3dba84a0a36ab672707154d3cf8dde903872b | [
"MIT"
] | null | null | null | allsky/launch_allsky.py | philbull/SinglePixel | 0cd3dba84a0a36ab672707154d3cf8dde903872b | [
"MIT"
] | null | null | null | # Simple program to launch a serial job for the all sky fitting
# mpiexec -n 4 python launch_allsky.py
import os
import numpy as np
import healpy as hp
from mpi4py import MPI
import model_values_allsky
import model_list_allsky
import run_joint_mcmc_allsky_split
import time
def main( in_list = 'sync,freefree,mbb',
... | 45.248521 | 270 | 0.594874 | 1,140 | 7,647 | 3.789474 | 0.263158 | 0.011111 | 0.008102 | 0.0125 | 0.131713 | 0.094444 | 0.077778 | 0.049537 | 0.034259 | 0.034259 | 0 | 0.023997 | 0.302472 | 7,647 | 168 | 271 | 45.517857 | 0.785902 | 0.246502 | 0 | 0.103448 | 0 | 0.008621 | 0.122335 | 0.008913 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.008621 | 0.068966 | null | null | 0.068966 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1bfdc1468fa5c3b56857cf29bacbd88467f3674 | 944 | py | Python | setup.py | RiccardoCereghino/rpi_ws281x_cool_animations | 48fc76326880710a7948112912f756ca2a2e8af1 | [
"MIT"
] | null | null | null | setup.py | RiccardoCereghino/rpi_ws281x_cool_animations | 48fc76326880710a7948112912f756ca2a2e8af1 | [
"MIT"
] | null | null | null | setup.py | RiccardoCereghino/rpi_ws281x_cool_animations | 48fc76326880710a7948112912f756ca2a2e8af1 | [
"MIT"
] | null | null | null | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='rpi_ws281x_cool_animations',
version='0.0',
description='Cool animations for led matrixes of the family rpi_ws281x on Raspbian',
long_description=readme(),
classifiers=[
... | 33.714286 | 90 | 0.644068 | 104 | 944 | 5.682692 | 0.673077 | 0.091371 | 0.06599 | 0.116751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031812 | 0.23411 | 944 | 28 | 91 | 33.714286 | 0.785615 | 0 | 0 | 0.083333 | 0 | 0 | 0.499471 | 0.084656 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | true | 0 | 0.041667 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1c388f37e8bf319471478c44e8d017cba589017 | 1,345 | py | Python | gammapy/catalog/tests/test_xmatch.py | grburgess/gammapy | 609e460698caca7223afeef5e71826c7b32728d1 | [
"BSD-3-Clause"
] | 3 | 2019-01-28T12:21:14.000Z | 2019-02-10T19:58:07.000Z | gammapy/catalog/tests/test_xmatch.py | grburgess/gammapy | 609e460698caca7223afeef5e71826c7b32728d1 | [
"BSD-3-Clause"
] | null | null | null | gammapy/catalog/tests/test_xmatch.py | grburgess/gammapy | 609e460698caca7223afeef5e71826c7b32728d1 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
from astropy.coordinates import Angle
from ...astro.population import make_catalog_random_positions_sphere
from ...catalog import (
catalog_xmatch_cir... | 37.361111 | 97 | 0.700372 | 164 | 1,345 | 5.402439 | 0.426829 | 0.074492 | 0.057562 | 0.088036 | 0.386005 | 0.286682 | 0.286682 | 0.286682 | 0.286682 | 0.286682 | 0 | 0.015947 | 0.207435 | 1,345 | 35 | 98 | 38.428571 | 0.815197 | 0.078067 | 0 | 0.16 | 0 | 0 | 0.070388 | 0 | 0 | 0 | 0 | 0.028571 | 0.12 | 1 | 0.12 | false | 0 | 0.2 | 0 | 0.32 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1d056c5ca23278e7ea25ce24c60a6c9859ab0ef | 2,066 | py | Python | src/spaceone/inventory/model/disk.py | choonho/plugin-google-cloud-compute-inven-collector | 40b16a634b676e9969efc31d8ac7dd2302309389 | [
"Apache-2.0"
] | 3 | 2020-06-22T01:48:12.000Z | 2020-08-07T07:20:18.000Z | src/spaceone/inventory/model/disk.py | choonho/plugin-google-cloud-compute-inven-collector | 40b16a634b676e9969efc31d8ac7dd2302309389 | [
"Apache-2.0"
] | 3 | 2021-12-10T03:51:28.000Z | 2022-01-14T08:00:55.000Z | src/spaceone/inventory/model/disk.py | choonho/plugin-google-cloud-compute-inven-collector | 40b16a634b676e9969efc31d8ac7dd2302309389 | [
"Apache-2.0"
] | 3 | 2021-11-30T02:25:39.000Z | 2021-12-02T09:51:16.000Z | from schematics import Model
from schematics.types import StringType, IntType, FloatType, BooleanType, ModelType, ListType
'''
{
"id": "3358936943321049290",
"creationTimestamp": "2020-08-18T06:22:45.863-07:00",
"name": "dk-test-attached-081820",
"description": "dk-test-attached-081820",
"sizeGb": "10",
"z... | 37.563636 | 144 | 0.727493 | 246 | 2,066 | 5.98374 | 0.378049 | 0.088315 | 0.115489 | 0.149457 | 0.425272 | 0.381793 | 0.222826 | 0.222826 | 0.222826 | 0.222826 | 0 | 0.068057 | 0.118103 | 2,066 | 54 | 145 | 38.259259 | 0.739846 | 0 | 0 | 0 | 0 | 0 | 0.037546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
a1d47a13d43dd0272f1ef80c86d572483b059433 | 188 | py | Python | interface/Python/b1.py | zephms/multilanguage | d007204f450b125a8416220ee4ad06a9a3a1ebe0 | [
"MIT"
] | null | null | null | interface/Python/b1.py | zephms/multilanguage | d007204f450b125a8416220ee4ad06a9a3a1ebe0 | [
"MIT"
] | null | null | null | interface/Python/b1.py | zephms/multilanguage | d007204f450b125a8416220ee4ad06a9a3a1ebe0 | [
"MIT"
] | null | null | null | # v0.1.1
print("这里是b1")
import mlp as mlp
cm = mlp.MLManager("8083")
cm.waitForServer()
cm.waitForSignal("start", "1")
while True:
get = cm.get("a-b1")
print("b1获取到数据:", get)
| 12.533333 | 30 | 0.62234 | 29 | 188 | 4.034483 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070968 | 0.175532 | 188 | 14 | 31 | 13.428571 | 0.683871 | 0.031915 | 0 | 0 | 0 | 0 | 0.150838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1dc644a785ec1a60191a9a4aa22816a1f6fb641 | 1,311 | py | Python | python/pluralsight-intro2flask/thermos/test/thermos_test.py | renweizhukov/learning-ml | 0047d09ee2924f010dd868a454aedb7e098d6d74 | [
"Apache-2.0"
] | null | null | null | python/pluralsight-intro2flask/thermos/test/thermos_test.py | renweizhukov/learning-ml | 0047d09ee2924f010dd868a454aedb7e098d6d74 | [
"Apache-2.0"
] | null | null | null | python/pluralsight-intro2flask/thermos/test/thermos_test.py | renweizhukov/learning-ml | 0047d09ee2924f010dd868a454aedb7e098d6d74 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import url_for
from flask_testing import TestCase
import thermos
from thermos.models import User, Bookmark
class ThermosTestCase(TestCase):
def create_app(self):
return thermos.create_app('test')
def setUp(self):
self.db = thermos.db
se... | 28.5 | 76 | 0.556064 | 153 | 1,311 | 4.653595 | 0.431373 | 0.042135 | 0.054775 | 0.044944 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005612 | 0.320366 | 1,311 | 45 | 77 | 29.133333 | 0.79349 | 0.016018 | 0 | 0 | 0 | 0 | 0.098602 | 0.017857 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.117647 | false | 0.058824 | 0.117647 | 0.029412 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
a1dff1f280f794a7ddcaa8cb7847e57160e5e2d5 | 4,401 | py | Python | cloud_deployer/openstack_handlers/subnet.py | abualy/cloud-deployer | fb7c5df361f4be71b04d87992bdf63fd3f5f1c94 | [
"MIT"
] | 1 | 2022-03-02T02:26:49.000Z | 2022-03-02T02:26:49.000Z | cloud_deployer/openstack_handlers/subnet.py | abualy/cloud-deployer | fb7c5df361f4be71b04d87992bdf63fd3f5f1c94 | [
"MIT"
] | null | null | null | cloud_deployer/openstack_handlers/subnet.py | abualy/cloud-deployer | fb7c5df361f4be71b04d87992bdf63fd3f5f1c94 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#import modules
import csv
from netaddr import IPNetwork
from neutronclient.v2_0 import client as neutronclient
#Create a new Subnet
def subnet_create(credentials, my_csv, dns_servers, external_pool, archi, tags=None):
#open csv file and read each row as dictionary
subnet_file = open(my... | 60.287671 | 249 | 0.589866 | 505 | 4,401 | 4.908911 | 0.207921 | 0.112949 | 0.057685 | 0.038322 | 0.466317 | 0.343284 | 0.283582 | 0.257765 | 0.205325 | 0.181525 | 0 | 0.00297 | 0.234947 | 4,401 | 73 | 250 | 60.287671 | 0.733294 | 0.059532 | 0 | 0.076923 | 0 | 0 | 0.240252 | 0.013805 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.019231 | 0.057692 | null | null | 0.134615 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1e3ccf379d77dfecf711ddd3f5468ccef46cd1f | 6,816 | py | Python | myblog/settings.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | 1 | 2018-09-25T09:11:17.000Z | 2018-09-25T09:11:17.000Z | myblog/settings.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | null | null | null | myblog/settings.py | Samurai-XHe/myblog | c9e182b84c3cb06b3207e7359f0a4d352c28d043 | [
"MIT"
] | null | null | null | """
Django settings for myblog project.
Generated by 'django-admin startproject' using Django 2.0.6.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import os,re
... | 29.764192 | 110 | 0.667107 | 670 | 6,816 | 6.649254 | 0.48806 | 0.046689 | 0.034568 | 0.039282 | 0.179349 | 0.164534 | 0.087767 | 0.087767 | 0.05477 | 0 | 0 | 0.014309 | 0.179724 | 6,816 | 228 | 111 | 29.894737 | 0.782508 | 0.302523 | 0 | 0.073171 | 1 | 0 | 0.515085 | 0.278573 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.04065 | 0.01626 | 0 | 0.01626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1eaa30f9be56b5b3b7305ccfc6a75182cfac992 | 708 | py | Python | website/migrations/0014_auto_20170105_1151.py | CrowdcoinSA/crowdcoin-platform | 72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9 | [
"MIT"
] | null | null | null | website/migrations/0014_auto_20170105_1151.py | CrowdcoinSA/crowdcoin-platform | 72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9 | [
"MIT"
] | 7 | 2020-02-12T00:10:22.000Z | 2022-01-13T00:43:13.000Z | website/migrations/0014_auto_20170105_1151.py | CrowdcoinSA/crowdcoin-platform | 72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9 | [
"MIT"
] | 1 | 2020-10-05T12:20:19.000Z | 2020-10-05T12:20:19.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2017-01-05 09:51
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('website', '0013_auto_20170105_1113'),
]
operations = [
migra... | 26.222222 | 117 | 0.621469 | 75 | 708 | 5.706667 | 0.653333 | 0.093458 | 0.116822 | 0.135514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095785 | 0.262712 | 708 | 26 | 118 | 27.230769 | 0.724138 | 0.094633 | 0 | 0.210526 | 1 | 0 | 0.115987 | 0.03605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1eabd4513f192dc23fde537d21659e8558f32d6 | 46,533 | py | Python | intersight/models/storage_virtual_drive.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 21 | 2018-03-29T14:20:35.000Z | 2021-10-13T05:11:41.000Z | intersight/models/storage_virtual_drive.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 14 | 2018-01-30T15:45:46.000Z | 2022-02-23T14:23:21.000Z | intersight/models/storage_virtual_drive.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 18 | 2018-01-03T15:09:56.000Z | 2021-07-16T02:21:54.000Z | # coding: utf-8
"""
Cisco Intersight OpenAPI specification.
The Cisco Intersight OpenAPI specification.
OpenAPI spec version: 1.0.9-1461
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class StorageVirtualDri... | 31.569199 | 958 | 0.640277 | 5,242 | 46,533 | 5.487409 | 0.063144 | 0.04422 | 0.177299 | 0.023049 | 0.660003 | 0.525395 | 0.43765 | 0.328976 | 0.271719 | 0.25385 | 0 | 0.000634 | 0.288698 | 46,533 | 1,473 | 959 | 31.590631 | 0.868425 | 0.425419 | 0 | 0.088333 | 1 | 0 | 0.093934 | 0.015473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18 | false | 0 | 0.005 | 0 | 0.285 | 0.001667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1efb8bc9cddb55260b0ba8dd547a589ab1bab4f | 887 | py | Python | tests/test_init.py | Nagidal/starter | 107aca109b26cbeb431920268b7edc8f9c4fbe58 | [
"MIT"
] | null | null | null | tests/test_init.py | Nagidal/starter | 107aca109b26cbeb431920268b7edc8f9c4fbe58 | [
"MIT"
] | null | null | null | tests/test_init.py | Nagidal/starter | 107aca109b26cbeb431920268b7edc8f9c4fbe58 | [
"MIT"
] | null | null | null | #!/usr/bin/env
import datetime
import starter
import pytest
import pathlib
import sys
@pytest.mark.skipif(pathlib.Path(sys.prefix) != pathlib.Path(r"C:\ProgramData\Anaconda3\envs\starter"), reason="Test only in native enironment")
def test_date():
starter_date = datetime.datetime.strptime(starter.__date__, "%Y-... | 30.586207 | 144 | 0.741826 | 123 | 887 | 4.96748 | 0.357724 | 0.090016 | 0.08347 | 0.0491 | 0.153846 | 0.153846 | 0.121113 | 0.121113 | 0.121113 | 0 | 0 | 0.001311 | 0.139797 | 887 | 28 | 145 | 31.678571 | 0.799476 | 0.014656 | 0 | 0 | 0 | 0 | 0.22795 | 0.042383 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.157895 | false | 0 | 0.263158 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1f59007d0f1e49929dc6048b21790432359ff99 | 2,986 | py | Python | coltune_script.py | shijin-aws/ompi-collectives-tuning | 0e9dc6fb713ddabf6ddcf3c829b4567e5b1a19ad | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | coltune_script.py | shijin-aws/ompi-collectives-tuning | 0e9dc6fb713ddabf6ddcf3c829b4567e5b1a19ad | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | coltune_script.py | shijin-aws/ompi-collectives-tuning | 0e9dc6fb713ddabf6ddcf3c829b4567e5b1a19ad | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2020 Amazon.com, Inc. or its affiliates. All Rights
# reserved.
#
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
import os
import sys
imb_collectives = ["reduce_scatter_block"]
def main():
from os import system
from sys im... | 35.547619 | 147 | 0.567649 | 365 | 2,986 | 4.364384 | 0.358904 | 0.045198 | 0.048964 | 0.057753 | 0.096673 | 0.067797 | 0.067797 | 0.037665 | 0 | 0 | 0 | 0.004306 | 0.300067 | 2,986 | 83 | 148 | 35.975904 | 0.757895 | 0.060281 | 0 | 0.083333 | 0 | 0 | 0.19356 | 0.03542 | 0.016667 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | null | null | 0.233333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
a1ff3b1a223b5c41a8ceda64a89c1284cce67b06 | 896 | py | Python | django/bitcoin_monitor/celery.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | 1 | 2020-01-01T15:54:45.000Z | 2020-01-01T15:54:45.000Z | django/bitcoin_monitor/celery.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | 13 | 2019-02-28T03:24:54.000Z | 2021-09-22T17:50:00.000Z | django/bitcoin_monitor/celery.py | chanhosuh/bitcoin-monitor | acecfcf020cf2debfdf3a2e8c446007d7412d8e1 | [
"MIT"
] | null | null | null | import os
import celery.signals
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'bitcoin_monitor.settings')
app = Celery('bitcoin_monitor')
# Using a string here means the workers don't have to serialize
# the configuration object to child processes.
app.config_from_object('django.conf:set... | 23.578947 | 75 | 0.732143 | 126 | 896 | 5.103175 | 0.611111 | 0.065319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001348 | 0.171875 | 896 | 37 | 76 | 24.216216 | 0.865229 | 0.427455 | 0 | 0 | 0 | 0 | 0.217672 | 0.099138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.071429 | 0.214286 | 0 | 0.428571 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b802a0f52547afd87bfebf70723c7e87bbd34ced | 816 | py | Python | qtile/settings/mouse.py | pblcc/dotfiles | e4f121e657289481dba3249726f2ddd95eeb5260 | [
"Apache-2.0"
] | null | null | null | qtile/settings/mouse.py | pblcc/dotfiles | e4f121e657289481dba3249726f2ddd95eeb5260 | [
"Apache-2.0"
] | 2 | 2021-04-07T17:20:14.000Z | 2021-04-07T17:20:17.000Z | qtile/settings/mouse.py | pblcc/dotfiles | e4f121e657289481dba3249726f2ddd95eeb5260 | [
"Apache-2.0"
] | 2 | 2021-06-04T21:51:21.000Z | 2022-01-01T19:53:31.000Z | """
This module contains the python script that defines the configuration
of the mouse for my Qtile configuration.
For more information check: github.com/pablocorbalann/dotfiles/tree/main/qtile
"""
# Imports (just qtile)
from libqtile.config import Drag, Click
from libqtile.command import lazy
from settings.keys imp... | 24.727273 | 78 | 0.685049 | 106 | 816 | 5.198113 | 0.632075 | 0.090744 | 0.047187 | 0.083485 | 0.094374 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004688 | 0.215686 | 816 | 32 | 79 | 25.5 | 0.85625 | 0.436275 | 0 | 0.333333 | 0 | 0 | 0.046875 | 0 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b803247d113e003b0c4609d75cd6bcfd6b167d12 | 1,950 | py | Python | venv/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py | Gabs-Leo/Kay-O.Time.Limiter | 5cdc6ebd0a5117478d3bc5d3883098b4a532d671 | [
"MIT"
] | 10 | 2021-09-15T16:29:59.000Z | 2022-01-15T11:51:56.000Z | activate/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py | Tanushree28/Cyberbullying-Detection | 3a69ade5cf068b640a0d6d1f176ff0d0e2040501 | [
"MIT"
] | 9 | 2021-08-14T01:27:36.000Z | 2021-08-24T18:10:18.000Z | activate/Lib/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py | Tanushree28/Cyberbullying-Detection | 3a69ade5cf068b640a0d6d1f176ff0d0e2040501 | [
"MIT"
] | 4 | 2021-07-13T19:44:06.000Z | 2021-08-13T07:49:35.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2021, PyInstaller Development Team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# The full license is in the file COPYING.txt, distr... | 37.5 | 78 | 0.638462 | 225 | 1,950 | 5.382222 | 0.497778 | 0.082576 | 0.039637 | 0.029728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007787 | 0.209744 | 1,950 | 51 | 79 | 38.235294 | 0.778066 | 0.550256 | 0 | 0.105263 | 0 | 0 | 0.018757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.157895 | 0.157895 | 0 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
b80998acdaf1dee9e791fe4acdc8b6d45256ca8c | 804 | py | Python | pyqt/svg/generate.py | smartnova/samples | c665cbaa07d05191323cea206cf73f630cf58b74 | [
"BSD-3-Clause"
] | null | null | null | pyqt/svg/generate.py | smartnova/samples | c665cbaa07d05191323cea206cf73f630cf58b74 | [
"BSD-3-Clause"
] | 7 | 2019-03-09T07:02:55.000Z | 2022-03-12T00:44:21.000Z | pyqt/svg/generate.py | smartnova/samples | c665cbaa07d05191323cea206cf73f630cf58b74 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# svgwrite Documentation: https://svgwrite.readthedocs.io/en/master/
import svgwrite as svg
g = svg.Drawing('sample.svg', profile='tiny')
g.add(g.line((0, 10), (100, 10), stroke=svg.rgb(20, 20, 80, '%')))
g.add(g.text('Testing', insert=(0, 23), fill='red'))
g.add(g.polyline([(0, 30), (10, 40), ... | 36.545455 | 122 | 0.572139 | 168 | 804 | 2.732143 | 0.315476 | 0.087146 | 0.104575 | 0.122004 | 0.20915 | 0.20915 | 0.20915 | 0.20915 | 0.20915 | 0.20915 | 0 | 0.157746 | 0.116915 | 804 | 21 | 123 | 38.285714 | 0.488732 | 0.108209 | 0 | 0.266667 | 0 | 0 | 0.07972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 |
b809bfcddbe3c81d04a19095f7a8c6cb41be45ec | 3,650 | py | Python | zlmdb/_schema.py | isabella232/zlmdb | a3d536667bda6b1f0b81b0fcc40aa0a5928da121 | [
"MIT"
] | 23 | 2018-06-14T16:22:47.000Z | 2022-03-30T02:27:33.000Z | zlmdb/_schema.py | oberstet/zlmdb | f39a8ceb14ff3b8b2c1dee4c4d22ff3f92f18caf | [
"MIT"
] | 45 | 2018-09-22T22:01:48.000Z | 2022-03-26T03:34:27.000Z | zlmdb/_schema.py | isabella232/zlmdb | a3d536667bda6b1f0b81b0fcc40aa0a5928da121 | [
"MIT"
] | 11 | 2018-09-13T17:52:13.000Z | 2022-02-15T06:36:20.000Z | ###############################################################################
#
# The MIT License (MIT)
#
# Copyright (c) Crossbar.io Technologies GmbH
#
# 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 ... | 28.740157 | 100 | 0.612055 | 454 | 3,650 | 4.762115 | 0.394273 | 0.040703 | 0.030065 | 0.020814 | 0.016651 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004516 | 0.272055 | 3,650 | 126 | 101 | 28.968254 | 0.809183 | 0.448493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.085714 | 1 | 0.114286 | false | 0 | 0.028571 | 0 | 0.485714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.