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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d4a7a0c0e985bc9cd6761844cb3bff84eac950c1 | 9,012 | gyp | Python | third_party/WebKit/Source/bindings/modules/generated.gyp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | third_party/WebKit/Source/bindings/modules/generated.gyp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/bindings/modules/generated.gyp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Generate IDL interfaces info for modules, used to generate bindings
#
# Design doc: http://www.chromium.org/developers/design-documents/idl-build
{
'inc... | 38.025316 | 140 | 0.597204 | 745 | 9,012 | 6.816107 | 0.189262 | 0.065577 | 0.100827 | 0.099252 | 0.564395 | 0.492911 | 0.349744 | 0.306026 | 0.243206 | 0.243206 | 0 | 0.002241 | 0.207723 | 9,012 | 236 | 141 | 38.186441 | 0.708964 | 0.128939 | 0 | 0.495238 | 1 | 0 | 0.663595 | 0.534727 | 0 | 0 | 0 | 0.004237 | 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 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4ab9c482ff6c78331e8db7ef24fc3bc6aabb7a4 | 106 | py | Python | Souped Up Salmon 2/it_exercises/makeit/makeit5.py | TheRealNutellaSwan/Souped-Up-Salmon-2 | af0fe063b899a1f139b40972f8fedb16b9114a61 | [
"MIT"
] | null | null | null | Souped Up Salmon 2/it_exercises/makeit/makeit5.py | TheRealNutellaSwan/Souped-Up-Salmon-2 | af0fe063b899a1f139b40972f8fedb16b9114a61 | [
"MIT"
] | null | null | null | Souped Up Salmon 2/it_exercises/makeit/makeit5.py | TheRealNutellaSwan/Souped-Up-Salmon-2 | af0fe063b899a1f139b40972f8fedb16b9114a61 | [
"MIT"
] | null | null | null | """
Make a program that ask user for a series of numbers (10 in total) and calculates their average.
""" | 35.333333 | 97 | 0.716981 | 18 | 106 | 4.222222 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.198113 | 106 | 3 | 98 | 35.333333 | 0.870588 | 0.90566 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4bebc044f8e9b83aa543834e77b7a1244425fe9 | 180 | py | Python | ecommerce/apps.py | OkothPius/Masoko-Ecommerce | 9b2ad6ab0ede56ae000fdb355075ccd1dc280363 | [
"MIT"
] | 4 | 2020-03-12T09:32:33.000Z | 2021-01-20T13:01:15.000Z | ecommerce/apps.py | OkothPius/Masoko-Ecommerce | 9b2ad6ab0ede56ae000fdb355075ccd1dc280363 | [
"MIT"
] | 1 | 2022-01-13T15:27:13.000Z | 2022-01-13T15:27:13.000Z | ecommerce/apps.py | OkothPius/Masoko-Ecommerce | 9b2ad6ab0ede56ae000fdb355075ccd1dc280363 | [
"MIT"
] | 3 | 2020-03-22T10:51:49.000Z | 2021-01-20T13:02:02.000Z | from django.apps import AppConfig
class EcommerceConfig(AppConfig):
name = 'ecommerce'
def ready(self):
#import signal handlers
import ecommerce.signals
| 18 | 33 | 0.694444 | 19 | 180 | 6.578947 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238889 | 180 | 9 | 34 | 20 | 0.912409 | 0.122222 | 0 | 0 | 0 | 0 | 0.057325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d4d03207ad0b4b525f5a5461b0937f7410e94ec5 | 930 | py | Python | stocksdata/exchanges.py | LatticeData/StockDataPythonClient | cb6a6fe348af7efc9f396a8b8a36e3452eb3630a | [
"Apache-2.0"
] | 4 | 2021-08-09T03:37:41.000Z | 2021-08-17T21:42:54.000Z | stocksdata/exchanges.py | LatticeData/StockDataPythonClient | cb6a6fe348af7efc9f396a8b8a36e3452eb3630a | [
"Apache-2.0"
] | null | null | null | stocksdata/exchanges.py | LatticeData/StockDataPythonClient | cb6a6fe348af7efc9f396a8b8a36e3452eb3630a | [
"Apache-2.0"
] | 1 | 2021-08-24T22:50:42.000Z | 2021-08-24T22:50:42.000Z | from stocksdata.util.ttlcache import daily_cache
from stocksdata.util.get import *
## exchanges #####################################################################################################################################
@daily_cache
def all_public_companies():
return get_json("/market/all-public-compani... | 33.214286 | 146 | 0.66129 | 105 | 930 | 5.619048 | 0.247619 | 0.118644 | 0.132203 | 0.19322 | 0.60678 | 0.494915 | 0.430508 | 0 | 0 | 0 | 0 | 0 | 0.076344 | 930 | 28 | 147 | 33.214286 | 0.686845 | 0.009677 | 0 | 0.3 | 0 | 0 | 0.289172 | 0.243312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0.3 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d4dbec990dbfb89b152c17508faef0f7e75b982e | 163 | py | Python | selections/tournament.py | aleksanderujek/knapsack-problem | 42ab0887e84979ebcc18d80a1f9269ce46088346 | [
"MIT"
] | null | null | null | selections/tournament.py | aleksanderujek/knapsack-problem | 42ab0887e84979ebcc18d80a1f9269ce46088346 | [
"MIT"
] | null | null | null | selections/tournament.py | aleksanderujek/knapsack-problem | 42ab0887e84979ebcc18d80a1f9269ce46088346 | [
"MIT"
] | null | null | null | import numpy as np
def tournament(population, k = 3):
elements = np.random.choice(population.individuals, k)
return max(elements, key=lambda x: x.fitness) | 32.6 | 58 | 0.730061 | 24 | 163 | 4.958333 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.159509 | 163 | 5 | 59 | 32.6 | 0.861314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d4eeeb03772f7eda0e88ed660e770a47135031eb | 278 | py | Python | tests/test_history.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | tests/test_history.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | tests/test_history.py | sharpertool/teamgen | 272c3a8cc8bd296a34fd944026227cdf75b3d8e4 | [
"MIT"
] | null | null | null | from unittest import TestCase
from teamgen import (Meeting, MatchRound, Team, Player)
class TestBalancedRound:
@classmethod
def setUpTestData(cls):
pass
def setUp(self):
pass
def test_get_history(self):
"""
"""
pass | 14.631579 | 55 | 0.607914 | 28 | 278 | 5.964286 | 0.75 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31295 | 278 | 19 | 56 | 14.631579 | 0.874346 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
be0312651f414d045928cbdba7bb9f2a2bf84926 | 8,125 | py | Python | tests/orchestrator/test_sequential_orchestrator.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | tests/orchestrator/test_sequential_orchestrator.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | tests/orchestrator/test_sequential_orchestrator.py | pblocz/azure-functions-durable-python | 59e77089d4d9934aff4c884b55e3df6f350d03fe | [
"MIT"
] | null | null | null | from .orchestrator_test_utils \
import assert_orchestration_state_equals, get_orchestration_state_result, assert_valid_schema
from tests.test_utils.ContextBuilder import ContextBuilder
from azure.durable_functions.models.OrchestratorState import OrchestratorState
from azure.durable_functions.models.actions.CallActi... | 36.434978 | 97 | 0.745477 | 952 | 8,125 | 5.960084 | 0.12395 | 0.09852 | 0.041946 | 0.062037 | 0.784808 | 0.771237 | 0.717836 | 0.687522 | 0.678005 | 0.678005 | 0 | 0.004556 | 0.162585 | 8,125 | 222 | 98 | 36.599099 | 0.829365 | 0.043938 | 0 | 0.721519 | 0 | 0 | 0.079638 | 0.00905 | 0 | 0 | 0 | 0 | 0.094937 | 1 | 0.088608 | false | 0 | 0.031646 | 0.006329 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be05d0714193a02ed6e9b19c1d1d20b118368716 | 131 | py | Python | mysite/polls/apps.py | Gikeda2016/Gitflow-Django | e02e6afc53a947cc7a6f128f565bd2ad6dca646c | [
"MIT"
] | null | null | null | mysite/polls/apps.py | Gikeda2016/Gitflow-Django | e02e6afc53a947cc7a6f128f565bd2ad6dca646c | [
"MIT"
] | null | null | null | mysite/polls/apps.py | Gikeda2016/Gitflow-Django | e02e6afc53a947cc7a6f128f565bd2ad6dca646c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PollsConfig(AppConfig): ## foi citado no settings em INSTALLED_APPS
name = 'polls'
| 21.833333 | 75 | 0.748092 | 17 | 131 | 5.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 131 | 5 | 76 | 26.2 | 0.906542 | 0.305344 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07922819649fc8e6a92e76cf60b55884d2c1ba0f | 1,196 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/IMG/multisampled_render_to_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/IMG/multisampled_render_to_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GLES2/IMG/multisampled_render_to_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p, arrays
# Code generation uses this
from OpenGL.raw.GLES2 import _types as _cs
# End users want this...
from OpenGL.raw.GLES2._types import *
from OpenGL.raw.GLES2 import _errors
from OpenGL.constant import Constant as _C
... | 49.833333 | 138 | 0.826087 | 170 | 1,196 | 5.394118 | 0.411765 | 0.065431 | 0.054526 | 0.058888 | 0.329335 | 0.122137 | 0.045802 | 0 | 0 | 0 | 0 | 0.024545 | 0.080268 | 1,196 | 23 | 139 | 52 | 0.809091 | 0.083612 | 0 | 0.105263 | 1 | 0 | 0.17636 | 0.159475 | 0 | 0 | 0.022514 | 0 | 0 | 1 | 0.157895 | false | 0.105263 | 0.315789 | 0.052632 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
07a4a0db166a06f0f5f92d9f2e0e2ae15b3f0034 | 4,512 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/KHR/blend_equation_advanced.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/KHR/blend_equation_advanced.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/KHR/blend_equation_advanced.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension KHR.blend_equation_advanced
This module customises the behaviour of the
OpenGL.raw.GL.KHR.blend_equation_advanced to provide a more
Python-friendly API
Overview (from the spec)
This extension adds a number of "advanced" blending equations that can be
used to perform new color blendi... | 53.082353 | 76 | 0.802527 | 638 | 4,512 | 5.60815 | 0.398119 | 0.0436 | 0.049189 | 0.073784 | 0.127725 | 0.075182 | 0.051705 | 0.025154 | 0.025154 | 0 | 0 | 0.00214 | 0.171543 | 4,512 | 85 | 77 | 53.082353 | 0.955056 | 0.981826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07ab6ebcc021aa4895f74cc6f8a5293cafc1651e | 240 | py | Python | alphalens/__init__.py | liudengfeng/alphalens | 03b10c63f6d4fdef5d557549373fbaadeae0fd0e | [
"Apache-2.0"
] | null | null | null | alphalens/__init__.py | liudengfeng/alphalens | 03b10c63f6d4fdef5d557549373fbaadeae0fd0e | [
"Apache-2.0"
] | null | null | null | alphalens/__init__.py | liudengfeng/alphalens | 03b10c63f6d4fdef5d557549373fbaadeae0fd0e | [
"Apache-2.0"
] | null | null | null | from . import performance
from . import plotting
from . import tears
from . import utils
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
__all__ = ['performance', 'plotting', 'tears', 'utils']
| 20 | 55 | 0.75 | 29 | 240 | 5.793103 | 0.37931 | 0.238095 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 240 | 11 | 56 | 21.818182 | 0.815534 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07f7bb6c020d0bf16fa9a9b98739915d95ab83a2 | 84 | py | Python | ejercicios_python/Clase08/practica8-2.py | hcgalvan/UNSAM-Python-programming | c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f | [
"MIT"
] | null | null | null | ejercicios_python/Clase08/practica8-2.py | hcgalvan/UNSAM-Python-programming | c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f | [
"MIT"
] | null | null | null | ejercicios_python/Clase08/practica8-2.py | hcgalvan/UNSAM-Python-programming | c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Oct 21 18:04:04 2021
@author: User
"""
| 10.5 | 35 | 0.559524 | 14 | 84 | 3.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 0.214286 | 84 | 7 | 36 | 12 | 0.515152 | 0.869048 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed07559c5a2fb64653fea206c153b114dd809094 | 238 | py | Python | areahood/admin.py | naiyoma/Hood | 7920b077ce3118332b4477b7d55d3ced2c7702c8 | [
"Unlicense"
] | null | null | null | areahood/admin.py | naiyoma/Hood | 7920b077ce3118332b4477b7d55d3ced2c7702c8 | [
"Unlicense"
] | null | null | null | areahood/admin.py | naiyoma/Hood | 7920b077ce3118332b4477b7d55d3ced2c7702c8 | [
"Unlicense"
] | null | null | null | from django.contrib import admin
from .models import Profile,Post,Neighbourhood,Location
# Register your models here.
admin.site.register(Profile)
admin.site.register(Post)
admin.site.register(Neighbourhood)
admin.site.register(Location)
| 29.75 | 55 | 0.831933 | 32 | 238 | 6.1875 | 0.4375 | 0.181818 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 238 | 7 | 56 | 34 | 0.895928 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed0c3e40d27a4c81b681589ca0bb5bd3628681f7 | 333 | py | Python | linkml_runtime/dumpers/__init__.py | deepakunni3/linkml-runtime | 145e9b41e5a62462f912942713600286923dea05 | [
"CC0-1.0"
] | null | null | null | linkml_runtime/dumpers/__init__.py | deepakunni3/linkml-runtime | 145e9b41e5a62462f912942713600286923dea05 | [
"CC0-1.0"
] | null | null | null | linkml_runtime/dumpers/__init__.py | deepakunni3/linkml-runtime | 145e9b41e5a62462f912942713600286923dea05 | [
"CC0-1.0"
] | null | null | null | from linkml_runtime.dumpers.json_dumper import JSONDumper
from linkml_runtime.dumpers.rdf_dumper import RDFDumper
from linkml_runtime.dumpers.yaml_dumper import YAMLDumper
from linkml_runtime.dumpers.csv_dumper import CSVDumper
json_dumper = JSONDumper()
rdf_dumper = RDFDumper()
yaml_dumper = YAMLDumper()
csv_dumper =... | 33.3 | 57 | 0.852853 | 44 | 333 | 6.181818 | 0.318182 | 0.147059 | 0.25 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087087 | 333 | 9 | 58 | 37 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed0cae1ade8e5df3e128e59cde2d1f409ca13f0e | 30,470 | py | Python | contractor/lib/config_test.py | T3kton/contractor | dd78f5b770ee7b5c41cddfc0a61869908b96e385 | [
"Apache-2.0"
] | 5 | 2019-02-15T15:55:56.000Z | 2020-08-02T03:36:44.000Z | contractor/lib/config_test.py | T3kton/contractor | dd78f5b770ee7b5c41cddfc0a61869908b96e385 | [
"Apache-2.0"
] | 4 | 2017-05-17T22:18:41.000Z | 2020-05-10T03:46:33.000Z | contractor/lib/config_test.py | T3kton/contractor | dd78f5b770ee7b5c41cddfc0a61869908b96e385 | [
"Apache-2.0"
] | 4 | 2017-05-09T21:05:51.000Z | 2020-09-25T16:37:20.000Z | import pytest
from datetime import datetime, timedelta, timezone
from django.core.exceptions import ValidationError
from contractor.Site.models import Site
from contractor.BluePrint.models import StructureBluePrint, FoundationBluePrint
from contractor.Building.models import Foundation, Structure
from contractor.lib.co... | 38.667513 | 187 | 0.439153 | 2,627 | 30,470 | 4.838219 | 0.070803 | 0.051928 | 0.077891 | 0.067742 | 0.824941 | 0.795594 | 0.733438 | 0.701259 | 0.631235 | 0.599764 | 0 | 0.026816 | 0.397867 | 30,470 | 787 | 188 | 38.716645 | 0.66594 | 0.001444 | 0 | 0.655791 | 0 | 0.001631 | 0.213713 | 0.042762 | 0 | 0 | 0 | 0 | 0.195759 | 1 | 0.021207 | false | 0.001631 | 0.011419 | 0 | 0.034258 | 0.050571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
ed0e076496ae86a207b4b9296bd4d3dd3767dd69 | 142 | py | Python | kaztron/cog/modnotes/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 6 | 2018-07-04T20:41:01.000Z | 2021-09-08T08:10:34.000Z | kaztron/cog/modnotes/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 259 | 2018-05-01T22:41:32.000Z | 2022-02-08T23:25:00.000Z | kaztron/cog/modnotes/__init__.py | Laogeodritt/KazTron | 42f35e520875b458ffde7c2729865c95de606aca | [
"MIT"
] | 6 | 2019-04-16T22:13:15.000Z | 2021-12-15T08:06:38.000Z | from .modnotes import ModNotes, ModNotesConfig
from .controller import init_db
def setup(bot):
init_db()
bot.add_cog(ModNotes(bot))
| 17.75 | 46 | 0.746479 | 20 | 142 | 5.15 | 0.6 | 0.116505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 7 | 47 | 20.285714 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed148a01b7e8b651bcc824ea3e058bc61cf18a44 | 132 | py | Python | dev/tools/rpc/rpctest.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | dev/tools/rpc/rpctest.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | dev/tools/rpc/rpctest.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | import pyjsonrpc
http_client = pyjsonrpc.HttpClient(url = 'http://localhost:8080')
print 'Connected'
print http_client.ping('test') | 26.4 | 65 | 0.780303 | 17 | 132 | 5.941176 | 0.705882 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.083333 | 132 | 5 | 66 | 26.4 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ed2abfa948cd8cf531f21d69f0666950a15f4824 | 55 | py | Python | rx_scheduler/__init__.py | ryazantseff/rxpy-scheduler | afa75ce7db8b6dbe5e6127e87119d8fb33ade8dd | [
"MIT"
] | null | null | null | rx_scheduler/__init__.py | ryazantseff/rxpy-scheduler | afa75ce7db8b6dbe5e6127e87119d8fb33ade8dd | [
"MIT"
] | null | null | null | rx_scheduler/__init__.py | ryazantseff/rxpy-scheduler | afa75ce7db8b6dbe5e6127e87119d8fb33ade8dd | [
"MIT"
] | null | null | null | from .scheduler import Scheduler
from .task import Task | 27.5 | 32 | 0.836364 | 8 | 55 | 5.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 33 | 27.5 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed2cbef4b40bca393e92f6bbf9c1ee270c3c2da4 | 27 | py | Python | jexia_sdk/__init__.py | jexia/jexia-sdk-python | 6e934222f06ac7600f3f86940480899f570b226f | [
"MIT"
] | 3 | 2020-03-05T19:29:38.000Z | 2021-04-06T11:27:52.000Z | jexia_sdk/__init__.py | jexia/jexia-sdk-python | 6e934222f06ac7600f3f86940480899f570b226f | [
"MIT"
] | null | null | null | jexia_sdk/__init__.py | jexia/jexia-sdk-python | 6e934222f06ac7600f3f86940480899f570b226f | [
"MIT"
] | 1 | 2021-05-03T15:02:38.000Z | 2021-05-03T15:02:38.000Z | __version__ = '0.0.1.dev6'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed2e70ed8fd15f5fc56a147ccd1f629f9e7af6d5 | 9,212 | py | Python | monitoring/google/cloud/monitoring_v3/proto/uptime_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 2 | 2021-11-26T07:08:43.000Z | 2022-03-07T20:20:04.000Z | monitoring/google/cloud/monitoring_v3/proto/uptime_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 6 | 2019-05-27T22:05:58.000Z | 2019-08-05T16:46:16.000Z | monitoring/google/cloud/monitoring_v3/proto/uptime_service_pb2_grpc.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 1 | 2020-04-14T10:47:41.000Z | 2020-04-14T10:47:41.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.monitoring_v3.proto import (
uptime_pb2 as google_dot_cloud_dot_monitoring__v3_dot_proto_dot_uptime__pb2,
)
from google.cloud.monitoring_v3.proto import (
uptime_service_pb2 as google_dot_cloud_dot_monitoring__v... | 57.937107 | 152 | 0.782566 | 989 | 9,212 | 6.853387 | 0.169869 | 0.058424 | 0.049572 | 0.060195 | 0.735173 | 0.725583 | 0.721452 | 0.63116 | 0.618176 | 0.618176 | 0 | 0.008144 | 0.160226 | 9,212 | 158 | 153 | 58.303797 | 0.86802 | 0.206253 | 0 | 0.313725 | 1 | 0 | 0.114067 | 0.070334 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.039216 | 0 | 0.137255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed64e4ca72742e8a1d2fac5c5d26503ed29f5b0e | 80 | py | Python | a2e/processing/__init__.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | 1 | 2021-03-19T09:09:41.000Z | 2021-03-19T09:09:41.000Z | a2e/processing/__init__.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | null | null | null | a2e/processing/__init__.py | maechler/a2e | c28f546ca5fc3fdb9c740ea5f0f85d2aca044a00 | [
"MIT"
] | null | null | null | """
The module `a2e.processing` provides pre- and post-processing utilities
"""
| 20 | 71 | 0.7375 | 10 | 80 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.125 | 80 | 3 | 72 | 26.666667 | 0.828571 | 0.8875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed7170a7c08a2646bba4e0bc8e96080c06dd5249 | 361 | py | Python | src/manage.py | numb95/Sabato | 0d5e196671c3fa7053157cb049619a18e22b4646 | [
"MIT"
] | 1 | 2020-09-03T18:13:14.000Z | 2020-09-03T18:13:14.000Z | src/manage.py | numb95/Sabato | 0d5e196671c3fa7053157cb049619a18e22b4646 | [
"MIT"
] | null | null | null | src/manage.py | numb95/Sabato | 0d5e196671c3fa7053157cb049619a18e22b4646 | [
"MIT"
] | null | null | null | from flask import Flask, jsonify
import config
import requests
from healthcheck import nodes
app = Flask(__name__)
@app.route('/healthcheck/slave')
def slave_health():
return jsonify(nodes.slave_status())
@app.route('/healthcheck/master')
def master_health():
return jsonify(nodes.master_status())
if __name... | 20.055556 | 41 | 0.745152 | 47 | 361 | 5.382979 | 0.468085 | 0.063241 | 0.150198 | 0.189723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130194 | 361 | 18 | 42 | 20.055556 | 0.805732 | 0 | 0 | 0 | 0 | 0 | 0.124309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.307692 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
ed73f85deca341a82daf6746727758b5210e7a7e | 2,412 | py | Python | NetworkRouting/app.py | josephmoyer/WALKOFF-Apps | 26ecc045563b1edb1e6803cfd943173dfcd35579 | [
"CC0-1.0"
] | 96 | 2018-05-13T05:28:12.000Z | 2022-03-15T22:49:47.000Z | NetworkRouting/app.py | josephmoyer/WALKOFF-Apps | 26ecc045563b1edb1e6803cfd943173dfcd35579 | [
"CC0-1.0"
] | 8 | 2018-10-24T14:15:31.000Z | 2019-05-10T17:59:36.000Z | NetworkRouting/app.py | josephmoyer/WALKOFF-Apps | 26ecc045563b1edb1e6803cfd943173dfcd35579 | [
"CC0-1.0"
] | 34 | 2018-08-15T20:25:52.000Z | 2022-02-16T07:38:01.000Z | import logging
import socket
import time
import subprocess
from apps import App, action
logger = logging.getLogger("apps")
@action
def log_traffic(logFromIP, protocol):
print("logging:")
ips = logFromIP.split(" ")
for ip in ips:
print(ip)
args = ['iptables', '-A', 'INPUT', '-p', p... | 26.8 | 132 | 0.56592 | 289 | 2,412 | 4.681661 | 0.283737 | 0.103474 | 0.07391 | 0.088692 | 0.740577 | 0.715447 | 0.708795 | 0.708795 | 0.675536 | 0.623799 | 0 | 0.01507 | 0.229685 | 2,412 | 89 | 133 | 27.101124 | 0.713132 | 0.19859 | 0 | 0.545455 | 0 | 0 | 0.173777 | 0.015088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.090909 | 0 | 0.309091 | 0.127273 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c520240923b7c5b3123f5b1295020bd66ea94bc | 22 | py | Python | lib/twest/__init__.py | erkyrath/tworld | 9f5237771196b03753d027277ffc296e25fd7425 | [
"MIT"
] | 38 | 2015-01-03T16:59:20.000Z | 2021-10-13T09:15:53.000Z | lib/twest/__init__.py | Oreolek/tworld | 9f5237771196b03753d027277ffc296e25fd7425 | [
"MIT"
] | 32 | 2015-01-04T01:59:34.000Z | 2016-05-20T16:29:26.000Z | lib/twest/__init__.py | Oreolek/tworld | 9f5237771196b03753d027277ffc296e25fd7425 | [
"MIT"
] | 7 | 2015-10-08T21:01:20.000Z | 2020-05-21T17:42:54.000Z | """
Unit testing.
"""
| 5.5 | 13 | 0.5 | 2 | 22 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 3 | 14 | 7.333333 | 0.611111 | 0.590909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92fb85696970a80e307b9aaf5a6c60ff4a659b81 | 208 | py | Python | twilbert/__init__.py | jogonba2/TWilBert | 1653350f0b85ebdb36a62859f43906debfcbd0cb | [
"Apache-2.0"
] | 9 | 2020-06-28T23:53:32.000Z | 2021-12-16T01:32:19.000Z | twilbert/__init__.py | jogonba2/TWilBert | 1653350f0b85ebdb36a62859f43906debfcbd0cb | [
"Apache-2.0"
] | 1 | 2020-11-18T19:09:47.000Z | 2021-06-03T14:12:27.000Z | twilbert/__init__.py | jogonba2/TWilBert | 1653350f0b85ebdb36a62859f43906debfcbd0cb | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from . import layers
from . import applications
from . import models
from . import optimization
from . import utils
from . import preprocessing
__version__ = '1.0.0'
| 17.333333 | 38 | 0.783654 | 27 | 208 | 5.703704 | 0.481481 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.163462 | 208 | 11 | 39 | 18.909091 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
133077de5b18bff780f2127dcb81425561fb61bc | 777 | py | Python | src/python/pants/goal/pantsd_stats.py | gshuflin/pants | cf483ead6d4d4a4cc4fc4ae18e3b5b633509d933 | [
"Apache-2.0"
] | null | null | null | src/python/pants/goal/pantsd_stats.py | gshuflin/pants | cf483ead6d4d4a4cc4fc4ae18e3b5b633509d933 | [
"Apache-2.0"
] | null | null | null | src/python/pants/goal/pantsd_stats.py | gshuflin/pants | cf483ead6d4d4a4cc4fc4ae18e3b5b633509d933 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
class PantsDaemonStats:
"""Tracks various stats about the daemon."""
def __init__(self):
self.scheduler_metrics = {}
def set_scheduler_metrics(self, scheduler_metric... | 32.375 | 66 | 0.711712 | 96 | 777 | 5.458333 | 0.427083 | 0.274809 | 0.267176 | 0.137405 | 0.122137 | 0.122137 | 0 | 0 | 0 | 0 | 0 | 0.011218 | 0.196911 | 777 | 23 | 67 | 33.782609 | 0.828526 | 0.213642 | 0 | 0 | 0 | 0 | 0.122517 | 0.069536 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
133acfaccd3ab8c37ed90d0d6925c68752d2c498 | 160 | py | Python | Quiz/resources.py | MathewAaron/portal-for-competitive-exams-for-blind-students | 3ad24be54830d83cda01514102e185a44686b752 | [
"MIT"
] | null | null | null | Quiz/resources.py | MathewAaron/portal-for-competitive-exams-for-blind-students | 3ad24be54830d83cda01514102e185a44686b752 | [
"MIT"
] | null | null | null | Quiz/resources.py | MathewAaron/portal-for-competitive-exams-for-blind-students | 3ad24be54830d83cda01514102e185a44686b752 | [
"MIT"
] | null | null | null | from import_export import resources
from .models import Question
class QuestionResource(resources.ModelResource):
class meta:
model = Question | 26.666667 | 49 | 0.75625 | 17 | 160 | 7.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 160 | 6 | 50 | 26.666667 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13c4edaf85af51aec8e5c2817ee4e778bcf12e41 | 539 | py | Python | 02-array-seq/deque_demo.py | niyunsheng/got_it-python | 26d91e56a58c7423253066f65ffb03b90d822e86 | [
"MIT"
] | 1 | 2020-12-18T07:34:58.000Z | 2020-12-18T07:34:58.000Z | 02-array-seq/deque_demo.py | niyunsheng/got_it-python | 26d91e56a58c7423253066f65ffb03b90d822e86 | [
"MIT"
] | null | null | null | 02-array-seq/deque_demo.py | niyunsheng/got_it-python | 26d91e56a58c7423253066f65ffb03b90d822e86 | [
"MIT"
] | null | null | null | from collections import deque
dq = deque(range(10), maxlen=10)
print(dq) # deque([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], maxlen=10)
dq.rotate(3)
print(dq) # deque([7, 8, 9, 0, 1, 2, 3, 4, 5, 6], maxlen=10)
dq.rotate(-4)
print(dq) # deque([1, 2, 3, 4, 5, 6, 7, 8, 9, 0], maxlen=10)
dq.appendleft(-1)
print(dq) # deque([-1, 1, 2,... | 38.5 | 64 | 0.556586 | 120 | 539 | 2.5 | 0.241667 | 0.163333 | 0.24 | 0.08 | 0.226667 | 0.226667 | 0.206667 | 0.156667 | 0.156667 | 0.126667 | 0 | 0.226244 | 0.179963 | 539 | 14 | 64 | 38.5 | 0.452489 | 0.558442 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.461538 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
13ee8c6fe538445df9d6dc3be7721fe1b6f94808 | 29 | py | Python | HacoWeb/haco/hacoweb/tests.py | DeanORourke1996/haco | fc04d763735ca376c51e82e1f1be20b092ce751c | [
"MIT"
] | null | null | null | HacoWeb/haco/hacoweb/tests.py | DeanORourke1996/haco | fc04d763735ca376c51e82e1f1be20b092ce751c | [
"MIT"
] | null | null | null | HacoWeb/haco/hacoweb/tests.py | DeanORourke1996/haco | fc04d763735ca376c51e82e1f1be20b092ce751c | [
"MIT"
] | null | null | null |
# Create your tests here.
| 5.8 | 25 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 29 | 4 | 26 | 7.25 | 0.904762 | 0.793103 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b921b8b0ac46f30c77b22bc515d786ac2cf761c9 | 70 | py | Python | handypackages/textphrase/__init__.py | roundium/handypackages | b8a0e4952644144b31168f9a4ac8e743933d87c7 | [
"MIT"
] | 1 | 2019-07-31T11:40:06.000Z | 2019-07-31T11:40:06.000Z | handypackages/textphrase/__init__.py | roundium/handypackages | b8a0e4952644144b31168f9a4ac8e743933d87c7 | [
"MIT"
] | 10 | 2020-02-12T01:16:25.000Z | 2021-06-10T18:42:24.000Z | handypackages/textphrase/__init__.py | roundium/handypackages | b8a0e4952644144b31168f9a4ac8e743933d87c7 | [
"MIT"
] | 1 | 2019-07-31T11:40:18.000Z | 2019-07-31T11:40:18.000Z | default_app_config = 'handypackages.textphrase.apps.TextPhraseConfig'
| 35 | 69 | 0.871429 | 7 | 70 | 8.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 70 | 1 | 70 | 70 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.657143 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b92947707d136869f00165114998236cd437d4c8 | 579 | py | Python | virtual/journal/pdf/build.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | null | null | null | virtual/journal/pdf/build.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | 14 | 2019-10-23T00:01:18.000Z | 2022-03-11T23:38:52.000Z | virtual/journal/pdf/build.py | PyUnchained/books | 656d375765300accb1767a8ab1bf4b96c884539f | [
"MIT"
] | null | null | null | from .presets import trial_balance_preset, cash_book_preset, balace_sheet_preset, profit_and_loss_preset
def build_journal(virtual_journal):
return None
def build_journal_from_preset(virtual_journal, test = False):
if virtual_journal.rule.preset == 'TB':
return trial_balance_preset(virtual_journal)
if virtual_jo... | 38.6 | 104 | 0.818653 | 83 | 579 | 5.325301 | 0.325301 | 0.316742 | 0.226244 | 0.180995 | 0.371041 | 0.312217 | 0.312217 | 0.312217 | 0 | 0 | 0 | 0 | 0.098446 | 579 | 15 | 105 | 38.6 | 0.846743 | 0 | 0 | 0.153846 | 0 | 0 | 0.013793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0.076923 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b94de150022d169bb2d30cbdf724bb654276c67a | 477 | py | Python | default_value_in_class.py | Aaftab-Alam/PythonPractice | 9167fef1ac87f1560803418aff0c328884ca5df7 | [
"Apache-2.0"
] | null | null | null | default_value_in_class.py | Aaftab-Alam/PythonPractice | 9167fef1ac87f1560803418aff0c328884ca5df7 | [
"Apache-2.0"
] | null | null | null | default_value_in_class.py | Aaftab-Alam/PythonPractice | 9167fef1ac87f1560803418aff0c328884ca5df7 | [
"Apache-2.0"
] | null | null | null | class Vehicle:
def __init__(self, name, max_speed, mileage):
self.name = name
self.max_speed = max_speed
self.mileage = mileage
def seating_capacity(self, capacity):
return f"The seating capacity of a {self.name} is {capacity} passengers"
class Bus(Vehicle):
def seating_cap... | 29.8125 | 80 | 0.689727 | 64 | 477 | 4.9375 | 0.4375 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023747 | 0.205451 | 477 | 15 | 81 | 31.8 | 0.810026 | 0 | 0 | 0 | 0 | 0 | 0.155136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0 | 0.166667 | 0.583333 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
b95e7d37eeeaff87e6a0ae58438833d8de0eeaf1 | 522 | py | Python | src/ansible_navigator/ui_framework/__init__.py | didib/ansible-navigator | 62fdbd05f25fb2d79133b3ab207f53ac2f2d6d36 | [
"Apache-2.0"
] | null | null | null | src/ansible_navigator/ui_framework/__init__.py | didib/ansible-navigator | 62fdbd05f25fb2d79133b3ab207f53ac2f2d6d36 | [
"Apache-2.0"
] | 1 | 2022-02-04T02:38:15.000Z | 2022-02-04T02:38:15.000Z | src/ansible_navigator/ui_framework/__init__.py | ganeshrn/ansible-navigator | 1580b5e4a4d715fa4bb844bfeeb40f1ac8e628f6 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-17T09:45:18.000Z | 2021-11-17T09:45:18.000Z | """ ui_framework
"""
from .curses_defs import CursesLine
from .curses_defs import CursesLinePart
from .curses_defs import CursesLines
from .form import Form
from .form_utils import dict_to_form
from .form_utils import form_to_dict
from .form_utils import error_notification
from .form_utils import nonblocking_notifica... | 24.857143 | 48 | 0.833333 | 77 | 522 | 5.441558 | 0.298701 | 0.114558 | 0.171838 | 0.22673 | 0.257757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 522 | 20 | 49 | 26.1 | 0.91886 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b98262b23df97c0d3c1623d92fc8175b32cc4b17 | 2,854 | py | Python | tests/python/gaia-ui-tests/gaiatest/apps/system/regions/cards_view.py | wilsonpage/gaia | d0beeca2401ff90564dfcbe45ee5237d46605ab8 | [
"Apache-2.0"
] | 1 | 2019-09-07T18:44:40.000Z | 2019-09-07T18:44:40.000Z | tests/python/gaia-ui-tests/gaiatest/apps/system/regions/cards_view.py | wilsonpage/gaia | d0beeca2401ff90564dfcbe45ee5237d46605ab8 | [
"Apache-2.0"
] | 3 | 2016-09-10T15:41:48.000Z | 2016-09-10T15:42:41.000Z | tests/python/gaia-ui-tests/gaiatest/apps/system/regions/cards_view.py | wilsonpage/gaia | d0beeca2401ff90564dfcbe45ee5237d46605ab8 | [
"Apache-2.0"
] | 1 | 2016-01-25T22:23:32.000Z | 2016-01-25T22:23:32.000Z | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import time
from marionette.by import By
from marionette.marionette import Actions
from gaiatest.apps.base import Base
... | 40.771429 | 119 | 0.716188 | 422 | 2,854 | 4.528436 | 0.265403 | 0.043956 | 0.043956 | 0.047096 | 0.422815 | 0.333333 | 0.198325 | 0.097331 | 0.097331 | 0.049189 | 0 | 0.005534 | 0.176945 | 2,854 | 69 | 120 | 41.362319 | 0.808003 | 0.15452 | 0 | 0.047619 | 0 | 0 | 0.050354 | 0.017478 | 0 | 0 | 0 | 0.014493 | 0 | 1 | 0.261905 | false | 0 | 0.095238 | 0.119048 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b991c28d9180a065752a2a5fc4f7265386bb7637 | 109 | py | Python | station/controller/handlers/handler.py | GLO3013-E4/COViRondelle2021 | f8d23903d0a906e93a7698a555d90ebecdf83969 | [
"MIT"
] | null | null | null | station/controller/handlers/handler.py | GLO3013-E4/COViRondelle2021 | f8d23903d0a906e93a7698a555d90ebecdf83969 | [
"MIT"
] | null | null | null | station/controller/handlers/handler.py | GLO3013-E4/COViRondelle2021 | f8d23903d0a906e93a7698a555d90ebecdf83969 | [
"MIT"
] | null | null | null | class Handler:
def handle(self, handled_data=None):
pass
def unregister(self):
pass
| 15.571429 | 40 | 0.605505 | 13 | 109 | 5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311927 | 109 | 6 | 41 | 18.166667 | 0.866667 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
b9990dea67ffae5d1d2b367ee754c6789d275848 | 2,276 | py | Python | py/datacentric/schema/declaration/handler_declare_item.py | datacentricorg/datacentric-py | 40113ddfb68e62d98b880b3c7427db5cc9fbd8cd | [
"Apache-2.0"
] | 1 | 2020-02-03T18:32:42.000Z | 2020-02-03T18:32:42.000Z | py/datacentric/schema/declaration/handler_declare_item.py | datacentricorg/datacentric-py | 40113ddfb68e62d98b880b3c7427db5cc9fbd8cd | [
"Apache-2.0"
] | null | null | null | py/datacentric/schema/declaration/handler_declare_item.py | datacentricorg/datacentric-py | 40113ddfb68e62d98b880b3c7427db5cc9fbd8cd | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2013-present The DataCentric Authors.
#
# 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 o... | 36.126984 | 106 | 0.715729 | 315 | 2,276 | 5.133333 | 0.44127 | 0.029685 | 0.064317 | 0.084106 | 0.285714 | 0.285714 | 0.285714 | 0.269017 | 0.269017 | 0.269017 | 0 | 0.004242 | 0.171353 | 2,276 | 62 | 107 | 36.709677 | 0.853128 | 0.328207 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.9375 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9c1dec83dc3ab78ccc14464817ac9898924c6fe | 224 | py | Python | Snippets/intro-1/how_many_words.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | Snippets/intro-1/how_many_words.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | Snippets/intro-1/how_many_words.py | ursaMaj0r/python-csc-125 | 1d0968ad144112e24ae331c75aad58b74041593a | [
"MIT"
] | null | null | null | # input
input_words = []
input_word = input("Word: ")
# reponse
while input_word != '':
input_words.append(input_word)
input_word = input("Word: ")
print("You know {} unique word(s)!".format(len(set(input_words))))
| 22.4 | 66 | 0.665179 | 31 | 224 | 4.580645 | 0.451613 | 0.380282 | 0.394366 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 224 | 9 | 67 | 24.888889 | 0.747368 | 0.058036 | 0 | 0.333333 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9c48951e17925978dc7c85993cc704f2a0fc969 | 553 | py | Python | doping_test/TestCaseSelection.py | Biewer/Doping-Tests-for-Cyber-Physical-Systems-Tool | eb359ba618f0022dcd403edc99904f3ef2940e65 | [
"MIT"
] | null | null | null | doping_test/TestCaseSelection.py | Biewer/Doping-Tests-for-Cyber-Physical-Systems-Tool | eb359ba618f0022dcd403edc99904f3ef2940e65 | [
"MIT"
] | null | null | null | doping_test/TestCaseSelection.py | Biewer/Doping-Tests-for-Cyber-Physical-Systems-Tool | eb359ba618f0022dcd403edc99904f3ef2940e65 | [
"MIT"
] | null | null | null | class TestCaseSelection(object):
"""This class representents concrete implementations for test case selection startegies."""
# Three options for the three cases (as in Algorithm 1 from the paper)
OPTION_PASS = 1
OPTION_INPUT = 2
OPTION_OUTPUT = 3
def __init__(self):
super(TestCaseSelection, self).__init__()
... | 27.65 | 92 | 0.766727 | 70 | 553 | 5.814286 | 0.6 | 0.029484 | 0.04914 | 0.186732 | 0.255528 | 0.255528 | 0 | 0 | 0 | 0 | 0 | 0.008529 | 0.151899 | 553 | 20 | 93 | 27.65 | 0.859275 | 0.316456 | 0 | 0.2 | 0 | 0 | 0.172507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b9e0b92fec508ded3fa8ee23d921647f34786ded | 151 | py | Python | src/pretalx/mail/apps.py | lili668668/pretalx | 5ba2185ffd7c5f95254aafe25ad3de340a86eadb | [
"Apache-2.0"
] | 418 | 2017-10-05T05:52:49.000Z | 2022-03-24T09:50:06.000Z | src/pretalx/mail/apps.py | lili668668/pretalx | 5ba2185ffd7c5f95254aafe25ad3de340a86eadb | [
"Apache-2.0"
] | 1,049 | 2017-09-16T09:34:55.000Z | 2022-03-23T16:13:04.000Z | src/pretalx/mail/apps.py | lili668668/pretalx | 5ba2185ffd7c5f95254aafe25ad3de340a86eadb | [
"Apache-2.0"
] | 155 | 2017-10-16T18:32:01.000Z | 2022-03-15T12:48:33.000Z | from django.apps import AppConfig
class MailConfig(AppConfig):
name = "pretalx.mail"
def ready(self):
from . import signals # noqa
| 16.777778 | 37 | 0.668874 | 18 | 151 | 5.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245033 | 151 | 8 | 38 | 18.875 | 0.885965 | 0.02649 | 0 | 0 | 0 | 0 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9e6cc3be84ed684ec6984b1a7cfe7b673a72c8d | 217 | py | Python | fastai/utils/show_install.py | feras-oughali/fastai | 4052f7adb441ab8a00eaa807b444a4e583b6bcc7 | [
"Apache-2.0"
] | 59 | 2020-08-18T03:41:35.000Z | 2022-03-23T03:51:55.000Z | fastai/utils/show_install.py | feras-oughali/fastai | 4052f7adb441ab8a00eaa807b444a4e583b6bcc7 | [
"Apache-2.0"
] | 17 | 2020-08-25T14:15:32.000Z | 2022-03-27T02:12:19.000Z | fastai/utils/show_install.py | feras-oughali/fastai | 4052f7adb441ab8a00eaa807b444a4e583b6bcc7 | [
"Apache-2.0"
] | 89 | 2020-08-17T23:45:42.000Z | 2022-03-27T20:53:43.000Z | from ..script import *
from .collect_env import *
# Temporary POC for module-based script
@call_parse
def main(show_nvidia_smi:Param(opt=False, nargs='?', type=bool)=False):
return show_install(show_nvidia_smi)
| 24.111111 | 71 | 0.760369 | 33 | 217 | 4.787879 | 0.757576 | 0.126582 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124424 | 217 | 8 | 72 | 27.125 | 0.831579 | 0.170507 | 0 | 0 | 0 | 0 | 0.00565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
b9ee79014967c29d50919f2d9a2432e9bf02e128 | 145 | py | Python | clock-web/settings.py | somenkovnikita/clock-web | 6959a138fcab5b8085e9176196e4393d34504db8 | [
"MIT"
] | null | null | null | clock-web/settings.py | somenkovnikita/clock-web | 6959a138fcab5b8085e9176196e4393d34504db8 | [
"MIT"
] | null | null | null | clock-web/settings.py | somenkovnikita/clock-web | 6959a138fcab5b8085e9176196e4393d34504db8 | [
"MIT"
] | null | null | null | import os
dirname = os.path.dirname(__file__)
STATIC_PATH = os.path.join(dirname, 'static')
TEMPLATE_PATH = os.path.join(dirname, 'templates')
| 20.714286 | 50 | 0.751724 | 21 | 145 | 4.904762 | 0.428571 | 0.174757 | 0.194175 | 0.271845 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 145 | 6 | 51 | 24.166667 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9f68edb2f571e7bfaad9472d36a2d357b5574b2 | 23 | py | Python | venv/lib/python3.9/site-packages/crispy_forms/__init__.py | yahyasaadi/ig_clone | ea4dc40819bc2d3af78c49d85cd9828e1de95f60 | [
"MIT"
] | 5,916 | 2015-01-01T00:05:10.000Z | 2022-03-31T16:33:22.000Z | venv/lib/python3.9/site-packages/crispy_forms/__init__.py | yahyasaadi/ig_clone | ea4dc40819bc2d3af78c49d85cd9828e1de95f60 | [
"MIT"
] | 1,335 | 2015-01-04T20:39:30.000Z | 2022-03-31T22:48:53.000Z | venv/lib/python3.9/site-packages/crispy_forms/__init__.py | yahyasaadi/ig_clone | ea4dc40819bc2d3af78c49d85cd9828e1de95f60 | [
"MIT"
] | 1,183 | 2015-01-04T12:48:36.000Z | 2022-03-29T16:54:53.000Z | __version__ = "1.14.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9f7435cd446905ab216f006fc8e7de8f193e83d | 245 | py | Python | src/ihtt/schemas.py | dekoza/i-hate-time-tracking | adb6018b56c836317535f2e2346dfb8d9cce3aac | [
"Apache-2.0"
] | null | null | null | src/ihtt/schemas.py | dekoza/i-hate-time-tracking | adb6018b56c836317535f2e2346dfb8d9cce3aac | [
"Apache-2.0"
] | null | null | null | src/ihtt/schemas.py | dekoza/i-hate-time-tracking | adb6018b56c836317535f2e2346dfb8d9cce3aac | [
"Apache-2.0"
] | null | null | null | from tortoise.contrib.pydantic import pydantic_model_creator
from ihtt.models import Session, Reporter, Entry
PydSession = pydantic_model_creator(Session)
PydReporter = pydantic_model_creator(Reporter)
PydEntry = pydantic_model_creator(Entry)
| 30.625 | 60 | 0.857143 | 30 | 245 | 6.733333 | 0.5 | 0.257426 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 245 | 7 | 61 | 35 | 0.901786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b9fe013cf32d822961499c61710ec40b23844b61 | 7,203 | py | Python | plenum/test/audit_ledger/test_audit_ledger_handler_catchup.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | null | null | null | plenum/test/audit_ledger/test_audit_ledger_handler_catchup.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | 1 | 2019-03-20T14:57:22.000Z | 2019-03-20T15:01:55.000Z | plenum/test/audit_ledger/test_audit_ledger_handler_catchup.py | andkononykhin/plenum | 28dc1719f4b7e80d31dafbadb38cfec4da949886 | [
"Apache-2.0"
] | null | null | null | from plenum.common.constants import DOMAIN_LEDGER_ID, POOL_LEDGER_ID
from plenum.server.batch_handlers.three_pc_batch import ThreePcBatch
from plenum.test.audit_ledger.helper import check_audit_txn, do_apply_audit_txn, add_txns, DEFAULT_PRIMARIES
# BOTH TESTS NEED TO BE RUN TOGETHER AS THEY SHARE COMMITTED STATE
from ... | 46.470968 | 108 | 0.614605 | 927 | 7,203 | 4.31931 | 0.116505 | 0.07992 | 0.06993 | 0.017982 | 0.797453 | 0.742757 | 0.723027 | 0.703297 | 0.643107 | 0.631868 | 0 | 0.024325 | 0.320839 | 7,203 | 154 | 109 | 46.772727 | 0.794154 | 0.036929 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064 | 1 | 0.024 | false | 0 | 0.032 | 0 | 0.056 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a19e316a9f38c2fd484790215fc3afd7735b18a | 102 | py | Python | homeassistant/components/songpal/const.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 23 | 2017-11-15T21:03:53.000Z | 2021-03-29T21:33:48.000Z | homeassistant/components/songpal/const.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 9 | 2022-01-27T06:32:10.000Z | 2022-03-31T07:07:51.000Z | homeassistant/components/songpal/const.py | itewk/home-assistant | 769cf19052f8c9ef374d8ba8ae7705ccc7bf4cf4 | [
"Apache-2.0"
] | 10 | 2018-01-01T00:12:51.000Z | 2021-12-21T23:08:05.000Z | """Constants for the Songpal component."""
DOMAIN = "songpal"
SET_SOUND_SETTING = "set_sound_setting"
| 25.5 | 42 | 0.764706 | 13 | 102 | 5.692308 | 0.692308 | 0.216216 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 3 | 43 | 34 | 0.813187 | 0.352941 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a248c9a8529f948caa07491d1a5f6568b830528 | 1,141 | py | Python | scripts/decks/most_common_words/utils.py | frekwencja/multilingual-word-frequency | 95bafb84c89b41d90bc3ad582f15c0efea086781 | [
"MIT"
] | 2 | 2021-11-24T20:12:26.000Z | 2021-11-30T18:47:43.000Z | scripts/decks/most_common_words/utils.py | frekwencja/language-learning-flashcards | 95bafb84c89b41d90bc3ad582f15c0efea086781 | [
"MIT"
] | 4 | 2021-11-24T16:18:44.000Z | 2021-12-31T21:59:12.000Z | scripts/decks/most_common_words/utils.py | frekwencja/multilingual-word-frequency | 95bafb84c89b41d90bc3ad582f15c0efea086781 | [
"MIT"
] | 1 | 2021-11-24T16:10:23.000Z | 2021-11-24T16:10:23.000Z | # ISO-639-1
LANGUAGES_SHORTCODES = ( "aa", "ab", "ae", "af", "ak", "am", "an", "ar", "as", "av", "ay", "az", "ba", "be", "bg", "bh", "bi", "bm", "bn", "bo", "br", "bs", "ca", "ce", "ch", "co", "cr", "cs", "cu", "cv", "cy", "da", "de", "dv", "dz", "ee", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fj", "fo", "... | 570.5 | 1,129 | 0.346188 | 189 | 1,141 | 2.084656 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004197 | 0.164768 | 1,141 | 2 | 1,129 | 570.5 | 0.409234 | 0.007888 | 0 | 0 | 0 | 0 | 0.325376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a288ecca0d785d3bf2c30aa9fc65f3ce08a919d | 104 | py | Python | PYTHON/Aulas/ex001.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | PYTHON/Aulas/ex001.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | PYTHON/Aulas/ex001.py | FR7/Meus-Projetos | 1c8e1a91eaf143cccdc10f0e7edd013d910de474 | [
"MIT"
] | null | null | null | # Desafio 001
#Crie um programa ques escreva "Olá, Mundo!" na tela.
msg = "Olá, Mundo!!"
print(msg);
| 13 | 53 | 0.653846 | 16 | 104 | 4.25 | 0.8125 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.192308 | 104 | 7 | 54 | 14.857143 | 0.77381 | 0.605769 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6a2db308a94d86a9f2ae97cd8204e89e841f5b78 | 65 | py | Python | crispy_forms_uikit/templates/uikit-3.4.0/layout/__init__.py | rakenodiax/crispy-forms-uikit | eebe20414ef1d00cbdae2fcf1b262c7326539c38 | [
"MIT"
] | 3 | 2020-04-12T09:09:06.000Z | 2020-07-24T11:15:56.000Z | crispy_forms_uikit/templates/uikit-3.4.0/layout/__init__.py | rakenodiax/crispy-forms-uikit | eebe20414ef1d00cbdae2fcf1b262c7326539c38 | [
"MIT"
] | null | null | null | crispy_forms_uikit/templates/uikit-3.4.0/layout/__init__.py | rakenodiax/crispy-forms-uikit | eebe20414ef1d00cbdae2fcf1b262c7326539c38 | [
"MIT"
] | 1 | 2021-04-12T15:58:41.000Z | 2021-04-12T15:58:41.000Z | from .base import Layout
from .grid import Row, RowFluid, Column
| 21.666667 | 39 | 0.784615 | 10 | 65 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 2 | 40 | 32.5 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a346e049b47ae3c878b622dd638231fcad95477 | 145 | py | Python | Ekeopara_Praise/Phase 2/LIST/Day39 Tasks/Task1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Ekeopara_Praise/Phase 2/LIST/Day39 Tasks/Task1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Ekeopara_Praise/Phase 2/LIST/Day39 Tasks/Task1.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''1. Write a Python program to sum all the items in a list. '''
def sum_list(lst1):
return sum(lst1)
print(sum_list([1, 2, 3, 4, 5, 6, 7])) | 29 | 64 | 0.627586 | 30 | 145 | 2.966667 | 0.733333 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0.2 | 145 | 5 | 65 | 29 | 0.681034 | 0.393103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
dbe05bcf62edf9e14d9e868bd84be81729119d03 | 45 | py | Python | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationNotPossibleForNestedStructuralType.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationNotPossibleForNestedStructuralType.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationNotPossibleForNestedStructuralType.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def func(x):
x.foo()
va<caret>r = [x] | 15 | 20 | 0.466667 | 9 | 45 | 2.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288889 | 45 | 3 | 20 | 15 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0010c165bdd0377179909884c61481772e72455 | 26 | py | Python | j1939/version.py | benkfra/J1939 | e69e56be977fe2b0cdf6b2749ee5a98c8b09a97e | [
"MIT"
] | 60 | 2018-05-06T16:40:00.000Z | 2022-02-25T23:32:08.000Z | j1939/version.py | benkfra/J1939 | e69e56be977fe2b0cdf6b2749ee5a98c8b09a97e | [
"MIT"
] | 5 | 2019-01-28T17:31:27.000Z | 2020-12-10T14:11:05.000Z | j1939/version.py | benkfra/J1939 | e69e56be977fe2b0cdf6b2749ee5a98c8b09a97e | [
"MIT"
] | 20 | 2018-10-31T08:47:44.000Z | 2021-11-28T19:33:34.000Z | __version__ = "0.1.0.dev1" | 26 | 26 | 0.692308 | 5 | 26 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.076923 | 26 | 1 | 26 | 26 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e00321bb2973fa4dfec1fa9b85877133cf187d52 | 118 | py | Python | reconstruction/__init__.py | EJShim/spiralnet_plus | ff108aa9f70ff602432bd8086ff2a70f0dce37b7 | [
"MIT"
] | 78 | 2019-11-05T07:54:24.000Z | 2022-03-26T07:35:06.000Z | reconstruction/__init__.py | EJShim/spiralnet_plus | ff108aa9f70ff602432bd8086ff2a70f0dce37b7 | [
"MIT"
] | 8 | 2019-11-29T18:08:43.000Z | 2022-01-27T23:27:38.000Z | reconstruction/__init__.py | EJShim/spiralnet_plus | ff108aa9f70ff602432bd8086ff2a70f0dce37b7 | [
"MIT"
] | 11 | 2020-03-27T21:37:12.000Z | 2022-02-24T12:28:45.000Z | from .network import AE
from .train_eval import run, eval_error
__all__ = [
'AE',
'run',
'eval_error',
]
| 13.111111 | 39 | 0.627119 | 16 | 118 | 4.1875 | 0.5625 | 0.208955 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245763 | 118 | 8 | 40 | 14.75 | 0.752809 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e008172ad98471b2a777207665ed61b64342bfb0 | 2,331 | py | Python | sympy/polys/tests/test_constructor.py | pernici/sympy | 5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41 | [
"BSD-3-Clause"
] | null | null | null | sympy/polys/tests/test_constructor.py | pernici/sympy | 5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41 | [
"BSD-3-Clause"
] | null | null | null | sympy/polys/tests/test_constructor.py | pernici/sympy | 5e6e3b71da777f5b85b8ca2d16f33ed020cf8a41 | [
"BSD-3-Clause"
] | null | null | null | """Tests for tools for constructing domains for expressions. """
from sympy.polys.constructor import construct_domain
from sympy.polys.domains import ZZ, QQ, RR, EX
from sympy import S, sqrt
from sympy.abc import x, y
def test_construct_domain():
assert construct_domain([1, 2, 3]) == (ZZ, [ZZ(1), ZZ(2), ZZ(3)])
... | 31.931507 | 93 | 0.571858 | 396 | 2,331 | 3.300505 | 0.103535 | 0.24101 | 0.305279 | 0.084162 | 0.762051 | 0.709258 | 0.651109 | 0.611324 | 0.408569 | 0.34583 | 0 | 0.061637 | 0.192621 | 2,331 | 72 | 94 | 32.375 | 0.632837 | 0.024453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.431818 | 1 | 0.022727 | false | 0 | 0.090909 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e00eb27582115bc442ef2022e5d9b6a48d3c4343 | 19,851 | py | Python | minerva/backend/models/pytorch/callbacks.py | minerva-ml/minerva-training-materials | bd6a75f93dc3609c346bf29baa397ef0459ccfb0 | [
"MIT"
] | 19 | 2018-05-25T03:51:14.000Z | 2021-12-27T12:43:47.000Z | minerva/backend/models/pytorch/callbacks.py | neptune-ml/minerva | a46f10e692a5f55c9c3e26add3cb197b6d00038c | [
"MIT"
] | 37 | 2017-12-21T12:17:29.000Z | 2018-03-29T10:49:44.000Z | minerva/backend/models/pytorch/callbacks.py | minerva-ml/minerva-training-materials | bd6a75f93dc3609c346bf29baa397ef0459ccfb0 | [
"MIT"
] | 5 | 2018-06-03T19:31:07.000Z | 2021-04-30T21:47:22.000Z | import os
import shutil
from datetime import datetime, timedelta
import matplotlib.pyplot as plt
import numpy as np
from PIL import Image
from torch.optim.lr_scheduler import ExponentialLR
from minerva.backend.models.pytorch.utils import overlay_box, overlay_keypoints, Averager, save_model
from minerva.backend.models... | 38.771484 | 117 | 0.620573 | 2,614 | 19,851 | 4.389059 | 0.073068 | 0.083936 | 0.048897 | 0.032598 | 0.815828 | 0.769023 | 0.749673 | 0.690839 | 0.670269 | 0.647869 | 0 | 0.009884 | 0.266082 | 19,851 | 511 | 118 | 38.847358 | 0.77761 | 0.001562 | 0 | 0.689157 | 0 | 0 | 0.064591 | 0.006106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144578 | false | 0.016867 | 0.028916 | 0.00241 | 0.212048 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e015eab62c5138691ff3e8e80a8dd07b67260465 | 354 | py | Python | mycroft-file/main.py | atticus112/python-things | 117b6c0c778a39ae9f6f02afa0abe81b607c0c8e | [
"Unlicense"
] | null | null | null | mycroft-file/main.py | atticus112/python-things | 117b6c0c778a39ae9f6f02afa0abe81b607c0c8e | [
"Unlicense"
] | 1 | 2017-11-04T23:38:18.000Z | 2017-11-05T23:03:05.000Z | mycroft-file/main.py | atticus112/python-things | 117b6c0c778a39ae9f6f02afa0abe81b607c0c8e | [
"Unlicense"
] | 2 | 2017-11-05T22:39:43.000Z | 2018-08-24T02:43:20.000Z | from mycroft import MycroftSkill, intent_file_handler
class Skill(MycroftSkill):
"""The skill class"""
def __init__(self):
"""Init"""
MycroftSkill.__init__(self)
@intent_file_handler('check.email.intent')
def handle_email(self, message):
"""intent handle"""
pass
def c... | 23.6 | 53 | 0.646893 | 39 | 354 | 5.512821 | 0.512821 | 0.093023 | 0.15814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228814 | 354 | 14 | 54 | 25.285714 | 0.787546 | 0.096045 | 0 | 0 | 0 | 0 | 0.059211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
e039d16e451587cf9a744f3cea32ebf50dad309a | 25,986 | py | Python | ekab/tbox.py | stawo/ekabPlanner | 63f78d4932daa1c17b1fdff30b074c8ad1a741d3 | [
"MIT"
] | null | null | null | ekab/tbox.py | stawo/ekabPlanner | 63f78d4932daa1c17b1fdff30b074c8ad1a741d3 | [
"MIT"
] | null | null | null | ekab/tbox.py | stawo/ekabPlanner | 63f78d4932daa1c17b1fdff30b074c8ad1a741d3 | [
"MIT"
] | null | null | null | from pyparsing import *
#~ Local libraries
from syntax.syntax import Syntax
class Concept:
def __init__(self, name):
if not isinstance(name, str):
raise Exception("A concept name must be provided as a string.")
self.__name = name
def __repr__(self):
return self.__name
def __eq__(self, oth... | 37.229226 | 187 | 0.660317 | 3,519 | 25,986 | 4.746519 | 0.05655 | 0.02766 | 0.053942 | 0.038975 | 0.762677 | 0.732084 | 0.717296 | 0.708615 | 0.688858 | 0.662576 | 0 | 0.013589 | 0.224044 | 25,986 | 697 | 188 | 37.28264 | 0.814769 | 0.169861 | 0 | 0.518617 | 0 | 0.00266 | 0.237889 | 0 | 0 | 0 | 0 | 0 | 0.103723 | 1 | 0.098404 | false | 0.018617 | 0.005319 | 0.045213 | 0.236702 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e03f92d0b6c1fac329ba044f63cbbb3c443e0e1e | 227 | py | Python | backend/mainContent/serializers.py | mariaeid/Examensarbete | 3b04d404f399ecd5e9e0011bbbe81e715d45fa62 | [
"MIT"
] | null | null | null | backend/mainContent/serializers.py | mariaeid/Examensarbete | 3b04d404f399ecd5e9e0011bbbe81e715d45fa62 | [
"MIT"
] | 14 | 2020-06-06T00:21:31.000Z | 2022-03-12T00:10:08.000Z | backend/mainContent/serializers.py | mariaeid/Examensarbete | 3b04d404f399ecd5e9e0011bbbe81e715d45fa62 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import MainContent
# Render the Python class to JSON
class MainContentSerializer(serializers.ModelSerializer):
class Meta:
model = MainContent
fields = ('__all__')
| 25.222222 | 57 | 0.784141 | 25 | 227 | 6.92 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15859 | 227 | 8 | 58 | 28.375 | 0.905759 | 0.136564 | 0 | 0 | 0 | 0 | 0.036082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e054274943ad39793c8a70825a0c4129dc557fa9 | 5,878 | py | Python | src/helpers/foremastbrainhelper_test.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | src/helpers/foremastbrainhelper_test.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | src/helpers/foremastbrainhelper_test.py | sandeepbhojwani/foremast-brain | b083ea08c0506517ede8501b9ad44408e89afdc6 | [
"Apache-2.0"
] | null | null | null | #import sys
#sys.path.append('../')
import json
def getBaselinejson():
json = {
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"__name__": "namespace_pod_name_container_name:container_cpu_usage_seconds_total:... | 26.477477 | 105 | 0.381082 | 317 | 5,878 | 6.829653 | 0.236593 | 0.049885 | 0.078522 | 0.092379 | 0.633256 | 0.633256 | 0.633256 | 0.633256 | 0.633256 | 0.633256 | 0 | 0.402699 | 0.520925 | 5,878 | 221 | 106 | 26.597285 | 0.366122 | 0.005444 | 0 | 0.553991 | 0 | 0 | 0.300308 | 0.21475 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.004695 | 0 | 0.032864 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e05bce374e420be51c3ba5b8f5abac3704006823 | 135 | py | Python | insertion.py | shiwanibiradar/10day_of_DS | 4b4caa679c680a46c5a1c216214d26052ab3aa60 | [
"MIT"
] | null | null | null | insertion.py | shiwanibiradar/10day_of_DS | 4b4caa679c680a46c5a1c216214d26052ab3aa60 | [
"MIT"
] | null | null | null | insertion.py | shiwanibiradar/10day_of_DS | 4b4caa679c680a46c5a1c216214d26052ab3aa60 | [
"MIT"
] | null | null | null | n=int(input("Enter the no of element"))
i=1
a=[]
for i in range(1,n+1):
b=input("Enter the element")
a.append(b)
print(sorted(a))
| 13.5 | 39 | 0.637037 | 29 | 135 | 2.965517 | 0.62069 | 0.232558 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 135 | 9 | 40 | 15 | 0.72807 | 0 | 0 | 0 | 0 | 0 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e06279f1277fb08454521b62ff04ef3859e15675 | 182 | py | Python | main.py | raihaan123/An_RL_Thing | 9a48ac3ccb21641e9901dd9c97a9f5374b2f54fe | [
"MIT"
] | null | null | null | main.py | raihaan123/An_RL_Thing | 9a48ac3ccb21641e9901dd9c97a9f5374b2f54fe | [
"MIT"
] | null | null | null | main.py | raihaan123/An_RL_Thing | 9a48ac3ccb21641e9901dd9c97a9f5374b2f54fe | [
"MIT"
] | null | null | null | import numpy as np
from agent import Agent
from environment import Environment
environment = Environment()
environment.create_agent()
for i in range(10):
environment.update() | 16.545455 | 35 | 0.78022 | 24 | 182 | 5.875 | 0.583333 | 0.468085 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.153846 | 182 | 11 | 36 | 16.545455 | 0.902597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0eb69eb5d06604fab82598ce36cbff091e1cd1d9 | 52,258 | py | Python | src/make_plot.py | KevinVolkSTScI/matplotlib-gui-code | a6fa1a091b36d6c61a6de3c67b9c5e7a3fd23059 | [
"MIT"
] | null | null | null | src/make_plot.py | KevinVolkSTScI/matplotlib-gui-code | a6fa1a091b36d6c61a6de3c67b9c5e7a3fd23059 | [
"MIT"
] | null | null | null | src/make_plot.py | KevinVolkSTScI/matplotlib-gui-code | a6fa1a091b36d6c61a6de3c67b9c5e7a3fd23059 | [
"MIT"
] | null | null | null | """
This routine is the main plotting routine. The routine needs to be passed
the matplotlib_user_interface variable ("plotgui") which which the data
values and options (plus the plot variables) are stored.
Routines:
make_plot The main plottine routine, which reads many options and applies
them as ne... | 55.771612 | 82 | 0.5186 | 4,689 | 52,258 | 5.628705 | 0.07443 | 0.123063 | 0.158224 | 0.162695 | 0.813625 | 0.758762 | 0.698594 | 0.652484 | 0.622438 | 0.602925 | 0 | 0.015533 | 0.374163 | 52,258 | 936 | 83 | 55.831197 | 0.791469 | 0.016935 | 0 | 0.601996 | 0 | 0 | 0.054515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001109 | false | 0.002217 | 0.006652 | 0 | 0.007761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ec9074f9f8cd0068885ab0e36d8ac04d386927b | 26 | py | Python | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter07/7-1.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 11,094 | 2019-05-07T02:48:50.000Z | 2022-03-31T08:49:42.000Z | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter07/7-1.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 157 | 2019-05-13T15:07:19.000Z | 2022-03-23T08:52:32.000Z | 基础教程/A1-Python与基础知识/算法第一步/ExampleCodes/chapter07/7-1.py | microsoft/ai-edu | 2f59fa4d3cf19f14e0b291e907d89664bcdc8df3 | [
"Apache-2.0"
] | 2,412 | 2019-05-07T02:55:15.000Z | 2022-03-30T06:56:52.000Z | a = "1"
a = a + 2
print(a) | 8.666667 | 9 | 0.423077 | 7 | 26 | 1.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.307692 | 26 | 3 | 10 | 8.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0eccaa23ccf8d7480b60ee8db7d1eab4116e870b | 257 | py | Python | gitless/cli/gl_untrack.py | goldstar611/gitless | 8c3041c69995a10f6bdf933405a9f01cdd21e969 | [
"MIT"
] | 9 | 2022-02-22T09:08:26.000Z | 2022-02-24T16:10:39.000Z | gitless/cli/gl_untrack.py | goldstar611/gitless | 8c3041c69995a10f6bdf933405a9f01cdd21e969 | [
"MIT"
] | 30 | 2022-02-20T17:21:37.000Z | 2022-03-09T16:16:09.000Z | gitless/cli/gl_untrack.py | goldstar611/gitless | 8c3041c69995a10f6bdf933405a9f01cdd21e969 | [
"MIT"
] | 1 | 2022-02-22T09:31:01.000Z | 2022-02-22T09:31:01.000Z | # -*- coding: utf-8 -*-
# Gitless - a version control system built on top of Git
# Licensed under MIT
"""gl untrack - Stop tracking changes to files."""
from . import file_cmd
parser = file_cmd.parser('stop tracking changes to files', 'untrack', ['un'])
| 25.7 | 77 | 0.688716 | 38 | 257 | 4.605263 | 0.763158 | 0.137143 | 0.217143 | 0.24 | 0.297143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.175097 | 257 | 9 | 78 | 28.555556 | 0.820755 | 0.548638 | 0 | 0 | 0 | 0 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0eccd2f7adb0e8e0e69eb510cbc8b00ced45374d | 230 | py | Python | spotty/commands/writers/output_writrer.py | Inculus/spotty | 56863012668a6c13ad13c2a04f900047e229fbe6 | [
"MIT"
] | 1 | 2020-07-17T07:02:09.000Z | 2020-07-17T07:02:09.000Z | spotty/commands/writers/output_writrer.py | Inculus/spotty | 56863012668a6c13ad13c2a04f900047e229fbe6 | [
"MIT"
] | null | null | null | spotty/commands/writers/output_writrer.py | Inculus/spotty | 56863012668a6c13ad13c2a04f900047e229fbe6 | [
"MIT"
] | null | null | null | from spotty.commands.writers.abstract_output_writrer import AbstractOutputWriter
class OutputWriter(AbstractOutputWriter):
def _write(self, msg: str):
"""Prints messages to STDOUT."""
print(msg, flush=True)
| 25.555556 | 80 | 0.734783 | 25 | 230 | 6.64 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169565 | 230 | 8 | 81 | 28.75 | 0.86911 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0ee0ca4400485476c022297728a45b9de4309513 | 500 | py | Python | councilmatic/subscriptions/management/commands/syncsubscribers.py | isabella232/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 17 | 2015-01-17T23:42:37.000Z | 2021-12-15T15:42:28.000Z | councilmatic/subscriptions/management/commands/syncsubscribers.py | codeforamerica/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 2 | 2015-07-16T13:24:58.000Z | 2019-03-13T19:27:05.000Z | councilmatic/subscriptions/management/commands/syncsubscribers.py | isabella232/councilmatic | a6c560d9018062774310e3f7acc474c635934f17 | [
"BSD-Source-Code"
] | 6 | 2015-07-27T13:02:08.000Z | 2021-04-16T10:25:04.000Z | from django.core.management.base import BaseCommand, CommandError
from councilmatic.subscriptions.feeds import import_all_feeds
from councilmatic.subscriptions.feeds import SubscriptionEmailer
from councilmatic.subscriptions.models import Subscriber, User
class Command(BaseCommand):
help = "Create subscribers for... | 38.461538 | 72 | 0.784 | 63 | 500 | 6.126984 | 0.603175 | 0.124352 | 0.225389 | 0.176166 | 0.207254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144 | 500 | 12 | 73 | 41.666667 | 0.901869 | 0 | 0 | 0 | 0 | 0 | 0.118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0efef48f74c8fd90c24f672f9d5dd1f57e5c6e0f | 276 | py | Python | src/sensitivity/linear_sensitivity_analysis.py | superdurszlak/ModelParameterIdentifier | bc39005eefbe5d667d887e8bfc67495f6f8befa5 | [
"MIT"
] | 1 | 2020-04-28T12:43:13.000Z | 2020-04-28T12:43:13.000Z | src/sensitivity/linear_sensitivity_analysis.py | superdurszlak/ModelParameterIdentifier | bc39005eefbe5d667d887e8bfc67495f6f8befa5 | [
"MIT"
] | null | null | null | src/sensitivity/linear_sensitivity_analysis.py | superdurszlak/ModelParameterIdentifier | bc39005eefbe5d667d887e8bfc67495f6f8befa5 | [
"MIT"
] | null | null | null | import numpy as np
from src.sensitivity.base_sensitivity_analysis import BaseSensitivityAnalysis
class LinearSensitivityAnalysis(BaseSensitivityAnalysis):
def _get_deviation_steps(self):
return (x for x in np.linspace(1.0, 0.0, self._samples, endpoint=False))
| 27.6 | 80 | 0.793478 | 35 | 276 | 6.085714 | 0.771429 | 0.018779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016736 | 0.134058 | 276 | 9 | 81 | 30.666667 | 0.874477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
1605cbc63a7f9d035d3a6ef93dfc32a24f012dd2 | 127 | py | Python | ligature/simulators/__init__.py | CorsoSource/ligature | 82f64109cb68ed6974e7246722d850f578e6782d | [
"Apache-2.0"
] | null | null | null | ligature/simulators/__init__.py | CorsoSource/ligature | 82f64109cb68ed6974e7246722d850f578e6782d | [
"Apache-2.0"
] | 1 | 2020-09-13T05:06:33.000Z | 2020-09-13T05:06:33.000Z | ligature/simulators/__init__.py | CorsoSource/ligature | 82f64109cb68ed6974e7246722d850f578e6782d | [
"Apache-2.0"
] | null | null | null | """
Simulators to generate streams of data.
"""
from ligature.scanners.drunk import DrunkenWalk
__all__ = ['DrunkenWalk'] | 18.142857 | 47 | 0.732283 | 14 | 127 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 7 | 48 | 18.142857 | 0.831776 | 0.307087 | 0 | 0 | 1 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1612e3d88231f0e7831b466582dd22d3860064bc | 221 | py | Python | learn2learn/gym/__init__.py | Brikwerk/learn2learn | 7997c13c26ec627d13ce77ba98427260df78ada8 | [
"MIT"
] | 1,774 | 2019-09-05T20:41:16.000Z | 2022-03-30T09:49:02.000Z | learn2learn/gym/__init__.py | Kostis-S-Z/learn2learn | c0b7c088f15986880b136ec27059644ac513db60 | [
"MIT"
] | 196 | 2019-09-05T08:11:31.000Z | 2022-03-31T12:08:25.000Z | learn2learn/gym/__init__.py | Kostis-S-Z/learn2learn | c0b7c088f15986880b136ec27059644ac513db60 | [
"MIT"
] | 266 | 2019-09-13T10:17:54.000Z | 2022-03-28T07:17:21.000Z | #!/usr/bin/env python3
r"""
Environment, models, and other utilities related to reinforcement learning and OpenAI Gym.
"""
from . import envs
from .envs.meta_env import MetaEnv
from .async_vec_env import AsyncVectorEnv
| 22.1 | 90 | 0.782805 | 32 | 221 | 5.3125 | 0.75 | 0.105882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.135747 | 221 | 9 | 91 | 24.555556 | 0.884817 | 0.506787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1615c0c8862f997707fdd9faba9e6e13c37f6739 | 108 | py | Python | elkconfdparser/__main__.py | iaroslavscript/elk-confd-parser | 6930afa981468ddf24c80a33feba5e10ca870b9d | [
"MIT"
] | null | null | null | elkconfdparser/__main__.py | iaroslavscript/elk-confd-parser | 6930afa981468ddf24c80a33feba5e10ca870b9d | [
"MIT"
] | 18 | 2021-07-29T18:24:28.000Z | 2021-08-01T07:44:16.000Z | elkconfdparser/__main__.py | iaroslavscript/elk-confd-parser | 6930afa981468ddf24c80a33feba5e10ca870b9d | [
"MIT"
] | null | null | null | import sys
from elkconfdparser.cli import main
if __name__ == "__main__": # noqa
main(sys.argv[1:])
| 13.5 | 35 | 0.685185 | 15 | 108 | 4.4 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.194444 | 108 | 7 | 36 | 15.428571 | 0.747126 | 0.037037 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
161884b0ed8516bc561620a0fcf7d840e0555bac | 166 | py | Python | problem0119.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0119.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0119.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #119 Digit power sum - Project Euler
# https://projecteuler.net/problem=119
#
# Code by Kevin Marciniak
#
###########################
| 18.444444 | 38 | 0.46988 | 15 | 166 | 5.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.120482 | 166 | 8 | 39 | 20.75 | 0.493151 | 0.578313 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16284a4ded58f35ef3c4f3c771fd8c9a0268c229 | 215 | py | Python | bookmarks/images/admin.py | sharafx2qeshta/Django-3-by-example | f846ef46371a1199e52e285e0dd6f00fa42889bd | [
"MIT"
] | null | null | null | bookmarks/images/admin.py | sharafx2qeshta/Django-3-by-example | f846ef46371a1199e52e285e0dd6f00fa42889bd | [
"MIT"
] | null | null | null | bookmarks/images/admin.py | sharafx2qeshta/Django-3-by-example | f846ef46371a1199e52e285e0dd6f00fa42889bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Image
@admin.register(Image)
class ImageAdmin(admin.ModelAdmin):
list_display = ['title', 'slug', 'image', 'created']
list_filter = ['created']
| 23.888889 | 57 | 0.688372 | 25 | 215 | 5.84 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 215 | 8 | 58 | 26.875 | 0.824859 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16337288cd7ce611b8eeff9dd81a0cf9b482c4d4 | 47 | py | Python | Flask-todolist-Sqlite3-master/venv/lib/python3.6/base64.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | null | null | null | Flask-todolist-Sqlite3-master/venv/lib/python3.6/base64.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | null | null | null | Flask-todolist-Sqlite3-master/venv/lib/python3.6/base64.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | 1 | 2019-11-25T10:25:21.000Z | 2019-11-25T10:25:21.000Z | /home/sheldon/anaconda3/lib/python3.6/base64.py | 47 | 47 | 0.829787 | 8 | 47 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 47 | 1 | 47 | 47 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16581aba820b6b7c16b2bb10ed4549879335d569 | 65 | py | Python | models/scene_seg_PAConv/__init__.py | SamGalanakis/FlowCompare | ed26e48298fe42cf9ddcc252c19b502b4a71d54e | [
"MIT"
] | 5 | 2021-05-22T23:14:19.000Z | 2022-02-19T14:11:27.000Z | models/scene_seg_PAConv/__init__.py | SamGalanakis/PointFlowChange | ed26e48298fe42cf9ddcc252c19b502b4a71d54e | [
"MIT"
] | 1 | 2021-06-05T11:20:53.000Z | 2021-06-05T12:30:44.000Z | models/scene_seg_PAConv/__init__.py | SamGalanakis/PointFlowChange | ed26e48298fe42cf9ddcc252c19b502b4a71d54e | [
"MIT"
] | null | null | null | from .model.pointnet2.pointnet2_paconv_seg import PointNet2SSGSeg | 65 | 65 | 0.907692 | 8 | 65 | 7.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.046154 | 65 | 1 | 65 | 65 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1662b9efb2b6285b0058400ae6798fa9de84b647 | 271 | py | Python | simple-kashflow-sample.py | sampart/kashflow-python-samples | 5568eae2b626a993e563b1464c1defbdd0e2325b | [
"Unlicense"
] | null | null | null | simple-kashflow-sample.py | sampart/kashflow-python-samples | 5568eae2b626a993e563b1464c1defbdd0e2325b | [
"Unlicense"
] | null | null | null | simple-kashflow-sample.py | sampart/kashflow-python-samples | 5568eae2b626a993e563b1464c1defbdd0e2325b | [
"Unlicense"
] | null | null | null | # uses SUDS SOAP client: https://fedorahosted.org/suds/
from suds.client import Client
import logging
client = Client("https://securedwebapp.com/api/service.asmx?WSDL")
result = client.service.GetCustomers(UserName="username", Password="username")
print result
| 30.111111 | 79 | 0.760148 | 34 | 271 | 6.058824 | 0.617647 | 0.106796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114391 | 271 | 8 | 80 | 33.875 | 0.858333 | 0.195572 | 0 | 0 | 0 | 0 | 0.302885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0.4 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
1665af1c884ee4deef6ed890de6b4bc1158fb376 | 8,688 | py | Python | ibmsecurity/isam/web/reverse_proxy/transaction_logging.py | svetterIO/backup_ibmsecurity | f6e7db3ad95cfe03657e04e582771e37f470354d | [
"Apache-2.0"
] | 2 | 2019-12-05T13:51:10.000Z | 2019-12-20T08:02:35.000Z | ibmsecurity/isam/web/reverse_proxy/transaction_logging.py | svetterIO/backup_ibmsecurity | f6e7db3ad95cfe03657e04e582771e37f470354d | [
"Apache-2.0"
] | null | null | null | ibmsecurity/isam/web/reverse_proxy/transaction_logging.py | svetterIO/backup_ibmsecurity | f6e7db3ad95cfe03657e04e582771e37f470354d | [
"Apache-2.0"
] | null | null | null | import logging
import os.path
from ibmsecurity.utilities.tools import json_sort
logger = logging.getLogger(__name__)
uri = "/wga/reverseproxy"
requires_modules = "wga"
requires_version = None
def get(isamAppliance, instance_id, check_mode=False, force=False):
"""
Retrieving all transaction logging component... | 36.504202 | 120 | 0.64238 | 1,013 | 8,688 | 5.274432 | 0.099704 | 0.067939 | 0.077859 | 0.098259 | 0.870298 | 0.85102 | 0.797866 | 0.759311 | 0.665357 | 0.597792 | 0 | 0.005383 | 0.27302 | 8,688 | 237 | 121 | 36.658228 | 0.840564 | 0.087362 | 0 | 0.455172 | 0 | 0 | 0.15625 | 0.044938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082759 | false | 0 | 0.02069 | 0 | 0.317241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
16767ab4c4b27dede6ce1201bcfc566046bf93ba | 71 | py | Python | electrode/clients/lib/efield/dipole_fit.py | krbjila/labrad_tools | 5c510cb35090807807bfe6bd910b9c35edce6fce | [
"MIT"
] | 1 | 2020-11-30T01:45:08.000Z | 2020-11-30T01:45:08.000Z | electrode/clients/lib/efield/dipole_fit.py | krbjila/labrad_tools | 5c510cb35090807807bfe6bd910b9c35edce6fce | [
"MIT"
] | 8 | 2021-02-23T00:18:12.000Z | 2022-03-12T00:54:50.000Z | electrode/clients/lib/efield/dipole_fit.py | krbjila/labrad_tools | 5c510cb35090807807bfe6bd910b9c35edce6fce | [
"MIT"
] | 1 | 2020-11-08T14:54:21.000Z | 2020-11-08T14:54:21.000Z | D_POLY_FIT = [0, 0.0561, -0.00337, 1.03812e-4, -1.42283e-6, 5.34778e-9] | 71 | 71 | 0.647887 | 17 | 71 | 2.588235 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.515625 | 0.098592 | 71 | 1 | 71 | 71 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
167fe2bfb128930b563402f685497af5209c3129 | 30,527 | py | Python | tests/protocol/test_imds.py | ce-bu/WALinuxAgent | ec0609d673fa31ee4ad803885a02dbb55411c77c | [
"Apache-2.0"
] | 423 | 2015-01-05T04:57:44.000Z | 2022-03-20T11:44:57.000Z | tests/protocol/test_imds.py | ce-bu/WALinuxAgent | ec0609d673fa31ee4ad803885a02dbb55411c77c | [
"Apache-2.0"
] | 1,984 | 2015-01-07T03:20:12.000Z | 2022-03-31T09:46:24.000Z | tests/protocol/test_imds.py | larohra/WALinuxAgent | bac602173d1fd68d198a4f8b05a911c5e93927f6 | [
"Apache-2.0"
] | 398 | 2015-01-07T14:49:32.000Z | 2022-03-14T08:42:57.000Z | # Microsoft Azure Linux Agent
#
# Copyright 2018 Microsoft Corporation
#
# 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 b... | 61.546371 | 151 | 0.676614 | 3,616 | 30,527 | 5.385785 | 0.102323 | 0.100539 | 0.08878 | 0.09941 | 0.753941 | 0.718408 | 0.71009 | 0.692837 | 0.686316 | 0.655199 | 0 | 0.022383 | 0.200904 | 30,527 | 495 | 152 | 61.670707 | 0.77597 | 0.054607 | 0 | 0.344648 | 0 | 0.013055 | 0.181266 | 0.025092 | 0 | 0 | 0 | 0.00202 | 0.446475 | 1 | 0.060052 | false | 0 | 0.02611 | 0.002611 | 0.099217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
169b2560b243aa8f298be9ffa81703f7c86feada | 467 | py | Python | classification/libs/readers/__init__.py | 96lives/matrixlstm | 83332111a459dd3fbca944898fffd935faac8820 | [
"Apache-2.0"
] | 19 | 2020-08-11T09:18:28.000Z | 2022-03-10T13:53:13.000Z | N-ROD/evrepr/thirdparty/matrixlstm/classification/libs/readers/__init__.py | Chiaraplizz/home | 18cc93a795ce132e05b886aa34565a102915b1c6 | [
"MIT"
] | 4 | 2021-01-04T11:55:50.000Z | 2021-09-18T14:00:50.000Z | N-ROD/evrepr/thirdparty/matrixlstm/classification/libs/readers/__init__.py | Chiaraplizz/home | 18cc93a795ce132e05b886aa34565a102915b1c6 | [
"MIT"
] | 4 | 2020-09-03T07:12:55.000Z | 2021-08-19T11:37:55.000Z | from .eventdataset import EventDataset, EventDetectionDataset
from .eventchunkdataset import EventChunkDataset, EventDetectionChunkDataset
from .filereader import BinFileReader, AerFileReader, PropheseeReader
from .utils import get_file_format, get_filereader, get_dataset, get_loader, get_splits, \
r... | 58.375 | 96 | 0.800857 | 46 | 467 | 7.847826 | 0.565217 | 0.049862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156317 | 467 | 7 | 97 | 66.714286 | 0.916244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16b40aa78ed717b00578d7359671464fd0585cda | 125 | py | Python | EduSim/SimOS/__init__.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 18 | 2019-11-11T03:45:35.000Z | 2022-02-09T15:31:51.000Z | EduSim/SimOS/__init__.py | ghzhao78506/EduSim | cb10e952eb212d8a9344143f889207b5cd48ba9d | [
"MIT"
] | 3 | 2020-10-23T01:05:57.000Z | 2021-03-16T12:12:24.000Z | EduSim/SimOS/__init__.py | bigdata-ustc/EduSim | 849eed229c24615e5f2c3045036311e83c22ea68 | [
"MIT"
] | 6 | 2020-06-09T21:32:00.000Z | 2022-03-12T00:25:18.000Z | # coding: utf-8
# 2020/4/30 @ tongshiwei
from .SimOS import train_eval, MetaAgent, RandomAgent
from .config import as_level
| 20.833333 | 53 | 0.768 | 19 | 125 | 4.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 0.144 | 125 | 5 | 54 | 25 | 0.803738 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
16bed5d29f5a3d80173e077110354f53221ba870 | 253 | py | Python | oscar/lib/python2.7/site-packages/prompt_toolkit/clipboard/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/prompt_toolkit/clipboard/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/prompt_toolkit/clipboard/__init__.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | from .base import Clipboard, ClipboardData
from .in_memory import InMemoryClipboard
# We are not importing `PyperclipClipboard` here, because it would require the
# `pyperclip` module to be present.
#from .pyperclip import PyperclipClipboard
| 28.111111 | 79 | 0.782609 | 30 | 253 | 6.566667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166008 | 253 | 8 | 80 | 31.625 | 0.933649 | 0.596838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
16c80fd227f49791f1b2794545a7467a34000add | 158 | py | Python | tests/test_index.py | sushinoya/ggpy | 455f75edaa55b2f9bce7f24cddf81096be5362d5 | [
"BSD-2-Clause"
] | 31 | 2018-10-17T01:19:07.000Z | 2022-01-23T13:16:49.000Z | tests/test_index.py | sushinoya/ggpy | 455f75edaa55b2f9bce7f24cddf81096be5362d5 | [
"BSD-2-Clause"
] | 1 | 2019-07-11T17:43:52.000Z | 2019-07-11T17:43:52.000Z | tests/test_index.py | sushinoya/ggpy | 455f75edaa55b2f9bce7f24cddf81096be5362d5 | [
"BSD-2-Clause"
] | 9 | 2018-10-12T16:44:43.000Z | 2020-07-02T15:52:37.000Z | from __future__ import print_function
from ggplot import *
meat = meat.set_index(['date'])
print(ggplot(meat, aes(x='__index__', y='beef')) + geom_point())
| 22.571429 | 64 | 0.721519 | 23 | 158 | 4.478261 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 6 | 65 | 26.333333 | 0.735714 | 0 | 0 | 0 | 0 | 0 | 0.107595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
16cc1967738a7463528538265f67d18015c05004 | 200 | py | Python | src/square_list.py | smorenburg/python | 74b1e72944dfd244f0169e8a7adb9e29ed1a7d27 | [
"MIT"
] | null | null | null | src/square_list.py | smorenburg/python | 74b1e72944dfd244f0169e8a7adb9e29ed1a7d27 | [
"MIT"
] | null | null | null | src/square_list.py | smorenburg/python | 74b1e72944dfd244f0169e8a7adb9e29ed1a7d27 | [
"MIT"
] | null | null | null | def square_list(nums):
"""
>>> square_list([1, 2, 3])
[1, 4, 9]
"""
idx = 0
while idx < len(nums):
nums[idx] = nums[idx] * nums[idx]
idx += 1
return nums
| 15.384615 | 41 | 0.445 | 28 | 200 | 3.107143 | 0.5 | 0.241379 | 0.252874 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.37 | 200 | 12 | 42 | 16.666667 | 0.626984 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16d2e44e42fe63aaa148de2346d9c7aa0b000a36 | 3,682 | py | Python | mikaponics/foundation/mixins.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 2 | 2019-04-30T23:51:41.000Z | 2019-05-04T00:35:52.000Z | mikaponics/foundation/mixins.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | 27 | 2019-04-30T20:22:28.000Z | 2022-02-10T08:10:32.000Z | mikaponics/foundation/mixins.py | mikaponics/mikaponics-back | 98e1ff8bab7dda3492e5ff637bf5aafd111c840c | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.core.exceptions import PermissionDenied
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from django.views.generic import DetailView, ListView, TemplateView
class ExtraRequestProcessingMixin(object):
"""
Mixin used to get extract the f... | 36.82 | 91 | 0.655894 | 442 | 3,682 | 5.30543 | 0.260181 | 0.059701 | 0.081023 | 0.058849 | 0.711727 | 0.711727 | 0.70064 | 0.643923 | 0.643923 | 0.643923 | 0 | 0.000738 | 0.264259 | 3,682 | 99 | 92 | 37.191919 | 0.864895 | 0.353884 | 0 | 0.487805 | 0 | 0 | 0.036705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.097561 | 0 | 0.512195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
16e5c52f17f8d4fb701e483bbf7db4fe0295bc21 | 16,269 | py | Python | nautobot/dcim/migrations/0004_initial_part_4.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 384 | 2021-02-24T01:40:40.000Z | 2022-03-30T10:30:59.000Z | nautobot/dcim/migrations/0004_initial_part_4.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 1,067 | 2021-02-24T00:58:08.000Z | 2022-03-31T23:38:23.000Z | nautobot/dcim/migrations/0004_initial_part_4.py | psmware-ltd/nautobot | ac516287fb8edcc3482bd011839de837c6bbf0df | [
"Apache-2.0"
] | 128 | 2021-02-24T02:45:16.000Z | 2022-03-20T18:48:36.000Z | # Generated by Django 3.1.7 on 2021-04-01 06:35
from django.db import migrations, models
import django.db.models.deletion
import nautobot.extras.models.statuses
import nautobot.extras.utils
import taggit.managers
class Migration(migrations.Migration):
initial = True
dependencies = [
("contenttypes"... | 35.913907 | 118 | 0.489643 | 1,232 | 16,269 | 6.280032 | 0.124188 | 0.076774 | 0.0981 | 0.115161 | 0.774848 | 0.748352 | 0.705829 | 0.597131 | 0.52501 | 0.519193 | 0 | 0.004666 | 0.394001 | 16,269 | 452 | 119 | 35.993363 | 0.780099 | 0.002766 | 0 | 0.779775 | 1 | 0 | 0.168228 | 0.02435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011236 | 0 | 0.020225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc499cc723099ff90cbc289c86ce1471407eaf1e | 135 | py | Python | back-end/python-scripts/calltest1.py | matteomitico/vtc-senior-project | 778b59537edae54fbcb284a862bad587469b96af | [
"MIT"
] | null | null | null | back-end/python-scripts/calltest1.py | matteomitico/vtc-senior-project | 778b59537edae54fbcb284a862bad587469b96af | [
"MIT"
] | null | null | null | back-end/python-scripts/calltest1.py | matteomitico/vtc-senior-project | 778b59537edae54fbcb284a862bad587469b96af | [
"MIT"
] | null | null | null | #!/usr/bin/python
import json
d = {"one":"1", "two":2}
json.dump(d, open("text.txt",'w'))
d2 = json.load(open("text.txt"))
print d2
| 13.5 | 34 | 0.592593 | 25 | 135 | 3.2 | 0.72 | 0.2 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.125926 | 135 | 9 | 35 | 15 | 0.644068 | 0.118519 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc56bf3916b229c0e841d5b8c671d42fd63fe193 | 98 | py | Python | Modulo 2/lista07/11.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 2 | 2021-08-17T14:02:13.000Z | 2021-08-19T02:37:28.000Z | Modulo 2/lista07/11.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | null | null | null | Modulo 2/lista07/11.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 1 | 2021-09-05T20:18:45.000Z | 2021-09-05T20:18:45.000Z | x = [int(input()) for x in range(15)]
for i in range(15):
if x[i] <0:
x[i]=-1
print(x) | 19.6 | 37 | 0.5 | 22 | 98 | 2.227273 | 0.545455 | 0.285714 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.27551 | 98 | 5 | 38 | 19.6 | 0.605634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc5bff62093c53ba0517abdd41b4112f16cd86cb | 446 | py | Python | pyshinobicctvapi/users.py | xannor/yshinobicctvapi | 6f96ef103ea10e9cfe4897b690430ea5480d98ba | [
"Unlicense"
] | null | null | null | pyshinobicctvapi/users.py | xannor/yshinobicctvapi | 6f96ef103ea10e9cfe4897b690430ea5480d98ba | [
"Unlicense"
] | null | null | null | pyshinobicctvapi/users.py | xannor/yshinobicctvapi | 6f96ef103ea10e9cfe4897b690430ea5480d98ba | [
"Unlicense"
] | null | null | null | from typing import Optional
from .connection import Connection
class User:
"""
Shinobi User API
"""
def __init__(self, user: dict = None):
if user is None:
user = {}
self._user = user
# self._id = user['uid']
@property
def email(self) -> Optional[str]:
... | 17.84 | 42 | 0.56278 | 53 | 446 | 4.584906 | 0.490566 | 0.131687 | 0.123457 | 0.17284 | 0.263374 | 0.263374 | 0.263374 | 0 | 0 | 0 | 0 | 0 | 0.313901 | 446 | 24 | 43 | 18.583333 | 0.794118 | 0.089686 | 0 | 0.153846 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bc86b7b6cdc30314dc42a3730dc0ee84eef82337 | 161 | py | Python | susi/__init__.py | FBlandfort/Subset-Simulation-Interpolation | e0c1433d6769c8a8c41943ed824007c2511a0c2e | [
"MIT"
] | 5 | 2021-04-26T07:42:04.000Z | 2022-03-20T02:59:00.000Z | susi/__init__.py | FBlandfort/Subset-Simulation-Interpolation | e0c1433d6769c8a8c41943ed824007c2511a0c2e | [
"MIT"
] | null | null | null | susi/__init__.py | FBlandfort/Subset-Simulation-Interpolation | e0c1433d6769c8a8c41943ed824007c2511a0c2e | [
"MIT"
] | 3 | 2020-12-28T12:00:37.000Z | 2022-03-31T13:36:12.000Z |
from . import main
from . import props
from . import sampling
from . import examples
'''
import susi
susi.props.attr(name="test",rtype="ln",mx=1,vx=2)
'''
| 10.733333 | 49 | 0.677019 | 25 | 161 | 4.36 | 0.64 | 0.366972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.167702 | 161 | 14 | 50 | 11.5 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bca4c712774eb00f205508ccc01f8de535821d0c | 54 | py | Python | democracy/plugins/__init__.py | tomijarvi/kerrokantasi | c36cedf44739a95dce14e141d2b2960688ad4eeb | [
"MIT"
] | null | null | null | democracy/plugins/__init__.py | tomijarvi/kerrokantasi | c36cedf44739a95dce14e141d2b2960688ad4eeb | [
"MIT"
] | 4 | 2021-09-01T09:49:04.000Z | 2022-03-12T01:09:43.000Z | democracy/plugins/__init__.py | tomijarvi/kerrokantasi | c36cedf44739a95dce14e141d2b2960688ad4eeb | [
"MIT"
] | 1 | 2020-01-31T07:41:04.000Z | 2020-01-31T07:41:04.000Z | from ._base import Plugin, get_implementation # noqa
| 27 | 53 | 0.796296 | 7 | 54 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 1 | 54 | 54 | 0.891304 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bcefd0d452bf0f7c234174f18ab420066009dc51 | 47 | py | Python | tests/fixes/issue_41/test_module/__init__.py | allrod5/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 71 | 2018-02-05T04:12:27.000Z | 2022-02-15T23:08:16.000Z | tests/fixes/issue_41/test_module/__init__.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 104 | 2018-02-06T23:37:36.000Z | 2021-08-25T04:50:15.000Z | tests/fixes/issue_41/test_module/__init__.py | Euraxluo/injectable | 74e640f0911480fb06fa97c1a468c3863541c0fd | [
"MIT"
] | 13 | 2019-02-10T18:52:50.000Z | 2022-01-26T17:12:35.000Z | from .foo_module import Foo
__all__ = ["Foo"]
| 11.75 | 27 | 0.702128 | 7 | 47 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 28 | 15.666667 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4c20574ce10e9613503077617f154c4759ac156e | 93 | py | Python | Source/Backend/core/supplier/admin.py | csgn/Price-Tracker | 67507b85dac9b0b9c8c975342678ebec3be2b7c0 | [
"MIT"
] | null | null | null | Source/Backend/core/supplier/admin.py | csgn/Price-Tracker | 67507b85dac9b0b9c8c975342678ebec3be2b7c0 | [
"MIT"
] | 4 | 2021-12-12T10:31:23.000Z | 2021-12-12T10:33:46.000Z | Source/Backend/core/supplier/admin.py | csgn/Price-Tracker | 67507b85dac9b0b9c8c975342678ebec3be2b7c0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Supplier
admin.site.register(Supplier)
| 18.6 | 32 | 0.827957 | 13 | 93 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 33 | 23.25 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4c2707be3aa8f78393f5c7be07c3d468223a4f77 | 131 | py | Python | src/analytics/admin.py | atharvajakkanwar/webapp-ecommerce-python | 54e5cdae1a7f7398a30f64bceb0b550584e84e6b | [
"MIT"
] | 1 | 2019-05-30T01:48:54.000Z | 2019-05-30T01:48:54.000Z | src/analytics/admin.py | atharvajakkanwar/webapp-ecommerce-python | 54e5cdae1a7f7398a30f64bceb0b550584e84e6b | [
"MIT"
] | 11 | 2020-06-05T17:45:00.000Z | 2022-03-12T00:34:17.000Z | src/analytics/admin.py | sairam95/onestopshop | c3aa6fa0bdc11e85ef54b85c0ded8806ed5b8422 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ObjectViewed
# Register your models here.
admin.site.register(ObjectViewed)
| 18.714286 | 33 | 0.816794 | 17 | 131 | 6.294118 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 6 | 34 | 21.833333 | 0.930435 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4c38003e527d6cf68366fb4e71ce12aff759f403 | 3,511 | py | Python | tests/tools/test_listtostring.py | eric-s-s/share-with-z | 60a4c9788085ba55c6214114447e1c16bc49f7ce | [
"MIT"
] | 5 | 2016-07-29T18:28:04.000Z | 2019-06-17T19:49:11.000Z | tests/tools/test_listtostring.py | eric-s-s/dice-tables | 60a4c9788085ba55c6214114447e1c16bc49f7ce | [
"MIT"
] | 16 | 2015-11-12T02:13:30.000Z | 2020-12-05T21:35:00.000Z | tests/tools/test_listtostring.py | eric-s-s/dice-tables | 60a4c9788085ba55c6214114447e1c16bc49f7ce | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import unittest
import dicetables.tools.listtostring as l2s
class TestListToString(unittest.TestCase):
def test_format_for_sequence_string_adds_commas(self):
self.assertEqual(l2s.format_for_sequence_str(10), '10')
self.assertEqual(l2s.format_for_sequence_st... | 45.012821 | 115 | 0.714326 | 583 | 3,511 | 3.833619 | 0.15952 | 0.06264 | 0.161074 | 0.147651 | 0.794183 | 0.778523 | 0.731544 | 0.634452 | 0.486353 | 0.445638 | 0 | 0.068758 | 0.146682 | 3,511 | 77 | 116 | 45.597403 | 0.677236 | 0 | 0 | 0 | 0 | 0 | 0.028197 | 0 | 0 | 0 | 0 | 0 | 0.442308 | 1 | 0.384615 | false | 0 | 0.057692 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c4efd7abc23ada191f590168c06fdec129ec0ac | 1,664 | py | Python | hail/python/hail/fs/fs.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | hail/python/hail/fs/fs.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | hail/python/hail/fs/fs.py | MariusDanner/hail | 5ca0305f8243b5888931b1afaa1fbfb617dee097 | [
"MIT"
] | null | null | null | import abc
import sys
import os
from typing import Dict, List
from hail.utils.java import Env, info
from hail.utils import local_path_uri
class FS(abc.ABC):
@abc.abstractmethod
def open(self, path: str, mode: str = 'r', buffer_size: int = 8192):
pass
@abc.abstractmethod
def copy(self, src: s... | 23.771429 | 100 | 0.584736 | 219 | 1,664 | 4.388128 | 0.424658 | 0.176899 | 0.208117 | 0.224766 | 0.240375 | 0.125911 | 0.125911 | 0.125911 | 0.085328 | 0 | 0 | 0.003457 | 0.304688 | 1,664 | 69 | 101 | 24.115942 | 0.827139 | 0.130409 | 0 | 0.425532 | 0 | 0 | 0.054325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0.212766 | 0.12766 | 0 | 0.382979 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4c4f110c0ae6ee0ab0bc260ba3837f5037c2041f | 26,908 | py | Python | icon_file.py | InternalCode/SQLAutoBackupGUI | e8bdb34746fdcd84c2301a57f47ad5e7d80837ef | [
"MIT"
] | null | null | null | icon_file.py | InternalCode/SQLAutoBackupGUI | e8bdb34746fdcd84c2301a57f47ad5e7d80837ef | [
"MIT"
] | null | null | null | icon_file.py | InternalCode/SQLAutoBackupGUI | e8bdb34746fdcd84c2301a57f47ad5e7d80837ef | [
"MIT"
] | null | null | null | ico = '''R0lGODlhlgCWAOf/AAYMDwEQEAITGA0TDwQWHwoWFgkXGxEVFwYaJwQdLgEhNxQdIxgeHx4c
IRsfHBEhLAAlQBwhGQomPQUpSg4nRBInOQAsUiMmHiMpLSYpJikoLB4rOAgwVwI1YDIrMgA6
ais0PzQyNzI1LTkyODI1MgA/djA2Og9AeAZEggJLjjpBSD5COj5CQkRBR0dBQABRmipLSgBW
pRRXp0tOSVJMTwdbsklPUk9NWFVJdgBgvU5XQgBlyABr1VhaY1lbXBhmy1FeW4BaZn5ZfXhd
fm9hfRJ23n1edF9... | 73.720548 | 82 | 0.955255 | 806 | 26,908 | 31.890819 | 0.990074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112079 | 0.027129 | 26,908 | 364 | 83 | 73.923077 | 0.869814 | 0 | 0 | 0 | 0 | 0 | 0.99951 | 0.985835 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c56f8b9e6b1feab8f0d24ca17b288d7aa8868b2 | 261 | py | Python | tests/test_components.py | ArjixWasTaken/domonic | b80433af8c3172b8a15cb62eeca4e6c5add8cb7e | [
"MIT"
] | null | null | null | tests/test_components.py | ArjixWasTaken/domonic | b80433af8c3172b8a15cb62eeca4e6c5add8cb7e | [
"MIT"
] | null | null | null | tests/test_components.py | ArjixWasTaken/domonic | b80433af8c3172b8a15cb62eeca4e6c5add8cb7e | [
"MIT"
] | null | null | null | """
test_components
~~~~~~~~~~~~
tests for components
"""
import unittest
from domonic.html import *
from domonic.JSON import *
# class TestCase(unittest.TestCase):
# def test_json(self):
# if __name__ == '__main__':
# unittest.main()
| 13.736842 | 36 | 0.628352 | 28 | 261 | 5.5 | 0.607143 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214559 | 261 | 18 | 37 | 14.5 | 0.75122 | 0.601533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c62d876b499701c6491761aaff0e2065a6b77de | 10,691 | py | Python | 2021/d15.py | MichaelSquires/AdventOfCode | e6ffbacc000f1479d9dbb8a902adb3e08464929b | [
"MIT"
] | null | null | null | 2021/d15.py | MichaelSquires/AdventOfCode | e6ffbacc000f1479d9dbb8a902adb3e08464929b | [
"MIT"
] | null | null | null | 2021/d15.py | MichaelSquires/AdventOfCode | e6ffbacc000f1479d9dbb8a902adb3e08464929b | [
"MIT"
] | null | null | null | '''
## --- Day 15: Chiton ---
You've almost reached the exit of the cave, but the walls are getting closer
together. Your submarine can barely still fit, though; the main problem is that
the walls of the cave are covered in chitons, and it would be best not to bump
any of them.
The cavern is large, but has a very low... | 32.495441 | 80 | 0.810214 | 999 | 10,691 | 8.661662 | 0.328328 | 0.008321 | 0.006934 | 0.010401 | 0.694095 | 0.684618 | 0.672599 | 0.660811 | 0.643707 | 0.636542 | 0 | 0.592101 | 0.147414 | 10,691 | 328 | 81 | 32.594512 | 0.357213 | 0.762323 | 0 | 0.133333 | 0 | 0 | 0.044639 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.055556 | 0.022222 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c683e41585302089a9f512ef478e01221d76fcc | 23 | py | Python | pykg2vec/_version.py | aungthu17593/pykg2vec | 007f860a81fbd43b468055cca3d5d6c1633f485a | [
"MIT"
] | null | null | null | pykg2vec/_version.py | aungthu17593/pykg2vec | 007f860a81fbd43b468055cca3d5d6c1633f485a | [
"MIT"
] | null | null | null | pykg2vec/_version.py | aungthu17593/pykg2vec | 007f860a81fbd43b468055cca3d5d6c1633f485a | [
"MIT"
] | 1 | 2021-07-21T14:40:55.000Z | 2021-07-21T14:40:55.000Z | __version__ = "0.0.48"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c72412b4fbba7f1f855b09f604ecebba0728915 | 27,201 | py | Python | MACS2/OptValidator.py | mr-c/MACS | 8ac898614aa1da24d811f315bd0d069f1d4fcd4e | [
"BSD-3-Clause"
] | 1 | 2020-03-16T02:31:57.000Z | 2020-03-16T02:31:57.000Z | MACS2/OptValidator.py | mr-c/MACS | 8ac898614aa1da24d811f315bd0d069f1d4fcd4e | [
"BSD-3-Clause"
] | null | null | null | MACS2/OptValidator.py | mr-c/MACS | 8ac898614aa1da24d811f315bd0d069f1d4fcd4e | [
"BSD-3-Clause"
] | 3 | 2019-11-11T18:49:58.000Z | 2021-10-03T19:16:08.000Z | # Time-stamp: <2016-02-15 14:57:27 Tao Liu>
"""Module Description
Copyright (c) 2010,2011 Tao Liu <taoliu@jimmy.harvard.edu>
This code is free software; you can redistribute it and/or modify it
under the terms of the BSD License (see the file COPYING included with
the distribution).
@status: experimental
@version:... | 36.075597 | 133 | 0.586265 | 3,046 | 27,201 | 5.194025 | 0.133946 | 0.073952 | 0.050503 | 0.015043 | 0.753176 | 0.717591 | 0.683712 | 0.663232 | 0.634031 | 0.628216 | 0 | 0.010929 | 0.286864 | 27,201 | 753 | 134 | 36.123506 | 0.804671 | 0.107827 | 0 | 0.717949 | 0 | 0.003945 | 0.191976 | 0.002093 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015779 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c77314a03ac30ed2d31189469b4dd1297947b62 | 213 | py | Python | sample.py | terryhahm/ARAM | bbaa6446aec6ad7141d492aef174832e627c7b74 | [
"MIT"
] | null | null | null | sample.py | terryhahm/ARAM | bbaa6446aec6ad7141d492aef174832e627c7b74 | [
"MIT"
] | null | null | null | sample.py | terryhahm/ARAM | bbaa6446aec6ad7141d492aef174832e627c7b74 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import riotAPIKey
import time
import requests
df = pd.read_csv('./data/br1matchId.csv').dropna(axis = 0)
df = df.astype(int)
df.to_csv('./data/br1matchId.csv', index=False) | 23.666667 | 58 | 0.746479 | 36 | 213 | 4.361111 | 0.611111 | 0.089172 | 0.216561 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015957 | 0.117371 | 213 | 9 | 59 | 23.666667 | 0.819149 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.