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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25411c3e6ffef0272e0c6df5d33d98f728773bcf | 40 | py | Python | models/__init__.py | GuohongLi/face-alignment-pytorch | 6864da12ae855f680a01371937a95cd51d0ce95f | [
"BSD-3-Clause"
] | 59 | 2018-12-13T10:14:58.000Z | 2021-11-23T19:16:58.000Z | models/__init__.py | GuohongLi/face-alignment-pytorch | 6864da12ae855f680a01371937a95cd51d0ce95f | [
"BSD-3-Clause"
] | 4 | 2019-02-11T10:16:06.000Z | 2021-03-12T08:09:28.000Z | models/__init__.py | GuohongLi/face-alignment-pytorch | 6864da12ae855f680a01371937a95cd51d0ce95f | [
"BSD-3-Clause"
] | 13 | 2019-02-17T09:09:11.000Z | 2021-02-21T18:24:59.000Z | from .fan import *
from .resnet import * | 20 | 21 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 20 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c26125dbabb3682fec2bd7a30986b248061cdde1 | 182 | py | Python | LogIn/views.py | code-xD/Django-Projects | 41537bb21cc392c84e55bb029cfa09a3c7574fad | [
"MIT"
] | null | null | null | LogIn/views.py | code-xD/Django-Projects | 41537bb21cc392c84e55bb029cfa09a3c7574fad | [
"MIT"
] | null | null | null | LogIn/views.py | code-xD/Django-Projects | 41537bb21cc392c84e55bb029cfa09a3c7574fad | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render
#
# @login_required
def home(request):
return render(request, 'LogIn/home.html')
| 18.2 | 57 | 0.78022 | 24 | 182 | 5.833333 | 0.625 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126374 | 182 | 9 | 58 | 20.222222 | 0.880503 | 0.082418 | 0 | 0 | 0 | 0 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6c084c8e4d00bff504ee639049e9317a6167b794 | 681 | py | Python | build/simtrack/simtrack_nodes/catkin_generated/pkg.develspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T05:49:57.000Z | 2021-04-13T05:49:57.000Z | build/simtrack/simtrack_nodes/catkin_generated/pkg.develspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | null | null | null | build/simtrack/simtrack_nodes/catkin_generated/pkg.develspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/shams3049/catkin_ws/devel/include;/home/shams3049/catkin_ws/src/simtrack/simtrack_nodes/include".split(';') if "/home/shams3049/catkin_ws/devel/include;/home/shams3049/catkin_ws/src/simtrack/simt... | 75.666667 | 269 | 0.790015 | 93 | 681 | 5.462366 | 0.494624 | 0.127953 | 0.187008 | 0.206693 | 0.385827 | 0.334646 | 0.334646 | 0.334646 | 0.334646 | 0.334646 | 0 | 0.035826 | 0.057269 | 681 | 8 | 270 | 85.125 | 0.755452 | 0.079295 | 0 | 0 | 1 | 0.285714 | 0.5696 | 0.4816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c5fc7af8401d8a8423c1638be6960a58c4ad101 | 10,399 | py | Python | Modules/alignment.py | Gyfis/sequence-comparison | 6506f784af4902645bb4562d507d465d57ed4366 | [
"MIT"
] | null | null | null | Modules/alignment.py | Gyfis/sequence-comparison | 6506f784af4902645bb4562d507d465d57ed4366 | [
"MIT"
] | null | null | null | Modules/alignment.py | Gyfis/sequence-comparison | 6506f784af4902645bb4562d507d465d57ed4366 | [
"MIT"
] | null | null | null | from enum import Enum
import numpy as np
import pickle
__author__ = 'Gyfis'
class ScoringMatrix(Enum):
BLOSUM62 = 1
PAM40 = 5
PAM80 = 6
PAM120 = 7
PAM250 = 8
def gap_opening_penalty(self):
return {
ScoringMatrix.BLOSUM62: -11,
ScoringMatrix.PAM40: -10,
... | 35.982699 | 159 | 0.547937 | 1,451 | 10,399 | 3.717436 | 0.06754 | 0.022247 | 0.015573 | 0.014831 | 0.854283 | 0.821468 | 0.806637 | 0.785502 | 0.756767 | 0.756767 | 0 | 0.047917 | 0.323685 | 10,399 | 288 | 160 | 36.107639 | 0.719039 | 0 | 0 | 0.579439 | 0 | 0 | 0.021162 | 0.012024 | 0.004673 | 0 | 0 | 0 | 0 | 1 | 0.051402 | false | 0 | 0.014019 | 0.023364 | 0.14486 | 0.11215 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66b87fe0622c9f492a5636a26d8317955bef731c | 1,337 | py | Python | forms.py | drogomarks/heimdallv2 | 960260d0d238811bc7b4e0402aaa2498ee0bdb30 | [
"MIT"
] | null | null | null | forms.py | drogomarks/heimdallv2 | 960260d0d238811bc7b4e0402aaa2498ee0bdb30 | [
"MIT"
] | null | null | null | forms.py | drogomarks/heimdallv2 | 960260d0d238811bc7b4e0402aaa2498ee0bdb30 | [
"MIT"
] | null | null | null | from flask_wtf import Form
from wtforms import StringField, TextField, IntegerField, SubmitField, SelectField, validators
class GetuserForm(Form):
customer_id = IntegerField('Customer ID')
domain = TextField('Domain')
user = TextField('User')
mbx_type = SelectField(u'Mailbox Type', choices=[('rs... | 40.515152 | 95 | 0.640987 | 152 | 1,337 | 5.539474 | 0.223684 | 0.118765 | 0.083135 | 0.154394 | 0.77791 | 0.77791 | 0.77791 | 0.77791 | 0.77791 | 0.77791 | 0 | 0 | 0.173523 | 1,337 | 32 | 96 | 41.78125 | 0.761991 | 0 | 0 | 0.653846 | 0 | 0 | 0.183142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
66cced8821cd22630deece448e8feb3291c2704e | 231 | py | Python | frontend/views.py | TheLastRKoch/Emmily.API | f7ac104dc7d78551d29ea201732d3f66c71fa02f | [
"TCP-wrappers"
] | null | null | null | frontend/views.py | TheLastRKoch/Emmily.API | f7ac104dc7d78551d29ea201732d3f66c71fa02f | [
"TCP-wrappers"
] | 3 | 2021-01-01T17:56:29.000Z | 2021-04-02T03:15:24.000Z | frontend/views.py | TheLastRKoch/Emmily.API | f7ac104dc7d78551d29ea201732d3f66c71fa02f | [
"TCP-wrappers"
] | null | null | null | from django.shortcuts import render, redirect, get_object_or_404
from django.db.models import Q
from django.http import HttpResponse
from django.http import JsonResponse
def index(request):
return render(request,'index.html')
| 28.875 | 64 | 0.813853 | 34 | 231 | 5.441176 | 0.617647 | 0.216216 | 0.151351 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.116883 | 231 | 7 | 65 | 33 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0.04329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
66e08155d6c17746aed86591bd2b19db0bd06982 | 2,253 | py | Python | commons/graph/graph_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 2 | 2019-07-15T14:59:59.000Z | 2022-01-18T14:23:54.000Z | commons/graph/graph_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 10 | 2018-05-03T13:25:07.000Z | 2021-06-25T15:14:55.000Z | commons/graph/graph_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 1 | 2018-05-02T13:59:27.000Z | 2018-05-02T13:59:27.000Z | # -*- coding: UTF-8 -*-
'''
Contains basic interfaces for graph data structures.
@todo: This is planned to be replaced by pygraph
Created on 05.10.2010
@author: SIGIESEC
'''
class Node(object):
def get_id(self):
raise NotImplementedError(self.__class__)
class LabelledNode(Node):
def get_label(self... | 26.197674 | 98 | 0.688859 | 256 | 2,253 | 5.589844 | 0.335938 | 0.301887 | 0.352201 | 0.415094 | 0.57652 | 0.469602 | 0.290706 | 0.068484 | 0 | 0 | 0 | 0.005169 | 0.227253 | 2,253 | 85 | 99 | 26.505882 | 0.816772 | 0.252552 | 0 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 1 | 0.439024 | false | 0 | 0 | 0 | 0.560976 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
dd8c9f0185dc413e6f635eeccb67023bdcd54338 | 257 | py | Python | deeprobust/image/netmodels/__init__.py | smaranjitghose/DeepRobust | 91f2b922e61a3fa0987e37b7ea6c1cd9150c1c81 | [
"MIT"
] | 647 | 2020-02-08T02:13:21.000Z | 2022-03-31T07:44:00.000Z | deeprobust/image/netmodels/__init__.py | qilong-zhang/DeepRobust | 276a7048aded2cf3a190d3851ffd4587b7d1dd49 | [
"MIT"
] | 77 | 2020-03-21T11:27:30.000Z | 2022-03-23T10:55:53.000Z | deeprobust/image/netmodels/__init__.py | qilong-zhang/DeepRobust | 276a7048aded2cf3a190d3851ffd4587b7d1dd49 | [
"MIT"
] | 139 | 2020-03-04T00:25:12.000Z | 2022-03-21T15:45:29.000Z | #__init__.py
from deeprobust.image.netmodels import CNN
from deeprobust.image.netmodels import resnet
from deeprobust.image.netmodels import YOPOCNN
from deeprobust.image.netmodels import train_model
__all__ = ['CNNmodel','resnet','YOPOCNN','train_model']
| 32.125 | 55 | 0.824903 | 33 | 257 | 6.121212 | 0.424242 | 0.277228 | 0.376238 | 0.554455 | 0.673267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081712 | 257 | 7 | 56 | 36.714286 | 0.855932 | 0.042802 | 0 | 0 | 0 | 0 | 0.130612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0e54701c79fc7f776a30cf37e567f0393143904 | 4,170 | py | Python | tests/test_verification.py | konradhalas/mimid | fca4b61c5ee9e5bbb2e60f9a3fcc3593a30333d2 | [
"MIT"
] | 11 | 2019-06-12T19:33:13.000Z | 2021-07-12T01:20:55.000Z | tests/test_verification.py | konradhalas/mimid | fca4b61c5ee9e5bbb2e60f9a3fcc3593a30333d2 | [
"MIT"
] | 1 | 2021-08-29T15:27:17.000Z | 2021-08-29T15:27:17.000Z | tests/test_verification.py | konradhalas/mimid | fca4b61c5ee9e5bbb2e60f9a3fcc3593a30333d2 | [
"MIT"
] | null | null | null | import pytest
from mimid import mock, every, WrongNumberOfCallsException, verify, gt, NotMatchingSignatureException
from tests.targets import A, function
from tests.utils import not_raises
def test_mock_method_verify_raises_exception_when_method_not_called():
obj = mock(A)
every(obj.method).returns(2)
w... | 27.615894 | 117 | 0.765228 | 554 | 4,170 | 5.379061 | 0.088448 | 0.090604 | 0.055369 | 0.092282 | 0.861745 | 0.861745 | 0.861074 | 0.850336 | 0.816107 | 0.768456 | 0 | 0.011446 | 0.141007 | 4,170 | 150 | 118 | 27.8 | 0.820491 | 0 | 0 | 0.648936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170213 | false | 0 | 0.042553 | 0 | 0.212766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0faf897a273ce7be8f0caba7ee6d73bba9e68ed | 179 | py | Python | delivery/ext/migrate.py | JhonatasMenezes/flask_delivery | a95b1016f5be9ad5f4a24d7d4a34a9130f3e5f6e | [
"MIT"
] | 2 | 2021-10-07T21:41:18.000Z | 2021-11-23T23:17:40.000Z | delivery/ext/migrate.py | JhonatasMenezes/flask_delivery | a95b1016f5be9ad5f4a24d7d4a34a9130f3e5f6e | [
"MIT"
] | null | null | null | delivery/ext/migrate.py | JhonatasMenezes/flask_delivery | a95b1016f5be9ad5f4a24d7d4a34a9130f3e5f6e | [
"MIT"
] | null | null | null | from flask_migrate import Migrate
from delivery.ext.db import db
from delivery.ext.db import models # noqa
migrate = Migrate()
def init_app(app):
migrate.init_app(app, db)
| 17.9 | 41 | 0.759777 | 29 | 179 | 4.586207 | 0.413793 | 0.180451 | 0.225564 | 0.255639 | 0.345865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156425 | 179 | 9 | 42 | 19.888889 | 0.880795 | 0.022346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0231b2de3805aa67dc8dcc91fcb66fb803ae4a3 | 32 | py | Python | petrophys/__init__.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | petrophys/__init__.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | petrophys/__init__.py | smiles21/petrophys | 03ccf2c65cd472013596b293cb2daaa95a1a05a6 | [
"MIT"
] | null | null | null | from .vshale import calc_vshale
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b04de4dad239bea4d94577872ed653744b169c68 | 3,283 | py | Python | migrations/versions/5137b683ddfb_.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | 2 | 2021-01-26T06:03:00.000Z | 2021-07-17T07:09:23.000Z | migrations/versions/5137b683ddfb_.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | 8 | 2020-07-20T07:31:17.000Z | 2020-07-28T06:49:34.000Z | migrations/versions/5137b683ddfb_.py | Spotimania/Spotimania | 184b45b27ac717909b96ce6f958926a08cb0aa64 | [
"MIT"
] | null | null | null | """empty message
Revision ID: 5137b683ddfb
Revises: 4655bcb421e2
Create Date: 2020-05-07 17:56:20.916651
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5137b683ddfb'
down_revision = '4655bcb421e2'
branch_labels = None
depends_on = None
def upgrade():
# ... | 40.530864 | 69 | 0.678038 | 378 | 3,283 | 5.81746 | 0.195767 | 0.101864 | 0.152797 | 0.181901 | 0.79809 | 0.782174 | 0.782174 | 0.782174 | 0.73306 | 0.73306 | 0 | 0.02328 | 0.136461 | 3,283 | 80 | 70 | 41.0375 | 0.752381 | 0.089857 | 0 | 0.451613 | 0 | 0 | 0.217553 | 0.029143 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.032258 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b06c3bcd2063f2ea3feb47b5e679ae523215dcec | 57,410 | py | Python | imagersite/imager_images/tests.py | chaitanyanarukulla/django-imager | 0c426729605936ecf4deea837295c0b0e22d7861 | [
"MIT"
] | 2 | 2018-05-29T23:39:40.000Z | 2018-06-25T22:31:13.000Z | imagersite/imager_images/tests.py | chaitanyanarukulla/django-imager | 0c426729605936ecf4deea837295c0b0e22d7861 | [
"MIT"
] | 15 | 2017-11-22T00:22:01.000Z | 2017-12-14T21:11:13.000Z | imagersite/imager_images/tests.py | chaitanyanarukulla/django-imager | 0c426729605936ecf4deea837295c0b0e22d7861 | [
"MIT"
] | 3 | 2018-01-12T08:21:46.000Z | 2018-05-20T05:27:33.000Z | """Tests for the Photo and Album models."""
from django.conf import settings
from django.contrib.auth.models import AnonymousUser
from django.core.files.uploadedfile import SimpleUploadedFile
from django.forms.models import modelform_factory
from django.http import Http404
from django.test import override_settings, Req... | 45.276025 | 107 | 0.645968 | 7,109 | 57,410 | 4.994795 | 0.038683 | 0.022277 | 0.024333 | 0.025262 | 0.912048 | 0.879661 | 0.856511 | 0.803312 | 0.766222 | 0.730652 | 0 | 0.011869 | 0.235377 | 57,410 | 1,267 | 108 | 45.31176 | 0.797025 | 0.124839 | 0 | 0.661491 | 0 | 0 | 0.098223 | 0.015714 | 0 | 0 | 0 | 0 | 0.135611 | 1 | 0.123188 | false | 0.048654 | 0.038302 | 0 | 0.175983 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c67cf4fc4783688de8719013d91213bc05b542c3 | 2,619 | py | Python | code/producer.py | Niroshamurugan/Revature--project-03 | 24095c5c43c6da3901e3312eae0a003eaf090b03 | [
"MIT"
] | null | null | null | code/producer.py | Niroshamurugan/Revature--project-03 | 24095c5c43c6da3901e3312eae0a003eaf090b03 | [
"MIT"
] | null | null | null | code/producer.py | Niroshamurugan/Revature--project-03 | 24095c5c43c6da3901e3312eae0a003eaf090b03 | [
"MIT"
] | 3 | 2021-09-22T05:50:52.000Z | 2021-09-27T08:29:15.000Z | import requests
import time
import json
from kafka import KafkaProducer
import threading
import credentials as cred
key = cred.login['private_key']
def send_Mumbai():
url = 'https://api.weatherbit.io/v2.0/history/subhourly?&city=Mumbai&country=IN&start_date=2021-09-24&end_date=2021-09-26&key={}'.format(key)
d... | 34.460526 | 148 | 0.66323 | 348 | 2,619 | 4.87931 | 0.201149 | 0.056537 | 0.047114 | 0.04947 | 0.802709 | 0.749706 | 0.749706 | 0.749706 | 0.749706 | 0.749706 | 0 | 0.03801 | 0.186331 | 2,619 | 75 | 149 | 34.92 | 0.758799 | 0 | 0 | 0.6875 | 0 | 0.0625 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.09375 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c68b2b14b1498e2949ccda702dd2c2ca77a60435 | 678 | py | Python | tests/expectations/cat-hs-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 3 | 2021-01-22T20:42:31.000Z | 2021-06-02T17:53:19.000Z | tests/expectations/cat-hs-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 331 | 2017-11-13T22:41:56.000Z | 2021-12-02T21:59:43.000Z | tests/expectations/cat-hs-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 1 | 2021-02-19T02:49:00.000Z | 2021-02-19T02:49:00.000Z | [
[float("NaN"), float("NaN"), float("NaN"), float("NaN")],
[float("NaN"), float("NaN"), 98.94756383, 102.48945473],
[float("NaN"), float("NaN"), 99.37642288, 86.00386085],
[float("NaN"), float("NaN"), 101.42881595, 80.4871013],
[float("NaN"), float("NaN"), float("NaN"), float("NaN")],
[float("N... | 48.428571 | 61 | 0.578171 | 88 | 678 | 4.454545 | 0.375 | 0.571429 | 0.630102 | 0.77551 | 0.382653 | 0.326531 | 0.326531 | 0.326531 | 0.244898 | 0.244898 | 0 | 0.285714 | 0.132743 | 678 | 13 | 62 | 52.153846 | 0.380952 | 0 | 0 | 0.230769 | 0 | 0 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c69b5828fe8be59e297ae10d33bcab46283c11e0 | 12,542 | py | Python | scenarios/bad_node_variations_10.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | null | null | null | scenarios/bad_node_variations_10.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | 1 | 2019-04-01T06:19:43.000Z | 2019-04-01T06:19:43.000Z | scenarios/bad_node_variations_10.py | tari-labs/modelling | 27dd69f5fc658a69a2e2db273231c0f017448586 | [
"Apache-2.0"
] | 1 | 2021-07-28T04:07:41.000Z | 2021-07-28T04:07:41.000Z | import sys, os
#Add ../utils to the Python system path
try:
sys.path.index(os.getcwd().split(os.getcwd().split(os.sep)[-1])[0] + 'utils');
except ValueError:
sys.path.append(os.getcwd().split(os.getcwd().split(os.sep)[-1])[0] + 'utils');
import hyper_dist_prob as hdp
import numpy as np
#from IPython import g... | 26.459916 | 107 | 0.727795 | 2,048 | 12,542 | 4.176758 | 0.072754 | 0.063128 | 0.104162 | 0.054711 | 0.924597 | 0.888006 | 0.879589 | 0.858546 | 0.854337 | 0.854337 | 0 | 0.042912 | 0.173178 | 12,542 | 473 | 108 | 26.515856 | 0.781967 | 0.405358 | 0 | 0.549383 | 0 | 0 | 0.103978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024691 | 0 | 0.024691 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c6f655f992ed153b136d10a6015387ee48623ff1 | 14,483 | py | Python | tests/features/test_pmi_controller.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | tests/features/test_pmi_controller.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | tests/features/test_pmi_controller.py | keaparrot/secbootctl | a624677a8987023a3a55d7e002c3c980bdd0e0bd | [
"MIT"
] | null | null | null | import unittest
from io import StringIO
from pathlib import Path
from unittest.mock import MagicMock, Mock
from unittest.mock import call
from unittest.mock import patch
from secbootctl.core import AppError
from secbootctl.env import Env
from secbootctl.helpers.cli import CliPrintHelper
from tests import unittest_help... | 42.101744 | 131 | 0.624801 | 1,652 | 14,483 | 5.127724 | 0.090194 | 0.02904 | 0.038012 | 0.04297 | 0.891394 | 0.841459 | 0.823988 | 0.77724 | 0.757998 | 0.738166 | 0 | 0.006456 | 0.262031 | 14,483 | 343 | 132 | 42.22449 | 0.786115 | 0 | 0 | 0.697987 | 0 | 0.003356 | 0.253815 | 0.101705 | 0 | 0 | 0 | 0 | 0.114094 | 1 | 0.043624 | false | 0 | 0.033557 | 0 | 0.083893 | 0.013423 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05cb4a47a6e0fa5447949be9dc6c8acde7d7e025 | 234,179 | py | Python | dfs/nfl/data.py | sullivanja92/dfs-lineup-optimizer | fea6b9bd76c806f7888fae44d7d113d54e3b4f4d | [
"MIT"
] | null | null | null | dfs/nfl/data.py | sullivanja92/dfs-lineup-optimizer | fea6b9bd76c806f7888fae44d7d113d54e3b4f4d | [
"MIT"
] | null | null | null | dfs/nfl/data.py | sullivanja92/dfs-lineup-optimizer | fea6b9bd76c806f7888fae44d7d113d54e3b4f4d | [
"MIT"
] | null | null | null | from typing import List
import pandas as pd
from numpy import nan
# TODO: should be able to provide week for single week df
def load_2020_data(weeks: List[int] = range(1, 5)) -> pd.DataFrame: # TODO: correct dk and fd points
"""
This function is used to provide sample data from the 2019 season.
The re... | 8,075.137931 | 232,951 | 0.560516 | 52,040 | 234,179 | 2.522002 | 0.020619 | 0.042348 | 0.060048 | 0.076285 | 0.737712 | 0.666502 | 0.659187 | 0.631079 | 0.627376 | 0.608381 | 0 | 0.34558 | 0.128765 | 234,179 | 28 | 232,952 | 8,363.535714 | 0.297699 | 0.002502 | 0 | 0 | 0 | 0 | 0.322225 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.076923 | false | 0 | 0.230769 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af330f79d05a808377252059dfe5dd8766b61707 | 31 | py | Python | models/__init__.py | RishiTejaMadduri/pyramid-fuse | a8bad9adc2734572c87c5ee4c2a956aa2d04fb97 | [
"MIT"
] | null | null | null | models/__init__.py | RishiTejaMadduri/pyramid-fuse | a8bad9adc2734572c87c5ee4c2a956aa2d04fb97 | [
"MIT"
] | null | null | null | models/__init__.py | RishiTejaMadduri/pyramid-fuse | a8bad9adc2734572c87c5ee4c2a956aa2d04fb97 | [
"MIT"
] | null | null | null | from . import pyramid_fusion2
| 10.333333 | 29 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af3de052b44577e454d5b8ff81e254a5fb893d4c | 164 | py | Python | openpnm/models/geometry/pore_surface_area/__init__.py | lixuekai2001/OpenPNM | 9026f0fed427d37f4caf1a79e4a7684490d52cf6 | [
"MIT"
] | null | null | null | openpnm/models/geometry/pore_surface_area/__init__.py | lixuekai2001/OpenPNM | 9026f0fed427d37f4caf1a79e4a7684490d52cf6 | [
"MIT"
] | null | null | null | openpnm/models/geometry/pore_surface_area/__init__.py | lixuekai2001/OpenPNM | 9026f0fed427d37f4caf1a79e4a7684490d52cf6 | [
"MIT"
] | null | null | null | r"""
pore_surface_area Models
-------------------------
This model contains a selection of functions for Calculating pore surface area.
"""
from ._funcs import *
| 18.222222 | 79 | 0.652439 | 20 | 164 | 5.2 | 0.85 | 0.211538 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 8 | 80 | 20.5 | 0.737589 | 0.79878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb89be37c57b1dc63ec322c3bfbfc5183e296c3a | 147 | py | Python | inscribete/views.py | Kiri23/Django-custom-user-template | 74ed531ade35c3018ca3068e8c68b966bcc4f316 | [
"MIT"
] | null | null | null | inscribete/views.py | Kiri23/Django-custom-user-template | 74ed531ade35c3018ca3068e8c68b966bcc4f316 | [
"MIT"
] | 3 | 2020-02-12T00:04:04.000Z | 2021-06-10T21:33:23.000Z | inscribete/views.py | Kiri23/Django-custom-user-template | 74ed531ade35c3018ca3068e8c68b966bcc4f316 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def inscribete(request):
return render(request, "inscribete/inscribete.html")
| 18.375 | 56 | 0.768707 | 18 | 147 | 6.277778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 147 | 7 | 57 | 21 | 0.896825 | 0.156463 | 0 | 0 | 0 | 0 | 0.213115 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a59ee766bfce49eeaf29b59f6c937d9ac6c34ea5 | 29 | py | Python | evaluator/__init__.py | SoluMilken/evaluator | b192d81d5caf7e66f27f2da8484b92e5f14feadc | [
"MIT"
] | null | null | null | evaluator/__init__.py | SoluMilken/evaluator | b192d81d5caf7e66f27f2da8484b92e5f14feadc | [
"MIT"
] | null | null | null | evaluator/__init__.py | SoluMilken/evaluator | b192d81d5caf7e66f27f2da8484b92e5f14feadc | [
"MIT"
] | null | null | null | from .summary import summary
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c10409f819a1a9b3db0fd6425c6a7944a5e37dc | 101 | py | Python | dags/hechms_distributed_dag.py | hasithadkr7/HecHmsDistributed | c64708d0b19c457aff9ecd0b5f235afad9744e8a | [
"MIT"
] | 1 | 2019-04-17T03:21:58.000Z | 2019-04-17T03:21:58.000Z | dags/hechms_distributed_dag.py | hasithadkr7/HecHmsDistributed | c64708d0b19c457aff9ecd0b5f235afad9744e8a | [
"MIT"
] | null | null | null | dags/hechms_distributed_dag.py | hasithadkr7/HecHmsDistributed | c64708d0b19c457aff9ecd0b5f235afad9744e8a | [
"MIT"
] | null | null | null | import airflow
from airflow import DAG
from airflow.operators.python_operator import PythonOperator
| 20.2 | 60 | 0.871287 | 13 | 101 | 6.692308 | 0.615385 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 4 | 61 | 25.25 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c180f7d5cdfbc1aa9926b28e9bafe6c640ca097 | 173 | py | Python | imports/twofiles/main.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | imports/twofiles/main.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | imports/twofiles/main.py | suroegin-learning/learn-python | be5bda86add0dcd6f2fd3db737bb7d0d3ec5f853 | [
"MIT"
] | null | null | null | # import for_import
# for_import.x("test")
##########
# from for_import import x
# x = x("test")
##########
import for_import
x = for_import.x("hello")
x("hello") | 8.65 | 26 | 0.560694 | 25 | 173 | 3.68 | 0.24 | 0.48913 | 0.48913 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184971 | 173 | 20 | 27 | 8.65 | 0.652482 | 0.445087 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c6329624aff6fbfcfa08a220c34166fa19673c5 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_symbolic.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_symbolic.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/f2py/tests/test_symbolic.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ef/1b/d7/4df76dada3c65c78d83b067cb389f2411b9353e036ca1793e79dd329c4 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1ded9c5716ea056fbed13630a3946228f967176 | 3,160 | py | Python | pyramid_describe/test_constant.py | cadithealth/pyramid_describe | 7b4abd15738dc3afbe67bd2f968bcf6bab66def2 | [
"MIT"
] | 3 | 2015-03-11T22:43:02.000Z | 2016-06-09T09:58:41.000Z | pyramid_describe/test_constant.py | cadithealth/pyramid_describe | 7b4abd15738dc3afbe67bd2f968bcf6bab66def2 | [
"MIT"
] | 1 | 2015-10-13T20:49:09.000Z | 2015-10-16T03:09:20.000Z | pyramid_describe/test_constant.py | cadithealth/pyramid_describe | 7b4abd15738dc3afbe67bd2f968bcf6bab66def2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2016/02/19
# copy: (C) Copyright 2016-EOT Cadit Inc., All Rights Reserved.
#--------------------------------------------------------------------------... | 41.578947 | 81 | 0.389241 | 255 | 3,160 | 4.784314 | 0.329412 | 0.221311 | 0.320492 | 0.321311 | 0.462295 | 0.292623 | 0.180328 | 0.134426 | 0.078689 | 0.078689 | 0 | 0.023213 | 0.141139 | 3,160 | 75 | 82 | 42.133333 | 0.426308 | 0.396203 | 0 | 0.05 | 0 | 0 | 0.185048 | 0 | 0 | 0 | 0.014846 | 0 | 0.475 | 1 | 0.225 | false | 0 | 0.05 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
590007c579bc919e42cfa7910d740a75b17ed6e4 | 209 | py | Python | python3/learn-python/slicing-list.py | Nahid-Hassan/code-snippets | 24bd4b81564887822a0801a696001fcbeb6a7a75 | [
"MIT"
] | 2 | 2020-09-29T04:09:41.000Z | 2020-10-18T13:33:36.000Z | python3/learn-python/slicing-list.py | Nahid-Hassan/code-snippets | 24bd4b81564887822a0801a696001fcbeb6a7a75 | [
"MIT"
] | null | null | null | python3/learn-python/slicing-list.py | Nahid-Hassan/code-snippets | 24bd4b81564887822a0801a696001fcbeb6a7a75 | [
"MIT"
] | 1 | 2021-12-26T04:55:55.000Z | 2021-12-26T04:55:55.000Z |
my_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
# 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
# -10,-9,-8,-7,-6,-5,-4,-3,-2,-1
# list[start:end:step]
print(my_list[2:-1:2])
print(my_list[:])
print(my_list[::-1])
| 19 | 40 | 0.449761 | 49 | 209 | 1.836735 | 0.346939 | 0.266667 | 0.366667 | 0.088889 | 0.222222 | 0.222222 | 0.222222 | 0.222222 | 0.222222 | 0.222222 | 0 | 0.21875 | 0.23445 | 209 | 10 | 41 | 20.9 | 0.34375 | 0.416268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 1 | null | 1 | 1 | 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 | 1 | 0 | 6 |
5913f2bb776adf0ad1113e9a53a7b46b0d4a87c8 | 262 | py | Python | flask_toolkit/shared/exceptions.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 3 | 2018-07-31T16:11:17.000Z | 2021-08-14T17:03:44.000Z | flask_toolkit/shared/exceptions.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | 6 | 2018-07-11T14:34:09.000Z | 2019-11-29T13:53:13.000Z | flask_toolkit/shared/exceptions.py | Creditas/flask-toolkit | 830354b4e2c0f9fdac1d000dcc760226b704628a | [
"MIT"
] | null | null | null | class ObjectDoesNotExistException(Exception):
pass
class ForbiddenException(Exception):
pass
class BadRequestException(Exception):
pass
class InvalidDomainConditions(Exception):
pass
class ObjectAlreadyExistException(Exception):
pass
| 13.789474 | 45 | 0.778626 | 20 | 262 | 10.2 | 0.4 | 0.318627 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164122 | 262 | 18 | 46 | 14.555556 | 0.931507 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3ce1a24465550bcd389a9720d94322b5b07f6b48 | 174 | py | Python | backend/db/entities/__init__.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/__init__.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/__init__.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | from .general import *
from .general import DbGeneralEntity
from .staging import DbStagingEntity
from .commited import DbCommitedEntity
from .laporan import DbLaporanEntity
| 24.857143 | 38 | 0.844828 | 19 | 174 | 7.736842 | 0.526316 | 0.14966 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 174 | 6 | 39 | 29 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a73908ff728f9980a2924161adcd75776b911a41 | 30 | py | Python | trac/Lib/site-packages/tracaddheadersplugin-0.3-py2.7.egg/tracaddheaders/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | 2 | 2015-08-06T04:19:21.000Z | 2020-04-29T23:52:10.000Z | trac/Lib/site-packages/tracaddheadersplugin-0.3-py2.7.egg/tracaddheaders/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | null | null | null | trac/Lib/site-packages/tracaddheadersplugin-0.3-py2.7.egg/tracaddheaders/__init__.py | thinkbase/PortableTrac | 9ea0210f6b88f135ef73f370b48127af0495b2d7 | [
"BSD-3-Clause"
] | null | null | null | from tracaddheaders import *
| 15 | 29 | 0.8 | 3 | 30 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
598c213f5a6d0f0905a56bf52bcd56989cf40c85 | 46 | py | Python | ml_repo/1. Python Programming/m2.py | sachinpr0001/data_science | d028233ff7bbcbbb6b26f01806d1c5ccf788df9a | [
"MIT"
] | null | null | null | ml_repo/1. Python Programming/m2.py | sachinpr0001/data_science | d028233ff7bbcbbb6b26f01806d1c5ccf788df9a | [
"MIT"
] | null | null | null | ml_repo/1. Python Programming/m2.py | sachinpr0001/data_science | d028233ff7bbcbbb6b26f01806d1c5ccf788df9a | [
"MIT"
] | null | null | null | import m1
print("M2 Module %s",(__name__))
| 7.666667 | 32 | 0.652174 | 7 | 46 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 46 | 5 | 33 | 9.2 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5991f26a406bb63bc45bda875058819a6cf841cd | 80 | py | Python | chzhshch/__init__.py | hpzhen/ChZhShCh | a5af067e342cf734fafb827eab17462c4bd6f74d | [
"Apache-2.0"
] | 77 | 2017-12-17T12:19:49.000Z | 2022-02-15T07:59:55.000Z | chzhshch/__init__.py | hpzhen/ChZhShCh | a5af067e342cf734fafb827eab17462c4bd6f74d | [
"Apache-2.0"
] | 14 | 2017-12-18T15:43:52.000Z | 2022-03-11T23:49:45.000Z | chzhshch/__init__.py | hpzhen/ChZhShCh | a5af067e342cf734fafb827eab17462c4bd6f74d | [
"Apache-2.0"
] | 62 | 2018-01-06T16:31:45.000Z | 2022-03-20T01:42:55.000Z | from . import feature
from . import external_package
from . import inner_package | 26.666667 | 30 | 0.825 | 11 | 80 | 5.818182 | 0.545455 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 3 | 31 | 26.666667 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abe5b7fd6c3a1f1f362502cf073f8ad2cd084a72 | 177 | py | Python | metashare/repository/templatetags/get_media_url.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 11 | 2015-07-13T13:36:44.000Z | 2021-11-15T08:07:25.000Z | metashare/repository/templatetags/get_media_url.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 13 | 2015-03-21T14:08:31.000Z | 2021-05-18T18:47:58.000Z | metashare/repository/templatetags/get_media_url.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 12 | 2015-01-07T02:16:50.000Z | 2021-05-18T08:25:31.000Z | from django import template
from metashare.settings import MEDIA_URL
def get_media_url():
return MEDIA_URL
register = template.Library()
register.simple_tag(get_media_url) | 22.125 | 40 | 0.819209 | 26 | 177 | 5.307692 | 0.576923 | 0.231884 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 177 | 8 | 41 | 22.125 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f9ec9dfff3d9123a7bcb904074d5acdd734974f6 | 149 | py | Python | python/base-pyside-utils.py | n-kats/template | ab2a02b35b7acd5bba846e926d53bf7e10dac4c1 | [
"MIT"
] | 1 | 2016-11-07T05:58:50.000Z | 2016-11-07T05:58:50.000Z | python/base-pyside-utils.py | n-kats/template | ab2a02b35b7acd5bba846e926d53bf7e10dac4c1 | [
"MIT"
] | null | null | null | python/base-pyside-utils.py | n-kats/template | ab2a02b35b7acd5bba846e926d53bf7e10dac4c1 | [
"MIT"
] | null | null | null | from PySide.QtCore import QObject
def _enter(self):
return self
def _exit(self, *args):
pass
QObject.__enter__ = _enter
QObject.__exit__ = _exit
| 14.9 | 33 | 0.765101 | 21 | 149 | 4.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 149 | 9 | 34 | 16.555556 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
e6631a6814096c397c45bb15e33987e1d05e763f | 86 | py | Python | lab3/tcp_ip_protocol/__init__.py | UnstoppableGuy/Information-networks-security-basics | 2135107054f69c6d137480be4436e68a61bf754d | [
"MIT"
] | null | null | null | lab3/tcp_ip_protocol/__init__.py | UnstoppableGuy/Information-networks-security-basics | 2135107054f69c6d137480be4436e68a61bf754d | [
"MIT"
] | null | null | null | lab3/tcp_ip_protocol/__init__.py | UnstoppableGuy/Information-networks-security-basics | 2135107054f69c6d137480be4436e68a61bf754d | [
"MIT"
] | null | null | null | from tcp_ip_protocol.client import Client
from tcp_ip_protocol.router import register
| 28.666667 | 43 | 0.883721 | 14 | 86 | 5.142857 | 0.571429 | 0.194444 | 0.25 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
557797ed623565c55bdbcbf9ba81acb1a5104b39 | 177 | py | Python | Processing/GausianBlur.py | damirmardanov/figure-generator | 1ed7ee6d423f2d7392e95529336b8f2d35ea65fd | [
"MIT"
] | null | null | null | Processing/GausianBlur.py | damirmardanov/figure-generator | 1ed7ee6d423f2d7392e95529336b8f2d35ea65fd | [
"MIT"
] | null | null | null | Processing/GausianBlur.py | damirmardanov/figure-generator | 1ed7ee6d423f2d7392e95529336b8f2d35ea65fd | [
"MIT"
] | null | null | null | import cv2
import numpy as np
class GaussianBlur:
@staticmethod
def process(image_to_filter):
return cv2.GaussianBlur(np.uint8(image_to_filter), (3, 3), 0, 0)
| 19.666667 | 72 | 0.706215 | 26 | 177 | 4.653846 | 0.653846 | 0.115702 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.19774 | 177 | 8 | 73 | 22.125 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
55873ce25198a8d70e6600e0765a9745cb1fa5e2 | 152,521 | py | Python | MolNotator/Mode_merger.py | ZzakB/MolNotator | 9da9eae905d19b8272cac28c19c459f27159b77e | [
"MIT"
] | 7 | 2021-12-15T16:02:41.000Z | 2022-01-06T09:42:47.000Z | MolNotator/Mode_merger.py | ZzakB/MolNotator | 9da9eae905d19b8272cac28c19c459f27159b77e | [
"MIT"
] | 2 | 2022-01-12T19:22:32.000Z | 2022-02-11T10:57:21.000Z | MolNotator/Mode_merger.py | ZzakB/MolNotator | 9da9eae905d19b8272cac28c19c459f27159b77e | [
"MIT"
] | null | null | null | def Moder_merger(params : dict):
def Solo_M1mHpC4H11N(ion_idx, mgf_file):
mz = mgf_file[ion_idx].get('pepmass')[0]
peaks = pd.Series(mgf_file[ion_idx].peaks.mz)
mz_H = -1.007825 + mz - 72.081324
mz_Cl = 34.968853 + mz - 72.081324
valid_H = peaks.between(mz_H - ... | 65.068686 | 186 | 0.644665 | 21,527 | 152,521 | 4.225902 | 0.021508 | 0.076574 | 0.108606 | 0.093107 | 0.888008 | 0.860703 | 0.818228 | 0.761451 | 0.728188 | 0.716074 | 0 | 0.078781 | 0.233424 | 152,521 | 2,343 | 187 | 65.096458 | 0.699288 | 0.023269 | 0 | 0.565174 | 0 | 0 | 0.062507 | 0.000655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028358 | false | 0 | 0.003483 | 0.000498 | 0.059701 | 0.01393 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9d7e4d2f8de4076d09872c47c9b0fa0b4106fa5 | 2,616 | py | Python | 2016/day18/code.py | Fadi88/AoC | 8b24f2f2cc7b4e1c63758e81e63d8670a261cc7c | [
"Unlicense"
] | 12 | 2019-12-15T21:53:19.000Z | 2021-12-24T17:03:41.000Z | 2016/day18/code.py | Fadi88/adventofcode19 | dd2456bdd163beb02dbfe9dcea2b021061c7671e | [
"Unlicense"
] | 1 | 2021-12-15T20:40:51.000Z | 2021-12-15T22:19:48.000Z | 2016/day18/code.py | Fadi88/adventofcode19 | dd2456bdd163beb02dbfe9dcea2b021061c7671e | [
"Unlicense"
] | 5 | 2020-12-11T06:00:24.000Z | 2021-12-20T21:37:46.000Z | import time
import re
import hashlib
def profiler(method):
def wrapper_method(*arg, **kw):
t = time.time()
ret = method(*arg, **kw)
print('Method ' + method.__name__ + ' took : ' +
"{:2.5f}".format(time.time()-t) + ' sec')
return ret
return wrapper_method
@profi... | 29.066667 | 70 | 0.457187 | 332 | 2,616 | 3.560241 | 0.156627 | 0.101523 | 0.059222 | 0.067682 | 0.780034 | 0.759729 | 0.744501 | 0.744501 | 0.744501 | 0.744501 | 0 | 0.030826 | 0.379969 | 2,616 | 89 | 71 | 29.393258 | 0.697904 | 0.034404 | 0 | 0.742857 | 0 | 0 | 0.021395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.042857 | 0 | 0.128571 | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9d952e31300f5b8bfcf6237cdca79070255023d | 5,307 | py | Python | tests/test_clingy.py | mtkennerly/clingy | 39454bcf535127ee80ca3e9fb1580dfefcb8aad9 | [
"MIT"
] | 1 | 2017-03-24T09:19:18.000Z | 2017-03-24T09:19:18.000Z | tests/test_clingy.py | mtkennerly/clingy | 39454bcf535127ee80ca3e9fb1580dfefcb8aad9 | [
"MIT"
] | null | null | null | tests/test_clingy.py | mtkennerly/clingy | 39454bcf535127ee80ca3e9fb1580dfefcb8aad9 | [
"MIT"
] | null | null | null |
import six
try:
from unittest import mock
except ImportError:
import mock
import pytest
import clingy
builtins_name = six.moves.builtins.__name__
def test__parse_args_need_at_least_one_filename():
with pytest.raises(SystemExit):
clingy._parse_args([])
def test__parse_args_one_email():
ar... | 25.762136 | 73 | 0.651027 | 750 | 5,307 | 4.422667 | 0.106667 | 0.046427 | 0.05909 | 0.043413 | 0.831776 | 0.784142 | 0.762436 | 0.748267 | 0.725957 | 0.698523 | 0 | 0.003027 | 0.190692 | 5,307 | 205 | 74 | 25.887805 | 0.769267 | 0.034671 | 0 | 0.585938 | 0 | 0 | 0.112307 | 0 | 0 | 0 | 0 | 0 | 0.359375 | 1 | 0.171875 | false | 0 | 0.046875 | 0 | 0.21875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
756e0375de5bec14cdbdf2b29b644de8daa8e805 | 13,084 | py | Python | tests/signatures/gc3_versioned_type/test_gc3_versioned_type.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/signatures/gc3_versioned_type/test_gc3_versioned_type.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | tests/signatures/gc3_versioned_type/test_gc3_versioned_type.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
from gc3_query.lib import gc3_cfg
from gc3_query.lib.gc3_config import GC3Config
from gc3_query.lib.iaas_classic.instances import Instances
from gc3_query.lib.iaas_classic.sec_rules import SecRules
# fixme? from gc3_query.lib.open_api import API_SPECS_DIR
from gc3_query.lib.open... | 53.404082 | 154 | 0.796163 | 1,945 | 13,084 | 4.829306 | 0.048843 | 0.08517 | 0.079634 | 0.028106 | 0.894177 | 0.841584 | 0.784627 | 0.771 | 0.729054 | 0.686682 | 0 | 0.048629 | 0.12458 | 13,084 | 244 | 155 | 53.622951 | 0.771434 | 0.012687 | 0 | 0.423913 | 0 | 0 | 0.080189 | 0.03409 | 0 | 0 | 0 | 0.004098 | 0.26087 | 1 | 0.038043 | false | 0 | 0.043478 | 0 | 0.081522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75754a7f21e5a18e1ac88cf3f406b248054fa1a0 | 64 | py | Python | venv/lib/python3.6/site-packages/ppb/vector.py | Karagusto/Game_ppg | f5f7eccaf46495e3872b94aba8df56abab83b622 | [
"Artistic-2.0"
] | null | null | null | venv/lib/python3.6/site-packages/ppb/vector.py | Karagusto/Game_ppg | f5f7eccaf46495e3872b94aba8df56abab83b622 | [
"Artistic-2.0"
] | null | null | null | venv/lib/python3.6/site-packages/ppb/vector.py | Karagusto/Game_ppg | f5f7eccaf46495e3872b94aba8df56abab83b622 | [
"Artistic-2.0"
] | null | null | null | from ppb_vector import Vector2
class Vector(Vector2):
pass | 12.8 | 30 | 0.765625 | 9 | 64 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.1875 | 64 | 5 | 31 | 12.8 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
75b6628bb089439a3c512fa625b437cbcdd5abad | 152 | py | Python | pyzipper/__init__.py | MatthewWalker/pyzipper | ce50a5f48c78da4a67da3b8408af87b00b58efab | [
"MIT"
] | 71 | 2018-11-09T03:51:42.000Z | 2022-03-30T06:06:28.000Z | pyzipper/__init__.py | MatthewWalker/pyzipper | ce50a5f48c78da4a67da3b8408af87b00b58efab | [
"MIT"
] | 20 | 2019-02-05T12:56:47.000Z | 2021-09-29T04:01:34.000Z | pyzipper/__init__.py | MatthewWalker/pyzipper | ce50a5f48c78da4a67da3b8408af87b00b58efab | [
"MIT"
] | 15 | 2018-11-14T05:32:41.000Z | 2022-01-31T11:32:21.000Z | from .zipfile import * # noqa: F401, F403
from .zipfile_aes import AESZipFile, WZ_AES # noqa: F401
from .__version__ import __version__ # noqa: F401
| 38 | 57 | 0.75 | 21 | 152 | 4.952381 | 0.47619 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.171053 | 152 | 3 | 58 | 50.666667 | 0.730159 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75c55d22561bd2d08b756de57530b00b3e435b6f | 9,248 | py | Python | tests/unit/pack_encrypted/test_pack_encrypted_negative.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 8 | 2021-09-04T19:28:18.000Z | 2021-12-22T16:00:18.000Z | tests/unit/pack_encrypted/test_pack_encrypted_negative.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 4 | 2021-07-27T23:44:33.000Z | 2021-10-13T13:29:39.000Z | tests/unit/pack_encrypted/test_pack_encrypted_negative.py | alex-polosky/didcomm-python | 955866024c9f6191df9c5a898cc77e1979781eae | [
"Apache-2.0"
] | 7 | 2021-07-22T08:19:13.000Z | 2022-01-04T14:46:38.000Z | import copy
import pytest
from didcomm.errors import (
DIDCommValueError,
DIDDocNotResolvedError,
SecretNotFoundError,
DIDUrlNotFoundError,
IncompatibleCryptoError,
)
from didcomm.pack_encrypted import pack_encrypted
from tests.test_vectors.common import BOB_DID, CHARLIE_DID, ALICE_DID
from tests.... | 29.081761 | 87 | 0.691501 | 1,134 | 9,248 | 5.247795 | 0.064374 | 0.17392 | 0.154596 | 0.104352 | 0.888086 | 0.864056 | 0.813645 | 0.796505 | 0.767434 | 0.723912 | 0 | 0.004364 | 0.231942 | 9,248 | 317 | 88 | 29.173502 | 0.833451 | 0 | 0 | 0.591078 | 0 | 0 | 0.024978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026022 | 0 | 0.02974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f947801ad12f27d7b8bbcaafd1f69f89ca3c3cd2 | 281 | py | Python | improvisers/__init__.py | mvcisback/improvisers | d7ccc9c560fbe939a24a7ad61f1d12a7c31157ae | [
"MIT"
] | null | null | null | improvisers/__init__.py | mvcisback/improvisers | d7ccc9c560fbe939a24a7ad61f1d12a7c31157ae | [
"MIT"
] | null | null | null | improvisers/__init__.py | mvcisback/improvisers | d7ccc9c560fbe939a24a7ad61f1d12a7c31157ae | [
"MIT"
] | null | null | null | """Library for synthesizing Entropic Reactive Control Improvisers for
stochastic games."""
# flake8: noqa
from improvisers.game_graph import *
from improvisers.implicit import *
from improvisers.explicit import *
from improvisers.tabular import *
from improvisers.policy import *
| 28.1 | 69 | 0.811388 | 33 | 281 | 6.878788 | 0.575758 | 0.330396 | 0.370044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.120996 | 281 | 9 | 70 | 31.222222 | 0.91498 | 0.348754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f95504d8880230e5b6bce2d1fb610eca7848515f | 7,065 | py | Python | PartDesignTests/TestPolarPattern.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 21 | 2019-12-06T09:57:10.000Z | 2021-09-22T12:58:09.000Z | PartDesignTests/TestPolarPattern.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | null | null | null | PartDesignTests/TestPolarPattern.py | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 5 | 2020-11-18T00:09:30.000Z | 2021-01-13T04:40:47.000Z | # (c) Juergen Riegel (FreeCAD@juergen-riegel.net) 2011 LGPL *
# *
# This file is part of the FreeCAD CAx development system. *
# *
# This program... | 48.390411 | 89 | 0.61741 | 739 | 7,065 | 5.894452 | 0.205683 | 0.15427 | 0.077135 | 0.107438 | 0.762397 | 0.762397 | 0.747245 | 0.747245 | 0.747245 | 0.747245 | 0 | 0.024255 | 0.258882 | 7,065 | 145 | 90 | 48.724138 | 0.807678 | 0.217127 | 0 | 0.823009 | 0 | 0 | 0.114623 | 0.060127 | 0 | 0 | 0 | 0 | 0.053097 | 1 | 0.070796 | false | 0 | 0.026549 | 0 | 0.106195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f960e17e7a4804bd248a9e4866f9fe09aabb64d9 | 337 | py | Python | tests/utils.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 29 | 2021-06-14T08:27:43.000Z | 2022-02-07T13:40:27.000Z | tests/utils.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-11-23T16:11:51.000Z | 2021-12-21T17:24:36.000Z | tests/utils.py | shrenik-jain/ComVEX | 93622de3a4771cda13b14f8bba52990eb47c2409 | [
"Apache-2.0"
] | 3 | 2021-06-27T08:18:57.000Z | 2021-12-17T07:29:59.000Z | import torch
def assert_output_has_nan(x: torch.Tensor) -> None:
assert torch.isnan(x).any() == False, "Output contains NaN."
def assert_output_shape_wrong(x: torch.Tensor, expected_shape: tuple) -> None:
assert (
x.shape == expected_shape
), f"Output's shape: {tuple(x.shape)} != Expected shape: {... | 37.444444 | 79 | 0.691395 | 48 | 337 | 4.666667 | 0.416667 | 0.232143 | 0.241071 | 0.169643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163205 | 337 | 9 | 79 | 37.444444 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0.263314 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f963a319b895bf4bc57d1d29c511bfb64ba84e76 | 177 | py | Python | src/hrflow_connectors/connectors/destinations/flatchr/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 32 | 2021-02-15T15:17:28.000Z | 2022-01-25T10:13:48.000Z | src/hrflow_connectors/connectors/destinations/flatchr/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 3 | 2021-12-29T19:26:58.000Z | 2022-01-28T09:07:40.000Z | src/hrflow_connectors/connectors/destinations/flatchr/spec.py | Riminder/hrflow-connectors | 6be229520657031a9dda5e6fc9680dc527d730ad | [
"Apache-2.0"
] | 3 | 2021-12-17T08:49:58.000Z | 2022-03-15T07:15:40.000Z | from pydantic import BaseModel
from typing import Tuple
from .actions import PushProfile, EnrichProfile
class Spec(BaseModel):
actions: Tuple[PushProfile, EnrichProfile]
| 19.666667 | 47 | 0.80791 | 20 | 177 | 7.15 | 0.55 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141243 | 177 | 8 | 48 | 22.125 | 0.940789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9712042add1347337523977d3e1a54bdf870384 | 65 | py | Python | Machine Learning/Projects/Pokemon_Classifier/helper.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | 1 | 2018-07-21T15:41:40.000Z | 2018-07-21T15:41:40.000Z | Machine Learning/Projects/Pokemon_Classifier/helper.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | Machine Learning/Projects/Pokemon_Classifier/helper.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | import numpy as np
def resize():
pass
def load_data():
pass | 7.222222 | 18 | 0.676923 | 11 | 65 | 3.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 65 | 9 | 19 | 7.222222 | 0.86 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.4 | 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 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ddd6e9ab89f145d7f012c7207822fb73a58ec2f3 | 114 | py | Python | Easy/69 - Sqrt(x).py | gizemkurtoglu/LeetCode | 5e4461e26b5d430c4ef50e7f820d22beea50a896 | [
"MIT"
] | 5 | 2022-01-03T10:22:26.000Z | 2022-02-20T05:05:17.000Z | Easy/69 - Sqrt(x).py | gizemkurtoglu/LeetCode | 5e4461e26b5d430c4ef50e7f820d22beea50a896 | [
"MIT"
] | null | null | null | Easy/69 - Sqrt(x).py | gizemkurtoglu/LeetCode | 5e4461e26b5d430c4ef50e7f820d22beea50a896 | [
"MIT"
] | null | null | null | from math import floor, sqrt
class Solution:
def mySqrt(self, x: int) -> int:
return floor(sqrt(x))
| 16.285714 | 36 | 0.631579 | 17 | 114 | 4.235294 | 0.764706 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254386 | 114 | 6 | 37 | 19 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ddf2ef50766d7471233815664e1898ec383688a9 | 296 | py | Python | odin/fuel/bio_data/__init__.py | trungnt13/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 7 | 2020-12-29T19:35:58.000Z | 2022-01-31T21:01:30.000Z | odin/fuel/bio_data/__init__.py | imito/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 3 | 2020-02-06T16:44:17.000Z | 2020-09-26T05:26:14.000Z | odin/fuel/bio_data/__init__.py | trungnt13/odin-ai | 9c6986a854e62da39637ea463667841378b7dd84 | [
"MIT"
] | 6 | 2019-02-14T01:36:28.000Z | 2020-10-30T13:16:32.000Z | from odin.fuel.bio_data._base import GeneDataset
from odin.fuel.bio_data.atac_datasets import *
from odin.fuel.bio_data.cortex import Cortex
from odin.fuel.bio_data.human_embryos import HumanEmbryos
from odin.fuel.bio_data.human_genome import HumanGenome
from odin.fuel.bio_data.pbmc import PBMC
| 42.285714 | 57 | 0.85473 | 50 | 296 | 4.86 | 0.34 | 0.197531 | 0.296296 | 0.37037 | 0.510288 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 296 | 6 | 58 | 49.333333 | 0.893382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb1247ee78c07eaeaeb04435e0d979f7fa61efc0 | 115 | py | Python | python/src/algorithms/__init__.py | onyonkaclifford/jwt | e5bc6eab6724b9e76a52d8789f672889a5866fe9 | [
"MIT"
] | null | null | null | python/src/algorithms/__init__.py | onyonkaclifford/jwt | e5bc6eab6724b9e76a52d8789f672889a5866fe9 | [
"MIT"
] | null | null | null | python/src/algorithms/__init__.py | onyonkaclifford/jwt | e5bc6eab6724b9e76a52d8789f672889a5866fe9 | [
"MIT"
] | null | null | null | from .algorithm import Algorithm
from .hmac_algorithm import HMACAlgorithm
from .rsa_algorithm import RSAAlgorithm
| 28.75 | 41 | 0.869565 | 14 | 115 | 7 | 0.5 | 0.459184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 3 | 42 | 38.333333 | 0.951456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b587fd620e4f1c6fe733582b67551722b31664 | 94 | py | Python | orderbook_veinte/orderbook/views/__init__.py | morwen1/hyperion | f0d77a6cce6a366555e9f0ca0080f3da134862bf | [
"MIT"
] | null | null | null | orderbook_veinte/orderbook/views/__init__.py | morwen1/hyperion | f0d77a6cce6a366555e9f0ca0080f3da134862bf | [
"MIT"
] | null | null | null | orderbook_veinte/orderbook/views/__init__.py | morwen1/hyperion | f0d77a6cce6a366555e9f0ca0080f3da134862bf | [
"MIT"
] | null | null | null | from .bids import *
from .asks import *
from .transaction import *
from .orders_user import * | 23.5 | 26 | 0.744681 | 13 | 94 | 5.307692 | 0.538462 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 94 | 4 | 27 | 23.5 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
34b97a06077bc5a6ce5098d6132893c162e3d6a3 | 87 | py | Python | Day9/String repeat.py | ColdTears619/My100DaysOfCode | aa33d721a0fa71b2e2c5ebf5b22594f40e443f68 | [
"MIT"
] | 1 | 2021-12-25T16:18:42.000Z | 2021-12-25T16:18:42.000Z | Day9/String repeat.py | ColdTears619/My100DaysOfCode | aa33d721a0fa71b2e2c5ebf5b22594f40e443f68 | [
"MIT"
] | null | null | null | Day9/String repeat.py | ColdTears619/My100DaysOfCode | aa33d721a0fa71b2e2c5ebf5b22594f40e443f68 | [
"MIT"
] | null | null | null | def repeat_str(repeat, string):
return repeat * string
print(repeat_str(6,'I')) | 29 | 31 | 0.689655 | 13 | 87 | 4.461538 | 0.615385 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 87 | 3 | 32 | 29 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
551d8313af3bc436ad1047eaec2278a45e83086c | 147 | py | Python | modules/python-codes/modules/functions/src/02-say-hello.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | 1 | 2020-09-06T22:17:19.000Z | 2020-09-06T22:17:19.000Z | modules/python-codes/modules/functions/src/02-say-hello.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | modules/python-codes/modules/functions/src/02-say-hello.py | drigols/Studies | 9c293156935b491ded24be6b511daac67fd43538 | [
"MIT"
] | null | null | null | # Cria a função que diz "Hello".
def say_hello():
print("Hello!!")
if __name__ == "__main__":
# Chama a função que diz "Hello".
say_hello()
| 18.375 | 35 | 0.639456 | 22 | 147 | 3.818182 | 0.590909 | 0.166667 | 0.238095 | 0.309524 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 147 | 7 | 36 | 21 | 0.711864 | 0.421769 | 0 | 0 | 0 | 0 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b366573ecba2f67af8ac2068bf9aa62e5e864bd | 111 | py | Python | pinballmap/exceptions.py | eyesee1/python-pinballmap | 5605e6905e7feabf8fecda6fe0f5884e89d6412d | [
"MIT"
] | 2 | 2017-02-17T18:39:42.000Z | 2017-02-17T18:39:50.000Z | pinballmap/exceptions.py | eyesee1/python-pinballmap | 5605e6905e7feabf8fecda6fe0f5884e89d6412d | [
"MIT"
] | 3 | 2017-05-04T23:44:08.000Z | 2022-01-23T02:23:23.000Z | pinballmap/exceptions.py | eyesee1/python-pinballmap | 5605e6905e7feabf8fecda6fe0f5884e89d6412d | [
"MIT"
] | null | null | null | class TokenRequiredException(Exception):
pass
class PinballMapAuthenticationFailure(Exception):
pass
| 15.857143 | 49 | 0.801802 | 8 | 111 | 11.125 | 0.625 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 6 | 50 | 18.5 | 0.936842 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fd0a3585254c85443f75e40c004dafd9e2766585 | 1,002 | py | Python | catkin_ws/build/mrta/cmake/mrta-genmsg-context.py | people-robots/MRTA | 3e10eda5157c6cde8668128b640c1a8737afb9b4 | [
"MIT"
] | 2 | 2021-06-30T09:00:52.000Z | 2021-12-17T09:45:33.000Z | catkin_ws/build/mrta/cmake/mrta-genmsg-context.py | people-robots/MRTA | 3e10eda5157c6cde8668128b640c1a8737afb9b4 | [
"MIT"
] | 1 | 2020-02-25T03:51:54.000Z | 2020-02-25T03:51:54.000Z | catkin_ws/build/mrta/cmake/mrta-genmsg-context.py | people-robots/MRTA | 3e10eda5157c6cde8668128b640c1a8737afb9b4 | [
"MIT"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/kimwang/Desktop/MRTA-devel/catkin_ws/src/mrta/msg/Task.msg;/home/kimwang/Desktop/MRTA-devel/catkin_ws/src/mrta/msg/AuctionRequest.msg;/home/kimwang/Desktop/MRTA-devel/catkin_ws/src/mrta/msg/AuctionAck.msg;/home/kimwang/Desktop/MRTA-devel/catkin_... | 83.5 | 433 | 0.799401 | 160 | 1,002 | 4.8375 | 0.3625 | 0.113695 | 0.186047 | 0.22739 | 0.488372 | 0.488372 | 0.488372 | 0.488372 | 0.488372 | 0.488372 | 0 | 0 | 0.033932 | 1,002 | 11 | 434 | 91.090909 | 0.799587 | 0.048902 | 0 | 0 | 1 | 0.333333 | 0.78654 | 0.753943 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd10471a0e39d6df4986a7cb4b86cddc3f7b4e97 | 117 | py | Python | src/entities/__init__.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | src/entities/__init__.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | src/entities/__init__.py | Asa-Nisi-Masa/movie-recommender | 92752aa302e166885ab3e39b3e9d2ac9185a013e | [
"MIT"
] | null | null | null | from .movie import Movie
from .searched_movie import SearchedMovie
from .recommended_movies import RecommendedMovies
| 29.25 | 49 | 0.871795 | 14 | 117 | 7.142857 | 0.571429 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 50 | 39 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd10f301aea3af92a6556abbfd73b8d429556cc4 | 146 | py | Python | _benchmarks/hug_server.py | axegon/Milvago | 4e05e54fa34190c8a5eb4d4913b5231e660e6711 | [
"MIT"
] | null | null | null | _benchmarks/hug_server.py | axegon/Milvago | 4e05e54fa34190c8a5eb4d4913b5231e660e6711 | [
"MIT"
] | 1 | 2020-08-11T12:50:50.000Z | 2020-08-11T12:50:50.000Z | _benchmarks/hug_server.py | axegon/Milvago | 4e05e54fa34190c8a5eb4d4913b5231e660e6711 | [
"MIT"
] | null | null | null | import hug
from common_data import CONTENTS
@hug.get('/')
@hug.format.content_type('application/json')
def happy_birthday():
return CONTENTS | 18.25 | 44 | 0.760274 | 20 | 146 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 8 | 45 | 18.25 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.115646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fd46bb36c95d49583e23675149a4058ae6721e5d | 152 | py | Python | tests/asp/weakConstraints/weak_constraints_example3.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/weakConstraints/weak_constraints_example3.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/weakConstraints/weak_constraints_example3.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
8 2 2 3 0 0
8 2 4 5 0 0
1 6 1 0 3
1 6 1 0 2
1 6 1 0 5
1 6 1 0 4
6 0 1 0 6 1
0
2 b
3 a
4 d
5 c
0
B+
0
B-
1
0
1
"""
output = """
COST 1@1
"""
| 6.08 | 12 | 0.467105 | 59 | 152 | 1.20339 | 0.254237 | 0.197183 | 0.211268 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.568182 | 0.421053 | 152 | 24 | 13 | 6.333333 | 0.238636 | 0 | 0 | 0.083333 | 0 | 0 | 0.796053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b5d040a2ee46a1d6a8dfdd8f333019e77ad5339d | 6,411 | py | Python | models/VGG_loss.py | qcw171717/cs236_pix2pix_cyclegan | 364a13b57748ba04367c7329fe51640ed9f7712e | [
"BSD-3-Clause"
] | null | null | null | models/VGG_loss.py | qcw171717/cs236_pix2pix_cyclegan | 364a13b57748ba04367c7329fe51640ed9f7712e | [
"BSD-3-Clause"
] | null | null | null | models/VGG_loss.py | qcw171717/cs236_pix2pix_cyclegan | 364a13b57748ba04367c7329fe51640ed9f7712e | [
"BSD-3-Clause"
] | null | null | null | # class VGGPerceptualLoss(torch.nn.Module):
# ## input (N, C, H, W)
# ## output (N, C, H, W)
# def __init__(self, mask=None, resolution=(32, 32) ,resize=True):
# super(VGGPerceptualLoss, self).__init__()
# blocks = []
# blocks.append(torchvision.models.vgg16(pretrained=True).features... | 50.085938 | 104 | 0.562939 | 905 | 6,411 | 3.853039 | 0.110497 | 0.010324 | 0.010324 | 0.013765 | 0.869229 | 0.826498 | 0.809865 | 0.802122 | 0.790938 | 0.790938 | 0 | 0.058708 | 0.282639 | 6,411 | 128 | 105 | 50.085938 | 0.6995 | 0.648417 | 0 | 0 | 0 | 0 | 0.010638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.051282 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b5ddc010104e366893c1e863dc28aeee0aacc028 | 277 | py | Python | ecommerce/webstore/views.py | SOORAJTS2001/HACKERCBS | 3d3b0e5f58f5db0c50e8d9f581673c47d2add0ac | [
"MIT"
] | null | null | null | ecommerce/webstore/views.py | SOORAJTS2001/HACKERCBS | 3d3b0e5f58f5db0c50e8d9f581673c47d2add0ac | [
"MIT"
] | null | null | null | ecommerce/webstore/views.py | SOORAJTS2001/HACKERCBS | 3d3b0e5f58f5db0c50e8d9f581673c47d2add0ac | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request,'webstore/index.html')
def details(request):
return render(request,'webstore/details.html')
def contact(request):
return render(request,'webstore/contact.html') | 30.777778 | 50 | 0.761733 | 36 | 277 | 5.861111 | 0.472222 | 0.184834 | 0.270142 | 0.369668 | 0.483412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119134 | 277 | 9 | 51 | 30.777778 | 0.864754 | 0.083032 | 0 | 0 | 0 | 0 | 0.241107 | 0.166008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b5e88770bea50726818aa71a4901a63db3db8c96 | 135 | py | Python | vicarui/src/vicarui/support/pipeline/__init__.py | joniumGit/moons | f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85 | [
"MIT"
] | 1 | 2021-07-16T06:30:37.000Z | 2021-07-16T06:30:37.000Z | vicarui/src/vicarui/support/pipeline/__init__.py | joniumGit/moons | f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85 | [
"MIT"
] | null | null | null | vicarui/src/vicarui/support/pipeline/__init__.py | joniumGit/moons | f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85 | [
"MIT"
] | 1 | 2021-05-26T03:53:41.000Z | 2021-05-26T03:53:41.000Z | from .statsmodels_adapter import *
from .adapter_interface import *
from .partial import *
from .pipe import *
from .powerlaw import *
| 22.5 | 34 | 0.777778 | 17 | 135 | 6.058824 | 0.470588 | 0.38835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 135 | 5 | 35 | 27 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5fabf2bde7a9a60aa5580128b8ea91b15f6f07e | 79 | py | Python | vnpy/app/chart_wizard/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/app/chart_wizard/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/app/chart_wizard/__init__.py | ChaunceyDong/vnpy | 1c1b683ffc1c842bb7661e8194eca61af30cf586 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | import sys
import vnpy_chartwizard
sys.modules[__name__] = vnpy_chartwizard
| 11.285714 | 40 | 0.822785 | 10 | 79 | 5.9 | 0.6 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 79 | 6 | 41 | 13.166667 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1fc205f0a7ddf659616a67a25ceb06c5671a65a4 | 140 | py | Python | hello.py | trintambogo/firstprogram | 92fc1d0a93128afe466608747512ac18f1c16eaa | [
"MIT"
] | null | null | null | hello.py | trintambogo/firstprogram | 92fc1d0a93128afe466608747512ac18f1c16eaa | [
"MIT"
] | null | null | null | hello.py | trintambogo/firstprogram | 92fc1d0a93128afe466608747512ac18f1c16eaa | [
"MIT"
] | null | null | null | print("helloworld")
print('my name is trinta')
print('---------')
print('________')
print('| |')
print('---------')
| 15.555556 | 27 | 0.442857 | 11 | 140 | 4.909091 | 0.545455 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 140 | 8 | 28 | 17.5 | 0.509434 | 0 | 0 | 0.333333 | 0 | 0 | 0.469697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1fff8e6aba6effabba855f53bb10124200b97f2c | 29 | py | Python | lego/apps/feed/models.py | andrinelo/lego | 9b53c8fe538d9107b980a70e2a21fb487cc3b290 | [
"MIT"
] | null | null | null | lego/apps/feed/models.py | andrinelo/lego | 9b53c8fe538d9107b980a70e2a21fb487cc3b290 | [
"MIT"
] | null | null | null | lego/apps/feed/models.py | andrinelo/lego | 9b53c8fe538d9107b980a70e2a21fb487cc3b290 | [
"MIT"
] | null | null | null | from .verbs import * # noqa
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.863636 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1f39451f076aaf743137803618eb053a145f62ae | 26,897 | py | Python | mobotpy/models.py | botprof/agv-examples | a21b0f65fa50ad023864e18c40a37353f2a37f84 | [
"MIT"
] | 6 | 2021-11-06T11:14:39.000Z | 2022-03-29T10:54:57.000Z | mobotpy/models.py | botprof/agv-examples | a21b0f65fa50ad023864e18c40a37353f2a37f84 | [
"MIT"
] | 3 | 2022-02-13T17:32:24.000Z | 2022-02-13T22:50:30.000Z | mobotpy/models.py | botprof/agv-examples | a21b0f65fa50ad023864e18c40a37353f2a37f84 | [
"MIT"
] | 1 | 2022-01-21T10:48:22.000Z | 2022-01-21T10:48:22.000Z | """
Python module models.py for various vehicle models.
Author: Joshua A. Marshall <joshua.marshall@queensu.ca>
GitHub: https://github.com/botprof/agv-examples
"""
import numpy as np
from mobotpy import graphics
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from scipy.stats import chi2
from ... | 35.067797 | 88 | 0.506413 | 3,868 | 26,897 | 3.400465 | 0.072389 | 0.04843 | 0.023417 | 0.015738 | 0.810081 | 0.777085 | 0.754125 | 0.738083 | 0.724626 | 0.710332 | 0 | 0.029667 | 0.353348 | 26,897 | 766 | 89 | 35.113577 | 0.726557 | 0.264676 | 0 | 0.663067 | 0 | 0 | 0.018932 | 0.004518 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066955 | false | 0 | 0.012959 | 0 | 0.146868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1f42f52e17e69193369fe350fe87f8633f69b781 | 49 | py | Python | HelloWorld.py | manikantavasupalli/python-practice | a4504efe3e294e8dfc4dee046778dea7d1c1e528 | [
"MIT"
] | null | null | null | HelloWorld.py | manikantavasupalli/python-practice | a4504efe3e294e8dfc4dee046778dea7d1c1e528 | [
"MIT"
] | null | null | null | HelloWorld.py | manikantavasupalli/python-practice | a4504efe3e294e8dfc4dee046778dea7d1c1e528 | [
"MIT"
] | null | null | null | #Simple Hello World program
print("Hello World")
| 16.333333 | 27 | 0.77551 | 7 | 49 | 5.428571 | 0.714286 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 2 | 28 | 24.5 | 0.883721 | 0.530612 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2f7afaaa2acaf9301b0a6faac8f2b85c617d26fc | 144 | py | Python | ts_eval/viz/components/__init__.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | 1 | 2021-07-12T08:58:07.000Z | 2021-07-12T08:58:07.000Z | ts_eval/viz/components/__init__.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | null | null | null | ts_eval/viz/components/__init__.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | null | null | null | class BaseComponent:
"""
Base component
"""
def compute(self):
return None
def display(self):
return None
| 13.090909 | 22 | 0.548611 | 14 | 144 | 5.642857 | 0.714286 | 0.253165 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 144 | 10 | 23 | 14.4 | 0.858696 | 0.097222 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
85e049f06154a7e80b92ddb3743aa33c8e68dc7e | 146 | py | Python | src/OOXMLParser/__init__.py | rjsmith/robot-ooxml | 3cb957480eda39bd2ffe8659c6f0fa68f17189f5 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-03-06T11:07:48.000Z | 2021-11-12T17:29:09.000Z | src/OOXMLParser/__init__.py | rjsmith/robot-ooxml | 3cb957480eda39bd2ffe8659c6f0fa68f17189f5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-03-06T09:08:02.000Z | 2015-03-06T09:34:11.000Z | src/OOXMLParser/__init__.py | rjsmith/robot-ooxml | 3cb957480eda39bd2ffe8659c6f0fa68f17189f5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | '''
Created on 28 Feb 2014
@author: richardsmith
'''
from OOXMLParser.docxreader import DocxReader
from OOXMLParser.xlsxreader import XlsxReader
| 18.25 | 45 | 0.808219 | 17 | 146 | 6.941176 | 0.705882 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.123288 | 146 | 7 | 46 | 20.857143 | 0.875 | 0.308219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c823571d5070355d8bb5ea83e1cc96c7d66cbdf8 | 699 | py | Python | synth/constraint/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | synth/constraint/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | synth/constraint/__init__.py | lummax/switching-lattice-synth | 47cf9e64c900cb179c392b46a392049e99dfebab | [
"MIT"
] | null | null | null | from synth.constraint import cardnet
from synth.constraint.sequential_counter import at_most_one
from synth.constraint.sequential_counter import at_least_one
from synth.constraint.sequential_counter import equals_one
def at_most(inputs, p, equivalent=None):
if p == 1: yield from at_most_one(inputs, equivalent)
... | 36.789474 | 60 | 0.771102 | 106 | 699 | 4.924528 | 0.198113 | 0.08046 | 0.195402 | 0.166667 | 0.802682 | 0.695402 | 0.695402 | 0.360153 | 0.203065 | 0.137931 | 0 | 0.005 | 0.141631 | 699 | 18 | 61 | 38.833333 | 0.865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8456dd3ec53541f568844c28b5deec50f7881d3 | 158 | py | Python | data/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 18 | 2019-10-17T10:30:40.000Z | 2020-12-26T03:59:23.000Z | data/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 2 | 2021-08-25T15:05:01.000Z | 2022-02-09T23:41:44.000Z | data/__init__.py | iamVarunAnand/image_classification | 58120a2a708e495b598cc97fe297e2071c8c4197 | [
"MIT"
] | 3 | 2020-09-18T19:29:13.000Z | 2021-12-27T05:17:53.000Z | from .cifargenerator import CifarGenerator, CifarPreprocessor
from .mixupcifargenerator import MixUpCifarGenerator
from .datadispatcher import DataDispatcher
| 39.5 | 61 | 0.892405 | 13 | 158 | 10.846154 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 158 | 3 | 62 | 52.666667 | 0.972414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c85757385b0bcfc653355f569a3fd80306c30376 | 206 | py | Python | students/K33422/Bondarenko_Gleb/NEW/lab_3/candy_project/candy_app/candy_app/admin.py | ArokhTheDragon/ITMO_ICT_WebDevelopment_2021-2022 | c0dd905cf6f30c060310f5377b62a1125e697d40 | [
"MIT"
] | null | null | null | students/K33422/Bondarenko_Gleb/NEW/lab_3/candy_project/candy_app/candy_app/admin.py | ArokhTheDragon/ITMO_ICT_WebDevelopment_2021-2022 | c0dd905cf6f30c060310f5377b62a1125e697d40 | [
"MIT"
] | null | null | null | students/K33422/Bondarenko_Gleb/NEW/lab_3/candy_project/candy_app/candy_app/admin.py | ArokhTheDragon/ITMO_ICT_WebDevelopment_2021-2022 | c0dd905cf6f30c060310f5377b62a1125e697d40 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(Candies)
admin.site.register(Client)
admin.site.register(Staff)
admin.site.register(Request) | 22.888889 | 33 | 0.771845 | 28 | 206 | 5.678571 | 0.5 | 0.226415 | 0.427673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 206 | 9 | 34 | 22.888889 | 0.883333 | 0.126214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c090686d289d2ce9df52481ccf9383891e2377d1 | 195 | py | Python | python/print_string.py | sivasant/python_project | d148a1be177a634b25e571b1fc1b710276f3ef3b | [
"Apache-2.0"
] | null | null | null | python/print_string.py | sivasant/python_project | d148a1be177a634b25e571b1fc1b710276f3ef3b | [
"Apache-2.0"
] | null | null | null | python/print_string.py | sivasant/python_project | d148a1be177a634b25e571b1fc1b710276f3ef3b | [
"Apache-2.0"
] | null | null | null | print('My name is santhosh')
print("We'er going to pheonix")
print('He said "Hi.."')
print('we\'er going to the store')
print('Hi'+'you')
print('Hi '+'you')
print('Hi','you')
print('Hi '+str(5))
| 21.666667 | 34 | 0.625641 | 35 | 195 | 3.485714 | 0.514286 | 0.229508 | 0.245902 | 0.368852 | 0.565574 | 0.303279 | 0.303279 | 0.303279 | 0 | 0 | 0 | 0.00578 | 0.112821 | 195 | 8 | 35 | 24.375 | 0.699422 | 0 | 0 | 0.25 | 0 | 0 | 0.394872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c0b95bab04d6dce8ff77a6963e666d2667d4621b | 12,872 | py | Python | hera_cal/tests/profile_logcal.py | LBJ-Wade/hera_cal | 868122b04b8e7f627aa72317427f89ca3eaf7d60 | [
"MIT"
] | 10 | 2017-06-22T22:14:23.000Z | 2022-03-08T17:33:45.000Z | hera_cal/tests/profile_logcal.py | LBJ-Wade/hera_cal | 868122b04b8e7f627aa72317427f89ca3eaf7d60 | [
"MIT"
] | 610 | 2017-06-22T22:16:27.000Z | 2022-03-31T16:11:34.000Z | hera_cal/tests/profile_logcal.py | LBJ-Wade/hera_cal | 868122b04b8e7f627aa72317427f89ca3eaf7d60 | [
"MIT"
] | 8 | 2017-10-30T18:16:19.000Z | 2021-04-01T09:20:18.000Z | from __future__ import print_function
import hera_cal.redcal as om
import hera_cal.omni
import omnical.calib
import numpy as np
import unittest
import time
from copy import deepcopy
import pstats
import cProfile
np.random.seed(0)
# SHAPE = (1,1024)
SHAPE = (60, 1024)
# SHAPE = (2,1024)
NANTS = 18
def build_linear_a... | 44.850174 | 130 | 0.556868 | 1,938 | 12,872 | 3.575851 | 0.114551 | 0.012121 | 0.054113 | 0.072727 | 0.75974 | 0.748196 | 0.731025 | 0.717027 | 0.713709 | 0.699423 | 0 | 0.037605 | 0.281075 | 12,872 | 286 | 131 | 45.006993 | 0.71126 | 0.081184 | 0 | 0.744318 | 0 | 0 | 0.009454 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 1 | 0.051136 | false | 0 | 0.056818 | 0 | 0.125 | 0.011364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0d16240c73e0424fa9b7307485b93f72168d941 | 2,474 | py | Python | tests/functions/energies/test_anisotropy_energy.py | jdalzatec/llg | c0acd728d29a9a821ebadc4f1e17e0327d7e238c | [
"MIT"
] | 4 | 2019-09-02T19:18:55.000Z | 2021-05-05T15:04:54.000Z | tests/functions/energies/test_anisotropy_energy.py | lufvelasquezgo/llg | c0acd728d29a9a821ebadc4f1e17e0327d7e238c | [
"MIT"
] | 116 | 2020-02-09T05:19:52.000Z | 2022-03-27T18:47:17.000Z | tests/functions/energies/test_anisotropy_energy.py | lufvelasquezgo/llg | c0acd728d29a9a821ebadc4f1e17e0327d7e238c | [
"MIT"
] | null | null | null | from llg.functions import energy
import pytest
import numpy
def compute_anisotropy_energy(num_sites, state, anisotropy_constant, anisotropy_vector):
total = 0
for i in range(num_sites):
total -= anisotropy_constant[i] * numpy.dot(state[i], anisotropy_vector[i]) ** 2
return total
@pytest.mark.re... | 34.361111 | 88 | 0.772433 | 292 | 2,474 | 6.078767 | 0.140411 | 0.144225 | 0.108169 | 0.073239 | 0.910986 | 0.855775 | 0.855775 | 0.855775 | 0.802817 | 0.787042 | 0 | 0.005761 | 0.158044 | 2,474 | 71 | 89 | 34.84507 | 0.846375 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.083333 | false | 0 | 0.05 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0d7042f1b706aab286fe0f597d5311228b117a9 | 298 | py | Python | sentence_transformers/losses/__init__.py | coastalcph/sentence-transformers-for-analogies | e05e73d59c8f5840de8075e0e8c09a7c309fc3a2 | [
"Apache-2.0"
] | 2 | 2021-11-01T14:40:19.000Z | 2021-11-01T14:57:29.000Z | sentence_transformers/losses/__init__.py | coastalcph/sentence-transformers-for-analogies | e05e73d59c8f5840de8075e0e8c09a7c309fc3a2 | [
"Apache-2.0"
] | 1 | 2021-11-19T15:37:15.000Z | 2022-02-24T14:11:40.000Z | sentence_transformers/losses/__init__.py | coastalcph/sentence-transformers-for-analogies | e05e73d59c8f5840de8075e0e8c09a7c309fc3a2 | [
"Apache-2.0"
] | null | null | null | from .CosineSimilarityLoss import *
from .SoftmaxLoss import *
from .BatchHardTripletLoss import *
from .MultipleNegativesRankingLoss import *
from .TripletLoss import *
from .MSELoss import *
from .AnalogyMSELoss import *
from .AnalogyBatchHardTripletLoss import *
from .AnalogyCosineLoss import * | 33.111111 | 43 | 0.822148 | 27 | 298 | 9.074074 | 0.407407 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11745 | 298 | 9 | 44 | 33.111111 | 0.931559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2396c51005ef790157514cc8c9dfb46cb469f682 | 35 | py | Python | pete/runner/__init__.py | ColCarroll/pete | 066bc5c6e5706bc215038f835202d8fb5162033f | [
"MIT"
] | 1 | 2020-10-28T03:39:56.000Z | 2020-10-28T03:39:56.000Z | pete/runner/__init__.py | ColCarroll/pete | 066bc5c6e5706bc215038f835202d8fb5162033f | [
"MIT"
] | 2 | 2016-07-10T17:09:05.000Z | 2021-04-20T17:58:12.000Z | pete/runner/__init__.py | ColCarroll/pete | 066bc5c6e5706bc215038f835202d8fb5162033f | [
"MIT"
] | 1 | 2016-08-15T13:33:15.000Z | 2016-08-15T13:33:15.000Z | from .runner import Runner # noqa
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23b67147ab51bc41a447856f243cede88eba59df | 112 | py | Python | wallhaven/api/__init__.py | lucasshiva/wallhaven | 444a04d3e574579b08cf1bc0fa7879b41621d916 | [
"MIT"
] | 5 | 2020-04-24T12:14:02.000Z | 2021-06-21T15:29:37.000Z | wallhaven/api/__init__.py | lucasshiva/wallhaven | 444a04d3e574579b08cf1bc0fa7879b41621d916 | [
"MIT"
] | null | null | null | wallhaven/api/__init__.py | lucasshiva/wallhaven | 444a04d3e574579b08cf1bc0fa7879b41621d916 | [
"MIT"
] | 2 | 2020-11-21T20:56:07.000Z | 2021-06-12T14:03:07.000Z | # flake8: noqa
from wallhaven.api.endpoints import API_ENDPOINTS
from wallhaven.api.wallhaven import Wallhaven
| 22.4 | 49 | 0.839286 | 15 | 112 | 6.2 | 0.466667 | 0.27957 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.107143 | 112 | 4 | 50 | 28 | 0.92 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
23f5c05e0ebd27bf1be93d08b4f5525a594e55ac | 2,641 | py | Python | src/ctc/toolbox/twap_utils/twap_data_sources.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/toolbox/twap_utils/twap_data_sources.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/toolbox/twap_utils/twap_data_sources.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from __future__ import annotations
import typing
from ctc import spec
from . import twap_spec
async def async_get_chainlink_data(
data_source: twap_spec.DataSource,
start_block: typing.Optional[spec.BlockNumberReference] = None,
end_block: typing.Optional[spec.BlockNumberReference] = None,
provider:... | 30.709302 | 70 | 0.638773 | 294 | 2,641 | 5.469388 | 0.166667 | 0.113184 | 0.064677 | 0.057214 | 0.870647 | 0.870647 | 0.830846 | 0.828358 | 0.828358 | 0.828358 | 0 | 0.002096 | 0.277546 | 2,641 | 85 | 71 | 31.070588 | 0.840671 | 0.450208 | 0 | 0.2 | 0 | 0 | 0.052186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1d5114d561f8656216b6c66641f6d28da8c2e96 | 2,373 | py | Python | tests/test_network_patch_api.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 4 | 2019-06-05T23:53:04.000Z | 2021-11-04T14:24:21.000Z | tests/test_network_patch_api.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 5 | 2018-07-20T20:34:04.000Z | 2019-04-26T23:02:40.000Z | tests/test_network_patch_api.py | vaporyproject/pytest-asyncio-network-simulator | 7a7ee136c8e47cde751c1a5af9739b1099810608 | [
"MIT"
] | 4 | 2018-08-23T07:43:12.000Z | 2020-10-01T03:00:27.000Z | import asyncio
import pytest
from pytest_asyncio_network_simulator.network import (
Network,
)
class sentinal_a:
pass
class sentinal_b:
pass
@pytest.fixture(autouse=True)
def _pre_patch(monkeypatch):
monkeypatch.setattr(asyncio, 'start_server', sentinal_a)
monkeypatch.setattr(asyncio, 'open_... | 27.275862 | 69 | 0.738727 | 281 | 2,373 | 5.957295 | 0.209964 | 0.155317 | 0.11828 | 0.143369 | 0.789725 | 0.755078 | 0.755078 | 0.755078 | 0.755078 | 0.755078 | 0 | 0 | 0.182048 | 2,373 | 86 | 70 | 27.593023 | 0.862442 | 0.059418 | 0 | 0.673077 | 0 | 0 | 0.038151 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 1 | 0.096154 | false | 0.038462 | 0.057692 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1deb642a8987ae4cb18087b9fe8b023c2ecc7a6 | 210 | py | Python | api/handlers/google.py | LostLuma/repo-import-test | 45273fc3543d21366ed3cc5007dc5680b1e3e546 | [
"MIT"
] | 1 | 2020-01-27T17:42:30.000Z | 2020-01-27T17:42:30.000Z | api/handlers/google.py | LostLuma/repo-import-test | 45273fc3543d21366ed3cc5007dc5680b1e3e546 | [
"MIT"
] | 59 | 2021-11-17T08:21:59.000Z | 2022-03-29T08:29:55.000Z | api/handlers/google.py | SpoopySite/SpoopySite | da68e454eee2a242e3df2ae8ef31bf1e50da571b | [
"MIT"
] | 3 | 2020-01-26T23:19:24.000Z | 2021-09-25T07:07:59.000Z | import urllib.parse
from urllib.parse import ParseResult
def google(parsed: ParseResult):
if "url" in urllib.parse.parse_qs(parsed.query):
return urllib.parse.parse_qs(parsed.query).get("url")[0]
| 26.25 | 64 | 0.738095 | 31 | 210 | 4.935484 | 0.516129 | 0.287582 | 0.20915 | 0.235294 | 0.379085 | 0.379085 | 0 | 0 | 0 | 0 | 0 | 0.005525 | 0.138095 | 210 | 7 | 65 | 30 | 0.839779 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e4679793090dba80590974ea169a6b1458e6f70 | 102 | py | Python | ambra_sdk/service/entrypoints/npi.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/npi.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/npi.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.npi import Npi as GNpi
class Npi(GNpi):
"""Npi."""
| 17 | 67 | 0.715686 | 15 | 102 | 4.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 68 | 20.4 | 0.827586 | 0.039216 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e6f34ed2e2acb79719987855982f7a1fc4d43a1 | 83 | py | Python | 01-basics/app-strings-esc.py | vitoOmbero/python-notes | 062c05c216d8a59678868d62dd5aacea6249e0b2 | [
"Unlicense"
] | null | null | null | 01-basics/app-strings-esc.py | vitoOmbero/python-notes | 062c05c216d8a59678868d62dd5aacea6249e0b2 | [
"Unlicense"
] | null | null | null | 01-basics/app-strings-esc.py | vitoOmbero/python-notes | 062c05c216d8a59678868d62dd5aacea6249e0b2 | [
"Unlicense"
] | null | null | null | msg = 'Python "New string"'
print(msg)
msg2 = "Python \"New string\""
print(msg2)
| 13.833333 | 30 | 0.650602 | 12 | 83 | 4.5 | 0.5 | 0.333333 | 0.555556 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.156627 | 83 | 5 | 31 | 16.6 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9eb1161de0edaef257758a92b4c4827735532701 | 78 | py | Python | cfscan/__init__.py | cloudhound-io/cftest | d26eb06ea274b20a91f121d726c0696d5c5fe910 | [
"BSD-2-Clause"
] | 5 | 2018-02-26T21:24:59.000Z | 2018-03-07T19:49:50.000Z | cfscan/__init__.py | cloudhound-io/cftest | d26eb06ea274b20a91f121d726c0696d5c5fe910 | [
"BSD-2-Clause"
] | null | null | null | cfscan/__init__.py | cloudhound-io/cftest | d26eb06ea274b20a91f121d726c0696d5c5fe910 | [
"BSD-2-Clause"
] | 1 | 2020-10-29T21:22:03.000Z | 2020-10-29T21:22:03.000Z | from scanner import Scanner, test, PASS, FAIL
from cfscanner import CFScanner
| 26 | 45 | 0.820513 | 11 | 78 | 5.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 78 | 2 | 46 | 39 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7b467a336099359bcd58b14e903a9a3f9aeca01e | 46 | py | Python | src/cho_util/math/__init__.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | src/cho_util/math/__init__.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | src/cho_util/math/__init__.py | yycho0108/cho-util | 331efc7aac8cddfb4258620b80cb7fc5f0688d1f | [
"MIT"
] | null | null | null | from .common import *
from . import transform
| 15.333333 | 23 | 0.76087 | 6 | 46 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b634839466ca4a147780f7a1bd356ef63e14374 | 25,870 | py | Python | code/prolate_ellipsoid.py | pinga-lab/magnetic-ellipsoid | 2907042175d1a4b4b9864408671ddcfd4097dab4 | [
"BSD-3-Clause"
] | 14 | 2017-03-20T17:58:01.000Z | 2021-06-30T13:18:15.000Z | code/prolate_ellipsoid.py | pinga-lab/magnetic-ellipsoid | 2907042175d1a4b4b9864408671ddcfd4097dab4 | [
"BSD-3-Clause"
] | 4 | 2017-03-20T20:52:46.000Z | 2017-05-11T20:08:39.000Z | code/prolate_ellipsoid.py | pinga-lab/magnetic-ellipsoid | 2907042175d1a4b4b9864408671ddcfd4097dab4 | [
"BSD-3-Clause"
] | 6 | 2018-01-18T14:17:52.000Z | 2021-04-22T06:33:40.000Z | r"""
The potential fields of a homogeneous prolate ellipsoid.
"""
from __future__ import division, absolute_import
import numpy as np
from fatiando.constants import CM, T2NT
from fatiando import utils
def tf(xp, yp, zp, ellipsoids, F, inc, dec, demag=True, pmag=None):
r"""
The total-field anomaly produced b... | 31.781327 | 78 | 0.63564 | 3,644 | 25,870 | 4.473655 | 0.079857 | 0.015642 | 0.01141 | 0.01693 | 0.834376 | 0.786591 | 0.772237 | 0.755797 | 0.735922 | 0.720648 | 0 | 0.024863 | 0.264631 | 25,870 | 813 | 79 | 31.820418 | 0.832054 | 0.557518 | 0 | 0.454918 | 0 | 0 | 0.028938 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 1 | 0.061475 | false | 0 | 0.016393 | 0 | 0.139344 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7b7909e2ee9799a2d86a5c21cf935f2095fac549 | 32 | py | Python | __init__.py | sumankumar0091/gdplot | ed66b2ff2e2dece84761fae80589c90ab80753e5 | [
"MIT"
] | null | null | null | __init__.py | sumankumar0091/gdplot | ed66b2ff2e2dece84761fae80589c90ab80753e5 | [
"MIT"
] | null | null | null | __init__.py | sumankumar0091/gdplot | ed66b2ff2e2dece84761fae80589c90ab80753e5 | [
"MIT"
] | null | null | null | from gdplot import create_chart
| 16 | 31 | 0.875 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bc9b92d3e3130aa9e9e43cf548d1e5d8b3212d1 | 34,094 | py | Python | geo_prior/geo_prior/SpatialRelationEncoder.py | gengchenmai/space2vec | a29793336e6a1ebdb497289c286a0b4d5a83079f | [
"Apache-2.0"
] | 80 | 2020-02-15T17:50:38.000Z | 2022-03-29T04:17:18.000Z | geo_prior/geo_prior/SpatialRelationEncoder.py | gengchenmai/space2vec | a29793336e6a1ebdb497289c286a0b4d5a83079f | [
"Apache-2.0"
] | 1 | 2020-08-01T01:28:05.000Z | 2020-10-23T20:01:06.000Z | geo_prior/geo_prior/SpatialRelationEncoder.py | gengchenmai/space2vec | a29793336e6a1ebdb497289c286a0b4d5a83079f | [
"Apache-2.0"
] | 12 | 2020-03-12T12:09:35.000Z | 2021-12-19T08:08:54.000Z | import torch
import torch.nn as nn
from torch.nn import init
import torch.nn.functional as F
import numpy as np
import math
from module import *
from data_utils import *
"""
A Set of position encoder
"""
def _cal_freq_list(freq_init, frequency_num, max_radius, min_radius):
if freq_init == "random":
# ... | 40.636472 | 129 | 0.635097 | 4,619 | 34,094 | 4.412427 | 0.066248 | 0.034444 | 0.040626 | 0.059663 | 0.841077 | 0.824248 | 0.796281 | 0.764045 | 0.744713 | 0.731171 | 0 | 0.016046 | 0.266997 | 34,094 | 838 | 130 | 40.684964 | 0.799488 | 0.384906 | 0 | 0.627976 | 0 | 0 | 0.028252 | 0.013063 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.098214 | false | 0 | 0.02381 | 0.011905 | 0.217262 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c88f2474838ca64f3d74402d8ea422556407e473 | 48 | py | Python | __init__.py | SDL-player/Rede_Neural_Numpy | 4bb088c19573db24834ca2f3d46841248eb4debf | [
"Apache-2.0"
] | 1 | 2021-07-24T14:00:53.000Z | 2021-07-24T14:00:53.000Z | __init__.py | SDL-player/Rede_Neural_Numpy | 4bb088c19573db24834ca2f3d46841248eb4debf | [
"Apache-2.0"
] | null | null | null | __init__.py | SDL-player/Rede_Neural_Numpy | 4bb088c19573db24834ca2f3d46841248eb4debf | [
"Apache-2.0"
] | null | null | null | from model import Model
from layer import Layer
| 16 | 23 | 0.833333 | 8 | 48 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cda2158dabec0abae86539d3941ba7ce0be9ae31 | 126 | py | Python | page_velocity.py | philers/stringer-1 | 6e172a0d815f90774b9035bf5ab7a7df89d71918 | [
"MIT"
] | null | null | null | page_velocity.py | philers/stringer-1 | 6e172a0d815f90774b9035bf5ab7a7df89d71918 | [
"MIT"
] | null | null | null | page_velocity.py | philers/stringer-1 | 6e172a0d815f90774b9035bf5ab7a7df89d71918 | [
"MIT"
] | null | null | null | import streamlit as st
def page_velocity():
st.text('page_velocity')
st.subheader('Work in Progress!')
return
| 12.6 | 37 | 0.674603 | 17 | 126 | 4.882353 | 0.764706 | 0.289157 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 126 | 9 | 38 | 14 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
cda93de2e581be278f8a7bb6f769fb54708d1c2c | 120 | py | Python | server/exception/BaseException.py | ue007/3d-model-convert-to-gltf | fcbea97d5979b67769df12da813587f194fc8f34 | [
"Apache-2.0"
] | null | null | null | server/exception/BaseException.py | ue007/3d-model-convert-to-gltf | fcbea97d5979b67769df12da813587f194fc8f34 | [
"Apache-2.0"
] | null | null | null | server/exception/BaseException.py | ue007/3d-model-convert-to-gltf | fcbea97d5979b67769df12da813587f194fc8f34 | [
"Apache-2.0"
] | null | null | null | class BaseException(Exception):
def __init__(self, err="Program exec error"):
Exception.__init__(self, err)
| 30 | 49 | 0.708333 | 14 | 120 | 5.5 | 0.714286 | 0.207792 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 3 | 50 | 40 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a832b79d2c782634287284e7ef8d221f16ee73c8 | 232 | py | Python | nxbt/controller/__init__.py | zfghterb721/nxbt | f27f9aec539199aad92a0edd2bf875649b31ea5b | [
"MIT"
] | 257 | 2020-09-16T05:29:05.000Z | 2022-03-31T07:38:01.000Z | nxbt/controller/__init__.py | zfghterb721/nxbt | f27f9aec539199aad92a0edd2bf875649b31ea5b | [
"MIT"
] | 48 | 2020-10-18T00:52:13.000Z | 2022-03-27T02:02:21.000Z | nxbt/controller/__init__.py | zfghterb721/nxbt | f27f9aec539199aad92a0edd2bf875649b31ea5b | [
"MIT"
] | 37 | 2020-09-16T05:50:05.000Z | 2022-03-31T21:39:55.000Z | from .server import ControllerServer
from .controller import ControllerTypes
from .controller import Controller
from .protocol import ControllerProtocol
from .protocol import SwitchReportParser
from .protocol import SwitchResponses
| 33.142857 | 40 | 0.87069 | 24 | 232 | 8.416667 | 0.416667 | 0.178218 | 0.267327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 232 | 6 | 41 | 38.666667 | 0.971154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b53fe72e3cfd4e0b1dee61a0b62d801e5aa718fc | 232 | py | Python | semeval2020/preprocessor/umap_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 8 | 2020-12-02T23:18:59.000Z | 2021-12-19T11:19:28.000Z | semeval2020/preprocessor/umap_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 1 | 2020-05-24T15:22:26.000Z | 2020-05-25T08:08:07.000Z | semeval2020/preprocessor/umap_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | null | null | null | from semeval2020.factory_hub import preprocessor_factory
import umap
preprocessor_factory.register("UMAP", umap.UMAP)
preprocessor_factory.register("UMAP_AE", umap.UMAP)
preprocessor_factory.register("UMAP_AE_Language", umap.UMAP)
| 33.142857 | 60 | 0.849138 | 30 | 232 | 6.3 | 0.333333 | 0.402116 | 0.365079 | 0.492063 | 0.619048 | 0.433862 | 0.433862 | 0 | 0 | 0 | 0 | 0.018265 | 0.056034 | 232 | 6 | 61 | 38.666667 | 0.844749 | 0 | 0 | 0 | 0 | 0 | 0.116379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b541e34106cccb7a89be7796f23c102b2ea32b6e | 30 | py | Python | mt3d/mt3d/__init__.py | ExtensionEngineArchive/xblock_3d_viewer | ca688a042819c68f196e84f863bd803093efac8c | [
"MIT"
] | 3 | 2015-03-09T23:38:22.000Z | 2019-04-24T00:05:07.000Z | mt3d/mt3d/__init__.py | ExtensionEngineArchive/xblock_3d_viewer | ca688a042819c68f196e84f863bd803093efac8c | [
"MIT"
] | 1 | 2017-05-11T17:25:10.000Z | 2017-05-11T17:25:10.000Z | mt3d/mt3d/__init__.py | ExtensionEngine/xblock_3d_viewer | ca688a042819c68f196e84f863bd803093efac8c | [
"MIT"
] | 4 | 2015-01-17T16:59:06.000Z | 2018-07-27T16:58:08.000Z | from .mt3d import ModelViewer
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b55351e26ed2656924c0c1393dcf8924d6b5772d | 53 | py | Python | tests/test_cache.py | hzdg/django-combocache | 2d4ee482c2cf60f18e9a44262a8eac644b89919b | [
"MIT"
] | 1 | 2019-01-21T11:20:18.000Z | 2019-01-21T11:20:18.000Z | tests/test_cache.py | hzdg/django-combocache | 2d4ee482c2cf60f18e9a44262a8eac644b89919b | [
"MIT"
] | null | null | null | tests/test_cache.py | hzdg/django-combocache | 2d4ee482c2cf60f18e9a44262a8eac644b89919b | [
"MIT"
] | null | null | null | # TODO: add tests!
def test_cache():
assert True
| 13.25 | 18 | 0.660377 | 8 | 53 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 53 | 3 | 19 | 17.666667 | 0.829268 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b579e2eb0663ec25a15f36ea1bc2012c3a8d6224 | 184 | py | Python | basetestcase/__init__.py | Spleeding1/django-basetestcase | 341bb0921c9eb3699f44ca59b6d0b1dbfa32bd00 | [
"MIT"
] | 1 | 2019-07-30T12:55:47.000Z | 2019-07-30T12:55:47.000Z | basetestcase/__init__.py | Spleeding1/django-basetestcase | 341bb0921c9eb3699f44ca59b6d0b1dbfa32bd00 | [
"MIT"
] | null | null | null | basetestcase/__init__.py | Spleeding1/django-basetestcase | 341bb0921c9eb3699f44ca59b6d0b1dbfa32bd00 | [
"MIT"
] | null | null | null | name = 'basetestcase'
__version__ = '1.1.8'
from .base_FormTestCase import *
from .base_FunctionalTestCase import *
from .base_ModelTestCase import *
from .base_ViewTestCase import * | 23 | 38 | 0.788043 | 22 | 184 | 6.227273 | 0.545455 | 0.233577 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018634 | 0.125 | 184 | 8 | 39 | 23 | 0.832298 | 0 | 0 | 0 | 0 | 0 | 0.091892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5962682bf3988b31d330d931b2c6173fd91eebf | 311 | py | Python | test.py | chq-matteo/Ropper | b8171300096b086495b6d17f9e046b9aee6f829d | [
"BSD-3-Clause"
] | 1 | 2019-09-20T05:16:19.000Z | 2019-09-20T05:16:19.000Z | test.py | chq-matteo/Ropper | b8171300096b086495b6d17f9e046b9aee6f829d | [
"BSD-3-Clause"
] | null | null | null | test.py | chq-matteo/Ropper | b8171300096b086495b6d17f9e046b9aee6f829d | [
"BSD-3-Clause"
] | 1 | 2019-09-20T05:16:15.000Z | 2019-09-20T05:16:15.000Z | from testcases.test_general import *
from testcases.test_x86_64 import *
from testcases.test_x86 import *
from testcases.test_arm import *
from testcases.test_arm64 import *
from testcases.test_mips import *
from testcases.test_ppc import *
from testcases.test_console import *
import unittest
unittest.main()
| 25.916667 | 36 | 0.823151 | 45 | 311 | 5.488889 | 0.311111 | 0.421053 | 0.550607 | 0.651822 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029091 | 0.115756 | 311 | 11 | 37 | 28.272727 | 0.869091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a923a37da16c3fc1767a6bcd63a60b29f678be1a | 95 | py | Python | tests/lambda/hello_world.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | 1 | 2020-05-25T19:01:26.000Z | 2020-05-25T19:01:26.000Z | tests/lambda/hello_world.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | 5 | 2019-12-05T10:55:56.000Z | 2020-06-05T17:48:12.000Z | tests/lambda/hello_world.py | ebridges/lgw | c5a0b51bb6d3e5e9d6c1fa10ba186ba7f56c8de4 | [
"Apache-2.0"
] | null | null | null | from botocore.vendored import requests
def handler(event, context):
return 'hello world'
| 15.833333 | 38 | 0.757895 | 12 | 95 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 5 | 39 | 19 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a9386206b77198c97af693d4bc381af69a2bf3a0 | 46 | py | Python | flow_vae/__init__.py | artsobolev/IWHVI | 3a8b5631fe5b08587c594bd0aac43f84dc261579 | [
"MIT"
] | 7 | 2019-10-18T21:21:15.000Z | 2021-03-08T15:27:09.000Z | flow_vae/__init__.py | artsobolev/IWHVI | 3a8b5631fe5b08587c594bd0aac43f84dc261579 | [
"MIT"
] | null | null | null | flow_vae/__init__.py | artsobolev/IWHVI | 3a8b5631fe5b08587c594bd0aac43f84dc261579 | [
"MIT"
] | 1 | 2020-03-15T09:24:27.000Z | 2020-03-15T09:24:27.000Z | from .model import FlowVAE
from . import utils | 23 | 26 | 0.804348 | 7 | 46 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 27 | 23 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a94e21841fedcd06f6eee8ba841517e0a5a060ca | 35 | py | Python | gmail_sender/__init__.py | Pydevoleper/mail-sender-program | 7abfab94c4af6135fa771719f1b6a91287292e3d | [
"MIT"
] | 2 | 2021-06-16T17:00:29.000Z | 2021-09-29T09:31:01.000Z | gmail_sender/__init__.py | Pydevoleper/mail-sender-program | 7abfab94c4af6135fa771719f1b6a91287292e3d | [
"MIT"
] | null | null | null | gmail_sender/__init__.py | Pydevoleper/mail-sender-program | 7abfab94c4af6135fa771719f1b6a91287292e3d | [
"MIT"
] | null | null | null | from .mail_sender_program import *
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.