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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e0d346534f0cd20c64f85f0fdb70567bfe1e8d7 | 354 | py | Python | Aulas/Aula1_print.py | alessonsousa/Python3 | 49600ff4368f999c0fb608c796e2d11942edf09f | [
"MIT"
] | null | null | null | Aulas/Aula1_print.py | alessonsousa/Python3 | 49600ff4368f999c0fb608c796e2d11942edf09f | [
"MIT"
] | null | null | null | Aulas/Aula1_print.py | alessonsousa/Python3 | 49600ff4368f999c0fb608c796e2d11942edf09f | [
"MIT"
] | null | null | null | #Para mostra qualquer coisa na tela, Você usa o print()
print('Alesson', 'Sousa', sep='_')# O função sep='-' fala para o print o que colocar para separa os nome
print('Alesson', 'Sousa', sep='_', end='\n')#esse end='' é para fala o que vc quer no final da linha do print
#Exemplo
#123.456.789-00
print('123','456','7... | 32.181818 | 109 | 0.652542 | 62 | 354 | 3.693548 | 0.580645 | 0.052402 | 0.148472 | 0.174672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073333 | 0.152542 | 354 | 11 | 110 | 32.181818 | 0.69 | 0.587571 | 0 | 0 | 0 | 0 | 0.288732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
4e15cecc08b1cde9ac107937e12fe6ec9240cb6d | 190 | py | Python | api/suids/urls.py | CenterForOpenScience/SHARE | c7715af2881f6fa23197d4e7c381d90169a90ed1 | [
"Apache-2.0"
] | 87 | 2015-01-06T18:24:45.000Z | 2021-08-08T07:59:40.000Z | api/suids/urls.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 442 | 2015-01-01T19:16:01.000Z | 2022-03-30T21:10:26.000Z | api/suids/urls.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 67 | 2015-03-10T16:32:58.000Z | 2021-11-12T16:33:41.000Z | from rest_framework.routers import SimpleRouter
from api.suids import views
router = SimpleRouter()
router.register(r'suids', views.SuidViewSet, basename='suid')
urlpatterns = router.urls
| 23.75 | 61 | 0.805263 | 24 | 190 | 6.333333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 190 | 7 | 62 | 27.142857 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4e269250407fa19774fcf1e0e1854392032b9961 | 569 | py | Python | pyrecard/subscription/plan.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | 6 | 2020-09-03T12:56:49.000Z | 2020-09-03T13:28:31.000Z | pyrecard/subscription/plan.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | 4 | 2020-08-25T15:28:54.000Z | 2020-08-31T17:08:13.000Z | pyrecard/subscription/plan.py | DiegoMagg/pyrecard | 4a7adc0342703b4eae6c42eabd2f7cd5e1a4d10f | [
"MIT"
] | null | null | null | from pyrecard.utils.pyrequest import pyrequest
PLAN_PATH = '/assinaturas/v1/plans'
def create(json):
return pyrequest('POST', PLAN_PATH, json)
def alter(plan_code, json):
return pyrequest('PUT', f'{PLAN_PATH}/{plan_code}', json)
def activate(plan_code):
return pyrequest('PUT', f'{PLAN_PATH}/{plan_co... | 19.62069 | 66 | 0.706503 | 80 | 569 | 4.825 | 0.3 | 0.165803 | 0.093264 | 0.134715 | 0.357513 | 0.313472 | 0.313472 | 0.313472 | 0.222798 | 0.222798 | 0 | 0.002037 | 0.137083 | 569 | 28 | 67 | 20.321429 | 0.784114 | 0 | 0 | 0 | 0 | 0 | 0.267135 | 0.233743 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.071429 | 0.428571 | 0.928571 | 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 | 1 | 1 | 0 | 0 | 3 |
4e363f620d0dd72062004bc406ce4122903589f9 | 7,414 | py | Python | socialdistribution/api/adapters.py | CMPUT404-F21T0/CMPUT404-Project-BetterSocial | 04a621915108a434d50e900165cefdb0d4cca45c | [
"Apache-2.0"
] | null | null | null | socialdistribution/api/adapters.py | CMPUT404-F21T0/CMPUT404-Project-BetterSocial | 04a621915108a434d50e900165cefdb0d4cca45c | [
"Apache-2.0"
] | 2 | 2021-10-29T20:18:57.000Z | 2021-12-04T14:57:34.000Z | socialdistribution/api/adapters.py | CMPUT404-F21T0/CMPUT404-Project-BetterSocial | 04a621915108a434d50e900165cefdb0d4cca45c | [
"Apache-2.0"
] | null | null | null | from typing import Dict, Union, Optional
from uuid import UUID
import requests
from requests.auth import HTTPBasicAuth
from yarl import URL
class BaseAdapter:
"""Default handlers for a given node connection. Methods should be overridden for each team, as needed."""
def __init__(self) -> None:
super(... | 37.256281 | 128 | 0.626652 | 916 | 7,414 | 4.872271 | 0.118996 | 0.145642 | 0.081559 | 0.075286 | 0.735604 | 0.711181 | 0.683173 | 0.646426 | 0.646426 | 0.646426 | 0 | 0.002325 | 0.245751 | 7,414 | 198 | 129 | 37.444444 | 0.79578 | 0.026302 | 0 | 0.456522 | 0 | 0 | 0.033971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0.057971 | 0.036232 | 0.057971 | 0.427536 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9d84b7b6381a6f3c016023bcfd74caa6a922fa9b | 625 | py | Python | tests/test_jupyter_integration.py | boeddeker/graphviz | acf79bca4518781cad02c102e89ec4e9ce757088 | [
"MIT"
] | null | null | null | tests/test_jupyter_integration.py | boeddeker/graphviz | acf79bca4518781cad02c102e89ec4e9ce757088 | [
"MIT"
] | null | null | null | tests/test_jupyter_integration.py | boeddeker/graphviz | acf79bca4518781cad02c102e89ec4e9ce757088 | [
"MIT"
] | null | null | null | import pytest
from graphviz import jupyter_integration
def test_get_jupyter_format_mimetype_invalid_raises_unknown():
with pytest.raises(ValueError, match=r'unknown'):
jupyter_integration.get_jupyter_format_mimetype('Brian!')
def test_get_jupyter_mimetype_format_normalizes():
assert jupyter_integra... | 32.894737 | 78 | 0.808 | 76 | 625 | 6.184211 | 0.355263 | 0.148936 | 0.178723 | 0.238298 | 0.621277 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1136 | 625 | 18 | 79 | 34.722222 | 0.848375 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.272727 | true | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9d874b69262d199893f7832d8c3dfc78745d2cab | 544 | py | Python | sarsa.py | lukaspestalozzi/URLNN-Project2 | 425d3a14f063d91ae4b6183aa866fa074dc1d791 | [
"MIT"
] | null | null | null | sarsa.py | lukaspestalozzi/URLNN-Project2 | 425d3a14f063d91ae4b6183aa866fa074dc1d791 | [
"MIT"
] | null | null | null | sarsa.py | lukaspestalozzi/URLNN-Project2 | 425d3a14f063d91ae4b6183aa866fa074dc1d791 | [
"MIT"
] | null | null | null |
import mountaincar as mc
import numpy as np
from collections import namedtuple
from collections import defaultdict
import matplotlib.pylab as plb
import matplotlib.pyplot as plt
from time import time
State = namedtuple('State', ['x', 'v'])
class SarsaMountainCar(object):
def __init__(self, learning_rate=0.1, rew... | 24.727273 | 85 | 0.740809 | 72 | 544 | 5.402778 | 0.513889 | 0.092545 | 0.107969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015837 | 0.1875 | 544 | 21 | 86 | 25.904762 | 0.864253 | 0 | 0 | 0 | 0 | 0 | 0.012891 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0.066667 | 0.466667 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
9d9d2695df7ed5d007311b6af26fc83339dd2f8b | 526 | py | Python | src/test/python/loader_native.py | dlech/xlang | ace2c924cc1fbecd05804866e183124cbb73bd48 | [
"MIT"
] | null | null | null | src/test/python/loader_native.py | dlech/xlang | ace2c924cc1fbecd05804866e183124cbb73bd48 | [
"MIT"
] | null | null | null | src/test/python/loader_native.py | dlech/xlang | ace2c924cc1fbecd05804866e183124cbb73bd48 | [
"MIT"
] | 1 | 2022-01-23T06:01:40.000Z | 2022-01-23T06:01:40.000Z | import sys
sys.path.append("./generated")
sys.path.append("../../package/pywinrt/projection/pywinrt")
import _winrt
_winrt.init_apartment(_winrt.MTA)
def import_ns(ns):
import importlib.machinery
import importlib.util
module_name = "_winrt_" + ns.replace('.', '_')
loader = importlib.machinery.Extensio... | 30.941176 | 82 | 0.747148 | 65 | 526 | 5.723077 | 0.415385 | 0.104839 | 0.069892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127376 | 526 | 16 | 83 | 32.875 | 0.810458 | 0 | 0 | 0 | 1 | 0 | 0.114068 | 0.076046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.571429 | 0 | 0.714286 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
9da16db4956d4af0439ae0a5ca6c02568b1d609f | 53,171 | py | Python | src/pytris.py | CSID-DGU/2019-2-OSSPC-MDJ-1 | 2987e11b65bc9e31a30cadd39eea4214e2261998 | [
"MIT"
] | 1 | 2019-09-24T04:55:29.000Z | 2019-09-24T04:55:29.000Z | src/pytris.py | CSID-DGU/2019-2-OSSPC-MDJ-1 | 2987e11b65bc9e31a30cadd39eea4214e2261998 | [
"MIT"
] | null | null | null | src/pytris.py | CSID-DGU/2019-2-OSSPC-MDJ-1 | 2987e11b65bc9e31a30cadd39eea4214e2261998 | [
"MIT"
] | 7 | 2019-09-24T05:14:24.000Z | 2019-12-10T04:15:28.000Z | #!/usr/bin/env python
# coding: utf-8
import pygame
import operator
from mino import *
from random import *
from pygame.locals import *
from ui import *
from screeninfo import get_monitors
from pygame.surface import Surface
import sys
from function import *
#화면크기 조정
screen_width = 0
screen_height = 0
for m in get_m... | 41.313908 | 179 | 0.514134 | 6,714 | 53,171 | 3.841823 | 0.063896 | 0.065674 | 0.056951 | 0.040862 | 0.802512 | 0.753702 | 0.714856 | 0.650229 | 0.61964 | 0.577188 | 0 | 0.045269 | 0.383875 | 53,171 | 1,286 | 180 | 41.346034 | 0.74188 | 0.025992 | 0 | 0.627789 | 0 | 0 | 0.018535 | 0.005719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006085 | false | 0 | 0.010142 | 0 | 0.016227 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9da1ed6becdb22c4f8292e530b55e6268710e72f | 1,346 | py | Python | tests/test_status.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | 5 | 2020-06-03T09:30:15.000Z | 2021-12-14T23:48:47.000Z | tests/test_status.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | 2 | 2021-03-19T07:37:57.000Z | 2021-06-18T11:54:46.000Z | tests/test_status.py | ehdgua01/blocksync | da0198dde87d284ea3c9472c10f51028e05014a0 | [
"MIT"
] | null | null | null | from blocksync._consts import ByteSizes
from blocksync._status import Blocks
def test_initialize_status(fake_status):
# Expect: Set chunk size
assert fake_status.chunk_size == fake_status.src_size // fake_status.workers
def test_add_block(fake_status):
# Expect: Add each blocks and calculate done block
... | 30.590909 | 80 | 0.724368 | 204 | 1,346 | 4.509804 | 0.22549 | 0.304348 | 0.197826 | 0.273913 | 0.543478 | 0.543478 | 0.436957 | 0.436957 | 0.419565 | 0.419565 | 0 | 0.035009 | 0.172363 | 1,346 | 43 | 81 | 31.302326 | 0.790844 | 0.173106 | 0 | 0.592593 | 0 | 0 | 0.050633 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | false | 0 | 0.074074 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9da20747a22e24702a7eb51c79e588aff84309dd | 275 | py | Python | tests/helpers.py | hawkfish/sudoku | eaae1aa3080032266db0fcfc8a6520a9cb5690fe | [
"MIT"
] | null | null | null | tests/helpers.py | hawkfish/sudoku | eaae1aa3080032266db0fcfc8a6520a9cb5690fe | [
"MIT"
] | null | null | null | tests/helpers.py | hawkfish/sudoku | eaae1aa3080032266db0fcfc8a6520a9cb5690fe | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import os
def readFixture(sdk):
f = open(os.path.join('tests', 'fixtures', sdk), 'r')
lines = f.readlines()
f.close()
return [ line.strip('\n') for line in lines]
def valuesFromDisplay(display):
return [value-1 for value in display]
| 21.153846 | 57 | 0.643636 | 40 | 275 | 4.425 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.192727 | 275 | 12 | 58 | 22.916667 | 0.788288 | 0.061818 | 0 | 0 | 0 | 0 | 0.062257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 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 | 1 | 1 | 0 | 0 | 3 |
9dcae389894300bd7f91c57ac11fc79ac0e2fd30 | 14,770 | py | Python | backend/core/migrations/0001_initial.py | mashuq/academia | 571b3db58de4a70210ebd9d92c0f152016aec861 | [
"Unlicense"
] | null | null | null | backend/core/migrations/0001_initial.py | mashuq/academia | 571b3db58de4a70210ebd9d92c0f152016aec861 | [
"Unlicense"
] | null | null | null | backend/core/migrations/0001_initial.py | mashuq/academia | 571b3db58de4a70210ebd9d92c0f152016aec861 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-25 05:46
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('cont... | 47.491961 | 207 | 0.561882 | 1,369 | 14,770 | 5.913806 | 0.119065 | 0.032609 | 0.055336 | 0.086957 | 0.740983 | 0.713809 | 0.684906 | 0.679718 | 0.661314 | 0.642416 | 0 | 0.009835 | 0.290928 | 14,770 | 310 | 208 | 47.645161 | 0.763201 | 0.003047 | 0 | 0.693069 | 1 | 0 | 0.134619 | 0.007132 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009901 | 0 | 0.023102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ddcc75effef9735c94806309f3290c831fcccf5 | 219 | py | Python | UnityEngine/HideFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/HideFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/HideFlags/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class HideFlags:
def __new__(cls, arg1=None):
'''
:returns: HideFlags
:rtype: UnityEngine.HideFlags
'''
pass
| 18.25 | 37 | 0.611872 | 21 | 219 | 6.190476 | 0.714286 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.30137 | 219 | 11 | 38 | 19.909091 | 0.843137 | 0.223744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
d1a20a252ae1bd2bda733e48649244f828568be5 | 2,840 | py | Python | S4/S4 Library/generated/protocolbuffers/ResourceKey_pb2.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/generated/protocolbuffers/ResourceKey_pb2.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/generated/protocolbuffers/ResourceKey_pb2.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
DESCRIPTOR = descriptor.FileDescriptor(name='ResourceKey.proto', package='EA.Sims4.Network', serialized_pb='\n\x11ResourceKey.proto\x12\x10EA.Sims4.Network"<\n\x0b... | 167.058824 | 1,189 | 0.817254 | 384 | 2,840 | 5.838542 | 0.239583 | 0.049955 | 0.049955 | 0.040143 | 0.648082 | 0.604371 | 0.400089 | 0.400089 | 0.400089 | 0.400089 | 0 | 0.038604 | 0.051408 | 2,840 | 16 | 1,190 | 177.5 | 0.793615 | 0 | 0 | 0 | 0 | 0.071429 | 0.221831 | 0.175352 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d1a8c0ef8c78390a7389441f044f0c0970746917 | 529 | py | Python | src/Python/701-800/744.NextGreatestLetter.py | Peefy/PeefyLeetCode | 92156e4b48ba19e3f02e4286b9f733e9769a1dee | [
"Apache-2.0"
] | 2 | 2018-05-03T07:50:03.000Z | 2018-06-17T04:32:13.000Z | src/Python/701-800/744.NextGreatestLetter.py | Peefy/PeefyLeetCode | 92156e4b48ba19e3f02e4286b9f733e9769a1dee | [
"Apache-2.0"
] | null | null | null | src/Python/701-800/744.NextGreatestLetter.py | Peefy/PeefyLeetCode | 92156e4b48ba19e3f02e4286b9f733e9769a1dee | [
"Apache-2.0"
] | 3 | 2018-11-09T14:18:11.000Z | 2021-11-17T15:23:52.000Z |
class Solution:
def nextGreatestLetter(self, letters, target):
"""
:type letters: List[str]
:type target: str
:rtype: str
"""
for l in letters:
if l > target:
return l
return letters[0]
if __name__ == '__main__':
solution = S... | 23 | 60 | 0.529301 | 56 | 529 | 4.857143 | 0.482143 | 0.143382 | 0.341912 | 0.352941 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.002717 | 0.304348 | 529 | 22 | 61 | 24.045455 | 0.736413 | 0.102079 | 0 | 0 | 0 | 0 | 0.046189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0 | 0 | 0.307692 | 0.230769 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d1ac6a90c4729800926b6568f7d2006371d58651 | 540 | py | Python | it/versions/structures/default/python/bar/v2_1.py | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | null | null | null | it/versions/structures/default/python/bar/v2_1.py | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | null | null | null | it/versions/structures/default/python/bar/v2_1.py | nezdolik/reproto | 2d69d8efca518a6ea23a4182b29872fcc62a1a71 | [
"Apache-2.0",
"MIT"
] | null | null | null | class Other:
def __init__(self, name21):
self.name21 = name21
def get_name21(self):
return self.name21
@staticmethod
def decode(data):
f_name21 = data["name21"]
if not isinstance(f_name21, unicode):
raise Exception("not a string")
return Other(f_name21)
def encode(self):
dat... | 18.62069 | 52 | 0.648148 | 72 | 540 | 4.694444 | 0.402778 | 0.177515 | 0.094675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.233333 | 540 | 28 | 53 | 19.285714 | 0.743961 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.105263 | 0.526316 | 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 | 1 | 1 | 0 | 0 | 3 |
d1e1409d73a3d66b1d9667d3a5d80cc9f1d444f5 | 1,915 | py | Python | modele/Case.py | JordanSamhi/BricksBreaker | e2efb28e5ec43056e9665479920523576c692a6b | [
"MIT"
] | null | null | null | modele/Case.py | JordanSamhi/BricksBreaker | e2efb28e5ec43056e9665479920523576c692a6b | [
"MIT"
] | null | null | null | modele/Case.py | JordanSamhi/BricksBreaker | e2efb28e5ec43056e9665479920523576c692a6b | [
"MIT"
] | null | null | null | '''
Une case est definie par sa couleur,
ses coordonnees et un acces a la grille
pour recuperer ses voisins
'''
class Case():
def __init__(self, x, y, couleur, grille):
self._x = x
self._y = y
self._couleur = couleur
self._grille = grille
self.GREY = "g... | 26.232877 | 79 | 0.515927 | 223 | 1,915 | 4.264574 | 0.224215 | 0.138801 | 0.088328 | 0.084122 | 0.256572 | 0.256572 | 0.197687 | 0.197687 | 0.197687 | 0.168244 | 0 | 0.013289 | 0.371279 | 1,915 | 73 | 80 | 26.232877 | 0.776578 | 0.053786 | 0 | 0.235294 | 0 | 0 | 0.004648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.117647 | 0.686275 | 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 | 1 | 1 | 0 | 0 | 3 |
d1e30a27cb089668fb5805462b206c1f85c6621d | 2,900 | py | Python | tests/test_markdown.py | tripleee/ChatExchange | 5509c7ec1efd5b55d4051d6966bcae7d72e84620 | [
"Apache-2.0",
"MIT"
] | 64 | 2015-02-26T02:56:57.000Z | 2021-11-07T20:40:11.000Z | tests/test_markdown.py | tripleee/ChatExchange | 5509c7ec1efd5b55d4051d6966bcae7d72e84620 | [
"Apache-2.0",
"MIT"
] | 53 | 2015-01-29T03:37:23.000Z | 2021-08-15T11:09:05.000Z | tests/test_markdown.py | tripleee/ChatExchange | 5509c7ec1efd5b55d4051d6966bcae7d72e84620 | [
"Apache-2.0",
"MIT"
] | 39 | 2015-02-11T16:37:40.000Z | 2021-01-12T18:53:40.000Z | import sys
import logging
if sys.version_info[:2] <= (2, 6):
logging.Logger.getChild = lambda self, suffix:\
self.manager.getLogger('.'.join((self.name, suffix)) if self.root is not self else suffix)
import pytest
from chatexchange.markdown_detector import markdown
logger = logging.getLogger(__name__)
... | 48.333333 | 98 | 0.671724 | 406 | 2,900 | 4.780788 | 0.251232 | 0.238022 | 0.241113 | 0.11592 | 0.472437 | 0.277177 | 0.161257 | 0.0644 | 0.046368 | 0.046368 | 0 | 0.002118 | 0.185862 | 2,900 | 59 | 99 | 49.152542 | 0.819992 | 0.141724 | 0 | 0.090909 | 0 | 0 | 0.402178 | 0.058895 | 0 | 0 | 0 | 0 | 0.704545 | 1 | 0.022727 | false | 0 | 0.090909 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d1e35468812dfeba245515055cc9981eeb5b168b | 313 | py | Python | test.py | QBitor/Neuromorphic_AE_Tools | b20f5f931e82888dfc4eebd7b19b2746d142d4bb | [
"MIT"
] | 4 | 2019-02-19T14:19:14.000Z | 2019-07-29T02:46:47.000Z | test.py | ndouard/Neuromorphic_AE_Tools | b20f5f931e82888dfc4eebd7b19b2746d142d4bb | [
"MIT"
] | null | null | null | test.py | ndouard/Neuromorphic_AE_Tools | b20f5f931e82888dfc4eebd7b19b2746d142d4bb | [
"MIT"
] | 2 | 2018-03-05T22:52:53.000Z | 2018-09-13T21:47:00.000Z | x_indexes = [i for i, j in enumerate(xaddr)] if j == myxaddr]
y_indexes = [i for i, j in enumerate(yaddr)] if j == myyaddr]
print('x_indexes: ' + str(x_indexes))
print('y_indexes:' +str(y_indexes))
# keep common indexes
common = [i for i, j in zip(x_indexes, y_indexes) if i == j]
print('common: ' + str(common))
| 39.125 | 61 | 0.670927 | 57 | 313 | 3.54386 | 0.315789 | 0.158416 | 0.074257 | 0.089109 | 0.277228 | 0.237624 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0.162939 | 313 | 7 | 62 | 44.714286 | 0.770992 | 0 | 0 | 0 | 0 | 0 | 0.099315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
061412d3ce5243bc277fe70e0a5760f272906364 | 233 | py | Python | Django/env_python3.6.1/Lib/site-packages/setupfiles/__init__.py | archu2020/python-2 | 19c626ca9fd37168db8a7ac075fd80c8e2971313 | [
"Apache-2.0"
] | 48 | 2017-12-24T12:19:55.000Z | 2022-02-26T13:14:27.000Z | Django/env_python3.6.1/Lib/site-packages/setupfiles/__init__.py | 17610178081/python | 3975c678d985c468deecd03560d882e9d316bb63 | [
"Apache-2.0"
] | 6 | 2017-11-10T19:45:18.000Z | 2017-11-12T14:50:42.000Z | Django/env_python3.6.1/Lib/site-packages/setupfiles/__init__.py | 17610178081/python | 3975c678d985c468deecd03560d882e9d316bb63 | [
"Apache-2.0"
] | 113 | 2017-08-09T03:10:04.000Z | 2022-03-26T16:05:01.000Z | #!/usr/bin/env python
import distutils
from setupfiles.dist import DistributionMetadata
from setupfiles.setup import setup
__all__ = ["setup"]
distutils.dist.DistributionMetadata = DistributionMetadata
distutils.core.setup = setup
| 23.3 | 58 | 0.824034 | 26 | 233 | 7.230769 | 0.5 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098712 | 233 | 9 | 59 | 25.888889 | 0.895238 | 0.085837 | 0 | 0 | 0 | 0 | 0.023585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ae06e563dacfb2f601bc91857ad8c0255bdbcc8b | 1,292 | py | Python | env/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/sRGB_write_control.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension EXT.sRGB_write_control
This module customises the behaviour of the
OpenGL.raw.GLES2.EXT.sRGB_write_control to provide a more
Python-friendly API
Overview (from the spec)
This extension's intent is to expose new functionality which allows an
application the ability to decide if the conversion... | 39.151515 | 76 | 0.813467 | 187 | 1,292 | 5.534759 | 0.529412 | 0.057971 | 0.057971 | 0.091787 | 0.114976 | 0.114976 | 0.114976 | 0.083092 | 0.083092 | 0 | 0 | 0.003597 | 0.139319 | 1,292 | 33 | 77 | 39.151515 | 0.927158 | 0.724458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ae07a130b3eed404ad6c84e0c2e825a8a33c151b | 595 | bzl | Python | source/bazel/deps/osdialog/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/bazel/deps/osdialog/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/bazel/deps/osdialog/get.bzl | luxe/unilang | 6c8a431bf61755f4f0534c6299bd13aaeba4b69e | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def osdialog():
http_archive(
name="osdialog" ,
build_file="//bazel/deps/osdialog:build.BUILD" ,
sha256="3fc6dabcf... | 35 | 106 | 0.714286 | 56 | 595 | 7.464286 | 0.732143 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168699 | 0.173109 | 595 | 16 | 107 | 37.1875 | 0.680894 | 0.169748 | 0 | 0 | 1 | 0 | 0.613035 | 0.386965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0 | 0 | 0.090909 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae1dba2c9332b1aaf3dca98391c5242cc59d4eab | 322 | py | Python | jd/api/rest/ComJdQlBasicWsGlscGlscBasicSecondaryWSGetAssortByFidRequest.py | jof2jc/jd | 691bf22c68ed88fb3fb32bfb43dd6da75024994a | [
"MIT"
] | null | null | null | jd/api/rest/ComJdQlBasicWsGlscGlscBasicSecondaryWSGetAssortByFidRequest.py | jof2jc/jd | 691bf22c68ed88fb3fb32bfb43dd6da75024994a | [
"MIT"
] | null | null | null | jd/api/rest/ComJdQlBasicWsGlscGlscBasicSecondaryWSGetAssortByFidRequest.py | jof2jc/jd | 691bf22c68ed88fb3fb32bfb43dd6da75024994a | [
"MIT"
] | null | null | null | from jd.api.base import RestApi
class ComJdQlBasicWsGlscGlscBasicSecondaryWSGetAssortByFidRequest(RestApi):
def __init__(self,domain,port=80):
RestApi.__init__(self,domain, port)
self.assFid = None
def getapiname(self):
return 'jingdong.com.jd.ql.basic.ws.glsc.GlscBasicSecondaryWS.getAssortByFid'
... | 20.125 | 80 | 0.776398 | 36 | 322 | 6.722222 | 0.722222 | 0.066116 | 0.115702 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007117 | 0.127329 | 322 | 15 | 81 | 21.466667 | 0.854093 | 0 | 0 | 0 | 0 | 0 | 0.213836 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 | 1 | 1 | 0 | 0 | 3 |
ae209fc837cb7fa92d358e927f5a60ae96f43be3 | 682 | py | Python | tensorflow_gnn/tools/generate_training_data_test.py | mattdangerw/gnn | f39d3ea0d8fc6e51cf58814873fc1502c12554ae | [
"Apache-2.0"
] | 611 | 2021-11-18T06:04:10.000Z | 2022-03-29T11:46:42.000Z | tensorflow_gnn/tools/generate_training_data_test.py | mattdangerw/gnn | f39d3ea0d8fc6e51cf58814873fc1502c12554ae | [
"Apache-2.0"
] | 25 | 2021-11-18T17:21:12.000Z | 2022-03-31T06:36:55.000Z | tensorflow_gnn/tools/generate_training_data_test.py | mattdangerw/gnn | f39d3ea0d8fc6e51cf58814873fc1502c12554ae | [
"Apache-2.0"
] | 52 | 2021-11-18T23:12:30.000Z | 2022-03-27T06:31:08.000Z | """Unit tests for generate training data test."""
from os import path
from absl import flags
import tensorflow as tf
from tensorflow_gnn.tools import generate_training_data
from tensorflow_gnn.utils import test_utils
FLAGS = flags.FLAGS
class GenerateDataTest(tf.test.TestCase):
def test_generate_training_data(... | 26.230769 | 76 | 0.781525 | 91 | 682 | 5.549451 | 0.472527 | 0.158416 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003373 | 0.130499 | 682 | 25 | 77 | 27.28 | 0.848229 | 0.06305 | 0 | 0 | 1 | 0 | 0.096367 | 0.042654 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ae21fa093e46f99cba061fc2247a9c451b1f519b | 218 | py | Python | FullContact/utils.py | KamalAwasthi/FullContact | fa2e9f29079064b015848d980ddbb8da51f323c9 | [
"Apache-2.0"
] | 2 | 2018-05-31T16:21:06.000Z | 2019-11-28T11:58:12.000Z | FullContact/utils.py | KamalAwasthi/FullContact | fa2e9f29079064b015848d980ddbb8da51f323c9 | [
"Apache-2.0"
] | null | null | null | FullContact/utils.py | KamalAwasthi/FullContact | fa2e9f29079064b015848d980ddbb8da51f323c9 | [
"Apache-2.0"
] | 2 | 2018-02-12T16:37:08.000Z | 2019-11-28T11:58:24.000Z | import requests
def getContacts(email):
payload = {'email': email}
r = requests.get('https://api.fullcontact.com/v2/person.json', params=payload, headers={"X-FullContact-APIKey": "841831f8eef0a46f"})
return r.text
| 31.142857 | 133 | 0.738532 | 28 | 218 | 5.75 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.091743 | 218 | 6 | 134 | 36.333333 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.380734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ae340b92aadfe682e4f7ba5a3b3a05872dd322d2 | 192 | py | Python | pyravendb/data/counters.py | CDuPlooy/ravendb-python-client | dbe51ee8eea166e0d9e60897ab480dd9a693366b | [
"MIT"
] | 19 | 2019-02-16T14:39:38.000Z | 2022-03-23T12:27:00.000Z | pyravendb/data/counters.py | CDuPlooy/ravendb-python-client | dbe51ee8eea166e0d9e60897ab480dd9a693366b | [
"MIT"
] | 24 | 2018-10-21T07:31:21.000Z | 2022-03-27T17:27:29.000Z | pyravendb/data/counters.py | CDuPlooy/ravendb-python-client | dbe51ee8eea166e0d9e60897ab480dd9a693366b | [
"MIT"
] | 14 | 2018-08-14T07:58:46.000Z | 2022-01-05T12:20:08.000Z | from enum import Enum
class CounterOperationType(Enum):
none = "None"
increment = "Increment"
delete = "Delete"
get = "Get"
def __str__(self):
return self.value
| 16 | 33 | 0.625 | 21 | 192 | 5.52381 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276042 | 192 | 11 | 34 | 17.454545 | 0.834532 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ae3c1e0a31bb35705167a39456828a45fbe7fc2b | 157 | py | Python | lessons/Test_and_function_programming_in_Python/project/tests/test_sum_benchmark.py | johnklee/oo_dp_lesson | 06814a88b86b38435e0ed8f305ce9e50c1aac1f6 | [
"MIT"
] | null | null | null | lessons/Test_and_function_programming_in_Python/project/tests/test_sum_benchmark.py | johnklee/oo_dp_lesson | 06814a88b86b38435e0ed8f305ce9e50c1aac1f6 | [
"MIT"
] | 7 | 2021-06-07T03:52:37.000Z | 2022-03-14T11:07:31.000Z | lessons/Test_and_function_programming_in_Python/project/tests/test_sum_benchmark.py | johnklee/oo_dp_lesson | 06814a88b86b38435e0ed8f305ce9e50c1aac1f6 | [
"MIT"
] | null | null | null | from my_sum import sum
def test_sum_benchmark(benchmark):
hundred_one_list = [1] * 100
result = benchmark(sum, hundred_one_list)
assert result == 100
| 22.428571 | 43 | 0.751592 | 24 | 157 | 4.625 | 0.583333 | 0.18018 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053435 | 0.165605 | 157 | 6 | 44 | 26.166667 | 0.793893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae581ce55f5c70d548f9c9c2e1e5bda4e73bac54 | 11,401 | py | Python | segmentron/utils/visualize.py | GhadeerElmkaiel/Trans2Seg | 6717db602205cbed494ae1913ac7cbbca8e83463 | [
"Apache-2.0"
] | null | null | null | segmentron/utils/visualize.py | GhadeerElmkaiel/Trans2Seg | 6717db602205cbed494ae1913ac7cbbca8e83463 | [
"Apache-2.0"
] | null | null | null | segmentron/utils/visualize.py | GhadeerElmkaiel/Trans2Seg | 6717db602205cbed494ae1913ac7cbbca8e83463 | [
"Apache-2.0"
] | null | null | null | import os
import logging
import numpy as np
import torch
from PIL import Image
#from torchsummary import summary
from thop import profile
__all__ = ['get_color_pallete', 'print_iou', 'set_img_color',
'show_prediction', 'show_colorful_images', 'save_colorful_images']
def print_iou(iu, mean_pixel_acc, clas... | 46.534694 | 3,459 | 0.556179 | 2,005 | 11,401 | 3.105237 | 0.205985 | 0.028269 | 0.013492 | 0.022486 | 0.180212 | 0.15371 | 0.139094 | 0.133633 | 0.105043 | 0.095728 | 0 | 0.410841 | 0.257258 | 11,401 | 245 | 3,459 | 46.534694 | 0.324398 | 0.067363 | 0 | 0.181818 | 0 | 0 | 0.046679 | 0.006736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.034091 | 0 | 0.136364 | 0.017045 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae5c773b88cd0f9d9fbee09e572ef2fc27d6c119 | 40 | py | Python | smileyjoe_io/constant.py | SmileyJoe/smileyjoe_io | 29e3b55e33f17f799f59801158499809fcce0af4 | [
"MIT"
] | null | null | null | smileyjoe_io/constant.py | SmileyJoe/smileyjoe_io | 29e3b55e33f17f799f59801158499809fcce0af4 | [
"MIT"
] | 2 | 2020-02-11T23:34:28.000Z | 2020-06-05T17:33:09.000Z | smileyjoe_io/constant.py | SmileyJoe/smileyjoe_io | 29e3b55e33f17f799f59801158499809fcce0af4 | [
"MIT"
] | null | null | null | SUB_SECRET = 'secret'
SUB_MAIN = 'main'
| 13.333333 | 21 | 0.7 | 6 | 40 | 4.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 2 | 22 | 20 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae5e90efc8111cc99c18543d5afea38d02da46b8 | 125 | py | Python | crawlerhttp/http_header_generator.py | mcmin001/NBCrawler | ec6a348e32889fb9252651b203a725a39b6836ec | [
"Apache-2.0"
] | null | null | null | crawlerhttp/http_header_generator.py | mcmin001/NBCrawler | ec6a348e32889fb9252651b203a725a39b6836ec | [
"Apache-2.0"
] | null | null | null | crawlerhttp/http_header_generator.py | mcmin001/NBCrawler | ec6a348e32889fb9252651b203a725a39b6836ec | [
"Apache-2.0"
] | null | null | null | def get_http_header(user_agent):
# 字典数据类型 dict
headers = {
'user-agent': user_agent
}
return headers
| 17.857143 | 32 | 0.616 | 15 | 125 | 4.866667 | 0.666667 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296 | 125 | 6 | 33 | 20.833333 | 0.829545 | 0.088 | 0 | 0 | 0 | 0 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae6311f1dc6cb97bf176a5a088a3d0aac371ae07 | 176 | py | Python | src/radixlib/constants.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 32 | 2022-01-12T16:52:28.000Z | 2022-03-24T18:05:47.000Z | src/radixlib/constants.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 3 | 2022-01-12T17:01:55.000Z | 2022-02-12T15:14:16.000Z | src/radixlib/constants.py | 0xOmarA/RadixLib | 85d75a47d4c4df4c1a319b74857ae2c513933623 | [
"MIT"
] | 1 | 2022-01-21T04:28:07.000Z | 2022-01-21T04:28:07.000Z | from typing import Dict
XRD_RRI: Dict[str, str] = {
"mainnet": "xrd_rr1qy5wfsfh",
"stokenet": "xrd_tr1qyf0x76s",
"betanet": "xrd_br1qy73gwac",
"localnet": ""
} | 22 | 34 | 0.636364 | 19 | 176 | 5.684211 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 0.193182 | 176 | 8 | 35 | 22 | 0.697183 | 0 | 0 | 0 | 0 | 0 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ae738c094d5028bff43bc7f3386c802a9cf32a46 | 95 | py | Python | ginger/scripts/templates/app_templates/app_name/urls.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/scripts/templates/app_templates/app_name/urls.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/scripts/templates/app_templates/app_name/urls.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null |
from django.conf.urls import url, patterns
from . import views
urlpatterns = patterns("",
)
| 11.875 | 42 | 0.726316 | 12 | 95 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 7 | 43 | 13.571429 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ae836b13e8e1a6b59a6fe8580af78a2b08d03bc1 | 1,958 | py | Python | mobula/solvers/LRUpdater.py | wkcn/mobula | 4eec938d6477776f5f2d68bcf41de83fb8da5195 | [
"MIT"
] | 47 | 2017-07-15T02:13:18.000Z | 2022-01-01T09:37:59.000Z | mobula/solvers/LRUpdater.py | wkcn/mobula | 4eec938d6477776f5f2d68bcf41de83fb8da5195 | [
"MIT"
] | 3 | 2018-06-22T13:55:12.000Z | 2020-01-29T01:41:13.000Z | mobula/solvers/LRUpdater.py | wkcn/mobula | 4eec938d6477776f5f2d68bcf41de83fb8da5195 | [
"MIT"
] | 8 | 2017-09-03T12:42:54.000Z | 2020-09-27T03:38:59.000Z | #coding=utf-8
import numpy as np
# TODO: MULTISTEP
LR_POLICY_NUM = 7
class LR_POLICY:
FIXED, STEP, EXP, INV, MULTISTEP, POLY, SIGMOID = range(LR_POLICY_NUM)
class LRUpdater:
def __init__(self, *args, **kwargs):
if "base_lr" in kwargs:
self.base_lr = kwargs["base_lr"]
else:
... | 37.653846 | 94 | 0.650664 | 285 | 1,958 | 4.287719 | 0.157895 | 0.0982 | 0.065466 | 0.07856 | 0.238953 | 0.188216 | 0.155483 | 0.116203 | 0.116203 | 0.06383 | 0 | 0.008541 | 0.222676 | 1,958 | 51 | 95 | 38.392157 | 0.79435 | 0.048519 | 0 | 0 | 0 | 0 | 0.027478 | 0 | 0 | 0 | 0 | 0.019608 | 0 | 1 | 0.219512 | false | 0 | 0.02439 | 0.170732 | 0.463415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ae874a5f5cca2dcc55151c5b0e06fba1846032d7 | 250 | py | Python | urdubiometer/scanner/__init__.py | urdubiometer/urdubiometer | 034c1efc0403352caa9c5c944cf9450b8833bb24 | [
"BSD-3-Clause"
] | null | null | null | urdubiometer/scanner/__init__.py | urdubiometer/urdubiometer | 034c1efc0403352caa9c5c944cf9450b8833bb24 | [
"BSD-3-Clause"
] | 220 | 2019-07-30T19:20:59.000Z | 2022-03-28T10:33:19.000Z | urdubiometer/scanner/__init__.py | urdubiometer/urdubiometer | 034c1efc0403352caa9c5c944cf9450b8833bb24 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Sub-level package for Scanner, a metrical scanner in Urdu BioMeter."""
__author__ = """A. Sean Pue"""
__email__ = "a@seanpue.com"
from .scanner import * # noqa
from .ghazal import * # noqa
from .types import * # noqa
| 22.727273 | 73 | 0.652 | 34 | 250 | 4.558824 | 0.705882 | 0.193548 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.188 | 250 | 10 | 74 | 25 | 0.758621 | 0.42 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8846dbf904bdc1c8ef7bcf560fdf92013cf493ce | 362 | py | Python | Chapter 02/Chap02_Example2.9.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 02/Chap02_Example2.9.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 02/Chap02_Example2.9.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | s1 = "I am a beginner in python \nI will study the concepts to be familiar with this language.\nIt is a very user friendly language"
print("The long string is: \n" + s1) # -- L1
s2 = """The long string is:
I am a beginner in python
I will study the concepts to be familiar with this language.
It is a very user ... | 40.222222 | 133 | 0.69337 | 65 | 362 | 3.861538 | 0.476923 | 0.023904 | 0.031873 | 0.095618 | 0.796813 | 0.796813 | 0.63745 | 0.38247 | 0.38247 | 0.38247 | 0 | 0.021352 | 0.223757 | 362 | 8 | 134 | 45.25 | 0.871886 | 0.030387 | 0 | 0 | 0 | 0.142857 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
887318ae1de3947a937b8a9fff9e751422b6ec84 | 4,059 | py | Python | python/quantization.py | simnalamburt/snippets | 8ba4cfcb1305d2b82ea892e3305613eeb7ba382b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 31 | 2016-01-27T07:03:25.000Z | 2022-02-25T07:59:11.000Z | python/quantization.py | simnalamburt/snippets | 8ba4cfcb1305d2b82ea892e3305613eeb7ba382b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2015-01-26T01:27:21.000Z | 2015-01-30T16:16:30.000Z | python/quantization.py | simnalamburt/snippets | 8ba4cfcb1305d2b82ea892e3305613eeb7ba382b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2017-02-07T04:17:56.000Z | 2020-06-12T05:01:31.000Z | import numpy as np
min, max = -0.8777435, 0.57090986
M = np.asmatrix([
[0.02355068, -0.50542802, 0.16642167, -0.44872788, -0.05130898, 0.13320047, 0.41464597, -0.55703336, 0.52567458, 0.23784444, 0.15049535, 0.16599870, -0.28757980, 0.22277315, 0.56460077, -0.70838273, -0.61990398, -0.39724344, -0.09969769, 0.4583... | 156.115385 | 384 | 0.700172 | 644 | 4,059 | 4.413043 | 0.507764 | 0.006334 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.746101 | 0.099532 | 4,059 | 25 | 385 | 162.36 | 0.031464 | 0 | 0 | 0 | 0 | 0 | 0.000739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8875c6d752de20720e19e0bcf7801a8392c5567b | 220 | py | Python | int/Lib/site-packages/hn/__init__.py | yoniv/shellHN-main | 767e78f54403ebd3193ee9ada8672cfc06705967 | [
"MIT"
] | null | null | null | int/Lib/site-packages/hn/__init__.py | yoniv/shellHN-main | 767e78f54403ebd3193ee9ada8672cfc06705967 | [
"MIT"
] | null | null | null | int/Lib/site-packages/hn/__init__.py | yoniv/shellHN-main | 767e78f54403ebd3193ee9ada8672cfc06705967 | [
"MIT"
] | 1 | 2021-09-22T10:41:46.000Z | 2021-09-22T10:41:46.000Z | """
Python API for Hacker News.
@author Karan Goel
@email karan@goel.im
"""
__title__ = 'hackernews'
__author__ = 'Karan Goel'
__license__ = 'MIT'
__copyright__ = 'Copyright 2014 Karan Goel'
from .hn import HN, Story
| 15.714286 | 43 | 0.722727 | 29 | 220 | 4.931034 | 0.689655 | 0.251748 | 0.20979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.163636 | 220 | 13 | 44 | 16.923077 | 0.755435 | 0.309091 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88b0a8ec143545a862b4e668eb425512ef141839 | 295 | py | Python | incal_lib/exportres.py | barel-mishal/InCal_lib | 3aa63ebccf2ed3277fac55049c88178541cbb94b | [
"MIT"
] | null | null | null | incal_lib/exportres.py | barel-mishal/InCal_lib | 3aa63ebccf2ed3277fac55049c88178541cbb94b | [
"MIT"
] | null | null | null | incal_lib/exportres.py | barel-mishal/InCal_lib | 3aa63ebccf2ed3277fac55049c88178541cbb94b | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from collections import OrderedDict, Counter
import itertools
from typing import *
Group = tuple[str, list[int]]
Groups = list[Group]
def df_groups(groups: Groups) -> pd.DataFrame:
return pd.DataFrame(dict_groups.values(), index=dict_groups.keys())
| 22.692308 | 71 | 0.762712 | 43 | 295 | 5.162791 | 0.604651 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138983 | 295 | 12 | 72 | 24.583333 | 0.874016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0.111111 | 0.777778 | 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 | 1 | 1 | 0 | 0 | 3 |
31f5361ec9609ecfe4d1234a6a87870a550e57fe | 316 | py | Python | depccg/lang.py | masashi-y/myccg | 263fd0afa7a619626fc2d506016625b6068bb27b | [
"MIT"
] | 75 | 2017-05-01T09:32:56.000Z | 2022-03-07T02:57:31.000Z | depccg/lang.py | masashi-y/myccg | 263fd0afa7a619626fc2d506016625b6068bb27b | [
"MIT"
] | 23 | 2017-05-10T08:28:57.000Z | 2022-02-15T05:15:25.000Z | depccg/lang.py | masashi-y/myccg | 263fd0afa7a619626fc2d506016625b6068bb27b | [
"MIT"
] | 15 | 2017-05-08T13:02:33.000Z | 2022-03-07T01:40:26.000Z |
import logging
logger = logging.getLogger(__name__)
GLOBAL_LANG_NAME = 'en'
def set_global_language_to(lang: str) -> None:
global GLOBAL_LANG_NAME
logger.info('Setting the global language config to: %s', lang)
GLOBAL_LANG_NAME = lang
def get_global_language() -> str:
return GLOBAL_LANG_NAME
| 17.555556 | 66 | 0.737342 | 45 | 316 | 4.8 | 0.466667 | 0.185185 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 316 | 17 | 67 | 18.588235 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0.136508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ee3d2db0fde263da3c3eb73afde2fa65a46b2a9d | 445 | py | Python | models/batchnorm.py | JingweiJ/JointActorActionSeg | d33904f3f2c02094bb0a32bfec3105affff59426 | [
"MIT"
] | 11 | 2018-12-12T00:44:09.000Z | 2022-01-24T13:25:37.000Z | models/batchnorm.py | JingweiJ/JointActorActionSeg | d33904f3f2c02094bb0a32bfec3105affff59426 | [
"MIT"
] | 1 | 2019-04-24T08:25:12.000Z | 2019-04-24T08:25:12.000Z | models/batchnorm.py | JingweiJ/JointActorActionSeg | d33904f3f2c02094bb0a32bfec3105affff59426 | [
"MIT"
] | 3 | 2018-12-21T08:13:20.000Z | 2020-07-08T22:54:09.000Z | import keras.layers as KL
class BatchNorm(KL.BatchNormalization):
"""Batch Normalization class. Subclasses the Keras BN class and
hardcodes training=False so the BN layer doesn't update
during training.
Batch normalization has a negative effect on training if batches are small
so we disable it her... | 37.083333 | 78 | 0.732584 | 62 | 445 | 5.193548 | 0.693548 | 0.111801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197753 | 445 | 12 | 79 | 37.083333 | 0.901961 | 0.521348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ee7ca142b0ca37407f34d60f1083590fe6f55203 | 1,179 | py | Python | setup.py | jjk01/muMap | fe879039d025d62b51a70a088f3b0b275e134d9b | [
"BSD-3-Clause"
] | 8 | 2021-11-23T10:44:02.000Z | 2022-02-23T20:56:05.000Z | setup.py | jjk01/muMap | fe879039d025d62b51a70a088f3b0b275e134d9b | [
"BSD-3-Clause"
] | null | null | null | setup.py | jjk01/muMap | fe879039d025d62b51a70a088f3b0b275e134d9b | [
"BSD-3-Clause"
] | 2 | 2021-12-05T16:52:15.000Z | 2022-03-31T22:15:09.000Z | #! /usr/bin/env python
from setuptools import setup
VERSION = "1.0"
AUTHOR = "James Klatzow, Virginie Uhlmann"
AUTHOR_EMAIL = "uhlmann@ebi.ac.uk"
setup(
name="microMatch",
version=VERSION,
description="3D shape correspondence for microscopy data",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
pa... | 29.475 | 73 | 0.605598 | 113 | 1,179 | 6.283186 | 0.584071 | 0.214085 | 0.246479 | 0.183099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015927 | 0.254453 | 1,179 | 39 | 74 | 30.230769 | 0.791809 | 0.017812 | 0 | 0.058824 | 0 | 0 | 0.585134 | 0.019015 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029412 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9df6ba0ed0d28f7270862edcecc5a88bc403d3d | 615 | py | Python | arcade/rainbow.py | itsMadesh/python-personal-programs | 05355aa098afd87b345c9a2ca21b48552bf5a23b | [
"MIT"
] | null | null | null | arcade/rainbow.py | itsMadesh/python-personal-programs | 05355aa098afd87b345c9a2ca21b48552bf5a23b | [
"MIT"
] | null | null | null | arcade/rainbow.py | itsMadesh/python-personal-programs | 05355aa098afd87b345c9a2ca21b48552bf5a23b | [
"MIT"
] | null | null | null | import arcade
arcade.open_window(500,750,"Rainbow")
arcade.set_background_color(arcade.color.SKY_BLUE)
arcade.start_render()
arcade.draw_parabola_filled(25,80,500,300,arcade.color.RED,0)
arcade.draw_parabola_filled(50,80,470,280,arcade.color.ORANGE,0)
arcade.draw_parabola_filled(75,80,440,260,arcade.color.YELLOW ,0)
ar... | 43.928571 | 65 | 0.827642 | 108 | 615 | 4.527778 | 0.435185 | 0.179959 | 0.257669 | 0.343558 | 0.306748 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145 | 0.02439 | 615 | 13 | 66 | 47.307692 | 0.67 | 0 | 0 | 0 | 0 | 0 | 0.011382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9e3019d7f86a0fcc9bd9c9aa1f3b2b74e02646a | 9,232 | py | Python | tests/data/pandas_valid_data.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 14 | 2016-08-26T07:06:57.000Z | 2020-09-22T07:41:21.000Z | tests/data/pandas_valid_data.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 94 | 2016-08-02T14:07:59.000Z | 2021-10-06T11:50:52.000Z | tests/data/pandas_valid_data.py | craft-ai/craft-ai-client-python | 3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3 | [
"BSD-3-Clause"
] | 8 | 2017-02-07T12:05:57.000Z | 2021-10-14T09:45:30.000Z | import pandas as pd
import numpy as np
from numpy.random import randn
from craft_ai.pandas import MISSING_VALUE, OPTIONAL_VALUE
from random import random, randint
NB_OPERATIONS = 300
NB_MANY_OPERATIONS = 1000
SIMPLE_AGENT_BOOSTING_CONFIGURATION = {
"model_type": "boosting",
"context": {
"a": {"type": ... | 26.682081 | 86 | 0.517006 | 1,053 | 9,232 | 4.320988 | 0.145299 | 0.073846 | 0.031648 | 0.042198 | 0.758242 | 0.728352 | 0.707692 | 0.68044 | 0.666593 | 0.632967 | 0 | 0.075458 | 0.254983 | 9,232 | 345 | 87 | 26.75942 | 0.586072 | 0 | 0 | 0.586207 | 0 | 0 | 0.268847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015674 | 0 | 0.015674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a0011285cd812341126bdf7a6b702e5a57d05603 | 23,485 | py | Python | old/Lissajous/Lissajous.py | Tony031218/manim-projects | b243dec0f0a007649a92938e90d60eccb4c7dd15 | [
"Apache-2.0"
] | 45 | 2019-10-08T23:58:20.000Z | 2020-05-20T03:49:15.000Z | old/Lissajous/Lissajous.py | Tony031218/manim-projects | b243dec0f0a007649a92938e90d60eccb4c7dd15 | [
"Apache-2.0"
] | null | null | null | old/Lissajous/Lissajous.py | Tony031218/manim-projects | b243dec0f0a007649a92938e90d60eccb4c7dd15 | [
"Apache-2.0"
] | 12 | 2019-08-15T08:07:22.000Z | 2020-05-09T12:34:14.000Z | from manimlib.imports import *
from manim_projects.tony_useful.imports import *
class Test2DLissajousFromLinesIntersection(Scene):
def construct(self):
circle_x = Circle(color=RED).shift(UP * 2.5)
circle_y = Circle(color=RED).shift(LEFT * 2.5)
theta = ValueTracker(0)
point_x = Do... | 39.60371 | 157 | 0.584245 | 3,393 | 23,485 | 3.817271 | 0.076628 | 0.011272 | 0.014824 | 0.019765 | 0.790766 | 0.742048 | 0.716414 | 0.688774 | 0.661288 | 0.611025 | 0 | 0.040372 | 0.268043 | 23,485 | 592 | 158 | 39.670608 | 0.713089 | 0.0066 | 0 | 0.502959 | 0 | 0 | 0.039491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043393 | false | 0 | 0.003945 | 0 | 0.096647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a00dbbabf32006769aba7ac26d4086798f8f5b92 | 75 | py | Python | Py26/01/main.py | xhexe/Py8R | 44238c5403e7f76988760a040bf5c292824c22e7 | [
"WTFPL"
] | null | null | null | Py26/01/main.py | xhexe/Py8R | 44238c5403e7f76988760a040bf5c292824c22e7 | [
"WTFPL"
] | null | null | null | Py26/01/main.py | xhexe/Py8R | 44238c5403e7f76988760a040bf5c292824c22e7 | [
"WTFPL"
] | null | null | null | inp = input("Enter string: ")
input_string = ord(inp)
print(input_string)
| 15 | 29 | 0.72 | 11 | 75 | 4.727273 | 0.545455 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 4 | 30 | 18.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e55091a618968c01ac26471c9cd251dd97a71d7 | 9,578 | py | Python | argocd_client/models/application_application_sync_request.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2021-09-29T11:57:07.000Z | 2021-09-29T11:57:07.000Z | argocd_client/models/application_application_sync_request.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2020-09-09T00:28:57.000Z | 2020-09-09T00:28:57.000Z | argocd_client/models/application_application_sync_request.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 2 | 2020-10-13T18:31:59.000Z | 2021-02-15T12:52:33.000Z | # coding: utf-8
"""
Consolidate Services
Description of all APIs # noqa: E501
The version of the OpenAPI document: version not set
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from argocd_client.configuration import Configuration
class Appli... | 29.112462 | 200 | 0.618292 | 960 | 9,578 | 6.052083 | 0.129167 | 0.037177 | 0.241652 | 0.199828 | 0.472806 | 0.383305 | 0.365577 | 0.168158 | 0.058176 | 0.013081 | 0 | 0.017934 | 0.295573 | 9,578 | 328 | 201 | 29.20122 | 0.84319 | 0.387764 | 0 | 0.089655 | 1 | 0 | 0.06882 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165517 | false | 0 | 0.027586 | 0 | 0.324138 | 0.013793 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 3 |
4e6138843998a3ede92abaaa70a1ae3fc7c18aae | 711 | py | Python | losses.py | dhaulagiri0/AniGen | bd845a29e771544ade1f64b94f967d8e178952f8 | [
"MIT"
] | null | null | null | losses.py | dhaulagiri0/AniGen | bd845a29e771544ade1f64b94f967d8e178952f8 | [
"MIT"
] | null | null | null | losses.py | dhaulagiri0/AniGen | bd845a29e771544ade1f64b94f967d8e178952f8 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras import backend
#DEPRECATED
# An implementation of wasserstein used for a naive implementation of WGAN
# calculate wasserstein loss
def wasserstein_loss(y_true, y_pred):
return backend.mean(y_true * y_pred)
# Define the loss functions for the discriminator,
# which shoul... | 32.318182 | 74 | 0.78481 | 111 | 711 | 4.810811 | 0.414414 | 0.059925 | 0.067416 | 0.037453 | 0.17603 | 0.104869 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 711 | 21 | 75 | 33.857143 | 0.885572 | 0.431786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 3 |
4e63749234da693d5c1f2625bba0bf9c3d524e3f | 274 | py | Python | testproject/fiber_test/tests/test_templatetags/test_fiber_version.py | bsimons/django-fiber | 0f4b03217a4aeba6b48908825507fbe8c5732c8d | [
"Apache-2.0"
] | 143 | 2015-01-06T01:15:22.000Z | 2017-07-08T04:10:08.000Z | testproject/fiber_test/tests/test_templatetags/test_fiber_version.py | bsimons/django-fiber | 0f4b03217a4aeba6b48908825507fbe8c5732c8d | [
"Apache-2.0"
] | 44 | 2015-01-22T14:21:32.000Z | 2017-05-31T16:59:23.000Z | testproject/fiber_test/tests/test_templatetags/test_fiber_version.py | bsimons/django-fiber | 0f4b03217a4aeba6b48908825507fbe8c5732c8d | [
"Apache-2.0"
] | 53 | 2015-01-21T21:48:49.000Z | 2017-06-12T07:33:13.000Z | import fiber
from django.test import SimpleTestCase
from ...test_util import RenderMixin
class TestFiberVersion(RenderMixin, SimpleTestCase):
def test_fiber_version(self):
self.assertRendered('{% load fiber_tags %}{% fiber_version %}', str(fiber.__version__))
| 30.444444 | 95 | 0.766423 | 31 | 274 | 6.483871 | 0.548387 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 274 | 8 | 96 | 34.25 | 0.844538 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4e6b7f322b294819ab5b4b631d1bcc760d50a431 | 618 | py | Python | examples/testpetsc.py | DDMGNI/viVlasov1D | 901dd058711f6943eb6497b941bc115a64e822de | [
"MIT"
] | 2 | 2018-09-13T12:39:07.000Z | 2019-04-05T04:55:59.000Z | examples/testpetsc.py | DDMGNI/viVlasov1D | 901dd058711f6943eb6497b941bc115a64e822de | [
"MIT"
] | null | null | null | examples/testpetsc.py | DDMGNI/viVlasov1D | 901dd058711f6943eb6497b941bc115a64e822de | [
"MIT"
] | null | null | null |
import numpy as np
def temperature(x):
pass
def density(x, L):
# weak Jeans instability
# density = 1. + 0.01 * np.cos(0.8 * (x - 0.5 * L))
# strong Jeans instability
# density = 1. + 0.01 * np.cos(0.1 * (x - 0.5 * L))
# linear Landau damping
# return 1. + 0.01 * np.cos(0.5 * (x - 0.5 * L))... | 16.263158 | 62 | 0.469256 | 102 | 618 | 2.843137 | 0.323529 | 0.103448 | 0.082759 | 0.062069 | 0.372414 | 0.337931 | 0.227586 | 0.227586 | 0.227586 | 0 | 0 | 0.085213 | 0.354369 | 618 | 37 | 63 | 16.702703 | 0.641604 | 0.530744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4ea392c525c167ab6e4487bc47072399df2ebdf7 | 2,788 | py | Python | non-regression-tests/config.py | etalab-ia/piaf-ml | cd006b905d4c3e6a358326a42b84179724b00e5f | [
"MIT"
] | 5 | 2021-06-22T08:51:53.000Z | 2021-12-14T17:26:32.000Z | non-regression-tests/config.py | etalab-ia/piaf-ml | cd006b905d4c3e6a358326a42b84179724b00e5f | [
"MIT"
] | 55 | 2021-06-16T07:58:16.000Z | 2021-08-30T10:30:26.000Z | non-regression-tests/config.py | etalab-ia/piaf-ml | cd006b905d4c3e6a358326a42b84179724b00e5f | [
"MIT"
] | null | null | null | import os
parameter_tuning_options = {
"experiment_name": "non-regression-tests",
# Tuning method alternatives:
# - "optimization": use bayesian optimisation
# - "grid_search"
"tuning_method": "grid_search",
# Additionnal options for the grid search method
"use_cache": False,
# Addit... | 35.74359 | 97 | 0.681133 | 341 | 2,788 | 5.334311 | 0.337243 | 0.039582 | 0.036284 | 0.026388 | 0.742166 | 0.704783 | 0.679494 | 0.642111 | 0.642111 | 0.642111 | 0 | 0.082155 | 0.187948 | 2,788 | 77 | 98 | 36.207792 | 0.72129 | 0.333572 | 0 | 0.518519 | 0 | 0 | 0.45915 | 0.21732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.074074 | 0.018519 | 0 | 0.018519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4ece31e4c80ccf74cc98a1222f00653c142ee026 | 65 | py | Python | scuttlecrab/main.py | PUMBA-1997/scuttlecrab.py | 13e0074b7d94af81bf5c13feb5a3d036bc71f133 | [
"Apache-2.0"
] | 4 | 2022-01-05T14:16:07.000Z | 2022-01-09T07:29:08.000Z | scuttlecrab/main.py | Fabrizio1663/scuttlecrab.py | 13e0074b7d94af81bf5c13feb5a3d036bc71f133 | [
"Apache-2.0"
] | null | null | null | scuttlecrab/main.py | Fabrizio1663/scuttlecrab.py | 13e0074b7d94af81bf5c13feb5a3d036bc71f133 | [
"Apache-2.0"
] | null | null | null | from scuttlecrab.classes.bot import CustomBot
bot = CustomBot()
| 16.25 | 45 | 0.8 | 8 | 65 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 3 | 46 | 21.666667 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
14fbcce3feb4c4d3755700befad3fb8381ba83ea | 719 | py | Python | carnival/migrations/0011_auto_20191017_1045.py | farro4069/allez | c6ba374ee03cb01a494a4f6fe8ae0d0de5ce463c | [
"BSD-2-Clause"
] | null | null | null | carnival/migrations/0011_auto_20191017_1045.py | farro4069/allez | c6ba374ee03cb01a494a4f6fe8ae0d0de5ce463c | [
"BSD-2-Clause"
] | null | null | null | carnival/migrations/0011_auto_20191017_1045.py | farro4069/allez | c6ba374ee03cb01a494a4f6fe8ae0d0de5ce463c | [
"BSD-2-Clause"
] | null | null | null | # Generated by Django 2.1.4 on 2019-10-17 00:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('carnival', '0010_auto_20191013_1246'),
]
operations = [
migrations.AlterField(
model_name='register',
name='prime_on... | 24.793103 | 53 | 0.5758 | 68 | 719 | 5.955882 | 0.558824 | 0.148148 | 0.185185 | 0.214815 | 0.6 | 0.51358 | 0.51358 | 0.4 | 0.4 | 0.4 | 0 | 0.062753 | 0.312935 | 719 | 28 | 54 | 25.678571 | 0.757085 | 0.062587 | 0 | 0.545455 | 1 | 0 | 0.125 | 0.034226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
091779d4a3220139baaa8d0f21ee1690811fd3bf | 197 | py | Python | enote/__init__.py | tkjacobsen/enote | b8150885733599016b2d0b1d36f03e62ca8e3cdc | [
"MIT"
] | 16 | 2015-04-30T22:36:57.000Z | 2021-04-29T16:38:17.000Z | enote/__init__.py | tkjacobsen/enote | b8150885733599016b2d0b1d36f03e62ca8e3cdc | [
"MIT"
] | 1 | 2017-02-18T18:42:31.000Z | 2017-02-18T18:48:47.000Z | enote/__init__.py | tkjacobsen/enote | b8150885733599016b2d0b1d36f03e62ca8e3cdc | [
"MIT"
] | 2 | 2017-06-03T08:00:28.000Z | 2017-07-15T16:50:47.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
# Copyright (c) 2016 Troels Agergaard Jacobsen
__version__ = '0.2.0'
__description__ = 'Command line utility to backup Evernote notes and notebooks.'
| 32.833333 | 80 | 0.725888 | 27 | 197 | 5 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053254 | 0.142132 | 197 | 5 | 81 | 39.4 | 0.745562 | 0.446701 | 0 | 0 | 0 | 0 | 0.613208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
094be0cf0f33e0827cc74563503d2f32fbf9ae51 | 1,787 | py | Python | solver.py | tamnguyen820/SudokuSolver | a4adf311fca7bdbf7d2e5f7a676197e39218e53a | [
"MIT"
] | null | null | null | solver.py | tamnguyen820/SudokuSolver | a4adf311fca7bdbf7d2e5f7a676197e39218e53a | [
"MIT"
] | null | null | null | solver.py | tamnguyen820/SudokuSolver | a4adf311fca7bdbf7d2e5f7a676197e39218e53a | [
"MIT"
] | null | null | null | '''
For testing with the text version
'''
b = [
[1, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0,... | 26.279412 | 70 | 0.409625 | 283 | 1,787 | 2.561837 | 0.155477 | 0.217931 | 0.322759 | 0.424828 | 0.266207 | 0.216552 | 0.110345 | 0.110345 | 0.110345 | 0.110345 | 0 | 0.102662 | 0.411304 | 1,787 | 68 | 71 | 26.279412 | 0.586502 | 0.037493 | 0 | 0.283019 | 0 | 0 | 0.016413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0 | 0 | 0.226415 | 0.113208 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11b7cee72a017b56ab9f447f74c1610717cfe52e | 8,784 | py | Python | tests/st/ops/gpu/test_scatter_nd_func_op.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 1 | 2021-12-27T13:42:29.000Z | 2021-12-27T13:42:29.000Z | tests/st/ops/gpu/test_scatter_nd_func_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_scatter_nd_func_op.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Huawei Technologies Co., Ltd
#
# 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... | 37.378723 | 86 | 0.612136 | 1,373 | 8,784 | 3.777859 | 0.11362 | 0.037016 | 0.048583 | 0.06015 | 0.746482 | 0.740891 | 0.712551 | 0.699826 | 0.690765 | 0.645845 | 0 | 0.080403 | 0.197177 | 8,784 | 234 | 87 | 37.538462 | 0.655133 | 0.082878 | 0 | 0.575 | 0 | 0 | 0.013337 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 1 | 0.0625 | false | 0 | 0.04375 | 0 | 0.13125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11bc0b3cb2807ff10941fab0ad8b5ff296d80b41 | 253 | py | Python | pages/wacs.py | irzaip/selevaporum | 05754f2a8152185f550e1135feb94fdc85e4046c | [
"MIT"
] | null | null | null | pages/wacs.py | irzaip/selevaporum | 05754f2a8152185f550e1135feb94fdc85e4046c | [
"MIT"
] | null | null | null | pages/wacs.py | irzaip/selevaporum | 05754f2a8152185f550e1135feb94fdc85e4046c | [
"MIT"
] | null | null | null | import collections
from numpy.core.defchararray import lower
import streamlit as st
import numpy as np
import pandas as pd
from pages import utils
def app():
st.title("WhatApp Customer Service")
st.subheader("Where automation matters") | 25.3 | 44 | 0.754941 | 36 | 253 | 5.305556 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185771 | 253 | 10 | 44 | 25.3 | 0.927184 | 0 | 0 | 0 | 0 | 0 | 0.195918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.666667 | 0 | 0.777778 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
11d7cc28fca1672a8acd01df3e20ebc2577f0edc | 3,127 | py | Python | dipy/reconst/tests/test_odf.py | Garyfallidis/dipy | 4341b734995d6f51ac9c16df26a7de00c46f57ef | [
"BSD-3-Clause"
] | 3 | 2015-07-31T20:43:18.000Z | 2019-07-26T13:58:07.000Z | dipy/reconst/tests/test_odf.py | Garyfallidis/dipy | 4341b734995d6f51ac9c16df26a7de00c46f57ef | [
"BSD-3-Clause"
] | 9 | 2015-05-13T17:44:42.000Z | 2018-05-27T20:09:55.000Z | dipy/reconst/tests/test_odf.py | Garyfallidis/dipy | 4341b734995d6f51ac9c16df26a7de00c46f57ef | [
"BSD-3-Clause"
] | 3 | 2016-08-05T22:43:16.000Z | 2017-06-23T18:35:13.000Z | import numpy as np
from numpy.testing import assert_array_equal
from ..odf import OdfFit, OdfModel, gfa
from dipy.core.triangle_subdivide import (create_half_unit_sphere,
disperse_charges)
from nose.tools import (assert_almost_equal, assert_equal, assert_raises,
assert_true)
class SimpleOdf... | 37.674699 | 73 | 0.688839 | 450 | 3,127 | 4.508889 | 0.213333 | 0.130113 | 0.189256 | 0.206013 | 0.507146 | 0.488911 | 0.445047 | 0.387876 | 0.217348 | 0.094628 | 0 | 0.021119 | 0.182283 | 3,127 | 82 | 74 | 38.134146 | 0.77239 | 0.023025 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.507692 | 1 | 0.092308 | false | 0 | 0.076923 | 0.015385 | 0.215385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11e827caf9a2f6b79a2d0287af4086e1ef14f2b8 | 269 | py | Python | bindings/kepler.gl-jupyter/keplergl/__init__.py | sw1227/kepler.gl | 14c35fc048a745faab0c6770cab7a4625ccedda3 | [
"MIT"
] | 4,297 | 2019-05-04T01:29:14.000Z | 2022-03-31T19:28:10.000Z | bindings/kepler.gl-jupyter/keplergl/__init__.py | sw1227/kepler.gl | 14c35fc048a745faab0c6770cab7a4625ccedda3 | [
"MIT"
] | 968 | 2019-05-05T16:13:03.000Z | 2022-03-30T13:11:31.000Z | bindings/kepler.gl-jupyter/keplergl/__init__.py | sw1227/kepler.gl | 14c35fc048a745faab0c6770cab7a4625ccedda3 | [
"MIT"
] | 1,082 | 2019-05-04T15:55:24.000Z | 2022-03-30T16:27:53.000Z | from ._version import version_info, __version__
from .keplergl import *
def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'static',
'dest': 'keplergl-jupyter',
'require': 'keplergl-jupyter/extension'
}]
| 22.416667 | 47 | 0.624535 | 25 | 269 | 6.36 | 0.68 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237918 | 269 | 11 | 48 | 24.454545 | 0.77561 | 0 | 0 | 0 | 0 | 0 | 0.286245 | 0.096654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.222222 | 0.111111 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
eeaca61d7f8a12d9407b89ba0d429021d517e4c0 | 179 | py | Python | problem0650.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0650.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0650.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #650 Divisors of Binomial Product - Project Euler
# https://projecteuler.net/problem=650
#
# Code by Kevin Marciniak
#
###########################
| 19.888889 | 51 | 0.502793 | 16 | 179 | 5.625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.117318 | 179 | 8 | 52 | 22.375 | 0.531646 | 0.608939 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eef278f2f4e2c217a17b9bdf16a63771a1fe90a6 | 107 | py | Python | Guitarist.py | Stanels42/pythonic-garage-band | 7dfdec84073720998368cc2042bed011244c88ae | [
"MIT"
] | 1 | 2021-10-01T09:48:42.000Z | 2021-10-01T09:48:42.000Z | Guitarist.py | Stanels42/pythonic-garage-band | 7dfdec84073720998368cc2042bed011244c88ae | [
"MIT"
] | 1 | 2019-12-06T04:22:11.000Z | 2019-12-06T04:22:11.000Z | Guitarist.py | Stanels42/pythonic-garage-band | 7dfdec84073720998368cc2042bed011244c88ae | [
"MIT"
] | 1 | 2019-12-06T19:39:55.000Z | 2019-12-06T19:39:55.000Z | from Musician import Musician
class Guitarist(Musician):
solo = 'Guitar Sounds'
instrument = 'Guitar'
| 17.833333 | 29 | 0.747664 | 12 | 107 | 6.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 107 | 5 | 30 | 21.4 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e10a689e78f45e04945a350aa7275406f0c3d7c2 | 72 | py | Python | numberstest.py | dreadnaught-ETES/school | 9faa2b6379db8f819872b8597896f5291812c5d6 | [
"CC0-1.0"
] | null | null | null | numberstest.py | dreadnaught-ETES/school | 9faa2b6379db8f819872b8597896f5291812c5d6 | [
"CC0-1.0"
] | null | null | null | numberstest.py | dreadnaught-ETES/school | 9faa2b6379db8f819872b8597896f5291812c5d6 | [
"CC0-1.0"
] | null | null | null | import math
result=(math.pow(3,2)+1)*(math.fmod(16,7))/7
print(result) | 24 | 45 | 0.680556 | 15 | 72 | 3.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0.069444 | 72 | 3 | 46 | 24 | 0.626866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
012152e2a37577150f9d63f073997bc92e0bc861 | 197 | py | Python | source/applications/advanced/hand_eye_calibration/ur_hand_eye_calibration/3rdParty/rtde-2.3.6/setup.py | ebruun/python-samples | 746e5090f45659c60f01bf831a0308966d713b21 | [
"BSD-3-Clause"
] | 10 | 2020-12-03T22:59:39.000Z | 2022-03-27T07:31:42.000Z | source/applications/advanced/hand_eye_calibration/ur_hand_eye_calibration/3rdParty/rtde-2.3.6/setup.py | ebruun/python-samples | 746e5090f45659c60f01bf831a0308966d713b21 | [
"BSD-3-Clause"
] | 55 | 2019-07-23T09:05:27.000Z | 2020-11-02T14:42:55.000Z | source/applications/advanced/hand_eye_calibration/ur_hand_eye_calibration/3rdParty/rtde-2.3.6/setup.py | ebruun/python-samples | 746e5090f45659c60f01bf831a0308966d713b21 | [
"BSD-3-Clause"
] | 4 | 2020-01-09T08:36:23.000Z | 2020-09-12T20:28:31.000Z | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="UrRtde",
packages=["rtde"],
version=1.0,
description="Real-Time Data Exchange (RTDE) python client + examples",
)
| 19.7 | 74 | 0.639594 | 24 | 197 | 5.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.19797 | 197 | 9 | 75 | 21.888889 | 0.778481 | 0.106599 | 0 | 0 | 0 | 0 | 0.373563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0124ac8c7a202aa897f92f830d9e99028d3f1d5a | 1,113 | py | Python | places/admin.py | moshthepitt/shulezote | e903a208948ab5294183e2a8c2dac9360a184654 | [
"MIT"
] | 2 | 2015-12-02T08:14:34.000Z | 2020-12-16T19:56:46.000Z | places/admin.py | moshthepitt/shulezote | e903a208948ab5294183e2a8c2dac9360a184654 | [
"MIT"
] | 4 | 2016-10-04T12:15:42.000Z | 2021-06-10T19:47:39.000Z | places/admin.py | moshthepitt/shulezote | e903a208948ab5294183e2a8c2dac9360a184654 | [
"MIT"
] | 1 | 2018-08-20T14:19:32.000Z | 2018-08-20T14:19:32.000Z | from django.contrib import admin
from places.models import County, Constituency, Province, District
from places.models import Division, Location, SubLocation, SchoolZone
class CountyAdmin(admin.ModelAdmin):
search_fields = ['name']
class ProvinceAdmin(admin.ModelAdmin):
search_fields = ['name']
class Dis... | 24.195652 | 69 | 0.779874 | 117 | 1,113 | 7.350427 | 0.25641 | 0.139535 | 0.195349 | 0.251163 | 0.32907 | 0.293023 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111411 | 1,113 | 45 | 70 | 24.733333 | 0.869565 | 0 | 0 | 0.296296 | 0 | 0 | 0.028751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.703704 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
013d0a444d8fcc0b669cdc39b7c00090f97916cd | 110 | py | Python | iFarm/iFarmapp/urls.py | vmakar0v/smart-farm | 47bd7be4b40bbca57492ae5b8da09cc0635bfa2a | [
"Apache-2.0"
] | null | null | null | iFarm/iFarmapp/urls.py | vmakar0v/smart-farm | 47bd7be4b40bbca57492ae5b8da09cc0635bfa2a | [
"Apache-2.0"
] | null | null | null | iFarm/iFarmapp/urls.py | vmakar0v/smart-farm | 47bd7be4b40bbca57492ae5b8da09cc0635bfa2a | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.home_P, name='home_P')
]
| 15.714286 | 41 | 0.681818 | 16 | 110 | 4.5625 | 0.625 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 6 | 42 | 18.333333 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0145f0c317a0b7c0a803c27a724e95a60c8be847 | 226 | py | Python | example.py | austitech/Tokenizer | 005bd6772ef3298b222c05e3357bf22961978a57 | [
"MIT"
] | null | null | null | example.py | austitech/Tokenizer | 005bd6772ef3298b222c05e3357bf22961978a57 | [
"MIT"
] | null | null | null | example.py | austitech/Tokenizer | 005bd6772ef3298b222c05e3357bf22961978a57 | [
"MIT"
] | null | null | null | from tokenizer import StringTokenizer
from token import tokentype
text = open('test.ex', 'r').read()
t = StringTokenizer(text=text, tokentype=tokentype)
token_generator = t.create_token_generator()
print(token_generator)
| 18.833333 | 51 | 0.783186 | 29 | 226 | 5.965517 | 0.551724 | 0.242775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110619 | 226 | 11 | 52 | 20.545455 | 0.860697 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
014640d43ebc7a1a3b58c97712655fc4e51f491b | 6,887 | py | Python | src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareFed/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareFed/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareFed/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output ={
"lentry_label": {
24: {
"aal": {
"deagg_vrf_id": 0,
"eos0": {"adj_hdl": "0xf9000002", "hw_hdl": "0x7f02737e2ca8"},
"eos1": {"adj_hdl": "0xf9000002", "hw_hdl": "0x7f02737e2a98"},
"id": 1996488716,
"... | 38.909605 | 88 | 0.283287 | 425 | 6,887 | 4.350588 | 0.381176 | 0.02596 | 0.024337 | 0.029205 | 0.368848 | 0.332071 | 0.320173 | 0.320173 | 0.290968 | 0.261763 | 0 | 0.231616 | 0.591259 | 6,887 | 176 | 89 | 39.130682 | 0.425222 | 0 | 0 | 0.380682 | 0 | 0 | 0.262233 | 0.014956 | 0 | 0 | 0.073762 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
0146de801330617849875f5bc5ee04e2b90625fa | 3,610 | py | Python | tests/test_simulator_utility.py | tancheng/cache-sim | adfcbec961543a8424988cbadacb575c551f3cc3 | [
"MIT"
] | 27 | 2016-02-06T20:49:19.000Z | 2021-11-02T03:11:26.000Z | tests/test_simulator_utility.py | tancheng/cache-sim | adfcbec961543a8424988cbadacb575c551f3cc3 | [
"MIT"
] | 5 | 2020-02-24T18:57:11.000Z | 2021-09-01T00:27:18.000Z | tests/test_simulator_utility.py | tancheng/cache-sim | adfcbec961543a8424988cbadacb575c551f3cc3 | [
"MIT"
] | 16 | 2016-02-06T20:49:06.000Z | 2022-01-14T02:49:14.000Z | #!/usr/bin/env python3
import nose.tools as nose
from cachesimulator.bin_addr import BinaryAddress
from cachesimulator.word_addr import WordAddress
def test_get_bin_addr_unpadded():
"""get_bin_addr should return unpadded binary address of word address"""
nose.assert_equal(
BinaryAddress(word_addr=Wo... | 31.12069 | 77 | 0.713573 | 526 | 3,610 | 4.564639 | 0.163498 | 0.046647 | 0.081216 | 0.116618 | 0.835485 | 0.66389 | 0.525198 | 0.391087 | 0.372761 | 0.288213 | 0 | 0.078465 | 0.184488 | 3,610 | 115 | 78 | 31.391304 | 0.737092 | 0.289751 | 0 | 0.28125 | 0 | 0 | 0.065646 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.046875 | 0 | 0.296875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0176442d3722d717b493ddc5a58d8dea96dab8d8 | 521 | py | Python | UNF/data/field.py | waterzxj/UNF | 5eda8e7c60116735f595f4b21b24547708b36cf5 | [
"Apache-2.0"
] | 86 | 2020-02-23T13:38:11.000Z | 2022-03-01T12:09:28.000Z | UNF/data/field.py | Dreamliking/UNF | 5eda8e7c60116735f595f4b21b24547708b36cf5 | [
"Apache-2.0"
] | 2 | 2020-04-20T08:33:05.000Z | 2020-05-13T13:43:08.000Z | UNF/data/field.py | Dreamliking/UNF | 5eda8e7c60116735f595f4b21b24547708b36cf5 | [
"Apache-2.0"
] | 14 | 2020-03-07T05:21:44.000Z | 2021-05-09T16:57:23.000Z | #coding:utf-8
"""
对处理数据域的抽象
"""
from torchtext.data.field import RawField, Field, LabelField
class WordField(Field):
"""
数据词域的抽象
"""
def __init__(self, **kwarg):
print(kwarg)
super(WordField, self).__init__(**kwarg)
class CharField(Field):
"""
数据字符域的抽象
"""
def __init__... | 17.965517 | 60 | 0.596929 | 53 | 521 | 5.415094 | 0.45283 | 0.073171 | 0.114983 | 0.167247 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002532 | 0.241843 | 521 | 28 | 61 | 18.607143 | 0.724051 | 0.088292 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.636364 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6d82b1a75112fd7c369738ca11d64f3111ccd886 | 234 | py | Python | Ch3/same_name3.py | dmdinh22/ATBS | 3ddd331757cc434faa5f27997b178f8a39e3b5d2 | [
"MIT"
] | null | null | null | Ch3/same_name3.py | dmdinh22/ATBS | 3ddd331757cc434faa5f27997b178f8a39e3b5d2 | [
"MIT"
] | null | null | null | Ch3/same_name3.py | dmdinh22/ATBS | 3ddd331757cc434faa5f27997b178f8a39e3b5d2 | [
"MIT"
] | null | null | null | def spam():
global eggs
eggs = "spam" # this is the global var
def bacon():
eggs = "bacon" # this is a local var
def ham():
print(eggs) # this is the global var
eggs = 42 # this is the global var
spam()
print(eggs)
| 16.714286 | 42 | 0.619658 | 39 | 234 | 3.717949 | 0.358974 | 0.165517 | 0.186207 | 0.310345 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.269231 | 234 | 13 | 43 | 18 | 0.836257 | 0.376068 | 0 | 0.2 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.3 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d86c4391d19b15cd170a51c7f4c70bd4a42f337 | 265 | py | Python | app/table.py | aamnv/fred-cli | 86810e93242a90dd8ed1fbbd8999275dbd1da1cc | [
"MIT"
] | 8 | 2020-08-28T15:15:14.000Z | 2021-02-02T07:54:02.000Z | app/table.py | aamnv/fred-cli | 86810e93242a90dd8ed1fbbd8999275dbd1da1cc | [
"MIT"
] | null | null | null | app/table.py | aamnv/fred-cli | 86810e93242a90dd8ed1fbbd8999275dbd1da1cc | [
"MIT"
] | 1 | 2021-03-05T10:27:32.000Z | 2021-03-05T10:27:32.000Z | from tabulate import tabulate
def make_table(series_data):
table = tabulate(series_data, headers='keys', tablefmt='github')
return table
def make_data_table_footer(series_metadata):
table = tabulate(series_metadata, headers='keys')
return table | 22.083333 | 68 | 0.754717 | 34 | 265 | 5.647059 | 0.441176 | 0.072917 | 0.197917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154717 | 265 | 12 | 69 | 22.083333 | 0.857143 | 0 | 0 | 0.285714 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6dace628e580ac178333748655d75c5708c2a7c6 | 502 | py | Python | main/views/admin/dashboard/dashboard_controller.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/admin/dashboard/dashboard_controller.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | main/views/admin/dashboard/dashboard_controller.py | tiberiucorbu/av-website | f26f44a367d718316442506b130a7034697670b8 | [
"MIT"
] | null | null | null | # coding: utf-8
from flask.ext import wtf
import flask
import wtforms
import auth
import config
import model
import util
from main import app
###############################################################################
# Admin Stuff
###############################################################################... | 19.307692 | 79 | 0.482072 | 47 | 502 | 5.085106 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002299 | 0.133466 | 502 | 25 | 80 | 20.08 | 0.547126 | 0.049801 | 0 | 0 | 0 | 0 | 0.148734 | 0.094937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | true | 0 | 0.5 | 0.0625 | 0.625 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
6db2c1ba2f0973e1c395b6375ee992a3997ea0f6 | 2,967 | py | Python | mlib/boot/lang.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | 1 | 2020-06-16T17:26:45.000Z | 2020-06-16T17:26:45.000Z | mlib/boot/lang.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | null | null | null | mlib/boot/lang.py | mgroth0/mlib | 0442ed51eab417b6972f885605afd351892a3a9a | [
"MIT"
] | null | null | null | import collections
import os
from pathlib import Path
def setter(f):
return property(None, f)
enum = enumerate
def esorted(l):
return enum(sorted(l))
def cn(o): return o.__class__.__name__
def strcmp(s1, s2, ignore_case=False):
if ignore_case:
return s1.lower() == s2.lower()
return s1 == s2
... | 20.894366 | 107 | 0.664307 | 456 | 2,967 | 4.25 | 0.335526 | 0.079463 | 0.096491 | 0.074303 | 0.157895 | 0.057792 | 0.037152 | 0.037152 | 0.037152 | 0.037152 | 0 | 0.009334 | 0.205595 | 2,967 | 141 | 108 | 21.042553 | 0.812898 | 0.041793 | 0 | 0.061224 | 0 | 0 | 0.009155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.397959 | false | 0 | 0.132653 | 0.255102 | 0.887755 | 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 | 1 | 1 | 0 | 0 | 3 |
6dea9c8146d56fa2b4a9cdd2da0bad21ab08f14c | 1,078 | py | Python | test/solutions/test_checkout.py | DPNT-Sourcecode/CHK-mxxq01 | 85be1ef3e87a6490d1490b64596de25d7e3cb60e | [
"Apache-2.0"
] | null | null | null | test/solutions/test_checkout.py | DPNT-Sourcecode/CHK-mxxq01 | 85be1ef3e87a6490d1490b64596de25d7e3cb60e | [
"Apache-2.0"
] | null | null | null | test/solutions/test_checkout.py | DPNT-Sourcecode/CHK-mxxq01 | 85be1ef3e87a6490d1490b64596de25d7e3cb60e | [
"Apache-2.0"
] | null | null | null | import unittest
from lib.solutions.checkout import checkout
class TestSum(unittest.TestCase):
def test_checkout(self):
self.assertEqual(checkout("ABC"), 50+30+20)
self.assertEqual(checkout("ABCCCD"), 50+30+20*3+15)
self.assertEqual(checkout("AAA"), 130)
self.assertEqual(checkout("... | 35.933333 | 59 | 0.646568 | 132 | 1,078 | 5.19697 | 0.363636 | 0.37172 | 0.569971 | 0.145773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085812 | 0.189239 | 1,078 | 29 | 60 | 37.172414 | 0.699085 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0.708333 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6df1e73647be403745ebe4c69e672889f9a73f91 | 162 | py | Python | obdlive/obd/urls.py | hoke-t/OBDLive | 524fb53fad5924b8371d2fce8d7a482bd8112362 | [
"MIT"
] | 8 | 2018-12-15T16:41:21.000Z | 2021-10-03T21:19:11.000Z | obdlive/obd/urls.py | hoke-t/OBDLive | 524fb53fad5924b8371d2fce8d7a482bd8112362 | [
"MIT"
] | null | null | null | obdlive/obd/urls.py | hoke-t/OBDLive | 524fb53fad5924b8371d2fce8d7a482bd8112362 | [
"MIT"
] | 1 | 2020-07-27T18:15:58.000Z | 2020-07-27T18:15:58.000Z | from django.urls import path
from . import views
urlpatterns = [
path('', views.dashboard, name='dashboard'),
path('dtcs/', views.dtcs, name='dtcs'),
]
| 18 | 48 | 0.654321 | 20 | 162 | 5.3 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 162 | 8 | 49 | 20.25 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6df6c6b55d592803eb12aa9541c59df303c76397 | 155 | py | Python | app/core/urls.py | kmnkit/web-todo | e06e42f5b68b2b9473fad820857634a9c5c0dadf | [
"MIT"
] | null | null | null | app/core/urls.py | kmnkit/web-todo | e06e42f5b68b2b9473fad820857634a9c5c0dadf | [
"MIT"
] | null | null | null | app/core/urls.py | kmnkit/web-todo | e06e42f5b68b2b9473fad820857634a9c5c0dadf | [
"MIT"
] | null | null | null | from django.urls import path
from teams.views import TeamListView
app_name = "core"
urlpatterns = [
path("", TeamListView.as_view(), name="home"),
]
| 17.222222 | 50 | 0.709677 | 20 | 155 | 5.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154839 | 155 | 8 | 51 | 19.375 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6df9c88395294e4e4698984383fb2662d33b928e | 2,617 | py | Python | qtum_bridge/R8Blockchain/ethereumblockchain.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 5 | 2018-07-31T07:37:09.000Z | 2019-05-27T04:40:38.000Z | eth_bridge/R8Blockchain/ethereumblockchain.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 4 | 2018-08-01T11:11:54.000Z | 2022-03-11T23:20:53.000Z | qtum_bridge/R8Blockchain/ethereumblockchain.py | Robin8Put/pmes | 338bec94162098f05b75bad035417317e1252fd2 | [
"Apache-2.0"
] | 5 | 2018-06-09T07:42:04.000Z | 2018-12-28T21:15:52.000Z | from web3 import Web3, IPCProvider, HTTPProvider
from web3.middleware import geth_poa_middleware
from R8Blockchain.blockchain_handler import BlockchainHandler
from hashlib import sha256
import codecs
from web3.contract import ConciseContract
class EthereumBlockchain(BlockchainHandler):
def __init__(self, eth_rpc)... | 30.788235 | 104 | 0.704241 | 361 | 2,617 | 4.822715 | 0.227147 | 0.041356 | 0.036186 | 0.03274 | 0.234348 | 0.183802 | 0.141298 | 0.141298 | 0.12062 | 0.12062 | 0 | 0.021678 | 0.189148 | 2,617 | 84 | 105 | 31.154762 | 0.798775 | 0 | 0 | 0.033898 | 0 | 0 | 0.027141 | 0.014526 | 0 | 0 | 0 | 0 | 0 | 1 | 0.271186 | false | 0 | 0.101695 | 0.169492 | 0.610169 | 0.067797 | 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 | 1 | 1 | 0 | 0 | 3 |
09735c1ad6c8d9ce147599ce6ceedfef6549b227 | 116 | py | Python | 001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p04st05С05_20200410.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p04st05С05_20200410.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001085StepikPythonIntrO/Stepik001085PythonIntrOсh01p04st05С05_20200410.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | n = float(input())
m = float(input())
max = max(n, m)
min = min(n, m)
time = max - min
print(time // 60, time % 60)
| 16.571429 | 28 | 0.560345 | 22 | 116 | 2.954545 | 0.409091 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.215517 | 116 | 6 | 29 | 19.333333 | 0.67033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
097d4bce40bb327df22e412c466f7654eaea0ad3 | 282 | py | Python | code/chapter-2/exercise2_8.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-2/exercise2_8.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | code/chapter-2/exercise2_8.py | Kevin-Oudai/python-solutions | d67f6b14723b000fec0011c3e8156b805eb288f7 | [
"MIT"
] | null | null | null | mass = eval(input("Enter the amount of water in kilograms: "))
initial_temp = eval(input("Enter the initial temperature: "))
final_temp = eval(input("Enter the final temperature: "))
energy = mass * (final_temp - initial_temp) * 4184
print("The energy needed is {}".format(energy))
| 47 | 62 | 0.72695 | 40 | 282 | 5.025 | 0.5 | 0.134328 | 0.208955 | 0.253731 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.134752 | 282 | 5 | 63 | 56.4 | 0.807377 | 0 | 0 | 0 | 0 | 0 | 0.43617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
097f69d052a1e922b006db68fee1c80d1a486da1 | 1,482 | py | Python | kaggle-lung-cancer-approach2/modules/ctscan.py | flaviostutz/datascience-snippets | 768083c4eda972bc1f6548baa86751e0405bda9b | [
"MIT"
] | 2 | 2017-06-05T17:25:55.000Z | 2018-02-04T04:01:13.000Z | kaggle-lung-cancer-approach2/modules/ctscan.py | flaviostutz/datascience-snippets | 768083c4eda972bc1f6548baa86751e0405bda9b | [
"MIT"
] | null | null | null | kaggle-lung-cancer-approach2/modules/ctscan.py | flaviostutz/datascience-snippets | 768083c4eda972bc1f6548baa86751e0405bda9b | [
"MIT"
] | null | null | null | import glob
import SimpleITK as sitk
import numpy as np
class CTScanMhd(object):
def __init__(self, base_dir, filename):
self.filename = filename
self.coords = None
self.base_dir = base_dir
path = glob.glob(self.base_dir + '/*/' + self.filename + '.mhd')
self.ds = sitk.ReadI... | 30.244898 | 134 | 0.593117 | 208 | 1,482 | 4.105769 | 0.264423 | 0.04918 | 0.065574 | 0.056206 | 0.070258 | 0.070258 | 0.028103 | 0 | 0 | 0 | 0 | 0.024885 | 0.267881 | 1,482 | 49 | 135 | 30.244898 | 0.762212 | 0.017544 | 0 | 0 | 0 | 0 | 0.004811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.081081 | 0.108108 | 0.540541 | 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 | 1 | 1 | 0 | 0 | 3 |
09871d53ff57c8147e01e850c7f2f9d9467db849 | 89,305 | py | Python | tests/unit/pywbemcli/test_class_cmds.py | pywbem/pywbemtools | 6b7c3f124324fd3ab7cffb82bc98c8f9555317e4 | [
"Apache-2.0"
] | 8 | 2017-04-01T13:55:00.000Z | 2022-03-15T18:28:47.000Z | tests/unit/pywbemcli/test_class_cmds.py | pywbem/pywbemtools | 6b7c3f124324fd3ab7cffb82bc98c8f9555317e4 | [
"Apache-2.0"
] | 918 | 2017-03-03T14:29:03.000Z | 2022-03-29T15:32:16.000Z | tests/unit/pywbemcli/test_class_cmds.py | pywbem/pywbemtools | 6b7c3f124324fd3ab7cffb82bc98c8f9555317e4 | [
"Apache-2.0"
] | 2 | 2020-01-17T15:56:46.000Z | 2020-02-12T18:49:30.000Z | # Copyright 2018 IBM Corp. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 37.241451 | 114 | 0.554639 | 8,808 | 89,305 | 5.42223 | 0.063465 | 0.026257 | 0.075378 | 0.069097 | 0.795347 | 0.762495 | 0.727109 | 0.684416 | 0.663561 | 0.637786 | 0 | 0.010492 | 0.28602 | 89,305 | 2,397 | 115 | 37.256988 | 0.738528 | 0.043615 | 0 | 0.658706 | 0 | 0 | 0.562308 | 0.059667 | 0 | 0 | 0 | 0.000417 | 0 | 1 | 0.000498 | false | 0.000498 | 0.00398 | 0 | 0.005473 | 0.000498 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
099bd56c8872287f3abf2cdee5e4888979d01b99 | 86 | py | Python | bigGay/__init__.py | MayaValentia/byleth-bot-dev | d22290156fdac597aca2dd6d83020dbb49ad8ff0 | [
"MIT"
] | 1 | 2020-08-12T18:46:49.000Z | 2020-08-12T18:46:49.000Z | bigGay/__init__.py | MayaValentia/byleth-bot-dev | d22290156fdac597aca2dd6d83020dbb49ad8ff0 | [
"MIT"
] | null | null | null | bigGay/__init__.py | MayaValentia/byleth-bot-dev | d22290156fdac597aca2dd6d83020dbb49ad8ff0 | [
"MIT"
] | 2 | 2020-09-13T02:55:48.000Z | 2021-02-11T09:34:07.000Z | from .bigGay import bigGay
def setup(bot):
cog = bigGay(bot)
bot.add_cog(cog) | 17.2 | 26 | 0.674419 | 14 | 86 | 4.071429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 86 | 5 | 27 | 17.2 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09a28df0637d0c34e269ec275da4a8046d1b7543 | 385 | py | Python | python-framework/libs/crypto.py | huangxingx/python-framework | a62618b0ee5ecff9de426327892cdd690d10510d | [
"MIT"
] | 7 | 2019-10-24T03:26:22.000Z | 2019-10-27T14:55:07.000Z | python-framework/libs/crypto.py | PJoemu/python-framework | a62618b0ee5ecff9de426327892cdd690d10510d | [
"MIT"
] | 3 | 2021-06-08T19:13:10.000Z | 2022-01-13T00:38:48.000Z | python-framework/libs/crypto.py | PJoemu/python-framework | a62618b0ee5ecff9de426327892cdd690d10510d | [
"MIT"
] | 2 | 2019-10-25T03:54:51.000Z | 2020-06-28T08:50:12.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @author: x.huang
# @date:17-8-17
from Crypto.Hash import MD5
def encrypto(val):
# python3 需要把进行 encode
# todo 更改项目加密 key
m = MD5.new('python-framework'.encode('utf-8'))
m.update(val.encode('utf-8'))
return m.hexdigest()
def decrypto(val):
pa... | 15.4 | 51 | 0.623377 | 55 | 385 | 4.218182 | 0.709091 | 0.051724 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.2 | 385 | 24 | 52 | 16.041667 | 0.717532 | 0.285714 | 0 | 0 | 0 | 0 | 0.159851 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
09c972c8ee2252231ba255a8d7fd24be9200e9e4 | 445 | py | Python | chat/tests/factories.py | gurupratap-matharu/chatylon | d23ce4b9fa3954ad49fc18647ccf54cd0cc73cf8 | [
"MIT"
] | 4 | 2020-11-16T01:53:17.000Z | 2021-09-01T06:02:31.000Z | chat/tests/factories.py | gurupratap-matharu/chatylon | d23ce4b9fa3954ad49fc18647ccf54cd0cc73cf8 | [
"MIT"
] | null | null | null | chat/tests/factories.py | gurupratap-matharu/chatylon | d23ce4b9fa3954ad49fc18647ccf54cd0cc73cf8 | [
"MIT"
] | null | null | null | import factory
from chat.models import Chat, ChatRoom
from users.factories import UserFactory
class ChatRoomFactory(factory.django.DjangoModelFactory):
class Meta:
model = ChatRoom
name = factory.Faker('word')
class ChatFactory(factory.django.DjangoModelFactory):
class Meta:
model = Cha... | 22.25 | 57 | 0.730337 | 47 | 445 | 6.914894 | 0.510638 | 0.08 | 0.190769 | 0.221538 | 0.276923 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186517 | 445 | 19 | 58 | 23.421053 | 0.89779 | 0 | 0 | 0.153846 | 0 | 0 | 0.026966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.230769 | 0 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
09cd5bd9b3afeaf12e00c4f547e27cdd27294e5a | 394 | py | Python | projecteuler/util/summation.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | projecteuler/util/summation.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | projecteuler/util/summation.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | def sum_all_to(num: int) -> int:
""" Return the sum of all numbers up to and including the input number """
return num * (num + 1) // 2
def square_pyramidal_number(num: int) -> int:
""" Return the sum of the squares of all numbers up to and including the input number """
# https://en.wikipedia.org/wik... | 39.4 | 93 | 0.649746 | 64 | 394 | 3.90625 | 0.40625 | 0.048 | 0.072 | 0.12 | 0.648 | 0.648 | 0.512 | 0.336 | 0.336 | 0.336 | 0 | 0.019672 | 0.225888 | 394 | 9 | 94 | 43.777778 | 0.8 | 0.520305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
61e6e408c9d358e1ba90de75b214eb2a33ce5303 | 2,663 | py | Python | sourcecode/src/vx/lha/Main.py | ivarvb/LHA | b3b7613180d533468edf762195922b73c70c525c | [
"MIT"
] | null | null | null | sourcecode/src/vx/lha/Main.py | ivarvb/LHA | b3b7613180d533468edf762195922b73c70c525c | [
"MIT"
] | null | null | null | sourcecode/src/vx/lha/Main.py | ivarvb/LHA | b3b7613180d533468edf762195922b73c70c525c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Author: Ivar
"""
from Description import *
from Classification import *
if __name__ == "__main__":
inputdir = "../../../../data/LHA/dataset_1"
outputdir = inputdir+"/csv/exp/"+Util.now()
template = [
{
"name":"RAD",
... | 23.156522 | 56 | 0.437852 | 208 | 2,663 | 5.456731 | 0.259615 | 0.111013 | 0.16652 | 0.222026 | 0.769163 | 0.769163 | 0.652863 | 0.652863 | 0.652863 | 0.652863 | 0 | 0.05099 | 0.374014 | 2,663 | 115 | 57 | 23.156522 | 0.629874 | 0.021029 | 0 | 0.559524 | 0 | 0 | 0.343209 | 0.023086 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 0.011905 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 | 3 |
61e83a0c30e6a67dbfeb574d16e0f027af82160b | 538 | py | Python | randutils/lists.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | 1 | 2021-08-03T17:34:31.000Z | 2021-08-03T17:34:31.000Z | randutils/lists.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | null | null | null | randutils/lists.py | JoelLefkowitz/randutils | 91bfb6a56676675edb241f11b602a46880520c72 | [
"MIT"
] | null | null | null | import numpy as np
from .chance import by_chance
from .exceptions import EmptyListError
def pop_random_entry(lst):
if not lst:
raise EmptyListError
index = np.random.randint(0, len(lst))
return lst.pop(index)
def pick_random_entry(lst):
if not lst:
raise EmptyListError
index =... | 18.551724 | 53 | 0.689591 | 82 | 538 | 4.439024 | 0.426829 | 0.041209 | 0.076923 | 0.087912 | 0.423077 | 0.423077 | 0.423077 | 0.423077 | 0.423077 | 0.423077 | 0 | 0.009456 | 0.213755 | 538 | 28 | 54 | 19.214286 | 0.851064 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.176471 | 0.117647 | 0.647059 | 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 | 1 | 1 | 0 | 0 | 3 |
61f42117264c7b5f1ae0b590ff1b7ddfa85808ba | 11,119 | py | Python | test3.py | dg1223/GestureRecognition | 07078b0b8340c8b94f42414efe0ed36158e8c0ea | [
"MIT"
] | 2 | 2019-02-12T17:59:41.000Z | 2019-10-27T03:36:08.000Z | test3.py | dg1223/GestureRecognition | 07078b0b8340c8b94f42414efe0ed36158e8c0ea | [
"MIT"
] | null | null | null | test3.py | dg1223/GestureRecognition | 07078b0b8340c8b94f42414efe0ed36158e8c0ea | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Aug 29 00:07:11 2015
@author: Shamir
"""
def CalculateValidData():
# Calculate the number of missing values in the array
number_of_nan = len(readFile.values[m][pandas.isnull(readFile.values[m])])
length_of_array = len(readF... | 63.176136 | 229 | 0.461462 | 958 | 11,119 | 5.296451 | 0.183716 | 0.137958 | 0.121206 | 0.044935 | 0.683879 | 0.6689 | 0.638549 | 0.638549 | 0.611352 | 0.611352 | 0 | 0.018528 | 0.451479 | 11,119 | 175 | 230 | 63.537143 | 0.813412 | 0.153431 | 0 | 0.708333 | 0 | 0 | 0.00817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1106ac76603f4bd71050edfab94366e8d6245198 | 43,058 | py | Python | tests/test_decision_maker/test_base.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | null | null | null | tests/test_decision_maker/test_base.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | 1 | 2020-02-21T14:28:13.000Z | 2020-03-05T14:53:53.000Z | tests/test_decision_maker/test_base.py | cyenyxe/agents-aea | c2aec9127028ae13def3f69fbc80d35400de1565 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# 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 ... | 41.925998 | 106 | 0.641042 | 5,119 | 43,058 | 5.013675 | 0.070326 | 0.026651 | 0.031794 | 0.042782 | 0.788116 | 0.742451 | 0.714202 | 0.662186 | 0.631327 | 0.608455 | 0 | 0.011945 | 0.265084 | 43,058 | 1,026 | 107 | 41.966862 | 0.799109 | 0.077407 | 0 | 0.650867 | 0 | 0 | 0.089586 | 0.009177 | 0 | 0 | 0 | 0.000975 | 0.080925 | 1 | 0.055491 | false | 0 | 0.024277 | 0 | 0.084393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1112cf8fd2ea3b082bd270c70d54466062312420 | 8,338 | py | Python | personnages3d/filtre.py | mxbossard/personnages3d | 87c2ab8dc9b502c0074f1dec04b832803dee1462 | [
"Apache-2.0"
] | null | null | null | personnages3d/filtre.py | mxbossard/personnages3d | 87c2ab8dc9b502c0074f1dec04b832803dee1462 | [
"Apache-2.0"
] | null | null | null | personnages3d/filtre.py | mxbossard/personnages3d | 87c2ab8dc9b502c0074f1dec04b832803dee1462 | [
"Apache-2.0"
] | 1 | 2021-10-01T02:03:42.000Z | 2021-10-01T02:03:42.000Z |
"""Ce script est un exemple de matplotlib"""
import numpy as np
def moving_average(x, n, type='simple'):
"""
compute an n period moving average.
type is 'simple' | 'exponential'
"""
x = np.asarray(x)
if type == 'simple':
weights = np.ones(n)
else:
weights = np.exp(np.li... | 63.166667 | 83 | 0.333173 | 1,751 | 8,338 | 1.580811 | 0.087379 | 0.01409 | 0.018786 | 0.010838 | 0.150289 | 0.071893 | 0.071893 | 0.015896 | 0.015896 | 0 | 0 | 0.390055 | 0.257136 | 8,338 | 131 | 84 | 63.648855 | 0.056829 | 0.013552 | 0 | 0 | 0 | 0 | 0.003659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008929 | false | 0 | 0.008929 | 0 | 0.026786 | 0.017857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
111b82803ba6219820d34735a4253abbca5f8527 | 1,785 | py | Python | tests/test_grizzly/steps/scenario/test_results.py | boffman/grizzly | eabe7b8f6cd7098914a1473928135c1e05758af7 | [
"MIT"
] | null | null | null | tests/test_grizzly/steps/scenario/test_results.py | boffman/grizzly | eabe7b8f6cd7098914a1473928135c1e05758af7 | [
"MIT"
] | 9 | 2022-01-05T08:53:41.000Z | 2022-03-31T07:26:05.000Z | tests/test_grizzly/steps/scenario/test_results.py | boffman/grizzly | eabe7b8f6cd7098914a1473928135c1e05758af7 | [
"MIT"
] | null | null | null | from typing import cast
from grizzly.context import GrizzlyContext
from grizzly.steps import * # pylint: disable=unused-wildcard-import # noqa: F403
from ....fixtures import BehaveFixture
def test_step_results_fail_ratio(behave_fixture: BehaveFixture) -> None:
behave = behave_fixture.context
grizzly = cas... | 36.428571 | 93 | 0.791036 | 218 | 1,785 | 6.220183 | 0.197248 | 0.143805 | 0.123894 | 0.128319 | 0.809735 | 0.70649 | 0.521386 | 0.476401 | 0.476401 | 0.39823 | 0 | 0.015504 | 0.132773 | 1,785 | 48 | 94 | 37.1875 | 0.860465 | 0.028571 | 0 | 0.387097 | 0 | 0 | 0.027152 | 0.013865 | 0 | 0 | 0 | 0 | 0.451613 | 1 | 0.096774 | false | 0 | 0.129032 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
112006d175386d520393db8a5fbf90e3082f8290 | 39 | py | Python | orbit/__init__.py | CrossNox/orbit | 1c803596b3477a91c122093c1f6e34333b6db42e | [
"Apache-2.0"
] | null | null | null | orbit/__init__.py | CrossNox/orbit | 1c803596b3477a91c122093c1f6e34333b6db42e | [
"Apache-2.0"
] | null | null | null | orbit/__init__.py | CrossNox/orbit | 1c803596b3477a91c122093c1f6e34333b6db42e | [
"Apache-2.0"
] | null | null | null | name = 'orbit'
__version__ = '1.0.10'
| 9.75 | 22 | 0.615385 | 6 | 39 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.179487 | 39 | 3 | 23 | 13 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11534d93e39e29332cbc56c2467f77183e5bab66 | 2,028 | py | Python | tests/test_redirector.py | lawliet89/flask-redirector | 8637c2bd0025bb48db8694c83ad64825a85825a5 | [
"Apache-2.0"
] | null | null | null | tests/test_redirector.py | lawliet89/flask-redirector | 8637c2bd0025bb48db8694c83ad64825a85825a5 | [
"Apache-2.0"
] | 1 | 2016-09-27T03:23:38.000Z | 2016-09-27T03:23:38.000Z | tests/test_redirector.py | lawliet89/flask-redirector | 8637c2bd0025bb48db8694c83ad64825a85825a5 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
"""
Redirector tests
"""
from redirector import views
def test_redirects_correctly(client):
response = client.get('/foo/bar.html?foo=bar')
assert response.status_code == 301
assert response.headers['Location'] == 'https://www.example.com/foo/bar.html?foo=bar'
def test_normalize_port_norm... | 28.56338 | 97 | 0.688363 | 288 | 2,028 | 4.604167 | 0.194444 | 0.063348 | 0.067873 | 0.067873 | 0.821267 | 0.736802 | 0.714178 | 0.637255 | 0.611614 | 0.585219 | 0 | 0.033888 | 0.170611 | 2,028 | 70 | 98 | 28.971429 | 0.754459 | 0.014793 | 0 | 0.521739 | 0 | 0.043478 | 0.256281 | 0.055779 | 0 | 0 | 0 | 0 | 0.23913 | 1 | 0.152174 | false | 0 | 0.021739 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1166eafac1780fdb1b04815e3dcee64d69f82e8c | 314 | py | Python | imgbase/filters.py | olajir/projbase | c434bf5ef0627e7161fe026885a778e8240a26a0 | [
"MIT"
] | null | null | null | imgbase/filters.py | olajir/projbase | c434bf5ef0627e7161fe026885a778e8240a26a0 | [
"MIT"
] | null | null | null | imgbase/filters.py | olajir/projbase | c434bf5ef0627e7161fe026885a778e8240a26a0 | [
"MIT"
] | null | null | null |
import numpy as np
import skimage
import skimage.morphology as morph
import skimage.filters as filt
import skimage.exposure as expo
def get_corrected_image(iimage, gamma=0.25):
"""Return filtered image to detect spots."""
image = skimage.util.img_as_float(iimage)
image **= gamma
return image
| 19.625 | 48 | 0.745223 | 46 | 314 | 5 | 0.586957 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.178344 | 314 | 15 | 49 | 20.933333 | 0.879845 | 0.121019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0 | 0.777778 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
11677e2c59bc64a37229b6462c616546dac9135c | 398 | py | Python | packages/python/yap_kernel/yap_ipython/utils/tests/test_sysinfo.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 90 | 2015-03-09T01:24:15.000Z | 2022-02-24T13:56:25.000Z | packages/python/yap_kernel/yap_ipython/utils/tests/test_sysinfo.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 52 | 2016-02-14T08:59:37.000Z | 2022-03-14T16:39:35.000Z | packages/python/yap_kernel/yap_ipython/utils/tests/test_sysinfo.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 27 | 2015-11-19T02:45:49.000Z | 2021-11-25T19:47:58.000Z | # coding: utf-8
"""Test suite for our sysinfo utilities."""
# Copyright (c) yap_ipython Development Team.
# Distributed under the terms of the Modified BSD License.
import json
import nose.tools as nt
from yap_ipython.utils import sysinfo
def test_json_getsysinfo():
"""
test that it is easily jsonable and ... | 22.111111 | 70 | 0.728643 | 59 | 398 | 4.813559 | 0.813559 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.183417 | 398 | 17 | 71 | 23.411765 | 0.870769 | 0.552764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
fec502d06e7f6b4c2323778a4f480e3ca87b83f7 | 243 | py | Python | appointment_booking/appointment_booking/doctype/visitor_appointment/tasks.py | smarty-india/appointment_booking | 781b8883b749d78d543b21f39f9c1a12f16033ae | [
"MIT"
] | 1 | 2021-02-10T05:13:29.000Z | 2021-02-10T05:13:29.000Z | appointment_booking/appointment_booking/doctype/visitor_appointment/tasks.py | smarty-india/appointment_booking | 781b8883b749d78d543b21f39f9c1a12f16033ae | [
"MIT"
] | null | null | null | appointment_booking/appointment_booking/doctype/visitor_appointment/tasks.py | smarty-india/appointment_booking | 781b8883b749d78d543b21f39f9c1a12f16033ae | [
"MIT"
] | 7 | 2020-09-23T13:10:29.000Z | 2021-12-28T19:03:34.000Z | import frappe
def set_appointment_as_pending():
frappe.db.sql("""update `tabVisitor Appointment` set `status`='Pending'
where appointment_date is not null
and appointment_date < CURDATE()
and `status` not in ('Closed', 'Cancelled')""") | 34.714286 | 72 | 0.740741 | 32 | 243 | 5.46875 | 0.6875 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127572 | 243 | 7 | 73 | 34.714286 | 0.825472 | 0 | 0 | 0 | 0 | 0 | 0.704918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fecbabb08af60d46436a84bbcfcf8d984bfc2f0d | 301 | py | Python | import_descendants/test_example/__init__.py | ZumatechLtd/import-descendants | ad3dd65ae74dd98ae1eec68fad3b1fa775a5d74f | [
"Unlicense"
] | null | null | null | import_descendants/test_example/__init__.py | ZumatechLtd/import-descendants | ad3dd65ae74dd98ae1eec68fad3b1fa775a5d74f | [
"Unlicense"
] | null | null | null | import_descendants/test_example/__init__.py | ZumatechLtd/import-descendants | ad3dd65ae74dd98ae1eec68fad3b1fa775a5d74f | [
"Unlicense"
] | 1 | 2020-03-23T13:59:40.000Z | 2020-03-23T13:59:40.000Z | # -*- coding: utf-8 -*-
# (c) 2013 Bright Interactive Limited. All rights reserved.
# http://www.bright-interactive.com | info@bright-interactive.com
from import_descendants import import_descendants
import sys
this_module = sys.modules[__name__]
import_descendants(this_module, globals(), locals())
| 33.444444 | 65 | 0.774086 | 39 | 301 | 5.74359 | 0.641026 | 0.227679 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.10299 | 301 | 8 | 66 | 37.625 | 0.811111 | 0.475083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fed8fa9a87db15241481aa01020912d1d1d9aa17 | 91 | py | Python | client/const.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | null | null | null | client/const.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | 3 | 2019-04-27T06:34:34.000Z | 2019-04-27T21:29:31.000Z | client/const.py | math2001/nine43 | 7749dc63b9717a6ee4ddc1723d6c59e16046fc01 | [
"MIT"
] | null | null | null | MONO = "FiraMono-Medium"
PORT = 9999
ISSUES = "https://github.com/math2001/nine43/issues"
| 18.2 | 52 | 0.725275 | 12 | 91 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 0.10989 | 91 | 4 | 53 | 22.75 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fef4d3e2153fde18995213ace718d0a7d41c56ac | 55 | py | Python | test.py | SquarerFive/ursina | 8d2a86a702a96fe2d3d3b608b87e755bf28cb2ae | [
"MIT"
] | null | null | null | test.py | SquarerFive/ursina | 8d2a86a702a96fe2d3d3b608b87e755bf28cb2ae | [
"MIT"
] | null | null | null | test.py | SquarerFive/ursina | 8d2a86a702a96fe2d3d3b608b87e755bf28cb2ae | [
"MIT"
] | null | null | null | import ursina
app = ursina.Ursina(init_showbase=True)
| 13.75 | 39 | 0.8 | 8 | 55 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 55 | 3 | 40 | 18.333333 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a0e24a4de9a8532f6e0fffca390853480dadb10 | 5,460 | py | Python | PoPs/warning.py | brown170/fudge | 4f818b0e0b0de52bc127dd77285b20ce3568c97a | [
"BSD-3-Clause"
] | 14 | 2019-08-29T23:46:24.000Z | 2022-03-21T10:16:25.000Z | PoPs/warning.py | brown170/fudge | 4f818b0e0b0de52bc127dd77285b20ce3568c97a | [
"BSD-3-Clause"
] | 1 | 2020-08-04T16:14:45.000Z | 2021-12-01T01:54:34.000Z | PoPs/warning.py | brown170/fudge | 4f818b0e0b0de52bc127dd77285b20ce3568c97a | [
"BSD-3-Clause"
] | 2 | 2022-03-03T22:41:41.000Z | 2022-03-03T22:54:43.000Z | # <<BEGIN-copyright>>
# Copyright 2021, Lawrence Livermore National Security, LLC.
# See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: BSD-3-Clause
# <<END-copyright>>
"""
Store and report warnings and errors in a PoPs database.
PoPs.check() returns a nested list of warning objects:
>>> ... | 31.37931 | 116 | 0.630952 | 640 | 5,460 | 5.214063 | 0.284375 | 0.023974 | 0.019778 | 0.025172 | 0.153132 | 0.124663 | 0.08211 | 0.023374 | 0.023374 | 0 | 0 | 0.002255 | 0.269048 | 5,460 | 173 | 117 | 31.560694 | 0.833876 | 0.310623 | 0 | 0.252874 | 0 | 0 | 0.068975 | 0 | 0 | 0 | 0 | 0.011561 | 0 | 1 | 0.275862 | false | 0 | 0 | 0.16092 | 0.563218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
3a1a4878173988f64e8012e0966e1a78c639eef8 | 4,116 | py | Python | ToDo/settings/common.py | adarsh9780/2Do | b0f3067b34c49987a4bbb7b56813d73805d83918 | [
"MIT"
] | null | null | null | ToDo/settings/common.py | adarsh9780/2Do | b0f3067b34c49987a4bbb7b56813d73805d83918 | [
"MIT"
] | 10 | 2020-01-03T16:56:27.000Z | 2022-01-13T00:41:57.000Z | ToDo/settings/common.py | adarsh9780/2Do | b0f3067b34c49987a4bbb7b56813d73805d83918 | [
"MIT"
] | null | null | null | """
Django settings for ToDo project.
Generated by 'django-admin startproject' using Django 1.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 os
# ... | 27.078947 | 91 | 0.710641 | 485 | 4,116 | 5.898969 | 0.4 | 0.068158 | 0.053827 | 0.061167 | 0.211465 | 0.199581 | 0.111499 | 0.111499 | 0.042992 | 0 | 0 | 0.031503 | 0.159378 | 4,116 | 151 | 92 | 27.258278 | 0.795376 | 0.3569 | 0 | 0 | 1 | 0 | 0.534304 | 0.433883 | 0 | 0 | 0 | 0.006623 | 0 | 1 | 0 | false | 0.065789 | 0.013158 | 0 | 0.013158 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3a1ad1cbd5fa6fd57f60b6cfe90e8e847de62504 | 89 | py | Python | openamundsen/modules/__init__.py | openamundsen/openamundsen | 2ac09eb34b0c72c84c421a0dac08d114a05b7b1c | [
"MIT"
] | 3 | 2021-05-28T06:46:36.000Z | 2021-06-14T13:39:25.000Z | openamundsen/modules/__init__.py | openamundsen/openamundsen | 2ac09eb34b0c72c84c421a0dac08d114a05b7b1c | [
"MIT"
] | 22 | 2021-04-28T12:31:58.000Z | 2022-03-09T18:29:12.000Z | openamundsen/modules/__init__.py | openamundsen/openamundsen | 2ac09eb34b0c72c84c421a0dac08d114a05b7b1c | [
"MIT"
] | 1 | 2021-06-01T12:48:54.000Z | 2021-06-01T12:48:54.000Z | from . import (
canopy,
evapotranspiration,
radiation,
snow,
soil,
)
| 11.125 | 23 | 0.573034 | 7 | 89 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.337079 | 89 | 7 | 24 | 12.714286 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.