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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
600c33aaf22eaf408ee066ae230204fd2fd78503 | 124 | py | Python | emails/__init__.py | Vipul-Bajaj/py-emails | a4fb1b2de82888c11605e0a70e8de1dd0ed7a98a | [
"MIT"
] | 2 | 2021-03-18T11:40:09.000Z | 2021-03-23T23:26:34.000Z | emails/__init__.py | Vipul-Bajaj/py-emails | a4fb1b2de82888c11605e0a70e8de1dd0ed7a98a | [
"MIT"
] | 2 | 2021-10-12T03:03:09.000Z | 2021-10-13T05:27:15.000Z | emails/__init__.py | Vipul-Bajaj/py-emails | a4fb1b2de82888c11605e0a70e8de1dd0ed7a98a | [
"MIT"
] | 1 | 2021-10-12T06:43:43.000Z | 2021-10-12T06:43:43.000Z | from emails._src import Email, from_template, SmtpConfigNotProvidedError, MimeTypeNotSpecifiedError, InvalidSmtpConfigError
| 62 | 123 | 0.895161 | 10 | 124 | 10.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 124 | 1 | 124 | 124 | 0.939655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
60886befaf773b57ee5608dd6c44b73c6c26b168 | 15,735 | py | Python | embyapi/api/connect_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | embyapi/api/connect_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | embyapi/api/connect_service_api.py | stanionascu/python-embyapi | a3f7aa49aea4052277cc43605c0d89bc6ff21913 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Emby Server API
Explore the Emby Server API # noqa: E501
OpenAPI spec version: 4.1.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import ... | 38.756158 | 140 | 0.619638 | 1,832 | 15,735 | 5.045306 | 0.090611 | 0.047604 | 0.026723 | 0.029428 | 0.923293 | 0.912582 | 0.884345 | 0.864546 | 0.857838 | 0.843341 | 0 | 0.015771 | 0.29482 | 15,735 | 405 | 141 | 38.851852 | 0.817231 | 0.333079 | 0 | 0.741784 | 1 | 0 | 0.189509 | 0.057226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.018779 | 0 | 0.122066 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
608e7eec3bc0f28122f13e3319d83563a883f8e0 | 34,604 | py | Python | Packs/PassiveTotal/Integrations/PassiveTotal_v2/PassiveTotal_v2_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 2 | 2020-07-27T10:35:41.000Z | 2020-12-14T15:44:18.000Z | Packs/PassiveTotal/Integrations/PassiveTotal_v2/PassiveTotal_v2_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 48 | 2022-03-08T13:45:00.000Z | 2022-03-31T14:32:05.000Z | Packs/PassiveTotal/Integrations/PassiveTotal_v2/PassiveTotal_v2_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 2 | 2020-12-10T12:02:45.000Z | 2020-12-15T09:20:01.000Z | import json
from unittest import mock
from unittest.mock import patch
import pytest
from requests.exceptions import MissingSchema, InvalidSchema, ConnectionError
import demistomock as demisto
from CommonServerPython import DemistoException
MOCK_URL = 'http://123-fake-api.com'
SSL_ARGS = {
'field': 'serialNumber... | 34.883065 | 123 | 0.719194 | 4,506 | 34,604 | 5.258766 | 0.06569 | 0.050135 | 0.028697 | 0.022282 | 0.854786 | 0.830942 | 0.804693 | 0.785365 | 0.759284 | 0.748945 | 0 | 0.010666 | 0.189862 | 34,604 | 991 | 124 | 34.918264 | 0.834594 | 0.180384 | 0 | 0.548872 | 0 | 0.00188 | 0.240705 | 0.104462 | 0 | 0 | 0 | 0 | 0.140977 | 1 | 0.086466 | false | 0.18609 | 0.084586 | 0 | 0.174812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
60fa17d83f774f11a4fbc81833844d377c9d6bc1 | 62,768 | py | Python | tests/python/pyomexmeta_tests.py | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | tests/python/pyomexmeta_tests.py | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | tests/python/pyomexmeta_tests.py | nickerso/libOmexMeta | 5088f04726c474e5be49166778aee84af4d08ea5 | [
"Apache-2.0"
] | null | null | null | import libcombine
import os
import requests
import sys
import typing
import unittest
# add the source directory to path so we can import code we are testing
_PYTHON_TESTS_DIR = os.path.dirname(__file__)
_TESTS_DIR = os.path.dirname(_PYTHON_TESTS_DIR)
_PROJECT_ROOT = os.path.dirname(_TESTS_DIR)
_SRC_DIR = os.path.join(... | 45.059584 | 203 | 0.690288 | 7,430 | 62,768 | 5.699731 | 0.072275 | 0.03967 | 0.074382 | 0.089258 | 0.83865 | 0.807575 | 0.772675 | 0.750667 | 0.729415 | 0.708683 | 0 | 0.043452 | 0.171361 | 62,768 | 1,392 | 204 | 45.091954 | 0.770764 | 0.018258 | 0 | 0.650442 | 0 | 0.137168 | 0.610843 | 0.098244 | 0 | 0 | 0 | 0 | 0.044248 | 1 | 0.057522 | false | 0.00177 | 0.010619 | 0 | 0.090265 | 0.002655 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
60fbfb9de307ca053cbae7451393247a61218423 | 146 | py | Python | common/aist_common/grammar/equivalence_class/invalid.py | sfahad1414/AGENT | 84069edc96b6190bb03ffd5099cbc8966061a563 | [
"Apache-2.0"
] | 15 | 2020-05-06T16:17:56.000Z | 2022-03-30T12:25:16.000Z | common/aist_common/grammar/equivalence_class/invalid.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:17:16.000Z | 2022-02-10T06:35:58.000Z | common/aist_common/grammar/equivalence_class/invalid.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 7 | 2020-04-07T18:47:55.000Z | 2022-03-30T12:14:58.000Z |
class Invalid:
def __init__(self):
self.equivalence_class = "INVALID"
def __str__(self):
return self.equivalence_class
| 16.222222 | 42 | 0.657534 | 16 | 146 | 5.375 | 0.5 | 0.27907 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 146 | 8 | 43 | 18.25 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
60ffbb95d891a7d42e3938386b182c5737df50c5 | 65,442 | py | Python | tests/data/settings_files.py | wingify/vwo-python-sdk | 8b8e798a16c43012ca2c6c6c85dde66f4f3cb6a5 | [
"Apache-2.0"
] | 14 | 2019-08-06T06:57:46.000Z | 2022-01-05T13:27:50.000Z | tests/data/settings_files.py | wingify/vwo-python-sdk | 8b8e798a16c43012ca2c6c6c85dde66f4f3cb6a5 | [
"Apache-2.0"
] | 3 | 2019-08-19T10:29:17.000Z | 2021-09-16T15:59:38.000Z | tests/data/settings_files.py | wingify/vwo-python-sdk | 8b8e798a16c43012ca2c6c6c85dde66f4f3cb6a5 | [
"Apache-2.0"
] | 10 | 2019-08-08T12:38:50.000Z | 2021-09-14T11:35:00.000Z | # Copyright 2019-2021 Wingify Software Pvt. Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 46.379872 | 134 | 0.276382 | 3,712 | 65,442 | 4.686153 | 0.060075 | 0.070365 | 0.037942 | 0.028974 | 0.863467 | 0.83409 | 0.821213 | 0.801955 | 0.759816 | 0.730325 | 0 | 0.066275 | 0.586825 | 65,442 | 1,410 | 135 | 46.412766 | 0.577055 | 0.018062 | 0 | 0.632847 | 0 | 0 | 0.253673 | 0.026282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
717d97c3c17a26e7c0ba1aa173c5fd1dd4f9516d | 222 | py | Python | python/packages/ibm_application_gateway/runtime/__init__.py | IBM-Security/ibm-application-gateway-resources | 7263a48bbd158d1857a44a99449661b1a0c86793 | [
"Apache-2.0"
] | null | null | null | python/packages/ibm_application_gateway/runtime/__init__.py | IBM-Security/ibm-application-gateway-resources | 7263a48bbd158d1857a44a99449661b1a0c86793 | [
"Apache-2.0"
] | null | null | null | python/packages/ibm_application_gateway/runtime/__init__.py | IBM-Security/ibm-application-gateway-resources | 7263a48bbd158d1857a44a99449661b1a0c86793 | [
"Apache-2.0"
] | 1 | 2020-10-20T08:30:27.000Z | 2020-10-20T08:30:27.000Z | """
Copyright contributors to the Application Gateway project
"""
from __future__ import absolute_import
from ibm_application_gateway.runtime.oidc_rp import *
from ibm_application_gateway.runtime.web_server import *
| 22.2 | 57 | 0.824324 | 28 | 222 | 6.142857 | 0.607143 | 0.313953 | 0.151163 | 0.27907 | 0.44186 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 222 | 9 | 58 | 24.666667 | 0.882051 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
717fa11c7c5beff8dbf8a8693be7db6778e1306e | 216 | py | Python | repository/SamplesRepository.py | karim2196/btc_sentiment_analysis | 549327cefea97c93872c54776dd85b96b697fb28 | [
"MIT"
] | null | null | null | repository/SamplesRepository.py | karim2196/btc_sentiment_analysis | 549327cefea97c93872c54776dd85b96b697fb28 | [
"MIT"
] | null | null | null | repository/SamplesRepository.py | karim2196/btc_sentiment_analysis | 549327cefea97c93872c54776dd85b96b697fb28 | [
"MIT"
] | null | null | null | from nltk.corpus import twitter_samples
def getNegativeTweets():
return twitter_samples.strings('negative_tweets.json')
def getPositiveTweets():
return twitter_samples.strings('positive_tweets.json')
| 24 | 58 | 0.782407 | 24 | 216 | 6.833333 | 0.625 | 0.256098 | 0.243902 | 0.329268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 216 | 9 | 59 | 24 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.184332 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
718b26dfb685524201380d1ad32ca232159a7002 | 134 | py | Python | src/handwriting_sample/visualizer/__init__.py | BDALab/handwriting-sample | a95913ade64b1854369db69ca77181cc33601225 | [
"MIT"
] | 2 | 2021-11-23T10:40:37.000Z | 2022-02-13T08:13:24.000Z | src/handwriting_sample/visualizer/__init__.py | BDALab/handwriting-sample | a95913ade64b1854369db69ca77181cc33601225 | [
"MIT"
] | null | null | null | src/handwriting_sample/visualizer/__init__.py | BDALab/handwriting-sample | a95913ade64b1854369db69ca77181cc33601225 | [
"MIT"
] | null | null | null | from handwriting_sample.visualizer.interface import HandwritingSampleVisualizer
from handwriting_sample.visualizer.exceptions import * | 67 | 79 | 0.910448 | 13 | 134 | 9.230769 | 0.615385 | 0.25 | 0.35 | 0.516667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 134 | 2 | 80 | 67 | 0.944882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
71cb7ece14d873fb0b0738217e0cb30048adbac8 | 46 | py | Python | reporter/__init__.py | cohnj/reporter | cbb80f77f70e3c85e8bc1cf124e7829b51c4a426 | [
"BSD-3-Clause"
] | 1 | 2019-04-14T21:02:22.000Z | 2019-04-14T21:02:22.000Z | crusher/service/reporter/__init__.py | thmp/crushedice | ae2eb2ea91ac417016f2a361fd8a9e1fb43e9626 | [
"MIT"
] | null | null | null | crusher/service/reporter/__init__.py | thmp/crushedice | ae2eb2ea91ac417016f2a361fd8a9e1fb43e9626 | [
"MIT"
] | null | null | null | import reporter
from reporter import Reporter
| 15.333333 | 29 | 0.869565 | 6 | 46 | 6.666667 | 0.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 30 | 23 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e08e46bd3f87551975b0a221f492e9a56dfa770a | 295 | py | Python | ulmo/ncdc/cirs/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 123 | 2015-01-29T12:35:52.000Z | 2021-12-15T21:09:33.000Z | ulmo/ncdc/cirs/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 107 | 2015-01-05T17:56:22.000Z | 2021-11-19T22:46:23.000Z | ulmo/ncdc/cirs/__init__.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 49 | 2015-02-15T18:11:34.000Z | 2022-01-25T14:25:32.000Z | """
`National Climatic Data Center`_ `Climate Index Reference Sequential
(CIRS)`_ drought dataset
.. _National Climatic Data Center: http://www.ncdc.noaa.gov
.. _Climate Index Reference Sequential (CIRS): http://www1.ncdc.noaa.gov/pub/data/cirs/
"""
from .core import get_data
| 29.5 | 91 | 0.711864 | 38 | 295 | 5.394737 | 0.578947 | 0.156098 | 0.195122 | 0.253659 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004049 | 0.162712 | 295 | 9 | 92 | 32.777778 | 0.825911 | 0.820339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e0caa9c3e3a191fd0c4ef7bd1742e67204e5c65e | 38,557 | py | Python | sandbox/lib/jumpscale/JumpscaleLibs/clients/itsyouonline/generated/client/organizations_service.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 2 | 2019-05-09T07:21:25.000Z | 2019-08-05T06:37:53.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/itsyouonline/generated/client/organizations_service.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 664 | 2018-12-19T12:43:44.000Z | 2019-08-23T04:24:42.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/itsyouonline/generated/client/organizations_service.py | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 7 | 2019-05-03T07:14:37.000Z | 2019-08-05T12:36:52.000Z | from .APIKeyLabel import APIKeyLabel
from .Contract import Contract
from .DnsAddress import DnsAddress
from .Error import Error
from .GetOrganizationUsersResponseBody import GetOrganizationUsersResponseBody
from .IsMember import IsMember
from .JoinOrganizationInvitation import JoinOrganizationInvitation
from .Localized... | 47.309202 | 158 | 0.651607 | 4,191 | 38,557 | 5.912431 | 0.061083 | 0.0452 | 0.04746 | 0.044392 | 0.878768 | 0.87554 | 0.872876 | 0.854474 | 0.810283 | 0.797127 | 0 | 0.003466 | 0.251653 | 38,557 | 814 | 159 | 47.367322 | 0.855306 | 0.152138 | 0 | 0.79588 | 0 | 0 | 0.08632 | 0.001702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095506 | false | 0.001873 | 0.033708 | 0 | 0.224719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1ca345c19a2bd594cb90544a1df980a48e9ac454 | 15,884 | py | Python | linearSolvers/traditionalElement.py | junbinhuang/mofem | 6ed2ea5b7a8fbb1f8f0954636f6326c706da302c | [
"MIT"
] | 4 | 2020-05-17T03:07:30.000Z | 2022-02-18T07:42:17.000Z | linearSolvers/traditionalElement.py | junbinhuang/mofem | 6ed2ea5b7a8fbb1f8f0954636f6326c706da302c | [
"MIT"
] | null | null | null | linearSolvers/traditionalElement.py | junbinhuang/mofem | 6ed2ea5b7a8fbb1f8f0954636f6326c706da302c | [
"MIT"
] | 2 | 2020-05-23T06:49:41.000Z | 2021-06-04T05:20:29.000Z | import numpy as np
import scipy
# from sksparse.cholmod import cholesky # It works (from Terminal).
from scipy.sparse.linalg import spsolve
import time
import sys, os
sys.path.append(os.path.dirname(sys.path[0]))
from elementLibrary import stiffnessMatrix, shapeFunction
from otherFunctions import numericalIntegration
... | 30.197719 | 108 | 0.612377 | 2,156 | 15,884 | 4.487941 | 0.106215 | 0.008681 | 0.010232 | 0.007441 | 0.813973 | 0.811492 | 0.802398 | 0.786792 | 0.786792 | 0.780591 | 0 | 0.043137 | 0.230861 | 15,884 | 526 | 109 | 30.197719 | 0.748875 | 0.088706 | 0 | 0.812325 | 0 | 0 | 0.050643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0.011204 | 0.02521 | 0.002801 | 0.067227 | 0.039216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1ce5a8bc46bb2ae5b2f6c652a74097dd3b7edb2a | 418 | py | Python | redlist/logo.py | habby9000/RedList | 0da231a51ad0b59ef93c84d4b72ba82e8dce281a | [
"MIT"
] | null | null | null | redlist/logo.py | habby9000/RedList | 0da231a51ad0b59ef93c84d4b72ba82e8dce281a | [
"MIT"
] | null | null | null | redlist/logo.py | habby9000/RedList | 0da231a51ad0b59ef93c84d4b72ba82e8dce281a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def print_logo():
"""
___ __ __ _ __
/ _ \___ ___/ / / / (_)__ / /_
/ , _/ -_) _ / / /__/ (_-</ __/
/_/|_|\__/\_,_/ /____/_/___/\__/
by Team Avengers
MIT LICENSE
"""
print(" ___ __ __ _ __ \n / _ \___ ___/ / / / (_)__ / /_\n / , _/ -_) _ / / ... | 29.857143 | 150 | 0.425837 | 24 | 418 | 3.625 | 0.541667 | 0.091954 | 0.321839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00346 | 0.308612 | 418 | 13 | 151 | 32.153846 | 0.297578 | 0.435407 | 0 | 0 | 0 | 0.333333 | 0.797235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 1 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
e80ce8c5d72500feb89db57ceb2977d2b80bba3d | 8,110 | gyp | Python | chrome/browser/resources/settings/people_page/compiled_resources2.gyp | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/resources/settings/people_page/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/resources/settings/people_page/compiled_resources2.gyp | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | # Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'camera',
'dependencies': [
'<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:load_time_data',... | 39.178744 | 126 | 0.622441 | 833 | 8,110 | 5.722689 | 0.123649 | 0.17747 | 0.207048 | 0.145374 | 0.854416 | 0.840151 | 0.817076 | 0.807007 | 0.783092 | 0.764632 | 0 | 0.013068 | 0.188533 | 8,110 | 206 | 127 | 39.368932 | 0.71129 | 0.019112 | 0 | 0.605911 | 0 | 0.004926 | 0.721796 | 0.606087 | 0 | 0 | 0 | 0 | 0.014778 | 1 | 0 | true | 0.014778 | 0.014778 | 0 | 0.014778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
1c0d76e3987062c0970846c52d7f2fde42466cfb | 24,276 | py | Python | integration_test/load_generator.py | cl9200/nbase-arc | 47c124b11b0bb2e8a8428c6d628ce82dc24c1ade | [
"Apache-2.0"
] | null | null | null | integration_test/load_generator.py | cl9200/nbase-arc | 47c124b11b0bb2e8a8428c6d628ce82dc24c1ade | [
"Apache-2.0"
] | null | null | null | integration_test/load_generator.py | cl9200/nbase-arc | 47c124b11b0bb2e8a8428c6d628ce82dc24c1ade | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2015 Naver Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 35.080925 | 159 | 0.535096 | 2,699 | 24,276 | 4.672842 | 0.076695 | 0.033302 | 0.066603 | 0.084523 | 0.823501 | 0.793768 | 0.763321 | 0.721694 | 0.706153 | 0.701554 | 0 | 0.079266 | 0.369624 | 24,276 | 691 | 160 | 35.131693 | 0.744887 | 0.086382 | 0 | 0.812379 | 0 | 0.007737 | 0.109795 | 0.055598 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015474 | null | null | 0.01354 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c32c3186b313f3e843531f74356fcc5f1147f9b | 45,071 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/bridge_domain.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/bridge_domain.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/bridge_domain.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z |
from abc import ABC
import warnings
import contextlib
from genie.conf.base.attributes import UnsupportedAttributeWarning,\
AttributesHelper
from genie.conf.base.cli import CliConfigBuilder
from genie.conf.base.config import CliConfig
from genie.libs.conf.interface import BviInterface
from genie.libs.conf.l2vpn.p... | 85.039623 | 191 | 0.609305 | 4,978 | 45,071 | 5.487344 | 0.049217 | 0.0842 | 0.134134 | 0.176051 | 0.901779 | 0.88882 | 0.863889 | 0.845439 | 0.835847 | 0.830795 | 0 | 0.0342 | 0.312973 | 45,071 | 529 | 192 | 85.200378 | 0.847957 | 0.589315 | 0 | 0.555024 | 0 | 0 | 0.044492 | 0.003886 | 0 | 0 | 0 | 0 | 0.08134 | 1 | 0.066986 | false | 0.023923 | 0.038278 | 0.033493 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1c51bdefc6771c3e53ff788f0a5919bc9fab9f8a | 5,742 | py | Python | src/templates.py | HongzoengNg/UqerCodeGenerator | c54dc8840c7c110eabadb66b10a7dc78060ee13d | [
"MIT"
] | null | null | null | src/templates.py | HongzoengNg/UqerCodeGenerator | c54dc8840c7c110eabadb66b10a7dc78060ee13d | [
"MIT"
] | null | null | null | src/templates.py | HongzoengNg/UqerCodeGenerator | c54dc8840c7c110eabadb66b10a7dc78060ee13d | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
'''
File: templates.py
File Created: Tuesday, 12th February 2019
Author: Hongzoeng Ng (kenecho@hku.hk)
-----
Last Modified: Tuesday, 12th February 2019
Modified By: Hongzoeng Ng (kenecho@hku.hk>)
-----
Copyright @ 2018 KenEcho
'''
moving_average_code = """# Moving average strategy
start = '%s'
e... | 29.295918 | 89 | 0.65465 | 711 | 5,742 | 5.077356 | 0.184248 | 0.108033 | 0.035457 | 0.033241 | 0.804432 | 0.74626 | 0.73241 | 0.725208 | 0.71385 | 0.71385 | 0 | 0.028204 | 0.228144 | 5,742 | 196 | 90 | 29.295918 | 0.786327 | 0.042494 | 0 | 0.618421 | 0 | 0.013158 | 0.979421 | 0.371335 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039474 | 0 | 0.039474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1c992d7d3fdc3211525704cc81c4722461758c0c | 32,989 | py | Python | spyder_vim/tests/test_vim.py | bgallois/spyder-vim | 9dd3c500571c07cebd713049d284b1a07d668352 | [
"MIT"
] | null | null | null | spyder_vim/tests/test_vim.py | bgallois/spyder-vim | 9dd3c500571c07cebd713049d284b1a07d668352 | [
"MIT"
] | null | null | null | spyder_vim/tests/test_vim.py | bgallois/spyder-vim | 9dd3c500571c07cebd713049d284b1a07d668352 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
#
"""Tests for the plugin."""
# Standard library imports
import os
import os.path as osp
# Test library imports
import pytest
try:
from unittest.mock import Mock
except ImportError:
from mock imp... | 34.872093 | 76 | 0.706114 | 4,495 | 32,989 | 4.901446 | 0.063404 | 0.042892 | 0.051743 | 0.065541 | 0.865241 | 0.847313 | 0.822803 | 0.789715 | 0.781273 | 0.775917 | 0 | 0.007594 | 0.177665 | 32,989 | 945 | 77 | 34.908995 | 0.804519 | 0.147928 | 0 | 0.708271 | 0 | 0 | 0.017293 | 0 | 0 | 0 | 0 | 0 | 0.093233 | 1 | 0.099248 | false | 0 | 0.018045 | 0 | 0.129323 | 0.01203 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c718991f1f96003fd727ab4ee84c4b3f2ee3bbbb | 3,971 | py | Python | Code/Functions/costFunctions.py | jeroenvanbaar/ReciprocityMotives | 9a6708f723a15e3cc614be9f438be42c6cc1a715 | [
"MIT"
] | 1 | 2021-01-19T23:50:13.000Z | 2021-01-19T23:50:13.000Z | Code/Functions/costFunctions.py | jeroenvanbaar/ReciprocityMotives | 9a6708f723a15e3cc614be9f438be42c6cc1a715 | [
"MIT"
] | null | null | null | Code/Functions/costFunctions.py | jeroenvanbaar/ReciprocityMotives | 9a6708f723a15e3cc614be9f438be42c6cc1a715 | [
"MIT"
] | 1 | 2021-01-19T23:50:39.000Z | 2021-01-19T23:50:39.000Z | import numpy as np
import pandas as pd
import choiceModels
def MP_costfun(param,subDat,printStep=False,printPredictions=False,resid_share=False):
theta = param[0]
phi = param[1]
for trial in range(subDat.shape[0]):
subDat.loc[trial,'prediction'] = choiceModels.MP_model(
subDat.loc[tria... | 38.182692 | 115 | 0.607152 | 469 | 3,971 | 5.093817 | 0.10661 | 0.184596 | 0.111344 | 0.087903 | 0.953956 | 0.953956 | 0.953956 | 0.934701 | 0.934701 | 0.917957 | 0 | 0.006125 | 0.218837 | 3,971 | 103 | 116 | 38.553398 | 0.764023 | 0 | 0 | 0.860215 | 0 | 0 | 0.106019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0 | 0.032258 | 0 | 0.139785 | 0.247312 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c73d96fc5c89c85272cadb5b6e47f219beaca910 | 6,602 | py | Python | tests/test_registration.py | khanhha/python-pcl | 0968b20a3a068bd63d1b67f128c73484e7108d57 | [
"BSD-3-Clause"
] | null | null | null | tests/test_registration.py | khanhha/python-pcl | 0968b20a3a068bd63d1b67f128c73484e7108d57 | [
"BSD-3-Clause"
] | null | null | null | tests/test_registration.py | khanhha/python-pcl | 0968b20a3a068bd63d1b67f128c73484e7108d57 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
import numpy as np
from numpy import cos, sin
from numpy.testing import assert_equal
import unittest
import pcl
# from pcl.pcl_registration import icp, gicp, icp_nl
from pcl import IterativeClosestPoint, GeneralizedIterativeClosestPoint, IterativeClosestPointNonLinear
class Test... | 40.503067 | 103 | 0.50515 | 762 | 6,602 | 4.304462 | 0.135171 | 0.012805 | 0.041159 | 0.027439 | 0.818293 | 0.77561 | 0.77561 | 0.77561 | 0.77561 | 0.77561 | 0 | 0.046122 | 0.339897 | 6,602 | 162 | 104 | 40.753086 | 0.706517 | 0.21342 | 0 | 0.709677 | 0 | 0 | 0.001552 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 1 | 0.075269 | false | 0 | 0.075269 | 0 | 0.193548 | 0.010753 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c78662a817927e9bb58a2146cefeab83e3a418e6 | 17,443 | py | Python | tests/unit_tests/test_tethys_apps/test_management/test_commands/test_pre_collectstatic.py | ezrajrice/tethys | 238271ebb09913f1f57b0d127fd5c81bb4780a0a | [
"BSD-2-Clause"
] | 79 | 2015-10-05T13:13:28.000Z | 2022-02-01T12:30:33.000Z | tests/unit_tests/test_tethys_apps/test_management/test_commands/test_pre_collectstatic.py | ezrajrice/tethys | 238271ebb09913f1f57b0d127fd5c81bb4780a0a | [
"BSD-2-Clause"
] | 542 | 2015-08-12T22:11:32.000Z | 2022-03-29T22:18:08.000Z | tests/unit_tests/test_tethys_apps/test_management/test_commands/test_pre_collectstatic.py | Aquaveo/tethys | 15f67c3fb9458d3af2733542be5ea6391f33b222 | [
"BSD-2-Clause"
] | 71 | 2016-01-16T01:03:41.000Z | 2022-03-31T17:55:54.000Z | import unittest
from unittest import mock
from tethys_apps.management.commands import pre_collectstatic
class ManagementCommandsPreCollectStaticTests(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_add_arguments(self):
mock_parser = mock.MagicMock()
... | 50.706395 | 120 | 0.712205 | 2,405 | 17,443 | 4.796674 | 0.06736 | 0.062413 | 0.038315 | 0.080097 | 0.899879 | 0.894244 | 0.886876 | 0.881501 | 0.872053 | 0.861737 | 0 | 0.003735 | 0.2018 | 17,443 | 343 | 121 | 50.854227 | 0.824822 | 0.086453 | 0 | 0.813008 | 0 | 0.00813 | 0.28788 | 0.128876 | 0 | 0 | 0 | 0 | 0.280488 | 1 | 0.03252 | false | 0.00813 | 0.012195 | 0 | 0.04878 | 0.178862 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c7870024f686a1ddeb890965f46e2b9e3371f502 | 30,940 | py | Python | awp5/api/job.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | 2 | 2019-04-10T16:46:19.000Z | 2020-08-18T21:57:59.000Z | awp5/api/job.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | awp5/api/job.py | ThomasWaldinger/py_awp5 | 10077ab81eab506bea58a67242c2d550988ec18c | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Thomas Waldinger. All rights reserved.
# Licensed under the Apache License, Version 2.0. See
# License.txt in the project root for license
# information.
# ---------------
"""
Job
The Job resource tracks jobs submitted to the P... | 40.07772 | 79 | 0.639237 | 3,948 | 30,940 | 4.938703 | 0.091439 | 0.047389 | 0.027285 | 0.040927 | 0.943379 | 0.940609 | 0.938404 | 0.935942 | 0.918402 | 0.916453 | 0 | 0.00471 | 0.300065 | 30,940 | 771 | 80 | 40.129702 | 0.894533 | 0.5968 | 0 | 0.730942 | 0 | 0 | 0.030067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179372 | false | 0 | 0.008969 | 0.004484 | 0.421525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c7bcb664bcc58934dd16f4662e4af550f74af2c8 | 71,464 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_tcp_cfg.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_tcp_cfg.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_tcp_cfg.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-22T04:04:44.000Z | 2020-07-22T04:04:44.000Z | """ Cisco_IOS_XR_ip_tcp_cfg
This module contains a collection of YANG definitions
for Cisco IOS\-XR ip\-tcp package configuration.
This module contains definitions
for the following management objects\:
ip\-tcp\: Global IP TCP configuration
ip\: ip
Copyright (c) 2013\-2017 by Cisco Systems, Inc.
All rights rese... | 42.361589 | 293 | 0.451038 | 6,245 | 71,464 | 4.870777 | 0.045156 | 0.028141 | 0.035177 | 0.028799 | 0.848872 | 0.810343 | 0.789434 | 0.783056 | 0.759715 | 0.745611 | 0 | 0.018231 | 0.453501 | 71,464 | 1,686 | 294 | 42.386714 | 0.76062 | 0.204565 | 0 | 0.709497 | 0 | 0.013966 | 0.118662 | 0.040802 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071229 | false | 0 | 0.006983 | 0 | 0.135475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
c7f6bd8087e33d171126f2aca954e1ce2fac1bd0 | 26,461 | py | Python | cloudify_libvirt/tests/test_volume.py | 0lvin-cfy/cloudify-libvirt-plugin | 90e77da5bf086dfb7ad20604a25b769badee1bb7 | [
"Apache-2.0"
] | 2 | 2017-11-29T18:21:19.000Z | 2020-06-19T03:25:23.000Z | cloudify_libvirt/tests/test_volume.py | 0lvin-cfy/cloudify-libvirt-plugin | 90e77da5bf086dfb7ad20604a25b769badee1bb7 | [
"Apache-2.0"
] | 13 | 2018-01-29T16:25:54.000Z | 2020-07-01T08:03:38.000Z | cloudify_libvirt/tests/test_volume.py | 0lvin-cfy/cloudify-libvirt-plugin | 90e77da5bf086dfb7ad20604a25b769badee1bb7 | [
"Apache-2.0"
] | 2 | 2017-11-19T15:04:39.000Z | 2020-06-19T03:25:25.000Z | # Copyright (c) 2016-2019 Cloudify Platform Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 39.850904 | 79 | 0.571483 | 2,608 | 26,461 | 5.504601 | 0.082439 | 0.056283 | 0.072165 | 0.097938 | 0.837072 | 0.818821 | 0.794023 | 0.77445 | 0.756478 | 0.728058 | 0 | 0.001921 | 0.331129 | 26,461 | 663 | 80 | 39.911011 | 0.809198 | 0.060466 | 0 | 0.760073 | 0 | 0 | 0.15704 | 0.078923 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.031136 | false | 0 | 0.014652 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
40b0237206a0ab48729933a6440425eaeefc2534 | 106,946 | py | Python | sdk/python/pulumi_aws/lb/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/lb/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/lb/outputs.py | alexbowers/pulumi-aws | 7dbdb03b1e4f7c0d51d5b5d17233ff4465c3eff5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 42.744205 | 560 | 0.657079 | 12,194 | 106,946 | 5.567082 | 0.042808 | 0.020314 | 0.03447 | 0.050379 | 0.850394 | 0.838713 | 0.830404 | 0.795154 | 0.786433 | 0.770524 | 0 | 0.005028 | 0.246816 | 106,946 | 2,501 | 561 | 42.761295 | 0.837741 | 0.308249 | 0 | 0.80964 | 1 | 0.010372 | 0.192696 | 0.085387 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164735 | false | 0 | 0.003661 | 0.037828 | 0.322758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
40b2d4e39ba52424791c6f5a189db1d84b17ed0a | 1,483 | py | Python | tools.py | instance01/py-S-MCTS | cad67da8bb515126311040674d5e6da77f47c90f | [
"MIT"
] | null | null | null | tools.py | instance01/py-S-MCTS | cad67da8bb515126311040674d5e6da77f47c90f | [
"MIT"
] | null | null | null | tools.py | instance01/py-S-MCTS | cad67da8bb515126311040674d5e6da77f47c90f | [
"MIT"
] | null | null | null | def print_tree(mcts_obj, root_node):
fifo = []
for child_node in root_node.children:
q = 0
if mcts_obj.visits[child_node] > 0:
q = mcts_obj.Q[child_node] / mcts_obj.visits[child_node]
print(
child_node,
mcts_obj.Q[child_node],
mcts_obj.visi... | 29.66 | 72 | 0.544842 | 198 | 1,483 | 3.757576 | 0.131313 | 0.266129 | 0.104839 | 0.145161 | 0.857527 | 0.822581 | 0.758065 | 0.758065 | 0.758065 | 0.736559 | 0 | 0.004202 | 0.358058 | 1,483 | 49 | 73 | 30.265306 | 0.777311 | 0 | 0 | 0.765957 | 0 | 0 | 0.002697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0 | 0 | 0.042553 | 0.12766 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
40f29c05600603542883e0851c97658351c91049 | 2,830 | py | Python | tests/tilemap_tests/test_file_formats.py | yegarti/arcade | 1862e61aab9a7dc646265005b0e808d953a9dfe3 | [
"MIT"
] | 824 | 2016-01-07T19:27:57.000Z | 2020-08-01T03:15:47.000Z | tests/tilemap_tests/test_file_formats.py | yegarti/arcade | 1862e61aab9a7dc646265005b0e808d953a9dfe3 | [
"MIT"
] | 646 | 2016-01-08T02:42:31.000Z | 2020-08-03T14:13:27.000Z | tests/tilemap_tests/test_file_formats.py | yegarti/arcade | 1862e61aab9a7dc646265005b0e808d953a9dfe3 | [
"MIT"
] | 221 | 2016-01-07T22:36:33.000Z | 2020-07-24T23:30:08.000Z | import arcade
TILE_SCALING = 1.0
def test_csv_left_up():
# Read in the tiled map
my_map = arcade.load_tilemap("../tiled_maps/csv_left_up_embedded.json")
assert my_map.tile_width == 128
assert my_map.tile_height == 128
assert my_map.width == 10
assert my_map.height == 10
# --- Platforms ... | 29.479167 | 78 | 0.687633 | 428 | 2,830 | 4.306075 | 0.114486 | 0.075963 | 0.095496 | 0.065111 | 0.945741 | 0.945741 | 0.945741 | 0.945741 | 0.945741 | 0.945741 | 0 | 0.063811 | 0.191519 | 2,830 | 95 | 79 | 29.789474 | 0.741696 | 0.056184 | 0 | 0.827586 | 0 | 0 | 0.145379 | 0.053719 | 0 | 0 | 0 | 0 | 0.758621 | 1 | 0.068966 | false | 0 | 0.017241 | 0 | 0.086207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
906feb82835bdc71bdbce222f2f41bba6cf41123 | 1,904 | py | Python | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | 3 | 2020-06-03T08:09:39.000Z | 2021-04-30T21:17:43.000Z | venv-skin/lib/python3.6/site-packages/hashes/ops/sha512_crypt.py | nobi1007/flask-apis | 9ae5d676be5fe7d0669415089bd032f43abda2d8 | [
"MIT"
] | null | null | null | '''
This module generates sha512_crypt hashes
'''
from hashes.common import helpers
from passlib.hash import sha512_crypt
class Algorithm:
def __init__(self):
self.hash_type = "sha512_crypt"
self.description = "This module generates sha512_crypt hashes"
def generate(self, cli_object):
... | 44.27907 | 131 | 0.617122 | 200 | 1,904 | 5.705 | 0.255 | 0.118317 | 0.126205 | 0.163015 | 0.836985 | 0.836985 | 0.758983 | 0.667835 | 0.667835 | 0.651183 | 0 | 0.046048 | 0.315651 | 1,904 | 42 | 132 | 45.333333 | 0.829624 | 0 | 0 | 0.617647 | 1 | 0 | 0.143396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.029412 | 0.058824 | null | null | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
908119afaf07d4c9a1bbbb13384b5d86d17c2f00 | 132 | py | Python | lusidtools/jupyter_tools/__init__.py | JamesALeedham/lusid-python-tools | 948b2a849f20bb2b3f052a6bab083646a14cebf7 | [
"MIT"
] | 4 | 2020-07-24T10:28:14.000Z | 2021-11-05T10:55:23.000Z | lusidtools/jupyter_tools/__init__.py | JamesALeedham/lusid-python-tools | 948b2a849f20bb2b3f052a6bab083646a14cebf7 | [
"MIT"
] | 185 | 2019-11-21T14:58:38.000Z | 2022-03-04T18:44:22.000Z | lusidtools/jupyter_tools/__init__.py | JamesALeedham/lusid-python-tools | 948b2a849f20bb2b3f052a6bab083646a14cebf7 | [
"MIT"
] | 6 | 2020-01-28T19:31:04.000Z | 2021-04-21T15:50:23.000Z | from lusidtools.jupyter_tools.stop_execution import StopExecution
from lusidtools.jupyter_tools.hide_code_button import toggle_code
| 44 | 65 | 0.909091 | 18 | 132 | 6.333333 | 0.666667 | 0.245614 | 0.368421 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 132 | 2 | 66 | 66 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
90c67d047de7b03f5be169244e9f8b740cf09cc1 | 79 | py | Python | pyscf/fciqmcscf/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-05-02T19:55:30.000Z | 2018-05-02T19:55:30.000Z | pyscf/fciqmcscf/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | null | null | null | pyscf/fciqmcscf/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-12-06T03:10:50.000Z | 2018-12-06T03:10:50.000Z | from pyscf.fciqmcscf import fciqmc
from pyscf.fciqmcscf.fciqmc import FCIQMCCI
| 26.333333 | 43 | 0.860759 | 11 | 79 | 6.181818 | 0.545455 | 0.264706 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 44 | 39.5 | 0.957746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2941fdb1642632ec4bc674bb41d2b20b43ec3e0b | 140 | py | Python | servertools/plugins/__init__.py | cloudtrekkie/servertools | 4b4e72f5b4c4be3b35f6e414f81c5602ba97db08 | [
"Apache-2.0"
] | null | null | null | servertools/plugins/__init__.py | cloudtrekkie/servertools | 4b4e72f5b4c4be3b35f6e414f81c5602ba97db08 | [
"Apache-2.0"
] | null | null | null | servertools/plugins/__init__.py | cloudtrekkie/servertools | 4b4e72f5b4c4be3b35f6e414f81c5602ba97db08 | [
"Apache-2.0"
] | null | null | null | """
plugins for servertools
"""
from servertools.plugins.Categories import *
from servertools.plugins.mittwaldserver import MittwaldServer
| 20 | 61 | 0.821429 | 14 | 140 | 8.214286 | 0.5 | 0.26087 | 0.382609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 140 | 6 | 62 | 23.333333 | 0.912698 | 0.164286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
294bf1ea0d8604492497427f152193b41890de5b | 18,688 | py | Python | plugins/intro.py | Borgli/Ohminator | 7aa12e3b0cf77b4c7da73e34fe5787554db41cc0 | [
"Apache-2.0"
] | 2 | 2018-01-13T15:27:04.000Z | 2018-03-25T20:41:30.000Z | plugins/intro.py | Borgli/Ohminator | 7aa12e3b0cf77b4c7da73e34fe5787554db41cc0 | [
"Apache-2.0"
] | 10 | 2018-01-13T16:55:03.000Z | 2019-11-12T09:09:27.000Z | plugins/intro.py | Borgli/Ohminator | 7aa12e3b0cf77b4c7da73e34fe5787554db41cc0 | [
"Apache-2.0"
] | null | null | null | import os
import os.path
import random
import re
import shutil
import traceback
import urllib.request
import asyncio
from utils import register_command
import utils
class IntroManager:
def __init__(self, client, ohm_server):
self.client = client
self.ohm_server = ohm_server
self.intro_cou... | 46.14321 | 140 | 0.591182 | 2,104 | 18,688 | 5.070817 | 0.110741 | 0.059706 | 0.063736 | 0.063924 | 0.888837 | 0.88162 | 0.865217 | 0.855938 | 0.848439 | 0.848439 | 0 | 0.005125 | 0.310948 | 18,688 | 404 | 141 | 46.257426 | 0.823406 | 0.032641 | 0 | 0.742515 | 0 | 0 | 0.121976 | 0.02235 | 0 | 0 | 0 | 0.002475 | 0 | 1 | 0.005988 | false | 0.005988 | 0.02994 | 0 | 0.086826 | 0.032934 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
467b8ed2a4241142dfa135aa895ac0fbfcb5a6cd | 50,146 | py | Python | tests/build/test_build_request.py | jpopelka/osbs-client | a8a926ef34b44a52da42fa07b3847efaaf06b12a | [
"BSD-3-Clause"
] | null | null | null | tests/build/test_build_request.py | jpopelka/osbs-client | a8a926ef34b44a52da42fa07b3847efaaf06b12a | [
"BSD-3-Clause"
] | null | null | null | tests/build/test_build_request.py | jpopelka/osbs-client | a8a926ef34b44a52da42fa07b3847efaaf06b12a | [
"BSD-3-Clause"
] | null | null | null | """
Copyright (c) 2015 Red Hat, Inc
All rights reserved.
This software may be modified and distributed under the terms
of the BSD license. See the LICENSE file for details.
"""
import copy
import json
import os
from pkg_resources import parse_version
import shutil
from osbs.build.build_request import BuildManager, Bu... | 44.733274 | 107 | 0.584872 | 5,155 | 50,146 | 5.407371 | 0.068671 | 0.025507 | 0.041327 | 0.074332 | 0.814206 | 0.775821 | 0.745507 | 0.717776 | 0.708951 | 0.680969 | 0 | 0.004642 | 0.295437 | 50,146 | 1,120 | 108 | 44.773214 | 0.784325 | 0.038328 | 0 | 0.707724 | 0 | 0 | 0.278124 | 0.057912 | 0 | 0 | 0 | 0 | 0.138831 | 1 | 0.018789 | false | 0.001044 | 0.024008 | 0 | 0.048017 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
4699eb9a64a85d66c07efe91802f6f8f46d7ba5d | 32 | py | Python | test.py | AksultanMukhanbet/proctoring_intellectual_part | f85db9d31025cb57a732f64ab22358651bc93c69 | [
"MIT"
] | null | null | null | test.py | AksultanMukhanbet/proctoring_intellectual_part | f85db9d31025cb57a732f64ab22358651bc93c69 | [
"MIT"
] | null | null | null | test.py | AksultanMukhanbet/proctoring_intellectual_part | f85db9d31025cb57a732f64ab22358651bc93c69 | [
"MIT"
] | null | null | null | print('3816560116110.mp4'[:-13]) | 32 | 32 | 0.71875 | 4 | 32 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 32 | 1 | 32 | 32 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
315680f6b78c092b3932e67e0aa4a1ccf3e4bd0c | 3,486 | py | Python | hotel/migrations/0001_initial.py | sharmautkarsh31/hotel_power_management | 777d8284f82969fbed80a4275239d0c6a2642bdf | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | hotel/migrations/0001_initial.py | sharmautkarsh31/hotel_power_management | 777d8284f82969fbed80a4275239d0c6a2642bdf | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | hotel/migrations/0001_initial.py | sharmautkarsh31/hotel_power_management | 777d8284f82969fbed80a4275239d0c6a2642bdf | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | # Generated by Django 3.2.3 on 2021-05-17 02:18
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Floor',
fields=[
... | 41.011765 | 123 | 0.557372 | 331 | 3,486 | 5.749245 | 0.196375 | 0.037835 | 0.058854 | 0.092486 | 0.834472 | 0.834472 | 0.834472 | 0.834472 | 0.834472 | 0.834472 | 0 | 0.014403 | 0.302926 | 3,486 | 84 | 124 | 41.5 | 0.768724 | 0.012909 | 0 | 0.714286 | 1 | 0 | 0.103228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025974 | 0 | 0.077922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
319d435d92637d1947f6edccb2caa90ba2e50246 | 85,000 | py | Python | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/arista/eos/plugins/modules/eos_bgp_global.py | Stienvdh/statrick | 7b092fc42171e226718a70a285a4b323f2f395ad | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2020 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is au... | 36.748811 | 112 | 0.466482 | 7,372 | 85,000 | 5.290016 | 0.08044 | 0.02154 | 0.035079 | 0.008077 | 0.907277 | 0.899482 | 0.887943 | 0.885404 | 0.884302 | 0.883045 | 0 | 0.028425 | 0.462353 | 85,000 | 2,312 | 113 | 36.764706 | 0.824923 | 0.007094 | 0 | 0.920125 | 0 | 0.004909 | 0.990833 | 0.026741 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000446 | false | 0.00357 | 0.007586 | 0 | 0.008032 | 0.000446 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
31be07d35715c7deb5c19213badc51362e1b27e3 | 689 | py | Python | vhoster/cli/services.py | GerardBalaoro/VHoster | 991a10f30308103d7b187c8d5dba636f0e14b669 | [
"MIT"
] | 2 | 2020-10-30T12:02:21.000Z | 2020-12-11T23:42:12.000Z | vhoster/cli/services.py | GerardBalaoro/VHoster | 991a10f30308103d7b187c8d5dba636f0e14b669 | [
"MIT"
] | null | null | null | vhoster/cli/services.py | GerardBalaoro/VHoster | 991a10f30308103d7b187c8d5dba636f0e14b669 | [
"MIT"
] | null | null | null | """Services CLI Commands"""
from .core import *
@main.command()
@click.argument('services', nargs=-1, required=False)
@pass_state
def start(state, services):
"""Restart all or specified services"""
def selected(service):
return not services or service in services
if selected('apache'):
s... | 20.264706 | 53 | 0.657475 | 84 | 689 | 5.369048 | 0.380952 | 0.066519 | 0.070953 | 0.10643 | 0.736142 | 0.736142 | 0.736142 | 0.736142 | 0.736142 | 0.736142 | 0 | 0.003663 | 0.207547 | 689 | 33 | 54 | 20.878788 | 0.822344 | 0.124819 | 0 | 0.631579 | 0 | 0 | 0.056218 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.052632 | 0.105263 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
31d1df784c0bf97eac7f1a5b10c83bb05286f04f | 6,440 | py | Python | tests/test_state.py | gmr/rejected | 564542d38072161f74a0ee9b4b61e38a52e2681d | [
"BSD-3-Clause"
] | 26 | 2015-06-16T10:54:03.000Z | 2022-02-09T13:25:40.000Z | tests/test_state.py | gmr/rejected | 564542d38072161f74a0ee9b4b61e38a52e2681d | [
"BSD-3-Clause"
] | 26 | 2016-04-25T20:10:13.000Z | 2020-11-23T18:01:01.000Z | tests/test_state.py | gmr/rejected | 564542d38072161f74a0ee9b4b61e38a52e2681d | [
"BSD-3-Clause"
] | 13 | 2015-04-30T21:08:11.000Z | 2021-11-17T05:52:43.000Z | """Tests for the State Class"""
import unittest
try:
from unittest import mock
except ImportError:
import mock
from rejected import state
class TestState(unittest.TestCase):
def setUp(self):
self._obj = state.State()
def test_set_state_invalid_value(self):
self.assertRaises(ValueErr... | 37.225434 | 74 | 0.713665 | 872 | 6,440 | 4.824541 | 0.059633 | 0.211314 | 0.256715 | 0.157594 | 0.875683 | 0.860946 | 0.850725 | 0.831709 | 0.825053 | 0.777989 | 0 | 0.001742 | 0.197671 | 6,440 | 172 | 75 | 37.44186 | 0.812464 | 0.003882 | 0 | 0.538462 | 0 | 0 | 0.001404 | 0 | 0 | 0 | 0 | 0 | 0.284615 | 1 | 0.292308 | false | 0 | 0.038462 | 0 | 0.338462 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
9edf96fb95922c1020fb5f5e9cd59a9d45ac9843 | 33,907 | py | Python | train.py | taeyen/graph-generation | 70787c77205bc02e90fa587c22a64706cb975892 | [
"MIT"
] | null | null | null | train.py | taeyen/graph-generation | 70787c77205bc02e90fa587c22a64706cb975892 | [
"MIT"
] | null | null | null | train.py | taeyen/graph-generation | 70787c77205bc02e90fa587c22a64706cb975892 | [
"MIT"
] | null | null | null | import networkx as nx
import numpy as np
import torch
import torch.nn as nn
import torch.nn.init as init
from torch.autograd import Variable
import matplotlib.pyplot as plt
import torch.nn.functional as F
from torch import optim
from torch.optim.lr_scheduler import MultiStepLR
from sklearn.decomposition import PCA
impo... | 44.555848 | 159 | 0.640812 | 5,113 | 33,907 | 3.947389 | 0.055154 | 0.031214 | 0.031561 | 0.020215 | 0.868553 | 0.856662 | 0.84155 | 0.82079 | 0.813705 | 0.797602 | 0 | 0.009903 | 0.237621 | 33,907 | 760 | 160 | 44.614474 | 0.77087 | 0.159908 | 0 | 0.740113 | 0 | 0.001883 | 0.036835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026365 | false | 0 | 0.050847 | 0 | 0.097928 | 0.030132 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
9ee7a159026d62257f531521d3fea88e0ca74aa0 | 5,585 | py | Python | tests/test_run_pipeline_operator.py | sweatybridge/bedrock-airflow | b28d80a071362cb1f414f47b39d786b4ca05351f | [
"MIT"
] | null | null | null | tests/test_run_pipeline_operator.py | sweatybridge/bedrock-airflow | b28d80a071362cb1f414f47b39d786b4ca05351f | [
"MIT"
] | 2 | 2021-08-30T16:29:09.000Z | 2022-01-28T21:57:59.000Z | tests/test_run_pipeline_operator.py | sweatybridge/bedrock-airflow | b28d80a071362cb1f414f47b39d786b4ca05351f | [
"MIT"
] | null | null | null | import datetime
import sys
import time
import pytest
from airflow import DAG
from airflow.hooks.http_hook import HttpHook
from bedrock_plugin import RunPipelineOperator
if sys.version_info >= (3, 3):
from unittest.mock import PropertyMock, patch
else:
from mock import PropertyMock, patch
def test_run_pipel... | 33.443114 | 87 | 0.654969 | 658 | 5,585 | 5.246201 | 0.142857 | 0.057358 | 0.038239 | 0.054751 | 0.858343 | 0.846176 | 0.846176 | 0.846176 | 0.846176 | 0.846176 | 0 | 0.008455 | 0.237601 | 5,585 | 166 | 88 | 33.644578 | 0.802255 | 0 | 0 | 0.73913 | 0 | 0 | 0.08863 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 1 | 0.043478 | false | 0 | 0.065217 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
7332b8481483a729290fef46b0585c4f9ac1344d | 23,438 | py | Python | microproxy/test/layer/test_http1.py | mike820324/microProxy | 64c7c5add4759c6e105b9438cd18c0f8c930c7a3 | [
"MIT"
] | 20 | 2016-04-17T08:43:26.000Z | 2021-05-31T04:01:27.000Z | microproxy/test/layer/test_http1.py | mike820324/microProxy | 64c7c5add4759c6e105b9438cd18c0f8c930c7a3 | [
"MIT"
] | 237 | 2016-04-17T07:07:08.000Z | 2017-01-26T09:15:52.000Z | microproxy/test/layer/test_http1.py | mike820324/microProxy | 64c7c5add4759c6e105b9438cd18c0f8c930c7a3 | [
"MIT"
] | 5 | 2016-04-16T14:22:45.000Z | 2019-11-27T04:41:55.000Z | import h11
import mock
from tornado.gen import coroutine, sleep
from tornado.netutil import add_accept_handler
from tornado.testing import gen_test, bind_unused_port
from unittest import TestCase
from microproxy.context import (
HttpRequest, HttpResponse, HttpHeaders,
LayerContext, ServerContext
)
from micropr... | 38.297386 | 105 | 0.645832 | 2,743 | 23,438 | 5.280715 | 0.062705 | 0.085951 | 0.040387 | 0.033207 | 0.880428 | 0.861374 | 0.842527 | 0.824646 | 0.808837 | 0.783707 | 0 | 0.014813 | 0.228091 | 23,438 | 611 | 106 | 38.360065 | 0.785817 | 0 | 0 | 0.773737 | 0 | 0 | 0.086057 | 0.001792 | 0 | 0 | 0 | 0 | 0.250505 | 1 | 0.076768 | false | 0.00404 | 0.026263 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
73426368f89543b7e0d522749a370f0222436c52 | 6,319 | py | Python | bot/setting.py | dvdrm/gd | c004724344577bb608fa0611d10c16b211995f72 | [
"Apache-2.0"
] | 14 | 2022-03-27T03:10:37.000Z | 2022-03-31T18:35:18.000Z | bot/setting.py | dvdrm/gd | c004724344577bb608fa0611d10c16b211995f72 | [
"Apache-2.0"
] | 11 | 2022-03-27T03:37:27.000Z | 2022-03-31T17:37:47.000Z | bot/setting.py | dvdrm/gd | c004724344577bb608fa0611d10c16b211995f72 | [
"Apache-2.0"
] | 21 | 2022-03-26T15:32:33.000Z | 2022-03-31T21:32:22.000Z | import json
from telethon import events, Button
from asyncio import exceptions
from .. import jdbot, chat_id, BOT_SET_JSON_FILE_USER, BOT_SET, ch_name
from .utils import split_list, logger, press_event
@jdbot.on(events.NewMessage(from_users=chat_id, pattern='^/set$'))
async def bot_set(event):
SENDER = event.send... | 51.795082 | 172 | 0.561639 | 783 | 6,319 | 4.381865 | 0.172414 | 0.081609 | 0.068202 | 0.049548 | 0.903818 | 0.874672 | 0.874672 | 0.864762 | 0.844943 | 0.80239 | 0 | 0.004148 | 0.313341 | 6,319 | 121 | 173 | 52.223141 | 0.786587 | 0 | 0 | 0.732759 | 0 | 0.017241 | 0.129926 | 0.054597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043103 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
7350a0068a72e86a2f8d8d77ecb5da15d173bb72 | 211 | py | Python | GeoDjango/geodjango/core/views.py | lmrissi/piloto_geodjango | 729576c7e66b5d9b33618d8039bca21228927d21 | [
"Apache-2.0"
] | null | null | null | GeoDjango/geodjango/core/views.py | lmrissi/piloto_geodjango | 729576c7e66b5d9b33618d8039bca21228927d21 | [
"Apache-2.0"
] | null | null | null | GeoDjango/geodjango/core/views.py | lmrissi/piloto_geodjango | 729576c7e66b5d9b33618d8039bca21228927d21 | [
"Apache-2.0"
] | null | null | null | from django.db.models import Max
from django.shortcuts import render
def index(request):
return render(request, 'core/index.html')
def mapa(request):
return render(request, 'core/mapa.html')
| 21.1 | 46 | 0.7109 | 29 | 211 | 5.172414 | 0.517241 | 0.133333 | 0.253333 | 0.346667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180095 | 211 | 9 | 47 | 23.444444 | 0.867052 | 0 | 0 | 0 | 0 | 0 | 0.143564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
b43322f94621a95cc787a7a4481511b881a92353 | 3,361 | py | Python | halotools/mock_observables/pairwise_velocities/tests/test_velocity_marked_npairs_3d.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | halotools/mock_observables/pairwise_velocities/tests/test_velocity_marked_npairs_3d.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | halotools/mock_observables/pairwise_velocities/tests/test_velocity_marked_npairs_3d.py | mclaughlin6464/halotools_old | 96fbdf5fc156160f19ccd4ae3ee964f831d26fa6 | [
"BSD-3-Clause"
] | null | null | null | """ Module providing testing of `halotools.mock_observables.velocity_marked_npairs_3d`
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
from astropy.tests.helper import pytest
from astropy.utils.misc import NumpyRNGContext
from ..velocity_marked_npairs_3d impor... | 34.295918 | 104 | 0.699792 | 461 | 3,361 | 4.828633 | 0.195228 | 0.079066 | 0.138365 | 0.177898 | 0.841869 | 0.802336 | 0.747978 | 0.735849 | 0.735849 | 0.704403 | 0 | 0.046753 | 0.198155 | 3,361 | 97 | 105 | 34.649485 | 0.779221 | 0.024398 | 0 | 0.638889 | 0 | 0 | 0.065729 | 0.011006 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.083333 | false | 0.013889 | 0.083333 | 0 | 0.166667 | 0.013889 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
b43554effe18cbe21174be91ad854cc0cfd5c7fc | 1,588 | py | Python | test/integration/connect/test_enter.py | chenrui333/cartridge-cli | 98f361c2a44bc003ff2838fc9b20bd5fa2b4a876 | [
"BSD-2-Clause"
] | null | null | null | test/integration/connect/test_enter.py | chenrui333/cartridge-cli | 98f361c2a44bc003ff2838fc9b20bd5fa2b4a876 | [
"BSD-2-Clause"
] | null | null | null | test/integration/connect/test_enter.py | chenrui333/cartridge-cli | 98f361c2a44bc003ff2838fc9b20bd5fa2b4a876 | [
"BSD-2-Clause"
] | null | null | null | from integration.connect.utils import assert_successful_piped_commands
from integration.connect.utils import assert_exited_piped_commands
from integration.connect.utils import assert_session_push_commands
from integration.connect.utils import assert_error
def test_bad_instance_name(cartridge_cmd, project_with_instanc... | 29.407407 | 101 | 0.75063 | 191 | 1,588 | 5.91623 | 0.162304 | 0.10708 | 0.19469 | 0.19115 | 0.810619 | 0.810619 | 0.776106 | 0.734513 | 0.642478 | 0.642478 | 0 | 0 | 0.157431 | 1,588 | 53 | 102 | 29.962264 | 0.844544 | 0 | 0 | 0.5 | 0 | 0 | 0.06864 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b454b0295ebcea227e05f3bfff403257dc5f4578 | 37,743 | py | Python | tests/unit/operations/test_solution_stack_ops.py | sdolenc/aws-elastic-beanstalk-cli | 4167a38bd599a4433c62c1d3516b8836248a4171 | [
"Apache-2.0"
] | 110 | 2020-01-15T22:58:46.000Z | 2022-03-27T20:47:33.000Z | tests/unit/operations/test_solution_stack_ops.py | QPC-database/aws-elastic-beanstalk-cli | 87ad9d8bbe5e4e7cb01b1bd4392eda33cb1943f7 | [
"Apache-2.0"
] | 89 | 2020-01-15T23:18:34.000Z | 2022-03-31T21:56:05.000Z | tests/unit/operations/test_solution_stack_ops.py | QPC-database/aws-elastic-beanstalk-cli | 87ad9d8bbe5e4e7cb01b1bd4392eda33cb1943f7 | [
"Apache-2.0"
] | 50 | 2020-01-15T22:58:53.000Z | 2022-02-11T17:39:28.000Z | # Copyright 2017 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | 51.84478 | 138 | 0.599025 | 5,359 | 37,743 | 4.144057 | 0.040866 | 0.123334 | 0.154899 | 0.089157 | 0.880629 | 0.848613 | 0.82826 | 0.805746 | 0.76603 | 0.755358 | 0 | 0.147624 | 0.298069 | 37,743 | 727 | 139 | 51.916094 | 0.690635 | 0.014201 | 0 | 0.490313 | 0 | 0.067064 | 0.600393 | 0.086654 | 0 | 0 | 0 | 0 | 0.016393 | 1 | 0.017884 | false | 0.043219 | 0.011923 | 0 | 0.031297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c332e729cff1eda0d553ac9db17444719c5e682e | 88,228 | py | Python | nfv/nfv-vim/nfv_vim/instance_fsm/_instance_task_work.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/instance_fsm/_instance_task_work.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/instance_fsm/_instance_task_work.py | SidneyAn/nfv | 5f0262a5b6ea4be59f977b9c587c483cbe0e373d | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
import weakref
from nfv_common.helpers import coroutine
from nfv_common import debug
from nfv_common import state_machine
from nfv_vim import nfvi
from nfv_vim.instance_fsm._instance_defs import INSTANCE_EVENT
DLOG = deb... | 37.639932 | 82 | 0.572981 | 9,168 | 88,228 | 5.199062 | 0.026723 | 0.085346 | 0.058492 | 0.072254 | 0.898164 | 0.874436 | 0.865562 | 0.85589 | 0.848358 | 0.842085 | 0 | 0.001406 | 0.346885 | 88,228 | 2,343 | 83 | 37.655997 | 0.825781 | 0.055833 | 0 | 0.815231 | 0 | 0 | 0.090194 | 0.024851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076155 | false | 0.073658 | 0.006242 | 0 | 0.164794 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
6f4bde26d623a8f9936db071c36bdc14c9d7cd0a | 125 | py | Python | src/spn/gpu/__init__.py | kripa-experiments/SPFlow | 32eada604bf5442d8aa10223581b187f7a57d540 | [
"Apache-2.0"
] | 1 | 2021-09-01T16:26:20.000Z | 2021-09-01T16:26:20.000Z | src/spn/gpu/__init__.py | kripa-experiments/SPFlow | 32eada604bf5442d8aa10223581b187f7a57d540 | [
"Apache-2.0"
] | null | null | null | src/spn/gpu/__init__.py | kripa-experiments/SPFlow | 32eada604bf5442d8aa10223581b187f7a57d540 | [
"Apache-2.0"
] | null | null | null | from spn.structure.leaves.parametric.Tensorflow import add_parametric_tensorflow_support
add_parametric_tensorflow_support() | 41.666667 | 88 | 0.912 | 15 | 125 | 7.2 | 0.6 | 0.555556 | 0.425926 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 125 | 3 | 89 | 41.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6f4f354f83c45f9520ffa41eb30a5e19b522f0e7 | 168 | py | Python | ocnn/octree/python/ocnn/dataset/__init__.py | FrozenSilent/O-CNN | 9527cd7670856229dfc3281bc05d2077a0553ec3 | [
"MIT"
] | 6 | 2021-05-18T12:41:31.000Z | 2021-05-24T10:02:47.000Z | ocnn/octree/python/ocnn/dataset/__init__.py | FrozenSilent/O-CNN | 9527cd7670856229dfc3281bc05d2077a0553ec3 | [
"MIT"
] | null | null | null | ocnn/octree/python/ocnn/dataset/__init__.py | FrozenSilent/O-CNN | 9527cd7670856229dfc3281bc05d2077a0553ec3 | [
"MIT"
] | null | null | null | from ocnn.dataset.dataset import Dataset
from ocnn.dataset.dataset_structure import FolderMappedStructure
from ocnn.dataset.dataset_structure import CsvMappedStructure
| 42 | 64 | 0.892857 | 20 | 168 | 7.4 | 0.35 | 0.162162 | 0.304054 | 0.445946 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 3 | 65 | 56 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6f558f61550d2ae24912fe72c28e60a13bb87f81 | 66,069 | py | Python | data_processing/neural_data_shaping.py | MaryamHoss/BESD | 294e9b417cc5866e76be6faad2357ba8d26e61a9 | [
"Apache-2.0"
] | null | null | null | data_processing/neural_data_shaping.py | MaryamHoss/BESD | 294e9b417cc5866e76be6faad2357ba8d26e61a9 | [
"Apache-2.0"
] | null | null | null | data_processing/neural_data_shaping.py | MaryamHoss/BESD | 294e9b417cc5866e76be6faad2357ba8d26e61a9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Nov 21 17:39:05 2019
@author: hoss3301
"""
import numpy as np
import scipy.io as spio
import h5py
def LagGen(x, b, a):
l, m, p = x.shape
length = np.ceil(l / b).astype(int)
x0 = np.pad(x, ((0, a), (0, 0), (0, 0)), 'edge')
o = np.zeros((length, a, m, p))
... | 37.840206 | 120 | 0.740514 | 10,599 | 66,069 | 4.29399 | 0.027927 | 0.039989 | 0.020039 | 0.014743 | 0.947816 | 0.913759 | 0.87322 | 0.84035 | 0.810709 | 0.770258 | 0 | 0.085346 | 0.11824 | 66,069 | 1,745 | 121 | 37.861891 | 0.695882 | 0.088998 | 0 | 0.729358 | 0 | 0.00367 | 0.121621 | 0.104045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002752 | false | 0 | 0.037615 | 0 | 0.043119 | 0.007339 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
48c350d755033bccc52a5b3342077de6c3384999 | 1,676 | py | Python | networkCalc.py | z1pti3/jimiPlugin-networkCalc | dcd543d2b6ab7fef8566fe33fc033f292d80f8a7 | [
"Apache-2.0"
] | null | null | null | networkCalc.py | z1pti3/jimiPlugin-networkCalc | dcd543d2b6ab7fef8566fe33fc033f292d80f8a7 | [
"Apache-2.0"
] | null | null | null | networkCalc.py | z1pti3/jimiPlugin-networkCalc | dcd543d2b6ab7fef8566fe33fc033f292d80f8a7 | [
"Apache-2.0"
] | null | null | null | import jimi
class _networkCalc(jimi.plugin._plugin):
version = 0.1
def install(self):
# Register models
jimi.model.registerModel("networkCalcSubnetCalculator","_networkCalcSubnetCalculator","_action","plugins.networkCalc.models.action")
jimi.model.registerModel("networkCalcBinaryCalcul... | 62.074074 | 142 | 0.766706 | 135 | 1,676 | 9.355556 | 0.22963 | 0.071259 | 0.190024 | 0.23753 | 0.834521 | 0.834521 | 0.834521 | 0.834521 | 0.745843 | 0.147268 | 0 | 0.002686 | 0.111575 | 1,676 | 26 | 143 | 64.461538 | 0.845534 | 0.032816 | 0 | 0.157895 | 0 | 0 | 0.552876 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.052632 | 0.052632 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5b195fe57c2cf51198b3961caaa8da974eaee15e | 12 | py | Python | _draft/x_5_7.py | ofl/kuku2 | 7247fb1862d917d23258ebe7a93dca5939433225 | [
"MIT"
] | null | null | null | _draft/x_5_7.py | ofl/kuku2 | 7247fb1862d917d23258ebe7a93dca5939433225 | [
"MIT"
] | 1 | 2021-11-13T08:03:04.000Z | 2021-11-13T08:03:04.000Z | _draft/x_5_7.py | ofl/kuku2 | 7247fb1862d917d23258ebe7a93dca5939433225 | [
"MIT"
] | null | null | null | # x_5_7
#
#
| 3 | 7 | 0.416667 | 3 | 12 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.333333 | 12 | 3 | 8 | 4 | 0.125 | 0.416667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d2bd035f7fe4f8ee6d13f2cf8c67570d6e7e1c18 | 20,754 | py | Python | sdk/purview/azure-purview-account/azure/purview/account/aio/operations/_collections_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2021-09-16T02:33:52.000Z | 2021-09-16T02:33:52.000Z | sdk/purview/azure-purview-account/azure/purview/account/aio/operations/_collections_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2019-08-05T19:14:28.000Z | 2019-08-05T19:30:05.000Z | sdk/purview/azure-purview-account/azure/purview/account/aio/operations/_collections_operations.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1 | 2016-04-19T22:15:47.000Z | 2016-04-19T22:15:47.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | 39.911538 | 264 | 0.569095 | 1,862 | 20,754 | 6.11493 | 0.119227 | 0.044441 | 0.031618 | 0.023186 | 0.819867 | 0.800369 | 0.772791 | 0.748814 | 0.741613 | 0.721412 | 0 | 0.006318 | 0.328852 | 20,754 | 519 | 265 | 39.988439 | 0.811114 | 0.14802 | 0 | 0.722008 | 0 | 0 | 0.053292 | 0.030751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019305 | false | 0 | 0.046332 | 0 | 0.127413 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
d2d3f75aded4416d1d4487b2ffa8dc2920678742 | 50,670 | py | Python | sdk/python/build/lib/pulumi_databricks/databricks/cluster.py | ingenii-solutions/pulumi-databricks | f03ecc4e190a4e59eb635663f6408350dcab42ea | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-12-10T07:35:59.000Z | 2022-03-23T22:53:55.000Z | sdk/python/pulumi_databricks/databricks/cluster.py | ingenii-solutions/pulumi-databricks | f03ecc4e190a4e59eb635663f6408350dcab42ea | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_databricks/databricks/cluster.py | ingenii-solutions/pulumi-databricks | f03ecc4e190a4e59eb635663f6408350dcab42ea | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 45.48474 | 134 | 0.671226 | 5,834 | 50,670 | 5.49143 | 0.036682 | 0.101289 | 0.15479 | 0.071417 | 0.937042 | 0.926991 | 0.909511 | 0.90127 | 0.887973 | 0.843088 | 0 | 0.000025 | 0.210006 | 50,670 | 1,113 | 135 | 45.525606 | 0.80032 | 0.021768 | 0 | 0.884074 | 1 | 0 | 0.140635 | 0.04727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169014 | false | 0.001083 | 0.007584 | 0.097508 | 0.27844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d2f466e4dbde7632b2e29a02ceb17a0e59a8dbe8 | 592 | py | Python | deepscratch/models/layers/layer.py | mari-linhares/deep-python-scratch | b447ed20c981db5ffef810b6f80d1638cf7d2ccd | [
"MIT"
] | 9 | 2018-09-18T00:29:10.000Z | 2021-02-20T17:58:30.000Z | deepscratch/models/layers/layer.py | Jagannathrk2020/deeplearning-from-scratch | b447ed20c981db5ffef810b6f80d1638cf7d2ccd | [
"MIT"
] | null | null | null | deepscratch/models/layers/layer.py | Jagannathrk2020/deeplearning-from-scratch | b447ed20c981db5ffef810b6f80d1638cf7d2ccd | [
"MIT"
] | 3 | 2018-09-18T15:47:59.000Z | 2020-08-09T03:10:34.000Z | import numpy as np
class Layer(object):
def __init__(self):
self.input_shape = None
def name(self):
return self.__class__.__name__
def forward(self, data):
return NotImplementedError()
def backward(self, grads, **kwargs):
return NotImplementedError()
def... | 21.925926 | 71 | 0.633446 | 59 | 592 | 6.101695 | 0.474576 | 0.347222 | 0.311111 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278716 | 592 | 27 | 72 | 21.925926 | 0.843091 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.055556 | 0.055556 | 0.333333 | 0.888889 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 7 |
96157ff85c00c83af8a8a98d6d6023d788f5a61c | 247 | py | Python | endochrone/classification/__init__.py | nickwood/endochrone | 050a2604be82ee4cd5ee6357ea72d3d6d4117277 | [
"MIT"
] | 2 | 2020-04-20T15:41:53.000Z | 2021-11-25T18:52:20.000Z | endochrone/classification/__init__.py | nickwood/endochrone | 050a2604be82ee4cd5ee6357ea72d3d6d4117277 | [
"MIT"
] | null | null | null | endochrone/classification/__init__.py | nickwood/endochrone | 050a2604be82ee4cd5ee6357ea72d3d6d4117277 | [
"MIT"
] | null | null | null | from endochrone.classification.binary_tree import BinaryDecisionTree
from endochrone.classification.naive_knn import KNearest
from endochrone.classification.naive_bayes import NaiveBayes
__all__ = ['BinaryDecisionTree', 'KNearest', 'NaiveBayes']
| 41.166667 | 68 | 0.8583 | 25 | 247 | 8.2 | 0.52 | 0.204878 | 0.409756 | 0.321951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072874 | 247 | 5 | 69 | 49.4 | 0.895197 | 0 | 0 | 0 | 0 | 0 | 0.145749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8296a9bdc0de4d105cae89654d5fc9dbdd6beabc | 2,049 | py | Python | src/share/art.py | davidli218/anonymChat | e233cb9a622f586d8de0025a65e04b824b760885 | [
"MIT"
] | null | null | null | src/share/art.py | davidli218/anonymChat | e233cb9a622f586d8de0025a65e04b824b760885 | [
"MIT"
] | null | null | null | src/share/art.py | davidli218/anonymChat | e233cb9a622f586d8de0025a65e04b824b760885 | [
"MIT"
] | null | null | null | __all__ = ('ascii_art_title_4client', 'ascii_art_title_4server')
ascii_art_title_4client = r"""
/$$$$$$ /$$ /$$
/$$__ $$| $$ | $$
/$$$$$$ /$... | 75.888889 | 151 | 0.155686 | 20 | 2,049 | 4.3 | 0.4 | 0.372093 | 0.604651 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.574427 | 2,049 | 26 | 152 | 78.807692 | 0.094037 | 0 | 0 | 0.083333 | 0 | 0.375 | 0.956564 | 0.02245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
82dadb2753ef614cb4a88488fa266ad22309a460 | 57,061 | py | Python | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_config/router/mpls/mpls_cmds_holder/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 102.627698 | 1,083 | 0.73679 | 8,433 | 57,061 | 4.789162 | 0.025377 | 0.02377 | 0.045757 | 0.033872 | 0.914725 | 0.902667 | 0.89769 | 0.892886 | 0.890262 | 0.883923 | 0 | 0.000117 | 0.104818 | 57,061 | 555 | 1,084 | 102.812613 | 0.790544 | 0.110198 | 0 | 0.478006 | 0 | 0.038123 | 0.47713 | 0.205467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123167 | false | 0.076246 | 0.061584 | 0 | 0.293255 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
7d74e2c738ac2f0a60efc37be5f5dd776506ac0f | 772 | py | Python | scripts/patches/transfer.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | scripts/patches/transfer.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | scripts/patches/transfer.py | compose-x/troposphere | 9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4 | [
"BSD-2-Clause"
] | null | null | null | patches = [
{
"op": "move",
"from": "/ResourceTypes/AWS::Transfer::Server/Properties/Protocols/ItemType",
"path": "/ResourceTypes/AWS::Transfer::Server/Properties/Protocols/PrimitiveItemType",
},
{
"op": "replace",
"path": "/ResourceTypes/AWS::Transfer::Server/Propert... | 33.565217 | 96 | 0.604922 | 61 | 772 | 7.655738 | 0.295082 | 0.205567 | 0.308351 | 0.239829 | 0.937902 | 0.90364 | 0.646681 | 0.608137 | 0 | 0 | 0 | 0 | 0.212435 | 772 | 22 | 97 | 35.090909 | 0.768092 | 0 | 0 | 0.454545 | 0 | 0 | 0.665803 | 0.567358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7dad77e428516e43dd8aeb0eb56377ef305b314e | 114 | py | Python | main.py | thewh1teagle/whatsapp-web-multi-device-reveng | 4dde22fcd45022b12ded94d704c2da4929f8dd98 | [
"MIT"
] | 83 | 2021-07-19T13:50:15.000Z | 2022-02-19T09:24:23.000Z | main.py | thewh1teagle/whatsapp-web-multi-device-reveng | 4dde22fcd45022b12ded94d704c2da4929f8dd98 | [
"MIT"
] | 2 | 2021-07-19T23:29:55.000Z | 2021-09-28T12:22:50.000Z | main.py | thewh1teagle/whatsapp-web-multi-device-reveng | 4dde22fcd45022b12ded94d704c2da4929f8dd98 | [
"MIT"
] | 18 | 2021-07-19T13:49:33.000Z | 2022-02-05T21:47:12.000Z | #!/usr/bin/env python3
import pocs.poc01_generate_qr
if __name__ == '__main__':
pocs.poc01_generate_qr.main()
| 16.285714 | 31 | 0.754386 | 17 | 114 | 4.352941 | 0.705882 | 0.243243 | 0.459459 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0.114035 | 114 | 6 | 32 | 19 | 0.683168 | 0.184211 | 0 | 0 | 1 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
7de02cd942355c648774aef68df70e0589ab8bf5 | 17,555 | py | Python | tests/api/v1/test_teams.py | cclauss/CTFd | 7c60c697ee38a500b4584fbac14e2e424e48e4d4 | [
"Apache-2.0"
] | null | null | null | tests/api/v1/test_teams.py | cclauss/CTFd | 7c60c697ee38a500b4584fbac14e2e424e48e4d4 | [
"Apache-2.0"
] | null | null | null | tests/api/v1/test_teams.py | cclauss/CTFd | 7c60c697ee38a500b4584fbac14e2e424e48e4d4 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from CTFd.utils import set_config
from CTFd.utils.crypto import verify_password
from tests.helpers import *
def test_api_teams_get_public():
"""Can a user get /api/v1/teams if teams are public"""
app = create_ctfd(user_mode="teams")
with app.app_context():
... | 36.345756 | 102 | 0.580518 | 2,416 | 17,555 | 4.015315 | 0.05505 | 0.041233 | 0.081435 | 0.081744 | 0.899495 | 0.879806 | 0.865065 | 0.858571 | 0.83445 | 0.800742 | 0 | 0.02306 | 0.283623 | 17,555 | 482 | 103 | 36.421162 | 0.74833 | 0.093136 | 0 | 0.765013 | 0 | 0 | 0.143111 | 0.029218 | 0 | 0 | 0 | 0 | 0.174935 | 1 | 0.070496 | false | 0.020888 | 0.007833 | 0 | 0.078329 | 0.020888 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
81581e76eee90743d4cbe790aea7302578763d3f | 7,603 | py | Python | adet/modeling/nlos_converter/nlos_converter.py | pjh4993/nlos_detection | 03f1ecd73eb6fce3c0ddfdf14eedaa049dd87f39 | [
"BSD-2-Clause"
] | null | null | null | adet/modeling/nlos_converter/nlos_converter.py | pjh4993/nlos_detection | 03f1ecd73eb6fce3c0ddfdf14eedaa049dd87f39 | [
"BSD-2-Clause"
] | null | null | null | adet/modeling/nlos_converter/nlos_converter.py | pjh4993/nlos_detection | 03f1ecd73eb6fce3c0ddfdf14eedaa049dd87f39 | [
"BSD-2-Clause"
] | null | null | null | from collections import defaultdict
from typing import List, Dict
import torch
from torch import nn
from torch.nn import functional as F
import math
from detectron2.layers import ShapeSpec, NaiveSyncBatchNorm
from adet.modeling.nlos_converter.build import NLOS_CONVERTER_REGISTRY
from adet.layers import DFConv2d, Naive... | 41.774725 | 162 | 0.606208 | 1,030 | 7,603 | 4.208738 | 0.127184 | 0.059977 | 0.054902 | 0.062284 | 0.888812 | 0.864591 | 0.864591 | 0.856286 | 0.856286 | 0.856286 | 0 | 0.014647 | 0.281599 | 7,603 | 182 | 163 | 41.774725 | 0.779019 | 0.01289 | 0 | 0.805556 | 0 | 0 | 0.024181 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0.041667 | false | 0 | 0.069444 | 0.013889 | 0.152778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
81590cbd9be2a46d767c60cb9b80e67367f3e027 | 118,146 | py | Python | json_test.py | krummas/cassandra-dtest | 7e3bcfd52fbc926b4c43e258a7e0efa19e1ca13d | [
"Apache-2.0"
] | 52 | 2015-02-13T15:49:03.000Z | 2020-11-15T10:59:20.000Z | json_test.py | krummas/cassandra-dtest | 7e3bcfd52fbc926b4c43e258a7e0efa19e1ca13d | [
"Apache-2.0"
] | 1,232 | 2015-01-05T19:31:26.000Z | 2020-06-07T02:59:43.000Z | json_test.py | krummas/cassandra-dtest | 7e3bcfd52fbc926b4c43e258a7e0efa19e1ca13d | [
"Apache-2.0"
] | 91 | 2015-02-23T23:58:44.000Z | 2020-05-24T11:05:03.000Z | import doctest
import inspect
import os
import re
import subprocess
import sys
from distutils.version import LooseVersion
from ccmlib import common
from ccmlib.common import is_win
from dtest import Tester
from tools.decorators import since
def build_doc_context(tester, test_name, prepare=True, connection=None, nod... | 78.190602 | 1,372 | 0.491299 | 11,641 | 118,146 | 4.938064 | 0.077399 | 0.006611 | 0.008089 | 0.013395 | 0.849141 | 0.826752 | 0.821063 | 0.805459 | 0.786062 | 0.772667 | 0 | 0.203208 | 0.217519 | 118,146 | 1,510 | 1,373 | 78.242384 | 0.418597 | 0.867588 | 0 | 0.185714 | 0 | 0 | 0.085391 | 0.007587 | 0 | 0 | 0 | 0.029801 | 0 | 1 | 0.185714 | false | 0 | 0.078571 | 0.007143 | 0.35 | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
817cf626660625f40362318cba6444d8f3757677 | 72 | py | Python | Chapter 01/Chap01_Example1.107.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.107.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.107.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | r=s=t=1 #--- I1
print(r + s + t)
r=s=t='1' #--- I2
print(r + s + t)
| 14.4 | 18 | 0.388889 | 18 | 72 | 1.555556 | 0.388889 | 0.285714 | 0.428571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.277778 | 72 | 4 | 19 | 18 | 0.461538 | 0.166667 | 0 | 0.5 | 0 | 0 | 0.018519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
c49d7c026054a433d0b27ea65a3e4a7ad9f29b83 | 12,508 | py | Python | wrappers/SONATAClient/admin.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/SONATAClient/admin.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | wrappers/SONATAClient/admin.py | CN-UPB/python-mano-wrappers | 8e3607feaa97bc3e2c906ee8e4b25b21853ea6cf | [
"Apache-2.0"
] | null | null | null | from .auth import Auth
import json
import requests
class Admin():
def __init__(self, host, port=4002):
self._host = host
self._port = port
self._base_path = 'http://{0}/api/v2'
def get_user_list(self, token, host=None, port=None):
if host is None:
... | 38.965732 | 99 | 0.556204 | 1,448 | 12,508 | 4.666436 | 0.053867 | 0.080509 | 0.040847 | 0.052094 | 0.967145 | 0.967145 | 0.967145 | 0.959893 | 0.954862 | 0.954862 | 0 | 0.00529 | 0.304765 | 12,508 | 321 | 100 | 38.965732 | 0.771734 | 0 | 0 | 0.844106 | 0 | 0 | 0.119288 | 0.006727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060837 | false | 0 | 0.011407 | 0 | 0.190114 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
1ef9bff6fac4e259ed4eab71abd0e4b4b65cacf3 | 9,774 | py | Python | encoder_layers_test.py | loisaidasam/polyai-models | 13d8649e8bc653baf0681ab2c548918b0566f3f8 | [
"Apache-2.0"
] | 2 | 2020-10-16T11:30:59.000Z | 2021-03-28T04:51:25.000Z | encoder_layers_test.py | loisaidasam/polyai-models | 13d8649e8bc653baf0681ab2c548918b0566f3f8 | [
"Apache-2.0"
] | null | null | null | encoder_layers_test.py | loisaidasam/polyai-models | 13d8649e8bc653baf0681ab2c548918b0566f3f8 | [
"Apache-2.0"
] | 7 | 2020-10-04T20:10:28.000Z | 2021-11-30T11:28:40.000Z | """Unit tests for encoder_layers.py.
Copyright PolyAI Limited.
"""
import tensorflow as tf
import encoder_layers
_TEST_ENCODER = "testdata/tfhub_modules/encoder"
_TEST_EXTRA_CONTEXT_ENCODER = "testdata/tfhub_modules/extra_context_encoder"
class EncoderLayersTest(tf.test.TestCase):
def test_encode_sentences(se... | 41.769231 | 77 | 0.578678 | 988 | 9,774 | 5.507085 | 0.1083 | 0.052931 | 0.038596 | 0.072046 | 0.894872 | 0.894872 | 0.881639 | 0.865098 | 0.859217 | 0.840838 | 0 | 0.011624 | 0.331082 | 9,774 | 233 | 78 | 41.948498 | 0.820587 | 0.027931 | 0 | 0.820896 | 0 | 0 | 0.052476 | 0.007798 | 0 | 0 | 0 | 0 | 0.169154 | 1 | 0.034826 | false | 0 | 0.00995 | 0 | 0.049751 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
4814a41cbbbade8b4ec0caf739a6aa1a8e88712c | 47,628 | py | Python | samples/users/user.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/users/user.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/users/user.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime
from zcrmsdk.src.com.zoho.crm.api import ParameterMap, HeaderMap
from zcrmsdk.src.com.zoho.crm.api.profiles import Profile
from zcrmsdk.src.com.zoho.crm.api.roles import Role
from zcrmsdk.src.com.zoho.crm.api.users import *
from zcrmsdk.src.com.zoho.crm.api.users import User as ZCRMUser
... | 41.523976 | 123 | 0.490867 | 4,787 | 47,628 | 4.733236 | 0.050554 | 0.058787 | 0.043252 | 0.05561 | 0.938521 | 0.931062 | 0.914865 | 0.907582 | 0.899903 | 0.889311 | 0 | 0.009746 | 0.437705 | 47,628 | 1,146 | 124 | 41.560209 | 0.836302 | 0.221487 | 0 | 0.860731 | 0 | 0 | 0.090277 | 0.001374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0 | 0.013699 | 0 | 0.034247 | 0.479452 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 8 |
486466db68cbcf5eea5ccc9b96dfe6e362a5ef05 | 1,939 | py | Python | authnz/tests.py | NERSC/newt-2.0 | 9b16d61b3bb6b03d731573fc11c85b1527e8a40a | [
"BSD-2-Clause"
] | 11 | 2015-04-15T02:09:51.000Z | 2022-03-06T15:54:36.000Z | authnz/tests.py | shreddd/newt-2.0 | 8ef448ac1a6f34c2f16b0deafdcdc27ebfc255ae | [
"BSD-2-Clause"
] | 21 | 2019-06-06T17:54:09.000Z | 2021-07-14T05:57:14.000Z | authnz/tests.py | shreddd/newt-2.0 | 8ef448ac1a6f34c2f16b0deafdcdc27ebfc255ae | [
"BSD-2-Clause"
] | 3 | 2015-08-27T00:42:43.000Z | 2019-04-04T23:10:18.000Z | from django.test import TestCase
from django.conf import settings
import json
from newt.tests import MyTestClient, newt_base_url, login
class AuthTests(TestCase):
fixtures = ["test_fixture.json"]
def setUp(self):
self.client = MyTestClient()
def test_login(self):
# Should not be logged i... | 37.288462 | 81 | 0.645178 | 241 | 1,939 | 5.033195 | 0.195021 | 0.197857 | 0.148392 | 0.207749 | 0.761748 | 0.761748 | 0.753504 | 0.753504 | 0.753504 | 0.753504 | 0 | 0.011881 | 0.218669 | 1,939 | 51 | 82 | 38.019608 | 0.788779 | 0.056215 | 0 | 0.702703 | 0 | 0 | 0.094795 | 0 | 0 | 0 | 0 | 0 | 0.405405 | 1 | 0.081081 | false | 0 | 0.108108 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
48672fefcb2e4beea8dc535553ddf7aeb833ebbf | 3,065 | py | Python | test/pyaz/sql/midb/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | test/pyaz/sql/midb/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | 9 | 2021-09-24T16:37:24.000Z | 2021-12-24T00:39:19.000Z | test/pyaz/sql/midb/__init__.py | bigdatamoore/py-az-cli | 54383a4ee7cc77556f6183e74e992eec95b28e01 | [
"MIT"
] | null | null | null | import json, subprocess
from ... pyaz_utils import get_cli_name, get_params
def list_deleted(resource_group, managed_instance):
params = get_params(locals())
command = "az sql midb list-deleted " + params
print(command)
output = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=sub... | 34.829545 | 142 | 0.665905 | 380 | 3,065 | 5.289474 | 0.134211 | 0.083582 | 0.059701 | 0.062687 | 0.900995 | 0.837313 | 0.837313 | 0.837313 | 0.818905 | 0.818905 | 0 | 0.005015 | 0.21925 | 3,065 | 87 | 143 | 35.229885 | 0.834935 | 0 | 0 | 0.825 | 0 | 0 | 0.057749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025 | null | null | 0.225 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6fb08411545e1be1abe5f27ff5f9080629fecd01 | 65,233 | gyp | Python | libtgvoip.gyp | seven1240/libtgvoip | 78decc81bf25cf36ad1b4a9398aa11cb195db9c5 | [
"Unlicense"
] | 3 | 2019-09-05T09:42:24.000Z | 2022-02-22T18:46:00.000Z | libtgvoip.gyp | seven1240/libtgvoip | 78decc81bf25cf36ad1b4a9398aa11cb195db9c5 | [
"Unlicense"
] | null | null | null | libtgvoip.gyp | seven1240/libtgvoip | 78decc81bf25cf36ad1b4a9398aa11cb195db9c5 | [
"Unlicense"
] | 1 | 2019-03-04T21:02:42.000Z | 2019-03-04T21:02:42.000Z | # GYP project file for TDesktop
{
'targets': [
{
'target_name': 'libtgvoip',
'type': 'static_library',
'dependencies': [],
'defines': [
'WEBRTC_APM_DEBUG_DUMP=0',
'TGVOIP_USE_DESKTOP_DSP',
'WEBRTC_NS_FLOAT',
],
'variables': {
... | 70.828447 | 115 | 0.686953 | 8,316 | 65,233 | 4.960197 | 0.072751 | 0.153167 | 0.204223 | 0.262261 | 0.910107 | 0.889015 | 0.842881 | 0.836335 | 0.807389 | 0.765425 | 0 | 0.005242 | 0.175264 | 65,233 | 920 | 116 | 70.905435 | 0.761468 | 0.026612 | 0 | 0.092446 | 0 | 0 | 0.777718 | 0.75739 | 0 | 0 | 0 | 0.001087 | 0.002255 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
6fea1631be61066700f0c3848bab3df9b59a11bb | 3,047 | py | Python | seated/__init__.py | matteoferla/EasyJet_seat_message | 70666cd1bb9f0752a3ceb0d910b9f49b63d2c420 | [
"MIT"
] | 1 | 2021-06-04T10:21:03.000Z | 2021-06-04T10:21:03.000Z | seated/__init__.py | matteoferla/EasyJet_seat_message | 70666cd1bb9f0752a3ceb0d910b9f49b63d2c420 | [
"MIT"
] | null | null | null | seated/__init__.py | matteoferla/EasyJet_seat_message | 70666cd1bb9f0752a3ceb0d910b9f49b63d2c420 | [
"MIT"
] | null | null | null | from .square import Square, Border, Line
pattern = [
[
Square(Border.inner, Line.square), # first row headrest and tray
Square(Border.outer, Line.BL),
Square(Border.outer, Line.BR),
Square(Border.none, Line.TR),
Square(Border.outer, Line.square),
Square(Border.outer,... | 36.710843 | 72 | 0.590745 | 385 | 3,047 | 4.675325 | 0.072727 | 0.486667 | 0.396667 | 0.49 | 0.934444 | 0.901111 | 0.901111 | 0.901111 | 0.901111 | 0.872778 | 0 | 0.000443 | 0.259271 | 3,047 | 83 | 73 | 36.710843 | 0.797076 | 0.033476 | 0 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.012195 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
82f836ba9094e82a27a7c1ac57b1e409b89a3cad | 99 | py | Python | test.py | Aaron-Jin-Xu/DataIO | 9713807e83e06e296c9e28014553e095014be642 | [
"MIT"
] | 1 | 2020-04-19T22:48:44.000Z | 2020-04-19T22:48:44.000Z | test.py | jinxu06/DataIO | 9713807e83e06e296c9e28014553e095014be642 | [
"MIT"
] | null | null | null | test.py | jinxu06/DataIO | 9713807e83e06e296c9e28014553e095014be642 | [
"MIT"
] | null | null | null | from utils.io import inspect_data_dirs
from configs import DATA_DIRS
inspect_data_dirs(DATA_DIRS)
| 19.8 | 38 | 0.868687 | 17 | 99 | 4.705882 | 0.470588 | 0.4 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 4 | 39 | 24.75 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d22804b8c1564f8a22d48050820c7419b0ef587b | 472 | py | Python | main.py | tgaspe/Python-Workshop | d9d116303ae3fe8cff0dd18b124cba998c71fa7e | [
"MIT"
] | null | null | null | main.py | tgaspe/Python-Workshop | d9d116303ae3fe8cff0dd18b124cba998c71fa7e | [
"MIT"
] | null | null | null | main.py | tgaspe/Python-Workshop | d9d116303ae3fe8cff0dd18b124cba998c71fa7e | [
"MIT"
] | null | null | null | <<<<<<< HEAD
def main_wrapper():
print("This is the start of our project. This function's name is {Main_wrapper.__name__}")
# Stuff here
#
print("this is the end of the project")
if __name__ == "__main__":
=======
def main_wrapper():
print("This is the start of our project. This function's na... | 23.6 | 94 | 0.633475 | 67 | 472 | 4.029851 | 0.298507 | 0.203704 | 0.162963 | 0.207407 | 0.874074 | 0.874074 | 0.874074 | 0.874074 | 0.874074 | 0.874074 | 0 | 0 | 0.222458 | 472 | 20 | 95 | 23.6 | 0.735695 | 0.021186 | 0 | 0.666667 | 0 | 0 | 0.517391 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
d23ea3e9a46fdb86766bef2688e1bd7ff94ee820 | 13,688 | py | Python | python/seldon_deploy_sdk/api/environment_api.py | adriangonz/seldon-deploy-sdk | c5504838630a87053387cec57ec2e1e7251971e2 | [
"Apache-2.0"
] | 6 | 2021-02-18T14:37:54.000Z | 2022-01-13T13:27:43.000Z | python/seldon_deploy_sdk/api/environment_api.py | adriangonz/seldon-deploy-sdk | c5504838630a87053387cec57ec2e1e7251971e2 | [
"Apache-2.0"
] | 14 | 2021-01-04T16:32:03.000Z | 2021-12-13T17:53:59.000Z | python/seldon_deploy_sdk/api/environment_api.py | adriangonz/seldon-deploy-sdk | c5504838630a87053387cec57ec2e1e7251971e2 | [
"Apache-2.0"
] | 7 | 2021-03-17T09:05:55.000Z | 2022-01-05T10:39:56.000Z | # coding: utf-8
"""
Seldon Deploy API
API to interact and manage the lifecycle of your machine learning models deployed through Seldon Deploy. # noqa: E501
OpenAPI spec version: v1alpha1
Contact: hello@seldon.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future... | 34.305764 | 122 | 0.595923 | 1,537 | 13,688 | 5.035133 | 0.100195 | 0.058922 | 0.028944 | 0.037214 | 0.916139 | 0.913813 | 0.912392 | 0.902571 | 0.896369 | 0.891717 | 0 | 0.019487 | 0.313925 | 13,688 | 398 | 123 | 34.39196 | 0.8046 | 0.31955 | 0 | 0.8 | 0 | 0 | 0.145437 | 0.030964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043902 | false | 0 | 0.019512 | 0 | 0.126829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
d24860653e1cbd5bcb1cde53a2a1f80220751e50 | 208 | py | Python | solution/v3/model/Response.py | mjastad/automation | f84742dc044954484679243fc51bd5eb2c660d44 | [
"CC-BY-3.0"
] | 1 | 2020-01-01T22:28:00.000Z | 2020-01-01T22:28:00.000Z | solution/v3/model/Response.py | mjastad/automation | f84742dc044954484679243fc51bd5eb2c660d44 | [
"CC-BY-3.0"
] | null | null | null | solution/v3/model/Response.py | mjastad/automation | f84742dc044954484679243fc51bd5eb2c660d44 | [
"CC-BY-3.0"
] | 4 | 2018-01-23T15:09:04.000Z | 2020-02-11T20:15:34.000Z |
class Response:
def __init__(self, inst):
self.instance = inst
@property
def id(self):
return self.instance['status']
@property
def status(self):
return self.instance['status']
| 13.866667 | 36 | 0.644231 | 25 | 208 | 5.2 | 0.44 | 0.276923 | 0.215385 | 0.338462 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235577 | 208 | 14 | 37 | 14.857143 | 0.81761 | 0 | 0 | 0.444444 | 0 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
962e5521d0151e0893feff10b2daf9078ef1b6ec | 154,160 | py | Python | phyprof/plot_hpx_updates.py | rtohid/profiling | 1fb3a15793dcea79cd28ccbf6dca31a083634f14 | [
"BSL-1.0"
] | null | null | null | phyprof/plot_hpx_updates.py | rtohid/profiling | 1fb3a15793dcea79cd28ccbf6dca31a083634f14 | [
"BSL-1.0"
] | null | null | null | phyprof/plot_hpx_updates.py | rtohid/profiling | 1fb3a15793dcea79cd28ccbf6dca31a083634f14 | [
"BSL-1.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__license__ = """
Copyright (c) 2020 Shahrzad Shirzad
Copyright (c) 2020 R. Tohid
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
"""
import csv
import datetime
import gl... | 50.051948 | 479 | 0.447483 | 17,544 | 154,160 | 3.74601 | 0.029184 | 0.01619 | 0.052724 | 0.055356 | 0.92462 | 0.908125 | 0.886229 | 0.861458 | 0.843807 | 0.8236 | 0 | 0.024977 | 0.414621 | 154,160 | 3,080 | 480 | 50.051948 | 0.703287 | 0.079878 | 0 | 0.87016 | 0 | 0.005866 | 0.080663 | 0.021587 | 0.000391 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.007431 | null | null | 0.007822 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
968cdce5aa0ef47c65e9085343cceec14336b70d | 197 | py | Python | reinvent_scoring/scoring/score_components/rocs/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | null | null | null | reinvent_scoring/scoring/score_components/rocs/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | 2 | 2021-11-01T23:19:42.000Z | 2021-11-22T23:41:39.000Z | reinvent_scoring/scoring/score_components/rocs/__init__.py | MolecularAI/reinvent-scoring | f7e052ceeffd29e17e1672c33607189873c82a45 | [
"MIT"
] | 2 | 2021-11-18T13:14:22.000Z | 2022-03-16T07:52:57.000Z | from reinvent_scoring.scoring.score_components.rocs.rocs_similarity import RocsSimilarity
from reinvent_scoring.scoring.score_components.rocs.parallel_rocs_similarity import ParallelRocsSimilarity
| 65.666667 | 106 | 0.918782 | 23 | 197 | 7.565217 | 0.478261 | 0.137931 | 0.218391 | 0.298851 | 0.517241 | 0.517241 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0.040609 | 197 | 2 | 107 | 98.5 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9697f2fcda203ca66379c4c297f7ef69c3a26b50 | 161,504 | py | Python | operators/ibm-block-csi-operator-community/python/pulumi_pulumi_kubernetes_crds_operators_ibm_block_csi_operator_community/csi/v1/outputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | operators/ibm-block-csi-operator-community/python/pulumi_pulumi_kubernetes_crds_operators_ibm_block_csi_operator_community/csi/v1/outputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | 2 | 2020-09-18T17:12:23.000Z | 2020-12-30T19:40:56.000Z | operators/ibm-block-csi-operator-community/python/pulumi_pulumi_kubernetes_crds_operators_ibm_block_csi_operator_community/csi/v1/outputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by crd2pulumi. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from . import outp... | 59.617571 | 811 | 0.731994 | 18,376 | 161,504 | 6.297997 | 0.023999 | 0.012443 | 0.017973 | 0.026268 | 0.764283 | 0.763039 | 0.75941 | 0.751383 | 0.749663 | 0.747356 | 0 | 0.000449 | 0.200026 | 161,504 | 2,708 | 812 | 59.639586 | 0.895317 | 0.465549 | 0 | 0.804947 | 1 | 0 | 0.275774 | 0.228645 | 0 | 0 | 0 | 0 | 0 | 1 | 0.196466 | false | 0 | 0.00424 | 0.048763 | 0.397173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
96b2746a6a7782cc75de0ecfbfba3cc8b173f98c | 3,355 | py | Python | unit_tests/Add_land_charge/validation/test_location_confirmation_validator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | unit_tests/Add_land_charge/validation/test_location_confirmation_validator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | unit_tests/Add_land_charge/validation/test_location_confirmation_validator.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | from unittest import TestCase
from unittest.mock import patch, call
from maintain_frontend.add_land_charge.validation.location_confirmation_validator import LocationConfirmationValidator
class TestLocationConfirmationValidator(TestCase):
@patch('maintain_frontend.add_land_charge.validation.location_confirmation_... | 53.253968 | 118 | 0.734426 | 389 | 3,355 | 6.084833 | 0.205656 | 0.059147 | 0.032953 | 0.045627 | 0.920997 | 0.920997 | 0.901141 | 0.901141 | 0.901141 | 0.852556 | 0 | 0.001476 | 0.19225 | 3,355 | 62 | 119 | 54.112903 | 0.871956 | 0.164232 | 0 | 0.5 | 0 | 0 | 0.292824 | 0.152182 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0.1 | 0.075 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
73658723c7cd14c0c24801df09fd5786d997fd20 | 5,493 | py | Python | tests/test_connect_four.py | nmastrapasqua/PythonPlay | b401146a4acb3352515f141760a325f046f46bd9 | [
"MIT"
] | null | null | null | tests/test_connect_four.py | nmastrapasqua/PythonPlay | b401146a4acb3352515f141760a325f046f46bd9 | [
"MIT"
] | null | null | null | tests/test_connect_four.py | nmastrapasqua/PythonPlay | b401146a4acb3352515f141760a325f046f46bd9 | [
"MIT"
] | null | null | null | import unittest
from games.connect_four import ConnectFourGame, MiniMaxPlayer, EMPTY, AI_PIECE, PLAYER_PIECE
class TestConnectFourClass(unittest.TestCase):
def setUp(self):
self.game = ConnectFourGame(AI_PIECE, PLAYER_PIECE)
self.aiPlayer = MiniMaxPlayer(AI_PIECE)
def test_is_moves_left... | 32.311765 | 92 | 0.625705 | 805 | 5,493 | 4.067081 | 0.074534 | 0.20281 | 0.14661 | 0.205254 | 0.851252 | 0.827123 | 0.801466 | 0.753207 | 0.715027 | 0.680819 | 0 | 0.027603 | 0.248134 | 5,493 | 170 | 93 | 32.311765 | 0.765133 | 0 | 0 | 0.68 | 0 | 0 | 0.001456 | 0 | 0 | 0 | 0 | 0 | 0.288 | 1 | 0.048 | false | 0 | 0.016 | 0 | 0.072 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 8 |
73784cf5f7d50b4bb600bdd035cfa127c6e499b6 | 83 | py | Python | vaxthesat/python/vax_common/vax_common/random_seed.py | cypher-me/HAS-Qualifier-Challenges | bb795303716155dad4a930880a58fecb5d9b50c5 | [
"MIT"
] | 75 | 2020-07-20T20:54:00.000Z | 2022-03-09T09:18:37.000Z | vaxthesat/python/vax_common/vax_common/random_seed.py | cypher-me/HAS-Qualifier-Challenges | bb795303716155dad4a930880a58fecb5d9b50c5 | [
"MIT"
] | 3 | 2020-09-13T00:46:49.000Z | 2021-07-06T16:18:22.000Z | vaxthesat/python/vax_common/vax_common/random_seed.py | cypher-me/HAS-Qualifier-Challenges | bb795303716155dad4a930880a58fecb5d9b50c5 | [
"MIT"
] | 14 | 2020-07-22T16:34:51.000Z | 2021-09-13T12:19:59.000Z | import os
def get_random_seed() -> int:
return int(os.getenv("SEED", "0"))
| 10.375 | 38 | 0.614458 | 13 | 83 | 3.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.204819 | 83 | 7 | 39 | 11.857143 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
738b3e12b1e376068953d46eb6b8c4f22e773d67 | 5,671 | py | Python | Scripts Python - Treinamento e Classificacao/geraStopWords.py | covid-news/classificador | d674bd1146d0d72f328ac7ec1d0ba2804873c57a | [
"MIT"
] | null | null | null | Scripts Python - Treinamento e Classificacao/geraStopWords.py | covid-news/classificador | d674bd1146d0d72f328ac7ec1d0ba2804873c57a | [
"MIT"
] | null | null | null | Scripts Python - Treinamento e Classificacao/geraStopWords.py | covid-news/classificador | d674bd1146d0d72f328ac7ec1d0ba2804873c57a | [
"MIT"
] | null | null | null | import xlsxwriter
import pandas as pd
import xlrd as xlrd
stopWords = [ 'a', 'à', 'agora', 'ainda', 'alguém', 'algum', 'alguma', 'algumas', 'alguns', 'ampla', 'amplas', 'amplo', 'amplos', 'ante', 'antes', 'ao', 'aos', 'após', 'aquela', 'aquelas', 'aquele', 'aqueles', 'aquilo', 'as', 'às', 'até', 'através', 'cada', 'co... | 101.267857 | 4,203 | 0.636925 | 688 | 5,671 | 5.242733 | 0.473837 | 0.005822 | 0.008317 | 0.006654 | 0.737455 | 0.718603 | 0.718603 | 0.718603 | 0.718603 | 0.718603 | 0 | 0.00131 | 0.058014 | 5,671 | 56 | 4,204 | 101.267857 | 0.673905 | 0.068595 | 0 | 0 | 0 | 0 | 0.541939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.136364 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f7c527f88c3b00962dafca80f14909fc236f28f2 | 164 | py | Python | ramda/to_pairs_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/to_pairs_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/to_pairs_test.py | jakobkolb/ramda.py | 982b2172f4bb95b9a5b09eff8077362d6f2f0920 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from ramda import *
from ramda.private.asserts import *
def to_pairs_test():
assert_equal(to_pairs({"a": 1, "b": 2, "c": 3}), [["a", 1], ["b", 2], ["c", 3]])
| 23.428571 | 84 | 0.560976 | 28 | 164 | 3.142857 | 0.607143 | 0.204545 | 0.068182 | 0.090909 | 0.136364 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.170732 | 164 | 6 | 85 | 27.333333 | 0.602941 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e39326b84ead0390f581aedb2604f19762b680d2 | 19,929 | py | Python | rapid7vmconsole/api/vulnerability_check_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 61 | 2018-05-17T05:57:09.000Z | 2022-03-08T13:59:21.000Z | rapid7vmconsole/api/vulnerability_check_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 33 | 2018-06-26T16:21:14.000Z | 2022-03-03T20:55:47.000Z | rapid7vmconsole/api/vulnerability_check_api.py | kiblik/vm-console-client-python | 038f6d33e8b2654a558326c6eb87f09ee23e0e22 | [
"MIT"
] | 43 | 2018-02-24T05:45:53.000Z | 2022-03-31T22:15:16.000Z | # coding: utf-8
"""
Python InsightVM API Client
OpenAPI spec version: 3
Contact: support@rapid7.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from rap... | 44.286667 | 244 | 0.639219 | 2,325 | 19,929 | 5.27828 | 0.102366 | 0.045632 | 0.018253 | 0.023468 | 0.914113 | 0.887549 | 0.886245 | 0.877282 | 0.874022 | 0.871741 | 0 | 0.015708 | 0.274876 | 19,929 | 449 | 245 | 44.385301 | 0.833506 | 0.415977 | 0 | 0.726496 | 1 | 0 | 0.182612 | 0.072669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.017094 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e3a89bbafd98074aa698dcd93bccfd3d14c8961f | 17,814 | py | Python | userbot/plugins/nekos_gifs.py | meaall-com/Telebot | a08193ae6c3e5814b309d079e95c4951eafcbc19 | [
"MIT"
] | null | null | null | userbot/plugins/nekos_gifs.py | meaall-com/Telebot | a08193ae6c3e5814b309d079e95c4951eafcbc19 | [
"MIT"
] | null | null | null | userbot/plugins/nekos_gifs.py | meaall-com/Telebot | a08193ae6c3e5814b309d079e95c4951eafcbc19 | [
"MIT"
] | null | null | null | # Made for TeleBot
# Re-written by @
# Kangers kwwp the credits
#Made by @
#From Nekos API
import datetime
from telethon import events
from telethon.errors.rpcerrorlist import YouBlockedUserError
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from uniborg.util import admin_cmd
@b... | 44.758794 | 105 | 0.587291 | 1,968 | 17,814 | 5.238313 | 0.064024 | 0.070812 | 0.051605 | 0.025803 | 0.941507 | 0.940149 | 0.937433 | 0.937433 | 0.937433 | 0.933844 | 0 | 0.015255 | 0.300831 | 17,814 | 397 | 106 | 44.871537 | 0.812445 | 0.022679 | 0 | 0.831956 | 0 | 0 | 0.223982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013774 | 0 | 0.118457 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
e3a8c11feec341a1413885256a020a2284e9d9af | 67 | py | Python | learn_dash_1.py | rblcoder/Learn_dash | e8b6bebceafae7fc325b091c6e5e8b5db9e16abd | [
"Apache-2.0"
] | null | null | null | learn_dash_1.py | rblcoder/Learn_dash | e8b6bebceafae7fc325b091c6e5e8b5db9e16abd | [
"Apache-2.0"
] | null | null | null | learn_dash_1.py | rblcoder/Learn_dash | e8b6bebceafae7fc325b091c6e5e8b5db9e16abd | [
"Apache-2.0"
] | null | null | null | import dash_core_components
print(dash_core_components.__version__) | 33.5 | 39 | 0.925373 | 9 | 67 | 6 | 0.666667 | 0.296296 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 67 | 2 | 39 | 33.5 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
e3be2d6504a3317daa73cd3f7db95f0309c536b0 | 103,447 | py | Python | Thrift/gen-py/SpotifakeServices/ConsumerService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | Thrift/gen-py/SpotifakeServices/ConsumerService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | Thrift/gen-py/SpotifakeServices/ConsumerService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 35.8072 | 134 | 0.61183 | 9,986 | 103,447 | 6.15742 | 0.023934 | 0.014556 | 0.0262 | 0.021956 | 0.888027 | 0.866868 | 0.85794 | 0.846588 | 0.843693 | 0.843303 | 0 | 0.004797 | 0.296693 | 103,447 | 2,888 | 135 | 35.819598 | 0.840341 | 0.05134 | 0 | 0.857278 | 1 | 0 | 0.0419 | 0.008328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100996 | false | 0.041726 | 0.003793 | 0.031294 | 0.190612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e3f50aa9c4a24c6260aff08599894edf09d65cd4 | 8,244 | py | Python | tests/test_installer/test_resolve.py | sdispater/poet | 5a07ee95e546ab6460bde43bf59837120e17dfa5 | [
"MIT"
] | 367 | 2017-04-01T15:10:04.000Z | 2021-12-23T18:26:03.000Z | tests/test_installer/test_resolve.py | sdispater/poet | 5a07ee95e546ab6460bde43bf59837120e17dfa5 | [
"MIT"
] | 22 | 2017-04-13T15:39:02.000Z | 2017-10-05T14:55:26.000Z | tests/test_installer/test_resolve.py | sdispater/poet | 5a07ee95e546ab6460bde43bf59837120e17dfa5 | [
"MIT"
] | 16 | 2017-04-14T08:19:48.000Z | 2019-07-21T13:34:12.000Z | # -*- coding: utf-8 -*-
from pip.req.req_install import InstallRequirement
from poet.installer import Installer
from poet.repositories import PyPiRepository
from poet.package.pip_dependency import PipDependency
pendulum_req = InstallRequirement.from_line('pendulum==1.2.0')
pytzdata_req = InstallRequirement.from_line... | 31.109434 | 90 | 0.663998 | 815 | 8,244 | 6.576687 | 0.076074 | 0.032836 | 0.042537 | 0.060448 | 0.842351 | 0.842351 | 0.842351 | 0.834515 | 0.828172 | 0.828172 | 0 | 0.054253 | 0.192868 | 8,244 | 264 | 91 | 31.227273 | 0.751277 | 0.024867 | 0 | 0.795812 | 0 | 0 | 0.238612 | 0.114065 | 0 | 0 | 0 | 0 | 0.376963 | 1 | 0.020942 | false | 0 | 0.020942 | 0 | 0.041885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
5419cdda54866f54ca46c161b98f2a5a3965bc9a | 86 | py | Python | cryptolytic/start.py | KyleHaggin/cryptolytic-ds | 8ea1901dc8cee5d09a0f8d8d2ec480742f35cf01 | [
"MIT"
] | null | null | null | cryptolytic/start.py | KyleHaggin/cryptolytic-ds | 8ea1901dc8cee5d09a0f8d8d2ec480742f35cf01 | [
"MIT"
] | null | null | null | cryptolytic/start.py | KyleHaggin/cryptolytic-ds | 8ea1901dc8cee5d09a0f8d8d2ec480742f35cf01 | [
"MIT"
] | null | null | null | import json
from dotenv import load_dotenv
def init():
load_dotenv(verbose=True)
| 14.333333 | 30 | 0.767442 | 13 | 86 | 4.923077 | 0.692308 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 5 | 31 | 17.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5427cb92ae2d68b89b8ed4f0855850068b3c0f78 | 306 | py | Python | pysatNASA/instruments/methods/__init__.py | landsito/pysatNASA | 8ebbad6e8447ed656641a4bbeb29e6a41f06bcc8 | [
"BSD-3-Clause"
] | 8 | 2021-01-02T11:38:00.000Z | 2022-01-20T16:55:11.000Z | pysatNASA/instruments/methods/__init__.py | landsito/pysatNASA | 8ebbad6e8447ed656641a4bbeb29e6a41f06bcc8 | [
"BSD-3-Clause"
] | 82 | 2020-08-13T22:05:40.000Z | 2022-03-30T20:12:26.000Z | pysatNASA/instruments/methods/__init__.py | landsito/pysatNASA | 8ebbad6e8447ed656641a4bbeb29e6a41f06bcc8 | [
"BSD-3-Clause"
] | 5 | 2020-09-17T22:47:02.000Z | 2022-03-30T04:40:47.000Z | from pysatNASA.instruments.methods._cdf import CDF # noqa F401
from pysatNASA.instruments.methods import cdaweb # noqa F401
from pysatNASA.instruments.methods import cnofs # noqa F401
from pysatNASA.instruments.methods import de2 # noqa F401
from pysatNASA.instruments.methods import icon # noqa F401
| 51 | 63 | 0.816993 | 41 | 306 | 6.073171 | 0.292683 | 0.261044 | 0.481928 | 0.62249 | 0.722892 | 0.722892 | 0.722892 | 0 | 0 | 0 | 0 | 0.06015 | 0.130719 | 306 | 5 | 64 | 61.2 | 0.87594 | 0.160131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 8 |
58293f49fab55564b5d41ac8064ed866a6143bdf | 249 | py | Python | archapp/tests/test_print_formats.py | pcdshub/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 1 | 2017-08-03T16:48:45.000Z | 2017-08-03T16:48:45.000Z | archapp/tests/test_print_formats.py | slaclab/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 7 | 2020-02-15T03:31:09.000Z | 2021-12-01T21:32:23.000Z | archapp/tests/test_print_formats.py | slaclab/archapp | 3544d9eb94f56ae2635a0fa73e12ed67bd38a242 | [
"BSD-3-Clause-LBNL"
] | 5 | 2017-07-26T15:00:00.000Z | 2018-05-23T21:09:52.000Z | import unittest
from archapp import print_formats
def test_print_list_no_crash():
print_formats.list_print([], do_print=False)
print_formats.list_print(["text"], do_print=False)
print_formats.list_print(["text"] * 50, do_print=False)
| 24.9 | 59 | 0.759036 | 37 | 249 | 4.72973 | 0.405405 | 0.274286 | 0.274286 | 0.36 | 0.422857 | 0.422857 | 0.422857 | 0.422857 | 0 | 0 | 0 | 0.009174 | 0.124498 | 249 | 9 | 60 | 27.666667 | 0.793578 | 0 | 0 | 0 | 0 | 0 | 0.032129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
5888003b6372e33cb64c161ece8f98627dbdfe43 | 254 | py | Python | nmigen_boards/qmtech_xc7a35t.py | hansfbaier/amaranth-boards | a3e92db69e74cc18a42808f6f72068f05efe018e | [
"BSD-2-Clause"
] | 1 | 2022-01-22T20:23:07.000Z | 2022-01-22T20:23:07.000Z | nmigen_boards/qmtech_xc7a35t.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null | nmigen_boards/qmtech_xc7a35t.py | amaranth-community-unofficial/amaranth-boards | eacb18700d0ed97f525737ca80d923ebd5851505 | [
"BSD-2-Clause"
] | null | null | null | from amaranth_boards.qmtech_xc7a35t import *
from amaranth_boards.qmtech_xc7a35t import __all__
import warnings
warnings.warn("instead of nmigen_boards.qmtech_xc7a35t, use amaranth_boards.qmtech_xc7a35t",
DeprecationWarning, stacklevel=2) | 36.285714 | 92 | 0.818898 | 31 | 254 | 6.322581 | 0.516129 | 0.244898 | 0.387755 | 0.413265 | 0.377551 | 0.377551 | 0 | 0 | 0 | 0 | 0 | 0.058559 | 0.125984 | 254 | 7 | 93 | 36.285714 | 0.824324 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.231373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
589abf622c4cca03db8939639d34cbd6d34b4cd3 | 22,041 | py | Python | quinoa/_kern.py | tsilifis/quinoa | cc01e942e0453ad4ec21da6223731745ec543371 | [
"MIT"
] | 1 | 2020-01-31T02:42:20.000Z | 2020-01-31T02:42:20.000Z | quinoa/_kern.py | tsilifis/quinoa | cc01e942e0453ad4ec21da6223731745ec543371 | [
"MIT"
] | null | null | null | quinoa/_kern.py | tsilifis/quinoa | cc01e942e0453ad4ec21da6223731745ec543371 | [
"MIT"
] | null | null | null | """
A class for covariance kernel functions.
Author: Panagiotis Tsilifis
Date: 09/10/2017
"""
__all__ = ['Kernel', 'RBF', 'Exponential', 'DifferentialKernel', 'DifferentialKernel_1D']
import numpy as np
from scipy import misc
class Kernel(object):
"""
A class representing covariance kernels.
"""
_input_dim = ... | 41.508475 | 1,592 | 0.615353 | 3,879 | 22,041 | 3.325342 | 0.042021 | 0.055818 | 0.036359 | 0.0307 | 0.914102 | 0.902706 | 0.885573 | 0.883014 | 0.870688 | 0.856268 | 0 | 0.022832 | 0.15943 | 22,041 | 530 | 1,593 | 41.586792 | 0.673396 | 0.053264 | 0 | 0.764228 | 0 | 0 | 0.012986 | 0.001014 | 0 | 0 | 0 | 0 | 0.140921 | 1 | 0.119241 | false | 0 | 0.00542 | 0.0271 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
54572bef89ec80b3dd13fa15764dd364decb894e | 5,432 | py | Python | FundamentalAnalysis/financial_statements.py | Site-Command/FundamentalAnalysis | 1841496093729d1e5cf889980f31c2fec0d53aad | [
"MIT"
] | null | null | null | FundamentalAnalysis/financial_statements.py | Site-Command/FundamentalAnalysis | 1841496093729d1e5cf889980f31c2fec0d53aad | [
"MIT"
] | null | null | null | FundamentalAnalysis/financial_statements.py | Site-Command/FundamentalAnalysis | 1841496093729d1e5cf889980f31c2fec0d53aad | [
"MIT"
] | null | null | null | from urllib.request import urlopen
from urllib.error import HTTPError
import json
import pandas as pd
def income_statement(ticker, api_key, period="annual", as_reported=False):
"""
Description
----
Gives information about the income statement of a company overtime
which includes i.a. revenue, oper... | 32.921212 | 120 | 0.631996 | 649 | 5,432 | 5.235747 | 0.194145 | 0.026486 | 0.102413 | 0.067098 | 0.910241 | 0.910241 | 0.910241 | 0.910241 | 0.872278 | 0.829017 | 0 | 0.003712 | 0.256075 | 5,432 | 165 | 121 | 32.921212 | 0.837169 | 0.304676 | 0 | 0.833333 | 0 | 0.038462 | 0.387472 | 0.046769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.051282 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 7 |
54966ec7c2f770f8166da71a3921776866a62fa7 | 4,380 | py | Python | 14.04.21list2.py | bzhumakova/FirstProject | 048fe1feccd3795590fc3ca7f1a05372f9607ae9 | [
"MIT"
] | 2 | 2021-04-17T10:36:38.000Z | 2021-04-21T15:24:08.000Z | 14.04.21list2.py | zhumakova/FirstProject | 048fe1feccd3795590fc3ca7f1a05372f9607ae9 | [
"MIT"
] | null | null | null | 14.04.21list2.py | zhumakova/FirstProject | 048fe1feccd3795590fc3ca7f1a05372f9607ae9 | [
"MIT"
] | null | null | null | # my_list=['honda','honda','bmw','mercedes','bugatti']
# print(my_list.index('honda'))
# print(my_list[0])
# print(my_list.count('honda'))
# my_list.sort()
# print(my_list)
# my_list.pop()
# print(my_list)
# my_list=['honda','honda','bmw','mercedes','bugatti']
# copy_my_list=my_list.copy()
# print(copy_my_list)
# l... | 40.934579 | 1,113 | 0.71484 | 562 | 4,380 | 5.313167 | 0.169039 | 0.062291 | 0.04789 | 0.042867 | 0.835901 | 0.82351 | 0.82351 | 0.80777 | 0.80777 | 0.794374 | 0 | 0.237432 | 0.114384 | 4,380 | 107 | 1,114 | 40.934579 | 0.532354 | 0.606393 | 0 | 0 | 0 | 0 | 0.370236 | 0.120992 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
54b768fe1068f0c4f2e1101c41ed4f6078bba368 | 379,775 | py | Python | angr_platforms/tricore/rrr1_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr1_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | angr_platforms/tricore/rrr1_instr.py | shahinsba/angr-platforms | 86f9ea90c396fb5561d0196a2d1a873e573b0294 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
""" rrr1_instr.py
Implementation of RRR1 format instructions.
"""
from pyvex.lifting.util import Type, Instruction
from .rtl import * # pylint: disable=[wildcard-import, unused-wildcard-import]
from .logger import log_this
class RRR1_MADD_H_83_1A_Inst(Instruction):
""" Packed Multiply-Add ... | 35.773832 | 120 | 0.535615 | 60,965 | 379,775 | 3.12148 | 0.004445 | 0.050284 | 0.05155 | 0.05032 | 0.998707 | 0.997846 | 0.995591 | 0.995502 | 0.994656 | 0.994656 | 0 | 0.076479 | 0.275324 | 379,775 | 10,615 | 121 | 35.777202 | 0.614987 | 0.05572 | 0 | 0.959256 | 0 | 0 | 0.031248 | 0.000951 | 0 | 0 | 0.028365 | 0.000094 | 0 | 1 | 0.156909 | false | 0 | 0.000396 | 0.116034 | 0.402558 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 8 |
49f8527747891fa9d8acc5cd1da0dbab88435214 | 61 | py | Python | Tests/Bugs/other/r_jeff_epler_1_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | 5 | 2019-05-26T20:48:36.000Z | 2021-07-09T01:38:38.000Z | Tests/Bugs/other/r_jeff_epler_1_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | null | null | null | Tests/Bugs/other/r_jeff_epler_1_t.py | jwilk/Pyrex | 83dfbae1261788933472e3f9c501ad74c61a37c5 | [
"Apache-2.0"
] | 1 | 2022-02-10T07:14:58.000Z | 2022-02-10T07:14:58.000Z | import r_jeff_epler_1
print r_jeff_epler_1.blowup([2, 3, 5])
| 20.333333 | 38 | 0.786885 | 14 | 61 | 3 | 0.714286 | 0.238095 | 0.47619 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.098361 | 61 | 2 | 39 | 30.5 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 8 |
3fcab72888ed37426d3f75326ad80c5e2ac4bf93 | 683,381 | py | Python | projects/src/main/python/CodeJam/Y13R5P1/JongMan/generated_py_623d5a5ed9124daf833506d5b6c57318.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y13R5P1/JongMan/generated_py_623d5a5ed9124daf833506d5b6c57318.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y13R5P1/JongMan/generated_py_623d5a5ed9124daf833506d5b6c57318.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y13R5P1.JongMan.roulette2 import *
def func_b3607c87abf94237a6dc3992ce5b3f09(lowest, placed, override):
partial = [p for p in placed if p <= lowest]
if override > 0:
partial = partial[:-overri... | 40.066897 | 86 | 0.539734 | 79,624 | 683,381 | 4.5027 | 0.006732 | 0.132109 | 0.144443 | 0.060649 | 0.958181 | 0.957587 | 0.957091 | 0.956801 | 0.956801 | 0.956689 | 0 | 0.0405 | 0.367776 | 683,381 | 17,055 | 87 | 40.069247 | 0.789318 | 0 | 0 | 0.961038 | 0 | 0 | 0.010005 | 0.003636 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000124 | null | null | 0.012265 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3fcc937f2d1d986266043a89e54fcd2de4bfa0c2 | 124 | py | Python | telegram_payment_bot/__init__.py | ebellocchia/telegram_payment_bot | a3078c4c65b67a1f82956ca29c8c698ba7a7dc89 | [
"MIT"
] | 3 | 2021-07-26T08:15:42.000Z | 2022-03-28T13:25:01.000Z | telegram_payment_bot/__init__.py | ebellocchia/telegram_payment_bot | a3078c4c65b67a1f82956ca29c8c698ba7a7dc89 | [
"MIT"
] | null | null | null | telegram_payment_bot/__init__.py | ebellocchia/telegram_payment_bot | a3078c4c65b67a1f82956ca29c8c698ba7a7dc89 | [
"MIT"
] | 1 | 2022-03-30T01:33:57.000Z | 2022-03-30T01:33:57.000Z | #
# Imports
#
from telegram_payment_bot._version import __version__
from telegram_payment_bot.payment_bot import PaymentBot
| 20.666667 | 55 | 0.862903 | 16 | 124 | 6.0625 | 0.5 | 0.309278 | 0.391753 | 0.453608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 5 | 56 | 24.8 | 0.866071 | 0.056452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.