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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
916109f436b57ff24926a1d808ff0b3c00b73b77 | 661 | py | Python | tests/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | dgquintas/vmcontroller.unstable | 131c0af19c5923ef57c74006246dc41c65f24120 | [
"BSD-3-Clause"
] | null | null | null | #!python
# To run from the root folder:
# trial tests/
import sys
import os
# When executed from the root folder
sys.path.append(os.path.abspath("./tests"))
sys.path.append(os.path.abspath("./src/vmcontroller.common"))
sys.path.append(os.path.abspath("./src/vmcontroller.host"))
sys.path.append(os.path.abspath("./src... | 33.05 | 62 | 0.738275 | 102 | 661 | 4.77451 | 0.303922 | 0.11499 | 0.213552 | 0.246407 | 0.685832 | 0.685832 | 0.685832 | 0.554415 | 0.554415 | 0.554415 | 0 | 0 | 0.078669 | 661 | 19 | 63 | 34.789474 | 0.799672 | 0.234493 | 0 | 0 | 0 | 0 | 0.298 | 0.282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.272727 | 0 | 0.272727 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
916f4d3948f6b194540587beef26962020bf31d0 | 4,629 | py | Python | tests/test_app/dynamic_preferences_registry.py | dadoeyad/django-dynamic-preferences | fa012e3012f7149a92bd2daa57efd4c5e0aba32c | [
"BSD-3-Clause"
] | null | null | null | tests/test_app/dynamic_preferences_registry.py | dadoeyad/django-dynamic-preferences | fa012e3012f7149a92bd2daa57efd4c5e0aba32c | [
"BSD-3-Clause"
] | null | null | null | tests/test_app/dynamic_preferences_registry.py | dadoeyad/django-dynamic-preferences | fa012e3012f7149a92bd2daa57efd4c5e0aba32c | [
"BSD-3-Clause"
] | null | null | null | from decimal import Decimal
from django.utils.timezone import FixedOffset
from dynamic_preferences.types import *
from dynamic_preferences.registries import global_preferences_registry
from dynamic_preferences.users.registries import user_preferences_registry
from dynamic_preferences.preferences import Section
from d... | 22.915842 | 74 | 0.723698 | 467 | 4,629 | 7.029979 | 0.353319 | 0.138897 | 0.180932 | 0.214438 | 0.322875 | 0.104173 | 0.104173 | 0.033506 | 0 | 0 | 0 | 0.013528 | 0.185569 | 4,629 | 201 | 75 | 23.029851 | 0.857294 | 0.046446 | 0 | 0.330769 | 0 | 0 | 0.125546 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0.061538 | 0.007692 | 0.784615 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
917316f1f8cb5714f9ff3f671e9af8937fa996de | 769 | py | Python | test/test_countries_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | 1 | 2019-06-26T14:24:54.000Z | 2019-06-26T14:24:54.000Z | test/test_countries_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | null | null | null | test/test_countries_api.py | kinow-io/kinow-python-sdk | 4c1699a3c78048b84287bd049a669651a5b4e2d5 | [
"Apache-2.0"
] | 1 | 2018-02-01T10:08:40.000Z | 2018-02-01T10:08:40.000Z | # coding: utf-8
"""
Server API
Reference for Server API (REST/Json)
OpenAPI spec version: 1.4.58
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import kinow_client
from kinow_client.rest import ... | 17.088889 | 68 | 0.674902 | 94 | 769 | 5.287234 | 0.553191 | 0.088531 | 0.060362 | 0.096579 | 0.108652 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008518 | 0.236671 | 769 | 44 | 69 | 17.477273 | 0.83816 | 0.282185 | 0 | 0.125 | 1 | 0 | 0.016495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0.125 | 0.4375 | 0 | 0.6875 | 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 | 0 | 0 | 0 | 3 |
9188541815032e6a9c58810261724e7941360e05 | 1,952 | py | Python | flybirds/core/exceptions.py | LinuxSuRen/flybirds | a99027d87f61966c148dbcd314fcef8037c78a17 | [
"MIT"
] | 1 | 2022-01-20T06:46:25.000Z | 2022-01-20T06:46:25.000Z | flybirds/core/exceptions.py | Nightwish555/flybirds | 49de598a52d349ee407d24e6339dfedd8c356cf5 | [
"MIT"
] | null | null | null | flybirds/core/exceptions.py | Nightwish555/flybirds | 49de598a52d349ee407d24e6339dfedd8c356cf5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
flybirds common error
"""
class FlybirdNotFoundException(Exception):
"""
not find flybirds
"""
def __init__(self, message, select_dic, error=None):
message = f"selectors={str(select_dic)} {message}"
if error is not None:
message = f"{message} in... | 19.52 | 73 | 0.612193 | 194 | 1,952 | 5.706186 | 0.242268 | 0.198735 | 0.121951 | 0.132791 | 0.503162 | 0.503162 | 0.503162 | 0.503162 | 0.503162 | 0.503162 | 0 | 0.000702 | 0.270492 | 1,952 | 99 | 74 | 19.717172 | 0.776685 | 0.08248 | 0 | 0.717391 | 0 | 0 | 0.068534 | 0.016091 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0 | 0.152174 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
91bc6fcef2e317a002b4e3d3a7a2e6700b986cb8 | 1,685 | py | Python | venv/lib/python3.7/site-packages/PyInstaller/hooks/hook-wx.lib.pubsub.py | alexzacher/BMI-Body-Mass-Index-Calculator-APP | f54473757992568b73b066d507059e1053357174 | [
"MIT"
] | 5 | 2020-08-24T23:29:58.000Z | 2022-02-07T19:58:07.000Z | PyInstaller/hooks/hook-wx.lib.pubsub.py | samuelhwilliams/pyinstaller | 8714423aa56803027b5a5585257392024ea9f7a0 | [
"Apache-2.0"
] | 12 | 2020-02-15T04:04:55.000Z | 2022-02-18T20:29:49.000Z | pyinstaller-develop/PyInstaller/hooks/hook-wx.lib.pubsub.py | onecklam/ethereum-graphviz | 6993accf0cb85e23013bf7ae6b04145724a6dbd2 | [
"Apache-2.0"
] | 2 | 2020-08-24T23:30:06.000Z | 2021-12-23T18:23:38.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2013-2020, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License (version 2
# or later) with exception for distributing the bootloader.
#
# The full license is in the file COPYING.txt... | 45.540541 | 121 | 0.660534 | 234 | 1,685 | 4.679487 | 0.517094 | 0.027397 | 0.060274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022253 | 0.146588 | 1,685 | 36 | 122 | 46.805556 | 0.739221 | 0.734125 | 0 | 0 | 0 | 0 | 0.134118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
91d0acbd75355c913f1176c429740bffec5e75bb | 2,911 | py | Python | Builds/T PC Windows Version/renpy/curry.py | JManAn/Ingener-a-de-Software-TF | 4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe | [
"MIT"
] | 1 | 2020-07-23T18:33:01.000Z | 2020-07-23T18:33:01.000Z | Builds/T PC Windows Version/renpy/curry.py | JManAn/Ingener-a-de-Software-TF | 4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe | [
"MIT"
] | null | null | null | Builds/T PC Windows Version/renpy/curry.py | JManAn/Ingener-a-de-Software-TF | 4eb162f0a2b4d19d0a9e96f9bc0baf17e8cedbfe | [
"MIT"
] | null | null | null | # Copyright 2004-2019 Tom Rothamel <pytom@bishoujo.us>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, m... | 35.072289 | 75 | 0.689797 | 393 | 2,911 | 4.994911 | 0.391858 | 0.044829 | 0.024452 | 0.036679 | 0.048905 | 0.033622 | 0 | 0 | 0 | 0 | 0 | 0.00356 | 0.2281 | 2,911 | 82 | 76 | 35.5 | 0.870049 | 0.57403 | 0 | 0 | 0 | 0 | 0.02627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0.178571 | 0.607143 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91e4e2c94f55dab985db9442ebd926db95704ca0 | 91 | py | Python | app/core/mixims/__init__.py | 3darkman/faction-builder-api | 9dda323ef44a1ca0976306a4f20f9cc3e13704ec | [
"MIT"
] | null | null | null | app/core/mixims/__init__.py | 3darkman/faction-builder-api | 9dda323ef44a1ca0976306a4f20f9cc3e13704ec | [
"MIT"
] | null | null | null | app/core/mixims/__init__.py | 3darkman/faction-builder-api | 9dda323ef44a1ca0976306a4f20f9cc3e13704ec | [
"MIT"
] | null | null | null | from .inlineeditlink import InlineEditLinkMixin
__all__ = [
'InlineEditLinkMixin',
]
| 13 | 47 | 0.758242 | 6 | 91 | 10.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 6 | 48 | 15.166667 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
37f9a8ec33749695cbb2e507e322f28415661186 | 247 | py | Python | public/cgi/tilecache/tilecache_seed.py | l34marr/mapwarper | 0bc844c6a9f002157d0c67d2f792b986be0f9133 | [
"MIT"
] | 1 | 2018-09-01T14:37:39.000Z | 2018-09-01T14:37:39.000Z | public/cgi/tilecache/tilecache_seed.py | miklobit/mapwarper | 8c395dfcc66cd3b0f858584e2cf1e2f74cf21da7 | [
"MIT"
] | 17 | 2017-07-05T16:33:52.000Z | 2017-07-19T03:07:55.000Z | public/cgi/tilecache/tilecache_seed.py | miklobit/mapwarper | 8c395dfcc66cd3b0f858584e2cf1e2f74cf21da7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# BSD Licensed, Copyright (c) 2006-2008 MetaCarta, Inc.
"""This is intended to be run as a command line tool. See the accompanying
README file or man page for details."""
import TileCache.Client
TileCache.Client.main()
| 24.7 | 74 | 0.736842 | 39 | 247 | 4.666667 | 0.948718 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038647 | 0.161943 | 247 | 9 | 75 | 27.444444 | 0.84058 | 0.740891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
37fdd1442f419f2c52e1710e6671bbb0dd809603 | 10,453 | py | Python | 2021/Problem 05.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | 2021/Problem 05.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | 2021/Problem 05.py | christopherliu/advent-of-code | d18b54c538e7af608ba2efd92bf469b28ad5fe98 | [
"MIT"
] | null | null | null | vents = """964,133 -> 596,133
920,215 -> 920,976
123,528 -> 123,661
613,13 -> 407,13
373,876 -> 424,876
616,326 -> 120,326
486,335 -> 539,388
104,947 -> 54,947
319,241 -> 282,204
453,175 -> 453,438
485,187 -> 915,617
863,605 -> 603,605
870,524 -> 342,524
967,395 -> 634,62
405,181 -> 807,181
961,363 -> 419,905
89,586 ->... | 19.074818 | 76 | 0.605376 | 2,225 | 10,453 | 2.836854 | 0.381573 | 0.004436 | 0.006179 | 0.007129 | 0.009981 | 0.006971 | 0 | 0 | 0 | 0 | 0 | 0.683312 | 0.181957 | 10,453 | 548 | 77 | 19.074818 | 0.054847 | 0.00641 | 0 | 0 | 0 | 0 | 0.902629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.003704 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
53070e56f4ba88edc26dadfd4c72df3dbe773ef4 | 94 | py | Python | MacGybot/__init__.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | MacGybot/__init__.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | MacGybot/__init__.py | MathieuBrillard/le_tavernier | 45f27bb20b47478f5d2ea92c2433cfffb32ddbb8 | [
"MIT"
] | null | null | null | # Bot's version number
__version__ = "0.1.0"
# Authorized guild
GUILD_ID = 952941520867196958 | 18.8 | 29 | 0.765957 | 13 | 94 | 5.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.138298 | 94 | 5 | 29 | 18.8 | 0.567901 | 0.393617 | 0 | 0 | 0 | 0 | 0.090909 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
531e503936efcf2598b2dd48576390641090c2b8 | 256 | py | Python | lib/append_text.py | millengustavo/arauto | 98921954a52f89f2fe0b836000809095ac8a70e1 | [
"Apache-2.0"
] | 106 | 2019-11-28T13:15:35.000Z | 2022-01-17T08:12:37.000Z | lib/append_text.py | millengustavo/arauto | 98921954a52f89f2fe0b836000809095ac8a70e1 | [
"Apache-2.0"
] | 7 | 2019-11-14T03:06:52.000Z | 2019-11-25T04:17:51.000Z | lib/append_text.py | millengustavo/arauto | 98921954a52f89f2fe0b836000809095ac8a70e1 | [
"Apache-2.0"
] | 22 | 2019-12-05T19:31:16.000Z | 2021-12-09T15:57:46.000Z | def append_text(new_text):
'''
Write the code instruction to be exported later on
Args.
new_text (str): the text that will be appended to the base string
'''
global code_base_text
code_base_text = code_base_text + new_text | 25.6 | 73 | 0.683594 | 40 | 256 | 4.125 | 0.525 | 0.127273 | 0.218182 | 0.193939 | 0.218182 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257813 | 256 | 10 | 74 | 25.6 | 0.868421 | 0.496094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
534b5b08ed175e056d79ae435bf24aa996a77712 | 111 | py | Python | 26.10.2019/challenge.py | KruZZy/coderdojo-python | 0f9920de24c0ff8733badb81daed1e590825662c | [
"MIT"
] | null | null | null | 26.10.2019/challenge.py | KruZZy/coderdojo-python | 0f9920de24c0ff8733badb81daed1e590825662c | [
"MIT"
] | null | null | null | 26.10.2019/challenge.py | KruZZy/coderdojo-python | 0f9920de24c0ff8733badb81daed1e590825662c | [
"MIT"
] | null | null | null | n=int(input ('veverite'))
if n %2==0: print ('par')
else: print ('impar')
print('par' if n%2==0 else 'impar')
| 18.5 | 35 | 0.594595 | 21 | 111 | 3.142857 | 0.52381 | 0.090909 | 0.121212 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0.144144 | 111 | 5 | 36 | 22.2 | 0.652632 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
536df475d18a12b7f4f32b7a3c95e29482f2681a | 10,427 | py | Python | src/tests/docs/t_conduit_docs_tutorial_python_relay_mpi_examples.py | kant/conduit | 420c69805942a77c10fa29f773f101eb61793f04 | [
"BSD-3-Clause"
] | null | null | null | src/tests/docs/t_conduit_docs_tutorial_python_relay_mpi_examples.py | kant/conduit | 420c69805942a77c10fa29f773f101eb61793f04 | [
"BSD-3-Clause"
] | null | null | null | src/tests/docs/t_conduit_docs_tutorial_python_relay_mpi_examples.py | kant/conduit | 420c69805942a77c10fa29f773f101eb61793f04 | [
"BSD-3-Clause"
] | null | null | null | ###############################################################################
# Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC.
#
# Produced at the Lawrence Livermore National Laboratory
#
# LLNL-CODE-666778
#
# All rights reserved.
#
# This file is part of Conduit.
#
# For details, see: htt... | 34.87291 | 100 | 0.615709 | 1,489 | 10,427 | 4.163868 | 0.171256 | 0.042581 | 0.025806 | 0.02129 | 0.735806 | 0.712742 | 0.687258 | 0.682581 | 0.680806 | 0.680806 | 0 | 0.020305 | 0.282056 | 10,427 | 298 | 101 | 34.989933 | 0.807908 | 0.355328 | 0 | 0.741722 | 0 | 0 | 0.106004 | 0.033736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05298 | false | 0 | 0.198676 | 0 | 0.298013 | 0.07947 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7255f74003cbb1979ee3f6a0a1886c9557fe94cc | 2,486 | py | Python | parser/fase2/team24/c3d.py | NedHerrera/tytus | 7e16e8242beeb7f0b90aa1c9b9f01141d7d79a0f | [
"MIT"
] | null | null | null | parser/fase2/team24/c3d.py | NedHerrera/tytus | 7e16e8242beeb7f0b90aa1c9b9f01141d7d79a0f | [
"MIT"
] | null | null | null | parser/fase2/team24/c3d.py | NedHerrera/tytus | 7e16e8242beeb7f0b90aa1c9b9f01141d7d79a0f | [
"MIT"
] | null | null | null | from InstruccionesDGA import tabla
from datetime import date
from InstruccionesDGA import cont
from InstruccionesDGA import NombreDB
from tablaDGA import *
from sql import *
import mathtrig as mt
#Funcion sql.execute
pila = []
for i in range(100):
pila.append(i)
def ejecutar():
n_db = tabla.id_db(NombreDB)
... | 21.247863 | 382 | 0.701126 | 364 | 2,486 | 4.739011 | 0.266484 | 0.13913 | 0.187826 | 0.222609 | 0.473623 | 0.451594 | 0.40058 | 0.375072 | 0.322899 | 0.24 | 0 | 0.053642 | 0.182623 | 2,486 | 117 | 383 | 21.247863 | 0.795276 | 0 | 0 | 0.179487 | 0 | 0 | 0.014593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.089744 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
727f6a78c6aefc49a82f68e1c536c3256c57db0f | 1,088 | py | Python | attendees/context_processors.py | xjlin0/attendees | 3c337ee68c00f17cbbbe26f2e33131e57850e4ed | [
"MIT"
] | 1 | 2020-03-26T00:42:04.000Z | 2020-03-26T00:42:04.000Z | attendees/context_processors.py | xjlin0/attendees | 3c337ee68c00f17cbbbe26f2e33131e57850e4ed | [
"MIT"
] | null | null | null | attendees/context_processors.py | xjlin0/attendees | 3c337ee68c00f17cbbbe26f2e33131e57850e4ed | [
"MIT"
] | null | null | null | from pytz import timezone
from datetime import datetime
from django.conf import settings
from urllib import parse
from attendees.users.models import Menu
def common_variables(request): # TODO move organization info to view
tzname = request.COOKIES.get('timezone') or settings.CLIENT_DEFAULT_TIME_ZONE
user_or... | 38.857143 | 81 | 0.752757 | 131 | 1,088 | 5.938931 | 0.442748 | 0.267352 | 0.205656 | 0.123393 | 0.321337 | 0.159383 | 0.113111 | 0 | 0 | 0 | 0 | 0.00111 | 0.171875 | 1,088 | 27 | 82 | 40.296296 | 0.862375 | 0.032169 | 0 | 0 | 0 | 0 | 0.098002 | 0.046622 | 0 | 0 | 0 | 0.037037 | 0 | 1 | 0.041667 | false | 0 | 0.208333 | 0 | 0.291667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
728906e6cbafc89e496c4ac3f7f6792b2bbb4b47 | 115 | py | Python | LABORATORIO 2/factorial.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | LABORATORIO 2/factorial.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | LABORATORIO 2/factorial.py | msolivera/Phyton | 1322fa2ff4bb06a17350fefa7e5268c0969e5b53 | [
"bzip2-1.0.6"
] | null | null | null | def factorial(n):
if n==0:
return 1
else:
return factorial(n-1)*n
print(factorial(80))
| 16.428571 | 31 | 0.53913 | 17 | 115 | 3.647059 | 0.588235 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0.330435 | 115 | 6 | 32 | 19.166667 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 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 | 0 | 0 | 3 |
729177ea0b43f6986a1c6cebc61b8b4af0c24565 | 458 | py | Python | python/ql/test/3/query-tests/Expressions/Arguments/wrong_arguments.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/3/query-tests/Expressions/Arguments/wrong_arguments.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/3/query-tests/Expressions/Arguments/wrong_arguments.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | #Make sure that we handle keyword-only arguments correctly
def f(a, *varargs, kw1, kw2="has-default"):
pass
#OK
f(1, 2, 3, kw1=1)
f(1, 2, kw1=1, kw2=2)
#Not OK
f(1, 2, 3, kw1=1, kw3=3)
f(1, 2, 3, kw3=3)
#ODASA-5897
def analyze_member_access(msg, *, original, override, chk: 'default' = None):
pass
def ok(... | 18.32 | 77 | 0.663755 | 82 | 458 | 3.634146 | 0.439024 | 0.026846 | 0.040268 | 0.040268 | 0.409396 | 0.308725 | 0.067114 | 0 | 0 | 0 | 0 | 0.076923 | 0.176856 | 458 | 24 | 78 | 19.083333 | 0.713528 | 0.163755 | 0 | 0.166667 | 0 | 0 | 0.047493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
7296ae6ac28253d667efa4996c12bfa3f2550bd1 | 234 | py | Python | saleor/core/templatetags/jsonld.py | tanjibpa/alrawaa | c28fbe7becd43b9de1575346fe8c29cee5f36de1 | [
"BSD-3-Clause"
] | 1 | 2020-10-24T14:25:53.000Z | 2020-10-24T14:25:53.000Z | saleor/core/templatetags/jsonld.py | tanjibpa/alrawaa | c28fbe7becd43b9de1575346fe8c29cee5f36de1 | [
"BSD-3-Clause"
] | 1 | 2022-02-10T08:53:52.000Z | 2022-02-10T08:53:52.000Z | saleor/core/templatetags/jsonld.py | BiaoLiu/saleor | d3de4d8ee69208d73539194b71449498f8e5e81f | [
"BSD-3-Clause"
] | 1 | 2020-09-29T14:21:31.000Z | 2020-09-29T14:21:31.000Z | import json
from django.template import Library
from saleor.product.utils import product_json_ld
register = Library()
@register.simple_tag
def product_availability_schema(product):
return json.dumps(product_json_ld(product))
| 18 | 48 | 0.816239 | 32 | 234 | 5.75 | 0.5625 | 0.119565 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 234 | 12 | 49 | 19.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
72985ab25da3d43a996a51d903b8e2b1d7ea163f | 233 | py | Python | hata/discord/permission/__init__.py | ToxicKidz/hata | f834c3cee3920d3095254815582325c5232022d7 | [
"0BSD"
] | null | null | null | hata/discord/permission/__init__.py | ToxicKidz/hata | f834c3cee3920d3095254815582325c5232022d7 | [
"0BSD"
] | null | null | null | hata/discord/permission/__init__.py | ToxicKidz/hata | f834c3cee3920d3095254815582325c5232022d7 | [
"0BSD"
] | null | null | null | from .permission import *
from .permission_overwrite import *
from .preinstanced import *
from .utils import *
__all__ = (
*permission.__all__,
*permission_overwrite.__all__,
*utils.__all__,
*preinstanced.__all__,
)
| 19.416667 | 35 | 0.725322 | 23 | 233 | 6.391304 | 0.304348 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175966 | 233 | 11 | 36 | 21.181818 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 3 |
72a6db606e9525b89423c77424977159dbbc1bed | 27 | py | Python | my-cs/intern/java_details/java_sort_selection_details/__init__.py | zaqwes8811/cs-courses | aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2 | [
"Apache-2.0"
] | null | null | null | my-cs/intern/java_details/java_sort_selection_details/__init__.py | zaqwes8811/cs-courses | aa9cf5ad109c9cfcacaadc11bf2defb2188ddce2 | [
"Apache-2.0"
] | 15 | 2015-03-07T12:46:41.000Z | 2015-04-11T09:08:36.000Z | buffer/scripts-emb-ext/projects/v8-wrap-gen/sources/v8_api_gen_r16258/matrix.py | zaqwes8811/micro-apps | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | __author__ = 'zaqwes_user'
| 13.5 | 26 | 0.777778 | 3 | 27 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72b7d0692249f547523adc4465279dc8591254da | 91 | py | Python | tests/syntax/indentation_error_4.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/indentation_error_4.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/indentation_error_4.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | '''Should raise IndentationError'''
def f():
s = "a"\
"b"
"c"
f()
| 10.111111 | 35 | 0.395604 | 10 | 91 | 3.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.395604 | 91 | 8 | 36 | 11.375 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
72c9914ea06563be3c92bc4a2fe68a8de1966eb9 | 918 | py | Python | src/pymor/domaindescriptions/interfaces.py | mahgadalla/pymor | ee2806b4c93748e716294c42454d611415da7b5e | [
"Unlicense"
] | 1 | 2021-07-26T12:58:50.000Z | 2021-07-26T12:58:50.000Z | src/pymor/domaindescriptions/interfaces.py | mahgadalla/pymor | ee2806b4c93748e716294c42454d611415da7b5e | [
"Unlicense"
] | null | null | null | src/pymor/domaindescriptions/interfaces.py | mahgadalla/pymor | ee2806b4c93748e716294c42454d611415da7b5e | [
"Unlicense"
] | null | null | null | # This file is part of the pyMOR project (http://www.pymor.org).
# Copyright 2013-2017 pyMOR developers and contributors. All rights reserved.
# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
from pymor.core.interfaces import ImmutableInterface
KNOWN_BOUNDARY_TYPES = {'dirichlet', 'neuma... | 25.5 | 77 | 0.694989 | 111 | 918 | 5.657658 | 0.522523 | 0.144904 | 0.066879 | 0.090764 | 0.105096 | 0.105096 | 0.105096 | 0 | 0 | 0 | 0 | 0.013831 | 0.212418 | 918 | 35 | 78 | 26.228571 | 0.854772 | 0.41939 | 0 | 0.214286 | 0 | 0 | 0.084677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.214286 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
72e4b7bdb58e3d1e590181c822fbbcc82deeea9c | 316 | py | Python | goodreads_api_client/resources/work.py | fossabot/goodreads-api-client-python | d58424aea92e808e8e9c6bbf6ecc42f084a6c642 | [
"MIT"
] | 63 | 2017-12-03T02:54:05.000Z | 2022-02-01T23:28:32.000Z | goodreads_api_client/resources/work.py | fossabot/goodreads-api-client-python | d58424aea92e808e8e9c6bbf6ecc42f084a6c642 | [
"MIT"
] | 13 | 2017-08-13T17:28:06.000Z | 2019-06-08T05:49:11.000Z | goodreads_api_client/resources/work.py | fossabot/goodreads-api-client-python | d58424aea92e808e8e9c6bbf6ecc42f084a6c642 | [
"MIT"
] | 15 | 2017-12-09T00:56:05.000Z | 2021-01-26T22:42:09.000Z | # -*- coding: utf-8 -*-
"""Module containing work resource class."""
from goodreads_api_client.exceptions import ExtraApiPermissionsRequired
from goodreads_api_client.resources.base import Resource
class Work(Resource):
def editions(self, id_: str):
raise ExtraApiPermissionsRequired('work.editions')
| 28.727273 | 71 | 0.768987 | 35 | 316 | 6.8 | 0.657143 | 0.10084 | 0.134454 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003636 | 0.129747 | 316 | 10 | 72 | 31.6 | 0.861818 | 0.193038 | 0 | 0 | 0 | 0 | 0.052209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 0 | 1 | 0 | 0 | 3 |
72e66cf30654d1c056e1425298471b16b1c74fc6 | 289 | py | Python | webware/Admin/Config.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 11 | 2020-10-18T07:33:56.000Z | 2021-09-27T21:03:38.000Z | webware/Admin/Config.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 9 | 2020-01-03T18:58:25.000Z | 2020-01-09T18:36:23.000Z | webware/Admin/Config.py | PeaceWorksTechnologySolutions/w4py3 | 7f9e7088034e3e3ac53158edfa4f377b5b2f45fe | [
"MIT"
] | 4 | 2020-06-30T09:41:56.000Z | 2021-02-20T13:48:08.000Z | from WebUtils.Funcs import htmlForDict
from .AdminSecurity import AdminSecurity
class Config(AdminSecurity):
def title(self):
return 'Config'
def writeContent(self):
self.writeln(htmlForDict(
self.application().config(), topHeading='Application'))
| 20.642857 | 67 | 0.695502 | 28 | 289 | 7.178571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207612 | 289 | 13 | 68 | 22.230769 | 0.877729 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.75 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
72ea799b4828c1059a8126bde8497273ddb590cb | 543 | py | Python | mordred/PBF.py | ademidun/mordred | c9de906f0d7829a9abe80658b19f4f9f9aef6648 | [
"BSD-3-Clause"
] | 199 | 2017-04-26T07:40:32.000Z | 2022-03-29T10:52:19.000Z | mordred/PBF.py | mkrompiec/mordred | 8337a088b96e35fda86235ebf37f9c72d35cf72f | [
"BSD-3-Clause"
] | 87 | 2016-01-15T09:02:20.000Z | 2022-03-21T23:18:08.000Z | mordred/PBF.py | mkrompiec/mordred | 8337a088b96e35fda86235ebf37f9c72d35cf72f | [
"BSD-3-Clause"
] | 64 | 2018-03-07T13:21:47.000Z | 2022-03-16T00:56:11.000Z | from rdkit.Chem.rdMolDescriptors import CalcPBF
from ._base import Descriptor
__all__ = ("PBF",)
class PBF(Descriptor):
r"""PBF descriptor."""
__slots__ = ()
since = "1.1.2"
require_3D = True
@classmethod
def preset(cls, version):
yield cls()
def description(self):
ret... | 16.96875 | 47 | 0.626151 | 62 | 543 | 4.967742 | 0.580645 | 0.12987 | 0.090909 | 0.123377 | 0.168831 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0.012531 | 0.265193 | 543 | 31 | 48 | 17.516129 | 0.759399 | 0.027624 | 0 | 0.1 | 0 | 0 | 0.015326 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f4095c85236707d4f992d4c1a92eacde8a466d84 | 436 | py | Python | carla_utils/agents/__init__.py | zhangdongkun98/carla-utils | a370db53589841c8cffe95c8df43dfc036176431 | [
"MIT"
] | 6 | 2020-11-25T14:05:05.000Z | 2022-03-14T05:34:11.000Z | carla_utils/agents/__init__.py | zhangdongkun98/carla-utils | a370db53589841c8cffe95c8df43dfc036176431 | [
"MIT"
] | null | null | null | carla_utils/agents/__init__.py | zhangdongkun98/carla-utils | a370db53589841c8cffe95c8df43dfc036176431 | [
"MIT"
] | null | null | null |
from .agents_route_planner import AgentsRoutePlanner
from .agents_master import AgentListMaster
from .controller import Controller
from .vehicle_model import RealModel, BicycleModel2D, BicycleModel2DParallel
from .agent_abc import AgentABC
from .agent_base import BaseAgent
from .agent_keyboard import KeyboardAgent
... | 25.647059 | 76 | 0.862385 | 52 | 436 | 7.038462 | 0.519231 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.110092 | 436 | 16 | 77 | 27.25 | 0.938144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 3 |
f416c6371b8df65a59e08860eb0e9d0ea8693282 | 146 | py | Python | block_processor/__init__.py | dharif23/block_processor | 19a7f221925c05cf4623e9f8419aea9f286c757e | [
"MIT"
] | 1 | 2021-03-17T13:53:46.000Z | 2021-03-17T13:53:46.000Z | block_processor/__init__.py | dalwar23/block_processor | 19a7f221925c05cf4623e9f8419aea9f286c757e | [
"MIT"
] | null | null | null | block_processor/__init__.py | dalwar23/block_processor | 19a7f221925c05cf4623e9f8419aea9f286c757e | [
"MIT"
] | 1 | 2018-12-05T01:52:33.000Z | 2018-12-05T01:52:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Source code meta data
__author__ = 'Dalwar Hossain'
__email__ = 'dalwar.hossain@protonmail.com'
| 18.25 | 43 | 0.691781 | 19 | 146 | 4.894737 | 0.894737 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.143836 | 146 | 7 | 44 | 20.857143 | 0.736 | 0.438356 | 0 | 0 | 0 | 0 | 0.551282 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f426face3491e3bade18f1252ae5f6b516921c7f | 588 | py | Python | tests/unit/test_nomic_bot_stack.py | CrimsonRadiator/nomic-bot | 06e6d042bc94ff185d046651bf3e98f6c3725e87 | [
"MIT"
] | null | null | null | tests/unit/test_nomic_bot_stack.py | CrimsonRadiator/nomic-bot | 06e6d042bc94ff185d046651bf3e98f6c3725e87 | [
"MIT"
] | null | null | null | tests/unit/test_nomic_bot_stack.py | CrimsonRadiator/nomic-bot | 06e6d042bc94ff185d046651bf3e98f6c3725e87 | [
"MIT"
] | 1 | 2022-03-07T20:21:45.000Z | 2022-03-07T20:21:45.000Z | import aws_cdk as core
import aws_cdk.assertions as assertions
from nomic_bot.nomic_bot_stack import NomicBotStack
# def test_sqs_queue_created():
# app = core.App()
# stack = NomicBotStack(app, "nomic-bot")
# template = assertions.Template.from_stack(stack)
# template.has_resource_properties("AWS::S... | 26.727273 | 59 | 0.697279 | 74 | 588 | 5.310811 | 0.378378 | 0.081425 | 0.061069 | 0.086514 | 0.478372 | 0.478372 | 0.478372 | 0.478372 | 0.478372 | 0.478372 | 0 | 0.008214 | 0.171769 | 588 | 21 | 60 | 28 | 0.798768 | 0.751701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 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 | 3 |
f4429a0652da14632e666fc01fef08a9c7d42d53 | 1,121 | py | Python | tests/test_unit.py | yemel/coinage | ace015c565a5d95848f874d2f8c6586309e5950c | [
"MIT"
] | 6 | 2015-04-15T19:23:30.000Z | 2015-11-08T17:26:01.000Z | tests/test_unit.py | yemel/coinage | ace015c565a5d95848f874d2f8c6586309e5950c | [
"MIT"
] | 27 | 2016-03-08T18:34:27.000Z | 2016-03-16T21:51:50.000Z | tests/test_unit.py | yemel/bitforge | ace015c565a5d95848f874d2f8c6586309e5950c | [
"MIT"
] | 2 | 2016-02-15T02:17:34.000Z | 2017-10-24T12:17:30.000Z | from bitforge.unit import Unit
class TestUnit:
def test_btc_accessors(self):
u = Unit(btc = 1.2)
assert u.btc == 1.2
assert u.mbtc == 1200
assert u.bits == 1200000
assert u.satoshis == 120000000
def test_btc_conversion(self):
u = Unit(btc = 1.3)
as... | 24.911111 | 54 | 0.529884 | 161 | 1,121 | 3.627329 | 0.285714 | 0.215753 | 0.061644 | 0.061644 | 0.190068 | 0.113014 | 0.068493 | 0 | 0 | 0 | 0 | 0.179207 | 0.347904 | 1,121 | 44 | 55 | 25.477273 | 0.619699 | 0.156111 | 0 | 0.071429 | 0 | 0 | 0.027689 | 0 | 0 | 0 | 0 | 0.022727 | 0.607143 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f44c89515cb6950641fb07bb42a67147edc8a2b2 | 3,363 | py | Python | bitglitter/tests/palettes/test_paletteutilites.py | MarkMichon1/BitGlitter-Python | 0dcd5ec420d42f911189a5968a20ef4bc8381e60 | [
"MIT"
] | 11 | 2021-07-30T14:35:57.000Z | 2021-12-30T10:27:18.000Z | bg_backend/bitglitter/tests/palettes/test_paletteutilites.py | MarkMichon1/BitGlitter-Backend | af399d82b19a7828b15ea1789bc980987f1049fe | [
"MIT"
] | null | null | null | bg_backend/bitglitter/tests/palettes/test_paletteutilites.py | MarkMichon1/BitGlitter-Backend | af399d82b19a7828b15ea1789bc980987f1049fe | [
"MIT"
] | 1 | 2021-10-21T00:22:51.000Z | 2021-10-21T00:22:51.000Z | from bitglitter.utilities.palette import get_color_distance
def test_color_distance_with_default_1bit_palette():
t_palette = ((0,0,0), (255,255,255))
t_expect = 441.67
t_result = get_color_distance(t_palette)
assert len(t_palette) == 2 # number of colors
assert t_expect == t_result
def test_color... | 43.115385 | 91 | 0.592031 | 587 | 3,363 | 3.18569 | 0.076661 | 0.049198 | 0.048128 | 0.035294 | 0.820856 | 0.679144 | 0.621925 | 0.621925 | 0.564706 | 0.54385 | 0 | 0.269187 | 0.2135 | 3,363 | 77 | 92 | 43.675325 | 0.437807 | 0.040143 | 0 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.015625 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 3 |
f464956eeacc1de864359656f20094b633a6e887 | 200 | py | Python | mai_version/representation/modes.py | joschout/tilde | 1403b50842b83f2edd6b16b1fbe24b9bec2d0048 | [
"Apache-2.0"
] | 16 | 2019-03-06T06:11:33.000Z | 2022-02-07T21:30:25.000Z | mai_version/representation/modes.py | joschout/tilde | 1403b50842b83f2edd6b16b1fbe24b9bec2d0048 | [
"Apache-2.0"
] | 4 | 2019-10-08T14:48:23.000Z | 2020-03-26T00:31:57.000Z | mai_version/representation/modes.py | krishnangovindraj/tilde | 5243a02d92f375d56ffc49ab8c3d1a87e31e99b9 | [
"Apache-2.0"
] | 4 | 2019-08-14T05:40:47.000Z | 2020-08-05T13:21:16.000Z | from enum import Enum
class ModeIndicator(Enum):
INPUT = '+' # use existing variable
OUTPUT = '-' # create new variable (do not reuse existing)
CONSTANT = 'c' # insert constant
| 22.222222 | 65 | 0.64 | 23 | 200 | 5.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265 | 200 | 8 | 66 | 25 | 0.870748 | 0.405 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
be2fdfa9746df12e349d9a67bd95e78819e80801 | 712 | py | Python | mpf/tests/test_Platform.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/tests/test_Platform.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/tests/test_Platform.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | from mpf.tests.MpfTestCase import MpfTestCase
class TestPlatform(MpfTestCase):
def getConfigFile(self):
return 'test_platform.yaml'
def getMachinePath(self):
return 'tests/machine_files/platform/'
def get_platform(self):
return False
def test_platform_from_device(self):
... | 29.666667 | 74 | 0.674157 | 81 | 712 | 5.814815 | 0.530864 | 0.093418 | 0.080679 | 0.110403 | 0.29724 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003724 | 0.245787 | 712 | 23 | 75 | 30.956522 | 0.873371 | 0.13764 | 0 | 0 | 0 | 0 | 0.109656 | 0.047463 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | false | 0 | 0.076923 | 0.230769 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be53926c41c587eb652725b8be4928678fe9b32f | 1,546 | py | Python | src/maintenance/azext_maintenance/generated/_client_factory.py | wwendyc/azure-cli-extensions | 6b4099676bb5d43fdb57bc69f9c0281cca510a0a | [
"MIT"
] | 1 | 2021-08-03T18:32:54.000Z | 2021-08-03T18:32:54.000Z | src/maintenance/azext_maintenance/generated/_client_factory.py | wwendyc/azure-cli-extensions | 6b4099676bb5d43fdb57bc69f9c0281cca510a0a | [
"MIT"
] | 4 | 2020-09-07T12:56:24.000Z | 2021-02-04T12:19:20.000Z | src/maintenance/azext_maintenance/generated/_client_factory.py | wwendyc/azure-cli-extensions | 6b4099676bb5d43fdb57bc69f9c0281cca510a0a | [
"MIT"
] | 5 | 2020-09-08T22:46:48.000Z | 2020-11-08T14:54:35.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 34.355556 | 83 | 0.720569 | 188 | 1,546 | 5.489362 | 0.361702 | 0.093023 | 0.116279 | 0.139535 | 0.448643 | 0.371124 | 0.371124 | 0.371124 | 0.339147 | 0.253876 | 0 | 0 | 0.125485 | 1,546 | 44 | 84 | 35.136364 | 0.763314 | 0.283959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.105263 | 0.368421 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bead4a8a7f18e18967fa87d6543e24356977300f | 170,496 | py | Python | examples/eidelyur/threeApproachesComparison_v5.py | radiasoft/rsdynfric | 0d905e1ef85063ec6fe93df64751f7b8c19da160 | [
"Apache-2.0"
] | null | null | null | examples/eidelyur/threeApproachesComparison_v5.py | radiasoft/rsdynfric | 0d905e1ef85063ec6fe93df64751f7b8c19da160 | [
"Apache-2.0"
] | 1 | 2022-03-23T22:53:10.000Z | 2022-03-28T19:02:40.000Z | examples/eidelyur/threeApproachesComparison_v5.py | radiasoft/rsdynfric | 0d905e1ef85063ec6fe93df64751f7b8c19da160 | [
"Apache-2.0"
] | 3 | 2017-01-06T04:24:29.000Z | 2020-02-16T01:17:20.000Z | # from __future__ import division
#-------------------------------------
#
# Started at 09/12/2017 (YuE)
#
#-------------------------------------
import os, sys
import numpy as np
import math
import matplotlib.pyplot as plt
import matplotlib.cm as cm
from matplotlib.colors import LogNorm
from matplotlib impor... | 46.711233 | 150 | 0.595334 | 23,304 | 170,496 | 4.244593 | 0.040208 | 0.005237 | 0.026184 | 0.028469 | 0.796727 | 0.744692 | 0.702161 | 0.655981 | 0.622114 | 0.596557 | 0 | 0.054434 | 0.254158 | 170,496 | 3,649 | 151 | 46.724034 | 0.723434 | 0.230527 | 0 | 0.519623 | 0 | 0.026038 | 0.125293 | 0.01551 | 0.000755 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008679 | null | null | 0.043019 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bec81f783512d66e1f693cbbd87ade38c6cecfcd | 1,259 | py | Python | var/spack/repos/builtin/packages/xtl/package.py | QianJianhua1/spack | 363536fd929d2aee280e07780ff6c98498d7be46 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11 | 2015-10-04T02:17:46.000Z | 2018-02-07T18:23:00.000Z | var/spack/repos/builtin/packages/xtl/package.py | QianJianhua1/spack | 363536fd929d2aee280e07780ff6c98498d7be46 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 22 | 2017-08-01T22:45:10.000Z | 2022-03-10T07:46:31.000Z | var/spack/repos/builtin/packages/xtl/package.py | QianJianhua1/spack | 363536fd929d2aee280e07780ff6c98498d7be46 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2016-06-10T17:57:39.000Z | 2018-09-11T04:59:38.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Xtl(CMakePackage):
"""QuantStack tools library"""
homepage = "https://github.com/Quan... | 40.612903 | 95 | 0.739476 | 124 | 1,259 | 7.508065 | 0.58871 | 0.051557 | 0.045113 | 0.077336 | 0.087003 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28247 | 0.125496 | 1,259 | 30 | 96 | 41.966667 | 0.563124 | 0.233519 | 0 | 0 | 0 | 0.066667 | 0.603358 | 0.402938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe31dc92f1a8e9b56db3aeec0dc878cfc7a1be4b | 121 | py | Python | pynwm/__init__.py | rileyhales/pynwm | 09e26de839a749c7e4ae8ffc1da5c511188574b6 | [
"BSD-3-Clause-Clear"
] | 2 | 2021-08-23T21:48:33.000Z | 2021-08-24T01:09:38.000Z | pynwm/__init__.py | rileyhales/pynwm | 09e26de839a749c7e4ae8ffc1da5c511188574b6 | [
"BSD-3-Clause-Clear"
] | null | null | null | pynwm/__init__.py | rileyhales/pynwm | 09e26de839a749c7e4ae8ffc1da5c511188574b6 | [
"BSD-3-Clause-Clear"
] | null | null | null | import pynwm.data_service
__all__ = ['data_service']
__author__ = 'Riley Chad Hales'
__license__ = 'BSD 3-Clause Clear'
| 20.166667 | 34 | 0.760331 | 16 | 121 | 4.875 | 0.875 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.132231 | 121 | 5 | 35 | 24.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.380165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe391a366e883b1fc151333c6038b628d988d4c2 | 578 | py | Python | dolo/__init__.py | christophe-gouel/dolo | d9aef6d78d19899e2669e49ee6b7ad9aacf0e35d | [
"BSD-2-Clause"
] | null | null | null | dolo/__init__.py | christophe-gouel/dolo | d9aef6d78d19899e2669e49ee6b7ad9aacf0e35d | [
"BSD-2-Clause"
] | null | null | null | dolo/__init__.py | christophe-gouel/dolo | d9aef6d78d19899e2669e49ee6b7ad9aacf0e35d | [
"BSD-2-Clause"
] | null | null | null | from dolo.version import __version_info__, __version__
from dolo.config import *
from dolo.numeric.simulations import simulate, plot_decision_rule
from dolo.symbolic.symbolic import Variable, Parameter, Shock, Equation
from dolo.misc.modfile import dynare_import
from dolo.misc.yamlfile import yaml_import
from dolo.... | 34 | 71 | 0.861592 | 79 | 578 | 6.037975 | 0.405063 | 0.167715 | 0.157233 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093426 | 578 | 16 | 72 | 36.125 | 0.910305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 3 |
fe508939f09816706b65e3fdd006edcd9eb743f7 | 21 | py | Python | python3/vimspector/global_filetype.py | chinnkarahoi/vimspector | 133b6978983cec3888ac7444d8c56bd5126eb944 | [
"Apache-2.0"
] | null | null | null | python3/vimspector/global_filetype.py | chinnkarahoi/vimspector | 133b6978983cec3888ac7444d8c56bd5126eb944 | [
"Apache-2.0"
] | null | null | null | python3/vimspector/global_filetype.py | chinnkarahoi/vimspector | 133b6978983cec3888ac7444d8c56bd5126eb944 | [
"Apache-2.0"
] | null | null | null | GLOBAL_FILETYPE = ''
| 10.5 | 20 | 0.714286 | 2 | 21 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe50a3a09c5fcca97ca553da8af516f3ab3af6c9 | 341 | py | Python | basic_algorithms/sum_multidimensional_list.py | pariaagharabi/python-basics | 4b10d7c13e071c21d3be9e8ffe998fe72b4e04c9 | [
"MIT"
] | null | null | null | basic_algorithms/sum_multidimensional_list.py | pariaagharabi/python-basics | 4b10d7c13e071c21d3be9e8ffe998fe72b4e04c9 | [
"MIT"
] | null | null | null | basic_algorithms/sum_multidimensional_list.py | pariaagharabi/python-basics | 4b10d7c13e071c21d3be9e8ffe998fe72b4e04c9 | [
"MIT"
] | null | null | null | def sum_multidimensional_list_v1(lst):
sum_nums = 0
for row in range(len(lst)):
for col in range(len(lst[row])):
sum_nums += lst[row][col]
return sum_nums
def sum_multidimensional_list_v2(lst):
sum_nums = 0
for row in lst:
for col in row:
sum_nums += col
... | 17.947368 | 40 | 0.601173 | 53 | 341 | 3.641509 | 0.301887 | 0.217617 | 0.227979 | 0.26943 | 0.196891 | 0.196891 | 0.196891 | 0 | 0 | 0 | 0 | 0.017021 | 0.31085 | 341 | 18 | 41 | 18.944444 | 0.804255 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
fe6b531403786071c3b76a7bddae931c438c2493 | 33 | py | Python | haul3/haul/platforms/webos/__init__.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | 2 | 2021-07-04T13:00:50.000Z | 2022-03-19T21:39:06.000Z | haul3/haul/platforms/webos/__init__.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | null | null | null | haul3/haul/platforms/webos/__init__.py | hotkeymuc/haul | 22533491e3a22ce9fabd81f281282a09880b400c | [
"MIT"
] | null | null | null | __all__ = [
'builder_webos',
] | 11 | 18 | 0.606061 | 3 | 33 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 3 | 19 | 11 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe6f14196a3977d4f8dbacbf51633eb1315ab130 | 188 | py | Python | notebook/feature/category.py | wakamezake/kaggle-snippets | fa933e7c9a485213957fffe68bb326e37cdea7b1 | [
"MIT"
] | 6 | 2019-11-01T00:21:38.000Z | 2020-07-27T06:40:41.000Z | notebook/feature/category.py | wakamezake/kaggle-snippets | fa933e7c9a485213957fffe68bb326e37cdea7b1 | [
"MIT"
] | null | null | null | notebook/feature/category.py | wakamezake/kaggle-snippets | fa933e7c9a485213957fffe68bb326e37cdea7b1 | [
"MIT"
] | 2 | 2019-12-02T08:19:55.000Z | 2019-12-05T08:53:24.000Z | import category_encoders as cat_enc
def target_encoding_with_catboost(cols, x, y):
encoder = cat_enc.CatBoostEncoder(cols=cols)
encoder.fit(x, y)
return encoder.transform(x)
| 23.5 | 48 | 0.755319 | 28 | 188 | 4.857143 | 0.678571 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154255 | 188 | 7 | 49 | 26.857143 | 0.855346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fe7510e352975ddcc8e5bda1c00c34105c4726e7 | 553 | py | Python | tests/games/test_prime.py | znhv/winsio | 4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d | [
"MIT"
] | null | null | null | tests/games/test_prime.py | znhv/winsio | 4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d | [
"MIT"
] | null | null | null | tests/games/test_prime.py | znhv/winsio | 4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d | [
"MIT"
] | null | null | null | from brainstorm.games import prime
def test_is_prime():
actual = prime.is_prime(4)
assert actual == "no"
actual = prime.is_prime(3)
assert actual == "yes"
def test_is_prime_type():
actual = prime.is_prime(8)
assert isinstance(actual, str)
def test_generate_number_type():
actual = prim... | 20.481481 | 37 | 0.698011 | 74 | 553 | 5.013514 | 0.337838 | 0.09434 | 0.296496 | 0.145553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011211 | 0.19349 | 553 | 26 | 38 | 21.269231 | 0.820628 | 0 | 0 | 0 | 0 | 0 | 0.009042 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe86d3ef23adb529cd0a75ef699e7fbdc843b42d | 524 | py | Python | socialapp/models.py | surajsonee/socialapp | e741d2467e2bbde5b7bdbe90702e4123ce31bddb | [
"BSD-3-Clause"
] | null | null | null | socialapp/models.py | surajsonee/socialapp | e741d2467e2bbde5b7bdbe90702e4123ce31bddb | [
"BSD-3-Clause"
] | null | null | null | socialapp/models.py | surajsonee/socialapp | e741d2467e2bbde5b7bdbe90702e4123ce31bddb | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Registration(models.Model):
title = models.CharField(max_length=200)
newstext = models.CharField(max_length=200)
newsvideourl = models.CharField(max_length=200)
fburl = models.CharField(max_leng... | 27.578947 | 50 | 0.763359 | 67 | 524 | 5.746269 | 0.492537 | 0.233766 | 0.280519 | 0.374026 | 0.420779 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040724 | 0.156489 | 524 | 18 | 51 | 29.111111 | 0.830317 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0.090909 | 1 | 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 | 0 | 0 | 0 | 3 |
2286e0ef2be6e4038ef8777ec429ffd62cd942ed | 508 | py | Python | sympy/codegen/abstract_nodes.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/codegen/abstract_nodes.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/codegen/abstract_nodes.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | """This module provides containers for python objects that are valid
printing targets but are not a subclass of SymPy's Printable.
"""
from sympy.core.containers import Tuple
class List(Tuple):
"""Represents a (frozen) (Python) list (for code printing purposes)."""
def __eq__(self, other):
... | 26.736842 | 76 | 0.627953 | 62 | 508 | 4.951613 | 0.66129 | 0.065147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271654 | 508 | 18 | 77 | 28.222222 | 0.82973 | 0.379921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2293e2bfd2d92ca1ef3196371bbcf21d62aeac4b | 473 | py | Python | unttst.py | BalayetRony/Python_CI_Demo | 527c451450572f8dbe306380f06f857f1c862b58 | [
"MIT"
] | null | null | null | unttst.py | BalayetRony/Python_CI_Demo | 527c451450572f8dbe306380f06f857f1c862b58 | [
"MIT"
] | null | null | null | unttst.py | BalayetRony/Python_CI_Demo | 527c451450572f8dbe306380f06f857f1c862b58 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Nov 7 12:06:34 2018
@author: mdb99
"""
import unittest
from inc import inc
# import inc
class MyTest(unittest.TestCase):
def test_my_function(self):
self.assertEqual(inc(0), 1)
self.assertEqual(inc(100), 101)
self.assertEqual(inc(1)... | 22.52381 | 40 | 0.570825 | 61 | 473 | 4.262295 | 0.606557 | 0.288462 | 0.346154 | 0.146154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.289641 | 473 | 20 | 41 | 23.65 | 0.690476 | 0.179704 | 0 | 0 | 0 | 0 | 0.022284 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.363636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
229789742107656c95a0fc4f14ca908bbf36fc4b | 3,638 | py | Python | AppDB/test/unit/test_backup_recovery_helper.py | HafeezRai/appscale | 08c02c4ad21541bf107c7c059a42b1f544d92cd5 | [
"Apache-2.0"
] | null | null | null | AppDB/test/unit/test_backup_recovery_helper.py | HafeezRai/appscale | 08c02c4ad21541bf107c7c059a42b1f544d92cd5 | [
"Apache-2.0"
] | 1 | 2019-10-15T15:57:53.000Z | 2019-10-15T15:57:53.000Z | AppDB/test/unit/test_backup_recovery_helper.py | HafeezRai/appscale | 08c02c4ad21541bf107c7c059a42b1f544d92cd5 | [
"Apache-2.0"
] | 1 | 2019-08-27T05:19:48.000Z | 2019-08-27T05:19:48.000Z | #!/usr/bin/env python
import os
import tarfile
import unittest
from flexmock import flexmock
from appscale.datastore.backup import backup_recovery_helper
class FakeTar():
def __init__(self):
self.add_count = 0
def add(self, name):
self.add_count += 1
def close(self):
pass
class TestBRHelper(unit... | 33.685185 | 79 | 0.74519 | 489 | 3,638 | 5.192229 | 0.200409 | 0.132336 | 0.189051 | 0.088224 | 0.607326 | 0.54746 | 0.42497 | 0.376526 | 0.376526 | 0.298543 | 0 | 0.005038 | 0.126993 | 3,638 | 107 | 80 | 34 | 0.794395 | 0.053601 | 0 | 0.171053 | 0 | 0 | 0.076027 | 0.013982 | 0 | 0 | 0 | 0 | 0.144737 | 1 | 0.210526 | false | 0.052632 | 0.065789 | 0 | 0.302632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
22a14c1946f08e118d2e7e3fb39d2866526ce1e2 | 368 | py | Python | tests/common.py | eaudeweb/htables | d54ab389c1b3ce4ac4f496dddaa55334e330a77d | [
"BSD-2-Clause"
] | null | null | null | tests/common.py | eaudeweb/htables | d54ab389c1b3ce4ac4f496dddaa55334e330a77d | [
"BSD-2-Clause"
] | null | null | null | tests/common.py | eaudeweb/htables | d54ab389c1b3ce4ac4f496dddaa55334e330a77d | [
"BSD-2-Clause"
] | null | null | null | import unittest2 as unittest
import tempfile
from path import path
class TestCase(unittest.TestCase):
def preSetUp(self):
pass
def __call__(self, result=None):
self.preSetUp()
super(TestCase, self).__call__(result)
def tmpdir(self):
tmp = path(tempfile.mkdtemp())
... | 19.368421 | 46 | 0.652174 | 43 | 368 | 5.395349 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.255435 | 368 | 18 | 47 | 20.444444 | 0.843066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.230769 | 0 | 0.615385 | 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 | 0 | 1 | 0 | 0 | 3 |
22aa4c6085ea1a37473f9342131d97abdc929c3c | 2,707 | py | Python | pymc3/distributions/dist_math.py | vpolisky/pymc3 | 87cdd712c86321121c2ed3150764f3d847f5083c | [
"Apache-2.0"
] | null | null | null | pymc3/distributions/dist_math.py | vpolisky/pymc3 | 87cdd712c86321121c2ed3150764f3d847f5083c | [
"Apache-2.0"
] | null | null | null | pymc3/distributions/dist_math.py | vpolisky/pymc3 | 87cdd712c86321121c2ed3150764f3d847f5083c | [
"Apache-2.0"
] | 1 | 2021-04-13T10:31:26.000Z | 2021-04-13T10:31:26.000Z | '''
Created on Mar 7, 2011
@author: johnsalvatier
'''
from __future__ import division
import numpy as np
import theano.tensor as tt
from .special import gammaln
def bound(logp, *conditions, **kwargs):
"""
Bounds a log probability density with several conditions.
Parameters
----------
logp : fl... | 27.343434 | 112 | 0.555227 | 393 | 2,707 | 3.791349 | 0.381679 | 0.008054 | 0.037584 | 0.032215 | 0.118121 | 0.118121 | 0.099329 | 0.099329 | 0.099329 | 0.099329 | 0 | 0.090326 | 0.308829 | 2,707 | 98 | 113 | 27.622449 | 0.70604 | 0.338382 | 0 | 0 | 0 | 0 | 0.012077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22b9ebf9f771c761b6075f8aa78d868f2386e9f5 | 1,997 | py | Python | sshpipe/sshpipe/lib/subprocess/sshsubprocessclient.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | sshpipe/sshpipe/lib/subprocess/sshsubprocessclient.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | sshpipe/sshpipe/lib/subprocess/sshsubprocessclient.py | Acrisel/sshpipe | b809b151588b315720dd9c4b623592c02e041457 | [
"BSD-3-Clause"
] | null | null | null | # -*- encoding: utf-8 -*-
##############################################################################
#
# Acrisel LTD
# Copyright (C) 2008- Acrisel (acrisel.com) . All Rights Reserved
#
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public... | 30.723077 | 87 | 0.631447 | 237 | 1,997 | 5.232068 | 0.64135 | 0.026613 | 0.031452 | 0.045968 | 0.066129 | 0.045161 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.20681 | 1,997 | 64 | 88 | 31.203125 | 0.771465 | 0.441162 | 0 | 0.076923 | 0 | 0 | 0.031317 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 1 | 0.076923 | false | 0.038462 | 0.384615 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
22c9cb4c6227e35d4eeb173c4e43a94f537f02c9 | 14 | py | Python | wsdd/__init__.py | anodos325/wsdd | 987d9dc149adad26c56deef34eff818388f8317b | [
"MIT"
] | null | null | null | wsdd/__init__.py | anodos325/wsdd | 987d9dc149adad26c56deef34eff818388f8317b | [
"MIT"
] | null | null | null | wsdd/__init__.py | anodos325/wsdd | 987d9dc149adad26c56deef34eff818388f8317b | [
"MIT"
] | null | null | null | name = "wsdd"
| 7 | 13 | 0.571429 | 2 | 14 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 14 | 1 | 14 | 14 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22d68cdcfb54f3f9bc897a6a7ce9e9ef26e44800 | 1,513 | py | Python | bowlingKata02/test.py | MikeAWilliams/LearnPython | 56fa39c9c3281a3b14f1899361f5f732f159032a | [
"MIT"
] | null | null | null | bowlingKata02/test.py | MikeAWilliams/LearnPython | 56fa39c9c3281a3b14f1899361f5f732f159032a | [
"MIT"
] | null | null | null | bowlingKata02/test.py | MikeAWilliams/LearnPython | 56fa39c9c3281a3b14f1899361f5f732f159032a | [
"MIT"
] | null | null | null | import unittest
import bowling
class BowlingTest(unittest.TestCase):
def test_no_strike_no_spare(self):
frames = [[1, 1], [1, 1], [1, 1], [1, 1], [1, 1],
[1, 1], [1, 1], [1, 1], [1, 1], [1, 1, 0]]
self.assertEqual(20, bowling.CalculateScore(frames))
def test_strikes_no_spar... | 37.825 | 75 | 0.493721 | 228 | 1,513 | 3.144737 | 0.162281 | 0.172943 | 0.23431 | 0.284519 | 0.647141 | 0.504881 | 0.436541 | 0.436541 | 0.266388 | 0.266388 | 0 | 0.155904 | 0.283543 | 1,513 | 39 | 76 | 38.794872 | 0.505535 | 0 | 0 | 0.137931 | 0 | 0 | 0.005288 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.206897 | false | 0 | 0.068966 | 0 | 0.310345 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22e08c46f6c2d6d82c6d6817bcbd8897dbc46006 | 1,199 | py | Python | apps/dev/models.py | edilio/developer | 2c2a412cd83bf739b4a918786899bc2c9378787b | [
"MIT"
] | null | null | null | apps/dev/models.py | edilio/developer | 2c2a412cd83bf739b4a918786899bc2c9378787b | [
"MIT"
] | null | null | null | apps/dev/models.py | edilio/developer | 2c2a412cd83bf739b4a918786899bc2c9378787b | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import gettext_lazy as _
class Technology(models.Model):
name = models.CharField(max_length=40)
class Meta:
verbose_name_plural = _("Technologies")
def __unicode__(self):
return self.name
class DevModule(models.Mo... | 28.547619 | 91 | 0.677231 | 141 | 1,199 | 5.553191 | 0.368794 | 0.137931 | 0.191571 | 0.229885 | 0.591315 | 0.524904 | 0.489144 | 0.355045 | 0.250319 | 0.250319 | 0 | 0.010695 | 0.220183 | 1,199 | 42 | 92 | 28.547619 | 0.826738 | 0 | 0 | 0.466667 | 0 | 0 | 0.038827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0.1 | 0.866667 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
22e66a201835e659c39511d3fe1b136e375917a9 | 1,677 | py | Python | ltl/fake_pyzz.py | sterin/ltl | 27221dfe83406ca6c62a8f20f6e7f5963cd3ecb5 | [
"MIT-0"
] | null | null | null | ltl/fake_pyzz.py | sterin/ltl | 27221dfe83406ca6c62a8f20f6e7f5963cd3ecb5 | [
"MIT-0"
] | null | null | null | ltl/fake_pyzz.py | sterin/ltl | 27221dfe83406ca6c62a8f20f6e7f5963cd3ecb5 | [
"MIT-0"
] | null | null | null | from pyaig import *
class netlist(object):
def __init__(self, aig=None):
self.aig = aig or AIG()
def add_Flop(self):
return aigexpr.create_latch(self.aig)
def add_PI(self):
return aigexpr.create_pi(self.aig)
def get_True(self):
return aigexpr.const(self.aig, 1)
... | 23.957143 | 126 | 0.599284 | 232 | 1,677 | 4.125 | 0.241379 | 0.065831 | 0.071055 | 0.035528 | 0.060606 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0.003353 | 0.288611 | 1,677 | 69 | 127 | 24.304348 | 0.798826 | 0 | 0 | 0 | 0 | 0 | 0.00477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.288889 | false | 0 | 0.022222 | 0.177778 | 0.577778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22e8f0756c12de365617e416b875a1fb6f95e9b2 | 460 | py | Python | planner/sitemaps.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 7 | 2016-12-07T18:34:42.000Z | 2021-08-03T15:22:35.000Z | planner/sitemaps.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 35 | 2016-11-23T15:40:46.000Z | 2017-05-18T22:58:17.000Z | planner/sitemaps.py | pmontgo33/lawn-care-planner | 0b79a07a301eeb9a15ff1f4f461bdd364151f86a | [
"MIT"
] | 1 | 2017-04-13T15:13:01.000Z | 2017-04-13T15:13:01.000Z | """
sitemap.py
This code uses the Django documentation for static views:
https://docs.djangoproject.com/en/1.10/ref/contrib/sitemaps/
"""
# import statements
from django.contrib import sitemaps
from django.urls import reverse
class StaticViewSitemap(sitemaps.Sitemap):
priority = 0.5
changefreq = 'daily'
... | 21.904762 | 61 | 0.706522 | 59 | 460 | 5.474576 | 0.745763 | 0.06192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013193 | 0.176087 | 460 | 21 | 62 | 21.904762 | 0.83905 | 0.323913 | 0 | 0 | 0 | 0 | 0.115132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
22fc2c8df503063225edfb47375635fc7ddba96d | 7,473 | py | Python | pybitcoin/keypair.py | SmartCash/pybitcoin | c88f4b13591252210193536d81ccf16142cfae30 | [
"MIT"
] | 1 | 2021-01-24T18:29:59.000Z | 2021-01-24T18:29:59.000Z | pybitcoin/keypair.py | leoreinaux/pybitcoin | c88f4b13591252210193536d81ccf16142cfae30 | [
"MIT"
] | null | null | null | pybitcoin/keypair.py | leoreinaux/pybitcoin | c88f4b13591252210193536d81ccf16142cfae30 | [
"MIT"
] | 1 | 2019-05-23T03:02:03.000Z | 2019-05-23T03:02:03.000Z | # -*- coding: utf-8 -*-
"""
pybitcoin
~~~~~
:copyright: (c) 2014 by Halfmoon Labs
:license: MIT, see LICENSE for more details.
"""
import os
import json
import binascii
import ecdsa
import hashlib
from .privatekey import random_secret_exponent
from .b58check import b58check_encode, b58check_decode, b... | 27.076087 | 79 | 0.684866 | 831 | 7,473 | 5.837545 | 0.259928 | 0.07483 | 0.116883 | 0.17316 | 0.25067 | 0.178726 | 0.123274 | 0.098949 | 0.042259 | 0.016491 | 0 | 0.026044 | 0.234444 | 7,473 | 275 | 80 | 27.174545 | 0.821884 | 0.127793 | 0 | 0.160256 | 0 | 0 | 0.051897 | 0.022107 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089744 | false | 0.064103 | 0.070513 | 0.019231 | 0.621795 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
fe0fa98d1867d58dfce4ae8de3114d529b98ce51 | 4,428 | py | Python | mmd_tools_local/panels/prop_material.py | BlueLament/cats-blender-plugin | 5f240b54424419e44394364ce4a4d307b40ea562 | [
"MIT"
] | 3 | 2018-10-12T05:32:16.000Z | 2020-05-16T16:24:34.000Z | mmd_tools_local/panels/prop_material.py | RoxyBoxxy/cats-blender-plugin | 16e546e9c3ad258a65787e3c148796f5328be7ed | [
"MIT"
] | null | null | null | mmd_tools_local/panels/prop_material.py | RoxyBoxxy/cats-blender-plugin | 16e546e9c3ad258a65787e3c148796f5328be7ed | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from bpy.types import Panel
from mmd_tools_local.core.material import FnMaterial
class MMDMaterialPanel(Panel):
bl_idname = 'MATERIAL_PT_mmd_tools_material'
bl_label = 'MMD Material'
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = 'material'
@class... | 33.293233 | 105 | 0.593948 | 557 | 4,428 | 4.509874 | 0.168761 | 0.113854 | 0.06051 | 0.121019 | 0.815287 | 0.742436 | 0.709395 | 0.59992 | 0.538615 | 0.484475 | 0 | 0.002196 | 0.280262 | 4,428 | 132 | 106 | 33.545455 | 0.786006 | 0.009033 | 0 | 0.567568 | 0 | 0 | 0.1875 | 0.072765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036036 | false | 0 | 0.018018 | 0 | 0.18018 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 3 |
fe198583d4fd3b668eed5f263402fdd0a4929247 | 1,491 | py | Python | apis/migrations/0002_largecap.py | philip-hash/Fin_Serv_Rest_Api | 4feabbddc5e51a350b2aee4565d1a9cec2890ba0 | [
"MIT"
] | null | null | null | apis/migrations/0002_largecap.py | philip-hash/Fin_Serv_Rest_Api | 4feabbddc5e51a350b2aee4565d1a9cec2890ba0 | [
"MIT"
] | null | null | null | apis/migrations/0002_largecap.py | philip-hash/Fin_Serv_Rest_Api | 4feabbddc5e51a350b2aee4565d1a9cec2890ba0 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-04-14 10:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('apis', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='LargeCap',
fields=[
('name', ... | 40.297297 | 90 | 0.556003 | 157 | 1,491 | 5.146497 | 0.375796 | 0.155941 | 0.337871 | 0.402228 | 0.605198 | 0.605198 | 0.564356 | 0.19802 | 0 | 0 | 0 | 0.018078 | 0.295104 | 1,491 | 36 | 91 | 41.416667 | 0.750714 | 0.030181 | 0 | 0 | 1 | 0 | 0.125346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3aa59c5254bc40e5f2a4ae2d3322a1067ddc035 | 247 | py | Python | libAnt/core.py | ayanezcasal/AntLibAYC | c266af973f4c32d4baf30130fe51a572478488ec | [
"MIT"
] | 19 | 2018-04-14T15:29:17.000Z | 2022-02-05T08:51:16.000Z | libAnt/core.py | ayanezcasal/AntLibAYC | c266af973f4c32d4baf30130fe51a572478488ec | [
"MIT"
] | 5 | 2018-12-16T09:32:06.000Z | 2021-10-20T20:20:06.000Z | libAnt/core.py | ayanezcasal/AntLibAYC | c266af973f4c32d4baf30130fe51a572478488ec | [
"MIT"
] | 12 | 2016-08-24T09:00:44.000Z | 2022-01-24T00:16:13.000Z | def lazyproperty(fn):
attr_name = '__' + fn.__name__
@property
def _lazyprop(self):
if not hasattr(self, attr_name):
setattr(self, attr_name, fn(self))
return getattr(self, attr_name)
return _lazyprop
| 22.454545 | 46 | 0.623482 | 30 | 247 | 4.733333 | 0.466667 | 0.225352 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275304 | 247 | 10 | 47 | 24.7 | 0.793296 | 0 | 0 | 0 | 0 | 0 | 0.008097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
a3b825c0c19bb69269cd89dd3eddba8eea9a9f6e | 1,045 | py | Python | tests/test_utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | tests/test_utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | 5 | 2021-12-22T19:25:51.000Z | 2022-03-28T19:27:34.000Z | tests/test_utils.py | kreyoo/csgo-inv-shuffle | 6392dd1eef1ca87ec25c9cf4845af3f8df3594a5 | [
"MIT"
] | null | null | null | from csgoinvshuffle.types import SlotTagMap
from csgoinvshuffle.utils import get_depending_item_slots, get_loadout_slot_enum_value
from csgoinvshuffle.enums import LoadoutSlot
from csgoinvshuffle.item import _slot_tag_map, _slot_tag_map_ct, _slot_tag_map_t
def test_get_loadout_slot_enum_value():
for enum_value in... | 33.709677 | 86 | 0.797129 | 155 | 1,045 | 4.748387 | 0.212903 | 0.122283 | 0.195652 | 0.256793 | 0.427989 | 0.338315 | 0.233696 | 0.190217 | 0 | 0 | 0 | 0.00112 | 0.145455 | 1,045 | 30 | 87 | 34.833333 | 0.823068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.25 | false | 0 | 0.2 | 0 | 0.45 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3bb23da5da0a8adefd7d8c1e6044f0e4c89fdff | 406 | bzl | Python | third_party/gtest/workspace.bzl | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | third_party/gtest/workspace.bzl | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | third_party/gtest/workspace.bzl | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | """load gtest third party"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def repo():
http_archive(
name = "com_google_googletest",
sha256 = "353571c2440176ded91c2de6d6cd88ddd41401d14692ec1f99e35d013feda55a",
urls = ["https://github.com/google/googletest/archive/refs... | 36.909091 | 93 | 0.694581 | 46 | 406 | 5.978261 | 0.673913 | 0.058182 | 0.138182 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148688 | 0.155172 | 406 | 10 | 94 | 40.6 | 0.653061 | 0.054187 | 0 | 0 | 0 | 0.125 | 0.632275 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3c24db89883ec877c7e0a2348630a636948a826 | 444 | py | Python | simplemooc/core/migrations/0015_auto_20181105_2356.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | simplemooc/core/migrations/0015_auto_20181105_2356.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | simplemooc/core/migrations/0015_auto_20181105_2356.py | DiegoBrian/Eureka | 27cf952b27af7fc8cfcc797dffc43a92c9a16d15 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.1 on 2018-11-06 01:56
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0014_usuario_pergunta'),
]
operations = [
migrations.RemoveField(
model_name='pergunta',
name='student_answer',
... | 20.181818 | 47 | 0.572072 | 43 | 444 | 5.767442 | 0.697674 | 0.169355 | 0.209677 | 0.241935 | 0.395161 | 0.395161 | 0.395161 | 0 | 0 | 0 | 0 | 0.062706 | 0.317568 | 444 | 21 | 48 | 21.142857 | 0.755776 | 0.101351 | 0 | 0.4 | 1 | 0 | 0.168766 | 0.052897 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3e359aa30e336e41c00e142ec180cb0af7cc399 | 485 | py | Python | countess/tests/data/plugins/two_options.py | VariantEffect/Enrich2-py3 | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 4 | 2020-01-14T19:24:07.000Z | 2020-01-16T18:11:35.000Z | countess/tests/data/plugins/two_options.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 3 | 2020-01-01T10:38:15.000Z | 2020-01-03T09:45:41.000Z | countess/tests/data/plugins/two_options.py | VariantEffect/CountESS | 5f8534c8c9259d90d99d70e5bd9140fd0fdc8ea4 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T00:35:24.000Z | 2022-02-20T00:35:24.000Z | from countess.plugins.scoring import BaseScorerPlugin
from countess.plugins.options import Options
options_1 = Options()
options_2 = Options()
class CountsScorer(BaseScorerPlugin):
name = "Counts Only"
version = "1.0"
author = "Alan Rubin, Daniel Esposito"
def __init__(self, store_manager, options... | 21.086957 | 53 | 0.701031 | 56 | 485 | 5.803571 | 0.625 | 0.073846 | 0.116923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.204124 | 485 | 22 | 54 | 22.045455 | 0.831606 | 0 | 0 | 0.142857 | 0 | 0 | 0.084536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a3fb8526b6c27b834a3c5bce5a53b9b23dc85f4b | 600 | py | Python | src/expresso/tests/test_job_parser.py | Jaleyhd/expresso2 | b167a97e67ffc6fd6082163802ab8a2079464693 | [
"MIT"
] | null | null | null | src/expresso/tests/test_job_parser.py | Jaleyhd/expresso2 | b167a97e67ffc6fd6082163802ab8a2079464693 | [
"MIT"
] | null | null | null | src/expresso/tests/test_job_parser.py | Jaleyhd/expresso2 | b167a97e67ffc6fd6082163802ab8a2079464693 | [
"MIT"
] | null | null | null | #from __future__ import absolute_import
from ..utils import job_parser
from ..utils import common
from nose2.tools import params
from nose2.tools import such
import unittest2 as unittest
class MyTestCase(unittest.TestCase):
def test(self):
self.assertRaises(Exception,job_parser.get_category_path,type_val... | 28.571429 | 100 | 0.74 | 79 | 600 | 5.392405 | 0.493671 | 0.06338 | 0.140845 | 0.204225 | 0.389671 | 0.389671 | 0.389671 | 0.248826 | 0.248826 | 0 | 0 | 0.010081 | 0.173333 | 600 | 20 | 101 | 30 | 0.84879 | 0.063333 | 0 | 0 | 0 | 0 | 0.023173 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.230769 | false | 0 | 0.384615 | 0 | 0.692308 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
431966f6ada67e0b873edaae0a708be56ad3013c | 169 | py | Python | environments/sparseMuJoCo/setup.py | smileyenot983/PPO-pytorch | 14fa91e0ac204fcba768f5e24f744f1ef9472488 | [
"MIT"
] | null | null | null | environments/sparseMuJoCo/setup.py | smileyenot983/PPO-pytorch | 14fa91e0ac204fcba768f5e24f744f1ef9472488 | [
"MIT"
] | null | null | null | environments/sparseMuJoCo/setup.py | smileyenot983/PPO-pytorch | 14fa91e0ac204fcba768f5e24f744f1ef9472488 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='sparseMuJoCo',
version='1.0.0',
install_requires=['gym', 'mujoco-py']
)
| 24.142857 | 57 | 0.491124 | 16 | 169 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.384615 | 169 | 6 | 58 | 28.166667 | 0.759615 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
433c316f06715c7fcf0260e910ea67851b8e0e33 | 128 | py | Python | wcics/database/consts/problems.py | CS-Center/CS-Center | 3cd09f29d214406e6618fc67b9faf59a18f3f11b | [
"MIT"
] | null | null | null | wcics/database/consts/problems.py | CS-Center/CS-Center | 3cd09f29d214406e6618fc67b9faf59a18f3f11b | [
"MIT"
] | 6 | 2019-12-06T18:06:28.000Z | 2021-12-01T20:19:05.000Z | wcics/database/consts/problems.py | CS-Center/CS-Center | 3cd09f29d214406e6618fc67b9faf59a18f3f11b | [
"MIT"
] | null | null | null | PROBLEM_PID_MAX_LENGTH = 32
PROBLEM_TITLE_MAX_LENGTH = 128
PROBLEM_SECTION_MAX_LENGTH = 4096
PROBLEM_SAMPLE_MAX_LENGTH = 1024 | 18.285714 | 33 | 0.859375 | 20 | 128 | 4.9 | 0.55 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 0.109375 | 128 | 7 | 34 | 18.285714 | 0.745614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
43478b43325d30cbd98f24c21e7d0de0a429caef | 288 | py | Python | src/vmshepherd/healthcheck/dummy_healthcheck.py | DreamLab/VmShepherd | f602bb814080d2d3f62c6cb5fa6b9dd685833c24 | [
"Apache-2.0"
] | 10 | 2018-06-10T17:54:57.000Z | 2022-02-07T19:37:07.000Z | src/vmshepherd/healthcheck/dummy_healthcheck.py | DreamLab/VmShepherd | f602bb814080d2d3f62c6cb5fa6b9dd685833c24 | [
"Apache-2.0"
] | 10 | 2018-06-10T18:46:07.000Z | 2021-05-13T13:01:22.000Z | src/vmshepherd/healthcheck/dummy_healthcheck.py | DreamLab/VmShepherd | f602bb814080d2d3f62c6cb5fa6b9dd685833c24 | [
"Apache-2.0"
] | 3 | 2019-07-18T14:10:10.000Z | 2022-02-07T19:37:08.000Z | from .abstract import AbstractHealthcheck
class DummyHealthcheck(AbstractHealthcheck):
status = True
def __init__(self, config=None):
pass
async def is_healthy(self, vm):
return self.status
def set_status(self, healthy):
self.status = healthy
| 19.2 | 44 | 0.684028 | 32 | 288 | 5.96875 | 0.625 | 0.115183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 288 | 14 | 45 | 20.571429 | 0.876147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4a3951c10a76d8c74a23bbe8f3e858d84dcf526f | 2,705 | py | Python | src/hub/dataload/sources/cgi/cgi_upload.py | raymond301/myvariant.info | 1929644dfca89d7942fa5d34d7c89ab5badc94d8 | [
"Apache-2.0"
] | null | null | null | src/hub/dataload/sources/cgi/cgi_upload.py | raymond301/myvariant.info | 1929644dfca89d7942fa5d34d7c89ab5badc94d8 | [
"Apache-2.0"
] | null | null | null | src/hub/dataload/sources/cgi/cgi_upload.py | raymond301/myvariant.info | 1929644dfca89d7942fa5d34d7c89ab5badc94d8 | [
"Apache-2.0"
] | null | null | null | import os
from hub.dataload.uploader import SnpeffPostUpdateUploader
from .cgi_parser import load_data
class CGIUploader(SnpeffPostUpdateUploader):
name = "cgi"
__metadata__ = {"mapper": 'observed',
"assembly": "hg19",
"src_meta": {
"url": "http... | 35.592105 | 92 | 0.385213 | 184 | 2,705 | 5.461957 | 0.472826 | 0.139303 | 0.228856 | 0.268657 | 0.308458 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005957 | 0.503512 | 2,705 | 75 | 93 | 36.066667 | 0.742368 | 0.014787 | 0 | 0.294118 | 0 | 0 | 0.266992 | 0.011265 | 0 | 0 | 0 | 0 | 0.014706 | 1 | 0.029412 | false | 0 | 0.044118 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a3ed23a947100e602eb638c12db89d7a76de394 | 637 | py | Python | classes.py | GayGang/python_learning | df1cb39786f0ca598c98ddfc77893daea9ff7685 | [
"MIT"
] | null | null | null | classes.py | GayGang/python_learning | df1cb39786f0ca598c98ddfc77893daea9ff7685 | [
"MIT"
] | null | null | null | classes.py | GayGang/python_learning | df1cb39786f0ca598c98ddfc77893daea9ff7685 | [
"MIT"
] | null | null | null |
students = []
class Student:
# Python 没有权限控制, 所有的方法都是 public ,可以通过规范命名去说明
# class property
school_name = "SHICHENGZHOGNXUE"
def __init__(self, name, stu_id=110):
# instance property
self.name = name
self.stu_id = stu_id
students.append(self)
def get_name_capita... | 18.735294 | 78 | 0.632653 | 78 | 637 | 4.846154 | 0.423077 | 0.084656 | 0.058201 | 0.068783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.260597 | 637 | 33 | 79 | 19.30303 | 0.789809 | 0.117739 | 0 | 0.133333 | 0 | 0 | 0.126812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0 | 0.133333 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4a4ccb8e1e6f83258706eabd2ef65a1d8c9749e4 | 235 | py | Python | home/views.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | home/views.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | home/views.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | from django.views.generic import ListView
from . import models
# Create your views here.
class HomeOverview(ListView):
model = models.HomeOverview
template_name = 'home/overview.html'
context_object_name = 'homeoverview' | 23.5 | 41 | 0.761702 | 28 | 235 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161702 | 235 | 10 | 42 | 23.5 | 0.893401 | 0.097872 | 0 | 0 | 0 | 0 | 0.14218 | 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 | 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 | 3 |
4a63d7d850bc3c9343f1c36d9c9b4af38c28af2c | 328 | py | Python | pyprob/__init__.py | SRagy/pyprob | c8fc67d5f4ad78d565a86c2f86abe10b73549f18 | [
"BSD-2-Clause"
] | 125 | 2019-10-03T21:14:00.000Z | 2022-03-31T22:13:33.000Z | pyprob/__init__.py | SRagy/pyprob | c8fc67d5f4ad78d565a86c2f86abe10b73549f18 | [
"BSD-2-Clause"
] | 25 | 2019-09-28T18:25:46.000Z | 2022-03-28T09:23:14.000Z | pyprob/__init__.py | SRagy/pyprob | c8fc67d5f4ad78d565a86c2f86abe10b73549f18 | [
"BSD-2-Clause"
] | 20 | 2019-11-07T10:47:08.000Z | 2022-03-24T06:07:06.000Z | __version__ = '1.3.0.dev7'
from .util import TraceMode, PriorInflation, InferenceEngine, InferenceNetwork, Optimizer, LearningRateScheduler, ObserveEmbedding, set_verbosity, set_device, seed
from .state import sample, observe, factor, tag
from .address_dictionary import AddressDictionary
from .model import Model, Remo... | 46.857143 | 163 | 0.829268 | 37 | 328 | 7.162162 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013559 | 0.10061 | 328 | 6 | 164 | 54.666667 | 0.884746 | 0 | 0 | 0 | 0 | 0 | 0.030488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 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 | 0 | 1 | 0 | 0 | 3 |
4a67aa1009dc8a81d4b29c48113962c78eadaed8 | 149 | py | Python | motor_watch/status.py | pcdshub/motor_watch | 2bcfb271ec7f05dbd2c79af5426be8edfe1f591b | [
"BSD-3-Clause-LBNL"
] | null | null | null | motor_watch/status.py | pcdshub/motor_watch | 2bcfb271ec7f05dbd2c79af5426be8edfe1f591b | [
"BSD-3-Clause-LBNL"
] | null | null | null | motor_watch/status.py | pcdshub/motor_watch | 2bcfb271ec7f05dbd2c79af5426be8edfe1f591b | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-06-04T17:17:30.000Z | 2019-06-04T23:56:49.000Z | def process(status):
status_info = {}
status_info['name'] = status.pos.name
status_info['target'] = status.target
return status_info
| 24.833333 | 41 | 0.677852 | 19 | 149 | 5.105263 | 0.421053 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194631 | 149 | 5 | 42 | 29.8 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a6b696e15b96de05f5817003a3da1695b08a598 | 9,270 | py | Python | pacu/models/awsapi/streams.dynamodb.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | 1 | 2022-03-09T14:51:54.000Z | 2022-03-09T14:51:54.000Z | pacu/models/awsapi/streams.dynamodb.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | pacu/models/awsapi/streams.dynamodb.py | RyanJarv/Pacu2 | 27df4bcf296fc8f467d3dc671a47bf9519ce7a24 | [
"MIT"
] | null | null | null | # generated by datamodel-codegen:
# filename: openapi.yaml
# timestamp: 2021-12-31T02:59:01+00:00
from __future__ import annotations
from datetime import datetime
from enum import Enum
from typing import Annotated, Any, List, Optional
from pydantic import BaseModel, Extra, Field
class ResourceNotFoundExceptio... | 25.893855 | 754 | 0.732039 | 976 | 9,270 | 6.82582 | 0.284836 | 0.039027 | 0.029721 | 0.026268 | 0.216001 | 0.164965 | 0.125938 | 0.055239 | 0.041729 | 0.041729 | 0 | 0.007331 | 0.175944 | 9,270 | 357 | 755 | 25.966387 | 0.864773 | 0.241855 | 0 | 0.155172 | 1 | 0 | 0.025997 | 0.003102 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.063218 | 0.028736 | 0 | 0.913793 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
4a6cf4fe74abd9844c2e367df85c90082c4fae01 | 83 | py | Python | perimeterx/__init__.py | jay-cox/perimeterx-python-wsgi | e99ba0d98f3c249aae80f636db72b7ace4730b1a | [
"MIT"
] | 14 | 2016-09-29T08:08:05.000Z | 2022-01-12T00:53:50.000Z | perimeterx/__init__.py | jay-cox/perimeterx-python-wsgi | e99ba0d98f3c249aae80f636db72b7ace4730b1a | [
"MIT"
] | 8 | 2016-09-29T08:57:42.000Z | 2021-03-17T11:56:52.000Z | perimeterx/__init__.py | jay-cox/perimeterx-python-wsgi | e99ba0d98f3c249aae80f636db72b7ace4730b1a | [
"MIT"
] | 4 | 2020-04-01T10:37:09.000Z | 2020-12-03T12:34:13.000Z | __author__ = 'bend'
__copyright__ = 'Copyright PerimeterX, Inc.'
import perimeterx
| 20.75 | 44 | 0.783133 | 8 | 83 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 3 | 45 | 27.666667 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
4a83cc4b91bf23dc38c56e673540a88138b5f903 | 120 | py | Python | counting_candidates.py | KeerthiSagarSN/Generalized-Sequential-Pattern-Mining---Python | a94d7298f7301319398d90ae46c71499a27af35f | [
"MIT"
] | 1 | 2019-06-30T21:52:53.000Z | 2019-06-30T21:52:53.000Z | counting_candidates.py | KeerthiSagarSN/Generalized-Sequential-Pattern-Mining---Python | a94d7298f7301319398d90ae46c71499a27af35f | [
"MIT"
] | null | null | null | counting_candidates.py | KeerthiSagarSN/Generalized-Sequential-Pattern-Mining---Python | a94d7298f7301319398d90ae46c71499a27af35f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Aug 10 17:02:10 2017
@author: Keerthi
"""
def counting_cand():
| 13.333333 | 36 | 0.55 | 17 | 120 | 3.823529 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 0.266667 | 120 | 9 | 37 | 13.333333 | 0.590909 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
4a874a8cf0d124507af128b731059d2b6a77212e | 705,785 | py | Python | ketiga/bojongsoang.py | alitkurniawan48/BelajarGIS | c52556bc6fa74b849b9c3461410805807b742967 | [
"MIT"
] | 2 | 2020-02-09T14:47:07.000Z | 2020-02-09T14:47:12.000Z | ketiga/bojongsoang.py | alitkurniawan48/BelajarGIS | c52556bc6fa74b849b9c3461410805807b742967 | [
"MIT"
] | 12 | 2019-12-11T06:45:59.000Z | 2020-01-06T09:35:35.000Z | ketiga/bojongsoang.py | alitkurniawan48/BelajarGIS | c52556bc6fa74b849b9c3461410805807b742967 | [
"MIT"
] | 71 | 2019-12-09T13:52:54.000Z | 2021-05-28T16:19:09.000Z | import shapefile
class Bojongsoang:
def __init__(self):
self.desa = shapefile.Writer('desa_bojongsoang', shapeType=shapefile.POLYGON)
self.desa.shapeType
self.desa.field('desa_bojongsoang', 'C')
self.kantor = shapefile.Writer('kantor_desa_bojongsoang', shapeType=shapefile.POINT)
... | 37.337195 | 117 | 0.416268 | 75,114 | 705,785 | 3.911188 | 0.136992 | 0.002233 | 0.002567 | 0.001678 | 0.772405 | 0.549909 | 0.549603 | 0.531889 | 0.531889 | 0.525779 | 0 | 0.684018 | 0.397495 | 705,785 | 18,903 | 118 | 37.337195 | 0.006853 | 0.000319 | 0 | 0.804074 | 0 | 0 | 0.000146 | 0.000033 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002281 | false | 0 | 0.000053 | 0 | 0.002387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4aa55dbeb3f9114f0afb26e58b00757f766c985f | 223 | py | Python | weixin.py | redisread/Scrapy-Spider | 2d21bb445308e7cbe6117313c95174958c2f99e4 | [
"CC0-1.0"
] | null | null | null | weixin.py | redisread/Scrapy-Spider | 2d21bb445308e7cbe6117313c95174958c2f99e4 | [
"CC0-1.0"
] | null | null | null | weixin.py | redisread/Scrapy-Spider | 2d21bb445308e7cbe6117313c95174958c2f99e4 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
class WeixinSpider(scrapy.Spider):
name = 'weixin'
allowed_domains = ['ershicimi.com']
start_urls = ['http://ershicimi.com/']
def parse(self, response):
pass
| 18.583333 | 42 | 0.618834 | 25 | 223 | 5.44 | 0.88 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.219731 | 223 | 11 | 43 | 20.272727 | 0.775862 | 0.09417 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
435bbf38b9719ad8c47964c4451cd793c8f55a99 | 1,389 | py | Python | datatracer/column_map/base.py | HDI-Project/DataTracer | 4bb0906f1716bbcfeb0881cade5d6d47bca90764 | [
"MIT"
] | 15 | 2020-05-27T11:55:05.000Z | 2022-02-08T11:07:54.000Z | datatracer/column_map/base.py | HDI-Project/DataTracer | 4bb0906f1716bbcfeb0881cade5d6d47bca90764 | [
"MIT"
] | 21 | 2020-06-02T11:56:13.000Z | 2021-07-29T21:50:27.000Z | datatracer/column_map/base.py | HDI-Project/DataTracer | 4bb0906f1716bbcfeb0881cade5d6d47bca90764 | [
"MIT"
] | 3 | 2021-01-19T17:10:58.000Z | 2021-08-13T20:47:33.000Z | """Column Mapping base class."""
class ColumnMapSolver:
"""Base Solver for the data lineage problem of column dependency."""
def fit(self, list_of_databases):
"""Fit this solver.
Args:
list_of_databases (list):
List of tuples containing ``MetaData`` instnces and t... | 34.725 | 87 | 0.604752 | 161 | 1,389 | 5.149068 | 0.428571 | 0.079614 | 0.050663 | 0.041013 | 0.106152 | 0.106152 | 0.106152 | 0.106152 | 0.106152 | 0 | 0 | 0 | 0.334053 | 1,389 | 39 | 88 | 35.615385 | 0.896216 | 0.706264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
435d2ffb5188e98f3430caf5e70580139a8e27e8 | 3,147 | py | Python | src/model/ccm.py | secworks/ccm | acc3ab067b7f505848247c7eed7b2b429e6cd381 | [
"BSD-2-Clause"
] | 2 | 2020-08-06T14:39:46.000Z | 2022-01-29T23:28:20.000Z | src/model/ccm.py | secworks/ccm | acc3ab067b7f505848247c7eed7b2b429e6cd381 | [
"BSD-2-Clause"
] | null | null | null | src/model/ccm.py | secworks/ccm | acc3ab067b7f505848247c7eed7b2b429e6cd381 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#=======================================================================
#
# ccm.py
# ------
# Simple, pure Python, CCM implementation using the
# word based model of the AES cipher with support for 128 and
# 256 bit keys. Test vectors used in the tests are from the SP 800... | 35.761364 | 72 | 0.530982 | 330 | 3,147 | 5.018182 | 0.542424 | 0.009058 | 0.020531 | 0.027778 | 0.111111 | 0.082126 | 0.082126 | 0.082126 | 0.082126 | 0.082126 | 0 | 0.007006 | 0.138227 | 3,147 | 87 | 73 | 36.172414 | 0.603614 | 0.86654 | 0 | 0 | 0 | 0 | 0.276056 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0.416667 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
436b0b8716d6dffe95acd55ab50f64b3c6ac3d93 | 241 | py | Python | ex-mundo2/ex046.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | ex-mundo2/ex046.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | ex-mundo2/ex046.py | PedroPegado/ex-cursoemvideo | 46751a7238e6a142b639c4cc3acf1759411732d7 | [
"MIT"
] | null | null | null | import time
import emoji
print('CONTEGEM REGRESSIVA')
time.sleep(0.5)
for c in range(10, 0, -1):
print(c)
time.sleep(1)
print(emoji.emojize(':fireworks::fireworks::fireworks: == FELIZ ANO NOVO == :fireworks::fireworks::fireworks:'))
| 26.777778 | 112 | 0.701245 | 35 | 241 | 4.828571 | 0.571429 | 0.426036 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033175 | 0.124481 | 241 | 8 | 113 | 30.125 | 0.767773 | 0 | 0 | 0 | 0 | 0 | 0.443983 | 0.273859 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.375 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
436feb546cb4af4df4e864ea911f7237b4e36d76 | 3,549 | py | Python | vas/gemfire/DiskStores.py | appsuite/vas-python-api | c5df2b784d2d175034384eca368d78827fa8846b | [
"Apache-2.0"
] | 1 | 2020-05-26T23:49:47.000Z | 2020-05-26T23:49:47.000Z | vas/gemfire/DiskStores.py | appsuite/vas-python-api | c5df2b784d2d175034384eca368d78827fa8846b | [
"Apache-2.0"
] | null | null | null | vas/gemfire/DiskStores.py | appsuite/vas-python-api | c5df2b784d2d175034384eca368d78827fa8846b | [
"Apache-2.0"
] | 1 | 2019-03-12T02:33:51.000Z | 2019-03-12T02:33:51.000Z | # vFabric Administration Server API
# Copyright (c) 2012 VMware, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0... | 38.576087 | 118 | 0.622429 | 388 | 3,549 | 5.479381 | 0.31701 | 0.045155 | 0.033866 | 0.043274 | 0.170743 | 0.118532 | 0.09031 | 0.053622 | 0.053622 | 0.053622 | 0 | 0.003231 | 0.302339 | 3,549 | 91 | 119 | 39 | 0.855412 | 0.489715 | 0 | 0.179487 | 0 | 0 | 0.05879 | 0.014986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.128205 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
43733febc69bcd2f99961b0e7fd55a3896df8f15 | 5,306 | py | Python | ppml/kms-client/KMS_Client.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | ppml/kms-client/KMS_Client.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | ppml/kms-client/KMS_Client.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | import argparse
import os
import FileOperator, KeyManager
def generate_primary_key(ip, port):
KeyManager.generate_primary_key_ciphertext(ip, port)
def generate_data_key(ip, port, encrypted_primary_key_path):
KeyManager.generate_data_key_ciphertext(ip, port, encrypted_primary_key_path)
def encrypt_file_with... | 48.678899 | 162 | 0.756502 | 764 | 5,306 | 4.841623 | 0.106021 | 0.083266 | 0.143823 | 0.14923 | 0.800216 | 0.710462 | 0.658016 | 0.622601 | 0.59881 | 0.517167 | 0 | 0.001332 | 0.150961 | 5,306 | 108 | 163 | 49.12963 | 0.819756 | 0 | 0 | 0.297619 | 1 | 0 | 0.153977 | 0.040332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0 | 0.035714 | 0 | 0.154762 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
437636cec6e6db0e1d57ea57176f1d3764c018d4 | 692 | py | Python | 02_Cizim/02_bilgisayarlar_bir_goruntuyu_nasil_olusturur.py | REISOGLU53/OpenCV-Python | bedbd9c398308c7c25a5a36bc3160cad0f196bea | [
"MIT"
] | 2 | 2020-09-07T09:18:31.000Z | 2020-09-14T00:07:26.000Z | 02_Cizim/02_bilgisayarlar_bir_goruntuyu_nasil_olusturur.py | REISOGLU53/OpenCV-Python | bedbd9c398308c7c25a5a36bc3160cad0f196bea | [
"MIT"
] | null | null | null | 02_Cizim/02_bilgisayarlar_bir_goruntuyu_nasil_olusturur.py | REISOGLU53/OpenCV-Python | bedbd9c398308c7c25a5a36bc3160cad0f196bea | [
"MIT"
] | null | null | null | import cv2
import numpy as np
# renkli
"""canvas = np.zeros((10, 10, 3), dtype=np.uint8)
canvas[0, 0] = (255, 255, 255)
canvas[0, 1] = (255, 255, 200)
canvas[0, 2] = (255, 255, 150)
canvas[0, 3] = (255, 255, 15)
canvas = cv2.resize(canvas, (1000, 1000), interpolation=cv2.INTER_AREA)
cv2.imshow("Canvas", canv... | 16.878049 | 72 | 0.611272 | 104 | 692 | 4.048077 | 0.278846 | 0.133017 | 0.061758 | 0.071259 | 0.703088 | 0.622328 | 0.622328 | 0.513064 | 0.513064 | 0.513064 | 0 | 0.184783 | 0.202312 | 692 | 40 | 73 | 17.3 | 0.577899 | 0.008671 | 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 | 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 | 3 |
4381cca88730d0685c7c15a49f4a3de82a7fe9ff | 223 | py | Python | src/utils/torch_utils.py | hejm37/RODE | 1742ec87339bc1c875a878460d6c810d620bd044 | [
"Apache-2.0"
] | null | null | null | src/utils/torch_utils.py | hejm37/RODE | 1742ec87339bc1c875a878460d6c810d620bd044 | [
"Apache-2.0"
] | null | null | null | src/utils/torch_utils.py | hejm37/RODE | 1742ec87339bc1c875a878460d6c810d620bd044 | [
"Apache-2.0"
] | null | null | null | import torch
def to_cuda(module, device=None):
"""Assume module in cpu"""
if device is None:
return module.cuda()
elif device == 'cpu':
return module
else:
return module.to(device)
| 18.583333 | 33 | 0.596413 | 29 | 223 | 4.551724 | 0.551724 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295964 | 223 | 11 | 34 | 20.272727 | 0.840764 | 0.089686 | 0 | 0 | 0 | 0 | 0.015228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.625 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
43b686563ddbe830e5ec8830355b860ae6228556 | 460 | py | Python | x10_algo/3/sort.py | wolanx/pii | 6407199c41e1ac487c2cb1d798d2b3f65edbed41 | [
"Apache-2.0"
] | null | null | null | x10_algo/3/sort.py | wolanx/pii | 6407199c41e1ac487c2cb1d798d2b3f65edbed41 | [
"Apache-2.0"
] | null | null | null | x10_algo/3/sort.py | wolanx/pii | 6407199c41e1ac487c2cb1d798d2b3f65edbed41 | [
"Apache-2.0"
] | null | null | null | arr = [9, 5, 1, 4, 0, 7]
def quick_sort_v1(arr, l, r):
if l >= r:
return
x = l
y = r
base = arr[l]
while x <= y:
while x <= y and arr[y] > base:
y = y - 1
while x <= y and arr[y] < base:
x = x + 1
if x <= y:
arr[y], arr[x] = arr[x... | 18.4 | 43 | 0.393478 | 83 | 460 | 2.084337 | 0.240964 | 0.208092 | 0.254335 | 0.323699 | 0.381503 | 0.208092 | 0.208092 | 0 | 0 | 0 | 0 | 0.063745 | 0.454348 | 460 | 24 | 44 | 19.166667 | 0.625498 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.105263 | 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 | 0 | 0 | 0 | 3 |
43d7efba25be610dbbc2e5f55a5fb3cced5c87f9 | 19,564 | py | Python | toolium/test/pageelements/test_page_element.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | toolium/test/pageelements/test_page_element.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | toolium/test/pageelements/test_page_element.py | tanistra/toolium | d7f06c7ab9f264c42fe55eed4f9a3065512d910e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
u"""
Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
This file is part of Toolium.
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/lic... | 41.892934 | 116 | 0.789154 | 2,524 | 19,564 | 5.76664 | 0.095483 | 0.150052 | 0.095294 | 0.042666 | 0.788732 | 0.743868 | 0.723394 | 0.695294 | 0.675163 | 0.650223 | 0 | 0.002862 | 0.124821 | 19,564 | 466 | 117 | 41.982833 | 0.847214 | 0.055919 | 0 | 0.474403 | 0 | 0.013652 | 0.111298 | 0.023853 | 0 | 0 | 0 | 0 | 0.238908 | 1 | 0.143345 | false | 0.013652 | 0.037543 | 0 | 0.208191 | 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 | 0 | 0 | 0 | 3 |
43e0c60ba27f764a70ee0a635e9be2a6bf303fcd | 245 | py | Python | scripts/examples/OpenMV/02-Board-Control/adc_read_int_channel.py | jiskra/openmv | a0f321836f77f94d8118910598dcdb79eb784d58 | [
"MIT"
] | 1,761 | 2015-07-10T23:14:17.000Z | 2022-03-30T07:49:49.000Z | scripts/examples/OpenMV/02-Board-Control/adc_read_int_channel.py | jiskra/openmv | a0f321836f77f94d8118910598dcdb79eb784d58 | [
"MIT"
] | 487 | 2015-07-07T23:21:20.000Z | 2022-03-30T17:13:22.000Z | scripts/examples/OpenMV/02-Board-Control/adc_read_int_channel.py | jiskra/openmv | a0f321836f77f94d8118910598dcdb79eb784d58 | [
"MIT"
] | 882 | 2015-08-01T08:34:19.000Z | 2022-03-30T07:36:23.000Z | # ADC Internal Channels Example
#
# This example shows how to read internal ADC channels.
import time, pyb
adc = pyb.ADCAll(12)
print("VREF = %.1fv VREF = %.1fv Temp = %d" % (adc.read_core_vref(), adc.read_core_vbat(), adc.read_core_temp()))
| 27.222222 | 113 | 0.702041 | 39 | 245 | 4.25641 | 0.538462 | 0.126506 | 0.198795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019324 | 0.155102 | 245 | 8 | 114 | 30.625 | 0.782609 | 0.338776 | 0 | 0 | 0 | 0 | 0.221519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
78dcf6969b9b72d67fe391f21269e830fb87cb05 | 294 | py | Python | Input1.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | Input1.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | Input1.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | print ("Enter a value" )
a = int (input())
print ("Enter b value" )
b = int (input())
print ("value of a is",a)
print ("value of b is",b)
print ("value of a+b value is", a+b)
print ("value of a-b value is", a-b)
print ("value of a*b value is", a*b)
print ("value of a/b value is", a/b) | 29.4 | 37 | 0.591837 | 62 | 294 | 2.806452 | 0.145161 | 0.091954 | 0.413793 | 0.373563 | 0.534483 | 0.534483 | 0.534483 | 0.534483 | 0.534483 | 0.534483 | 0 | 0 | 0.217687 | 294 | 10 | 38 | 29.4 | 0.756522 | 0 | 0 | 0 | 0 | 0 | 0.475524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
78f3d0cb0ff5c893ba499715329b42b045428a6c | 898 | py | Python | example/myshop/models/__init__.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | null | null | null | example/myshop/models/__init__.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | null | null | null | example/myshop/models/__init__.py | Iv/django-shop | aa52dce6e9115d3b7a913ffa6027f978260b324c | [
"BSD-3-Clause"
] | 1 | 2020-01-10T01:51:07.000Z | 2020-01-10T01:51:07.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf import settings
# import default models from djangoSHOP to materialize them
from shop.models.defaults.address import Address
from shop.models.defaults.cart import Cart
from shop.models.defaults.cart_item import CartItem
from shop.models.d... | 39.043478 | 67 | 0.798441 | 115 | 898 | 6.156522 | 0.356522 | 0.056497 | 0.09887 | 0.155367 | 0.305085 | 0.231638 | 0.135593 | 0 | 0 | 0 | 0 | 0.006435 | 0.134744 | 898 | 22 | 68 | 40.818182 | 0.904762 | 0.138085 | 0 | 0.117647 | 0 | 0 | 0.027273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.823529 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
78ff5bdf925c32f883b186460e43ddf29044942c | 1,485 | py | Python | python/ray/rllib/models/action_dist.py | tonymackinnon/ray | 14a1419682bdba40d2c8bf226e1727cf44abcaa4 | [
"Apache-2.0"
] | 1 | 2019-08-17T21:24:17.000Z | 2019-08-17T21:24:17.000Z | python/ray/rllib/models/action_dist.py | tonymackinnon/ray | 14a1419682bdba40d2c8bf226e1727cf44abcaa4 | [
"Apache-2.0"
] | null | null | null | python/ray/rllib/models/action_dist.py | tonymackinnon/ray | 14a1419682bdba40d2c8bf226e1727cf44abcaa4 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from ray.rllib.utils.annotations import DeveloperAPI
@DeveloperAPI
class ActionDistribution(object):
"""The policy action distribution of an agent.
Args:
inputs (Tensor): The input vector to co... | 27 | 70 | 0.668013 | 168 | 1,485 | 5.785714 | 0.380952 | 0.092593 | 0.08642 | 0.080247 | 0.512346 | 0.512346 | 0.485597 | 0.36214 | 0.271605 | 0.271605 | 0 | 0 | 0.255219 | 1,485 | 54 | 71 | 27.5 | 0.878843 | 0.408754 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 1 | 0.28 | false | 0 | 0.16 | 0 | 0.56 | 0.04 | 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 | 0 | 1 | 0 | 0 | 3 |
60068459dc64c9284341a735735def83d64f91f1 | 9,173 | py | Python | tests/integration/ui_write/test_icephys.py | t-b/pynwb | b58e7b003247485120380360bb112bc6b22c7e60 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-04-13T20:47:36.000Z | 2021-04-13T20:47:36.000Z | tests/integration/ui_write/test_icephys.py | t-b/pynwb | b58e7b003247485120380360bb112bc6b22c7e60 | [
"BSD-3-Clause-LBNL"
] | null | null | null | tests/integration/ui_write/test_icephys.py | t-b/pynwb | b58e7b003247485120380360bb112bc6b22c7e60 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from pynwb.icephys import (IntracellularElectrode, PatchClampSeries, CurrentClampStimulusSeries,
VoltageClampStimulusSeries, CurrentClampSeries,
VoltageClampSeries, IZeroClampSeries)
from pynwb.device import Device
from . import base
from abc import ABCMeta
from s... | 47.041026 | 106 | 0.58247 | 924 | 9,173 | 5.685065 | 0.161255 | 0.00495 | 0.011422 | 0.013326 | 0.754616 | 0.736912 | 0.728346 | 0.650105 | 0.624024 | 0.605749 | 0 | 0.044127 | 0.320615 | 9,173 | 194 | 107 | 47.283505 | 0.79878 | 0.026709 | 0 | 0.633803 | 0 | 0 | 0.097441 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 1 | 0.119718 | false | 0 | 0.035211 | 0.028169 | 0.302817 | 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 | 0 | 0 | 0 | 3 |
601ee33a6bb344512a18d08d432a2f7f003f05e4 | 445 | py | Python | pytorch/torch/nn/parallel/__init__.py | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | null | null | null | pytorch/torch/nn/parallel/__init__.py | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | 1 | 2019-07-22T09:48:46.000Z | 2019-07-22T09:48:46.000Z | pytorch/torch/nn/parallel/__init__.py | raghavnauhria/whatmt | c20483a437c82936cb0fb8080925e37b9c4bba87 | [
"MIT"
] | null | null | null | from .parallel_apply import parallel_apply
from .replicate import replicate
from .data_parallel import DataParallel, data_parallel
from .scatter_gather import scatter, gather
from .distributed import DistributedDataParallel
from .distributed_cpu import DistributedDataParallelCPU
__all__ = ['replicate', 'scatter', 'par... | 44.5 | 83 | 0.81573 | 43 | 445 | 8.162791 | 0.325581 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107865 | 445 | 9 | 84 | 49.444444 | 0.884131 | 0 | 0 | 0 | 0 | 0 | 0.247191 | 0.110112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6027ea8faf99094399cd3227372f9660393f0590 | 1,768 | py | Python | src/domain/notification_sender_factory.py | sergicollado/json_redo | 89ed514e441f7038f18fe1833f2c49a4bf08ef19 | [
"CC0-1.0"
] | null | null | null | src/domain/notification_sender_factory.py | sergicollado/json_redo | 89ed514e441f7038f18fe1833f2c49a4bf08ef19 | [
"CC0-1.0"
] | null | null | null | src/domain/notification_sender_factory.py | sergicollado/json_redo | 89ed514e441f7038f18fe1833f2c49a4bf08ef19 | [
"CC0-1.0"
] | null | null | null | from domain.notification_sender_abstract import NotificationSenderAbstract
from domain.notification_types import NotificationType
from infrastructure.message_client import MessageClient
from domain.validators import PostNotificationValidator, SmsNotificationValidator, EmailNotificationValidator
class NotificationSend... | 42.095238 | 109 | 0.756787 | 172 | 1,768 | 7.511628 | 0.232558 | 0.191176 | 0.184211 | 0.055728 | 0.469814 | 0.469814 | 0.339009 | 0.26935 | 0.26935 | 0.26935 | 0 | 0 | 0.164593 | 1,768 | 42 | 110 | 42.095238 | 0.874746 | 0 | 0 | 0.3125 | 0 | 0 | 0.007349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.59375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
603ec7c6c5850d3564a084b67eb6a53715d945ec | 4,660 | py | Python | lib/python2.7/site-packages/esys/lsm/vis/core/cylinderExtractor.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/esys/lsm/vis/core/cylinderExtractor.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | lib/python2.7/site-packages/esys/lsm/vis/core/cylinderExtractor.py | danielfrascarelli/esys-particle | e56638000fd9c4af77e21c75aa35a4f8922fd9f0 | [
"Apache-2.0"
] | null | null | null | #############################################################
## ##
## Copyright (c) 2003-2017 by The University of Queensland ##
## Centre for Geoscience Computing ##
## http://earth.uq.edu.au/centre-geoscience-computing ##
## ... | 37.580645 | 77 | 0.618884 | 471 | 4,660 | 6.106157 | 0.242038 | 0.038248 | 0.062587 | 0.075104 | 0.599096 | 0.599096 | 0.599096 | 0.599096 | 0.599096 | 0.599096 | 0 | 0.012564 | 0.282618 | 4,660 | 123 | 78 | 37.886179 | 0.847742 | 0.429399 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.240741 | false | 0 | 0.037037 | 0.203704 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
605a544676a7094cbf40cc0c7b8f9c956f194593 | 184 | py | Python | src/apps/main/urls.py | markusnussbaum/binaryanalyzer | fa1eae1f7393c4fb5de57d9a46dadbb674da50cb | [
"FSFAP"
] | null | null | null | src/apps/main/urls.py | markusnussbaum/binaryanalyzer | fa1eae1f7393c4fb5de57d9a46dadbb674da50cb | [
"FSFAP"
] | null | null | null | src/apps/main/urls.py | markusnussbaum/binaryanalyzer | fa1eae1f7393c4fb5de57d9a46dadbb674da50cb | [
"FSFAP"
] | null | null | null | from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt
from src.apps.main import views
urlpatterns = [
url(r'^$', views.HomepageView.as_view()),
]
| 20.444444 | 52 | 0.75 | 27 | 184 | 5.037037 | 0.666667 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 184 | 8 | 53 | 23 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
608b0630d60b01e43504e300da94b6249c9c5d34 | 510 | py | Python | Day 04/lists.py | Dheer08/Python-Projects | 05d0e5e6613f924ab083e13f28a7a0446bd34434 | [
"MIT"
] | null | null | null | Day 04/lists.py | Dheer08/Python-Projects | 05d0e5e6613f924ab083e13f28a7a0446bd34434 | [
"MIT"
] | null | null | null | Day 04/lists.py | Dheer08/Python-Projects | 05d0e5e6613f924ab083e13f28a7a0446bd34434 | [
"MIT"
] | null | null | null | states_of_america = ["Delware","Pennsylvanai","Mary land","Texas","New Jersey"]
print(states_of_america[0]) # Be careful for index out of range error
print(states_of_america[-1])
states_of_america.append("Hawaii")
print(states_of_america)
states_of_america.extend(["Rakshith","Dheer"])
print(states_of_america)
# Y... | 30 | 82 | 0.780392 | 81 | 510 | 4.740741 | 0.592593 | 0.145833 | 0.273438 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004474 | 0.123529 | 510 | 16 | 83 | 31.875 | 0.854586 | 0.443137 | 0 | 0.285714 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
60980ec3569ca79f43b5d4a67700d862f18611ef | 637 | py | Python | tests/test_multiprocessing.py | zhubonan/monty | 716ee2b8fa345c65d03d382bc136b6eaebb12bee | [
"MIT"
] | 36 | 2015-12-08T00:58:21.000Z | 2022-03-26T14:49:37.000Z | tests/test_multiprocessing.py | zhubonan/monty | 716ee2b8fa345c65d03d382bc136b6eaebb12bee | [
"MIT"
] | 226 | 2015-05-05T13:07:27.000Z | 2022-03-23T20:14:24.000Z | tests/test_multiprocessing.py | zhubonan/monty | 716ee2b8fa345c65d03d382bc136b6eaebb12bee | [
"MIT"
] | 35 | 2015-03-05T14:28:41.000Z | 2022-02-24T00:17:37.000Z | import unittest
from monty.multiprocessing import imap_tqdm
from math import sqrt
class FuncCase(unittest.TestCase):
def test_imap_tqdm(self):
results = imap_tqdm(4, sqrt, range(10000))
self.assertEqual(len(results), 10000)
self.assertEqual(results[0], 0)
self.assertEqual(results[... | 28.954545 | 68 | 0.66876 | 81 | 637 | 5.098765 | 0.419753 | 0.254237 | 0.266344 | 0.077482 | 0.527845 | 0.430993 | 0.430993 | 0.430993 | 0.430993 | 0.430993 | 0 | 0.115308 | 0.210361 | 637 | 21 | 69 | 30.333333 | 0.705765 | 0 | 0 | 0.25 | 0 | 0 | 0.012559 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.3125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60d16bedb1b901a0f1647e9d2f453ad60e617116 | 305 | py | Python | Python/WebSpider/changeIP.py | qiaw99/selflerning | c6d78b41770670057dc79f1146f638948b7a1e46 | [
"MIT"
] | 1 | 2019-09-23T08:05:45.000Z | 2019-09-23T08:05:45.000Z | Python/WebSpider/changeIP.py | qiaw99/selflerning | c6d78b41770670057dc79f1146f638948b7a1e46 | [
"MIT"
] | 1 | 2019-09-07T13:20:43.000Z | 2019-09-07T13:20:43.000Z | Python/WebSpider/changeIP.py | qiaw99/selflerning | c6d78b41770670057dc79f1146f638948b7a1e46 | [
"MIT"
] | null | null | null | import urllib.request
url = 'http://whatismyip.com.tw/'
proxy_support = urllib.request.ProxyHandler({'http':'149.233.62.29'})
opener = urllib.request.build_opener(proxy_support)
urllib.request.install_opener(opener)
response = urllib.request.urlopen(url)
html = response.read.decode('utf-8')
print(html)
| 30.5 | 69 | 0.77377 | 43 | 305 | 5.395349 | 0.604651 | 0.280172 | 0.155172 | 0.215517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038596 | 0.065574 | 305 | 9 | 70 | 33.888889 | 0.775439 | 0 | 0 | 0 | 0 | 0 | 0.154098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88025e570d1f9adf9486f2da1148b591482d787d | 1,259 | py | Python | tests/test_skus.py | aellerton/gilt-python | a57e7f8f3af5eecb994cabdcd9fb4866c2a3af20 | [
"Apache-2.0"
] | 1 | 2017-04-25T09:10:30.000Z | 2017-04-25T09:10:30.000Z | tests/test_skus.py | aellerton/gilt-python | a57e7f8f3af5eecb994cabdcd9fb4866c2a3af20 | [
"Apache-2.0"
] | 1 | 2016-11-26T02:31:14.000Z | 2016-11-27T07:23:53.000Z | tests/test_skus.py | aellerton/gilt-python | a57e7f8f3af5eecb994cabdcd9fb4866c2a3af20 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import unittest
from gilt.rest.resources import json
from gilt.rest.resources import Sku
class SkuTest(unittest.TestCase):
def setUp(self):
with open('tests/resources/product-detail-93603981.json') as src:
self.json_content = json.load(src)
def test_sku_1(self):
self.assertTru... | 33.131579 | 69 | 0.717236 | 171 | 1,259 | 5.157895 | 0.374269 | 0.217687 | 0.10771 | 0.047619 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025472 | 0.158062 | 1,259 | 37 | 70 | 34.027027 | 0.806604 | 0.015886 | 0 | 0 | 0 | 0 | 0.072698 | 0.035541 | 0 | 0 | 0 | 0 | 0.533333 | 0 | null | null | 0 | 0.1 | null | null | 0.033333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
88037c663e6cca8d683a046bad46e60a2df8e562 | 84 | py | Python | paytm/__init__.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 10 | 2019-11-08T12:10:19.000Z | 2019-11-16T09:59:45.000Z | paytm/__init__.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 6 | 2019-11-09T09:16:46.000Z | 2022-02-10T11:30:55.000Z | paytm/__init__.py | Faisal-Manzer/django-paytm-checkout | bc796fca160f2664d85d0a09acf558532cc74442 | [
"MIT"
] | 1 | 2020-06-02T15:56:56.000Z | 2020-06-02T15:56:56.000Z | __all__ = ['conf']
from paytm.settings import Configuration
conf = Configuration()
| 16.8 | 40 | 0.761905 | 9 | 84 | 6.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 4 | 41 | 21 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
71462352906e5a08966ac573b4503cd3621e55d4 | 9,286 | py | Python | bin/api_connector_splunk/solnlib/packages/schematics/datastructures.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 106 | 2018-03-09T13:03:05.000Z | 2022-03-10T11:01:48.000Z | bin/api_connector_splunk/solnlib/packages/schematics/datastructures.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 54 | 2016-08-11T14:22:30.000Z | 2020-08-07T22:14:55.000Z | bin/api_connector_splunk/solnlib/packages/schematics/datastructures.py | CyberGRX/api-connector-splunk | 7f1db1cecb7ae367c1882c3188dc9f8bcb6bc4c6 | [
"MIT"
] | 33 | 2018-04-23T20:18:11.000Z | 2022-03-27T16:41:03.000Z | # -*- coding: utf-8 -*-
# pylint: skip-file
from __future__ import unicode_literals, absolute_import
from collections import MutableMapping, KeysView, ValuesView, ItemsView
from copy import deepcopy
from operator import eq
from .common import *
from .util import get_ident
class OrderedDict(MutableMapping, dict):
... | 28.928349 | 100 | 0.599182 | 1,134 | 9,286 | 4.553792 | 0.218695 | 0.034857 | 0.021689 | 0.014717 | 0.124129 | 0.05945 | 0.044345 | 0.044345 | 0.044345 | 0.044345 | 0 | 0.003026 | 0.288283 | 9,286 | 320 | 101 | 29.01875 | 0.778333 | 0.163149 | 0 | 0.239234 | 0 | 0 | 0.029942 | 0.002877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.239234 | false | 0 | 0.028708 | 0.105263 | 0.507177 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.