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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
788e10621755dc5c498bcd13483abcb90f5e36dc | 1,756 | py | Python | salesforce/backend/query.py | ElliotSalisbury/django-salesforce | 25892dbd7cd456126cc90d047ed652a738473b38 | [
"MIT"
] | null | null | null | salesforce/backend/query.py | ElliotSalisbury/django-salesforce | 25892dbd7cd456126cc90d047ed652a738473b38 | [
"MIT"
] | null | null | null | salesforce/backend/query.py | ElliotSalisbury/django-salesforce | 25892dbd7cd456126cc90d047ed652a738473b38 | [
"MIT"
] | null | null | null | # django-salesforce
#
# by Phil Christensen
# (c) 2012-2013 Freelancers Union (http://www.freelancersunion.org)
# See LICENSE.md for details
#
"""
Salesforce object query and queryset customizations. (like django.db.models.query)
"""
import warnings
from django.db import NotSupportedError
from django.db.models impor... | 30.807018 | 111 | 0.672551 | 207 | 1,756 | 5.555556 | 0.560386 | 0.067826 | 0.031304 | 0.024348 | 0.09913 | 0.09913 | 0.09913 | 0.09913 | 0.09913 | 0 | 0 | 0.013284 | 0.22836 | 1,756 | 56 | 112 | 31.357143 | 0.835424 | 0.455581 | 0 | 0.105263 | 0 | 0 | 0.169412 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.210526 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
78a3c7f6abf503955602f285bec54f15ba5a5274 | 1,609 | py | Python | test/test_checkerboard.py | camminady/mypy | e71d8f954b56cddc92c74cbe102349c0b0888db2 | [
"MIT"
] | null | null | null | test/test_checkerboard.py | camminady/mypy | e71d8f954b56cddc92c74cbe102349c0b0888db2 | [
"MIT"
] | null | null | null | test/test_checkerboard.py | camminady/mypy | e71d8f954b56cddc92c74cbe102349c0b0888db2 | [
"MIT"
] | null | null | null | from mypy import checkerboard
from mypy import checkerboardcut
from mypy import checkerboardcircle
import numpy as np
def test_checkerboard():
rho = np.loadtxt("rho_checkerboard.txt", delimiter=",")
rho = np.log10(rho)
checkerboard([rho], ["Lattice test case"],
filename="img/checkerboardt... | 34.234043 | 73 | 0.640149 | 173 | 1,609 | 5.855491 | 0.242775 | 0.049358 | 0.186575 | 0.074038 | 0.516288 | 0.391905 | 0.391905 | 0.270484 | 0.270484 | 0.270484 | 0 | 0.016667 | 0.216905 | 1,609 | 46 | 74 | 34.978261 | 0.787302 | 0 | 0 | 0.257143 | 0 | 0 | 0.270354 | 0.139217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.114286 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78a7471f172e296f454d1ccd9fed7f2158051554 | 1,254 | py | Python | tests/optimal-test.py | Ardor-Wu/gym_fishing | db8b9e52c603cab94669e6922855a62c6521f19d | [
"MIT"
] | null | null | null | tests/optimal-test.py | Ardor-Wu/gym_fishing | db8b9e52c603cab94669e6922855a62c6521f19d | [
"MIT"
] | null | null | null | tests/optimal-test.py | Ardor-Wu/gym_fishing | db8b9e52c603cab94669e6922855a62c6521f19d | [
"MIT"
] | null | null | null | import gym
import gym_fishing
import numpy as np
from gym_fishing.models.policies import msy, escapement, user_action
def run_optimal(env_name, r=0.1, K=1, sigma=0.01):
'''
:param env_name: 'v0','v1', 'v2','v4'
:param r:
:param K:
:param sigma:
:return:
'''
if env_name != 'v4':
... | 20.557377 | 68 | 0.627592 | 203 | 1,254 | 3.79803 | 0.211823 | 0.063554 | 0.118029 | 0.163424 | 0.525292 | 0.498054 | 0.435798 | 0.435798 | 0.418936 | 0.418936 | 0 | 0.030452 | 0.188198 | 1,254 | 60 | 69 | 20.9 | 0.726916 | 0.133174 | 0 | 0.1 | 0 | 0 | 0.077287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.2 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78a9fc95daea8fc2065ac580df22cd2ac64de0bf | 587 | py | Python | setup.py | ageitgey/Gutenberg | 5b2234529f4825bec2ff2afe9a447c7d4b7c7c3c | [
"Apache-2.0"
] | 18 | 2017-04-19T04:15:07.000Z | 2021-04-29T11:52:08.000Z | setup.py | ageitgey/Gutenberg | 5b2234529f4825bec2ff2afe9a447c7d4b7c7c3c | [
"Apache-2.0"
] | null | null | null | setup.py | ageitgey/Gutenberg | 5b2234529f4825bec2ff2afe9a447c7d4b7c7c3c | [
"Apache-2.0"
] | 8 | 2017-03-17T01:53:36.000Z | 2021-11-22T03:42:35.000Z | """Library installer."""
from setuptools import find_packages
from setuptools import setup
setup(
name='Gutenberg',
version='0.4.1',
author='Clemens Wolff',
author_email='clemens.wolff+pypi@gmail.com',
packages=find_packages(exclude=['tests']),
url='https://github.com/c-w/Gutenberg',
dow... | 29.35 | 77 | 0.706985 | 75 | 587 | 5.453333 | 0.706667 | 0.06846 | 0.0978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.136286 | 587 | 19 | 78 | 30.894737 | 0.800789 | 0.030664 | 0 | 0 | 0 | 0 | 0.371226 | 0.049734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78aa82bf55185bc6635b584462a6f06adb18478f | 1,983 | py | Python | modules/app_settings.py | TrueMatthewKirkham/futu_algo | 81914b3d7b098f3d42aa98f85f019b9c7f87d05f | [
"Apache-2.0"
] | 1 | 2021-05-31T22:09:48.000Z | 2021-05-31T22:09:48.000Z | modules/app_settings.py | TrueMatthewKirkham/futu_algo | 81914b3d7b098f3d42aa98f85f019b9c7f87d05f | [
"Apache-2.0"
] | null | null | null | modules/app_settings.py | TrueMatthewKirkham/futu_algo | 81914b3d7b098f3d42aa98f85f019b9c7f87d05f | [
"Apache-2.0"
] | null | null | null | # Futu Algo: Algorithmic High-Frequency Trading Framework
# Copyright (c) billpwchan - All Rights Reserved
# Unauthorized copying of this file, via any medium is strictly prohibited
# Proprietary and confidential
# Written by Bill Chan <billpwchan@hotmail.com>, 2021
class Settings:
# APP SETTINGS
ENABLE_... | 34.189655 | 157 | 0.576904 | 243 | 1,983 | 4.633745 | 0.559671 | 0.049734 | 0.079929 | 0.045293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123268 | 0.308623 | 1,983 | 57 | 158 | 34.789474 | 0.698031 | 0.166415 | 0 | 0.133333 | 0 | 0.044444 | 0.81619 | 0.016433 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78aa8e48d5712b2a336215f90ea48f886f4d4a7e | 4,102 | py | Python | src/melody.py | ivanov-slk/antique_tetrachords_player | ea98f05943ebc82fe69f2e43f0bf27a4f09434b2 | [
"MIT"
] | null | null | null | src/melody.py | ivanov-slk/antique_tetrachords_player | ea98f05943ebc82fe69f2e43f0bf27a4f09434b2 | [
"MIT"
] | null | null | null | src/melody.py | ivanov-slk/antique_tetrachords_player | ea98f05943ebc82fe69f2e43f0bf27a4f09434b2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Feb 17 11:02:57 2019
@author: Slav
"""
#import os
#os.chdir('../')
from pysine import sine
from math import log
from src.tone import Tone
from multipledispatch import dispatch
from copy import deepcopy
import abc
class MelodyInterface(abc.ABC):
@abc.abstractmethod
d... | 28.09589 | 80 | 0.600683 | 517 | 4,102 | 4.586074 | 0.22824 | 0.067482 | 0.027836 | 0.021932 | 0.285112 | 0.257275 | 0.158161 | 0.136229 | 0.136229 | 0.136229 | 0 | 0.009418 | 0.301073 | 4,102 | 146 | 81 | 28.09589 | 0.817579 | 0.22745 | 0 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226667 | false | 0.026667 | 0.08 | 0.04 | 0.413333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78b8db2119ebea453c2b1f7fd4f264d068463091 | 641 | py | Python | Set1_Problem1.py | Magic-Fang/MOOC-course-project | 9189b76f302522333a32c736d8e97561a9a3c4c6 | [
"MIT"
] | null | null | null | Set1_Problem1.py | Magic-Fang/MOOC-course-project | 9189b76f302522333a32c736d8e97561a9a3c4c6 | [
"MIT"
] | null | null | null | Set1_Problem1.py | Magic-Fang/MOOC-course-project | 9189b76f302522333a32c736d8e97561a9a3c4c6 | [
"MIT"
] | null | null | null | # search for the 1000th prime number and print it
# author Zhou Fang Version: 1.0
# Problem 1.
# Write a program that computes and prints the 1000th prime number.
number_prime = 1
i = 3
while number_prime < 1000:
divider = 3
status = 1
while status:
if i % divider != 0 and divider < i/2:
... | 26.708333 | 82 | 0.575663 | 96 | 641 | 3.78125 | 0.385417 | 0.151515 | 0.115702 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07601 | 0.343214 | 641 | 23 | 83 | 27.869565 | 0.786223 | 0.24181 | 0 | 0.117647 | 0 | 0 | 0.139293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78cee9b0185033272e805ae78a84c923f3d887a4 | 1,880 | py | Python | tests/functional/public/teset_registration.py | joelbcastillo/github-service-desk | d1fb30ef283d69d7bd19cd31f6ef21ee49f3ad5a | [
"MIT"
] | null | null | null | tests/functional/public/teset_registration.py | joelbcastillo/github-service-desk | d1fb30ef283d69d7bd19cd31f6ef21ee49f3ad5a | [
"MIT"
] | 13 | 2019-05-25T23:38:16.000Z | 2022-02-17T23:10:57.000Z | tests/functional/public/teset_registration.py | joelbcastillo/flask-service-desk | d1fb30ef283d69d7bd19cd31f6ef21ee49f3ad5a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test user registration endpoint."""
from flask import url_for
from servicedesk.user.models import User
from tests.factories import UserFactory
def test_can_register(user, testapp):
"""Register a new user."""
old_count = len(User.query.all())
# Goes to homepage
res = testapp... | 30.819672 | 70 | 0.655851 | 243 | 1,880 | 4.983539 | 0.349794 | 0.029728 | 0.032205 | 0.059455 | 0.521057 | 0.446738 | 0.344344 | 0.344344 | 0.344344 | 0.344344 | 0 | 0.003365 | 0.209574 | 1,880 | 60 | 71 | 31.333333 | 0.811575 | 0.243085 | 0 | 0.485714 | 0 | 0 | 0.211816 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.085714 | false | 0.142857 | 0.085714 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
78d341b1e20cf780859dae09bca3037bb60ad61a | 473 | py | Python | projects/fizzbuzz/python/test.py | jthompson22/methods | 1cd86b7a7a2596eaf7709193740fa8932ee5ae6f | [
"MIT"
] | null | null | null | projects/fizzbuzz/python/test.py | jthompson22/methods | 1cd86b7a7a2596eaf7709193740fa8932ee5ae6f | [
"MIT"
] | null | null | null | projects/fizzbuzz/python/test.py | jthompson22/methods | 1cd86b7a7a2596eaf7709193740fa8932ee5ae6f | [
"MIT"
] | null | null | null | import pytest
from fizz_buzz import fizz_buzz
def test_fizzbuzz():
fizzbuzz_string5 = ' 1\n2\nfizz\n4\nbuzz\n'
fizzbuzz_string10 = ' 1\n2\nfizz\n4\nbuzz\nfizz\nbazz\n8\nfizz\nbuzz\n'
fizzbuzz_string21 =' 1\n2\nfizz\n4\nbuzz\nfizz\nbazz\n8\nfizz\nbuzz\n11\nfizz\n13\nbazz\nfizzbuzz\n16\n17\nfizz\n19\nbuzz\... | 27.823529 | 138 | 0.742072 | 74 | 473 | 4.581081 | 0.405405 | 0.117994 | 0.070796 | 0.088496 | 0.262537 | 0.218289 | 0.218289 | 0.218289 | 0.218289 | 0.218289 | 0 | 0.087591 | 0.131078 | 473 | 16 | 139 | 29.5625 | 0.737226 | 0 | 0 | 0 | 0 | 0.222222 | 0.390658 | 0.384289 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
78d596d90232c5a60a410cf5bbbbbad102b6093e | 628 | py | Python | setup.py | noelnamai/machine-learning | 02743dfd99429846cff4bf0c8fca544d45a1db27 | [
"MIT"
] | null | null | null | setup.py | noelnamai/machine-learning | 02743dfd99429846cff4bf0c8fca544d45a1db27 | [
"MIT"
] | null | null | null | setup.py | noelnamai/machine-learning | 02743dfd99429846cff4bf0c8fca544d45a1db27 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from setuptools import setup
setup(
name = "sebaba",
version = "0.0.1",
description = "A bare metal implementation of Machine Learning algorithms",
author = "Noel Namai",
author_email = "noelnamai@yahoo.com",
url = "http://github.com/noelnamai/sebaba/",
license = "M... | 29.904762 | 79 | 0.613057 | 68 | 628 | 5.632353 | 0.735294 | 0.099217 | 0.130548 | 0.13577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.235669 | 628 | 21 | 80 | 29.904762 | 0.777083 | 0.033439 | 0 | 0 | 0 | 0 | 0.518946 | 0.036244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15279fc14e19da32754945d42b4d05f218abd12e | 529 | py | Python | run/corp_gen_inp_create.py | osmanbaskaya/semeval14-task3 | 2d440cadd701de3cbff3a6be630157d3ade05176 | [
"MIT"
] | 1 | 2015-02-03T20:22:33.000Z | 2015-02-03T20:22:33.000Z | run/corp_gen_inp_create.py | osmanbaskaya/semeval14-task3 | 2d440cadd701de3cbff3a6be630157d3ade05176 | [
"MIT"
] | null | null | null | run/corp_gen_inp_create.py | osmanbaskaya/semeval14-task3 | 2d440cadd701de3cbff3a6be630157d3ade05176 | [
"MIT"
] | null | null | null | #! /usr/bin/python
# -*- coding: utf-8 -*-
__author__ = "Osman Baskaya"
import sys
from task3_utils import get_sentences
from itertools import product
fn = sys.argv[1]
sent_fn = sys.argv[2]
data = get_sentences(fn)
c = 0
f = open("%s.sentid" % sent_fn, 'w')
for left, right in data:
left = left.split()
righ... | 19.592593 | 53 | 0.621928 | 85 | 529 | 3.717647 | 0.529412 | 0.075949 | 0.056962 | 0.094937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019139 | 0.20983 | 529 | 26 | 54 | 20.346154 | 0.736842 | 0.073724 | 0 | 0 | 0 | 0 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
152b3fcd0d948699bacb6ba1363967ecfc3633d6 | 374 | py | Python | openfootprint/core/migrations/0009_activeplugin_enabled.py | openfootprint/openfootprint | 5e3923b264e943c357e32e4a3fa4efab557f359c | [
"Apache-2.0"
] | 14 | 2019-05-31T20:04:03.000Z | 2020-05-03T15:41:44.000Z | openfootprint/core/migrations/0009_activeplugin_enabled.py | openfootprint/openfootprint | 5e3923b264e943c357e32e4a3fa4efab557f359c | [
"Apache-2.0"
] | 50 | 2019-05-31T18:21:05.000Z | 2021-09-20T21:28:46.000Z | openfootprint/core/migrations/0009_activeplugin_enabled.py | openfootprint/openfootprint | 5e3923b264e943c357e32e4a3fa4efab557f359c | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.1 on 2019-08-31 09:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("core", "0008_auto_20190828_1533")]
operations = [
migrations.AddField(
model_name="activeplugin",
name="enabled",
fie... | 22 | 56 | 0.628342 | 41 | 374 | 5.634146 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111913 | 0.259358 | 374 | 16 | 57 | 23.375 | 0.722022 | 0.120321 | 0 | 0 | 1 | 0 | 0.140673 | 0.070336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
152d94a50f10a3ce867e4b07aa5f2bfa5497907a | 3,510 | py | Python | maildispatcher/share/maildispatcher/lib/maildispatcher/appregistry.py | nuald/Mail-Dispatcher | 26a8966547c28d42e6b70536927c1f799c5658e7 | [
"Unlicense"
] | null | null | null | maildispatcher/share/maildispatcher/lib/maildispatcher/appregistry.py | nuald/Mail-Dispatcher | 26a8966547c28d42e6b70536927c1f799c5658e7 | [
"Unlicense"
] | null | null | null | maildispatcher/share/maildispatcher/lib/maildispatcher/appregistry.py | nuald/Mail-Dispatcher | 26a8966547c28d42e6b70536927c1f799c5658e7 | [
"Unlicense"
] | null | null | null | # This file is part of Maildispatcher.
#
# Maildispatcher is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Maildis... | 39 | 78 | 0.670085 | 416 | 3,510 | 5.485577 | 0.362981 | 0.052585 | 0.052585 | 0.042068 | 0.143734 | 0.104294 | 0.079755 | 0.037686 | 0.037686 | 0 | 0 | 0.00509 | 0.272365 | 3,510 | 89 | 79 | 39.438202 | 0.88841 | 0.382906 | 0 | 0.102564 | 0 | 0 | 0.02454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.025641 | 0.102564 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
152f37ebc1626fc54ae5ac6de7081e9b49333b6f | 2,027 | py | Python | marrow/markup/token.py | marrow/texting | 9af059f1394cdebe96d94c9ef7d1d0167fbe7f8e | [
"MIT"
] | null | null | null | marrow/markup/token.py | marrow/texting | 9af059f1394cdebe96d94c9ef7d1d0167fbe7f8e | [
"MIT"
] | null | null | null | marrow/markup/token.py | marrow/texting | 9af059f1394cdebe96d94c9ef7d1d0167fbe7f8e | [
"MIT"
] | null | null | null | # encoding: utf-8
"""Basic token types for use by parsers."""
class Token(object):
def __lt__(self, other):
return self.length < len(other)
def __len__(self):
return self.length
class InlineToken(Token):
"""Inline token definition."""
__slots__ = ('annotation', 'match')
def __init__(self, annotation,... | 25.987179 | 133 | 0.688703 | 264 | 2,027 | 5.106061 | 0.352273 | 0.053412 | 0.035608 | 0.031157 | 0.04451 | 0.04451 | 0 | 0 | 0 | 0 | 0 | 0.002405 | 0.179576 | 2,027 | 77 | 134 | 26.324675 | 0.808178 | 0.140109 | 0 | 0.085106 | 0 | 0 | 0.059233 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212766 | false | 0 | 0 | 0.06383 | 0.489362 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
153458e8dded1d6d237e7a4404d3a8af3f25db9b | 1,141 | py | Python | tests/test_image_build.py | bharel/Yellowbox | d397d878ccd074af21f552cb1375714ba97e9e22 | [
"MIT"
] | 10 | 2020-08-12T16:14:28.000Z | 2022-03-29T20:13:32.000Z | tests/test_image_build.py | bharel/yellowbox | d397d878ccd074af21f552cb1375714ba97e9e22 | [
"MIT"
] | 94 | 2020-08-19T02:09:44.000Z | 2022-03-20T10:40:48.000Z | tests/test_image_build.py | bharel/yellowbox | d397d878ccd074af21f552cb1375714ba97e9e22 | [
"MIT"
] | 2 | 2021-03-28T23:30:41.000Z | 2021-11-19T09:09:15.000Z | from docker.errors import DockerException, ImageNotFound
from pytest import raises
from yellowbox import build_image
def test_valid_image_build(docker_client):
with build_image(docker_client, "yellowbox", path=".", dockerfile="tests/resources/valid_dockerfile/Dockerfile") \
as image:
containe... | 36.806452 | 118 | 0.703769 | 125 | 1,141 | 6.2 | 0.344 | 0.123871 | 0.061935 | 0.085161 | 0.411613 | 0.383226 | 0.383226 | 0.383226 | 0.383226 | 0.383226 | 0 | 0 | 0.209465 | 1,141 | 30 | 119 | 38.033333 | 0.859202 | 0.075372 | 0 | 0.272727 | 0 | 0 | 0.177757 | 0.135932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0.090909 | 0.136364 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
153566ffb8a9c8a1cc31611c00b24551fa3df04e | 670 | py | Python | src/tools/performance.py | lakshmikanth-tesla/ProgrammingProblems | be67c9ad607e22c04634095a987f84967560568c | [
"MIT"
] | 1 | 2016-06-05T20:05:23.000Z | 2016-06-05T20:05:23.000Z | src/tools/performance.py | vikash-india/ProgrammingProblems | 2768bd6a61bfde705661e31dfe8374a0973e032b | [
"MIT"
] | null | null | null | src/tools/performance.py | vikash-india/ProgrammingProblems | 2768bd6a61bfde705661e31dfe8374a0973e032b | [
"MIT"
] | 1 | 2019-07-12T13:19:32.000Z | 2019-07-12T13:19:32.000Z | from src.tools.function import decorator
@decorator
def memoize(f):
"""
A decorator that caches the return value for each call to f(args).
Then when called again with some arguments, we can just look it up.
CREDIT: Peter Norvig's Udacity CS212 Course on Design of Computer Programs. All credit goes to... | 27.916667 | 103 | 0.610448 | 90 | 670 | 4.522222 | 0.7 | 0.04914 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006522 | 0.313433 | 670 | 23 | 104 | 29.130435 | 0.878261 | 0.350746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
1537945b089db2f399f8a04a998559dda8cb62f8 | 345 | py | Python | quantized_mesh_encoder/ellipsoid.py | kylebarron/quantized-mesh-py | 98e9246ee14738a6665d7c87ce0883b6fe4b941e | [
"MIT"
] | 38 | 2020-05-11T19:47:20.000Z | 2022-03-28T02:41:35.000Z | quantized_mesh_encoder/ellipsoid.py | kylebarron/quantized-mesh-py | 98e9246ee14738a6665d7c87ce0883b6fe4b941e | [
"MIT"
] | 31 | 2020-04-27T06:07:46.000Z | 2021-08-08T19:10:12.000Z | quantized_mesh_encoder/ellipsoid.py | kylebarron/quantized-mesh-py | 98e9246ee14738a6665d7c87ce0883b6fe4b941e | [
"MIT"
] | 4 | 2020-06-02T02:29:59.000Z | 2021-03-10T22:37:31.000Z | import attr
@attr.s
class Ellipsoid:
"""Ellipsoid used for mesh calculations
Args:
a (float): semi-major axis
b (float): semi-minor axis
"""
a: float = attr.ib()
b: float = attr.ib()
e2: float = attr.ib(init=False)
def __attrs_post_init__(self):
self.e2 = 1 - (se... | 18.157895 | 49 | 0.562319 | 50 | 345 | 3.76 | 0.54 | 0.143617 | 0.175532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020576 | 0.295652 | 345 | 18 | 50 | 19.166667 | 0.753086 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
15414bd1f7831080dffdd3b9bc215d15937d8c08 | 1,118 | py | Python | chris_backend/workflows/migrations/0001_initial.py | laris678/ChRIS_ultron_backEnd | 3ee492dfa699b6394b19a6458fd511bda2824e09 | [
"MIT"
] | null | null | null | chris_backend/workflows/migrations/0001_initial.py | laris678/ChRIS_ultron_backEnd | 3ee492dfa699b6394b19a6458fd511bda2824e09 | [
"MIT"
] | null | null | null | chris_backend/workflows/migrations/0001_initial.py | laris678/ChRIS_ultron_backEnd | 3ee492dfa699b6394b19a6458fd511bda2824e09 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.24 on 2022-02-27 00:49
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('pipelines', '0005_auto_20200213_0040'),
migrations.swappable_d... | 34.9375 | 144 | 0.629696 | 119 | 1,118 | 5.731092 | 0.579832 | 0.046921 | 0.061584 | 0.096774 | 0.155425 | 0.155425 | 0.155425 | 0.155425 | 0.155425 | 0 | 0 | 0.041469 | 0.245081 | 1,118 | 31 | 145 | 36.064516 | 0.766588 | 0.041145 | 0 | 0 | 1 | 0 | 0.13271 | 0.042991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.291667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1546a2f6adad763b77d135904dcb094f1c1d47c7 | 1,535 | py | Python | boids/command.py | pkumar4/Boids | c8452b81f812b6502aada6ba4a0563f18a57a2c6 | [
"MIT"
] | null | null | null | boids/command.py | pkumar4/Boids | c8452b81f812b6502aada6ba4a0563f18a57a2c6 | [
"MIT"
] | null | null | null | boids/command.py | pkumar4/Boids | c8452b81f812b6502aada6ba4a0563f18a57a2c6 | [
"MIT"
] | null | null | null | from argparse import ArgumentParser
import sys
import yaml
from StringIO import StringIO
from boids import Boids
def process():
parser = ArgumentParser(description = "Simulating Boids")
parser.add_argument('--config', '-c', type=str, default="", help="config YAML file. If not provided defaults are applied")
... | 28.962264 | 127 | 0.689902 | 197 | 1,535 | 5.22335 | 0.497462 | 0.058309 | 0.040816 | 0.036929 | 0.066084 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043301 | 0.202606 | 1,535 | 52 | 128 | 29.519231 | 0.797386 | 0.158958 | 0 | 0 | 0 | 0 | 0.463813 | 0.114397 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.135135 | null | null | 0.054054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15477b1996c17c65a264aaf88592e1091ddc73ad | 1,537 | py | Python | tests/test_upsert.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | 1 | 2020-08-15T00:22:28.000Z | 2020-08-15T00:22:28.000Z | tests/test_upsert.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | null | null | null | tests/test_upsert.py | InnovativeInventor/mongoset | fcba40b6f3532cbd04296955fd893f56be5af6ab | [
"MIT"
] | 2 | 2020-07-25T17:36:58.000Z | 2022-01-21T19:41:30.000Z | import os
import time
import pytest
from mongoset import __version__, connect
from mongoset.database import Database, Table
from mongoset.expression import gt, gte, in_list, lt, lte, not_in_list
from tests.test_setup import setup
def test_upsert():
table = setup()
table.clear()
assert not table.upsert({"... | 21.347222 | 70 | 0.584255 | 247 | 1,537 | 3.538462 | 0.182186 | 0.025172 | 0.02746 | 0.036613 | 0.438215 | 0.344394 | 0.334096 | 0.315789 | 0.240275 | 0.217391 | 0 | 0.036784 | 0.239427 | 1,537 | 71 | 71 | 21.647887 | 0.710864 | 0 | 0 | 0.415094 | 0 | 0 | 0.026675 | 0 | 0 | 0 | 0 | 0 | 0.433962 | 1 | 0.056604 | false | 0 | 0.132075 | 0 | 0.188679 | 0.09434 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15508b48eb4ea486f5b48757ddc64b8b3290d004 | 562 | py | Python | article/management/commands/publish_scheduled_pages.py | vindeolal/pari | 8c69d15101480c3e803d6d74f8007cefee20c350 | [
"BSD-3-Clause"
] | null | null | null | article/management/commands/publish_scheduled_pages.py | vindeolal/pari | 8c69d15101480c3e803d6d74f8007cefee20c350 | [
"BSD-3-Clause"
] | null | null | null | article/management/commands/publish_scheduled_pages.py | vindeolal/pari | 8c69d15101480c3e803d6d74f8007cefee20c350 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
from django.core.management.base import BaseCommand
from django.utils import timezone
from wagtail.wagtailcore.models import Page
from wagtail.wagtailcore.management.commands.publish_scheduled_pages import Command as BaseCommand
class Command(... | 35.125 | 98 | 0.75089 | 71 | 562 | 5.760563 | 0.605634 | 0.0489 | 0.107579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16548 | 562 | 15 | 99 | 37.466667 | 0.872068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.454545 | 0 | 0.636364 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1556a5bdff15a467a9098b84383f37d23bf29211 | 1,414 | py | Python | account/urls.py | samuelatuma1/jambstylequiz | fe66ceb8c136e52d58a5725d792205ac7a1c783c | [
"MIT"
] | null | null | null | account/urls.py | samuelatuma1/jambstylequiz | fe66ceb8c136e52d58a5725d792205ac7a1c783c | [
"MIT"
] | null | null | null | account/urls.py | samuelatuma1/jambstylequiz | fe66ceb8c136e52d58a5725d792205ac7a1c783c | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from django.contrib.auth import views as auth_views
urlpatterns = [
#path('login/', views.user_login, name='login'),
path('login/', auth_views.LoginView.as_view(), name='login'),
path('logout/', auth_views.LogoutView.as_view(), name='logout'),
path('password_change/... | 38.216216 | 111 | 0.726308 | 176 | 1,414 | 5.653409 | 0.238636 | 0.081407 | 0.080402 | 0.108543 | 0.140704 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001552 | 0.088402 | 1,414 | 37 | 112 | 38.216216 | 0.770365 | 0.054455 | 0 | 0 | 0 | 0 | 0.282071 | 0.066767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.36 | 0.12 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
1561ccb2b182e7df7d29ae3c9996adedc258b2a3 | 838 | py | Python | website_downloader/services/styles.py | renanbs/website-downloader | d7ffaf3b17b0467550dc0e6064b12bed7d134ba4 | [
"MIT"
] | null | null | null | website_downloader/services/styles.py | renanbs/website-downloader | d7ffaf3b17b0467550dc0e6064b12bed7d134ba4 | [
"MIT"
] | null | null | null | website_downloader/services/styles.py | renanbs/website-downloader | d7ffaf3b17b0467550dc0e6064b12bed7d134ba4 | [
"MIT"
] | null | null | null | from website_downloader.services.files import FilesService
from website_downloader.services.utils import is_google_font, is_favicon
class StylesService(FilesService):
def extract_elements_from_page(self):
raw_links = self.page.find_all('link')
for raw in raw_links:
# TODO: remove this... | 33.52 | 93 | 0.646778 | 110 | 838 | 4.745455 | 0.418182 | 0.05364 | 0.063218 | 0.111111 | 0.095785 | 0.095785 | 0 | 0 | 0 | 0 | 0 | 0.001608 | 0.257757 | 838 | 24 | 94 | 34.916667 | 0.837621 | 0.023866 | 0 | 0.125 | 0 | 0 | 0.033088 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1562cef55c22d6a16a4ff079438b7ef975f7c6c0 | 2,667 | py | Python | tk_gui_benchmarks.py | zacsimile/random | cfc1837afe069c3ed856af08a7464634b5198853 | [
"MIT"
] | null | null | null | tk_gui_benchmarks.py | zacsimile/random | cfc1837afe069c3ed856af08a7464634b5198853 | [
"MIT"
] | null | null | null | tk_gui_benchmarks.py | zacsimile/random | cfc1837afe069c3ed856af08a7464634b5198853 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Benchmark different GUI image draw times in tkinter
Environment setup instructions:
conda create -n gui-test tk matplotlib pillow vispy
pip install pyopengltk
"""
import time
import tkinter as tk
import numpy as np
from PIL import Image, ImageTk
from matplo... | 26.67 | 131 | 0.660667 | 383 | 2,667 | 4.51436 | 0.407311 | 0.02834 | 0.034702 | 0.026027 | 0.137073 | 0.070561 | 0.070561 | 0.070561 | 0.070561 | 0 | 0 | 0.018741 | 0.219723 | 2,667 | 99 | 132 | 26.939394 | 0.81211 | 0.293963 | 0 | 0.25 | 0 | 0 | 0.072425 | 0 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0.057692 | false | 0 | 0.173077 | 0 | 0.230769 | 0.057692 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
156c99b4cf4d3918ce7eb1dbff0eef759e4dfefb | 15,190 | py | Python | pyloads/static_loads.py | GonMazzini/pyloads | 77e03901667ee4e854f74cf8538b5ffb21418063 | [
"MIT"
] | 2 | 2021-01-04T06:56:45.000Z | 2021-01-27T17:27:50.000Z | pyloads/static_loads.py | GonMazzini/pyloads | 77e03901667ee4e854f74cf8538b5ffb21418063 | [
"MIT"
] | null | null | null | pyloads/static_loads.py | GonMazzini/pyloads | 77e03901667ee4e854f74cf8538b5ffb21418063 | [
"MIT"
] | null | null | null | """Standard library imports"""
import numpy as np # 1.19.4
import pandas as pd # 1.2.0
import scipy as sp #
import matplotlib.pyplot as plt
from scipy.interpolate import interp1d
from scipy.optimize import fsolve
"""Local modules"""
from pyloads.blade_data import BladeFeatures
from pyloads.aerodynamic_profiles impo... | 36.426859 | 120 | 0.518499 | 2,113 | 15,190 | 3.618552 | 0.202082 | 0.025634 | 0.01831 | 0.006801 | 0.174732 | 0.108684 | 0.085273 | 0.066702 | 0.059116 | 0.059116 | 0 | 0.070322 | 0.345622 | 15,190 | 416 | 121 | 36.514423 | 0.698893 | 0.346741 | 0 | 0.059459 | 0 | 0.021622 | 0.052602 | 0 | 0 | 0 | 0 | 0.012019 | 0 | 1 | 0.043243 | false | 0 | 0.048649 | 0.005405 | 0.156757 | 0.059459 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
156dfafb3d126df0e9dead1e7462b0abea6ec1ad | 363 | py | Python | generating_intervals.py | ssinhaleite/util | b65a6e0d7ff270cc2bbdbc09b7894ffc77edaf8d | [
"MIT"
] | 1 | 2018-10-10T11:37:45.000Z | 2018-10-10T11:37:45.000Z | generating_intervals.py | ssinhaleite/util | b65a6e0d7ff270cc2bbdbc09b7894ffc77edaf8d | [
"MIT"
] | null | null | null | generating_intervals.py | ssinhaleite/util | b65a6e0d7ff270cc2bbdbc09b7894ffc77edaf8d | [
"MIT"
] | null | null | null |
f = open("/home/vleite/Desktop/range.txt", "w")
f.write("x range:\n")
for x in range(0, 55296, 64):
f.write(str(x) + "-" + str(x + 64) + "\n")
f.write("y range:\n")
for x in range(0, 46080, 64):
f.write(str(x) + "-" + str(x + 64) + "\n")
f.write("z range:\n")
for x in range(0, 514, 64):
f.write(str(x) +... | 21.352941 | 47 | 0.509642 | 70 | 363 | 2.642857 | 0.328571 | 0.194595 | 0.145946 | 0.162162 | 0.664865 | 0.664865 | 0.664865 | 0.372973 | 0.372973 | 0.27027 | 0 | 0.096552 | 0.201102 | 363 | 16 | 48 | 22.6875 | 0.541379 | 0 | 0 | 0.272727 | 0 | 0 | 0.207182 | 0.082873 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15763e59513a3a5097688417ba8638a24cc38acd | 365 | py | Python | exploit.education/phoenix/stack-four.py | danishbelal/ctfs | f67c1d2deb37a9892b85716a1c7681768727b24e | [
"Unlicense"
] | null | null | null | exploit.education/phoenix/stack-four.py | danishbelal/ctfs | f67c1d2deb37a9892b85716a1c7681768727b24e | [
"Unlicense"
] | null | null | null | exploit.education/phoenix/stack-four.py | danishbelal/ctfs | f67c1d2deb37a9892b85716a1c7681768727b24e | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
from pwn import *
binary = "./stack-four"
context.terminal = ["gnome-terminal", "-e"]
binary = "/opt/phoenix/amd64/stack-four"
s = ssh(host="127.0.0.1", user="user", password="user", port=2222)
p = s.process(binary)
overflow = b"A"*80 + p64(0) + p64(0x000000000040061d)
p.sendline(overflow)
... | 19.210526 | 66 | 0.665753 | 57 | 365 | 4.263158 | 0.736842 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117089 | 0.134247 | 365 | 18 | 67 | 20.277778 | 0.651899 | 0.057534 | 0 | 0 | 0 | 0 | 0.218659 | 0.084548 | 0 | 0 | 0.052478 | 0 | 0 | 1 | 0 | false | 0.1 | 0.1 | 0 | 0.1 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
1579b6c161cc92c7ea389671a632ca0d2279016e | 288 | py | Python | BasicOperations/09_NumPy/02_Numpy_01_where.py | UpSea/midProjects | ed6086e74f68b1b89f725abe0b270e67cf8993a8 | [
"MIT"
] | 1 | 2018-07-02T13:54:49.000Z | 2018-07-02T13:54:49.000Z | BasicOperations/09_NumPy/02_Numpy_01_where.py | UpSea/midProjects | ed6086e74f68b1b89f725abe0b270e67cf8993a8 | [
"MIT"
] | null | null | null | BasicOperations/09_NumPy/02_Numpy_01_where.py | UpSea/midProjects | ed6086e74f68b1b89f725abe0b270e67cf8993a8 | [
"MIT"
] | 3 | 2016-05-28T15:13:02.000Z | 2021-04-10T06:04:25.000Z | import numpy as np
x = np.arange(9.).reshape(3, 3)
row,col = np.where( x > 5 ) #mid 返回两以为数组,对应序数组成坐标对,此坐标对指向的数为满足条件的数
a1 = np.where(x>1)
b = x[np.where( x > 3.0 )] #mid result is 1D.
c = np.where(x < 5, x, -1) #mid broadcasting.
d = 8 | 26.181818 | 82 | 0.513889 | 48 | 288 | 3.083333 | 0.583333 | 0.189189 | 0.216216 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.333333 | 288 | 11 | 83 | 26.181818 | 0.708333 | 0.246528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
157b88c218daa1709b26e732b13e0c304f41d2b8 | 1,709 | py | Python | python/longest_increasing_subsequence.py | shub0/leetcode | 8221d10f201d001abcb15b27c9cf4b8cd5060f1f | [
"BSD-3-Clause"
] | null | null | null | python/longest_increasing_subsequence.py | shub0/leetcode | 8221d10f201d001abcb15b27c9cf4b8cd5060f1f | [
"BSD-3-Clause"
] | null | null | null | python/longest_increasing_subsequence.py | shub0/leetcode | 8221d10f201d001abcb15b27c9cf4b8cd5060f1f | [
"BSD-3-Clause"
] | null | null | null | '''
Given an unsorted array of integers, find the length of longest increasing subsequence.
For example,
Given [10, 9, 2, 5, 3, 7, 101, 18],
The longest increasing subsequence is [2, 3, 7, 101], therefore the length is 4. Note that there may be more than one LIS combination, it is only necessary for you to return the ... | 29.465517 | 185 | 0.537741 | 228 | 1,709 | 4.02193 | 0.394737 | 0.039258 | 0.016358 | 0.010905 | 0.154853 | 0.117775 | 0.117775 | 0.117775 | 0.091603 | 0.091603 | 0 | 0.041667 | 0.354008 | 1,709 | 57 | 186 | 29.982456 | 0.788949 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
157e867a18d84cad8cf81172a4e29e069d635368 | 720 | py | Python | oysterapp/oyster/migrations/0006_auto_20150812_1928.py | averymanderson/OysterWebApp | 26309ab407970f45d9b88bf4c1d3f6529342b4cb | [
"Unlicense"
] | null | null | null | oysterapp/oyster/migrations/0006_auto_20150812_1928.py | averymanderson/OysterWebApp | 26309ab407970f45d9b88bf4c1d3f6529342b4cb | [
"Unlicense"
] | null | null | null | oysterapp/oyster/migrations/0006_auto_20150812_1928.py | averymanderson/OysterWebApp | 26309ab407970f45d9b88bf4c1d3f6529342b4cb | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('oyster', '0005_task_task_rule'),
]
operations = [
migrations.AddField(
model_name='userprofile',
nam... | 24 | 48 | 0.570833 | 64 | 720 | 6.203125 | 0.53125 | 0.13602 | 0.173804 | 0.20403 | 0.574307 | 0.31738 | 0 | 0 | 0 | 0 | 0 | 0.018219 | 0.313889 | 720 | 29 | 49 | 24.827586 | 0.785425 | 0.029167 | 0 | 0.391304 | 0 | 0 | 0.131994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
157f040f63eff10f92a5c5537ea4294ccae55333 | 1,535 | py | Python | streamlit_juxtapose/__init__.py | robmarkcole/streamlit-image-juxtapose | 3b84a0fc93c479baee339acb25815886ed4ed787 | [
"Apache-2.0"
] | 18 | 2021-06-05T21:18:22.000Z | 2022-03-03T17:06:15.000Z | streamlit_juxtapose/__init__.py | robmarkcole/streamlit-image-juxtapose | 3b84a0fc93c479baee339acb25815886ed4ed787 | [
"Apache-2.0"
] | 2 | 2021-06-05T03:56:08.000Z | 2021-11-22T09:07:45.000Z | streamlit_juxtapose/__init__.py | robmarkcole/streamlit-image-juxtapose | 3b84a0fc93c479baee339acb25815886ed4ed787 | [
"Apache-2.0"
] | 3 | 2021-11-06T19:58:26.000Z | 2022-03-24T15:06:23.000Z | import streamlit.components.v1 as components
def juxtapose(img1: str, img2: str, height: int = 1000): # data
"""Create a new timeline component.
Parameters
----------
height: int or None
Height of the timeline in px
Returns
-------
static_component: Boolean
Returns a stati... | 25.163934 | 78 | 0.449511 | 135 | 1,535 | 5.037037 | 0.525926 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.416287 | 1,535 | 61 | 79 | 25.163934 | 0.741071 | 0.151792 | 0 | 0.133333 | 0 | 0 | 0.608903 | 0.085851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15845cfc528ea62d787ed3bed8e06f56e8eae2e3 | 1,422 | py | Python | Software/Estadística/MCMC/HS/AGN/2params/MCMC_AGN_2params_valores_medios.py | matiasleize/tesis_licenciatura | 5df6e341314583702b466b8ed7977d410f0ee457 | [
"MIT"
] | null | null | null | Software/Estadística/MCMC/HS/AGN/2params/MCMC_AGN_2params_valores_medios.py | matiasleize/tesis_licenciatura | 5df6e341314583702b466b8ed7977d410f0ee457 | [
"MIT"
] | null | null | null | Software/Estadística/MCMC/HS/AGN/2params/MCMC_AGN_2params_valores_medios.py | matiasleize/tesis_licenciatura | 5df6e341314583702b466b8ed7977d410f0ee457 | [
"MIT"
] | null | null | null | """
Created on Wed Feb 5 13:04:17 2020
@author: matias
"""
import numpy as np
np.random.seed(42)
from scipy.optimize import minimize
import emcee
import corner
from scipy.interpolate import interp1d
import sys
import os
from os.path import join as osjoin
from pc_path import definir_path
path_git, path_datos_global... | 24.947368 | 87 | 0.753868 | 241 | 1,422 | 4.219917 | 0.452282 | 0.034415 | 0.043265 | 0.055064 | 0.211406 | 0.14061 | 0.108161 | 0.108161 | 0 | 0 | 0 | 0.035144 | 0.11955 | 1,422 | 56 | 88 | 25.392857 | 0.777157 | 0.142053 | 0 | 0 | 0 | 0 | 0.189727 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.323529 | 0 | 0.323529 | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1591c0d5ef100a4bc3cc7df8eb381d54fba356fc | 7,914 | py | Python | Early Tests/ConwayCL/012 Pre-GL/main.py | Sin-tel/PyCl-Convergence | 18b33e0bbf7516679d6f9bfee09d2e35c9c3a72d | [
"MIT"
] | 50 | 2015-01-18T09:25:04.000Z | 2021-11-20T11:30:04.000Z | Early Tests/ConwayCL/012 Pre-GL/main.py | Sin-tel/PyCl-Convergence | 18b33e0bbf7516679d6f9bfee09d2e35c9c3a72d | [
"MIT"
] | null | null | null | Early Tests/ConwayCL/012 Pre-GL/main.py | Sin-tel/PyCl-Convergence | 18b33e0bbf7516679d6f9bfee09d2e35c9c3a72d | [
"MIT"
] | 6 | 2015-04-18T17:19:32.000Z | 2021-09-06T04:43:21.000Z | import pyopencl as cl
import numpy as np
import scipy as sp
from scipy import misc
from scipy import ndimage
import random as r
import datetime as date
import time
from PIL import Image
import os
import tkFileDialog as tfd
from Tkinter import Tk
#Don't truncate printed arrays
np.set_printoptions(threshold=np.nan)
cl... | 31.035294 | 335 | 0.627243 | 1,046 | 7,914 | 4.648184 | 0.253346 | 0.030234 | 0.029412 | 0.018511 | 0.250309 | 0.216989 | 0.165981 | 0.165981 | 0.152818 | 0.143151 | 0 | 0.011093 | 0.168436 | 7,914 | 254 | 336 | 31.15748 | 0.727701 | 0.203058 | 0 | 0.148649 | 0 | 0 | 0.116171 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.081081 | null | null | 0.060811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1593da8ed6102c4ebf91f065f2bdf68683b841c0 | 460 | py | Python | src/tornado/demos/lihuashu/test/riakkittest.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | 1 | 2020-02-17T08:18:29.000Z | 2020-02-17T08:18:29.000Z | src/tornado/demos/lihuashu/test/riakkittest.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | null | null | null | src/tornado/demos/lihuashu/test/riakkittest.py | ptphp/PyLib | 07ac99cf2deb725475f5771b123b9ea1375f5e65 | [
"Apache-2.0"
] | null | null | null | #!user/bin/env python
# -*- coding: utf8 -*-
from riakkit import Document,StringProperty #@UnresolvedImport
import riak
some_client = riak.RiakClient(port=8091) #@UndefinedVariable
class User(Document):
bucket_name = "doctest_users"
client = some_client
name = StringProperty(required=True)
def __str__... | 27.058824 | 62 | 0.726087 | 57 | 460 | 5.684211 | 0.631579 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012755 | 0.147826 | 460 | 17 | 63 | 27.058824 | 0.813776 | 0.167391 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15944e763fbc727e12aabcddcf8ba834ad7df7bc | 1,097 | py | Python | api/views.py | OtchereDev/yt_omdb_api | e403d248a4869e597a174d7f6e3e43ee6debd452 | [
"MIT"
] | 1 | 2021-05-13T18:06:18.000Z | 2021-05-13T18:06:18.000Z | api/views.py | OtchereDev/yt_omdb_api | e403d248a4869e597a174d7f6e3e43ee6debd452 | [
"MIT"
] | null | null | null | api/views.py | OtchereDev/yt_omdb_api | e403d248a4869e597a174d7f6e3e43ee6debd452 | [
"MIT"
] | null | null | null | from django.db.models import query
from api.models import Genre, Movie
from django.shortcuts import render
from rest_framework.generics import CreateAPIView, ListAPIView, ListCreateAPIView, RetrieveAPIView
from .serializers import MovieSerializer,GenreSerializer
from rest_framework.pagination import PageNumberPaginat... | 29.648649 | 98 | 0.812215 | 105 | 1,097 | 8.32381 | 0.419048 | 0.06865 | 0.102975 | 0.052632 | 0.189931 | 0.189931 | 0.189931 | 0.189931 | 0 | 0 | 0 | 0 | 0.117593 | 1,097 | 37 | 99 | 29.648649 | 0.902893 | 0 | 0 | 0.36 | 0 | 0 | 0.033698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.28 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
159720b615593f45ced5de049531b550273f735d | 578 | py | Python | knack/help_files.py | KyleRConway/knack | 73d76bae6fe4996f3ffea4bd24cf487b0263da85 | [
"MIT"
] | 1 | 2019-02-10T01:38:05.000Z | 2019-02-10T01:38:05.000Z | knack/help_files.py | KyleRConway/knack | 73d76bae6fe4996f3ffea4bd24cf487b0263da85 | [
"MIT"
] | null | null | null | knack/help_files.py | KyleRConway/knack | 73d76bae6fe4996f3ffea4bd24cf487b0263da85 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 36.125 | 94 | 0.491349 | 54 | 578 | 5.203704 | 0.703704 | 0.035587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138408 | 578 | 15 | 95 | 38.533333 | 0.564257 | 0.717993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
159de8445a9fdc14a319788379af03e1eea33143 | 852 | py | Python | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/cs-guided-project-python-iii/src/time_complexity.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/cs-guided-project-python-iii/src/time_complexity.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_RESOURCES/course-work/cs-guided-project-python-iii/src/time_complexity.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | # O(1) constant time!
def print_one_item(items):
print(items[0])
# liniar O(n)
def print_every_item(items):
for item in items:
print(item)
# n = number of steps
# quadratic O(n^2)
def print_pairs(items):
for item_one in items:
for item_two in items:
print(item_one, item_two)... | 19.363636 | 57 | 0.556338 | 152 | 852 | 3.013158 | 0.309211 | 0.043668 | 0.032751 | 0.122271 | 0.227074 | 0.227074 | 0.122271 | 0 | 0 | 0 | 0 | 0.03204 | 0.303991 | 852 | 43 | 58 | 19.813953 | 0.740304 | 0.314554 | 0 | 0.285714 | 0 | 0 | 0.001757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0 | 0 | 0.190476 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
15a1fe6eefce30264e1842b6417d7c1209763725 | 1,553 | py | Python | tests/parser/functions/test_convert_to_decimal.py | bumplzz69/vyper | ac52a4a4ad02f09a20facf0b31a85c0e8e72001b | [
"MIT"
] | null | null | null | tests/parser/functions/test_convert_to_decimal.py | bumplzz69/vyper | ac52a4a4ad02f09a20facf0b31a85c0e8e72001b | [
"MIT"
] | null | null | null | tests/parser/functions/test_convert_to_decimal.py | bumplzz69/vyper | ac52a4a4ad02f09a20facf0b31a85c0e8e72001b | [
"MIT"
] | null | null | null | from decimal import Decimal
def test_convert_to_decimal_units(get_contract, assert_tx_failed):
code = """
units: {
meter: "Meter"
}
@public
def test() -> decimal(meter):
a: decimal(meter) = convert(5001, decimal)
return a
@public
def test2() -> decimal(meter):
b: int128(meter) = 1234
a: deci... | 24.650794 | 82 | 0.685769 | 216 | 1,553 | 4.689815 | 0.212963 | 0.041461 | 0.043435 | 0.071076 | 0.23001 | 0.199408 | 0.078973 | 0.078973 | 0.078973 | 0 | 0 | 0.058684 | 0.188023 | 1,553 | 62 | 83 | 25.048387 | 0.744647 | 0 | 0 | 0.306122 | 0 | 0 | 0.481648 | 0.028976 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.061224 | false | 0.081633 | 0.020408 | 0 | 0.183673 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
15ad6b3baf93cf10a2c77418e66ca5a4d4cd07c8 | 3,091 | py | Python | Channels/MailChannel/MailChannel.py | Turing-IA-IHC/Home-Monitor | 0ae0149e455a5d62beaab3eb778f1257bf881483 | [
"MIT"
] | 1 | 2020-04-14T03:29:42.000Z | 2020-04-14T03:29:42.000Z | Channels/MailChannel/MailChannel.py | Turing-IA-IHC/Home-Monitor | 0ae0149e455a5d62beaab3eb778f1257bf881483 | [
"MIT"
] | null | null | null | Channels/MailChannel/MailChannel.py | Turing-IA-IHC/Home-Monitor | 0ae0149e455a5d62beaab3eb778f1257bf881483 | [
"MIT"
] | null | null | null | """
Home-Monitor:
AI system for the detection of anomalous and possibly harmful events for people.
Written by Gabriel Rojas - 2019
Copyright (c) 2019 G0 S.A.S.
See LICENSE file for details
Class information:
Class to send notifications using mail.
"""
import sys
from os.path import dirname, norm... | 33.597826 | 84 | 0.610482 | 358 | 3,091 | 5.195531 | 0.424581 | 0.051613 | 0.051613 | 0.034409 | 0.14086 | 0.072043 | 0 | 0 | 0 | 0 | 0 | 0.006975 | 0.257845 | 3,091 | 91 | 85 | 33.967033 | 0.803836 | 0.268198 | 0 | 0.037736 | 0 | 0 | 0.112663 | 0.031095 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0.075472 | 0.150943 | 0 | 0.226415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
15b077709ad17602ce515e5887f1a9042aa25333 | 2,623 | py | Python | Blueprints/TarefasView.py | fabioribeir0/https-github.com-Responsus-TerminusNG | 051af8d9da3b59d7f3dbada2f9b58cc067d22a6f | [
"MIT"
] | null | null | null | Blueprints/TarefasView.py | fabioribeir0/https-github.com-Responsus-TerminusNG | 051af8d9da3b59d7f3dbada2f9b58cc067d22a6f | [
"MIT"
] | null | null | null | Blueprints/TarefasView.py | fabioribeir0/https-github.com-Responsus-TerminusNG | 051af8d9da3b59d7f3dbada2f9b58cc067d22a6f | [
"MIT"
] | null | null | null | #!/usr/bin/python
from flask import Blueprint,render_template,request,jsonify
from Models.TerminusModel import db, Projetos as ProjetosModel, Clientes as ClientesModel, Tarefas as TarefasModel
tarefas = Blueprint("tarefas",__name__)
@tarefas.route("/tarefas")
def tarefas_index():
tarefas = db.session.query(taref... | 38.014493 | 114 | 0.691956 | 307 | 2,623 | 5.798046 | 0.263844 | 0.067978 | 0.05618 | 0.040449 | 0.10618 | 0.10618 | 0.086517 | 0.039326 | 0 | 0 | 0 | 0.001859 | 0.179565 | 2,623 | 68 | 115 | 38.573529 | 0.825279 | 0.0061 | 0 | 0.133333 | 0 | 0 | 0.160399 | 0.016884 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033333 | null | null | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15b0ccdcaa3a9a8ed114a06faf60b8ea7a41f90f | 653 | py | Python | stations/medic/migrations/0006_auto_20161203_2001.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/medic/migrations/0006_auto_20161203_2001.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | stations/medic/migrations/0006_auto_20161203_2001.py | boyombo/django-stations | 93a70be7eb8268f9d48f6e3cf9a532bcb27ff895 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-12-03 20:01
from __future__ import unicode_literals
from django.db import migrations
def make_candidates(apps, schema_editor):
Candidate = apps.get_model('medic', 'Candidate')
BloodRequest = apps.get_model('medic', 'BloodRequest')
for req in Blo... | 24.185185 | 58 | 0.658499 | 73 | 653 | 5.726027 | 0.684932 | 0.066986 | 0.057416 | 0.08134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.226646 | 653 | 26 | 59 | 25.115385 | 0.788119 | 0.102603 | 0 | 0 | 1 | 0 | 0.085763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15b688545e1502192b8ae7a06a528635f43e0440 | 5,842 | py | Python | Scripts/zDungeonStuff.py | NottCurious/NottABot | a162da1cb937d58af1acc7532d72a0811cddfe6c | [
"CC0-1.0"
] | null | null | null | Scripts/zDungeonStuff.py | NottCurious/NottABot | a162da1cb937d58af1acc7532d72a0811cddfe6c | [
"CC0-1.0"
] | null | null | null | Scripts/zDungeonStuff.py | NottCurious/NottABot | a162da1cb937d58af1acc7532d72a0811cddfe6c | [
"CC0-1.0"
] | null | null | null | # Importing Libraries
from requests import get
from pathlib import Path
import os
from dotenv import load_dotenv
import Scripts.zNumberFormat
import Scripts.zSBStalk
# Loading Data From .env File
load_dotenv()
env_path = Path('.') / '.env'
api_key = os.getenv("API_KEY")
username = 'NottCurious'
# Getting UUID Using ... | 76.868421 | 430 | 0.680075 | 910 | 5,842 | 4.121978 | 0.123077 | 0.172754 | 0.194348 | 0.134364 | 0.704879 | 0.575047 | 0.217009 | 0.059717 | 0.059717 | 0.059717 | 0 | 0.035356 | 0.060767 | 5,842 | 76 | 431 | 76.868421 | 0.64826 | 0.576515 | 0 | 0.1 | 0 | 0.025 | 0.367737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15b79317573ed180229cdf5f5a1cce3212d7f598 | 6,244 | py | Python | drug-sensitivity/drug_sensitivity_cell_lines_ttest.py | elifesciences-publications/genomic-features-survival | 8c7c62696f56a84b674369391c71ff0c223c9ffd | [
"MIT"
] | 15 | 2019-04-15T21:24:02.000Z | 2022-01-31T01:17:48.000Z | drug-sensitivity/drug_sensitivity_cell_lines_ttest.py | elifesciences-publications/genomic-features-survival | 8c7c62696f56a84b674369391c71ff0c223c9ffd | [
"MIT"
] | null | null | null | drug-sensitivity/drug_sensitivity_cell_lines_ttest.py | elifesciences-publications/genomic-features-survival | 8c7c62696f56a84b674369391c71ff0c223c9ffd | [
"MIT"
] | 5 | 2018-12-07T10:03:28.000Z | 2022-03-11T21:08:19.000Z | #!/usr/bin/env python
# encoding: utf-8
'''
drug_sensitivity.py
Created by Joan Smith
on 2017-10-21
Given experimental data, calculate pearson correlations between gene expression and best avg response
Copyright (c) 2018. All rights reserved.
'''
import argparse
import sys
import os
import glob
import pandas as pd
... | 37.842424 | 103 | 0.725977 | 869 | 6,244 | 4.948216 | 0.219793 | 0.090698 | 0.117674 | 0.045581 | 0.443023 | 0.403953 | 0.36 | 0.326279 | 0.231395 | 0.183023 | 0 | 0.011334 | 0.152146 | 6,244 | 164 | 104 | 38.073171 | 0.800907 | 0.022902 | 0 | 0.181034 | 0 | 0 | 0.083588 | 0.022936 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.068966 | null | null | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15ba24edb64aa558ad7fd0710b7e480799499c9e | 3,289 | py | Python | 题源分类/LeetCode/LeetCode日刷/python/208.实现-trie-前缀树.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | 题源分类/LeetCode/LeetCode日刷/python/208.实现-trie-前缀树.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | 题源分类/LeetCode/LeetCode日刷/python/208.实现-trie-前缀树.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=208 lang=python3
#
# [208] 实现 Trie (前缀树)
#
# https://leetcode-cn.com/problems/implement-trie-prefix-tree/description/
#
# algorithms
# Medium (69.08%)
# Likes: 470
# Dislikes: 0
# Total Accepted: 62.7K
# Total Submissions: 90.6K
# Testcase Example: '["Trie","insert","search","search","... | 22.682759 | 93 | 0.51353 | 383 | 3,289 | 4.310705 | 0.292428 | 0.067838 | 0.046638 | 0.038764 | 0.341611 | 0.300424 | 0.273773 | 0.258631 | 0.258631 | 0.258631 | 0 | 0.010864 | 0.356339 | 3,289 | 144 | 94 | 22.840278 | 0.769013 | 0.652782 | 0 | 0.481481 | 0 | 0 | 0.053131 | 0.053131 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15bd128364b0b70b88fb6ad75273b1e31d59f804 | 1,069 | py | Python | backend-project/small_eod/events/migrations/0007_auto_20200528_1011.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 64 | 2019-12-30T11:24:03.000Z | 2021-06-24T01:04:56.000Z | backend-project/small_eod/events/migrations/0007_auto_20200528_1011.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 465 | 2018-06-13T21:43:43.000Z | 2022-01-04T23:33:56.000Z | backend-project/small_eod/events/migrations/0007_auto_20200528_1011.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 72 | 2018-12-02T19:47:03.000Z | 2022-01-04T22:54:49.000Z | # Generated by Django 3.0.6 on 2020-05-28 10:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('cases', '0011_auto_20200420_0717'),
('events', '0006_Plural_form_events'),
]
operations = [
migrati... | 29.694444 | 168 | 0.587465 | 111 | 1,069 | 5.486486 | 0.513514 | 0.059113 | 0.091954 | 0.118227 | 0.246305 | 0.246305 | 0 | 0 | 0 | 0 | 0 | 0.049738 | 0.285313 | 1,069 | 35 | 169 | 30.542857 | 0.747382 | 0.042095 | 0 | 0.482759 | 1 | 0 | 0.151663 | 0.04501 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15bd5feda8106c23998b9702611b01e4a99ba1a0 | 2,502 | py | Python | core/clients/python/api_bindings/cb2_api/tests/lists_and_gets.py | aledbf/digitalrebar | 417a40ea5ace35160f2aeb76f4153d5b70305ce4 | [
"Apache-2.0"
] | 103 | 2016-09-29T17:29:40.000Z | 2022-03-13T23:16:08.000Z | core/clients/python/api_bindings/cb2_api/tests/lists_and_gets.py | aledbf/digitalrebar | 417a40ea5ace35160f2aeb76f4153d5b70305ce4 | [
"Apache-2.0"
] | 48 | 2016-09-15T22:19:59.000Z | 2018-03-06T14:06:20.000Z | core/clients/python/api_bindings/cb2_api/tests/lists_and_gets.py | aledbf/digitalrebar | 417a40ea5ace35160f2aeb76f4153d5b70305ce4 | [
"Apache-2.0"
] | 25 | 2016-09-14T18:43:26.000Z | 2020-07-25T20:01:56.000Z | # Copyright 2014, Dell
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
#... | 35.239437 | 133 | 0.541966 | 275 | 2,502 | 4.763636 | 0.523636 | 0.045802 | 0.019847 | 0.024427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019834 | 0.3753 | 2,502 | 70 | 134 | 35.742857 | 0.818298 | 0.315348 | 0 | 0.157895 | 0 | 0 | 0.198817 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | null | null | 0.026316 | 0.052632 | null | null | 0.289474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15be79f5ee1297b03b2ed2fa266d4689b0157935 | 12,626 | py | Python | pirates/chat/PChatInputSpeedChat.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/chat/PChatInputSpeedChat.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/chat/PChatInputSpeedChat.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from direct.gui.DirectGui import *
from pandac.PandaModules import *
from otp.speedchat.SpeedChatTypes import *
from pirates.speedchat.PSpeedChatTypes import *
from otp.speedchat.SpeedChat import SpeedChat
from otp.speedchat import SpeedChatGlobals
from pirates.speedchat import PSpeedChatGlobals
from direct.showbase im... | 48.007605 | 2,249 | 0.68953 | 1,178 | 12,626 | 7.371817 | 0.37691 | 0.047904 | 0.017964 | 0.016122 | 0.118724 | 0.083832 | 0.050668 | 0.034777 | 0.011976 | 0.011976 | 0 | 0.095975 | 0.216854 | 12,626 | 263 | 2,250 | 48.007605 | 0.782261 | 0 | 0 | 0.25 | 0 | 0 | 0.028035 | 0.004673 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0.004386 | 0.092105 | 0 | 0.285088 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
15bfbede7586ec9c0c871011ab35bb2e2ffadccb | 718 | py | Python | exams/models.py | manavshrivastavagit/django-restapi | 52261c93b58422b0e39cae656ae9409ea03a488d | [
"MIT"
] | 5 | 2017-01-13T08:17:25.000Z | 2020-04-07T12:50:51.000Z | exams/models.py | manavshrivastavagit/django-restapi | 52261c93b58422b0e39cae656ae9409ea03a488d | [
"MIT"
] | 2 | 2016-10-25T12:51:30.000Z | 2017-10-14T18:38:59.000Z | exams/models.py | manavshrivastavagit/django-restapi | 52261c93b58422b0e39cae656ae9409ea03a488d | [
"MIT"
] | 4 | 2017-09-05T19:03:13.000Z | 2021-03-23T07:47:41.000Z | from django.db import models
from students.models import Class, Subject, Teacher
from .validators import validate_date
class Exam(models.Model):
subject = models.ForeignKey(Subject, on_delete=models.CASCADE)
date = models.DateField(auto_now=False, validators=[validate_date])
clazz = models.ForeignKey(Cl... | 34.190476 | 98 | 0.718663 | 90 | 718 | 5.588889 | 0.5 | 0.095427 | 0.083499 | 0.125249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011532 | 0.154596 | 718 | 20 | 99 | 35.9 | 0.817133 | 0 | 0 | 0 | 0 | 0 | 0.045961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.214286 | 0.071429 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
ec62e6c7d9a66d178b6a3cab6f3ef539fd6136dc | 1,855 | py | Python | qmotion_qsync/position.py | tmoran3020/qmotion-qsync | 1c1c7dc39a65295d1a1755800500230dfba3e945 | [
"MIT"
] | null | null | null | qmotion_qsync/position.py | tmoran3020/qmotion-qsync | 1c1c7dc39a65295d1a1755800500230dfba3e945 | [
"MIT"
] | null | null | null | qmotion_qsync/position.py | tmoran3020/qmotion-qsync | 1c1c7dc39a65295d1a1755800500230dfba3e945 | [
"MIT"
] | null | null | null | """ Class respresents the position to move a shade group"""
from enum import Enum
from .exceptions import UnexpectedDataError
HALF_BUCKET = 63
class Position(Enum):
"""
A position represents supported shade positions.
Qmotion only supports particular positions for shades. This class enumerates these sup... | 31.982759 | 96 | 0.656065 | 228 | 1,855 | 5.131579 | 0.421053 | 0.071795 | 0.082051 | 0.061538 | 0.041026 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058651 | 0.26469 | 1,855 | 57 | 97 | 32.54386 | 0.79912 | 0.293261 | 0 | 0.064516 | 0 | 0 | 0.040462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.064516 | 0 | 0.612903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
ec6f40bd6d127fa6d45a527353a741f2985d74a6 | 357 | py | Python | niphlem/tests/test_example.py | CoAxLab/brainhack-physio-project | b87cd6c6db486639f271b786ca1cf4aa27a70fad | [
"BSD-3-Clause"
] | 1 | 2022-03-13T14:33:44.000Z | 2022-03-13T14:33:44.000Z | niphlem/tests/test_example.py | CoAxLab/niphlem | a275cfe0b6286fcb8a60a2d999354453804dd5d2 | [
"BSD-3-Clause"
] | 11 | 2021-12-07T03:33:13.000Z | 2022-02-28T20:41:12.000Z | niphlem/tests/test_example.py | CoAxLab/brainhack-physio-project | b87cd6c6db486639f271b786ca1cf4aa27a70fad | [
"BSD-3-Clause"
] | null | null | null | # content of test_example.py (adapted from https://docs.pytest.org)
def inc(x):
"""Functionality that we want to test"""
return x + 1
def test_inc():
# This will give an error
# assert inc(3) == 5
# This will not
# (to see this: comment assertion line above,
# uncomment line below and re... | 21 | 67 | 0.630252 | 56 | 357 | 3.982143 | 0.732143 | 0.071749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.257703 | 357 | 16 | 68 | 22.3125 | 0.822642 | 0.677871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec713a90a4a7bbd2ca4177dbc13ecb0f60d05524 | 2,907 | py | Python | hit_finding/hit_finder/queue_flush.py | beamline-i24/Serial_processing_scripts | ca97e3cd7ba991636171eafa126dc6e1aa4c53cc | [
"Apache-2.0"
] | null | null | null | hit_finding/hit_finder/queue_flush.py | beamline-i24/Serial_processing_scripts | ca97e3cd7ba991636171eafa126dc6e1aa4c53cc | [
"Apache-2.0"
] | null | null | null | hit_finding/hit_finder/queue_flush.py | beamline-i24/Serial_processing_scripts | ca97e3cd7ba991636171eafa126dc6e1aa4c53cc | [
"Apache-2.0"
] | null | null | null | #!/dls_sw/apps/dials/dials-v1-9-1/build/bin/dials.python
import argparse
from subprocess import call
from pprint import pprint
import uuid
import time
import os
import numpy as np
import matplotlib.pyplot as plt
import sys
sys.path.append('/dls_sw/i24/scripts/setup_beamline')
import pv,ca
import Queue
import workfl... | 27.685714 | 103 | 0.677331 | 353 | 2,907 | 5.410765 | 0.441926 | 0.051309 | 0.014136 | 0.036649 | 0.071204 | 0.071204 | 0.071204 | 0.071204 | 0.071204 | 0.071204 | 0 | 0.029337 | 0.190918 | 2,907 | 104 | 104 | 27.951923 | 0.782738 | 0.123151 | 0 | 0 | 0 | 0 | 0.240755 | 0.06609 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.17284 | null | null | 0.123457 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec71de09a678c0462992ea1f386cbef7eefa2e41 | 8,573 | py | Python | lcdata/tests/test_dataset.py | kboone/lcdata | cf147610430a0d6ba5483886533c60c0ce5aeafa | [
"MIT"
] | 1 | 2021-08-24T05:01:53.000Z | 2021-08-24T05:01:53.000Z | lcdata/tests/test_dataset.py | kboone/lcdata | cf147610430a0d6ba5483886533c60c0ce5aeafa | [
"MIT"
] | 1 | 2021-09-14T00:01:14.000Z | 2021-09-14T00:01:14.000Z | lcdata/tests/test_dataset.py | kboone/lcdata | cf147610430a0d6ba5483886533c60c0ce5aeafa | [
"MIT"
] | null | null | null | import pytest
from astropy.table import Table
import numpy as np
import lcdata
import os
def make_light_curve(object_id='test'):
lc = Table({
'time': [0, 1, 2, 5, 8.3],
'flux': [1., 2., 3., 4., 2.3],
'fluxerr': [1., 2., 3., 4., 2.3],
'band': ['lsstu', 'lsstg', 'lsstr', 'lsstr', 'l... | 27.565916 | 87 | 0.697772 | 1,281 | 8,573 | 4.388759 | 0.131148 | 0.046069 | 0.082177 | 0.043935 | 0.593205 | 0.478655 | 0.394522 | 0.327286 | 0.313945 | 0.27428 | 0 | 0.027165 | 0.175551 | 8,573 | 310 | 88 | 27.654839 | 0.768251 | 0.047008 | 0 | 0.208955 | 0 | 0 | 0.068268 | 0 | 0 | 0 | 0 | 0 | 0.238806 | 1 | 0.208955 | false | 0 | 0.024876 | 0.00995 | 0.258706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec74eb38007fc0c5185dcdd6555d7bf217561718 | 141 | py | Python | functions lab/repeat string.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | functions lab/repeat string.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | functions lab/repeat string.py | DiyanKalaydzhiev23/fundamentals---python | 7fa032d9a3270648ffa383bb00dad8e51613189d | [
"MIT"
] | null | null | null | word = input()
times = int(input())
def repeat():
text = ""
for _ in range(times):
text += word
print(text)
repeat()
| 10.846154 | 26 | 0.524823 | 17 | 141 | 4.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312057 | 141 | 12 | 27 | 11.75 | 0.752577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec7ff0b9013640e347576aef53a0d1a2c343c34d | 1,011 | py | Python | census_data_downloader/core/__init__.py | JoeGermuska/census-data-downloader | 0098b9e522b78ad0e30301c9845ecbcc903c62e4 | [
"MIT"
] | 170 | 2019-04-01T01:41:42.000Z | 2022-03-25T21:22:06.000Z | census_data_downloader/core/__init__.py | JoeGermuska/census-data-downloader | 0098b9e522b78ad0e30301c9845ecbcc903c62e4 | [
"MIT"
] | 68 | 2019-03-31T22:52:43.000Z | 2021-08-30T16:33:54.000Z | census_data_downloader/core/__init__.py | JoeGermuska/census-data-downloader | 0098b9e522b78ad0e30301c9845ecbcc903c62e4 | [
"MIT"
] | 34 | 2019-04-02T17:57:16.000Z | 2022-03-28T17:22:35.000Z | import collections
# https://www.census.gov/data/developers/data-sets/acs-1year/notes-on-acs-estimate-and-annotation-values.html
ESTIMATE_MAP = collections.OrderedDict({
"-999999999": "too few samples",
"-888888888": "not applicable",
"-666666666": "estimate can't be calculated",
"*": "significantly d... | 38.884615 | 109 | 0.66271 | 121 | 1,011 | 5.520661 | 0.553719 | 0.04491 | 0.097305 | 0.08982 | 0.347305 | 0.347305 | 0.224551 | 0 | 0 | 0 | 0 | 0.066345 | 0.18002 | 1,011 | 25 | 110 | 40.44 | 0.739445 | 0.150346 | 0 | 0.1 | 0 | 0 | 0.65614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec816a6683ab796ba38478bfb46fe5c22c3b501d | 1,987 | py | Python | migrations/versions/1fcee2e6280_added_session.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | migrations/versions/1fcee2e6280_added_session.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | migrations/versions/1fcee2e6280_added_session.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | """Added session
Revision ID: 1fcee2e6280
Revises: 1925329c798a
Create Date: 2013-11-08 19:24:18.721591
"""
# revision identifiers, used by Alembic.
revision = '1fcee2e6280'
down_revision = '1925329c798a'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - pl... | 38.960784 | 90 | 0.693005 | 251 | 1,987 | 5.350598 | 0.290837 | 0.101266 | 0.167535 | 0.218913 | 0.473567 | 0.445272 | 0.445272 | 0.13105 | 0 | 0 | 0 | 0.034223 | 0.13236 | 1,987 | 50 | 91 | 39.74 | 0.74478 | 0.145949 | 0 | 0 | 0 | 0 | 0.21274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec81e25554b1c8895470f0490b1a6e115e2071f3 | 179 | py | Python | ex049.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | 1 | 2020-04-21T19:14:50.000Z | 2020-04-21T19:14:50.000Z | ex049.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | ex049.py | LucasLCarreira/Python | 03bd64837d74315687e567261a149f0176496348 | [
"MIT"
] | null | null | null | # Exercício Python 049
# Refaça o desafio 009, tabuada utilizando o FOR
n = int(input('Digite um número: '))
for c in range(1,11):
print('{:2} x {:2} = {:2}'.format(n,c,c*n))
| 29.833333 | 48 | 0.625698 | 33 | 179 | 3.393939 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.178771 | 179 | 5 | 49 | 35.8 | 0.680272 | 0.374302 | 0 | 0 | 0 | 0 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec85759acd8d3f5d18e122de11138b348c72cf98 | 620 | py | Python | app/predict.py | jennyxue1997/DeepLearningLeagueofLegends | d37c2714d4f1a2925dce23d8ba25963caa1f255e | [
"MIT"
] | null | null | null | app/predict.py | jennyxue1997/DeepLearningLeagueofLegends | d37c2714d4f1a2925dce23d8ba25963caa1f255e | [
"MIT"
] | null | null | null | app/predict.py | jennyxue1997/DeepLearningLeagueofLegends | d37c2714d4f1a2925dce23d8ba25963caa1f255e | [
"MIT"
] | null | null | null | import features
import json
import tensorflow as tf
from tensorflow.contrib import predictor
def get_winning_team(request, model, ordered_team_games):
payload = json.loads(request.data)
blue_team = payload["blue"]["blueTeam"]
red_team = payload["red"]["redTeam"]
print(payload)
test_input_fn = featu... | 38.75 | 84 | 0.725806 | 81 | 620 | 5.345679 | 0.444444 | 0.062356 | 0.117783 | 0.207852 | 0.143187 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011215 | 0.137097 | 620 | 15 | 85 | 41.333333 | 0.798131 | 0 | 0 | 0 | 0 | 0 | 0.109677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.285714 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec87b02c8f8c563446246d8e90506437c77162e1 | 15,390 | py | Python | OpenPNM/Network/__DelaunayVoronoiDual__.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | OpenPNM/Network/__DelaunayVoronoiDual__.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | null | null | null | OpenPNM/Network/__DelaunayVoronoiDual__.py | thirtywang/OpenPNM | e55ee7ae69a8be3e2b0e6bf24c9ff92b6d24e16a | [
"MIT"
] | 1 | 2020-07-02T02:21:10.000Z | 2020-07-02T02:21:10.000Z | """
===============================================================================
DelaunayVoronoiDual: Generate a random network with complementary Delaunay and
Voronoi networks, including connectings between them
===============================================================================
"""
from OpenPNM.Networ... | 43.721591 | 79 | 0.610201 | 2,025 | 15,390 | 4.579753 | 0.2 | 0.038818 | 0.022428 | 0.015527 | 0.351844 | 0.313133 | 0.272374 | 0.258141 | 0.23485 | 0.224067 | 0 | 0.009075 | 0.276868 | 15,390 | 351 | 80 | 43.846154 | 0.824243 | 0.478298 | 0 | 0.244898 | 1 | 0 | 0.154193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.034014 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec8f9c1715a4071e62e3efa5cb86aa6e63356737 | 1,099 | py | Python | server/main.py | kenny-skaggs/apella | 6591724b33ec5249f31f73e09a9532472ba2c7cd | [
"MIT"
] | null | null | null | server/main.py | kenny-skaggs/apella | 6591724b33ec5249f31f73e09a9532472ba2c7cd | [
"MIT"
] | null | null | null | server/main.py | kenny-skaggs/apella | 6591724b33ec5249f31f73e09a9532472ba2c7cd | [
"MIT"
] | null | null | null | import os
from flask import Flask, send_from_directory
from flask_cors import CORS
from flask_praetorian.constants import DEFAULT_JWT_PLACES
import auth
from curriculum import api as curriculum_api
from responses import api as responses_api, socket_server
from general import api as general_api
from organization impor... | 28.179487 | 78 | 0.803458 | 157 | 1,099 | 5.305732 | 0.343949 | 0.066026 | 0.120048 | 0.07563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004012 | 0.092812 | 1,099 | 38 | 79 | 28.921053 | 0.831494 | 0 | 0 | 0 | 0 | 0 | 0.11283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.185185 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
ec95fc59fbf8ed93f3fb6d03cf831b4e2eff5992 | 5,324 | py | Python | GdbPublisherNode.py | larics/gdb_ros_publisher | 8c71097bef04e130272acad891dc959ed0ec1df9 | [
"Apache-2.0"
] | 10 | 2017-08-29T12:55:36.000Z | 2020-07-02T13:08:11.000Z | GdbPublisherNode.py | larics/gdb_ros_publisher | 8c71097bef04e130272acad891dc959ed0ec1df9 | [
"Apache-2.0"
] | 1 | 2018-10-29T17:16:31.000Z | 2018-11-01T12:14:15.000Z | GdbPublisherNode.py | larics/gdb_ros_publisher | 8c71097bef04e130272acad891dc959ed0ec1df9 | [
"Apache-2.0"
] | null | null | null | import rospy
from rospy.msg import AnyMsg
class GdbPublisher(object):
def __init__(self, topic, msgtype, queue_size = 1):
self.topic = topic
self.msgtype = msgtype
# Construct publisher lazily, since we don't know whether to latch or not yet.
self.publisher = None
self.queue_size = queue_size
... | 36.217687 | 109 | 0.725019 | 656 | 5,324 | 5.652439 | 0.22561 | 0.032362 | 0.02589 | 0.029666 | 0.174218 | 0.113269 | 0.113269 | 0.096009 | 0.096009 | 0.096009 | 0 | 0.002063 | 0.180503 | 5,324 | 146 | 110 | 36.465753 | 0.847811 | 0.054658 | 0 | 0.173913 | 0 | 0 | 0.082156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017391 | null | null | 0.095652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec979e2d85aaac1a203313aca18af94c4e4ddf11 | 832 | py | Python | api/tests/opentrons/protocol_engine/commands/heater_shaker/test_close_latch.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | api/tests/opentrons/protocol_engine/commands/heater_shaker/test_close_latch.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | api/tests/opentrons/protocol_engine/commands/heater_shaker/test_close_latch.py | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | null | null | null | """Test Heater Shaker close latch command implementation."""
import pytest
from decoy import Decoy
from opentrons.protocol_engine.commands import heater_shaker
from opentrons.protocol_engine.commands.heater_shaker.close_latch import (
CloseLatchImpl,
)
@pytest.fixture()
def subject() -> CloseLatchImpl:
"""Ge... | 32 | 74 | 0.768029 | 101 | 832 | 6.237624 | 0.584158 | 0.114286 | 0.053968 | 0.069841 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01108 | 0.132212 | 832 | 25 | 75 | 33.28 | 0.861496 | 0.199519 | 0 | 0 | 0 | 0 | 0.026891 | 0 | 0 | 0 | 0 | 0.04 | 0.071429 | 1 | 0.071429 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ec9b1e56e75eb3a25b5a6b5f620942608045c722 | 387 | py | Python | account/migrations/0007_profile_wallet.py | fast-falcon/dongyab | 5cd1d68af9c138707a6fd77cb8a20c508426c3f1 | [
"MIT"
] | null | null | null | account/migrations/0007_profile_wallet.py | fast-falcon/dongyab | 5cd1d68af9c138707a6fd77cb8a20c508426c3f1 | [
"MIT"
] | null | null | null | account/migrations/0007_profile_wallet.py | fast-falcon/dongyab | 5cd1d68af9c138707a6fd77cb8a20c508426c3f1 | [
"MIT"
] | 1 | 2021-01-11T18:58:17.000Z | 2021-01-11T18:58:17.000Z | # Generated by Django 3.1.5 on 2021-01-11 18:15
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0006_auto_20210111_1108'),
]
operations = [
migrations.AddField(
model_name='profile',
name='wallet',
... | 20.368421 | 52 | 0.599483 | 41 | 387 | 5.560976 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0.286822 | 387 | 18 | 53 | 21.5 | 0.710145 | 0.116279 | 0 | 0 | 1 | 0 | 0.126471 | 0.067647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
eca0fff8d09616c84f79b50e89402d2bc11de47b | 1,631 | py | Python | animesuki/media/views.py | ghdpro/animesuki.com | 91f42b5e98c25dfe66a53d81a3a5061830b0baa2 | [
"MIT"
] | null | null | null | animesuki/media/views.py | ghdpro/animesuki.com | 91f42b5e98c25dfe66a53d81a3a5061830b0baa2 | [
"MIT"
] | null | null | null | animesuki/media/views.py | ghdpro/animesuki.com | 91f42b5e98c25dfe66a53d81a3a5061830b0baa2 | [
"MIT"
] | null | null | null | """AnimeSuki Media views"""
from django.views.generic import DetailView, CreateView, UpdateView
from animesuki.core.views import PermissionMessageMixin, ArtworkActiveViewMixin, CanonicalDetailViewMixin
from animesuki.history.views import HistoryFormViewMixin, HistoryFormsetViewMixin
from .models import Media
from .f... | 34.702128 | 108 | 0.787247 | 166 | 1,631 | 7.566265 | 0.36747 | 0.038217 | 0.05414 | 0.038217 | 0.234873 | 0.172771 | 0.172771 | 0.172771 | 0.172771 | 0.172771 | 0 | 0 | 0.142244 | 1,631 | 46 | 109 | 35.456522 | 0.897784 | 0.012876 | 0 | 0.290323 | 0 | 0 | 0.137781 | 0.015586 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.16129 | 0.096774 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
eca15f59a72151a4e3756ce4a74f74a81faf7739 | 12,505 | py | Python | code/concept_extraction/lib/en/parser/nltk_lite/corpora/timit.py | liaoyuke/EECS542_Final_Project_VQA | afc4f62d79a55da54ba378248be738c3d02e3d8e | [
"MIT"
] | 7 | 2015-01-14T22:43:02.000Z | 2015-03-27T17:36:45.000Z | code/concept_extraction/lib/en/parser/nltk_lite/corpora/timit.py | liaoyuke/EECS542_Final_Project_VQA | afc4f62d79a55da54ba378248be738c3d02e3d8e | [
"MIT"
] | 2 | 2021-11-30T06:56:12.000Z | 2022-03-11T06:01:59.000Z | code/concept_extraction/lib/en/parser/nltk_lite/corpora/timit.py | liaoyuke/EECS542_Final_Project_VQA | afc4f62d79a55da54ba378248be738c3d02e3d8e | [
"MIT"
] | 1 | 2022-02-17T22:08:13.000Z | 2022-02-17T22:08:13.000Z | # Natural Language Toolkit: TIMIT Corpus Reader
#
# Copyright (C) 2001-2006 University of Pennsylvania
# Author: Haejoong Lee <haejoong@ldc.upenn.edu>
# Steven Bird <sb@ldc.upenn.edu>
# URL: <http://nltk.sf.net>
# For license information, see LICENSE.TXT
"""
Read tokens, phonemes and audio data from the NLTK T... | 35.525568 | 110 | 0.635986 | 1,781 | 12,505 | 4.450309 | 0.218978 | 0.016654 | 0.007065 | 0.01514 | 0.43023 | 0.396165 | 0.382034 | 0.347716 | 0.320464 | 0.302044 | 0 | 0.015408 | 0.252619 | 12,505 | 351 | 111 | 35.626781 | 0.832656 | 0.02551 | 0 | 0.187919 | 0 | 0 | 0.213263 | 0.008488 | 0 | 0 | 0 | 0 | 0.006711 | 0 | null | null | 0 | 0.040268 | null | null | 0.322148 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
eca62db7e3db430d4cc3651712e99d4eae55658a | 425 | py | Python | Python/is-none-or-empty/tests.py | nathangroblewski/coding-problems | ccc2a8e9090fc7b80ed589ceaec9f564bfe5f65d | [
"MIT"
] | null | null | null | Python/is-none-or-empty/tests.py | nathangroblewski/coding-problems | ccc2a8e9090fc7b80ed589ceaec9f564bfe5f65d | [
"MIT"
] | null | null | null | Python/is-none-or-empty/tests.py | nathangroblewski/coding-problems | ccc2a8e9090fc7b80ed589ceaec9f564bfe5f65d | [
"MIT"
] | null | null | null | import unittest
import main
class Tests(unittest.TestCase):
def test_is_none(self):
self.assertTrue(main.is_none_or_empty(None))
def test_is_empty(self):
self.assertTrue(main.is_none_or_empty(''))
def test_not_none_or_empty(self):
strings = ('a', 'None')
for s in strings:... | 21.25 | 54 | 0.661176 | 60 | 425 | 4.266667 | 0.383333 | 0.09375 | 0.171875 | 0.140625 | 0.339844 | 0.273438 | 0.273438 | 0.273438 | 0 | 0 | 0 | 0 | 0.221176 | 425 | 19 | 55 | 22.368421 | 0.773414 | 0 | 0 | 0 | 0 | 0 | 0.030588 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.153846 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
eca805b2ded418b796c8b8860d285c4e8ea7ca38 | 2,570 | py | Python | model/imputer.py | bravo583771/Variational-inference-and-Missing-not-at-random-imputation | 8688e0fe00e98e8546ebd45d1dfd421d494403be | [
"Apache-2.0"
] | null | null | null | model/imputer.py | bravo583771/Variational-inference-and-Missing-not-at-random-imputation | 8688e0fe00e98e8546ebd45d1dfd421d494403be | [
"Apache-2.0"
] | null | null | null | model/imputer.py | bravo583771/Variational-inference-and-Missing-not-at-random-imputation | 8688e0fe00e98e8546ebd45d1dfd421d494403be | [
"Apache-2.0"
] | null | null | null | import numpy as np
from sklearn.experimental import enable_iterative_imputer
from sklearn.impute import SimpleImputer, IterativeImputer, KNNImputer
from sklearn.ensemble import RandomForestRegressor
method_list = ['mean', 'median', 'most_frequent', 'mice', 'missForest', 'knn']
class imputer(object):
def __init__(... | 35.205479 | 92 | 0.536576 | 275 | 2,570 | 4.876364 | 0.363636 | 0.090231 | 0.017897 | 0.032811 | 0.119314 | 0.044743 | 0.044743 | 0.044743 | 0 | 0 | 0 | 0.005952 | 0.346304 | 2,570 | 72 | 93 | 35.694444 | 0.792262 | 0.118677 | 0 | 0 | 0 | 0 | 0.10545 | 0 | 0 | 0 | 0 | 0.013889 | 0 | 1 | 0.086207 | false | 0 | 0.068966 | 0.017241 | 0.206897 | 0.017241 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
eca84f87fe10450556961968b225f1ad5c8faa66 | 2,404 | py | Python | orchestra/todos/auth.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 444 | 2016-07-25T05:24:30.000Z | 2022-02-21T08:12:29.000Z | orchestra/todos/auth.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 395 | 2016-07-26T20:49:59.000Z | 2022-03-15T20:58:45.000Z | orchestra/todos/auth.py | code-review-doctor/orchestra | 1ba58d26c508e89d2050dc9b0c8439eb1eadd014 | [
"Apache-2.0"
] | 63 | 2016-07-26T04:10:21.000Z | 2022-03-29T03:32:19.000Z | from rest_framework import permissions
from orchestra.models import Worker
from orchestra.models import Todo
from orchestra.models import TodoQA
class IsAssociatedWithTodosProject(permissions.BasePermission):
"""
Ensures that a user's worker is accoiated with the todo's project.
"""
def has_object_p... | 33.388889 | 79 | 0.643095 | 301 | 2,404 | 5.009967 | 0.275748 | 0.06565 | 0.037798 | 0.049735 | 0.447613 | 0.329576 | 0.288462 | 0.288462 | 0.224138 | 0.190981 | 0 | 0 | 0.268303 | 2,404 | 71 | 80 | 33.859155 | 0.857305 | 0.175125 | 0 | 0.214286 | 0 | 0 | 0.026064 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 1 | 0.071429 | false | 0 | 0.095238 | 0 | 0.380952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
eca9643e44eb3ba0c3701c3ed5a5dff27acf08a1 | 981 | py | Python | submit/helpers.py | felixgondwe/covid19 | 26827dab20796f929efee40ceace0c32c58e0db3 | [
"MIT"
] | null | null | null | submit/helpers.py | felixgondwe/covid19 | 26827dab20796f929efee40ceace0c32c58e0db3 | [
"MIT"
] | null | null | null | submit/helpers.py | felixgondwe/covid19 | 26827dab20796f929efee40ceace0c32c58e0db3 | [
"MIT"
] | null | null | null | import pandas as pd
class CovidHelpers(object):
def __init__(self, assets_path):
self.meta_container = {}
self.summary_container = {}
self.literature_container = {}
self.assets_path = assets_path
def populate_meta_frame(self):
meta_path = self.assets_path + '/metadata.... | 29.727273 | 73 | 0.624873 | 125 | 981 | 4.568 | 0.424 | 0.087566 | 0.098074 | 0.063047 | 0.070053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002774 | 0.265036 | 981 | 32 | 74 | 30.65625 | 0.789182 | 0 | 0 | 0.08 | 0 | 0 | 0.038736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.12 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecaa322edfef79abc26f59f1c365692b6475737d | 1,027 | py | Python | plugins/modules/print.py | ebuildy/ansible-cidre | 626d984f57d2ebeb7e9232d0088348f371d7da7f | [
"Apache-2.0"
] | null | null | null | plugins/modules/print.py | ebuildy/ansible-cidre | 626d984f57d2ebeb7e9232d0088348f371d7da7f | [
"Apache-2.0"
] | 27 | 2020-11-02T16:19:31.000Z | 2021-01-14T14:28:27.000Z | plugins/modules/print.py | ebuildy/ansible-cidre | 626d984f57d2ebeb7e9232d0088348f371d7da7f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# (c) 2020, Thomas Decaux <@ebuildy>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = r'''
module: ebuildy.cidre.print
short_d... | 26.333333 | 101 | 0.692308 | 139 | 1,027 | 5.028777 | 0.741007 | 0.030043 | 0.054363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017199 | 0.2074 | 1,027 | 38 | 102 | 27.026316 | 0.841523 | 0.159688 | 0 | 0.2 | 0 | 0 | 0.860303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecaa337dfbd1aaf0b96d7f520d0c00ea0f2ffcf0 | 5,900 | py | Python | utils.py | SaeedNajafi/seq2seq-transliteration | 9a3fc9c3bd9d2be12176024d50de8ae11351f7cc | [
"MIT"
] | null | null | null | utils.py | SaeedNajafi/seq2seq-transliteration | 9a3fc9c3bd9d2be12176024d50de8ae11351f7cc | [
"MIT"
] | null | null | null | utils.py | SaeedNajafi/seq2seq-transliteration | 9a3fc9c3bd9d2be12176024d50de8ae11351f7cc | [
"MIT"
] | null | null | null | import numpy as np
import utils as ut
def load(config, mode):
"""
Creates random vectors for source and target characters.
Loads train/dev/test data.
"""
fp = open(config.source_alphabet, 'r')
s_chars = [line.strip().decode('utf8') for line in fp.readlines()]
s_chars += config.end_symbol
... | 30.412371 | 78 | 0.468136 | 715 | 5,900 | 3.553846 | 0.170629 | 0.023613 | 0.03778 | 0.028335 | 0.404959 | 0.325856 | 0.299882 | 0.285321 | 0.215663 | 0.202283 | 0 | 0.006691 | 0.442712 | 5,900 | 193 | 79 | 30.569948 | 0.766119 | 0.021695 | 0 | 0.322785 | 0 | 0 | 0.041689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012658 | null | null | 0.025316 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecbd969ffb675dbfc872f2c96a06f46b03b29fe8 | 3,395 | py | Python | yoapi/manage/manager.py | YoApp/yo-api | a162e51804ab91724cc7ad3e7608410329da6789 | [
"MIT"
] | 1 | 2021-12-17T03:25:34.000Z | 2021-12-17T03:25:34.000Z | yoapi/manage/manager.py | YoApp/yo-api | a162e51804ab91724cc7ad3e7608410329da6789 | [
"MIT"
] | null | null | null | yoapi/manage/manager.py | YoApp/yo-api | a162e51804ab91724cc7ad3e7608410329da6789 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Flask-Script subclasses."""
from flask import g, json, _request_ctx_stack, current_app, request
from flask_principal import identity_changed, Identity
from flask_script import (Command as BaseCommand, Manager as BaseManager,
Shell)
from werkzeug.datastructures impo... | 33.284314 | 75 | 0.61944 | 392 | 3,395 | 5.140306 | 0.329082 | 0.059553 | 0.034739 | 0.02531 | 0.145409 | 0.105211 | 0.060546 | 0 | 0 | 0 | 0 | 0.000403 | 0.269809 | 3,395 | 101 | 76 | 33.613861 | 0.812424 | 0.043004 | 0 | 0.046154 | 0 | 0 | 0.051718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.015385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecc23f2ab4a1983f324f9f3fb65dd0e4880585b0 | 1,487 | py | Python | create_playlists.py | RussellJQA/yearly-bible-reading-singing-plans | 7d852d3b4807934679e13a833dc7baac36f608d3 | [
"MIT"
] | 2 | 2020-12-31T22:44:29.000Z | 2021-01-01T15:08:21.000Z | create_playlists.py | RussellJQA/yearly-bible-reading-singing-plans | 7d852d3b4807934679e13a833dc7baac36f608d3 | [
"MIT"
] | null | null | null | create_playlists.py | RussellJQA/yearly-bible-reading-singing-plans | 7d852d3b4807934679e13a833dc7baac36f608d3 | [
"MIT"
] | null | null | null | import json
from pathlib import Path
from get_bible_book_metadata import get_bible_book_metadata
bible_audio_path = "/storage/emulated/0/Music/TBAudio/"
YEAR = 2021
SCRIPT_DIR = Path(__file__).resolve().parent
YEAR_DIR = SCRIPT_DIR / str(YEAR)
def get_folder(name, data):
testament = data["ot_nt"]
book_num... | 30.346939 | 72 | 0.64425 | 215 | 1,487 | 4.204651 | 0.353488 | 0.070796 | 0.066372 | 0.070796 | 0.059735 | 0.059735 | 0.059735 | 0 | 0 | 0 | 0 | 0.019475 | 0.205783 | 1,487 | 48 | 73 | 30.979167 | 0.745978 | 0.166106 | 0 | 0 | 0 | 0 | 0.203404 | 0.096434 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.166667 | 0.1 | 0.033333 | 0.233333 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
ecc2e8363335bea70f91528d3dea2cdf5b53e018 | 4,456 | py | Python | scheduler_sdk/model/permission/permission_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | webshell_sdk/model/permission/permission_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | webshell_sdk/model/permission/permission_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: permission.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf ... | 40.509091 | 447 | 0.748429 | 582 | 4,456 | 5.467354 | 0.243986 | 0.047769 | 0.060339 | 0.061596 | 0.440289 | 0.429918 | 0.405091 | 0.350409 | 0.338466 | 0.338466 | 0 | 0.035056 | 0.12298 | 4,456 | 109 | 448 | 40.880734 | 0.779171 | 0.052962 | 0 | 0.382022 | 1 | 0.011236 | 0.201756 | 0.160218 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.067416 | 0 | 0.067416 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecc447d40b146e618440e56c1aca1d467d407615 | 256 | py | Python | onetoone/urls.py | x9sheikh/djangoDataBaseRelationships | b80ec61df2eaa31a34b150f5f185966bd90863be | [
"MIT"
] | null | null | null | onetoone/urls.py | x9sheikh/djangoDataBaseRelationships | b80ec61df2eaa31a34b150f5f185966bd90863be | [
"MIT"
] | null | null | null | onetoone/urls.py | x9sheikh/djangoDataBaseRelationships | b80ec61df2eaa31a34b150f5f185966bd90863be | [
"MIT"
] | null | null | null | from django.conf.urls import url
from django.contrib import admin
from django.urls import path,include
from . import views
urlpatterns = [
path('', views.onetoone, name='onetoone'),
path('detail/<int:college_id>/', views.detail, name='detail')
]
| 23.272727 | 65 | 0.722656 | 35 | 256 | 5.257143 | 0.514286 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 256 | 10 | 66 | 25.6 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
ecc69c5f66480e28e481ff4009c42e2e9d0c1a38 | 1,210 | py | Python | contento/management/commands/files_to_sql.py | inmagik/contento | b7430e42aedd80809a57d599a5841c60fd16c21f | [
"MIT"
] | 1 | 2016-10-11T17:00:30.000Z | 2016-10-11T17:00:30.000Z | contento/management/commands/files_to_sql.py | inmagik/contento | b7430e42aedd80809a57d599a5841c60fd16c21f | [
"MIT"
] | 23 | 2016-08-05T17:07:31.000Z | 2021-06-10T23:30:06.000Z | contento/management/commands/files_to_sql.py | inmagik/contento | b7430e42aedd80809a57d599a5841c60fd16c21f | [
"MIT"
] | 1 | 2016-09-04T23:39:40.000Z | 2016-09-04T23:39:40.000Z | from django.core.management.base import BaseCommand, CommandError
from contento.backends.files import FlatFilesBackend
from contento.backends.sql import SQLBackend
from contento.exceptions import CmsPageAlreadyExisting
sql_backend = SQLBackend()
class Command(BaseCommand):
help = 'Closes the specified poll for v... | 31.025641 | 65 | 0.666116 | 141 | 1,210 | 5.560284 | 0.439716 | 0.040816 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253719 | 1,210 | 38 | 66 | 31.842105 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0.055372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecca5599d3c4377e69649dbd4bc4ae8f9a5e78b2 | 1,929 | py | Python | app/recepi/views.py | AmilcarMairena/recepi-app-api | 2dc914cf48f44d197003accdd84b8a323231ebb3 | [
"MIT"
] | null | null | null | app/recepi/views.py | AmilcarMairena/recepi-app-api | 2dc914cf48f44d197003accdd84b8a323231ebb3 | [
"MIT"
] | null | null | null | app/recepi/views.py | AmilcarMairena/recepi-app-api | 2dc914cf48f44d197003accdd84b8a323231ebb3 | [
"MIT"
] | null | null | null | from rest_framework import viewsets, mixins
from rest_framework.authentication import TokenAuthentication
from rest_framework.permissions import IsAuthenticated
from core.models import Tag, Ingredient, Recepi
from recepi import serializers
class BaseRecepiViewSet(viewsets.GenericViewSet,
mix... | 31.622951 | 79 | 0.713323 | 192 | 1,929 | 7.072917 | 0.369792 | 0.066274 | 0.044183 | 0.055965 | 0.381443 | 0.328424 | 0.279823 | 0.279823 | 0.220913 | 0.220913 | 0 | 0 | 0.197512 | 1,929 | 60 | 80 | 32.15 | 0.877261 | 0.148263 | 0 | 0.30303 | 0 | 0 | 0.00814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151515 | false | 0 | 0.151515 | 0 | 0.848485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
eccd7e96606060af96240ec9ac9f33f659189cc4 | 9,048 | py | Python | server/admin.py | jokdbx/sal | 6f85307c072dd0f52ed1bf5f2e128d91bc34a523 | [
"Apache-2.0"
] | null | null | null | server/admin.py | jokdbx/sal | 6f85307c072dd0f52ed1bf5f2e128d91bc34a523 | [
"Apache-2.0"
] | null | null | null | server/admin.py | jokdbx/sal | 6f85307c072dd0f52ed1bf5f2e128d91bc34a523 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from django.forms import ModelForm, ModelMultipleChoiceField
from server.models import *
from server.utils import reload_plugins_model
class BusinessUnitFilter(admin.SimpleListFilter):
title = 'Business Unit'
parameter_name = 'business_unit'
def lookups(self, request, mo... | 34.143396 | 99 | 0.72237 | 923 | 9,048 | 6.834236 | 0.2026 | 0.029962 | 0.0539 | 0.045339 | 0.302949 | 0.250793 | 0.209258 | 0.186113 | 0.186113 | 0.170577 | 0 | 0.000263 | 0.160699 | 9,048 | 264 | 100 | 34.272727 | 0.830392 | 0.039567 | 0 | 0.170455 | 0 | 0 | 0.175718 | 0.006396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.022727 | 0.034091 | 0.698864 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
ecd52cb321e16956d1fe7ad9ce49740312ce8138 | 9,694 | py | Python | delf/delf/protos/delf_config_pb2.py | GAIA-DARPA-AIDA/face-building | d1c574ceb6f48eb989ea077bec4b23267398f383 | [
"Apache-2.0"
] | 1 | 2020-06-05T10:19:19.000Z | 2020-06-05T10:19:19.000Z | delf/delf/protos/delf_config_pb2.py | GAIA-DARPA-AIDA/face-building | d1c574ceb6f48eb989ea077bec4b23267398f383 | [
"Apache-2.0"
] | 1 | 2020-05-10T00:51:20.000Z | 2020-07-03T02:36:06.000Z | delf/delf/protos/delf_config_pb2.py | GAIA-DARPA-AIDA/face-building | d1c574ceb6f48eb989ea077bec4b23267398f383 | [
"Apache-2.0"
] | 4 | 2020-06-24T19:30:32.000Z | 2020-11-24T05:34:21.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: delf/protos/delf_config.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import refl... | 42.704846 | 956 | 0.753868 | 1,250 | 9,694 | 5.564 | 0.1456 | 0.051761 | 0.036233 | 0.043997 | 0.651474 | 0.567937 | 0.504673 | 0.504673 | 0.499353 | 0.499353 | 0 | 0.041001 | 0.121931 | 9,694 | 226 | 957 | 42.893805 | 0.776081 | 0.038065 | 0 | 0.613065 | 1 | 0.005025 | 0.232478 | 0.194698 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025126 | 0 | 0.025126 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ece0f3a264c94a9b4f9849ea0c0040a90c3ecb9d | 560 | py | Python | setup.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | setup.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | setup.py | muellren/SparseChem | 3cf197aea626400fe64b1b5c49b8d40919c50c9c | [
"MIT"
] | null | null | null | # Copyright (c) 2020 KU Leuven
import setuptools
exec(open("sparsechem/version.py").read())
setuptools.setup(
name="sparsechem",
version=__version__,
author="Jaak Simm",
author_email="jaak.simm@gmail.com",
description="SparseChem package",
long_description="Fast and accurate machine learning m... | 29.473684 | 100 | 0.703571 | 66 | 560 | 5.80303 | 0.772727 | 0.088773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014737 | 0.151786 | 560 | 18 | 101 | 31.111111 | 0.791579 | 0.05 | 0 | 0 | 0 | 0 | 0.387524 | 0.039698 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ece30bf54181c35c486e3ff5e550404c2e766ef1 | 6,208 | py | Python | cli.py | FayStatha/distributedSystems-Project-2021 | c660432cfc99999d2f63cbc06d521de5389b5e95 | [
"MIT"
] | 1 | 2022-03-06T15:54:09.000Z | 2022-03-06T15:54:09.000Z | cli.py | FayStatha/distributedSystems-Project-2021 | c660432cfc99999d2f63cbc06d521de5389b5e95 | [
"MIT"
] | null | null | null | cli.py | FayStatha/distributedSystems-Project-2021 | c660432cfc99999d2f63cbc06d521de5389b5e95 | [
"MIT"
] | null | null | null | import requests, random, sys, click, time
import common_functions
from threading import Thread
boot_ip='127.0.0.1:5000'
@click.group()
def main():
"""A CLI for Chord users!"""
pass
@main.command()
@click.option('--key', required = True, help = "The name of the song to insert")
@click.option('--value', requir... | 28.090498 | 153 | 0.585213 | 795 | 6,208 | 4.450314 | 0.16478 | 0.040701 | 0.036179 | 0.03957 | 0.716224 | 0.665348 | 0.624364 | 0.590447 | 0.548332 | 0.443471 | 0 | 0.008934 | 0.260793 | 6,208 | 220 | 154 | 28.218182 | 0.76204 | 0.060084 | 0 | 0.720497 | 0 | 0.006211 | 0.144289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055901 | false | 0.043478 | 0.018634 | 0 | 0.074534 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ece39dec1db8cb55bf972c4f0a5bbdd1c5d7e3fb | 239 | py | Python | app_config.py | robinske/twilio-sms-boilerplate | a54f077930a8085cec3c30602b0db9d45f9730ac | [
"MIT"
] | null | null | null | app_config.py | robinske/twilio-sms-boilerplate | a54f077930a8085cec3c30602b0db9d45f9730ac | [
"MIT"
] | null | null | null | app_config.py | robinske/twilio-sms-boilerplate | a54f077930a8085cec3c30602b0db9d45f9730ac | [
"MIT"
] | null | null | null | import os
from twilio.rest import Client
from authy.api import AuthyApiClient
client = Client(
os.environ["TWILIO_ACCOUNT_SID"],
os.environ["TWILIO_AUTH_TOKEN"]
)
authy_api = AuthyApiClient(os.environ["PUSH_DEMO_AUTHY_API_KEY"])
| 21.727273 | 65 | 0.778243 | 34 | 239 | 5.205882 | 0.5 | 0.135593 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121339 | 239 | 10 | 66 | 23.9 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0.242678 | 0.096234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
ece4e9aefa7b735b8566d28d44147d32245bac04 | 1,368 | py | Python | docs/conf.py | yurenchen000/sanic-cookiesession | 3cc1535288a7be0c2056bdc95575c9e3dbc2f42e | [
"BSD-3-Clause"
] | 9 | 2017-05-17T05:50:55.000Z | 2022-01-26T16:47:18.000Z | docs/conf.py | yurenchen000/sanic-cookiesession | 3cc1535288a7be0c2056bdc95575c9e3dbc2f42e | [
"BSD-3-Clause"
] | 7 | 2017-05-08T20:54:31.000Z | 2022-03-29T02:54:10.000Z | docs/conf.py | yurenchen000/sanic-cookiesession | 3cc1535288a7be0c2056bdc95575c9e3dbc2f42e | [
"BSD-3-Clause"
] | 6 | 2017-05-08T05:37:15.000Z | 2022-03-24T10:59:17.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Sanic-CookieSession documentation build configuration file, created by
import os
import sys
PROJECT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
sys.path.insert(0, PROJECT_DIR)
import sanic_cookiesession # noqa
extensions = [
'sphinx.ext... | 22.064516 | 80 | 0.709795 | 155 | 1,368 | 6.051613 | 0.567742 | 0.230277 | 0.132196 | 0.086354 | 0.184435 | 0.136461 | 0.136461 | 0.136461 | 0 | 0 | 0 | 0.008576 | 0.147661 | 1,368 | 61 | 81 | 22.42623 | 0.795883 | 0.086988 | 0 | 0 | 0 | 0 | 0.389068 | 0.036174 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ece8dc71ebba0f5103d9530b74089c67a8872158 | 224 | py | Python | factories/Thanos.py | maicmiller/Marvel-API | a4903959b9fa4ad401dd79b42f368b8af2b0979d | [
"MIT"
] | null | null | null | factories/Thanos.py | maicmiller/Marvel-API | a4903959b9fa4ad401dd79b42f368b8af2b0979d | [
"MIT"
] | null | null | null | factories/Thanos.py | maicmiller/Marvel-API | a4903959b9fa4ad401dd79b42f368b8af2b0979d | [
"MIT"
] | null | null | null | from faker import Faker
faker = Faker()
def factory_thanos():
return {
"name": faker.name(),
"aliases": "MM",
"age": 3000,
"team": "Ordem QA --- > Ninja",
"active": True
}
| 16 | 40 | 0.482143 | 23 | 224 | 4.652174 | 0.782609 | 0.186916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.348214 | 224 | 13 | 41 | 17.230769 | 0.705479 | 0 | 0 | 0 | 0 | 0 | 0.209821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0.1 | 0.3 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecedfa14ba828e869b20ef9cfedbdfe3bbe6c30f | 3,548 | py | Python | plugin.video.moviereleases/resources/libs/localdb.py | keddyboys/keddy-repo | 5c3420828e19f97222714e0e8518a95d58b3f637 | [
"MIT"
] | 1 | 2019-09-08T05:39:36.000Z | 2019-09-08T05:39:36.000Z | plugin.video.moviereleases/resources/libs/localdb.py | keddyboys/keddy-repo | 5c3420828e19f97222714e0e8518a95d58b3f637 | [
"MIT"
] | 1 | 2017-12-03T09:17:31.000Z | 2019-01-13T08:48:40.000Z | plugin.video.moviereleases/resources/libs/localdb.py | keddyboys/keddy-repo | 5c3420828e19f97222714e0e8518a95d58b3f637 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
# by Mafarricos
# email: MafaStudios@gmail.com
# This program is free software: GNU General Public License
import xbmcaddon,xbmc,os
import basic
try: from sqlite3 import dbapi2 as database
except: from pysqlite2 import dbapi2 as database
dataPath = xbmc.translatePath(xbmcaddon.Addo... | 39.422222 | 202 | 0.65248 | 456 | 3,548 | 5.037281 | 0.230263 | 0.067915 | 0.048759 | 0.070091 | 0.639965 | 0.60209 | 0.451023 | 0.426643 | 0.405311 | 0.299956 | 0 | 0.004923 | 0.198422 | 3,548 | 89 | 203 | 39.865169 | 0.802391 | 0.034386 | 0 | 0.434211 | 0 | 0 | 0.251276 | 0.006304 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.013158 | 0.052632 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
ecf28639d63c51dac448ab2e9ebe1d52a9732a59 | 10,437 | py | Python | tpdatasrc/tpgamefiles/scr/tpModifiers/swashbuckler.py | Psionics-ToEE/TemplePlus | bb68d78dd7ffda773a11a73e37b2b45a2c51f562 | [
"MIT"
] | 69 | 2015-05-05T14:09:25.000Z | 2022-02-15T06:13:04.000Z | tpdatasrc/tpgamefiles/scr/tpModifiers/swashbuckler.py | anatoliy-savchak/TemplePlus | 50922bb14cc2d7dcf8fceeccf45c3b905c1b512f | [
"MIT"
] | 457 | 2015-05-01T22:07:45.000Z | 2022-03-31T02:19:10.000Z | tpdatasrc/tpgamefiles/scr/tpModifiers/swashbuckler.py | anatoliy-savchak/TemplePlus | 50922bb14cc2d7dcf8fceeccf45c3b905c1b512f | [
"MIT"
] | 25 | 2016-02-04T21:19:53.000Z | 2021-11-15T23:14:51.000Z | from templeplus.pymod import PythonModifier
from toee import *
import tpdp
import char_class_utils
import tpactions
###################################################
def GetConditionName():
return "Swashbuckler"
print "Registering " + GetConditionName()
classEnum = stat_level_swashbuckler
classSpecModule = __imp... | 35.743151 | 135 | 0.798122 | 1,255 | 10,437 | 6.431873 | 0.210359 | 0.026016 | 0.027874 | 0.033449 | 0.341303 | 0.293484 | 0.244054 | 0.212339 | 0.212339 | 0.212339 | 0 | 0.01566 | 0.112868 | 10,437 | 291 | 136 | 35.865979 | 0.85614 | 0.127815 | 0 | 0.336842 | 0 | 0 | 0.10611 | 0.002346 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031579 | null | null | 0.005263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
019fb6666fcc64be19f0976afd2318de76e10091 | 236 | py | Python | Oauth/model/mongodb/user.py | 837477/Oauth | 8d01a84d71563d9d510950cdb77ae67de0da2a40 | [
"MIT"
] | 2 | 2022-01-09T09:26:50.000Z | 2022-01-16T15:56:10.000Z | Oauth/model/mongodb/user.py | 837477/Oauth | 8d01a84d71563d9d510950cdb77ae67de0da2a40 | [
"MIT"
] | null | null | null | Oauth/model/mongodb/user.py | 837477/Oauth | 8d01a84d71563d9d510950cdb77ae67de0da2a40 | [
"MIT"
] | 1 | 2022-03-02T05:30:13.000Z | 2022-03-02T05:30:13.000Z | from model.mongodb import Model
class User(Model):
def upsert_user(self, document):
self.col.update_one(
{'id': document['id']},
{'$set': self.schemize(document)},
upsert=True
)
| 21.454545 | 46 | 0.54661 | 26 | 236 | 4.884615 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.313559 | 236 | 10 | 47 | 23.6 | 0.783951 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01a26fbf32707e199f60ffcb589dfd7b5a3bb09b | 2,138 | py | Python | venv/Lib/site-packages/pyside2uic/Compiler/proxy_type.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pyside2uic/Compiler/proxy_type.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pyside2uic/Compiler/proxy_type.py | TEDxVienna/continuum | 85cefbc274fc59e2059c313bc0d3b9b93a34ba6d | [
"MIT"
] | null | null | null | # This file is part of the PySide project.
#
# Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies).
# Copyright (C) 2010 Riverbank Computing Limited.
# Copyright (C) 2009 Torsten Marek
#
# Contact: PySide team <pyside@openbossa.org>
#
# This program is free software; you can redistribute it and/or
# m... | 35.633333 | 89 | 0.64406 | 264 | 2,138 | 4.981061 | 0.511364 | 0.068441 | 0.072243 | 0.043346 | 0.158175 | 0.138403 | 0.095817 | 0.095817 | 0.095817 | 0.095817 | 0 | 0.021642 | 0.265201 | 2,138 | 59 | 90 | 36.237288 | 0.815404 | 0.433583 | 0 | 0 | 0 | 0 | 0.042965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192308 | false | 0 | 0.076923 | 0.115385 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
01a94c18c64aa2c7acb87d86ecd684a94298a25e | 26,887 | py | Python | service/service_main.py | NEU-CSYE6225-SEC03/webservice | 416cff5e3c8c88ce59333393a933ea88b3b8e2c0 | [
"MIT"
] | null | null | null | service/service_main.py | NEU-CSYE6225-SEC03/webservice | 416cff5e3c8c88ce59333393a933ea88b3b8e2c0 | [
"MIT"
] | null | null | null | service/service_main.py | NEU-CSYE6225-SEC03/webservice | 416cff5e3c8c88ce59333393a933ea88b3b8e2c0 | [
"MIT"
] | 1 | 2022-03-09T23:46:32.000Z | 2022-03-09T23:46:32.000Z | import os
import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # Add path of cwd to sys
import json
import asyncio
from io import BytesIO
import time
import statsd
import tornado.web
import tornado.ioloop
import tornado.httpserver
import tornado.gen
import boto3
from tool.Config... | 44.077049 | 171 | 0.57154 | 2,907 | 26,887 | 5.140695 | 0.109391 | 0.03212 | 0.054604 | 0.061831 | 0.701619 | 0.660666 | 0.630755 | 0.620584 | 0.597698 | 0.568456 | 0 | 0.021622 | 0.317105 | 26,887 | 609 | 172 | 44.149425 | 0.792277 | 0.060661 | 0 | 0.638655 | 0 | 0.002101 | 0.152383 | 0.003302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027311 | false | 0.056723 | 0.044118 | 0.002101 | 0.140756 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
01af9a70369f245d5d6c9b454fcc12decf4cc1b8 | 2,929 | py | Python | plugins/modules/vpc_info.py | OpenTelekomCloud/ansible_collections | 797c322d69a5403f9e1d041bab5e8effed045633 | [
"Apache-2.0"
] | null | null | null | plugins/modules/vpc_info.py | OpenTelekomCloud/ansible_collections | 797c322d69a5403f9e1d041bab5e8effed045633 | [
"Apache-2.0"
] | 10 | 2020-02-26T15:12:58.000Z | 2020-06-22T23:10:00.000Z | plugins/modules/vpc_info.py | OpenTelekomCloud/ansible_collections | 797c322d69a5403f9e1d041bab5e8effed045633 | [
"Apache-2.0"
] | 1 | 2020-06-22T12:35:12.000Z | 2020-06-22T12:35:12.000Z | #!/usr/bin/python
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# di... | 26.387387 | 110 | 0.660635 | 373 | 2,929 | 5.088472 | 0.458445 | 0.031612 | 0.02529 | 0.027397 | 0.125395 | 0.055848 | 0.037935 | 0.037935 | 0.037935 | 0.037935 | 0 | 0.015938 | 0.250256 | 2,929 | 110 | 111 | 26.627273 | 0.848361 | 0.18368 | 0 | 0.214286 | 0 | 0 | 0.630937 | 0.063052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.011905 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01b964b9c84406c4a9d3342d199e4e496e6f9743 | 892 | py | Python | queryset_client/tests/base/tests/utils.py | pulina/tastypie-queryset-client | 1d65ee387e256b78c44fd8be57fa64ca798ae2da | [
"MIT"
] | null | null | null | queryset_client/tests/base/tests/utils.py | pulina/tastypie-queryset-client | 1d65ee387e256b78c44fd8be57fa64ca798ae2da | [
"MIT"
] | 1 | 2016-12-22T10:55:44.000Z | 2016-12-22T10:55:44.000Z | queryset_client/tests/base/tests/utils.py | pulina/tastypie-queryset-client | 1d65ee387e256b78c44fd8be57fa64ca798ae2da | [
"MIT"
] | 5 | 2015-04-27T11:50:28.000Z | 2019-01-10T06:39:57.000Z | import string
import random
def id_generator(size=6, chars=string.ascii_uppercase + string.digits):
return ''.join(random.choice(chars) for x in range(size))
class FixtureMixin(object):
def setUp(self):
super(FixtureMixin, self).setUp()
for i in xrange(0, 12):
message = self.cli... | 29.733333 | 71 | 0.61435 | 101 | 892 | 5.227723 | 0.366337 | 0.25 | 0.128788 | 0.136364 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006319 | 0.290359 | 892 | 30 | 72 | 29.733333 | 0.827804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0.045455 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01bd75b1ef58d1db324cdc7d261bd2d2d3ea7b2e | 3,203 | py | Python | fastestimator/op/tensorop/gradient/fgsm.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | fastestimator/op/tensorop/gradient/fgsm.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | fastestimator/op/tensorop/gradient/fgsm.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 The FastEstimator Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 46.42029 | 120 | 0.667187 | 439 | 3,203 | 4.774487 | 0.382688 | 0.056775 | 0.057252 | 0.015267 | 0.053435 | 0.053435 | 0.053435 | 0.030534 | 0 | 0 | 0 | 0.007749 | 0.234468 | 3,203 | 68 | 121 | 47.102941 | 0.847064 | 0.476428 | 0 | 0 | 0 | 0 | 0.006215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.30303 | 0 | 0.424242 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
01c3ee6ae15619a5dbc2835a404080eb8de5939c | 3,290 | py | Python | frozen/wifi.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | frozen/wifi.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | frozen/wifi.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | #
# Wrapper of convenience functions for the WiFi control
# of an ESP8266 device
#
# Author: J.G. Wezensky
import network
def connect(ssid, password="", silent=True):
ap = network.WLAN(network.AP_IF)
ap.active(False)
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
if not wlan.isconnect... | 25.114504 | 72 | 0.601824 | 426 | 3,290 | 4.617371 | 0.258216 | 0.095069 | 0.100661 | 0.074733 | 0.450941 | 0.357905 | 0.296899 | 0.279105 | 0.262837 | 0.262837 | 0 | 0.010101 | 0.24772 | 3,290 | 131 | 73 | 25.114504 | 0.784646 | 0.029483 | 0 | 0.423077 | 0 | 0 | 0.223024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.115385 | 0.038462 | 0.009615 | 0.173077 | 0.163462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
01cdd5b87dafedbcfae7958fff1844a54b174d05 | 3,210 | py | Python | simphony/tests/test_models.py | SkandanC/simphony | ea9e88121a1fc0d00564db31743793a1aebb8ba3 | [
"MIT"
] | 41 | 2019-08-28T21:46:12.000Z | 2022-03-27T12:36:04.000Z | simphony/tests/test_models.py | SkandanC/simphony | ea9e88121a1fc0d00564db31743793a1aebb8ba3 | [
"MIT"
] | 29 | 2019-09-18T21:51:17.000Z | 2022-03-10T14:21:31.000Z | simphony/tests/test_models.py | SkandanC/simphony | ea9e88121a1fc0d00564db31743793a1aebb8ba3 | [
"MIT"
] | 23 | 2019-08-28T21:46:31.000Z | 2022-03-10T14:32:59.000Z | # Copyright © Simphony Project Contributors
# Licensed under the terms of the MIT License
# (see simphony/__init__.py for details)
import pytest
from simphony.libraries import siepic
from simphony.models import Model, Subcircuit
@pytest.fixture
def wg1():
return siepic.Waveguide(150e-6)
@pytest.fixture
def wg... | 25.68 | 62 | 0.61433 | 385 | 3,210 | 4.992208 | 0.21039 | 0.043704 | 0.040583 | 0.049428 | 0.344953 | 0.295005 | 0.251821 | 0.217482 | 0.180021 | 0.180021 | 0 | 0.060414 | 0.262617 | 3,210 | 124 | 63 | 25.887097 | 0.751162 | 0.038629 | 0 | 0.3125 | 0 | 0 | 0.024659 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.2125 | false | 0 | 0.0375 | 0.0625 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01d2ed375623f9fa777cb2435446791987465426 | 3,270 | py | Python | examples/demo_cifar.py | rohanraja/cgt_distributed | 3d8ee39460eadc96739d55eb46eed92f12ea1e22 | [
"MIT"
] | 698 | 2015-08-25T08:17:42.000Z | 2022-02-08T10:08:01.000Z | examples/demo_cifar.py | xiaohu2015/cgt | 90b15ab041fc2137e62b96e8612ccee605f71ceb | [
"MIT"
] | 59 | 2015-08-25T17:45:24.000Z | 2021-11-14T16:58:52.000Z | examples/demo_cifar.py | xiaohu2015/cgt | 90b15ab041fc2137e62b96e8612ccee605f71ceb | [
"MIT"
] | 111 | 2015-08-25T20:35:17.000Z | 2021-09-18T03:35:28.000Z |
from example_utils import fmt_row, fetch_dataset
import cPickle, numpy as np
import cgt
from cgt import nn
import argparse, time
def rmsprop_updates(cost, params, stepsize=0.001, rho=0.9, epsilon=1e-6):
grads = cgt.grad(cost, params)
updates = []
for p, g in zip(params, grads):
acc = cgt.shared(p.... | 36.333333 | 93 | 0.638226 | 453 | 3,270 | 4.498896 | 0.368653 | 0.005888 | 0.033366 | 0.023553 | 0.155545 | 0.131992 | 0.069676 | 0.069676 | 0.069676 | 0.069676 | 0 | 0.042324 | 0.205199 | 3,270 | 90 | 94 | 36.333333 | 0.741824 | 0.070336 | 0 | 0 | 0 | 0 | 0.062603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.074627 | null | null | 0.044776 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01db03173c228641048aa157e30bc37184780406 | 463 | py | Python | prueba.py | ZibraMax/NSR10-design | e050a619ad3099b2a8da21d1703f03f48af12bc9 | [
"MIT"
] | null | null | null | prueba.py | ZibraMax/NSR10-design | e050a619ad3099b2a8da21d1703f03f48af12bc9 | [
"MIT"
] | null | null | null | prueba.py | ZibraMax/NSR10-design | e050a619ad3099b2a8da21d1703f03f48af12bc9 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import ReinforcedPy as rp
import matplotlib.patches as mpatches
concreto28 = rp.Concreto()
acero420 = rp.AceroRefuerzo()
viga=rp.Elemento(0.3,0.6,[concreto28,acero420],6)
viga.generarDesdeCarga(50)
viga._test_secciones()
print(viga.secciones[0].momentoNominal())
pr... | 24.368421 | 49 | 0.788337 | 61 | 463 | 5.95082 | 0.47541 | 0.143251 | 0.14876 | 0.176309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.077754 | 463 | 18 | 50 | 25.722222 | 0.800937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.214286 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01e69ca6c052270350cafbdc4d2f2dce7bd7f221 | 744 | py | Python | seiji/LED_test.py | joaogonks/oneline | 040e035f659aa95bbb66e744b8b06df6473f2bb2 | [
"MIT"
] | null | null | null | seiji/LED_test.py | joaogonks/oneline | 040e035f659aa95bbb66e744b8b06df6473f2bb2 | [
"MIT"
] | null | null | null | seiji/LED_test.py | joaogonks/oneline | 040e035f659aa95bbb66e744b8b06df6473f2bb2 | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
try:
# GPIO.setmode(GPIO.BOARD)
# ButtonPin = 7
# LedPin = 8
GPIO.setmode(GPIO.BCM)
ButtonPin = 4
LedPin = 14
GPIO.setup(ButtonPin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(LedPin, GPIO.OUT)
for i in range(0,4):
state = GPIO.input(ButtonPin)
print(state)
if... | 19.578947 | 59 | 0.69086 | 117 | 744 | 4.367521 | 0.418803 | 0.117417 | 0.156556 | 0.195695 | 0.27593 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.162634 | 744 | 38 | 60 | 19.578947 | 0.797753 | 0.223118 | 0 | 0.083333 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.208333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01f044bcfecd2202328c42c1bede94ec0ba076ac | 467 | py | Python | locations/migrations/0004_auto_20170919_1350.py | guilatrova/django-fusion-table | a35672ef7ea22d02dea3cacf37c676802b611ff9 | [
"MIT"
] | null | null | null | locations/migrations/0004_auto_20170919_1350.py | guilatrova/django-fusion-table | a35672ef7ea22d02dea3cacf37c676802b611ff9 | [
"MIT"
] | null | null | null | locations/migrations/0004_auto_20170919_1350.py | guilatrova/django-fusion-table | a35672ef7ea22d02dea3cacf37c676802b611ff9 | [
"MIT"
] | 2 | 2017-11-07T18:17:59.000Z | 2018-09-20T13:14:00.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-09-19 16:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('locations', '0003_auto_20170919_0747'),
]
operations = [
migrations.AlterField... | 22.238095 | 64 | 0.625268 | 51 | 467 | 5.529412 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 0.259101 | 467 | 20 | 65 | 23.35 | 0.716763 | 0.139186 | 0 | 0 | 1 | 0 | 0.117794 | 0.057644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01f1bdfa89476d6e27eca17cbb584bc2f8fa7269 | 6,783 | py | Python | ontquery/utils.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 1 | 2021-11-28T23:51:22.000Z | 2021-11-28T23:51:22.000Z | ontquery/utils.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 25 | 2018-03-22T00:39:06.000Z | 2021-08-05T20:35:32.000Z | ontquery/utils.py | tmsincomb/ontquery | aff90a66437559ddc7a0dd8ed8d42c13d535361f | [
"MIT"
] | 1 | 2018-11-08T23:16:55.000Z | 2018-11-08T23:16:55.000Z | import logging
from functools import wraps
red = '\x1b[31m{}\x1b[0m'
def makeSimpleLogger(name, level=logging.INFO):
logger = logging.getLogger(name)
logger.setLevel(level)
ch = logging.StreamHandler() # FileHander goes to disk
fmt = ('[%(asctime)s] - %(levelname)8s - '
'%(name)14s - '
... | 29.881057 | 153 | 0.553442 | 817 | 6,783 | 4.432069 | 0.310894 | 0.022093 | 0.014361 | 0.018779 | 0.077051 | 0.043911 | 0.037835 | 0.022922 | 0.022922 | 0 | 0 | 0.002519 | 0.356332 | 6,783 | 226 | 154 | 30.013274 | 0.826844 | 0.160254 | 0 | 0.068323 | 0 | 0 | 0.048058 | 0.017379 | 0 | 0 | 0 | 0.004425 | 0 | 1 | 0.204969 | false | 0 | 0.012422 | 0.062112 | 0.378882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01f7b463d3e5bd2fdd1a57a4c4c96e8c09eb3fb7 | 7,009 | py | Python | UMLRT2Kiltera_MM/Properties/Multiplicity/models/ProcDef1ProcPart1_Complete_MDL.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 3 | 2017-06-02T19:26:27.000Z | 2021-06-14T04:25:45.000Z | UMLRT2Kiltera_MM/Properties/Multiplicity/models/ProcDef1ProcPart1_Complete_MDL.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 8 | 2016-08-24T07:04:07.000Z | 2017-05-26T16:22:47.000Z | UMLRT2Kiltera_MM/Properties/Multiplicity/models/ProcDef1ProcPart1_Complete_MDL.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 1 | 2019-10-31T06:00:23.000Z | 2019-10-31T06:00:23.000Z | """
__ProcDef1ProcPart1_Complete_MDL.py_____________________________________________________
Automatically generated AToM3 Model File (Do not modify directly)
Author: gehan
Modified: Wed Mar 4 23:16:41 2015
________________________________________________________________________________________
"""
from stickylink im... | 47.680272 | 628 | 0.67927 | 830 | 7,009 | 5.373494 | 0.212048 | 0.028027 | 0.040807 | 0.043946 | 0.470852 | 0.357848 | 0.341256 | 0.341256 | 0.341256 | 0.317489 | 0 | 0.044754 | 0.148809 | 7,009 | 146 | 629 | 48.006849 | 0.702816 | 0.12698 | 0 | 0.137931 | 1 | 0.045977 | 0.223883 | 0.080979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.252874 | 0 | 0.264368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
01fce6c5ea3a734424c091c6e72a54b71856907a | 1,906 | py | Python | var/spack/repos/builtin/packages/pinentry/package.py | HigherOrderMethods/spack | 87ed3fcc59fc25ce250042338d082925e3a3610b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-11-26T12:31:07.000Z | 2020-11-26T12:31:07.000Z | var/spack/repos/builtin/packages/pinentry/package.py | HigherOrderMethods/spack | 87ed3fcc59fc25ce250042338d082925e3a3610b | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 15 | 2021-04-14T12:34:46.000Z | 2022-03-02T19:08:00.000Z | var/spack/repos/builtin/packages/pinentry/package.py | Kerilk/spack | e027942b55407a4a5fe323b93d8e57200c873a43 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class Pinentry(AutotoolsPackage):
"""pinentry is a small collection of dialog programs that allow GnuPG to
read p... | 35.962264 | 95 | 0.629066 | 200 | 1,906 | 5.975 | 0.625 | 0.100418 | 0.021757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077352 | 0.247114 | 1,906 | 52 | 96 | 36.653846 | 0.755401 | 0.305876 | 0 | 0 | 0 | 0.037037 | 0.513932 | 0.332043 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.037037 | false | 0 | 0 | 0.037037 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.