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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4edefa5ab3c106b9a9b387dfddb42bf2555bd347 | 1,181 | py | Python | binary_search_tree/start.py | egorova-ai19-2/programming-2021-19fpl | 31bc6451c3858cbafab0a06cd673094319a55dba | [
"MIT"
] | null | null | null | binary_search_tree/start.py | egorova-ai19-2/programming-2021-19fpl | 31bc6451c3858cbafab0a06cd673094319a55dba | [
"MIT"
] | null | null | null | binary_search_tree/start.py | egorova-ai19-2/programming-2021-19fpl | 31bc6451c3858cbafab0a06cd673094319a55dba | [
"MIT"
] | null | null | null | """
Binary Search Tree implementation starter
"""
from binary_search_tree.binary_search_tree import BinarySearchTree
if __name__ == '__main__':
elements = [10, 8, 12, 6, 7, 14, 9]
tree = BinarySearchTree()
print('1. Let us add the elements [10, 8, 12, 6, 7, 14, 9] to the tree.\n')
for element in el... | 29.525 | 93 | 0.656224 | 187 | 1,181 | 4.048128 | 0.342246 | 0.126816 | 0.169089 | 0.100396 | 0.155878 | 0.124174 | 0.047556 | 0.047556 | 0 | 0 | 0 | 0.031729 | 0.22608 | 1,181 | 39 | 94 | 30.282051 | 0.796499 | 0.034716 | 0 | 0.125 | 0 | 0.083333 | 0.525618 | 0.04682 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.5 | 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 |
4edf1728dd18da8e98c2c6d8e55cd8d63496e379 | 4,759 | py | Python | servidor_cliente/vax_control/models.py | PedroLucasMiguel/trabalho-engenharia-de-software | e95527f085005c3b717bdc0923f5d14acd65a6f4 | [
"MIT"
] | null | null | null | servidor_cliente/vax_control/models.py | PedroLucasMiguel/trabalho-engenharia-de-software | e95527f085005c3b717bdc0923f5d14acd65a6f4 | [
"MIT"
] | null | null | null | servidor_cliente/vax_control/models.py | PedroLucasMiguel/trabalho-engenharia-de-software | e95527f085005c3b717bdc0923f5d14acd65a6f4 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin
from django.utils import timezone
import random
import string
from .exceptions import InvalidFullNameException, InvalidCPFException, EmergencyMeetingException
def generate_random_code(length):
r... | 33.514085 | 114 | 0.6888 | 594 | 4,759 | 5.282828 | 0.257576 | 0.028681 | 0.03123 | 0.053537 | 0.303697 | 0.157744 | 0.104844 | 0.069471 | 0.069471 | 0.057999 | 0 | 0.00615 | 0.214121 | 4,759 | 141 | 115 | 33.751773 | 0.832888 | 0.023114 | 0 | 0.127451 | 0 | 0.009804 | 0.057063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098039 | false | 0.039216 | 0.058824 | 0.039216 | 0.539216 | 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 |
4edf6304a4e2df7fe044beef6fea7d5bd6125332 | 746 | py | Python | src/python/director/builtin/plugins/camera_bookmarks/plugin.py | afdaniele/director | 845ba027f9009803fcf77f44874f2ab9d7ab72e3 | [
"BSD-3-Clause"
] | null | null | null | src/python/director/builtin/plugins/camera_bookmarks/plugin.py | afdaniele/director | 845ba027f9009803fcf77f44874f2ab9d7ab72e3 | [
"BSD-3-Clause"
] | null | null | null | src/python/director/builtin/plugins/camera_bookmarks/plugin.py | afdaniele/director | 845ba027f9009803fcf77f44874f2ab9d7ab72e3 | [
"BSD-3-Clause"
] | null | null | null | from director.devel.plugin import GenericPlugin
from director.fieldcontainer import FieldContainer
from .lib import camerabookmarks
from PythonQt import QtCore
class Plugin(GenericPlugin):
ID = 'camera_bookmarks'
NAME = 'CameraBookmarks'
DEPENDENCIES = ['MainWindow']
def __init__(self, app, view):
supe... | 25.724138 | 74 | 0.74933 | 66 | 746 | 8.333333 | 0.530303 | 0.043636 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171582 | 746 | 28 | 75 | 26.642857 | 0.889968 | 0.004021 | 0 | 0 | 0 | 0 | 0.055331 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.190476 | 0 | 0.52381 | 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 |
4ee9760c469db4294a3b6be25863308b4e55f34a | 8,985 | py | Python | kla.py | egrinberg/KiuwanDeliveryAction | 41db68d88007c68ab2f1bbf42c70ec0dc13aaf73 | [
"MIT"
] | 1 | 2020-06-06T14:36:51.000Z | 2020-06-06T14:36:51.000Z | kla.py | egrinberg/KiuwanDeliveryAction | 41db68d88007c68ab2f1bbf42c70ec0dc13aaf73 | [
"MIT"
] | 1 | 2020-10-09T14:03:00.000Z | 2020-10-09T17:30:21.000Z | kla.py | egrinberg/KiuwanDeliveryAction | 41db68d88007c68ab2f1bbf42c70ec0dc13aaf73 | [
"MIT"
] | 2 | 2020-02-20T01:50:25.000Z | 2020-10-09T17:31:34.000Z | import zipfile
import subprocess
import requests
import urllib
import io
import json
import base64
import os
import sys
import stat
from pathlib import Path
# print environment, the results should be there
# print("--------------------- ENVIRONMENT ------------------------")
# print (os.environ)
# print("-------------... | 40.29148 | 226 | 0.697162 | 1,165 | 8,985 | 5.24721 | 0.28412 | 0.040569 | 0.064126 | 0.082447 | 0.305742 | 0.230656 | 0.120236 | 0.104368 | 0.094553 | 0.077213 | 0 | 0.008271 | 0.165721 | 8,985 | 222 | 227 | 40.472973 | 0.807231 | 0.146912 | 0 | 0.129412 | 0 | 0.005882 | 0.32443 | 0.062975 | 0 | 0 | 0 | 0.004505 | 0 | 1 | 0.035294 | false | 0.052941 | 0.064706 | 0.005882 | 0.135294 | 0.258824 | 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 |
4ef1b9f93148d74ecd043c61c27a1fbd75194e88 | 3,550 | py | Python | utils/deodex.py | eugenesan/android-vendor-aospplus | 268188ad5414afe80f06decdc96ff144b5508522 | [
"Apache-2.0"
] | null | null | null | utils/deodex.py | eugenesan/android-vendor-aospplus | 268188ad5414afe80f06decdc96ff144b5508522 | [
"Apache-2.0"
] | null | null | null | utils/deodex.py | eugenesan/android-vendor-aospplus | 268188ad5414afe80f06decdc96ff144b5508522 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2.7
import os
import re
import sys
import shutil
import fnmatch
import argparse
import tempfile
import subprocess
CWD = os.path.dirname(os.path.realpath(__file__))
SMALI_DEFAULT = os.path.join(CWD, 'smali.jar')
BAKSMALI_DEFAULT = os.path.join(CWD, 'baksmali.jar')
ZIPALIGN_DEFAULT = os.path.join(CWD,... | 38.586957 | 196 | 0.673239 | 482 | 3,550 | 4.817427 | 0.257261 | 0.049096 | 0.034453 | 0.034453 | 0.259259 | 0.183032 | 0.096469 | 0.039621 | 0.039621 | 0 | 0 | 0.008078 | 0.163099 | 3,550 | 91 | 197 | 39.010989 | 0.773477 | 0.040845 | 0 | 0.042254 | 0 | 0 | 0.175294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.112676 | null | null | 0.028169 | 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 |
f601c8d620434432f4d5690bb2bed8781d06637a | 2,646 | py | Python | redis_bulk_cleaner/cli.py | bogdandm/redis-bulk-cleaner | 3d5dc61f8064eb320bc09e519b6d766fbd8e72e0 | [
"MIT"
] | 3 | 2020-10-05T17:30:21.000Z | 2022-03-25T14:47:54.000Z | redis_bulk_cleaner/cli.py | bogdandm/redis_bulk_cleaner | 3d5dc61f8064eb320bc09e519b6d766fbd8e72e0 | [
"MIT"
] | null | null | null | redis_bulk_cleaner/cli.py | bogdandm/redis_bulk_cleaner | 3d5dc61f8064eb320bc09e519b6d766fbd8e72e0 | [
"MIT"
] | null | null | null | import sys
from datetime import timedelta
import click
import redis
from redis_bulk_cleaner.redis_bulk_cleaner import Cleaner
@click.command()
@click.argument('patterns', nargs=-1)
@click.option('--dry-run', '-D', is_flag=True, help='Do not delete keys just print them')
@click.option('--restart', '-R', is_flag=True... | 49.924528 | 145 | 0.647392 | 356 | 2,646 | 4.688202 | 0.404494 | 0.065908 | 0.053925 | 0.059916 | 0.118634 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00715 | 0.207105 | 2,646 | 52 | 146 | 50.884615 | 0.78837 | 0.006047 | 0 | 0.045455 | 0 | 0 | 0.294745 | 0.009139 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.022727 | false | 0.068182 | 0.113636 | 0 | 0.181818 | 0.022727 | 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 |
f6058d431b8490248b8982dc0207749946414989 | 231 | py | Python | Medium/unique_paths.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Medium/unique_paths.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | Medium/unique_paths.py | BrynjarGeir/LeetCode | dbd57e645c5398dec538b6466215b61491c8d1d9 | [
"MIT"
] | null | null | null | class Solution:
def uniquePaths(self, m: int, n: int) -> int:
ans = [1]*n
for i in range(1,m):
for j in range(1,n):
ans[j] = ans[j-1] + ans[j]
return ans[-1] if m and n else 0 | 33 | 49 | 0.467532 | 41 | 231 | 2.634146 | 0.487805 | 0.111111 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.385281 | 231 | 7 | 50 | 33 | 0.71831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f6164e6b12fb0dfe1ad0f165dff56b203f7e54e2 | 1,961 | py | Python | day001-014/day003/day-3-3-exercise.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | day001-014/day003/day-3-3-exercise.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | day001-014/day003/day-3-3-exercise.py | sysarghir/100-days-of-python | 8edc7ce102429333d4abd80ac3f4067e4028c66d | [
"MIT"
] | null | null | null | # ## Leap Year
# # 💪This is a Difficult Challenge 💪
# # Instructions
# Write a program that works out whether if a given year is a leap year. A normal year has 365 days, leap years have 366, with an extra day in February. The reason why we have leap years is really fascinating, this video does it more justice:
# ... | 31.629032 | 243 | 0.63743 | 327 | 1,961 | 3.862385 | 0.455657 | 0.069675 | 0.028504 | 0.026128 | 0.158353 | 0.1346 | 0.106097 | 0 | 0 | 0 | 0 | 0.07723 | 0.234064 | 1,961 | 61 | 244 | 32.147541 | 0.754993 | 0.796022 | 0 | 0.444444 | 0 | 0 | 0.291367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
f61784d7a6900f887498ba5c9e840b473431aecb | 746 | py | Python | app/models/social/wechat_want_buy.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 7 | 2018-01-29T02:46:31.000Z | 2018-03-25T11:15:10.000Z | app/models/social/wechat_want_buy.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 4 | 2021-06-08T19:38:03.000Z | 2022-03-11T23:18:46.000Z | app/models/social/wechat_want_buy.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 1 | 2021-06-12T14:14:35.000Z | 2021-06-12T14:14:35.000Z | import datetime
from app.models.base.base import BaseModel
from app import db
class WeChatWantBuyModel(db.Model, BaseModel):
__bind_key__ = "a_social"
__tablename__ = "wechat_want_buy"
id = db.Column(db.Integer, primary_key=True)
seller_id = db.Column(db.Integer, default=0)
buyer_id = db.Column(d... | 37.3 | 108 | 0.75067 | 107 | 746 | 4.981308 | 0.392523 | 0.090056 | 0.11257 | 0.12758 | 0.362101 | 0.281426 | 0.281426 | 0.180113 | 0.180113 | 0 | 0 | 0.00624 | 0.140751 | 746 | 19 | 109 | 39.263158 | 0.825273 | 0 | 0 | 0 | 0 | 0 | 0.030831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.2 | 0.066667 | 0.933333 | 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 |
f6256422444844afbfea77b60ab2f9efc21e6e50 | 9,749 | py | Python | rpc_mail/protomail/mail_pb2_grpc.py | ahmedkhalf/python-rpc-mail-client | 3d9eb315fcb31edf1cf987cd73366dbf051e131d | [
"MIT"
] | null | null | null | rpc_mail/protomail/mail_pb2_grpc.py | ahmedkhalf/python-rpc-mail-client | 3d9eb315fcb31edf1cf987cd73366dbf051e131d | [
"MIT"
] | null | null | null | rpc_mail/protomail/mail_pb2_grpc.py | ahmedkhalf/python-rpc-mail-client | 3d9eb315fcb31edf1cf987cd73366dbf051e131d | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import mail_pb2 as mail__pb2
class MailStub(object):
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
... | 42.021552 | 95 | 0.64304 | 849 | 9,749 | 7.13192 | 0.122497 | 0.043931 | 0.033691 | 0.054996 | 0.683732 | 0.632865 | 0.632865 | 0.554088 | 0.513955 | 0.495128 | 0 | 0.005406 | 0.279003 | 9,749 | 231 | 96 | 42.203463 | 0.856025 | 0.076213 | 0 | 0.5625 | 1 | 0 | 0.078888 | 0.0381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072917 | false | 0 | 0.010417 | 0.03125 | 0.130208 | 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 |
f627d5d9513d8f15a99289991c4d35dac3ac6982 | 229 | py | Python | electroncash/contrib/eth_abi/__init__.py | mainnet-pat/Electron-Cash | 2057a0c3a482a1f0e5a1f235e79580967f15ece4 | [
"MIT"
] | null | null | null | electroncash/contrib/eth_abi/__init__.py | mainnet-pat/Electron-Cash | 2057a0c3a482a1f0e5a1f235e79580967f15ece4 | [
"MIT"
] | null | null | null | electroncash/contrib/eth_abi/__init__.py | mainnet-pat/Electron-Cash | 2057a0c3a482a1f0e5a1f235e79580967f15ece4 | [
"MIT"
] | null | null | null | import pkg_resources
from .abi import ( # NOQA
decode_abi,
decode_single,
encode_abi,
encode_single,
is_encodable,
is_encodable_type,
)
__version__ = 1#pkg_resources.get_distribution('eth-abi').version
| 17.615385 | 65 | 0.720524 | 29 | 229 | 5.206897 | 0.586207 | 0.15894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.196507 | 229 | 12 | 66 | 19.083333 | 0.815217 | 0.231441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
f634eb52808d778983e8ce0f60f38865254b710d | 1,940 | py | Python | runners/controllers/lpips_evaluator.py | yohan-pg/genforce | a9b6d07485a33c2bc24bf3a136da6acc4a6b383e | [
"MIT"
] | null | null | null | runners/controllers/lpips_evaluator.py | yohan-pg/genforce | a9b6d07485a33c2bc24bf3a136da6acc4a6b383e | [
"MIT"
] | null | null | null | runners/controllers/lpips_evaluator.py | yohan-pg/genforce | a9b6d07485a33c2bc24bf3a136da6acc4a6b383e | [
"MIT"
] | null | null | null | # python3.7
"""Contains the running controller for evaluation."""
import os.path
import time
from .base_controller import BaseController
from ..misc import format_time
from ..lpips import calculate_lpips_given_images
__all__ = ['LPIPSEvaluator']
class LPIPSEvaluator(BaseController):
"""Defines the running cont... | 33.448276 | 80 | 0.618557 | 248 | 1,940 | 4.653226 | 0.435484 | 0.034662 | 0.031196 | 0.033795 | 0.093588 | 0.036395 | 0 | 0 | 0 | 0 | 0 | 0.012561 | 0.26134 | 1,940 | 57 | 81 | 34.035088 | 0.792743 | 0.146907 | 0 | 0.078947 | 0 | 0 | 0.136364 | 0.015971 | 0 | 0 | 0 | 0.017544 | 0.052632 | 1 | 0.105263 | false | 0 | 0.131579 | 0 | 0.263158 | 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 |
f635231a814829c351a11263f006f062c1973357 | 1,019 | py | Python | source/models/convolution_scaled.py | 1pkg/neura | b5ac79d2141a556f9b488b6ae07cc89f8b0cbccd | [
"MIT"
] | null | null | null | source/models/convolution_scaled.py | 1pkg/neura | b5ac79d2141a556f9b488b6ae07cc89f8b0cbccd | [
"MIT"
] | null | null | null | source/models/convolution_scaled.py | 1pkg/neura | b5ac79d2141a556f9b488b6ae07cc89f8b0cbccd | [
"MIT"
] | null | null | null | from keras.models import Sequential
from keras.optimizers import Adam
from keras.layers import Conv2D
from .base_scaled import BaseScaled
from .loss_func import psnr_loss
class ConvolutionScaled(BaseScaled):
def _model(self):
model = Sequential()
model.add(
Conv2D(
64,... | 24.853659 | 43 | 0.442591 | 90 | 1,019 | 4.922222 | 0.466667 | 0.060948 | 0.094808 | 0.1693 | 0.277652 | 0.277652 | 0.277652 | 0.277652 | 0 | 0 | 0 | 0.06789 | 0.465162 | 1,019 | 41 | 44 | 24.853659 | 0.744954 | 0 | 0 | 0.394737 | 0 | 0 | 0.026471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.131579 | 0 | 0.210526 | 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 |
f6390f2892f35f4a95f560b75f0570b5038bde41 | 18,205 | py | Python | meshView.py | ctralie/Geom3D | edaea3a64a636d01a3a36668cdfd79440082966c | [
"Apache-2.0"
] | 4 | 2018-03-28T06:21:36.000Z | 2022-01-02T13:14:26.000Z | meshView.py | ctralie/Geom3D | edaea3a64a636d01a3a36668cdfd79440082966c | [
"Apache-2.0"
] | 1 | 2019-01-16T03:10:14.000Z | 2019-01-16T03:10:14.000Z | meshView.py | ctralie/S3DGLPy | edaea3a64a636d01a3a36668cdfd79440082966c | [
"Apache-2.0"
] | 2 | 2019-04-09T09:56:47.000Z | 2019-12-03T19:28:53.000Z | #Based off of http://wiki.wxpython.org/GLCanvas
#Lots of help from http://wiki.wxpython.org/Getting%20Started
from OpenGL.GL import *
from OpenGL.arrays import vbo
import wx
from wx import glcanvas
from Primitives3D import *
from PolyMesh import *
from LaplacianMesh import *
from Cameras3D import *
from MeshCanvas imp... | 46.799486 | 452 | 0.648283 | 1,959 | 18,205 | 5.953037 | 0.235324 | 0.029841 | 0.015435 | 0.020065 | 0.221317 | 0.173984 | 0.142943 | 0.105471 | 0.074001 | 0.03953 | 0 | 0.0135 | 0.24724 | 18,205 | 388 | 453 | 46.920103 | 0.837493 | 0.07443 | 0 | 0.217252 | 0 | 0 | 0.042557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.067093 | null | null | 0.015974 | 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 |
f6398ffb59186f0e122e89af61b13e44b264d7d7 | 895 | py | Python | cli/commands/cmd_init.py | kimoantiqe/Sail | c560d71a1ed34c8f762523b826a0d71a2e258f8c | [
"MIT"
] | 1 | 2019-02-16T04:05:11.000Z | 2019-02-16T04:05:11.000Z | cli/commands/cmd_init.py | kimoantiqe/Sail | c560d71a1ed34c8f762523b826a0d71a2e258f8c | [
"MIT"
] | null | null | null | cli/commands/cmd_init.py | kimoantiqe/Sail | c560d71a1ed34c8f762523b826a0d71a2e258f8c | [
"MIT"
] | null | null | null | import click
import json
from cli import pass_context
@click.command('init', short_help='Initializes a sail project')
@click.argument('project_name', required=False, type=str)
@pass_context
def cli(ctx, project_name):
"""Initializes a sail project"""
#Build condfig file
configfile={}
click.echo('This... | 33.148148 | 105 | 0.700559 | 125 | 895 | 4.936 | 0.512 | 0.071313 | 0.051864 | 0.074554 | 0.074554 | 0.074554 | 0 | 0 | 0 | 0 | 0 | 0.001383 | 0.192179 | 895 | 27 | 106 | 33.148148 | 0.852006 | 0.118436 | 0 | 0 | 0 | 0 | 0.329923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.117647 | 0.176471 | 0 | 0.235294 | 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 |
f63a12fb5bff24be5c0d032da3b24f8d77d5f330 | 513 | py | Python | openbook_moderation/migrations/0014_auto_20191205_1704.py | TamaraAbells/okuna-api | f87d8e80d2f182c01dbce68155ded0078ee707e4 | [
"MIT"
] | 164 | 2019-07-29T17:59:06.000Z | 2022-03-19T21:36:01.000Z | openbook_moderation/migrations/0014_auto_20191205_1704.py | TamaraAbells/okuna-api | f87d8e80d2f182c01dbce68155ded0078ee707e4 | [
"MIT"
] | 188 | 2019-03-16T09:53:25.000Z | 2019-07-25T14:57:24.000Z | openbook_moderation/migrations/0014_auto_20191205_1704.py | TamaraAbells/okuna-api | f87d8e80d2f182c01dbce68155ded0078ee707e4 | [
"MIT"
] | 80 | 2019-08-03T17:49:08.000Z | 2022-02-28T16:56:33.000Z | # Generated by Django 2.2.5 on 2019-12-05 16:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('openbook_moderation', '0013_auto_20190909_1236'),
]
operations = [
migrations.AlterField(
model_name='moderatedobject',
... | 27 | 151 | 0.592593 | 56 | 513 | 5.303571 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081841 | 0.237817 | 513 | 18 | 152 | 28.5 | 0.677749 | 0.087719 | 0 | 0 | 1 | 0 | 0.236052 | 0.049356 | 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 |
f652c313645eb899d426882f700d0d0b88e6140f | 3,960 | py | Python | src/spike_shape.py | apayeur/GIF-K | 36228dfe5ffc2cded3f3224e289bd60e6bc7b93c | [
"MIT"
] | 1 | 2020-06-05T15:33:51.000Z | 2020-06-05T15:33:51.000Z | src/spike_shape.py | apayeur/GIF-K | 36228dfe5ffc2cded3f3224e289bd60e6bc7b93c | [
"MIT"
] | null | null | null | src/spike_shape.py | apayeur/GIF-K | 36228dfe5ffc2cded3f3224e289bd60e6bc7b93c | [
"MIT"
] | null | null | null | from Experiment import *
from GIF import *
from AEC_Badel import *
from Tools import *
from Filter_Rect_LogSpaced import *
import matplotlib.pyplot as plt
import numpy as np
import copy
import os
path_results = '../../../Dropbox/Recherches/Raphe/GIF-Ca/Results/'
def min_max_mean(I):
min = np.min(I)
max = np.... | 40.408163 | 143 | 0.642172 | 515 | 3,960 | 4.679612 | 0.318447 | 0.045643 | 0.044813 | 0.070954 | 0.182573 | 0.132365 | 0.101245 | 0.073859 | 0.044813 | 0 | 0 | 0.018653 | 0.201263 | 3,960 | 98 | 144 | 40.408163 | 0.743282 | 0.137626 | 0 | 0.063492 | 0 | 0 | 0.053649 | 0.015284 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.015873 | 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 |
f65581f406846d5a1c137e61348ad06f0f866765 | 9,203 | py | Python | segmentation_solution.py | Kururu007/Lung-Segmentation- | d9c32ee1c57418ba9b74619a94d9979f6422af0a | [
"Apache-2.0"
] | 2 | 2019-04-25T02:10:16.000Z | 2020-10-29T21:31:52.000Z | segmentation_solution.py | Kururu007/Lung_Segmentation | d9c32ee1c57418ba9b74619a94d9979f6422af0a | [
"Apache-2.0"
] | null | null | null | segmentation_solution.py | Kururu007/Lung_Segmentation | d9c32ee1c57418ba9b74619a94d9979f6422af0a | [
"Apache-2.0"
] | null | null | null | import numpy as np
import scipy.ndimage as ndimage
from skimage import measure, morphology, segmentation
from skimage.morphology import ball, disk, dilation, binary_erosion, remove_small_objects, erosion, closing, reconstruction, binary_closing
from skimage.measure import label,regionprops, perimeter
from skimage.morph... | 39.497854 | 139 | 0.668586 | 1,228 | 9,203 | 4.877036 | 0.194625 | 0.021373 | 0.02705 | 0.029387 | 0.667891 | 0.663717 | 0.639339 | 0.623977 | 0.623977 | 0.60177 | 0 | 0.037185 | 0.237314 | 9,203 | 232 | 140 | 39.668103 | 0.816071 | 0.173422 | 0 | 0.623077 | 0 | 0 | 0.001806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.146154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f6596f40c00dd35dff36f25e658df56c2ab7e312 | 848 | py | Python | src/calcdist.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 68 | 2015-01-20T10:50:51.000Z | 2021-02-28T10:47:09.000Z | src/calcdist.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 120 | 2015-01-03T04:38:11.000Z | 2021-03-16T17:50:39.000Z | src/calcdist.py | AAFC-MBB/metAMOS | b08e29d97f0fa55e63beb87f57a2cfd54fb2ca02 | [
"Apache-2.0",
"CC0-1.0"
] | 30 | 2015-01-23T06:33:44.000Z | 2021-11-15T06:34:19.000Z | B77;10003;0c#!python
import os, sys, string, time, BaseHTTPServer, getopt, re, subprocess, webbrowser
from operator import itemgetter
from utils import *
from preprocess import Preprocess
from assemble import Assemble
sys.path.append(INITIAL_UTILS)
from ruffus import *
_readlibs = []
_skipsteps = []
_settings = Sett... | 24.228571 | 80 | 0.744104 | 107 | 848 | 5.719626 | 0.626168 | 0.045752 | 0.062092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012623 | 0.159198 | 848 | 34 | 81 | 24.941176 | 0.845722 | 0.135613 | 0 | 0 | 0 | 0 | 0.061644 | 0.031507 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.230769 | 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 |
f65f5e8aafed7d7c1f414d946ea51900a4b05c0b | 2,244 | py | Python | src/niweb/apps/noclook/migrations/0025_lastnameoptional_20200701_1015.py | SUNET/ni | f652e230524346bf0801cdf8bbb6ee63f4985cc2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/niweb/apps/noclook/migrations/0025_lastnameoptional_20200701_1015.py | SUNET/ni | f652e230524346bf0801cdf8bbb6ee63f4985cc2 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2019-07-24T12:41:11.000Z | 2020-03-31T10:10:04.000Z | src/niweb/apps/noclook/migrations/0025_lastnameoptional_20200701_1015.py | SUNET/ni | f652e230524346bf0801cdf8bbb6ee63f4985cc2 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-02-25T14:58:20.000Z | 2019-02-25T14:58:20.000Z | # Generated by Django 2.2.13 on 2020-07-01 10:15
from django.db import migrations
import norduniclient as nc
import time
try:
from neo4j.exceptions import CypherError
except ImportError:
try:
# pre neo4j 1.4
from neo4j.v1.exceptions import CypherError
except ImportError:
# neo4j 1... | 27.365854 | 78 | 0.639929 | 285 | 2,244 | 4.831579 | 0.389474 | 0.071895 | 0.050835 | 0.04793 | 0.10167 | 0.037763 | 0 | 0 | 0 | 0 | 0 | 0.036341 | 0.28877 | 2,244 | 81 | 79 | 27.703704 | 0.826441 | 0.14795 | 0 | 0.085106 | 1 | 0 | 0.054054 | 0.015898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0.021277 | 0.191489 | 0 | 0.297872 | 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 |
f66424e03003fa0468a5e6891d9844120e5f8f78 | 589 | py | Python | BPPRC/urls.py | Amrithasuresh/BPPRC | 6ee01914a612d65f7084db7ce377da3bab682e66 | [
"BSD-3-Clause"
] | 2 | 2020-01-10T18:36:37.000Z | 2020-01-10T18:42:41.000Z | BPPRC/urls.py | Amrithasuresh/BPPRC | 6ee01914a612d65f7084db7ce377da3bab682e66 | [
"BSD-3-Clause"
] | 12 | 2020-06-05T23:39:18.000Z | 2022-03-12T00:48:18.000Z | BPPRC/urls.py | Amrithasuresh/BPPRC_v1 | 6ee01914a612d65f7084db7ce377da3bab682e66 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from django.conf.urls.static import static, settings
from django.urls import path, include
handler404 = 'database.views.page_not_found'
handler500 = 'database.views.server_error'
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('database.urls')),
path('', ... | 34.647059 | 65 | 0.706282 | 69 | 589 | 5.942029 | 0.449275 | 0.187805 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011583 | 0.120543 | 589 | 16 | 66 | 36.8125 | 0.779923 | 0 | 0 | 0 | 0 | 0 | 0.264856 | 0.095076 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 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 |
f6666650e7b026c874ebca7bcac1c1da3b7da798 | 944 | py | Python | translation/mp-evidence-base-ETL/elastic/operations.py | shunchaowang/dbmi-annotator | 7a39be3861c827ba784d4478d2d6096ff491e6ae | [
"Apache-2.0"
] | 4 | 2015-11-20T17:46:59.000Z | 2018-06-07T19:07:06.000Z | translation/mp-evidence-base-ETL/elastic/operations.py | shunchaowang/dbmi-annotator | 7a39be3861c827ba784d4478d2d6096ff491e6ae | [
"Apache-2.0"
] | 187 | 2015-12-08T19:45:50.000Z | 2020-09-04T02:44:25.000Z | translation/mp-evidence-base-ETL/elastic/operations.py | dbmi-pitt/dbmi-annotator | 5befe0a6bdee38ab59b98433bb743a9e29957277 | [
"Apache-2.0"
] | 6 | 2015-11-20T17:47:04.000Z | 2019-03-18T08:07:41.000Z | from elasticsearch import Elasticsearch
import sys, csv, json, os, uuid
## create customized document based on template
## rtype null
def createMpAnnotation(host, port, annotation, annotationId):
es = Elasticsearch([{'host': host, 'port': port}])
es.index(index="annotator", doc_type="annotation", id=annotationId, b... | 34.962963 | 97 | 0.720339 | 121 | 944 | 5.603306 | 0.371901 | 0.094395 | 0.112094 | 0.135693 | 0.412979 | 0.412979 | 0.412979 | 0.280236 | 0.150442 | 0 | 0 | 0.004854 | 0.127119 | 944 | 26 | 98 | 36.307692 | 0.817961 | 0.165254 | 0 | 0.375 | 0 | 0 | 0.11871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f667cda859e126360f8318222489003ca2dccd77 | 1,204 | py | Python | fgscountrate/__init__.py | spacetelescope/jwst-fgs-countrate | 9ce21bd58a660a75d17b885e983279eb994e088c | [
"BSD-3-Clause"
] | null | null | null | fgscountrate/__init__.py | spacetelescope/jwst-fgs-countrate | 9ce21bd58a660a75d17b885e983279eb994e088c | [
"BSD-3-Clause"
] | 10 | 2019-07-12T19:40:16.000Z | 2022-02-19T20:19:22.000Z | fgscountrate/__init__.py | spacetelescope/jwst-fgs-countrate | 9ce21bd58a660a75d17b885e983279eb994e088c | [
"BSD-3-Clause"
] | 2 | 2019-07-11T19:52:24.000Z | 2019-07-12T18:51:38.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
# Packages may add whatever they like to this file, but
# should keep this content at the top.
# ----------------------------------------------------------------------------
from ._astropy_init import *
# --------------------------------------------------... | 30.1 | 112 | 0.624585 | 139 | 1,204 | 5.136691 | 0.618705 | 0.054622 | 0.084034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006843 | 0.150332 | 1,204 | 39 | 113 | 30.871795 | 0.691105 | 0.254153 | 0 | 0 | 0 | 0 | 0.139013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.043478 | 0.304348 | 0 | 0.347826 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f66861d657a54086e7cca9e33b7722020cacead4 | 581 | py | Python | Colab_setup/sample_colab_cell.py | FredAmouzgar/46_Simple_python_Exercise | cd6cf21b084534854d31ffdf7c558e729a3fa439 | [
"MIT"
] | null | null | null | Colab_setup/sample_colab_cell.py | FredAmouzgar/46_Simple_python_Exercise | cd6cf21b084534854d31ffdf7c558e729a3fa439 | [
"MIT"
] | null | null | null | Colab_setup/sample_colab_cell.py | FredAmouzgar/46_Simple_python_Exercise | cd6cf21b084534854d31ffdf7c558e729a3fa439 | [
"MIT"
] | null | null | null | """
Instruction:
Copy this code to the first cell of the Jupyter notebook you want to run in the Google Colab. It automatically configures it for rendering.
"""
import sys, os
if 'google.colab' in sys.modules and not os.path.exists('.done'):
!wget -q https://raw.githubusercontent.com/FredAmouzgar/python_Exercis... | 41.5 | 143 | 0.714286 | 92 | 581 | 4.478261 | 0.717391 | 0.065534 | 0.058252 | 0.092233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00409 | 0.158348 | 581 | 13 | 144 | 44.692308 | 0.838446 | 0.086059 | 0 | 0 | 0 | 0 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | 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 |
f66ae7462ebab46c6cc7ab2a72bac0355ec42b3a | 1,551 | py | Python | 1.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | null | null | null | 1.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | null | null | null | 1.py | groall/python_learning | dc054d99d825fbbf94f4c2a211fd2cb35f897867 | [
"Apache-2.0"
] | 4 | 2018-01-22T12:52:02.000Z | 2018-01-22T15:32:27.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Создайте класс с именем _Person_, содержащий три поля для хранения имени, фамилии и отчества.
# В классе создайте функцию _show_data()_, выводящую на экран имя, фамилию и отчество.
# Далее от класса _Person_ с помощью наследования создайте два класса: _Student_, _Professor_.... | 37.829268 | 159 | 0.700838 | 199 | 1,551 | 5.326633 | 0.527638 | 0.05283 | 0.031132 | 0.042453 | 0.165094 | 0.165094 | 0.143396 | 0.067925 | 0 | 0 | 0 | 0.005495 | 0.178594 | 1,551 | 40 | 160 | 38.775 | 0.826531 | 0.542231 | 0 | 0.157895 | 0 | 0 | 0.142241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0 | 0 | 0.684211 | 0.157895 | 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 |
f66c286e8dc1cfc54dcc869d5735f3661f177c03 | 1,694 | py | Python | oy/contrib/users/models.py | mush42/oy-cms | 66f2490be7eab9a692a68bb635099ba21d5944ae | [
"MIT"
] | 5 | 2019-02-12T08:54:46.000Z | 2021-03-15T09:22:44.000Z | oy/contrib/users/models.py | mush42/oy-cms | 66f2490be7eab9a692a68bb635099ba21d5944ae | [
"MIT"
] | 2 | 2020-04-30T01:27:08.000Z | 2020-07-16T18:04:16.000Z | oy/contrib/users/models.py | mush42/oy-cms | 66f2490be7eab9a692a68bb635099ba21d5944ae | [
"MIT"
] | 3 | 2019-10-16T05:53:31.000Z | 2021-10-11T09:37:16.000Z | # -*- coding: utf-8 -*-
"""
oy.contrib.users.model
~~~~~~~~~~~~~~~~~~~~~~~~
Provides the user profile model.
:copyright: (c) 2018 by Musharraf Omer.
:license: MIT, see LICENSE for more details.
"""
from sqlalchemy.orm import backref, mapper
from sqlalchemy.orm.collections import attribute_mapped_... | 31.37037 | 81 | 0.68536 | 204 | 1,694 | 5.568627 | 0.460784 | 0.017606 | 0.035211 | 0.042254 | 0.161972 | 0.161972 | 0.112676 | 0.058099 | 0 | 0 | 0 | 0.003597 | 0.179457 | 1,694 | 53 | 82 | 31.962264 | 0.813669 | 0.112161 | 0 | 0.057143 | 0 | 0 | 0.082656 | 0.015583 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.2 | 0.028571 | 0.542857 | 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 |
f66e18458e9de6315cb12fc5192eefdfb7157cde | 7,478 | py | Python | shutit_supergiant.py | ianmiell/shutit-supergiant | 7b6f1979079b7a773f3ba8a1551bf7ba001bd731 | [
"MIT"
] | null | null | null | shutit_supergiant.py | ianmiell/shutit-supergiant | 7b6f1979079b7a773f3ba8a1551bf7ba001bd731 | [
"MIT"
] | null | null | null | shutit_supergiant.py | ianmiell/shutit-supergiant | 7b6f1979079b7a773f3ba8a1551bf7ba001bd731 | [
"MIT"
] | null | null | null | """ShutIt module. See http://shutit.tk
"""
from shutit_module import ShutItModule
import random
import string
class shutit_supergiant(ShutItModule):
def build(self, shutit):
# Some useful API calls for reference. See shutit's docs for more info and options:
#
# ISSUING BASH COMMANDS
# shutit.send(send,expec... | 55.392593 | 299 | 0.635197 | 947 | 7,478 | 4.894403 | 0.291447 | 0.036246 | 0.05178 | 0.040992 | 0.22589 | 0.188134 | 0.125998 | 0.078317 | 0.078317 | 0.061057 | 0 | 0.008829 | 0.257823 | 7,478 | 134 | 300 | 55.80597 | 0.826306 | 0.577962 | 0 | 0.074074 | 0 | 0 | 0.391036 | 0.050666 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.055556 | 0.018519 | 0.185185 | 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 |
f66e2b64d67c2339f72d5619e311011d885d08aa | 6,410 | py | Python | res/images_to_py.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 2 | 2020-08-29T01:31:12.000Z | 2021-07-17T03:07:36.000Z | res/images_to_py.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 1 | 2020-11-25T05:49:11.000Z | 2020-11-25T10:40:20.000Z | res/images_to_py.py | suurjaak/SQLitely | 3be9611385d58fbe2548dda6f27c7380b50297ce | [
"MIT"
] | 1 | 2022-02-16T13:12:14.000Z | 2022-02-16T13:12:14.000Z | """
Simple small script for generating a nicely formatted Python module with
embedded binary resources and docstrings.
------------------------------------------------------------------------------
This file is part of SQLitely - SQLite database tool.
Released under the MIT License.
@author Erki Suurjaak
@created ... | 37.48538 | 79 | 0.59064 | 811 | 6,410 | 4.644883 | 0.295931 | 0.061322 | 0.052031 | 0.06318 | 0.306876 | 0.196177 | 0.196177 | 0.193257 | 0.139103 | 0.139103 | 0 | 0.017008 | 0.23869 | 6,410 | 170 | 80 | 37.705882 | 0.754918 | 0.066927 | 0 | 0.109589 | 0 | 0.006849 | 0.617727 | 0.053079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006849 | false | 0 | 0.061644 | 0 | 0.068493 | 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 |
f670a38e5f3d27015e232123305cf15a62cb979c | 397 | py | Python | informacje/migrations/0002_informacje_cena_doba.py | kbilak/Domki-Za-Lasem-Morze | 29c88775801bc7e119ea4d2120cafc70150dd9d9 | [
"Apache-2.0"
] | null | null | null | informacje/migrations/0002_informacje_cena_doba.py | kbilak/Domki-Za-Lasem-Morze | 29c88775801bc7e119ea4d2120cafc70150dd9d9 | [
"Apache-2.0"
] | null | null | null | informacje/migrations/0002_informacje_cena_doba.py | kbilak/Domki-Za-Lasem-Morze | 29c88775801bc7e119ea4d2120cafc70150dd9d9 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.14 on 2022-03-07 13:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('informacje', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='informacje',
name='cena_doba',
... | 20.894737 | 63 | 0.596977 | 42 | 397 | 5.547619 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080702 | 0.282116 | 397 | 18 | 64 | 22.055556 | 0.736842 | 0.115869 | 0 | 0 | 1 | 0 | 0.117479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f673254ff4de6a7c13ffff0f40f2a398785890b2 | 12,516 | py | Python | dependencies/paramiko/tests/test_pkey.py | samueljero/BEADS | 2cf78b8d375ccb250da175b3031fd29cb0cb2b92 | [
"BSD-3-Clause"
] | 14 | 2018-02-16T12:00:09.000Z | 2021-09-15T09:37:13.000Z | day07/paramiko-1.15.2/paramiko-1.15.2/tests/test_pkey.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | null | null | null | day07/paramiko-1.15.2/paramiko-1.15.2/tests/test_pkey.py | zhangyage/Python-oldboy | a95c1b465929e2be641e425fcb5e15b366800831 | [
"Apache-2.0"
] | 10 | 2017-06-18T08:29:10.000Z | 2021-06-07T12:16:27.000Z | # Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (a... | 45.678832 | 600 | 0.715884 | 1,614 | 12,516 | 5.395911 | 0.301115 | 0.074061 | 0.024113 | 0.026869 | 0.420255 | 0.413021 | 0.398898 | 0.381444 | 0.371455 | 0.365599 | 0 | 0.078328 | 0.168664 | 12,516 | 273 | 601 | 45.846154 | 0.758674 | 0.135586 | 0 | 0.507463 | 0 | 0.029851 | 0.361975 | 0.299341 | 0 | 0 | 0 | 0 | 0.283582 | 1 | 0.089552 | false | 0.069652 | 0.034826 | 0 | 0.129353 | 0.029851 | 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 |
f675c306b1be1ff87809af84c2c9fd02881718d3 | 138 | py | Python | BOJ/13000~13999/13800~13899/13871.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | BOJ/13000~13999/13800~13899/13871.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | BOJ/13000~13999/13800~13899/13871.py | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | null | null | null | N, C, S, *l = map(int, open(0).read().split())
c = 0
S -= 1
ans = 0
for i in l:
ans += c == S
c = (c+i+N)%N
ans += c == S
print(ans) | 12.545455 | 46 | 0.449275 | 33 | 138 | 1.878788 | 0.484848 | 0.096774 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.282609 | 138 | 11 | 47 | 12.545455 | 0.585859 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 1 | 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 |
9c85bb262d4b7916db74dc469dd208566e545257 | 385 | py | Python | webpage/server/database_access/config/__init__.py | burwinliu/June7th.2019 | 7d46b3ba1cb3f99e4e034f9fba28a1cb72ac712f | [
"Apache-2.0"
] | null | null | null | webpage/server/database_access/config/__init__.py | burwinliu/June7th.2019 | 7d46b3ba1cb3f99e4e034f9fba28a1cb72ac712f | [
"Apache-2.0"
] | 8 | 2019-07-19T05:43:26.000Z | 2020-03-31T06:24:03.000Z | webpage/server/database_access/config/__init__.py | burwinliu/June7th.2019 | 7d46b3ba1cb3f99e4e034f9fba28a1cb72ac712f | [
"Apache-2.0"
] | null | null | null | import sql_manage
import setup
get_data = sql_manage.get_data
test = sql_manage.test
DatabaseError = sql_manage.DatabaseError
init_db = sql_manage.init_db
execute_command = sql_manage.execute_command
retrieve = sql_manage.retrieve
setup_globals = setup.setup_globals
__all__ = [
'test', 'DatabaseError', 'init_db',... | 25.666667 | 82 | 0.787013 | 52 | 385 | 5.384615 | 0.288462 | 0.225 | 0.135714 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 385 | 15 | 83 | 25.666667 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.176166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 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 |
9c88d5adce2025f6f8f4242f41650a4b204b5409 | 330 | py | Python | pyEX/rates.py | westonplatter/pyEX | e7c30a468aae8d3a1afe17a388e15c6e37771a3e | [
"Apache-2.0"
] | null | null | null | pyEX/rates.py | westonplatter/pyEX | e7c30a468aae8d3a1afe17a388e15c6e37771a3e | [
"Apache-2.0"
] | null | null | null | pyEX/rates.py | westonplatter/pyEX | e7c30a468aae8d3a1afe17a388e15c6e37771a3e | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class RatesPoints(Enum):
THIRTY = 'DGS30'
TWENTY = 'DGS20'
TEN = 'DGS10'
FIVE = 'DGS5'
TWO = 'DGS2'
ONE = 'DGS1'
SIXMONTH = 'DGS6MO'
THREEMONTH = 'DGS3MO'
ONEMONTH = 'DGS1MO'
@staticmethod
def options():
return list(map(lambda c: c.value, Rate... | 18.333333 | 56 | 0.584848 | 36 | 330 | 5.361111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.290909 | 330 | 17 | 57 | 19.411765 | 0.773504 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 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 |
9c8deb8115dd070b4346c8e5134609c62880db2c | 3,391 | py | Python | simutate_bus_trajetory.py | robertocarlosmedina/masrapt-api | c208fe95a5e9339488a070f80f8e345dd8778af4 | [
"MIT"
] | 5 | 2021-12-21T01:42:54.000Z | 2022-02-10T02:00:42.000Z | simutate_bus_trajetory.py | robertocarlosmedina/masrapt-api | c208fe95a5e9339488a070f80f8e345dd8778af4 | [
"MIT"
] | 1 | 2022-03-10T14:27:35.000Z | 2022-03-10T22:32:53.000Z | simutate_bus_trajetory.py | robertocarlosmedina/masrapt-api | c208fe95a5e9339488a070f80f8e345dd8778af4 | [
"MIT"
] | null | null | null | from matplotlib.style import available
import requests
import time
import random
from threading import Thread
BASE_URL = "http://localhost:3001/"
BUS_MAXIMUN_CAPACITY = 30
"""
Thread to executed multi bus tasks.
"""
class Threads(Thread):
bus_dict: dict # Store a dict related to the information of a Bus.
... | 38.534091 | 113 | 0.593335 | 423 | 3,391 | 4.484634 | 0.257683 | 0.073801 | 0.098577 | 0.041118 | 0.237744 | 0.155509 | 0.111228 | 0.095941 | 0.095941 | 0.050606 | 0 | 0.009791 | 0.307284 | 3,391 | 87 | 114 | 38.977011 | 0.797786 | 0.078443 | 0 | 0.037037 | 0 | 0 | 0.17054 | 0.051841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.148148 | 0.092593 | 0 | 0.203704 | 0.037037 | 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 |
9c8f7cddea3225d59199cefb7be2044585c1a09b | 4,164 | py | Python | lib/galaxy/model/migrate/versions/0012_user_address.py | thata/galaxy-dist | 6c3ffa064faf0c500f5594ed7b58ed839b00f337 | [
"CC-BY-3.0"
] | 2 | 2016-02-23T00:09:14.000Z | 2019-02-11T07:48:44.000Z | lib/galaxy/model/migrate/versions/0012_user_address.py | thata/galaxy-dist | 6c3ffa064faf0c500f5594ed7b58ed839b00f337 | [
"CC-BY-3.0"
] | null | null | null | lib/galaxy/model/migrate/versions/0012_user_address.py | thata/galaxy-dist | 6c3ffa064faf0c500f5594ed7b58ed839b00f337 | [
"CC-BY-3.0"
] | 6 | 2015-05-27T13:09:50.000Z | 2019-02-11T07:48:46.000Z | """
This script adds a new user_address table that is currently only used with sample requests, where
a user can select from a list of his addresses to associate with the request. This script also
drops the request.submitted column which was boolean and replaces it with a request.state column
which is a string, allowi... | 43.375 | 109 | 0.673871 | 511 | 4,164 | 5.412916 | 0.305284 | 0.052061 | 0.052061 | 0.062907 | 0.462039 | 0.316703 | 0.316703 | 0.24295 | 0.212581 | 0.212581 | 0 | 0.008518 | 0.210615 | 4,164 | 95 | 110 | 43.831579 | 0.832978 | 0.044188 | 0 | 0.179487 | 0 | 0 | 0.249861 | 0.022185 | 0 | 0 | 0 | 0 | 0.025641 | 0 | null | null | 0.012821 | 0.102564 | 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 |
9c909f94dc17352dd82bf6b6d6db772ce13672a5 | 1,060 | py | Python | mk/run.py | ethframe/microkanren | becfd3175d81955a695152e6222103e91d0a6975 | [
"MIT"
] | 5 | 2018-08-27T19:12:42.000Z | 2022-03-25T22:53:10.000Z | mk/run.py | ethframe/microkanren | becfd3175d81955a695152e6222103e91d0a6975 | [
"MIT"
] | 2 | 2020-01-06T13:55:05.000Z | 2020-08-18T18:59:19.000Z | mk/run.py | ethframe/microkanren | becfd3175d81955a695152e6222103e91d0a6975 | [
"MIT"
] | 1 | 2021-07-16T17:58:42.000Z | 2021-07-16T17:58:42.000Z | from collections import defaultdict
from itertools import count, islice
from .core import initial
from .dispatch import SingledispatchCache
from .stream import unfold
from .unify import Var, walk
class ReifiedVar:
def __init__(self, name, type):
self.name = name
self.type = type
def __repr__... | 22.083333 | 74 | 0.640566 | 153 | 1,060 | 4.261438 | 0.333333 | 0.06135 | 0.050614 | 0.064417 | 0.128834 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0.001239 | 0.238679 | 1,060 | 47 | 75 | 22.553191 | 0.806691 | 0 | 0 | 0 | 0 | 0 | 0.006604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.181818 | 0.030303 | 0.606061 | 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 |
9c958d04c2cbc758c4d7853212e4d9380d9e38bb | 8,012 | py | Python | Stock Managment System/Server/Send/Ebay/ebay.py | AutoSiliconeHoses/SMS | 11a0d8262d8cc87bfb0da94f008f34f9b12df2fd | [
"Unlicense"
] | null | null | null | Stock Managment System/Server/Send/Ebay/ebay.py | AutoSiliconeHoses/SMS | 11a0d8262d8cc87bfb0da94f008f34f9b12df2fd | [
"Unlicense"
] | 23 | 2019-07-05T10:07:58.000Z | 2021-06-02T00:22:16.000Z | Stock Managment System/Server/Send/Ebay/ebay.py | AutoSiliconeHoses/SMS | 11a0d8262d8cc87bfb0da94f008f34f9b12df2fd | [
"Unlicense"
] | null | null | null | import yaml, os, re, csv, requests
from bs4 import BeautifulSoup
from operator import itemgetter
# Used for finding skus in stockfile
def Binary_search(L, target):
start = 0
end = len(L) - 1
while start <= end:
middle = int((start + end)/ 2)
midpoint = L[middle]
if midpoint > target... | 61.160305 | 181 | 0.38642 | 630 | 8,012 | 4.911111 | 0.371429 | 0.009696 | 0.009696 | 0.015514 | 0.190045 | 0.183581 | 0.168067 | 0.168067 | 0.168067 | 0.168067 | 0 | 0.009162 | 0.53682 | 8,012 | 131 | 182 | 61.160305 | 0.824576 | 0.122192 | 0 | 0.226415 | 0 | 0 | 0.054945 | 0.010704 | 0 | 0 | 0 | 0.007634 | 0 | 1 | 0.028302 | false | 0 | 0.028302 | 0 | 0.103774 | 0.04717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9c98644a5702ee4cb55017f1c06ced4cf0844cdb | 614 | py | Python | migrations/versions/ac5555cba75b_.py | taewookimfardark/woohwa | 960ea36eed91a64f9fb449a9568f5278fb1cbdf2 | [
"Apache-2.0"
] | null | null | null | migrations/versions/ac5555cba75b_.py | taewookimfardark/woohwa | 960ea36eed91a64f9fb449a9568f5278fb1cbdf2 | [
"Apache-2.0"
] | null | null | null | migrations/versions/ac5555cba75b_.py | taewookimfardark/woohwa | 960ea36eed91a64f9fb449a9568f5278fb1cbdf2 | [
"Apache-2.0"
] | null | null | null | """empty message
Revision ID: ac5555cba75b
Revises: fd0463257ae3
Create Date: 2017-03-23 18:52:10.118568
"""
# revision identifiers, used by Alembic.
revision = 'ac5555cba75b'
down_revision = 'fd0463257ae3'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - ... | 22.740741 | 88 | 0.687296 | 76 | 614 | 5.513158 | 0.605263 | 0.064439 | 0.100239 | 0.109785 | 0.210024 | 0.210024 | 0.210024 | 0.210024 | 0 | 0 | 0 | 0.094303 | 0.17101 | 614 | 26 | 89 | 23.615385 | 0.72888 | 0.473941 | 0 | 0 | 0 | 0 | 0.186207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9c9cb1fbdb77745b744fbaeacb6ac7acb4c606a2 | 5,372 | py | Python | hTools2.roboFontExt/lib/hTools2/dialogs/glyphs/paint_select.py | gferreira/hTools2_extension | 9e5150082a0a39847c1078aac3dc38d914a44f83 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T14:47:39.000Z | 2015-02-10T14:47:39.000Z | hTools2.roboFontExt/lib/hTools2/dialogs/glyphs/paint_select.py | gferreira/hTools2_extension | 9e5150082a0a39847c1078aac3dc38d914a44f83 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T21:02:17.000Z | 2019-12-18T15:55:48.000Z | hTools2.roboFontExt/lib/hTools2/dialogs/glyphs/paint_select.py | gferreira/hTools2_extension | 9e5150082a0a39847c1078aac3dc38d914a44f83 | [
"BSD-3-Clause"
] | 3 | 2015-08-17T04:09:05.000Z | 2021-08-09T20:22:04.000Z | # [h] paint and select glyphs by color
import hTools2.modules.color
reload(hTools2.modules.color)
from mojo.roboFont import CurrentFont, CurrentGlyph
from vanilla import *
from AppKit import NSColor
from hTools2 import hDialog
from hTools2.modules.color import random_color, clear_color, convert_to_nscolor
from hTools... | 32.756098 | 92 | 0.51936 | 592 | 5,372 | 4.518581 | 0.182432 | 0.047103 | 0.059813 | 0.015701 | 0.42243 | 0.361122 | 0.336075 | 0.272523 | 0.272523 | 0.272523 | 0 | 0.005249 | 0.397059 | 5,372 | 163 | 93 | 32.957055 | 0.820624 | 0.061243 | 0 | 0.459016 | 0 | 0 | 0.04018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.065574 | null | null | 0.213115 | 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 |
9c9d0ca2b5f32ac4630e184fe92b002288876a52 | 312 | py | Python | Python/n-repeated-element-in-size-2n-array.py | Ravan339/LeetCode | 4276e562aa67e4c39cd92be5d2d6700a9465a579 | [
"MIT"
] | 4 | 2019-12-09T20:23:17.000Z | 2021-11-24T08:59:21.000Z | Python/n-repeated-element-in-size-2n-array.py | Ravan339/LeetCode | 4276e562aa67e4c39cd92be5d2d6700a9465a579 | [
"MIT"
] | null | null | null | Python/n-repeated-element-in-size-2n-array.py | Ravan339/LeetCode | 4276e562aa67e4c39cd92be5d2d6700a9465a579 | [
"MIT"
] | 9 | 2020-03-15T23:32:26.000Z | 2022-02-25T05:51:26.000Z | # https://leetcode.com/problems/n-repeated-element-in-size-2n-array/
from collections import Counter
class Solution(object):
def repeatedNTimes(self, A):
"""
:type A: List[int]
:rtype: int
"""
c = Counter(A)
return [x for x in c if c[x] == len(A) // 2][0]
| 20.8 | 68 | 0.560897 | 44 | 312 | 3.977273 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013453 | 0.285256 | 312 | 14 | 69 | 22.285714 | 0.7713 | 0.314103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
9ca325120b338730146f65e38b6ff3734e56919d | 2,223 | py | Python | phiimages/models.py | denn-is-njeruh/Instaclone | a2f3c36822c419bfeadc56adccce00ce77e1d16e | [
"MIT"
] | null | null | null | phiimages/models.py | denn-is-njeruh/Instaclone | a2f3c36822c419bfeadc56adccce00ce77e1d16e | [
"MIT"
] | null | null | null | phiimages/models.py | denn-is-njeruh/Instaclone | a2f3c36822c419bfeadc56adccce00ce77e1d16e | [
"MIT"
] | null | null | null | from django.db import models
from cloudinary.models import CloudinaryField
from django.contrib.auth.models import User
from django.urls import reverse
from django.utils import timezone
# Create your models here.
class Image(models.Model):
name = models.CharField(max_length=35)
caption = models.TextField(default='... | 25.261364 | 96 | 0.722897 | 290 | 2,223 | 5.386207 | 0.286207 | 0.03073 | 0.044814 | 0.067222 | 0.402049 | 0.361716 | 0.319462 | 0.185659 | 0.15621 | 0.103713 | 0 | 0.004752 | 0.147998 | 2,223 | 87 | 97 | 25.551724 | 0.819958 | 0.071525 | 0 | 0.381818 | 0 | 0 | 0.067574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.090909 | 0.090909 | 0.836364 | 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 |
9caa25ebf055248551fa70df4909a8ed5ee43869 | 1,339 | py | Python | tpagui/tpa/models.py | saurabht16/DjangoProj | 057b871418605f1ee9154ecab4a809002ac23d78 | [
"Apache-2.0"
] | null | null | null | tpagui/tpa/models.py | saurabht16/DjangoProj | 057b871418605f1ee9154ecab4a809002ac23d78 | [
"Apache-2.0"
] | null | null | null | tpagui/tpa/models.py | saurabht16/DjangoProj | 057b871418605f1ee9154ecab4a809002ac23d78 | [
"Apache-2.0"
] | null | null | null | import datetime
from django.db import models
from django.utils import timezone
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
FRESHMAN = 'FR'
SOPHOMORE = 'SO'
JUNIOR = 'JR'
SENIOR = 'SR'
YEAR_IN... | 26.78 | 76 | 0.65422 | 152 | 1,339 | 5.526316 | 0.375 | 0.071429 | 0.085714 | 0.114286 | 0.244048 | 0.220238 | 0.109524 | 0.109524 | 0.109524 | 0 | 0 | 0.012846 | 0.244212 | 1,339 | 50 | 77 | 26.78 | 0.817194 | 0.017924 | 0 | 0.081081 | 0 | 0 | 0.040316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.081081 | 0.108108 | 0.756757 | 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 |
9cab21564998f2c7b6ec17b394ca50b34620b3d4 | 1,014 | py | Python | tools/ds5/configdb/userDebug.py | HawxChen/barrelfishOS | d8fbca601bfac61cc92ac06f5f5dd79ab18a8eaa | [
"MIT"
] | null | null | null | tools/ds5/configdb/userDebug.py | HawxChen/barrelfishOS | d8fbca601bfac61cc92ac06f5f5dd79ab18a8eaa | [
"MIT"
] | null | null | null | tools/ds5/configdb/userDebug.py | HawxChen/barrelfishOS | d8fbca601bfac61cc92ac06f5f5dd79ab18a8eaa | [
"MIT"
] | null | null | null | from arm_ds.debugger_v1 import Debugger
from arm_ds.debugger_v1 import DebugException
import os
# The CPU driver is linked at this address
LINKADDRESS = 0
debugger = Debugger()
ec = debugger.getCurrentExecutionContext()
es = ec.getExecutionService()
# Run until the end of molly, to discover where the kernel has been... | 29.823529 | 108 | 0.766272 | 144 | 1,014 | 5.3125 | 0.5625 | 0.057516 | 0.023529 | 0.044444 | 0.065359 | 0.065359 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 0.140039 | 1,014 | 33 | 109 | 30.727273 | 0.858945 | 0.353057 | 0 | 0.117647 | 0 | 0 | 0.175926 | 0.046296 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.176471 | null | null | 0.058824 | 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 |
9cacd0aab6d3edff99fc414ca919be59978a8862 | 1,782 | py | Python | hloopy/preprocess.py | julianirwin/hloopy | 24308594dbcc6a273077b7b4d7b4041b2dc4fcfd | [
"MIT"
] | 6 | 2018-11-27T21:54:14.000Z | 2021-06-10T03:21:52.000Z | hloopy/preprocess.py | julianirwin/hloopy | 24308594dbcc6a273077b7b4d7b4041b2dc4fcfd | [
"MIT"
] | null | null | null | hloopy/preprocess.py | julianirwin/hloopy | 24308594dbcc6a273077b7b4d7b4041b2dc4fcfd | [
"MIT"
] | null | null | null | import numpy as np
def crop(arr, numcycles, precrop=0, postcrop=0):
"""Crop out some initial and final cycles in data that contains
several cycles.
Args:
arr (numpy.ndarray): Sequence to operate on.
numcycles (int): number of cycles in the total array.
precrop (int): number of cyc... | 33 | 77 | 0.624579 | 250 | 1,782 | 4.444 | 0.388 | 0.036004 | 0.039604 | 0.045905 | 0.19802 | 0.163816 | 0.163816 | 0.057606 | 0 | 0 | 0 | 0.00399 | 0.296857 | 1,782 | 53 | 78 | 33.622642 | 0.882682 | 0.64927 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9cb2e54316d518a315a02f3fffe0d44f4b7cdac2 | 2,316 | py | Python | matdgl/utils/utils.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | 6 | 2022-03-30T13:47:03.000Z | 2022-03-31T09:27:46.000Z | matdgl/utils/utils.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | null | null | null | matdgl/utils/utils.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | 2 | 2022-03-30T20:53:11.000Z | 2022-03-31T22:20:05.000Z | # -*- coding: utf-8 -*-
"""
Created on Thu Oct 28 12:48:10 2021
@author: huzongxiang
"""
import numpy as np
from typing import List
from enum import Enum, unique
from pymatgen.core import Structure
from pymatgen.analysis.bond_valence import BVAnalyzer
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer
@uniqu... | 20.13913 | 79 | 0.630829 | 256 | 2,316 | 5.453125 | 0.410156 | 0.090258 | 0.025788 | 0.083811 | 0.098854 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017069 | 0.266408 | 2,316 | 115 | 80 | 20.13913 | 0.804591 | 0.243523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155556 | false | 0 | 0.133333 | 0.066667 | 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 |
9cb2f7da195bce46b36402f0fb75c930cb6e1443 | 1,947 | py | Python | package/scripts/cassandra_master.py | gridgentoo/ambari-cassandra-service | d23808d274f9914bdb913e444ddd2fa7e268e633 | [
"Apache-2.0"
] | 30 | 2015-12-30T21:33:20.000Z | 2022-02-12T04:00:29.000Z | package/scripts/cassandra_master.py | gridgentoo/ambari-cassandra-service | d23808d274f9914bdb913e444ddd2fa7e268e633 | [
"Apache-2.0"
] | 15 | 2016-03-25T02:59:40.000Z | 2020-08-10T06:00:08.000Z | package/scripts/cassandra_master.py | gridgentoo/ambari-cassandra-service | d23808d274f9914bdb913e444ddd2fa7e268e633 | [
"Apache-2.0"
] | 35 | 2016-02-29T05:25:16.000Z | 2021-02-26T10:22:33.000Z | #!/usr/bin/env python
"""
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. The ASF licenses this file
to you 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... | 31.918033 | 72 | 0.690806 | 257 | 1,947 | 5.132296 | 0.400778 | 0.045489 | 0.04928 | 0.072024 | 0.214556 | 0.158453 | 0.158453 | 0.158453 | 0.074299 | 0.074299 | 0 | 0.002694 | 0.237288 | 1,947 | 60 | 73 | 32.45 | 0.885522 | 0.010272 | 0 | 0.243902 | 0 | 0 | 0.154996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.268293 | null | null | 0.121951 | 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 |
9cb668e395dc4f4e4c850a63c703d8800f188709 | 876 | py | Python | gwaportal_hpc_pipeline/rest.py | timeu/gwaportal-hpc-pipeline | 7cda411129a72e83d13f63c3cb8bdc0c032e2e1f | [
"BSD-2-Clause"
] | null | null | null | gwaportal_hpc_pipeline/rest.py | timeu/gwaportal-hpc-pipeline | 7cda411129a72e83d13f63c3cb8bdc0c032e2e1f | [
"BSD-2-Clause"
] | null | null | null | gwaportal_hpc_pipeline/rest.py | timeu/gwaportal-hpc-pipeline | 7cda411129a72e83d13f63c3cb8bdc0c032e2e1f | [
"BSD-2-Clause"
] | null | null | null | import requests
import shutil
import tempfile
class Restclient(object):
def __init__(self,host,username,password):
self.host = host
self.auth = (username,password)
def get_phenotype_data(self,studyid):
headers = {'Accept':'application/json'}
URL = '%s/provider/study/%s/studygw... | 32.444444 | 86 | 0.64726 | 110 | 876 | 5.027273 | 0.390909 | 0.057866 | 0.086799 | 0.101266 | 0.499096 | 0.499096 | 0.499096 | 0.35443 | 0.35443 | 0.35443 | 0 | 0.008837 | 0.224886 | 876 | 26 | 87 | 33.692308 | 0.805596 | 0 | 0 | 0.47619 | 0 | 0 | 0.132571 | 0.082286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.095238 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
9cb929b61eb3198a3239699ff5967e14bf0ff9f8 | 355 | py | Python | platon/middleware/pythonic.py | shinnng/platon.py | 3197fac3839896290210da04dd0d45f0bdc731ce | [
"MIT"
] | null | null | null | platon/middleware/pythonic.py | shinnng/platon.py | 3197fac3839896290210da04dd0d45f0bdc731ce | [
"MIT"
] | null | null | null | platon/middleware/pythonic.py | shinnng/platon.py | 3197fac3839896290210da04dd0d45f0bdc731ce | [
"MIT"
] | null | null | null | from platon._utils.method_formatters import (
PYTHONIC_REQUEST_FORMATTERS,
PYTHONIC_RESULT_FORMATTERS,
)
from platon.middleware.formatting import (
construct_formatting_middleware,
)
pythonic_middleware = construct_formatting_middleware(
request_formatters=PYTHONIC_REQUEST_FORMATTERS,
result_format... | 27.307692 | 54 | 0.83662 | 35 | 355 | 8 | 0.342857 | 0.182143 | 0.178571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 355 | 12 | 55 | 29.583333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 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 |
9cbad34e3751fd19543c55c043166d8e487017d3 | 1,924 | py | Python | conftest.py | foschieraanderson/central-de-erros | aff3f744f6e69ff26611fd25b6b3b438158468d3 | [
"MIT"
] | null | null | null | conftest.py | foschieraanderson/central-de-erros | aff3f744f6e69ff26611fd25b6b3b438158468d3 | [
"MIT"
] | null | null | null | conftest.py | foschieraanderson/central-de-erros | aff3f744f6e69ff26611fd25b6b3b438158468d3 | [
"MIT"
] | null | null | null | import pytest
from django.urls import reverse
from django.contrib.auth import get_user_model
from logs.models import Log
@pytest.fixture
def user_data():
""" Retorna um usuário """
return {
'username': 'admin',
'email': 'admin@email.com',
'password': '12345678'
}
@pytest.fixture
... | 27.098592 | 93 | 0.664761 | 244 | 1,924 | 5.053279 | 0.262295 | 0.084347 | 0.103812 | 0.081103 | 0.514193 | 0.374696 | 0.217356 | 0.217356 | 0.145985 | 0 | 0 | 0.028777 | 0.205301 | 1,924 | 71 | 94 | 27.098592 | 0.777632 | 0.106029 | 0 | 0.345455 | 0 | 0 | 0.181224 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145455 | false | 0.072727 | 0.072727 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
9cbc378d246325d6af87beaeb4804976a0daa825 | 6,828 | py | Python | xnu-4903.241.1/tools/lldbmacros/ntstat.py | DogeCoding/iOSCompiledRuntime | 81bada7472a3470d3424f2d0bbcc414d755c3620 | [
"MIT"
] | 672 | 2019-10-09T11:15:13.000Z | 2021-09-21T10:02:33.000Z | xnu-4903.221.2/tools/lldbmacros/ntstat.py | KaiserFeng/KFAppleOpenSource | 7ea6ab19f1492a2da262d3554f90882393f975a4 | [
"MIT"
] | 19 | 2019-11-05T03:32:31.000Z | 2021-07-15T11:16:25.000Z | xnu-4903.221.2/tools/lldbmacros/ntstat.py | KaiserFeng/KFAppleOpenSource | 7ea6ab19f1492a2da262d3554f90882393f975a4 | [
"MIT"
] | 216 | 2019-10-10T01:47:36.000Z | 2021-09-23T07:56:54.000Z | """ Please make sure you read the README COMPLETELY BEFORE reading anything below.
It is very critical that you read coding guidelines in Section E in README file.
"""
from xnu import *
from utils import *
from string import *
from socket import *
import xnudefines
from netdefines import *
from routedefines impor... | 38.795455 | 161 | 0.660223 | 846 | 6,828 | 5.113475 | 0.189125 | 0.056172 | 0.038141 | 0.053398 | 0.51595 | 0.468793 | 0.423024 | 0.371475 | 0.320157 | 0.299815 | 0 | 0.010264 | 0.229496 | 6,828 | 175 | 162 | 39.017143 | 0.812013 | 0.006444 | 0 | 0.359649 | 0 | 0.061404 | 0.17753 | 0.0039 | 0 | 0 | 0.007428 | 0 | 0 | 0 | null | null | 0 | 0.061404 | null | null | 0.061404 | 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 |
9cbcfb22a993eef6b05fdab2d9cb25f1c5a9291f | 409 | py | Python | utilidades_daniel/__init__.py | DanielSoaresFranco/Aulas.py | 440a9b476782f737b14cea64f1437479e820fc7d | [
"MIT"
] | null | null | null | utilidades_daniel/__init__.py | DanielSoaresFranco/Aulas.py | 440a9b476782f737b14cea64f1437479e820fc7d | [
"MIT"
] | 1 | 2021-03-03T22:45:47.000Z | 2021-03-03T23:01:14.000Z | utilidades_daniel/__init__.py | DanielSoaresFranco/Aulas.py | 440a9b476782f737b14cea64f1437479e820fc7d | [
"MIT"
] | null | null | null | def mensagem(cor='', msg='', firula='', tamanho=0):
if '\n' in msg:
linha = msg.find('\n')
else:
linha = len(msg)
limpa = '\033[m'
if tamanho == 0:
tamanho = firula * (linha + 4)
if firula == '':
print(f'{cor} {msg} {limpa}')
else:
print(f'{cor}{tamanho}... | 27.266667 | 51 | 0.469438 | 53 | 409 | 3.622642 | 0.377358 | 0.125 | 0.1875 | 0.125 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.310513 | 409 | 14 | 52 | 29.214286 | 0.648936 | 0 | 0 | 0.285714 | 0 | 0 | 0.227384 | 0.102689 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.285714 | 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 |
9cbe792abe4cbe0b285921bc562363f3465a88e8 | 19,297 | py | Python | build/bin/pcraster/multicore/_operations.py | openearth/hydro-model-builder-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | null | null | null | build/bin/pcraster/multicore/_operations.py | openearth/hydro-model-builder-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | 2 | 2018-07-05T14:36:18.000Z | 2020-03-19T21:16:37.000Z | build/bin/pcraster/multicore/_operations.py | openearth/hydro-model-generator-wflow | 6f689859d0a9a307324db3dbe3f03c51884a42a8 | [
"MIT"
] | null | null | null | # This file was generated during the PCRaster build.
# Do not edit!
import sys
import math
import pcraster.operations
import pcraster as _pcraster
from . import _pcraster_multicore as _pmc
if sys.version_info.major == 2:
import __builtin__ as builtins
else:
import builtins
def set_nr_worker_threads(arg1):
... | 29.371385 | 105 | 0.673162 | 2,325 | 19,297 | 5.276129 | 0.106667 | 0.046955 | 0.074998 | 0.108747 | 0.601043 | 0.562892 | 0.549523 | 0.539985 | 0.464498 | 0.317029 | 0 | 0.023194 | 0.224698 | 19,297 | 656 | 106 | 29.416159 | 0.796738 | 0.083744 | 0 | 0.434599 | 1 | 0 | 0.083527 | 0 | 0 | 0 | 0 | 0.001524 | 0 | 1 | 0.132911 | false | 0 | 0.014768 | 0.023207 | 0.312236 | 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 |
9cc9b409551500c6e05f83f815c19178f0909310 | 973 | py | Python | source/speech/priorities.py | marlon-sousa/nvda | 83738d7d9150fb379083eb3918e9c78c78610489 | [
"bzip2-1.0.6"
] | 1,592 | 2015-11-10T12:05:44.000Z | 2022-03-31T11:50:40.000Z | source/speech/priorities.py | marlon-sousa/nvda | 83738d7d9150fb379083eb3918e9c78c78610489 | [
"bzip2-1.0.6"
] | 9,479 | 2015-11-10T20:56:48.000Z | 2022-03-31T23:51:30.000Z | source/speech/priorities.py | marlon-sousa/nvda | 83738d7d9150fb379083eb3918e9c78c78610489 | [
"bzip2-1.0.6"
] | 682 | 2015-11-10T11:19:23.000Z | 2022-03-31T07:51:29.000Z | # -*- coding: UTF-8 -*-
# A part of NonVisual Desktop Access (NVDA)
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.
# Copyright (C) 2017-2019 NV Access Limited, Babbage B.V.
"""Speech priority enumeration."""
from enum import IntEnum
class SpeechPriority(IntEnum):
... | 34.75 | 109 | 0.760534 | 139 | 973 | 5.316547 | 0.633094 | 0.052774 | 0.056834 | 0.081191 | 0.129905 | 0.092016 | 0 | 0 | 0 | 0 | 0 | 0.014888 | 0.171634 | 973 | 27 | 110 | 36.037037 | 0.901985 | 0.789311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
9ccef766b3794ba44704dcf32495bddfda14c9ff | 21,156 | py | Python | tests/unit/test_transports/test_websocket.py | robertmrk/aiocometd | 6c69ba505d02df334ebc551695d05c0427b92daf | [
"MIT"
] | 14 | 2018-12-02T17:15:59.000Z | 2022-02-27T12:37:50.000Z | tests/unit/test_transports/test_websocket.py | robertmrk/aiocometd | 6c69ba505d02df334ebc551695d05c0427b92daf | [
"MIT"
] | 14 | 2019-02-11T13:06:59.000Z | 2022-02-14T18:04:16.000Z | tests/unit/test_transports/test_websocket.py | robertmrk/aiocometd | 6c69ba505d02df334ebc551695d05c0427b92daf | [
"MIT"
] | 16 | 2019-03-11T13:13:29.000Z | 2022-02-27T11:30:59.000Z | import asyncio
from asynctest import TestCase, mock
from aiohttp import client_exceptions, WSMsgType
from aiocometd.transports.websocket import WebSocketTransport, WebSocketFactory
from aiocometd.constants import ConnectionType
from aiocometd.exceptions import TransportConnectionClosed, TransportError
class TestWeb... | 39.841808 | 79 | 0.667328 | 2,232 | 21,156 | 6.008961 | 0.076613 | 0.137638 | 0.041754 | 0.036833 | 0.763197 | 0.705339 | 0.614226 | 0.553161 | 0.549061 | 0.524381 | 0 | 0.001935 | 0.242863 | 21,156 | 530 | 80 | 39.916981 | 0.835373 | 0 | 0 | 0.538462 | 0 | 0 | 0.029212 | 0.016071 | 0 | 0 | 0 | 0 | 0.226107 | 1 | 0.018648 | false | 0 | 0.013986 | 0 | 0.037296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9cd304fe24849c1a3318ac001aa2bfdd99cb1a89 | 4,568 | py | Python | net_models/models/BaseModels/SharedModels.py | mihudec/netcm | 380786793e35206cae923e613458be9eb9f0a02e | [
"MIT"
] | null | null | null | net_models/models/BaseModels/SharedModels.py | mihudec/netcm | 380786793e35206cae923e613458be9eb9f0a02e | [
"MIT"
] | null | null | null | net_models/models/BaseModels/SharedModels.py | mihudec/netcm | 380786793e35206cae923e613458be9eb9f0a02e | [
"MIT"
] | 1 | 2021-08-09T06:33:28.000Z | 2021-08-09T06:33:28.000Z | # Standard Libraries
# Third party packages
import ipaddress
from pydantic import root_validator, conint, constr
from pydantic.typing import Union, Optional, List, Literal, List
# Local package
from net_models.fields import (
GENERIC_OBJECT_NAME, VRF_NAME, VLAN_ID, BRIDGE_DOMAIN_ID,
ROUTE_TARGET, ROUTE_DISTING... | 25.662921 | 101 | 0.686734 | 487 | 4,568 | 6.303901 | 0.299795 | 0.032248 | 0.027687 | 0.018567 | 0.149511 | 0.139414 | 0.11987 | 0.093811 | 0.026059 | 0.026059 | 0 | 0.008566 | 0.20775 | 4,568 | 178 | 102 | 25.662921 | 0.839735 | 0.017951 | 0 | 0.132743 | 0 | 0 | 0.159476 | 0.006099 | 0 | 0 | 0 | 0.005618 | 0.044248 | 1 | 0.017699 | false | 0.017699 | 0.053097 | 0 | 0.610619 | 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 |
9cd8f35a615ffc673823e958f46696f45c6c6d94 | 522 | py | Python | cert_manager/migrations/0002_auto_20171013_0323.py | monstrenyatko/butler-api | 842cf16212ba9fdb6943b5ecd488bf0ca57acf84 | [
"MIT"
] | null | null | null | cert_manager/migrations/0002_auto_20171013_0323.py | monstrenyatko/butler-api | 842cf16212ba9fdb6943b5ecd488bf0ca57acf84 | [
"MIT"
] | null | null | null | cert_manager/migrations/0002_auto_20171013_0323.py | monstrenyatko/butler-api | 842cf16212ba9fdb6943b5ecd488bf0ca57acf84 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2017-10-13 03:23
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('cert_manager', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
... | 26.1 | 140 | 0.659004 | 51 | 522 | 6.54902 | 0.803922 | 0.065868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051345 | 0.216475 | 522 | 19 | 141 | 27.473684 | 0.765281 | 0.130268 | 0 | 0 | 1 | 0 | 0.31929 | 0.059867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.416667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9ce69dad37166bdf6f8d49017005a709e3df4de8 | 1,116 | py | Python | landdegradation/__init__.py | LocateIT/landdegradation | 4b251de2ede9044b2541b07ba9669419f26f7854 | [
"MIT"
] | null | null | null | landdegradation/__init__.py | LocateIT/landdegradation | 4b251de2ede9044b2541b07ba9669419f26f7854 | [
"MIT"
] | null | null | null | landdegradation/__init__.py | LocateIT/landdegradation | 4b251de2ede9044b2541b07ba9669419f26f7854 | [
"MIT"
] | null | null | null | __version__ = '0.54'
class LandDegradationError(Exception):
"""Base class for exceptions in this module."""
def __init__(self, msg=None):
if msg is None:
msg = "An error occurred in the landdegradation module"
super(LandDegradationError, self).__init__(msg)
class GEEError(LandDe... | 26.571429 | 90 | 0.655914 | 134 | 1,116 | 5.104478 | 0.343284 | 0.070175 | 0.080409 | 0.081871 | 0.554094 | 0.554094 | 0.364035 | 0.364035 | 0.244152 | 0.244152 | 0 | 0.003413 | 0.212366 | 1,116 | 41 | 91 | 27.219512 | 0.774744 | 0.189964 | 0 | 0.3 | 0 | 0 | 0.157175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9ce7cc0b434223409e57e943267c47d560a36be9 | 2,599 | py | Python | malware_crawl/tasks.py | chrissorchard/malucrawl | cb9633baff8752f3e043a2cfdb91cde868666ae2 | [
"MIT"
] | 1 | 2016-12-09T03:02:05.000Z | 2016-12-09T03:02:05.000Z | malware_crawl/tasks.py | chrissorchard/malucrawl | cb9633baff8752f3e043a2cfdb91cde868666ae2 | [
"MIT"
] | null | null | null | malware_crawl/tasks.py | chrissorchard/malucrawl | cb9633baff8752f3e043a2cfdb91cde868666ae2 | [
"MIT"
] | null | null | null | from celery import task, chord
from .scan import scanners, heavy_scanners
from .search import search_engines
from .source import sources
from datetime import datetime
from dateutil.tz import tzutc
from models import TopicSet
# validator = jsonschema.Draft3Validator(json.loads(pkgutil.get_data("malware_cr... | 24.28972 | 121 | 0.574067 | 264 | 2,599 | 5.515152 | 0.310606 | 0.037088 | 0.038462 | 0.035714 | 0.199176 | 0.153846 | 0.153846 | 0.153846 | 0.153846 | 0.153846 | 0 | 0.000586 | 0.343209 | 2,599 | 106 | 122 | 24.518868 | 0.852373 | 0.055406 | 0 | 0.137931 | 0 | 0 | 0.00849 | 0 | 0 | 0 | 0 | 0.009434 | 0 | 0 | null | null | 0 | 0.12069 | 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 |
9cf0e2979441733779f6529b6f3f777d79ad36af | 3,783 | py | Python | psx/_dump_/51/_dump_ida_/overlay_d/set_funcs.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/51/_dump_ida_/overlay_d/set_funcs.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/51/_dump_ida_/overlay_d/set_funcs.py | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | del_items(0x80145350)
SetType(0x80145350, "void _cd_seek(int sec)")
del_items(0x801453BC)
SetType(0x801453BC, "void init_cdstream(int chunksize, unsigned char *buf, int bufsize)")
del_items(0x801453E4)
SetType(0x801453E4, "void flush_cdstream()")
del_items(0x80145438)
SetType(0x80145438, "void reset_cdstream()")
del_it... | 43.482759 | 146 | 0.803859 | 527 | 3,783 | 5.525617 | 0.297913 | 0.118132 | 0.021978 | 0.008242 | 0.028159 | 0.028159 | 0.010989 | 0.010989 | 0 | 0 | 0 | 0.19937 | 0.077187 | 3,783 | 86 | 147 | 43.988372 | 0.634775 | 0 | 0 | 0 | 0 | 0.034884 | 0.477135 | 0.127676 | 0 | 0 | 0.227333 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 |
1404b50fbc1b818eb6d496d276bb35e7511f57ae | 6,705 | py | Python | mm_power_sdk_python/models/location.py | MolecularMatch/mm-power-sdk-python | 1fcbcc25c47d7b435e03929cb185eb7f10fb415d | [
"Apache-2.0"
] | null | null | null | mm_power_sdk_python/models/location.py | MolecularMatch/mm-power-sdk-python | 1fcbcc25c47d7b435e03929cb185eb7f10fb415d | [
"Apache-2.0"
] | null | null | null | mm_power_sdk_python/models/location.py | MolecularMatch/mm-power-sdk-python | 1fcbcc25c47d7b435e03929cb185eb7f10fb415d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
MolecularMatch MMPower
MMPower API # noqa: E501
OpenAPI spec version: 1.0.0
Contact: support@molecularmatch.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
class Location(object):
"""NOTE: This ... | 29.537445 | 302 | 0.580313 | 751 | 6,705 | 5.07723 | 0.197071 | 0.052452 | 0.073433 | 0.07081 | 0.38395 | 0.308943 | 0.257802 | 0.174666 | 0.125885 | 0.102806 | 0 | 0.019146 | 0.322297 | 6,705 | 226 | 303 | 29.668142 | 0.819982 | 0.321551 | 0 | 0.066667 | 1 | 0 | 0.127517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152381 | false | 0 | 0.028571 | 0 | 0.314286 | 0.019048 | 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 |
140b56468da644f53bdec8e4d408a4844b68b726 | 936 | py | Python | pypospack/potential/threebody.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 4 | 2018-01-18T19:59:56.000Z | 2020-08-25T11:56:52.000Z | pypospack/potential/threebody.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2018-04-22T23:02:13.000Z | 2018-04-22T23:02:13.000Z | pypospack/potential/threebody.py | eragasa/pypospack | 21cdecaf3b05c87acc532d992be2c04d85bfbc22 | [
"MIT"
] | 1 | 2019-09-14T07:04:42.000Z | 2019-09-14T07:04:42.000Z | from collections import OrderedDict
from pypospack.potential import Potential
class ThreeBodyPotential(Potential):
def _init_parameter_names(self):
# TODO: This is only written for a single element potential
for i in range(len(self.symbols)):
for j in range(len(self.symbols)):
... | 34.666667 | 67 | 0.600427 | 114 | 936 | 4.77193 | 0.350877 | 0.180147 | 0.132353 | 0.077206 | 0.126838 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0.018209 | 0.29594 | 936 | 26 | 68 | 36 | 0.807284 | 0.060897 | 0 | 0 | 0 | 0 | 0.013683 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.15 | false | 0 | 0.1 | 0 | 0.3 | 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 |
140dfac36445851b546cae5f39eb0527aa6233b3 | 7,270 | py | Python | ejercicios/programa_formativo.py | proto-tools-docs/Soluciones | 7a619e00572a3496cb08a90702f152f52c6d5e56 | [
"MIT"
] | null | null | null | ejercicios/programa_formativo.py | proto-tools-docs/Soluciones | 7a619e00572a3496cb08a90702f152f52c6d5e56 | [
"MIT"
] | null | null | null | ejercicios/programa_formativo.py | proto-tools-docs/Soluciones | 7a619e00572a3496cb08a90702f152f52c6d5e56 | [
"MIT"
] | null | null | null | """
Tu labor en esta ocasión es ayudar a Eren Jaeger. Para ello, debes
determinar por él si ha aprobado el Programa Formativo como soldado
o no para poder formar parte de la Legión de Reconocimiento. La única
forma de aprobar dicho programa es aprobando todos y cada uno de los N
cursos que lo componen.
- Cada curso es... | 35.120773 | 78 | 0.674828 | 1,103 | 7,270 | 4.410698 | 0.247507 | 0.01295 | 0.012333 | 0.011511 | 0.219322 | 0.178828 | 0.161973 | 0.129496 | 0.114697 | 0.099486 | 0 | 0.03309 | 0.247593 | 7,270 | 207 | 79 | 35.120773 | 0.856307 | 0.588446 | 0 | 0.024691 | 0 | 0 | 0.143104 | 0 | 0 | 0 | 0 | 0.014493 | 0.111111 | 1 | 0.123457 | false | 0 | 0.037037 | 0.024691 | 0.308642 | 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 |
1418458510bda4764198bbf0385a835ee09ef801 | 889 | py | Python | src/office_parser.py | kamidipreetham/generic-parser | 49e2c3fd72121bc67c3c09275f9e9ad6a638de88 | [
"MIT"
] | 19 | 2018-07-09T13:31:15.000Z | 2021-12-21T11:58:56.000Z | src/office_parser.py | kamidipreetham/generic-parser | 49e2c3fd72121bc67c3c09275f9e9ad6a638de88 | [
"MIT"
] | null | null | null | src/office_parser.py | kamidipreetham/generic-parser | 49e2c3fd72121bc67c3c09275f9e9ad6a638de88 | [
"MIT"
] | 6 | 2018-07-14T00:30:25.000Z | 2020-08-20T11:42:28.000Z | import sys
from oletools import olevba
class OfficeParser():
def __init__(self,sample):
self.sample = sample
self.results = {}
def extract_macro(self):
vba = olevba.VBA_Parser(self.sample)
macro_code = ""
if vba.detect_vba_macros():
for (filename, stream... | 25.4 | 88 | 0.589426 | 103 | 889 | 4.825243 | 0.378641 | 0.088531 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001605 | 0.299213 | 889 | 34 | 89 | 26.147059 | 0.796148 | 0 | 0 | 0.076923 | 0 | 0 | 0.044994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | 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 |
1424015331ff5e76816dff7abfeb24079381a690 | 4,277 | py | Python | __init__.py | JarbasSkills/skill-application-launcher | b716dcdd359ab5f38996a66613aa81bd1726ac3e | [
"Apache-2.0"
] | 2 | 2021-12-20T21:06:50.000Z | 2022-02-21T09:00:11.000Z | __init__.py | JarbasSkills/skill-application-launcher | b716dcdd359ab5f38996a66613aa81bd1726ac3e | [
"Apache-2.0"
] | null | null | null | __init__.py | JarbasSkills/skill-application-launcher | b716dcdd359ab5f38996a66613aa81bd1726ac3e | [
"Apache-2.0"
] | null | null | null | from os import listdir
from os.path import expanduser, isdir, join
import os
from mycroft.skills import FallbackSkill
from mycroft.util.parse import match_one
from padacioso import IntentContainer
class ApplicationLauncherSkill(FallbackSkill):
def initialize(self):
# some applications can't be easily trig... | 42.77 | 109 | 0.487725 | 449 | 4,277 | 4.5902 | 0.347439 | 0.046579 | 0.027171 | 0.036875 | 0.061135 | 0.032023 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.399813 | 4,277 | 99 | 110 | 43.20202 | 0.79626 | 0.126724 | 0 | 0.076923 | 0 | 0 | 0.094035 | 0.022031 | 0 | 0 | 0 | 0.010101 | 0 | 1 | 0.064103 | false | 0 | 0.076923 | 0.012821 | 0.192308 | 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 |
14241cb5ec264fb8193292d4a5861f0065dfa6b4 | 635 | py | Python | src/export_model.py | SFI-Visual-Intelligence/hovernet-pipeline | 42e251a97aa4700494ec079b4f49996683cd2fd6 | [
"MIT"
] | 2 | 2021-03-26T08:25:48.000Z | 2021-04-03T15:04:10.000Z | src/export_model.py | SFI-Visual-Intelligence/hovernet-pipeline | 42e251a97aa4700494ec079b4f49996683cd2fd6 | [
"MIT"
] | 1 | 2022-03-18T11:53:56.000Z | 2022-03-18T11:53:56.000Z | src/export_model.py | SFI-Visual-Intelligence/hovernet-pipeline | 42e251a97aa4700494ec079b4f49996683cd2fd6 | [
"MIT"
] | 2 | 2022-03-18T13:23:25.000Z | 2022-03-19T08:21:03.000Z | import os
from tensorpack.tfutils.export import ModelExporter
from config import Config
from misc.utils import rm_n_mkdir
class Exporter(Config):
def run(self):
exporter = ModelExporter(self.gen_pred_config())
rm_n_mkdir(self.model_export_dir)
exporter.export_compact(filename="{}/compact.p... | 28.863636 | 87 | 0.692913 | 80 | 635 | 5.175 | 0.475 | 0.086957 | 0.144928 | 0.173913 | 0.154589 | 0.154589 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201575 | 635 | 21 | 88 | 30.238095 | 0.816568 | 0 | 0 | 0 | 0 | 0 | 0.129134 | 0.037795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.235294 | 0 | 0.352941 | 0.058824 | 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 |
1425be12a20f0448c7d7a93cb2dc25ecac3410d9 | 399 | py | Python | supp_modules/inspect_metadata.py | tonychang-cspinc/AIforEarth-Forest-Disturbance | 922c7735f332d8c7cb54fc0f84f791d9d95b5b37 | [
"MIT"
] | null | null | null | supp_modules/inspect_metadata.py | tonychang-cspinc/AIforEarth-Forest-Disturbance | 922c7735f332d8c7cb54fc0f84f791d9d95b5b37 | [
"MIT"
] | null | null | null | supp_modules/inspect_metadata.py | tonychang-cspinc/AIforEarth-Forest-Disturbance | 922c7735f332d8c7cb54fc0f84f791d9d95b5b37 | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
meta = pd.read_csv('csv_data/ALL_TREES.csv', low_memory=False).fillna(0)
nonwdlmeta = np.unique(meta[meta['DRYBIO_BOLE'] == 0]['PLT_CN'].tolist())
nonwdlmeta = pd.DataFrame(pd.Series(nonwdlmeta, index=range(len(nonwdlmeta))))
nonwdlmeta.to_csv('No... | 36.272727 | 78 | 0.759398 | 64 | 399 | 4.609375 | 0.5625 | 0.054237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.077694 | 399 | 10 | 79 | 39.9 | 0.796196 | 0 | 0 | 0 | 0 | 0 | 0.14787 | 0.055138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.125 | 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 |
142d94f8da0899c080ddcce1a21aa9348854ba8d | 11,682 | py | Python | old_logen/pylogen/SourceFrame.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | 14 | 2015-10-16T11:35:30.000Z | 2021-05-12T15:31:16.000Z | old_logen/pylogen/SourceFrame.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | null | null | null | old_logen/pylogen/SourceFrame.py | leuschel/logen | 0ea806f54628162615e25177c3ed98f6b2c27935 | [
"Apache-2.0"
] | 5 | 2015-10-16T12:44:41.000Z | 2019-10-02T02:45:38.000Z | from ScrollText import ScrollText
from Tkinter import *
from PrologFrame import PrologFrame
from Prolog import PrologException
from FastIndex import FastIndex
import ErrDialog
import re
import AnnotationColours
#import Colour
import parser
def startCompare(x, y):
(xLine, xCol) = x[1].split('.')
(yLine, yCol... | 37.928571 | 116 | 0.539206 | 1,369 | 11,682 | 4.430241 | 0.191381 | 0.047486 | 0.045342 | 0.023083 | 0.25573 | 0.188129 | 0.145589 | 0.087881 | 0.070899 | 0.044188 | 0 | 0.006054 | 0.335473 | 11,682 | 307 | 117 | 38.052117 | 0.775216 | 0.057011 | 0 | 0.150215 | 0 | 0 | 0.085652 | 0.007365 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004292 | 0.038627 | null | null | 0.021459 | 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 |
14317943913cece2d780510a9975b8860b659da6 | 1,680 | py | Python | build/build/void/makepkg/astroid/src/astroid/site_scons/site_tools/notmuch_test_db.py | scobiehague/dotfiles | b5819fb09be3d0b1ed43ef1a56d6f196609ec47b | [
"MIT"
] | 117 | 2015-02-14T14:35:49.000Z | 2022-03-02T01:46:23.000Z | build/build/void/makepkg/astroid/src/astroid/site_scons/site_tools/notmuch_test_db.py | scobiehague/dotfiles | b5819fb09be3d0b1ed43ef1a56d6f196609ec47b | [
"MIT"
] | 4 | 2019-03-28T23:51:42.000Z | 2022-02-23T08:45:25.000Z | build/build/void/makepkg/astroid/src/astroid/site_scons/site_tools/notmuch_test_db.py | scobiehague/dotfiles | b5819fb09be3d0b1ed43ef1a56d6f196609ec47b | [
"MIT"
] | 23 | 2015-11-28T01:49:27.000Z | 2021-12-13T16:17:54.000Z | import SCons.Builder
import os
import shutil
from subprocess import Popen
def nmAction(target, source, env):
'''
set up notmuch test db in target directory
'''
config = os.path.abspath(os.path.join (os.path.curdir, 'test/mail/test_config'))
env['ENV']['NOTMUCH_CONFIG'] = config
# run notmuch
myenv = o... | 21.818182 | 103 | 0.65 | 234 | 1,680 | 4.623932 | 0.42735 | 0.05915 | 0.055453 | 0.049908 | 0.127542 | 0.086876 | 0.086876 | 0.086876 | 0.086876 | 0.086876 | 0 | 0.001485 | 0.198214 | 1,680 | 76 | 104 | 22.105263 | 0.801782 | 0.041667 | 0 | 0.043478 | 0 | 0 | 0.214236 | 0.069109 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.043478 | 0.086957 | null | null | 0.021739 | 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 |
143aaff6e0270b393f25c85c3ddbdb16133a3597 | 510 | py | Python | flaskr/__init__.py | AmazingSuka/Asper | 7e01e316f5aee13a708d28eeab5f76b708855809 | [
"MIT"
] | null | null | null | flaskr/__init__.py | AmazingSuka/Asper | 7e01e316f5aee13a708d28eeab5f76b708855809 | [
"MIT"
] | 5 | 2021-03-09T17:21:10.000Z | 2022-02-26T17:36:54.000Z | flaskr/__init__.py | DulkinDmitriy/Asper | 7e01e316f5aee13a708d28eeab5f76b708855809 | [
"MIT"
] | null | null | null | import os
from flask import Flask
def create_app(test_config = None):
app = Flask(__name__, instance_relative_config = True)
app.config.from_mapping(SECRET_KEY = 'dev')
if test_config is None:
app.config.from_pyfile('config.py', silent = True)
else:
app.config.from_mapping(test_confi... | 21.25 | 58 | 0.631373 | 66 | 510 | 4.651515 | 0.530303 | 0.09772 | 0.127036 | 0.130293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268627 | 510 | 24 | 59 | 21.25 | 0.823056 | 0 | 0 | 0 | 0 | 0 | 0.066536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0.058824 | 0.117647 | 0.058824 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
143b0e2411b84f0cf4ed9e0bf226c14cae1dc05c | 581 | py | Python | sovtokenfees/sovtokenfees/test/multipleio/test_multiple_io_xfer.py | burdettadam/token-plugin | 7d981d0edca174b00e20a0e46c125bbeca399bae | [
"Apache-2.0"
] | 9 | 2018-10-26T04:59:51.000Z | 2021-06-10T13:30:51.000Z | sovtokenfees/sovtokenfees/test/multipleio/test_multiple_io_xfer.py | burdettadam/token-plugin | 7d981d0edca174b00e20a0e46c125bbeca399bae | [
"Apache-2.0"
] | 29 | 2018-09-11T17:07:00.000Z | 2021-04-16T20:22:19.000Z | sovtokenfees/sovtokenfees/test/multipleio/test_multiple_io_xfer.py | burdettadam/token-plugin | 7d981d0edca174b00e20a0e46c125bbeca399bae | [
"Apache-2.0"
] | 26 | 2018-09-11T16:49:40.000Z | 2021-06-06T10:43:55.000Z | import pytest
from sovtokenfees.test.constants import XFER_PUBLIC_FEES_ALIAS
@pytest.fixture(
scope='module',
params=[
{XFER_PUBLIC_FEES_ALIAS: 0}, # no fees
{XFER_PUBLIC_FEES_ALIAS: 4}, # with fees
], ids=lambda x: 'fees' if x[XFER_PUBLIC_FEES_ALIAS] else 'nofees'
)
def fees(request):
... | 21.518519 | 70 | 0.716007 | 77 | 581 | 5.012987 | 0.506494 | 0.103627 | 0.145078 | 0.196891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004283 | 0.196213 | 581 | 26 | 71 | 22.346154 | 0.82227 | 0.02926 | 0 | 0.095238 | 0 | 0 | 0.028521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.095238 | 0.047619 | 0.238095 | 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 |
143d750c57dea06b9b9127623beeedbaa062f3ff | 271 | py | Python | openprocurement/edge/tests/health.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 3 | 2017-05-17T08:19:30.000Z | 2017-12-14T07:24:36.000Z | openprocurement/edge/tests/health.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 45 | 2016-10-19T13:34:53.000Z | 2018-03-13T14:05:13.000Z | openprocurement/edge/tests/health.py | kroman0/openprocurement.edge | e5ad9a3bbb64c10cf529e940ab0018061fcdc4f4 | [
"Apache-2.0"
] | 9 | 2016-10-13T02:38:37.000Z | 2018-08-15T09:12:00.000Z | # -*- coding: utf-8 -*-
from openprocurement.edge.tests.base import BaseWebTest
class HealthTest(BaseWebTest):
def test_health_view(self):
response = self.app.get('/health', status=503)
self.assertEqual(response.status, '503 Service Unavailable')
| 24.636364 | 68 | 0.704797 | 32 | 271 | 5.90625 | 0.78125 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.166052 | 271 | 10 | 69 | 27.1 | 0.80531 | 0.077491 | 0 | 0 | 0 | 0 | 0.120968 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
1443e34c0cbe2b8b760be924de5351375ee16c18 | 425 | py | Python | leetcode/1283-reformat-date.py | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | leetcode/1283-reformat-date.py | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | leetcode/1283-reformat-date.py | Magic07/online-judge-solutions | 02a289dd7eb52d7eafabc97bd1a043213b65f70a | [
"MIT"
] | null | null | null | class Solution:
def reformatDate(self, date: str) -> str:
pattern = re.compile(r'[0-9]+')
dateList=date.split(' ')
day=pattern.findall(dateList[0])[0]
monthList=["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
month=monthList.index(da... | 47.222222 | 103 | 0.536471 | 55 | 425 | 4.145455 | 0.672727 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027439 | 0.228235 | 425 | 9 | 104 | 47.222222 | 0.667683 | 0 | 0 | 0 | 0 | 0 | 0.107656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1445c0eca55fed6c619b8ee9abe7183bddd3962d | 2,039 | py | Python | src/WebApp/Test/page.py | sakshiigupta/TumorInsight | 9f49e718e0a2e6afa28332c7564b2215c7ee197d | [
"MIT"
] | 1 | 2021-05-18T15:22:38.000Z | 2021-05-18T15:22:38.000Z | src/WebApp/Test/page.py | sakshiigupta/TumorInsight | 9f49e718e0a2e6afa28332c7564b2215c7ee197d | [
"MIT"
] | null | null | null | src/WebApp/Test/page.py | sakshiigupta/TumorInsight | 9f49e718e0a2e6afa28332c7564b2215c7ee197d | [
"MIT"
] | 4 | 2021-05-18T16:22:00.000Z | 2022-02-02T14:02:11.000Z | from locator import *
from element import BasePageElement
from helper import *
class LoginUser(BasePageElement):
locator = "/html/body/div[1]/div/div/form/div[1]/input"
class LoginPass(BasePageElement):
locator = "/html/body/div/div/div/form/div[2]/input"
class SignupUser(BasePageElement):
locator = "... | 28.71831 | 90 | 0.702795 | 257 | 2,039 | 5.420233 | 0.2607 | 0.129218 | 0.080402 | 0.120603 | 0.644652 | 0.585786 | 0.585786 | 0.585786 | 0.363245 | 0.330223 | 0 | 0.011869 | 0.173615 | 2,039 | 70 | 91 | 29.128571 | 0.814837 | 0 | 0 | 0.148936 | 0 | 0 | 0.136832 | 0.10103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148936 | false | 0.085106 | 0.06383 | 0 | 0.638298 | 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 |
1446083bc6b142051534c0112c4cc3b32c38e2cb | 354 | py | Python | fantasydraft/draft/migrations/0051_alter_fantasyteam_unique_together.py | PhiloTFarnsworth/FantasyDraftPrototype | edcd75f1a61799f76d63d62d140fbc9b514931a3 | [
"MIT"
] | null | null | null | fantasydraft/draft/migrations/0051_alter_fantasyteam_unique_together.py | PhiloTFarnsworth/FantasyDraftPrototype | edcd75f1a61799f76d63d62d140fbc9b514931a3 | [
"MIT"
] | null | null | null | fantasydraft/draft/migrations/0051_alter_fantasyteam_unique_together.py | PhiloTFarnsworth/FantasyDraftPrototype | edcd75f1a61799f76d63d62d140fbc9b514931a3 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.7 on 2021-11-03 20:34
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('draft', '0050_league_completed'),
]
operations = [
migrations.AlterUniqueTogether(
name='fantasyteam',
unique_together={('na... | 19.666667 | 49 | 0.59887 | 35 | 354 | 5.971429 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074219 | 0.276836 | 354 | 17 | 50 | 20.823529 | 0.742188 | 0.127119 | 0 | 0 | 1 | 0 | 0.153094 | 0.068404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1446273b14fd29dbdd7a9144ab67efab9b9f8ad4 | 13,340 | py | Python | contrib/convertConditions/ConvertConditions.py | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | null | null | null | contrib/convertConditions/ConvertConditions.py | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | null | null | null | contrib/convertConditions/ConvertConditions.py | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | null | null | null | #
# This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
#
# This program 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 2 of the License, or
# (at your option) ... | 40.06006 | 173 | 0.565967 | 1,590 | 13,340 | 4.661006 | 0.181132 | 0.007826 | 0.009715 | 0.010255 | 0.415194 | 0.344893 | 0.272973 | 0.267575 | 0.267575 | 0.253272 | 0 | 0.059208 | 0.312519 | 13,340 | 332 | 174 | 40.180723 | 0.748882 | 0.146777 | 0 | 0.30303 | 0 | 0.008658 | 0.183544 | 0.018451 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012987 | 0.008658 | null | null | 0.08658 | 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 |
144b9a27d5fd3c1c6f807c4972f0596a2f9a15fc | 19,808 | py | Python | old_versions/TCA_2_1/TCA_V_2_1_1/code/TCAAlgorithm.py | OSADP/TCA | 25bc1c1db00393cc6b8c6764610bf381494dfcb9 | [
"Apache-2.0"
] | 1 | 2021-05-22T00:06:09.000Z | 2021-05-22T00:06:09.000Z | old_versions/TCA_2_1/TCA_V_2_1_1/code/TCAAlgorithm.py | OSADP/TCA | 25bc1c1db00393cc6b8c6764610bf381494dfcb9 | [
"Apache-2.0"
] | null | null | null | old_versions/TCA_2_1/TCA_V_2_1_1/code/TCAAlgorithm.py | OSADP/TCA | 25bc1c1db00393cc6b8c6764610bf381494dfcb9 | [
"Apache-2.0"
] | null | null | null | #Standard
import unittest
#TCA
from TCANetData import CLNetData
from TCABuffer import CLBuffer
from TCACore import Chk_Range, report_errors, Chk_Cellular_Range, Get_Heading
class TCA_Algorithm:
def __init__(self, CF):
#Load RSE Data
self.RSE = CLNetData()
if CF.Control["RSELocationFile"] ... | 48.430318 | 135 | 0.548011 | 2,239 | 19,808 | 4.723091 | 0.138455 | 0.045957 | 0.02383 | 0.024113 | 0.430638 | 0.358487 | 0.309882 | 0.265816 | 0.182033 | 0.16227 | 0 | 0.007867 | 0.306947 | 19,808 | 408 | 136 | 48.54902 | 0.762456 | 0.181947 | 0 | 0.216867 | 0 | 0 | 0.208499 | 0.036849 | 0 | 0 | 0 | 0.002451 | 0 | 0 | null | null | 0 | 0.016064 | null | null | 0.052209 | 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 |
145880055821b5eee5d0ba35084d318dda35ea22 | 1,929 | py | Python | sleepdungeon/base/sprite.py | robuf/sleepdungeon | d4b0b06eb5037b16ab5ded2a331763fe2df10ab1 | [
"MIT"
] | 6 | 2018-12-13T17:35:40.000Z | 2020-02-22T21:53:01.000Z | sleepdungeon/base/sprite.py | robuf/sleepdungeon | d4b0b06eb5037b16ab5ded2a331763fe2df10ab1 | [
"MIT"
] | 1 | 2018-11-21T06:14:13.000Z | 2018-11-21T07:34:00.000Z | sleepdungeon/base/sprite.py | robuf/sleepdungeon | d4b0b06eb5037b16ab5ded2a331763fe2df10ab1 | [
"MIT"
] | 1 | 2018-11-15T17:37:51.000Z | 2018-11-15T17:37:51.000Z | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Tuple
from abc import ABC, abstractmethod
import pygame
from .context import Context
from .position import Position
from .game_constants import SpriteType
from ..render_context import RenderContext
class Sprite(ABC):
__sprites = set()
tile_siz... | 25.72 | 69 | 0.649559 | 222 | 1,929 | 5.387387 | 0.274775 | 0.163043 | 0.063545 | 0.065217 | 0.053512 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.270088 | 1,929 | 74 | 70 | 26.067568 | 0.841619 | 0.02281 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0.066667 | 0.116667 | 0.016667 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
14602d282527ce76b9045b0e6484184d2bf86cf8 | 666 | py | Python | Week 1/grok/Exercises/time it/time_it.py | anandprabhakar0507/Assignments-Data-Driven-Astronomy-from-University-of-sydney-on-coursera- | 58fab1c413d7ad5693b1d63f14be05b0f5ec448c | [
"MIT"
] | 4 | 2021-07-02T02:57:31.000Z | 2022-02-01T17:31:14.000Z | Week 1/grok/Exercises/time it/time_it.py | anandprabhakar0507/Assignments-Data-Driven-Astronomy-from-University-of-sydney-on-coursera- | 58fab1c413d7ad5693b1d63f14be05b0f5ec448c | [
"MIT"
] | null | null | null | Week 1/grok/Exercises/time it/time_it.py | anandprabhakar0507/Assignments-Data-Driven-Astronomy-from-University-of-sydney-on-coursera- | 58fab1c413d7ad5693b1d63f14be05b0f5ec448c | [
"MIT"
] | 3 | 2021-07-12T21:54:43.000Z | 2022-02-01T17:31:42.000Z | import numpy as np
import statistics
import time
def time_stat(func, size, ntrials):
total = 0
# the time to generate the random array should not be included
for i in range(ntrials):
data = np.random.rand(size)
# modify this function to time func with ntrials times using a new random array each ti... | 33.3 | 92 | 0.683183 | 104 | 666 | 4.25 | 0.528846 | 0.054299 | 0.067873 | 0.049774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028355 | 0.205706 | 666 | 19 | 93 | 35.052632 | 0.807183 | 0.264264 | 0 | 0 | 1 | 0 | 0.115632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 0.142857 | 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 |
14620ec098e0bae320df0260eee500714ca331ab | 1,788 | py | Python | array/36_valid_sudoku.py | shawlu95/Algorithm-Toolbox | b6c7b2228d8e70e0842e0bad607533a2c8322cf0 | [
"MIT"
] | null | null | null | array/36_valid_sudoku.py | shawlu95/Algorithm-Toolbox | b6c7b2228d8e70e0842e0bad607533a2c8322cf0 | [
"MIT"
] | null | null | null | array/36_valid_sudoku.py | shawlu95/Algorithm-Toolbox | b6c7b2228d8e70e0842e0bad607533a2c8322cf0 | [
"MIT"
] | 2 | 2020-02-07T20:49:02.000Z | 2020-02-11T06:01:55.000Z |
class Solution(object):
def isValidSudoku(self, board):
return (self.is_row_valid(board) and
self.is_col_valid(board) and
self.is_square_valid(board))
def is_row_valid(self, board):
for row in board:
if not self.is_unit_valid(row):
... | 28.380952 | 88 | 0.350671 | 208 | 1,788 | 2.918269 | 0.225962 | 0.059308 | 0.072488 | 0.054366 | 0.401977 | 0.339374 | 0.177924 | 0.095552 | 0.095552 | 0.095552 | 0 | 0.05236 | 0.241611 | 1,788 | 63 | 89 | 28.380952 | 0.39528 | 0.015101 | 0 | 0.44898 | 0 | 0 | 0.092772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0 | 0.020408 | 0.285714 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
146b78fee2a431646dc737a184104f370a095662 | 780 | py | Python | tests/selenium/guiops/pages/landingpage.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | null | null | null | tests/selenium/guiops/pages/landingpage.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | 10 | 2018-03-28T17:25:16.000Z | 2021-03-05T10:15:06.000Z | tests/selenium/guiops/pages/landingpage.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | 1 | 2019-06-07T20:43:45.000Z | 2019-06-07T20:43:45.000Z | from basepage import BasePage
class LandingPage(BasePage):
def __init__(self, tester):
self.tester = tester
_refresh_button_id = "refresh-btn"
_item_count_css = ".items-found>.ng-binding"
_page_title_id = "pagetitle"
_dashboard_icon_css = "i.fi-home"
_list_view_icon = "a#tableview-bu... | 28.888889 | 97 | 0.732051 | 107 | 780 | 4.841122 | 0.542056 | 0.057915 | 0.042471 | 0.07722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00155 | 0.173077 | 780 | 26 | 98 | 30 | 0.80155 | 0.047436 | 0 | 0 | 0 | 0 | 0.237449 | 0.09905 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.058824 | 0 | 0.882353 | 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 |
147284a625dfc6c32e68fba1bab1235a38187dd9 | 432 | py | Python | frappe/email/utils.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | frappe/email/utils.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | frappe/email/utils.py | oryxsolutions/frappe | d193ea22d17ca40d57432040a8afad72287d9e23 | [
"MIT"
] | null | null | null | # Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# License: MIT. See LICENSE
import imaplib
import poplib
from frappe.utils import cint
def get_port(doc):
if not doc.incoming_port:
if doc.use_imap:
doc.incoming_port = imaplib.IMAP4_SSL_PORT if doc.use_ssl else imaplib.IMAP4_PORT
else:
... | 24 | 84 | 0.780093 | 71 | 432 | 4.549296 | 0.450704 | 0.136223 | 0.185759 | 0.111455 | 0.136223 | 0.136223 | 0.136223 | 0 | 0 | 0 | 0 | 0.021739 | 0.148148 | 432 | 17 | 85 | 25.411765 | 0.855978 | 0.212963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.3 | 0 | 0.5 | 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 |
147299d2167d04da1f647a0d2e527bbde08947b1 | 681 | py | Python | users/migrations/0005_auto_20200921_2249.py | gafderks/dbase | 4089cf220740afd7fcc0ae68fcd6185829a60eae | [
"Apache-2.0"
] | null | null | null | users/migrations/0005_auto_20200921_2249.py | gafderks/dbase | 4089cf220740afd7fcc0ae68fcd6185829a60eae | [
"Apache-2.0"
] | 281 | 2020-04-03T15:22:46.000Z | 2022-03-31T20:53:28.000Z | users/migrations/0005_auto_20200921_2249.py | gafderks/dbase | 4089cf220740afd7fcc0ae68fcd6185829a60eae | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.1 on 2020-09-21 20:49
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("users", "0004_auto_20200809_2123"),
]
operations = [
migrations.AlterField(
model_name="user",
... | 25.222222 | 76 | 0.552129 | 72 | 681 | 5.111111 | 0.666667 | 0.065217 | 0.076087 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069507 | 0.345081 | 681 | 26 | 77 | 26.192308 | 0.755605 | 0.066079 | 0 | 0.1 | 1 | 0 | 0.157729 | 0.036278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
147805b685259aa0e6d3dc0158e4c4bdcd193160 | 262 | py | Python | run-tests.py | koodaa-team/flask-oldsessions | 5f0b3ed4889a507768585d1e305f2760fa1eb297 | [
"BSD-3-Clause"
] | 1 | 2017-09-04T08:02:26.000Z | 2017-09-04T08:02:26.000Z | run-tests.py | koodaa-team/flask-oldsessions | 5f0b3ed4889a507768585d1e305f2760fa1eb297 | [
"BSD-3-Clause"
] | 1 | 2015-02-04T17:15:58.000Z | 2015-04-07T17:57:38.000Z | run-tests.py | mitsuhiko/flask-oldsessions | 5bcf36bc43802debaba267aa579bca1e0dabbd72 | [
"BSD-3-Clause"
] | null | null | null | import sys
from flask import Flask
import flask_oldsessions
from flask.testsuite import main
def _run_test(name):
sys.argv[:] = sys.argv[:1]
cls = getattr(flask_oldsessions, name)
Flask.session_interface = cls()
main()
_run_test(sys.argv[1])
| 17.466667 | 42 | 0.717557 | 38 | 262 | 4.763158 | 0.447368 | 0.116022 | 0.176796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.175573 | 262 | 14 | 43 | 18.714286 | 0.828704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 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 |
14794b7ffda8c1a538d9b626110998b624ac54d9 | 2,930 | py | Python | assignment4/a4_queries_mongo_post.py | ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases | cde39e22d82362f4ebb771677ab838946c89bb52 | [
"MIT"
] | null | null | null | assignment4/a4_queries_mongo_post.py | ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases | cde39e22d82362f4ebb771677ab838946c89bb52 | [
"MIT"
] | null | null | null | assignment4/a4_queries_mongo_post.py | ekselan/DS-Unit-3-Sprint-2-SQL-and-Databases | cde39e22d82362f4ebb771677ab838946c89bb52 | [
"MIT"
] | null | null | null | import pymongo
import os
from dotenv import load_dotenv
### ESTABLISH POSTGRES CONNECTION
load_dotenv()
DB_USER = os.getenv("MONGO_USER", default="OOPS")
DB_PASSWORD = os.getenv("MONGO_PASSWORD", default="OOPS")
CLUSTER_NAME = os.getenv("MONGO_CLUSTER_NAME", default="OOPS")
connection_uri = f"mongodb+srv://{DB_USER... | 26.880734 | 150 | 0.697952 | 383 | 2,930 | 5.167102 | 0.326371 | 0.084891 | 0.072764 | 0.084891 | 0.0667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000399 | 0.143686 | 2,930 | 109 | 151 | 26.880734 | 0.788362 | 0.507509 | 0 | 0 | 0 | 0.030303 | 0.24782 | 0.094477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.060606 | 0.090909 | 0 | 0.090909 | 0.333333 | 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 |
147eb442937c62f20cd58b2ac37a0db502e663d7 | 4,222 | py | Python | recipes/Python/578828_Indexing_text_files_with_Python/recipe-578828.py | tdiprima/code | 61a74f5f93da087d27c70b2efe779ac6bd2a3b4f | [
"MIT"
] | 2,023 | 2017-07-29T09:34:46.000Z | 2022-03-24T08:00:45.000Z | recipes/Python/578828_Indexing_text_files_with_Python/recipe-578828.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 32 | 2017-09-02T17:20:08.000Z | 2022-02-11T17:49:37.000Z | recipes/Python/578828_Indexing_text_files_with_Python/recipe-578828.py | unhacker/code | 73b09edc1b9850c557a79296655f140ce5e853db | [
"MIT"
] | 780 | 2017-07-28T19:23:28.000Z | 2022-03-25T20:39:41.000Z | """
text_file_indexer.py
A program to index a text file.
Author: Vasudev Ram - www.dancingbison.com
Copyright 2014 Vasudev Ram
Given a text file somefile.txt, the program will read it completely,
and while doing so, record the occurrences of each unique word,
and the line numbers on which they occur. This information... | 35.779661 | 75 | 0.630744 | 609 | 4,222 | 4.252874 | 0.277504 | 0.037838 | 0.027027 | 0.027799 | 0.073745 | 0.051737 | 0.051737 | 0.051737 | 0 | 0 | 0 | 0.009374 | 0.292515 | 4,222 | 117 | 76 | 36.08547 | 0.857717 | 0.105874 | 0 | 0.118644 | 0 | 0 | 0.114311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.067797 | null | null | 0.033898 | 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 |
14868b870149563563289f4db905325868b916cc | 575 | py | Python | dfwtaichi/users/migrations/0006_user_sponsor.py | bchip50/dfwtaichi-pc | 95a6c286db5fb01b125a4808b4c47214bf4f68c4 | [
"MIT"
] | null | null | null | dfwtaichi/users/migrations/0006_user_sponsor.py | bchip50/dfwtaichi-pc | 95a6c286db5fb01b125a4808b4c47214bf4f68c4 | [
"MIT"
] | null | null | null | dfwtaichi/users/migrations/0006_user_sponsor.py | bchip50/dfwtaichi-pc | 95a6c286db5fb01b125a4808b4c47214bf4f68c4 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.11 on 2020-12-12 22:52
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('users', '0005_remove_user_home_address'),
]
operations = [
migrations.Add... | 27.380952 | 171 | 0.676522 | 71 | 575 | 5.352113 | 0.661972 | 0.063158 | 0.073684 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044346 | 0.215652 | 575 | 20 | 172 | 28.75 | 0.798226 | 0.08 | 0 | 0 | 1 | 0 | 0.1537 | 0.055028 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1486f99341339ef5c05f6f7a37f8567fefe47745 | 262 | py | Python | 02_oop/01_classes_and_objects/08_access_modifiers_public.py | doanthanhnhan/learningPY | 93c10c5225a306c791402095e1cf0b454f31d0c2 | [
"MIT"
] | 1 | 2021-04-04T02:39:05.000Z | 2021-04-04T02:39:05.000Z | 02_oop/01_classes_and_objects/08_access_modifiers_public.py | doanthanhnhan/learningPY | 93c10c5225a306c791402095e1cf0b454f31d0c2 | [
"MIT"
] | null | null | null | 02_oop/01_classes_and_objects/08_access_modifiers_public.py | doanthanhnhan/learningPY | 93c10c5225a306c791402095e1cf0b454f31d0c2 | [
"MIT"
] | null | null | null | # Public Attributes
class Employee:
def __init__(self, ID, salary):
# all properties are public
self.ID = ID
self.salary = salary
def displayID(self):
print("ID:", self.ID)
Steve = Employee(3789, 2500)
Steve.displayID()
print(Steve.salary) | 18.714286 | 33 | 0.679389 | 35 | 262 | 4.971429 | 0.485714 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.198473 | 262 | 14 | 34 | 18.714286 | 0.790476 | 0.164122 | 0 | 0 | 0 | 0 | 0.013825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.333333 | 0.222222 | 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 |
14878f31f8efdee12e633a2d2ceb6b32d52486d9 | 807 | py | Python | soma-matrizes.py | DariaMachado/Algoritmos_Python | 1ad8827f1bb0b7298309d457c995fbd5a2c066fd | [
"MIT"
] | 1 | 2021-07-21T01:53:58.000Z | 2021-07-21T01:53:58.000Z | soma-matrizes.py | DariaMachado/Algoritmos_Python | 1ad8827f1bb0b7298309d457c995fbd5a2c066fd | [
"MIT"
] | null | null | null | soma-matrizes.py | DariaMachado/Algoritmos_Python | 1ad8827f1bb0b7298309d457c995fbd5a2c066fd | [
"MIT"
] | null | null | null | m: int; n: int; j: int; i: int
m = int(input("Quantas linhas vai ter cada matriz? "))
n = int(input("Quantas colunas vai ter cada matriz? "))
A: [[int]] = [[0 for x in range(n)] for x in range(m)]
B: [[int]] = [[0 for x in range(n)] for x in range(m)]
C: [[int]] = [[0 for x in range(n)] for x in range(m)]
print("Dig... | 22.416667 | 55 | 0.52912 | 164 | 807 | 2.603659 | 0.182927 | 0.229508 | 0.149883 | 0.154567 | 0.669789 | 0.669789 | 0.538642 | 0.538642 | 0.440281 | 0.440281 | 0 | 0.018122 | 0.247831 | 807 | 35 | 56 | 23.057143 | 0.685338 | 0 | 0 | 0.363636 | 0 | 0 | 0.242839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.227273 | 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 |
148d6a6099a159d5d18b6df33aa663af6a1a2c63 | 4,103 | py | Python | system/analysis/tag_vsm.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | 4 | 2019-02-17T22:01:12.000Z | 2021-01-13T06:59:41.000Z | system/analysis/tag_vsm.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | null | null | null | system/analysis/tag_vsm.py | sfsm565826960/Novel2Love | ce7e8d12fedc48573f4b783cc261160b907a2c62 | [
"MIT"
] | null | null | null | #encoding=utf-8
#################
# 基于VSM进行标签分析,获取最相似的前N个小说
################
from json import dumps
from config import connect_db
from tools.similar.vsm import vsm
from time import time
def import_tag_data(cur, table, nids):
t_nids = []
word_group = []
letter_group = []
nids = list(set(nids)) # nids去... | 43.648936 | 167 | 0.626371 | 527 | 4,103 | 4.629981 | 0.278937 | 0.053279 | 0.004918 | 0.019672 | 0.196721 | 0.17541 | 0.135246 | 0.135246 | 0.041803 | 0.041803 | 0 | 0.080605 | 0.225932 | 4,103 | 93 | 168 | 44.11828 | 0.687657 | 0.138923 | 0 | 0.173913 | 0 | 0.028986 | 0.16031 | 0.018927 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.101449 | null | null | 0.15942 | 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 |
148dbaf8a03deea28dd3ba412bcc647172ecd6ab | 554 | py | Python | sensors/RFID.py | tec-csf/reto-iot-en-supermercado-2019-nova-iot-supermarket | 0eb643132478a06477404dcd86c4359869ec7d81 | [
"MIT"
] | 1 | 2019-10-28T14:58:14.000Z | 2019-10-28T14:58:14.000Z | sensors/RFID.py | tec-csf/reto-iot-en-supermercado-2019-nova-iot-supermarket | 0eb643132478a06477404dcd86c4359869ec7d81 | [
"MIT"
] | null | null | null | sensors/RFID.py | tec-csf/reto-iot-en-supermercado-2019-nova-iot-supermarket | 0eb643132478a06477404dcd86c4359869ec7d81 | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
import subprocess
from datetime import datetime
from pprint import pprint
import sys
import time
card = ''
counter = 1
while True:
rfid = open('/dev/bus/usb/001/021', 'rb')
RFID_input = rfid.read()
#RFID_output = rfid.write(card)
print(f"read {counter}: ", RFID_input... | 22.16 | 67 | 0.646209 | 78 | 554 | 4.525641 | 0.538462 | 0.101983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023585 | 0.234657 | 554 | 24 | 68 | 23.083333 | 0.808962 | 0.054152 | 0 | 0.090909 | 0 | 0 | 0.181644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.318182 | 0 | 0.318182 | 0.227273 | 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 |
14903218c3520f5b9752d8d8b2689bd50ab823a6 | 317 | py | Python | server/server/apps/users/urls.py | zws910/library_server | 20fe332494d1b0a27e70d3a508dd2484b206f806 | [
"MIT"
] | null | null | null | server/server/apps/users/urls.py | zws910/library_server | 20fe332494d1b0a27e70d3a508dd2484b206f806 | [
"MIT"
] | null | null | null | server/server/apps/users/urls.py | zws910/library_server | 20fe332494d1b0a27e70d3a508dd2484b206f806 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from rest_framework import routers
from rest_framework_jwt.views import obtain_jwt_token
from .views import *
urlpatterns = [
url(r'^mobiles/count/$', MobileCountView.as_view()),
url(r'^login/account', obtain_jwt_token),
url(r'^currentUser', CurrentUserView.as_view())
] | 28.818182 | 56 | 0.757098 | 44 | 317 | 5.25 | 0.545455 | 0.051948 | 0.147186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123028 | 317 | 11 | 57 | 28.818182 | 0.830935 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 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 |
14905f7820050d4504e599fa5d521f97fded6a74 | 1,708 | py | Python | helperFiles/configParser.py | Marissa4/RPyCA | e3c229361a4cd9ddd53accc5541b7c8b5f8939e0 | [
"MIT"
] | null | null | null | helperFiles/configParser.py | Marissa4/RPyCA | e3c229361a4cd9ddd53accc5541b7c8b5f8939e0 | [
"MIT"
] | null | null | null | helperFiles/configParser.py | Marissa4/RPyCA | e3c229361a4cd9ddd53accc5541b7c8b5f8939e0 | [
"MIT"
] | null | null | null | import sys, configparser
from math import floor
from fractions import Fraction
from .matrixOp import frange
from collections import OrderedDict
# NOTE File path starts where main.py executes
config = configparser.ConfigParser()
filePath = 'config.ini'
# Reads config file and returns variables
# TODO enforce input ty... | 44.947368 | 134 | 0.601874 | 148 | 1,708 | 6.945946 | 0.47973 | 0.058366 | 0.015564 | 0.035019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002402 | 0.268735 | 1,708 | 37 | 135 | 46.162162 | 0.820657 | 0.14637 | 0 | 0 | 0 | 0 | 0.214335 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.074074 | false | 0 | 0.185185 | 0.037037 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
149122281e97ee5eac5eef9100e7758949342a03 | 632 | py | Python | jwtest/spider/getcaptcha.py | nwsuafzq/djangotest | 159c11f56496611c8d8cd2fce05a26e8b3b305aa | [
"MIT"
] | null | null | null | jwtest/spider/getcaptcha.py | nwsuafzq/djangotest | 159c11f56496611c8d8cd2fce05a26e8b3b305aa | [
"MIT"
] | null | null | null | jwtest/spider/getcaptcha.py | nwsuafzq/djangotest | 159c11f56496611c8d8cd2fce05a26e8b3b305aa | [
"MIT"
] | null | null | null | #coding:utf-8
import requests
from django.template import Context, Template
from django.shortcuts import render
class getcap:
def get_captcha(request):
CAPTCHA_URL = "http://jw.qdu.edu.cn/academic/getCaptcha.do"
session = requests.session()
image = session.get(CAPTCHA_URL)
request.se... | 37.176471 | 81 | 0.675633 | 74 | 632 | 5.716216 | 0.540541 | 0.094563 | 0.080378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002004 | 0.210443 | 632 | 17 | 81 | 37.176471 | 0.845691 | 0.018987 | 0 | 0 | 0 | 0 | 0.151613 | 0.033871 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14971519836a27f47fd60b504453c5c23d6cc392 | 778 | py | Python | binarysearch.io/181_level_with_minimum_sum.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | 2 | 2020-06-25T21:10:32.000Z | 2020-12-10T06:53:45.000Z | binarysearch.io/181_level_with_minimum_sum.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | null | null | null | binarysearch.io/181_level_with_minimum_sum.py | mishrakeshav/Competitive-Programming | b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2 | [
"MIT"
] | 3 | 2020-05-15T14:17:09.000Z | 2021-07-25T13:18:20.000Z | # class Tree:
# def __init__(self, val, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def solve(self, root):
stack = []
stack.append(root)
level = -1
min_sum = float('inf')
l = 0
... | 24.3125 | 53 | 0.372751 | 78 | 778 | 3.628205 | 0.384615 | 0.063604 | 0.091873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011204 | 0.541131 | 778 | 32 | 54 | 24.3125 | 0.781513 | 0.177378 | 0 | 0 | 0 | 0 | 0.004724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14a440853649d74a95b564962d928b469b2ab234 | 2,486 | py | Python | rafter/http.py | olivier-m/rafter | aafcf8fd019f24abcf519307c4484cc6b4697c04 | [
"MIT"
] | 1 | 2018-09-10T14:04:22.000Z | 2018-09-10T14:04:22.000Z | rafter/http.py | olivier-m/rafter | aafcf8fd019f24abcf519307c4484cc6b4697c04 | [
"MIT"
] | null | null | null | rafter/http.py | olivier-m/rafter | aafcf8fd019f24abcf519307c4484cc6b4697c04 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
.. autoclass:: rafter.http.Request
.. autoclass:: rafter.http.Response
"""
from sanic.request import Request as BaseRequest
from sanic.response import HTTPResponse, json_dumps
__all__ = ('Response',)
class Request(BaseRequest):
"""
This class is the default :class:`rafter.app.Ra... | 29.951807 | 78 | 0.620274 | 298 | 2,486 | 5.060403 | 0.402685 | 0.026525 | 0.025199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002822 | 0.287208 | 2,486 | 82 | 79 | 30.317073 | 0.848194 | 0.561947 | 0 | 0.086957 | 0 | 0 | 0.027149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.086957 | 0.478261 | 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 |
14ab0084d42f017384358179f34fbdfa394cf322 | 2,064 | py | Python | src/sage/categories/commutative_algebras.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/categories/commutative_algebras.py | Ivo-Maffei/sage | 467fbc70a08b552b3de33d9065204ee9cbfb02c7 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/categories/commutative_algebras.py | dimpase/sage | 468f23815ade42a2192b0a9cd378de8fdc594dcd | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | r"""
Commutative algebras
"""
#*****************************************************************************
# Copyright (C) 2005 David Kohel <kohel@maths.usyd.edu>
# William Stein <wstein@math.ucsd.edu>
# 2008-2009 Nicolas M. Thiery <nthiery at users.sf.net>
#
# Distribut... | 33.836066 | 101 | 0.593508 | 222 | 2,064 | 5.427928 | 0.45045 | 0.078838 | 0.06971 | 0.072199 | 0.128631 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010982 | 0.25 | 2,064 | 60 | 102 | 34.4 | 0.767442 | 0.710271 | 0 | 0 | 0 | 0 | 0.033573 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14ad6e7f9be56de1be7159fda12459f9b4f5e2da | 578 | py | Python | setup.py | wood2soils/glitch | 3a86bd5507c7a2bda47f9d2f9aaefbcab80e1789 | [
"MIT"
] | null | null | null | setup.py | wood2soils/glitch | 3a86bd5507c7a2bda47f9d2f9aaefbcab80e1789 | [
"MIT"
] | null | null | null | setup.py | wood2soils/glitch | 3a86bd5507c7a2bda47f9d2f9aaefbcab80e1789 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from setuptools import setup
setup(
name = "glitch",
version = "1.4",
description = "glitch jpg files",
license = 'MIT',
author = "trsqxyz",
author_email = "trsqxyz@gmail.com",
url = "https://github.com/trsqxyz/glitch",
classifiers = [
"Programming Langua... | 21.407407 | 48 | 0.553633 | 57 | 578 | 5.54386 | 0.719298 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009828 | 0.295848 | 578 | 26 | 49 | 22.230769 | 0.766585 | 0.034602 | 0 | 0 | 0 | 0 | 0.443447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
14ade5b6c916854aa30bf7b483a877ac9fc0cb57 | 4,343 | py | Python | bin/acs.py | kant/ridership | 144ec7831bf55644f47dae1f7b6446bc7156d9e3 | [
"MIT"
] | null | null | null | bin/acs.py | kant/ridership | 144ec7831bf55644f47dae1f7b6446bc7156d9e3 | [
"MIT"
] | null | null | null | bin/acs.py | kant/ridership | 144ec7831bf55644f47dae1f7b6446bc7156d9e3 | [
"MIT"
] | null | null | null | import os.path
import json
import grequests
import pandas as pd
from carto import replace_data
import settings
def process_result(i, y, var, indexes, frames):
result = pd.DataFrame(i.json())
result.columns = result.iloc[0]
result = result.reindex(result.index.drop(0))
result['GEOID'] = pd.Series(
... | 37.765217 | 94 | 0.434723 | 438 | 4,343 | 4.23516 | 0.333333 | 0.038814 | 0.038814 | 0.043127 | 0.0469 | 0.025876 | 0 | 0 | 0 | 0 | 0 | 0.007658 | 0.428736 | 4,343 | 114 | 95 | 38.096491 | 0.740024 | 0 | 0 | 0.1 | 0 | 0 | 0.115819 | 0.018881 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.01 | 0.06 | 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 |
14b074e37654633c8f475dc1ea26a594f4125019 | 608 | py | Python | core/migrations/0003_auto_20171012_1411.py | alanjhone/sysOS | d164efa8e135539a792c98df3b91a7af626095e9 | [
"MIT"
] | null | null | null | core/migrations/0003_auto_20171012_1411.py | alanjhone/sysOS | d164efa8e135539a792c98df3b91a7af626095e9 | [
"MIT"
] | null | null | null | core/migrations/0003_auto_20171012_1411.py | alanjhone/sysOS | d164efa8e135539a792c98df3b91a7af626095e9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-12 14:11
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0002_auto_20171002_1646'),
]
operations = ... | 26.434783 | 138 | 0.652961 | 70 | 608 | 5.5 | 0.671429 | 0.062338 | 0.072727 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07234 | 0.226974 | 608 | 22 | 139 | 27.636364 | 0.746809 | 0.111842 | 0 | 0 | 1 | 0 | 0.119181 | 0.042831 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
14b96dad77c375f29aa50f51bd567a5e50b94352 | 1,817 | py | Python | biserici_inlemnite/app/migrations/0028_auto_20210924_1541.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/app/migrations/0028_auto_20210924_1541.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | biserici_inlemnite/app/migrations/0028_auto_20210924_1541.py | ck-tm/biserici-inlemnite | c9d12127b92f25d3ab2fcc7b4c386419fe308a4e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.13 on 2021-09-24 12:41
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('nomenclatoare', '0011_formasarpanteturle_historicalformasarpanteturle_historicalpozitionareturle... | 38.659574 | 200 | 0.652174 | 174 | 1,817 | 6.632184 | 0.408046 | 0.093588 | 0.119584 | 0.140381 | 0.443674 | 0.384749 | 0.360485 | 0.190641 | 0.097054 | 0.097054 | 0 | 0.025899 | 0.235003 | 1,817 | 46 | 201 | 39.5 | 0.804317 | 0.025316 | 0 | 0.45 | 1 | 0 | 0.250424 | 0.102318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.15 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.