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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87be78313a7c5f5bb12cfb834160ced23b13c364 | 5,961 | py | Python | isiscb/isisdata/migrations/0087_auto_20200125_1935.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 4 | 2016-01-25T20:35:33.000Z | 2020-04-07T15:39:52.000Z | isiscb/isisdata/migrations/0087_auto_20200125_1935.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 41 | 2015-08-19T17:34:41.000Z | 2022-03-11T23:19:01.000Z | isiscb/isisdata/migrations/0087_auto_20200125_1935.py | bgopalachary/IsisCB | c28e3f504eea60ebeff38318d8bb2071abb28ebb | [
"MIT"
] | 2 | 2020-11-25T20:18:18.000Z | 2021-06-24T15:15:41.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.23 on 2020-01-25 19:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('isisdata', '0086_auto_20200112_2037'),
]
operations = [
migrations.AlterFi... | 97.721311 | 771 | 0.659453 | 859 | 5,961 | 4.514552 | 0.181607 | 0.092831 | 0.05802 | 0.067303 | 0.949974 | 0.949974 | 0.93115 | 0.93115 | 0.908458 | 0.908458 | 0 | 0.023289 | 0.171616 | 5,961 | 60 | 772 | 99.35 | 0.762049 | 0.011575 | 0 | 0.849057 | 1 | 0.056604 | 0.489217 | 0.014604 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 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 |
87f4412218cb770d498325ce33f07051ef73554b | 9,290 | py | Python | tests/resources/test_todo_items.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | tests/resources/test_todo_items.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | tests/resources/test_todo_items.py | andela-ojoloko/Todo-Api | eef0bbf89d5c40249316211dfc9d5b8385775ad7 | [
"MIT"
] | null | null | null | import json
import jwt
from ..base import BaseTestCase
from api.models import Todo, User, db, TodoItem
from api.util import generate_token
from datetime import datetime, timedelta
class TodosTestCase(BaseTestCase):
def setUp(self):
db.drop_all()
db.create_all()
self.user_1 = User(
... | 37.764228 | 121 | 0.634553 | 1,253 | 9,290 | 4.413408 | 0.088587 | 0.137432 | 0.037432 | 0.084629 | 0.85208 | 0.827848 | 0.805063 | 0.775769 | 0.768354 | 0.751356 | 0 | 0.028827 | 0.253175 | 9,290 | 245 | 122 | 37.918367 | 0.768233 | 0.067061 | 0 | 0.582278 | 1 | 0 | 0.180951 | 0.068185 | 0 | 0 | 0 | 0.04898 | 0.170886 | 1 | 0.082278 | false | 0.012658 | 0.037975 | 0 | 0.126582 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3584bacc695f53779eb775bb2ecaeccddf750137 | 134 | py | Python | pwnedapi/exceptions/__init__.py | DirtySoc/pwnedapi | 38b8f814788defa62f0a5a7c103093ab01b0baa7 | [
"MIT"
] | 11 | 2018-04-14T23:26:03.000Z | 2021-06-13T08:29:01.000Z | pwnedapi/exceptions/__init__.py | DirtySoc/pwnedapi | 38b8f814788defa62f0a5a7c103093ab01b0baa7 | [
"MIT"
] | 22 | 2018-05-06T07:50:12.000Z | 2019-07-14T09:15:58.000Z | pwnedapi/exceptions/__init__.py | DirtySoc/pwnedapi | 38b8f814788defa62f0a5a7c103093ab01b0baa7 | [
"MIT"
] | 15 | 2018-04-14T22:11:40.000Z | 2021-12-22T16:58:50.000Z | from pwnedapi.exceptions.PasswordException import PasswordException
from pwnedapi.exceptions.RequestException import RequestException
| 44.666667 | 67 | 0.910448 | 12 | 134 | 10.166667 | 0.5 | 0.196721 | 0.360656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 134 | 2 | 68 | 67 | 0.968254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
35cd950d5cb45f024d05d88335b6eab453090e8a | 107 | py | Python | model/__init__.py | stromguy/super-resolution | 102b1211334d0e786c453744505beb389d2e83b1 | [
"Apache-2.0"
] | 1,230 | 2018-12-30T02:04:13.000Z | 2022-03-31T11:13:35.000Z | model/__init__.py | stromguy/super-resolution | 102b1211334d0e786c453744505beb389d2e83b1 | [
"Apache-2.0"
] | 91 | 2019-01-15T13:15:03.000Z | 2022-02-18T11:10:54.000Z | model/__init__.py | stromguy/super-resolution | 102b1211334d0e786c453744505beb389d2e83b1 | [
"Apache-2.0"
] | 347 | 2019-01-12T16:13:05.000Z | 2022-03-29T15:33:30.000Z | from model.common import resolve
from model.common import resolve_single
from model.common import evaluate
| 26.75 | 39 | 0.859813 | 16 | 107 | 5.6875 | 0.4375 | 0.296703 | 0.494505 | 0.692308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 40 | 35.666667 | 0.957895 | 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 |
ea78215c86af16a01464b28d85b053bc387f1883 | 256 | py | Python | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/video/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 11 | 2019-07-03T10:41:16.000Z | 2022-02-25T21:48:06.000Z | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/video/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 8 | 2019-11-23T00:01:25.000Z | 2021-04-29T12:30:31.000Z | bitmovin_api_sdk/encoding/manifests/dash/periods/adaptationsets/video/__init__.py | jaythecaesarean/bitmovin-api-sdk-python | 48166511fcb9082041c552ace55a9b66cc59b794 | [
"MIT"
] | 13 | 2020-01-02T14:58:18.000Z | 2022-03-26T12:10:30.000Z | from bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.video.video_api import VideoApi
from bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.video.video_adaptation_set_list_query_params import VideoAdaptationSetListQueryParams
| 85.333333 | 154 | 0.914063 | 32 | 256 | 7 | 0.5625 | 0.107143 | 0.133929 | 0.160714 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0 | 0 | 0.03125 | 256 | 2 | 155 | 128 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
576b422978fe2e33298574ee1a29bf8efe029f04 | 11,521 | py | Python | easy_rec/python/test/csv_input_test.py | xia-huang-411303/EasyRec | 7b2050dddc0bfec9e551e2199a36414a3ee82588 | [
"Apache-2.0"
] | 285 | 2021-10-11T03:39:43.000Z | 2022-03-31T09:12:33.000Z | easy_rec/python/test/csv_input_test.py | xia-huang-411303/EasyRec | 7b2050dddc0bfec9e551e2199a36414a3ee82588 | [
"Apache-2.0"
] | 84 | 2021-10-15T03:48:58.000Z | 2022-03-31T12:38:53.000Z | easy_rec/python/test/csv_input_test.py | xia-huang-411303/EasyRec | 7b2050dddc0bfec9e551e2199a36414a3ee82588 | [
"Apache-2.0"
] | 71 | 2021-10-15T03:33:44.000Z | 2022-03-31T08:37:11.000Z | # -*- encoding:utf-8 -*-
# Copyright (c) Alibaba, Inc. and its affiliates.
"""Define cv_input, the base class for cv tasks."""
import tensorflow as tf
from google.protobuf import text_format
from easy_rec.python.input.csv_input import CSVInput
from easy_rec.python.input.csv_input_ex import CSVInputEx
from easy_rec.py... | 35.018237 | 105 | 0.700026 | 1,438 | 11,521 | 5.235744 | 0.112656 | 0.06216 | 0.031877 | 0.031877 | 0.899987 | 0.881259 | 0.881259 | 0.87329 | 0.867313 | 0.861071 | 0 | 0.014381 | 0.215346 | 11,521 | 328 | 106 | 35.125 | 0.818473 | 0.01111 | 0 | 0.85342 | 0 | 0 | 0.234519 | 0.013527 | 0 | 0 | 0 | 0 | 0.003257 | 1 | 0.019544 | false | 0.009772 | 0.029316 | 0 | 0.052117 | 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 |
57b24aba25dd0d2d6139acf8687233cee556ccd7 | 21,944 | py | Python | halotools/mock_observables/two_point_clustering/tests/test_tpcf.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/mock_observables/two_point_clustering/tests/test_tpcf.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/mock_observables/two_point_clustering/tests/test_tpcf.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | """ Module providing unit-testing for the `~halotools.mock_observables.tpcf` function.
"""
from __future__ import absolute_import, division, print_function, unicode_literals
import numpy as np
import warnings
import pytest
from astropy.utils.misc import NumpyRNGContext
from .locate_external_unit_testing_data import t... | 37.704467 | 92 | 0.641497 | 2,873 | 21,944 | 4.737208 | 0.104769 | 0.045849 | 0.045187 | 0.045849 | 0.843718 | 0.822998 | 0.816752 | 0.81205 | 0.798604 | 0.789493 | 0 | 0.044816 | 0.256699 | 21,944 | 581 | 93 | 37.769363 | 0.78959 | 0.112969 | 0 | 0.764706 | 0 | 0 | 0.109529 | 0.004468 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.046569 | false | 0 | 0.02451 | 0.004902 | 0.07598 | 0.002451 | 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 |
17caa1453c4a2473d5c321f75d4d6a5f0c0d296e | 132 | py | Python | catflap/proxies/__init__.py | yay4ya/catflap | 1cb146417948c4c60c4765287c6f62664058290b | [
"MIT"
] | null | null | null | catflap/proxies/__init__.py | yay4ya/catflap | 1cb146417948c4c60c4765287c6f62664058290b | [
"MIT"
] | null | null | null | catflap/proxies/__init__.py | yay4ya/catflap | 1cb146417948c4c60c4765287c6f62664058290b | [
"MIT"
] | 1 | 2020-06-30T15:56:07.000Z | 2020-06-30T15:56:07.000Z | from catflap.proxies.proxy import Proxy
from catflap.proxies.slack import SlackProxy
from catflap.proxies.stdout import StdoutProxy
| 33 | 46 | 0.863636 | 18 | 132 | 6.333333 | 0.5 | 0.289474 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 132 | 3 | 47 | 44 | 0.95 | 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 |
aa04b571ee6f3062030c2dd29e2e926c19a39069 | 105 | py | Python | exercises/data_structures/__init__.py | maxwellmattryan/cs-313e | 462a871475ba956e364a0faf98284633462984b8 | [
"MIT"
] | 1 | 2020-02-05T23:56:16.000Z | 2020-02-05T23:56:16.000Z | exercises/data_structures/__init__.py | maxwellmattryan/cs-313e | 462a871475ba956e364a0faf98284633462984b8 | [
"MIT"
] | null | null | null | exercises/data_structures/__init__.py | maxwellmattryan/cs-313e | 462a871475ba956e364a0faf98284633462984b8 | [
"MIT"
] | 2 | 2020-03-09T16:26:00.000Z | 2021-07-23T03:17:11.000Z | import data_structures.binary_search_tree
import data_structures.linked_list
import data_structures.stack | 35 | 41 | 0.92381 | 15 | 105 | 6.066667 | 0.6 | 0.32967 | 0.659341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 105 | 3 | 42 | 35 | 0.91 | 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 |
aa0fb79a38d2cf1ad20735658dbd222d14c0338b | 181 | py | Python | plugins/haveibeenpwned/icon_haveibeenpwned/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/haveibeenpwned/icon_haveibeenpwned/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/haveibeenpwned/icon_haveibeenpwned/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .lookup_domain.action import LookupDomain
from .lookup_password.action import LookupPassword
from .lookup_user.action import LookupUser
| 36.2 | 50 | 0.839779 | 25 | 181 | 5.96 | 0.68 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116022 | 181 | 4 | 51 | 45.25 | 0.93125 | 0.20442 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
a4b8170eac942a873d8ddd749362614583413aed | 11,751 | py | Python | scripts/main_msd_vae.py | RACT-CF/RaCT | ced06c9e3398184c82aa42d5eb0cd5679c905375 | [
"Apache-2.0"
] | 36 | 2019-06-12T16:35:24.000Z | 2022-02-18T02:17:03.000Z | scripts/main_msd_vae.py | RACT-CF/RaCT | ced06c9e3398184c82aa42d5eb0cd5679c905375 | [
"Apache-2.0"
] | 1 | 2019-08-07T06:49:33.000Z | 2020-06-20T19:04:50.000Z | scripts/main_msd_vae.py | RACT-CF/RaCT | ced06c9e3398184c82aa42d5eb0cd5679c905375 | [
"Apache-2.0"
] | 6 | 2019-11-19T05:33:59.000Z | 2021-05-05T15:44:20.000Z | import sys
import os
UTILS_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'utils')
sys.path.insert(1, UTILS_DIR)
from training import train, test
if __name__ == '__main__':
BREAK_EARLY = False
BATCH_SIZE = 500
print("For this one, I just want to try out a different KL or two. Becau... | 34.259475 | 146 | 0.587099 | 1,485 | 11,751 | 4.152189 | 0.100337 | 0.040869 | 0.056925 | 0.054492 | 0.893124 | 0.888096 | 0.884204 | 0.876419 | 0.876419 | 0.865715 | 0 | 0.053102 | 0.304485 | 11,751 | 342 | 147 | 34.359649 | 0.701334 | 0.621905 | 0 | 0.756098 | 0 | 0.012195 | 0.101563 | 0.006104 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036585 | 0 | 0.036585 | 0.060976 | 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 |
35170ef513a8a0bd897201745a96b5f7f4c91dc3 | 2,146 | py | Python | tests/test_stop.py | half-pie/half-json | d8064e90ac769547c22db11bcbe47fcb4f1eb600 | [
"MIT"
] | 4 | 2020-08-04T15:14:25.000Z | 2021-08-18T18:29:03.000Z | tests/test_stop.py | half-pie/half-json | d8064e90ac769547c22db11bcbe47fcb4f1eb600 | [
"MIT"
] | 1 | 2019-06-04T15:01:31.000Z | 2019-06-04T15:01:31.000Z | tests/test_stop.py | half-pie/half-json | d8064e90ac769547c22db11bcbe47fcb4f1eb600 | [
"MIT"
] | 3 | 2019-06-01T14:16:32.000Z | 2021-06-25T10:10:47.000Z | # coding=utf8
import unittest
from half_json.core import JSONFixer
class TestOtherCase(unittest.TestCase):
def test_patch_left_object(self):
line = '}'
ok, newline, _ = JSONFixer().fix(line)
self.assertTrue(ok)
self.assertEqual('{}', newline)
def test_patch_left_array(self)... | 28.613333 | 58 | 0.56617 | 234 | 2,146 | 4.961538 | 0.153846 | 0.066322 | 0.113695 | 0.198966 | 0.826012 | 0.826012 | 0.801034 | 0.801034 | 0.763135 | 0.763135 | 0 | 0.006345 | 0.26561 | 2,146 | 74 | 59 | 29 | 0.73033 | 0.005126 | 0 | 0.37931 | 0 | 0 | 0.057665 | 0.009845 | 0 | 0 | 0 | 0 | 0.37931 | 1 | 0.189655 | false | 0 | 0.034483 | 0 | 0.241379 | 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 |
35185f7946a37445fcdf93fc6c4208d86886d823 | 78,601 | py | Python | integration_tests/blockchain/blockchain_integration_test.py | hyperultra/sawtooth-next-directory-poc | cb34b7b3d906bc5b5d429078ba5cf0ffc9af0401 | [
"Apache-2.0"
] | null | null | null | integration_tests/blockchain/blockchain_integration_test.py | hyperultra/sawtooth-next-directory-poc | cb34b7b3d906bc5b5d429078ba5cf0ffc9af0401 | [
"Apache-2.0"
] | null | null | null | integration_tests/blockchain/blockchain_integration_test.py | hyperultra/sawtooth-next-directory-poc | cb34b7b3d906bc5b5d429078ba5cf0ffc9af0401 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 35.841769 | 90 | 0.512067 | 8,126 | 78,601 | 4.705636 | 0.04221 | 0.063811 | 0.061117 | 0.080417 | 0.837361 | 0.820885 | 0.788509 | 0.773707 | 0.760918 | 0.750275 | 0 | 0.020644 | 0.39974 | 78,601 | 2,192 | 91 | 35.85812 | 0.789809 | 0.116055 | 0 | 0.847214 | 0 | 0 | 0.071095 | 0 | 0 | 0 | 0 | 0 | 0.074895 | 1 | 0.034751 | false | 0 | 0.011384 | 0 | 0.065309 | 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 |
106e80a932b1acd6b64965a70b016ff30ceac04e | 170,378 | py | Python | msgraph-cli-extensions/beta/identitysignins_beta/azext_identitysignins_beta/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/identitysignins_beta/azext_identitysignins_beta/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/identitysignins_beta/azext_identitysignins_beta/generated/_params.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 75.656306 | 137 | 0.654885 | 19,717 | 170,378 | 5.527464 | 0.039712 | 0.101243 | 0.055714 | 0.03984 | 0.963289 | 0.958912 | 0.953617 | 0.943901 | 0.93656 | 0.924971 | 0 | 0.003926 | 0.212187 | 170,378 | 2,251 | 138 | 75.689916 | 0.808025 | 0.003146 | 0 | 0.776989 | 0 | 0.019767 | 0.470026 | 0.13454 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000507 | false | 0.033958 | 0.001521 | 0 | 0.002027 | 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 |
10720fa3acad439ed181b3a2ce2f9084c8a83584 | 358 | py | Python | datasets/__init__.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | datasets/__init__.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | datasets/__init__.py | milesgray/CALAE | a2ab2f7d9ee17cc6c24ff6ac370b0373537079ac | [
"Apache-2.0"
] | null | null | null | from .fractal import Fractal, FractalLabel, FractalLabelSR
from .fractal import FractalTUNITContrastive
from .fractal import make_fractal_alae_dataloader
from .fractal import make_fractal_clr_dataloader
from .fractal import make_fractal_clr_sr_dataloader
from .fractal import make_fractal_TUNIT_dataloader
from .celeba ... | 39.777778 | 58 | 0.882682 | 46 | 358 | 6.543478 | 0.282609 | 0.219269 | 0.33887 | 0.27907 | 0.491694 | 0.398671 | 0.272425 | 0 | 0 | 0 | 0 | 0 | 0.089385 | 358 | 8 | 59 | 44.75 | 0.923313 | 0 | 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 | 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 |
1075bb0449cf1a6c46737d4a477c5136cda10e14 | 41 | py | Python | omw/blueprints/ili/__init__.py | tnaskret/OMW | 93bc5df8b163a523dc09e6d8138df8807b1b2c02 | [
"MIT"
] | null | null | null | omw/blueprints/ili/__init__.py | tnaskret/OMW | 93bc5df8b163a523dc09e6d8138df8807b1b2c02 | [
"MIT"
] | null | null | null | omw/blueprints/ili/__init__.py | tnaskret/OMW | 93bc5df8b163a523dc09e6d8138df8807b1b2c02 | [
"MIT"
] | null | null | null | from omw.blueprints.ili.views import ili
| 20.5 | 40 | 0.829268 | 7 | 41 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
1098f2d5c6b733d2d311ebfa12b07ca277c6c872 | 8,231 | py | Python | zbpy/basicqueries.py | zetabase/zbpy | 80a7d6bc150486e67f8dff2ae65aaab135d69c2f | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | zbpy/basicqueries.py | zetabase/zbpy | 80a7d6bc150486e67f8dff2ae65aaab135d69c2f | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | zbpy/basicqueries.py | zetabase/zbpy | 80a7d6bc150486e67f8dff2ae65aaab135d69c2f | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | from . import zbprotocol_pb2
class QueryAnd():
def __init__(self, left, right):
"""
Initializes QueryAnd object.
Parameters:
left: SubQueryConvertible
right: SubQueryConvertible
"""
self.left = left #SubQueryConvertible
self.right =... | 27.345515 | 77 | 0.563723 | 721 | 8,231 | 6.174757 | 0.104022 | 0.068733 | 0.040881 | 0.02628 | 0.88814 | 0.862309 | 0.834232 | 0.763702 | 0.755391 | 0.755391 | 0 | 0.006869 | 0.363261 | 8,231 | 301 | 78 | 27.345515 | 0.842587 | 0.152715 | 0 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109195 | false | 0 | 0.005747 | 0 | 0.224138 | 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 |
52c78318354f76710484c56eb6d49370c354aa19 | 127 | py | Python | jj/http/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 4 | 2020-09-08T08:14:21.000Z | 2022-01-27T19:22:53.000Z | jj/http/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 19 | 2018-02-13T05:51:25.000Z | 2022-03-27T22:48:11.000Z | jj/http/__init__.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 3 | 2017-11-17T13:25:23.000Z | 2022-02-03T12:57:00.000Z | from .codes import * # noqa: F401, F403
from .headers import * # noqa: F401, F403
from .methods import * # noqa: F401, F403
| 31.75 | 42 | 0.669291 | 18 | 127 | 4.722222 | 0.444444 | 0.352941 | 0.494118 | 0.635294 | 0.517647 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 0.212598 | 127 | 3 | 43 | 42.333333 | 0.67 | 0.393701 | 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 |
5e0978fca6216486da96347e01a64ff5c5caeabf | 136 | py | Python | canbeta/child/nodes/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | 1 | 2021-06-27T10:50:37.000Z | 2021-06-27T10:50:37.000Z | canbeta/child/nodes/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | 5 | 2021-06-19T08:33:47.000Z | 2021-06-19T08:59:30.000Z | canbeta/child/nodes/__init__.py | FROM-THE-EARTH/canbeta | d41cf1b3dd926c5144dc5086f42943a0594c478b | [
"MIT"
] | null | null | null |
from can09.child.nodes.child_server_node import ChildServerNode
from can09.child.nodes.mission_standby_node import MissionStandbyNode
| 27.2 | 69 | 0.882353 | 18 | 136 | 6.444444 | 0.611111 | 0.155172 | 0.241379 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.073529 | 136 | 4 | 70 | 34 | 0.888889 | 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 |
5e17b8938bf770c704a3fe619f707e07ea52cf37 | 330 | py | Python | yowsup/layers/protocol_presence/protocolentities/__init__.py | rihbyne/yowsup | 06581618fdba54aa51041624e19d5dce64b054ef | [
"MIT"
] | 1 | 2019-12-16T11:00:06.000Z | 2019-12-16T11:00:06.000Z | yowsup/layers/protocol_presence/protocolentities/__init__.py | pasinit/yowsup | 894007650bf3d75ef7af4a0e57e84dc7cccc4dfe | [
"MIT"
] | null | null | null | yowsup/layers/protocol_presence/protocolentities/__init__.py | pasinit/yowsup | 894007650bf3d75ef7af4a0e57e84dc7cccc4dfe | [
"MIT"
] | 3 | 2017-08-18T21:24:46.000Z | 2018-09-07T21:07:39.000Z | from .presence import PresenceProtocolEntity
from .presence_available import AvailablePresenceProtocolEntity
from .presence_unavailable import UnavailablePresenceProtocolEntity
from .presence_subscribe import SubscribePresenceProtocolEntity
from .presence_unsubscribe import UnsubscribePresenceProto... | 55 | 68 | 0.860606 | 24 | 330 | 11.666667 | 0.5 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124242 | 330 | 5 | 69 | 66 | 0.968858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
5e1c928b579dafdbae96737c635490afae634714 | 258 | py | Python | python/testData/inspections/PyUnresolvedReferencesInspection/UnusedUnresolvedNameImportedSeveralTimes/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection/UnusedUnresolvedNameImportedSeveralTimes/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnresolvedReferencesInspection/UnusedUnresolvedNameImportedSeveralTimes/a.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | <warning descr="Unused import statement">from my_module import <error descr="Unresolved reference 'eggs'">eggs</error></warning>
<warning descr="Unused import statement">from my_module import <error descr="Unresolved reference 'eggs'">eggs</error></warning>
| 86 | 128 | 0.782946 | 34 | 258 | 5.882353 | 0.352941 | 0.12 | 0.18 | 0.24 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.077519 | 258 | 2 | 129 | 129 | 0.840336 | 0 | 0 | 1 | 0 | 0 | 0.387597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
eaa825d3ea4d037afc3128bfcb68d181c862f970 | 1,391 | py | Python | bloop/ext/pendulum.py | monoflo/bloop | c476298e5a40decf9fdf2ed50df74be8f91fdffd | [
"MIT"
] | null | null | null | bloop/ext/pendulum.py | monoflo/bloop | c476298e5a40decf9fdf2ed50df74be8f91fdffd | [
"MIT"
] | null | null | null | bloop/ext/pendulum.py | monoflo/bloop | c476298e5a40decf9fdf2ed50df74be8f91fdffd | [
"MIT"
] | null | null | null | import pendulum
from .. import types
# https://github.com/sdispater/pendulum/issues/97
DEFAULT_TIMEZONE = "utc"
class DateTime(types.DateTime):
python_type = pendulum.Pendulum
def __init__(self, timezone=DEFAULT_TIMEZONE):
self.timezone = timezone
super().__init__()
def dynamo_dump(se... | 28.979167 | 68 | 0.64486 | 163 | 1,391 | 5.300614 | 0.214724 | 0.111111 | 0.092593 | 0.101852 | 0.837963 | 0.837963 | 0.837963 | 0.837963 | 0.837963 | 0.837963 | 0 | 0.001889 | 0.238677 | 1,391 | 47 | 69 | 29.595745 | 0.813975 | 0.033789 | 0 | 0.848485 | 0 | 0 | 0.006706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.060606 | 0 | 0.606061 | 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 |
eaf0cf989c05432f3fcf643b0e316101ed78ed1d | 155 | py | Python | app/blueprints/cms_main/__init__.py | lvyaoo/wx-open-project | 6f6683c5267fac50b6c8479c148aa1f35cf0f930 | [
"MIT"
] | null | null | null | app/blueprints/cms_main/__init__.py | lvyaoo/wx-open-project | 6f6683c5267fac50b6c8479c148aa1f35cf0f930 | [
"MIT"
] | null | null | null | app/blueprints/cms_main/__init__.py | lvyaoo/wx-open-project | 6f6683c5267fac50b6c8479c148aa1f35cf0f930 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
bp_cms_main = Blueprint('bp_cms_main', __name__, static_folder='static')
from . import extensions
| 15.5 | 72 | 0.722581 | 21 | 155 | 4.904762 | 0.666667 | 0.213592 | 0.271845 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.148387 | 155 | 9 | 73 | 17.222222 | 0.772727 | 0.135484 | 0 | 0 | 0 | 0 | 0.128788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 8 |
dc75ac6b6364ed14d4e0014dc3d7aca8febfc914 | 7,022 | py | Python | src/sentry/migrations/0001_initial.py | rogerhu/sentry | ee2b190e92003abe0f538b2df5b686e425df1200 | [
"BSD-3-Clause"
] | 2 | 2015-10-14T12:45:32.000Z | 2016-01-27T03:24:43.000Z | src/sentry/migrations/0001_initial.py | simmetria/sentry | 9731f26adb44847d1c883cca108afc0755cf21cc | [
"BSD-3-Clause"
] | null | null | null | src/sentry/migrations/0001_initial.py | simmetria/sentry | 9731f26adb44847d1c883cca108afc0755cf21cc | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'GroupedMessage'
db.create_table('sentry_groupedmessage', (
('id', self.gf('dja... | 70.929293 | 144 | 0.606665 | 802 | 7,022 | 5.197007 | 0.100998 | 0.101727 | 0.174664 | 0.24952 | 0.849328 | 0.849328 | 0.816699 | 0.804942 | 0.790787 | 0.724568 | 0 | 0.013483 | 0.176161 | 7,022 | 98 | 145 | 71.653061 | 0.707001 | 0.042011 | 0 | 0.512821 | 0 | 0 | 0.471499 | 0.296473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.051282 | 0 | 0.115385 | 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 |
dc786cb3af9264f6501fa56b19d2641e0969fd5f | 4,954 | py | Python | modulo2/2-classificadores/2.4-resnet/model.py | fossabot/unifacisa-visao-computacional | 14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b | [
"MIT"
] | null | null | null | modulo2/2-classificadores/2.4-resnet/model.py | fossabot/unifacisa-visao-computacional | 14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b | [
"MIT"
] | null | null | null | modulo2/2-classificadores/2.4-resnet/model.py | fossabot/unifacisa-visao-computacional | 14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b | [
"MIT"
] | 1 | 2021-02-06T00:49:32.000Z | 2021-02-06T00:49:32.000Z | import torch
import torch.nn as nn
import math
class Resnet18(nn.Module):
def __init__(self, num_classes=1000):
super(Resnet18, self).__init__()
ResNet(
(conv1): Conv2d(3, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3), bias=False)
(bn1): BatchNorm2d(64, eps=1e-05, momentum=0.1, affine... | 48.568627 | 94 | 0.628583 | 749 | 4,954 | 4.058745 | 0.096128 | 0.021711 | 0.046053 | 0.098684 | 0.872697 | 0.844079 | 0.826316 | 0.826316 | 0.826316 | 0.826316 | 0 | 0.121422 | 0.182075 | 4,954 | 102 | 95 | 48.568627 | 0.628825 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031915 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f492053f9fc9b2894b027e98714c8641adf16be5 | 172 | py | Python | librespot/audio/HaltListener.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 1 | 2021-12-15T22:44:46.000Z | 2021-12-15T22:44:46.000Z | librespot/audio/HaltListener.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | 12 | 2021-10-06T02:18:44.000Z | 2022-02-07T02:16:47.000Z | librespot/audio/HaltListener.py | JeffmeisterJ/librespot-python | 0e0e1db65aa40262bd13479b97f81ae8c29ae049 | [
"Apache-2.0"
] | null | null | null | class HaltListener:
def stream_read_halted(self, chunk: int, _time: int) -> None:
pass
def stream_read_resumed(self, chunk: int, _time: int):
pass
| 24.571429 | 65 | 0.651163 | 23 | 172 | 4.608696 | 0.565217 | 0.169811 | 0.245283 | 0.301887 | 0.358491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 172 | 6 | 66 | 28.666667 | 0.821705 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
76122c49745cad4b7d60650d80d33345a41c028f | 4,920 | py | Python | test/test_SegmentMaker_rehearsal_mark.py | josiah-wolf-oberholtzer/consort | 6c7d511835d5ad883ad1ad52ae9cd48c4a7b5571 | [
"MIT"
] | 9 | 2015-02-11T09:35:40.000Z | 2019-04-29T23:57:49.000Z | test/test_SegmentMaker_rehearsal_mark.py | josiah-wolf-oberholtzer/consort | 6c7d511835d5ad883ad1ad52ae9cd48c4a7b5571 | [
"MIT"
] | 2 | 2016-02-07T18:54:47.000Z | 2017-08-10T01:38:01.000Z | test/test_SegmentMaker_rehearsal_mark.py | josiah-wolf-oberholtzer/consort | 6c7d511835d5ad883ad1ad52ae9cd48c4a7b5571 | [
"MIT"
] | 1 | 2019-05-13T12:37:15.000Z | 2019-05-13T12:37:15.000Z | import abjad
import collections
import consort
from abjad.tools import systemtools
from abjad.tools import templatetools
segment_metadata = collections.OrderedDict(
segment_count=3,
segment_number=2,
)
def test_SegmentMaker_rehearsal_mark_01():
segment_maker = consort.SegmentMaker(
discard_f... | 34.166667 | 92 | 0.36565 | 306 | 4,920 | 5.738562 | 0.323529 | 0.042711 | 0.047836 | 0.022779 | 0.867882 | 0.831435 | 0.831435 | 0.809795 | 0.809795 | 0.809795 | 0 | 0.03036 | 0.564837 | 4,920 | 143 | 93 | 34.405594 | 0.789818 | 0 | 0 | 0.636364 | 0 | 0 | 0.015079 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.113636 | 0 | 0.159091 | 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 |
525529c8146bbe2f6674245e7fff7556b989a785 | 132 | py | Python | software-development/unit-tests/python/start.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | software-development/unit-tests/python/start.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | software-development/unit-tests/python/start.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | def add(a,b):
return a+b
def sub(a,b):
return a-b
def multiply(a,b):
return a*b
def div(a,b):
return a/b
| 11 | 18 | 0.522727 | 28 | 132 | 2.464286 | 0.285714 | 0.231884 | 0.463768 | 0.521739 | 0.710145 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325758 | 132 | 12 | 19 | 11 | 0.775281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 |
5267c953ae0dfbcbbf8e7e55311feec41640fc59 | 1,833 | py | Python | tests/nonrealtime/test_nonrealtime_Node_get_parent.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | tests/nonrealtime/test_nonrealtime_Node_get_parent.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | tests/nonrealtime/test_nonrealtime_Node_get_parent.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import pytest
import supriya.nonrealtime
def test_01():
"""
With Session.at(...) context manager.
"""
session = supriya.nonrealtime.Session()
with session.at(0):
group_one = session.add_group()
group_two = session.add_group()
node = group_one.add_synth()
with session.a... | 25.816901 | 65 | 0.629023 | 240 | 1,833 | 4.608333 | 0.158333 | 0.113924 | 0.141049 | 0.085895 | 0.813743 | 0.768535 | 0.768535 | 0.753165 | 0.701627 | 0.701627 | 0 | 0.021168 | 0.252591 | 1,833 | 70 | 66 | 26.185714 | 0.786131 | 0.099836 | 0 | 0.795918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.081633 | false | 0 | 0.040816 | 0 | 0.122449 | 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 |
870f59b56d6d2f2ec4535f561e62e75df977cd0c | 128 | py | Python | docs/source/tutorial/v2/using_liberty.py | mjhajharia/deprecated | 9893b54d62ad0b164b9d99ee8382d21f32b5f96a | [
"MIT"
] | 169 | 2017-12-05T15:22:20.000Z | 2022-03-08T03:24:56.000Z | docs/source/tutorial/v2/using_liberty.py | mjhajharia/deprecated | 9893b54d62ad0b164b9d99ee8382d21f32b5f96a | [
"MIT"
] | 48 | 2018-06-21T22:39:37.000Z | 2022-01-07T17:57:59.000Z | docs/source/tutorial/v2/using_liberty.py | mjhajharia/deprecated | 9893b54d62ad0b164b9d99ee8382d21f32b5f96a | [
"MIT"
] | 23 | 2018-06-21T22:36:48.000Z | 2021-12-22T19:31:18.000Z | # coding: utf-8
import liberty
liberty.print_value("hello")
liberty.print_value("hello again")
liberty.better_print("Hi Tom!")
| 18.285714 | 34 | 0.765625 | 19 | 128 | 5 | 0.631579 | 0.252632 | 0.357895 | 0.463158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.085938 | 128 | 6 | 35 | 21.333333 | 0.803419 | 0.101563 | 0 | 0 | 0 | 0 | 0.20354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
8722407eeed6a7de19e1461162738e47d29f6169 | 8,927 | py | Python | bidswrapps/tests.py | fliem/bidswrapps | f643e672b7c1d38b8868cc7c913b0ef9834c30e5 | [
"Apache-2.0"
] | null | null | null | bidswrapps/tests.py | fliem/bidswrapps | f643e672b7c1d38b8868cc7c913b0ef9834c30e5 | [
"Apache-2.0"
] | null | null | null | bidswrapps/tests.py | fliem/bidswrapps | f643e672b7c1d38b8868cc7c913b0ef9834c30e5 | [
"Apache-2.0"
] | null | null | null | from bidswrapps.utils import compile_run_cmd
def test_basic():
"""test basic bids app use case"""
analysis_level = "participant"
bids_input_folder = "/bids_in_data"
bids_output_folder = "/bids_out_data"
docker_image = "testorg/testim:dev"
subject_id = ""
docker_volumes = []
runscript_a... | 45.085859 | 118 | 0.681976 | 1,228 | 8,927 | 4.637622 | 0.057818 | 0.070237 | 0.104302 | 0.066725 | 0.93626 | 0.93626 | 0.93626 | 0.926427 | 0.923266 | 0.923266 | 0 | 0.007843 | 0.200179 | 8,927 | 197 | 119 | 45.314721 | 0.789776 | 0.030469 | 0 | 0.824324 | 0 | 0.087838 | 0.332287 | 0.095188 | 0 | 0 | 0 | 0 | 0.067568 | 1 | 0.067568 | false | 0 | 0.006757 | 0 | 0.074324 | 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 |
873d718b6b4a9ce596cb21dfe1128d1d96348755 | 42,114 | py | Python | test/unit_test.py | lwzSoviet/finale | 6166bee0ddbd1d886abccee0c1c699eaf8f53040 | [
"MIT"
] | 2 | 2021-07-13T12:13:36.000Z | 2021-11-14T04:43:47.000Z | test/unit_test.py | lwzSoviet/finale | 6166bee0ddbd1d886abccee0c1c699eaf8f53040 | [
"MIT"
] | null | null | null | test/unit_test.py | lwzSoviet/finale | 6166bee0ddbd1d886abccee0c1c699eaf8f53040 | [
"MIT"
] | null | null | null | #!/usr/bin/python2
# -*- coding: utf-8 -*-
"""
@Description: Simple Unit Test
~~~~~~
@Author : pake
@Time : 2021/7/2 10:10
"""
import pytest
from engine import func_equals_classcall, add_node_id, get_node, get_name_value, get_arg_value, \
get_all_assigns, get_all_functiondef, get_all_classdef, g... | 382.854545 | 28,218 | 0.513986 | 4,926 | 42,114 | 4.340235 | 0.057856 | 0.290178 | 0.130496 | 0.18522 | 0.861787 | 0.82507 | 0.797381 | 0.768007 | 0.71899 | 0.686062 | 0 | 0.016237 | 0.10208 | 42,114 | 110 | 28,219 | 382.854545 | 0.549147 | 0.011825 | 0 | 0 | 0 | 0.029851 | 0.498485 | 0.030981 | 0 | 0 | 0 | 0 | 0.298507 | 1 | 0.208955 | false | 0 | 0.089552 | 0 | 0.298507 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
8773a3a97f1dd31235c04540710a7c61b8cf0441 | 49 | py | Python | project_alphavantage/modules/__init__.py | leonardomarcao/projecto-alphavantage | ce46065c7bcb01298867c5ed8562d5a73e0b69fe | [
"MIT"
] | null | null | null | project_alphavantage/modules/__init__.py | leonardomarcao/projecto-alphavantage | ce46065c7bcb01298867c5ed8562d5a73e0b69fe | [
"MIT"
] | 6 | 2020-02-16T21:05:51.000Z | 2020-02-17T03:23:56.000Z | project_alphavantage/modules/__init__.py | leonardomarcao/projecto-alphavantage | ce46065c7bcb01298867c5ed8562d5a73e0b69fe | [
"MIT"
] | 1 | 2020-02-17T16:03:47.000Z | 2020-02-17T16:03:47.000Z | from . import db
from . import alpha_vantage_api
| 16.333333 | 31 | 0.795918 | 8 | 49 | 4.625 | 0.75 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 32 | 24.5 | 0.902439 | 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 |
5e5a37af62a89d6750c12567ab471b3edeca070c | 83 | py | Python | staging/contexts.py | Pyromanser/django-staging | 1273ba880f48705f968e85631f55af036b1dceb2 | [
"BSD-3-Clause"
] | null | null | null | staging/contexts.py | Pyromanser/django-staging | 1273ba880f48705f968e85631f55af036b1dceb2 | [
"BSD-3-Clause"
] | null | null | null | staging/contexts.py | Pyromanser/django-staging | 1273ba880f48705f968e85631f55af036b1dceb2 | [
"BSD-3-Clause"
] | 2 | 2021-06-07T23:09:19.000Z | 2021-06-09T21:27:55.000Z |
def data_generator_enabled(request):
return {'DATA_GENERATOR_ENABLED': True}
| 16.6 | 43 | 0.771084 | 10 | 83 | 6 | 0.7 | 0.433333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 4 | 44 | 20.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.271605 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
5e74954984ceb331e27a922b03178c98130a3b35 | 5,225 | py | Python | build/lib/drone_awe/validationsettings.py | rymanderson/Drone-Models | 396ed030f277a96365c7cbfaffb3d2006e5b12a8 | [
"MIT"
] | 2 | 2019-12-01T10:27:54.000Z | 2019-12-01T10:28:07.000Z | build/lib/drone_awe/validationsettings.py | rymanderson/drone_awe | 396ed030f277a96365c7cbfaffb3d2006e5b12a8 | [
"MIT"
] | null | null | null | build/lib/drone_awe/validationsettings.py | rymanderson/drone_awe | 396ed030f277a96365c7cbfaffb3d2006e5b12a8 | [
"MIT"
] | null | null | null | params = [
{
'dronename': 'drone',
'stateofhealth': 100.0,
'startstateofcharge': 100.0,
'altitude': 100.0,
'temperaturesealevel': 15.0,
'rain': False,
'dropsize': 0.0,
'liquidwatercontent': 1.0,
'temperature': 15.0,
'wind': False,
'windspeed': 0.0,
'winddirection': 0.0,
'relativehumidity': 85.0,
'icing': False,
'timest... | 19.942748 | 61 | 0.666029 | 605 | 5,225 | 5.742149 | 0.117355 | 0.022453 | 0.069948 | 0.059585 | 0.905584 | 0.883708 | 0.86327 | 0.850892 | 0.850892 | 0.850892 | 0 | 0.077217 | 0.097799 | 5,225 | 262 | 62 | 19.942748 | 0.659737 | 0 | 0 | 0.843511 | 0 | 0 | 0.561424 | 0 | 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 | 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 |
0d5afb200498f723318d3f7b95850079386a9963 | 16,702 | py | Python | Root.py | SidraELEzz/Basic | 022bbcc3c418f694a9c3e86ae73ed8d220393936 | [
"MIT"
] | 13 | 2021-01-30T14:56:24.000Z | 2022-03-05T16:59:47.000Z | Root.py | SidraELEzz/Basic | 022bbcc3c418f694a9c3e86ae73ed8d220393936 | [
"MIT"
] | null | null | null | Root.py | SidraELEzz/Basic | 022bbcc3c418f694a9c3e86ae73ed8d220393936 | [
"MIT"
] | 1 | 2021-02-22T09:01:10.000Z | 2021-02-22T09:01:10.000Z | #Coded By Sidra ELEzz 2021
#YouTube :Termux Tools
#Telegram:@SS_SS_1
import base64
exec(base64.b32decode('ENBW6ZDFMQQEE6JAKRSWOYLSEBEUICTJNVYG64TUEBWWC4TTNBQWYCTFPBSWGKDNMFZHG2DBNQXGY33BMRZSQJ3DLR4DAMC4PAYDAXDYGAYFY6BQGBOHQMBQLR4DAMC4PAYDAXDYGAYFY6BQGNOHQMBQLR4DAMC4PAYDAQC4PAYDAXDYGAYFY6BQGBZSCXDYGAYFY6BQGBOHQMBQMROHQM... | 2,783.666667 | 16,618 | 0.998324 | 18 | 16,702 | 926.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10731 | 0.000718 | 16,702 | 5 | 16,619 | 3,340.4 | 0.891612 | 0.003772 | 0 | 0 | 0 | 0 | 0.997355 | 0.997355 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
0d6dd301aa4cb72024a11b8a2a18a68ccf0051ff | 23,274 | py | Python | misc/DataLoader.py | srama2512/sidekicks | a5c487bb30540c98f04ece5e2c22ef95963afbdb | [
"MIT"
] | 26 | 2018-07-30T19:14:49.000Z | 2022-03-12T12:49:36.000Z | misc/DataLoader.py | srama2512/sidekicks | a5c487bb30540c98f04ece5e2c22ef95963afbdb | [
"MIT"
] | 2 | 2018-12-10T17:12:27.000Z | 2019-07-15T22:47:28.000Z | misc/DataLoader.py | srama2512/sidekicks | a5c487bb30540c98f04ece5e2c22ef95963afbdb | [
"MIT"
] | 8 | 2018-12-18T00:55:45.000Z | 2019-11-11T18:42:49.000Z | import h5py
import random
import numpy as np
import pdb
import torch
class DataLoaderSimple(object):
"""
DataLoader class for abstracting the reading, batching and shuffling operations
Does not use expert rewards.
"""
def __init__(self, opts):
"""
Loads the dataset and saves settin... | 43.340782 | 139 | 0.593409 | 3,035 | 23,274 | 4.327842 | 0.0514 | 0.10552 | 0.074229 | 0.025124 | 0.859307 | 0.836924 | 0.815836 | 0.806395 | 0.790027 | 0.778759 | 0 | 0.010108 | 0.281602 | 23,274 | 536 | 140 | 43.421642 | 0.775478 | 0.158976 | 0 | 0.791176 | 0 | 0 | 0.036747 | 0 | 0 | 0 | 0 | 0.001866 | 0.138235 | 1 | 0.047059 | false | 0 | 0.014706 | 0 | 0.117647 | 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 |
0d7508a75b483f9b126cef6158bc6f3affd3618c | 46 | py | Python | pyqt_transparent_timer/__init__.py | yjg30737/pyqt-transparent-timer | 6919a92517db62832e1048b1d1afc3f1b8449c11 | [
"MIT"
] | null | null | null | pyqt_transparent_timer/__init__.py | yjg30737/pyqt-transparent-timer | 6919a92517db62832e1048b1d1afc3f1b8449c11 | [
"MIT"
] | null | null | null | pyqt_transparent_timer/__init__.py | yjg30737/pyqt-transparent-timer | 6919a92517db62832e1048b1d1afc3f1b8449c11 | [
"MIT"
] | null | null | null | from .transparentTimer import TransparentTimer | 46 | 46 | 0.913043 | 4 | 46 | 10.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0d7e49707275d39130f26dad1713cd2fe9540cfa | 1,273 | py | Python | streamr/protocol/util/meta.py | streamr-dev/streamr-client-python | 8160df6d58cc124369bc47cf56245c7d17bf662f | [
"Apache-2.0"
] | 8 | 2019-06-13T04:02:55.000Z | 2022-02-10T04:33:49.000Z | streamr/protocol/util/meta.py | streamr-dev/streamr-client-python | 8160df6d58cc124369bc47cf56245c7d17bf662f | [
"Apache-2.0"
] | 3 | 2019-01-17T22:59:01.000Z | 2021-11-06T16:49:14.000Z | streamr/protocol/util/meta.py | streamr-dev/streamr-client-python | 8160df6d58cc124369bc47cf56245c7d17bf662f | [
"Apache-2.0"
] | 4 | 2019-01-27T14:02:07.000Z | 2021-11-02T15:08:31.000Z | """
Metaclass of Response and Request
"""
class ResponseMeta(type):
"""
Meta class of Response
"""
response_class_by_response_type = {}
@classmethod
def register(mcs, clazz, typez):
"""
register son class to response_class_by_response_type
:param clazz: son class
... | 23.574074 | 61 | 0.601728 | 148 | 1,273 | 4.905405 | 0.209459 | 0.107438 | 0.123967 | 0.190083 | 0.812672 | 0.812672 | 0.812672 | 0.713499 | 0.713499 | 0.713499 | 0 | 0 | 0.293794 | 1,273 | 53 | 62 | 24.018868 | 0.807564 | 0.251375 | 0 | 0.8 | 0 | 0 | 0.045067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 8 |
0d987b6c1952a95f579b63d2251b43ce982fb6cb | 151 | py | Python | cloudberry-py/cloudberry/api/model/series/__init__.py | olliekrk/cloud-berry | 8b39fb0b4f8772348fb50c0c1d0200c96df03cbe | [
"MIT"
] | null | null | null | cloudberry-py/cloudberry/api/model/series/__init__.py | olliekrk/cloud-berry | 8b39fb0b4f8772348fb50c0c1d0200c96df03cbe | [
"MIT"
] | null | null | null | cloudberry-py/cloudberry/api/model/series/__init__.py | olliekrk/cloud-berry | 8b39fb0b4f8772348fb50c0c1d0200c96df03cbe | [
"MIT"
] | null | null | null | from .data_point import DataPoint
from .data_series import DataSeries
from .data_series import SeriesInfo
from .data_series_pack import DataSeriesPack
| 30.2 | 44 | 0.86755 | 21 | 151 | 6 | 0.47619 | 0.253968 | 0.333333 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 4 | 45 | 37.75 | 0.933333 | 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 |
0da88be3b70b97bcdc7c4063084fa03f948b836b | 222 | py | Python | capacity/operators.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | capacity/operators.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | capacity/operators.py | JuanBalceda/python-basics | 65649f1b5619efb1a4bb56abc904f848eb42a986 | [
"MIT"
] | null | null | null | print(divmod(100, 7))
print(7 > 2 and 1 > 6)
print(7 > 2 or 1 > 6)
number_list = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
print(number_list[2:8])
print(number_list[0:9:3])
print(number_list[0:10:3])
| 22.2 | 67 | 0.576577 | 50 | 222 | 2.48 | 0.48 | 0.322581 | 0.362903 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245714 | 0.211712 | 222 | 9 | 68 | 24.666667 | 0.462857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.857143 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0dce0803053ef5c46622087ad9b526e24eeeee1a | 1,592 | py | Python | Video Downloader/run.py | legitshivam/PET | 7d90aac36eadf6255cc4004f72e147987221826a | [
"MIT"
] | 1 | 2021-11-07T06:19:36.000Z | 2021-11-07T06:19:36.000Z | Video Downloader/run.py | legitshivam/PET | 7d90aac36eadf6255cc4004f72e147987221826a | [
"MIT"
] | null | null | null | Video Downloader/run.py | legitshivam/PET | 7d90aac36eadf6255cc4004f72e147987221826a | [
"MIT"
] | null | null | null | from scrapper.cartoonsarea import download_link_generator, all_download_link_generator
if __name__ == '__main__':
url_list = ['https://eng.cartoonsarea.xyz/English-Dubbed-Series/O-Dubbed-Series/One-Piece-Dubbed-Videos/One-Piece-Season-15-Dubbed-Videos/',
'https://eng.cartoonsarea.xyz/English-Dubbe... | 66.333333 | 151 | 0.711055 | 223 | 1,592 | 4.995516 | 0.170404 | 0.193896 | 0.16158 | 0.185817 | 0.858169 | 0.858169 | 0.858169 | 0.858169 | 0.858169 | 0.858169 | 0 | 0.017229 | 0.125 | 1,592 | 23 | 152 | 69.217391 | 0.782484 | 0 | 0 | 0 | 0 | 0.6 | 0.746062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
0dfa4a7a1da5fa8586668c71b8a50e91252c069c | 225 | py | Python | rpmvenv/extensions/python/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 150 | 2015-03-11T15:38:36.000Z | 2022-02-16T10:00:47.000Z | rpmvenv/extensions/python/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 70 | 2015-03-11T15:40:59.000Z | 2022-01-15T15:48:16.000Z | rpmvenv/extensions/python/__init__.py | oleynikandrey/rpmvenv | 694c32b2d240285bbae9eee590a39dcb34ef1e2c | [
"MIT"
] | 44 | 2015-03-22T22:26:15.000Z | 2021-12-05T19:56:05.000Z | """Core feature extensions for the project related to Python packaging."""
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
| 32.142857 | 74 | 0.848889 | 29 | 225 | 5.931034 | 0.655172 | 0.232558 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 225 | 6 | 75 | 37.5 | 0.868687 | 0.302222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
219a350a2b8e334b2e1cfc5e76aa31ca079b9079 | 15,489 | py | Python | dymos/transcriptions/pseudospectral/components/test/test_state_interp_comp.py | naylor-b/dymos | 56ee72041056ae20c3332d060e291c4da93844b1 | [
"Apache-2.0"
] | null | null | null | dymos/transcriptions/pseudospectral/components/test/test_state_interp_comp.py | naylor-b/dymos | 56ee72041056ae20c3332d060e291c4da93844b1 | [
"Apache-2.0"
] | null | null | null | dymos/transcriptions/pseudospectral/components/test/test_state_interp_comp.py | naylor-b/dymos | 56ee72041056ae20c3332d060e291c4da93844b1 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function, division, absolute_import
import unittest
import numpy as np
from numpy.testing import assert_almost_equal
from openmdao.api import Problem, Group, IndepVarComp
from openmdao.utils.assert_utils import assert_check_partials
from dymos.transcriptions.pseudospectral.components imp... | 37.055024 | 99 | 0.532959 | 2,208 | 15,489 | 3.497736 | 0.072917 | 0.058268 | 0.085459 | 0.045578 | 0.883335 | 0.861453 | 0.852389 | 0.846174 | 0.845267 | 0.829729 | 0 | 0.029881 | 0.299955 | 15,489 | 417 | 100 | 37.143885 | 0.682376 | 0.019498 | 0 | 0.716846 | 0 | 0 | 0.191813 | 0.074484 | 0 | 0 | 0 | 0 | 0.057348 | 1 | 0.028674 | false | 0 | 0.035842 | 0.014337 | 0.082437 | 0.043011 | 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 |
21cbfe0f564cedab086fbfd82ee3a2cc479af7fc | 228 | py | Python | DAO/profile_dao.py | umagnanasundaram2128/WolfTrack3.0 | 3af060899a886cbbe0871f98d554f5f694b3e0f1 | [
"MIT"
] | 2 | 2021-09-26T07:33:16.000Z | 2021-09-30T06:07:47.000Z | DAO/profile_dao.py | umagnanasundaram2128/WolfTrack3.0 | 3af060899a886cbbe0871f98d554f5f694b3e0f1 | [
"MIT"
] | 36 | 2021-09-26T23:32:19.000Z | 2021-09-30T22:54:39.000Z | DAO/profile_dao.py | ArpithaVijayakumar/WolfTrack | 2cfef76fa8235625ef66650321d182fc929b8eda | [
"MIT"
] | 7 | 2021-10-05T23:51:03.000Z | 2021-11-15T03:34:01.000Z | from sql_helper import sql_helper
class profile_dao:
def create_profile(self):
pass
def get_profile(self):
pass
def update_profile(self):
pass
def delete_profile(self):
pass
| 13.411765 | 33 | 0.627193 | 29 | 228 | 4.689655 | 0.482759 | 0.323529 | 0.441176 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 228 | 16 | 34 | 14.25 | 0.871795 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
0dfd0b6b79ad5b957197b9f7dfcf8fe13a2bef78 | 223 | py | Python | carball/__init__.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 119 | 2018-09-14T02:14:19.000Z | 2022-03-06T05:06:54.000Z | carball/__init__.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 207 | 2018-09-06T18:53:06.000Z | 2022-02-12T22:39:36.000Z | carball/__init__.py | unitedroguegg/carball | 4767f2c5d195b7d5d60e6a5575415262803acef7 | [
"Apache-2.0"
] | 44 | 2018-09-10T16:54:13.000Z | 2022-02-19T03:07:50.000Z | try:
from carball.decompile_replays import decompile_replay
from carball.decompile_replays import analyze_replay_file
except ModuleNotFoundError as e:
print("Not importing functions due to missing packages:", e) | 44.6 | 64 | 0.811659 | 29 | 223 | 6.068966 | 0.724138 | 0.125 | 0.227273 | 0.306818 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143498 | 223 | 5 | 64 | 44.6 | 0.921466 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 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 |
df40571510307119e466305fffb65adf4405f177 | 16,906 | py | Python | tests/test_worker.py | gab832/connect-extension-runner | cd9a328f3a154df881170c0b2dd9480a94f0c4c2 | [
"Apache-2.0"
] | null | null | null | tests/test_worker.py | gab832/connect-extension-runner | cd9a328f3a154df881170c0b2dd9480a94f0c4c2 | [
"Apache-2.0"
] | null | null | null | tests/test_worker.py | gab832/connect-extension-runner | cd9a328f3a154df881170c0b2dd9480a94f0c4c2 | [
"Apache-2.0"
] | null | null | null | import asyncio
import logging
import pytest
from websockets.exceptions import ConnectionClosedError, WebSocketException
from connect.eaas.dataclasses import (
CapabilitiesPayload,
ConfigurationPayload,
Message,
MessageType,
ResultType,
TaskCategory,
TaskPayload,
TaskType,
)
from connec... | 31.077206 | 95 | 0.592926 | 1,829 | 16,906 | 5.285949 | 0.08748 | 0.034133 | 0.049235 | 0.06144 | 0.909806 | 0.903393 | 0.894187 | 0.889119 | 0.87681 | 0.868329 | 0 | 0.039534 | 0.27434 | 16,906 | 543 | 96 | 31.134438 | 0.748533 | 0 | 0 | 0.7473 | 0 | 0.006479 | 0.252691 | 0.113037 | 0 | 0 | 0 | 0 | 0.030238 | 1 | 0.019438 | false | 0 | 0.017279 | 0.015119 | 0.071274 | 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 |
df60b95a7baeb5b1681275e5d60fc4d441afe7bb | 194,755 | py | Python | python_claml/claml.py | thehyve/python_claml | 60126f8cea2ec9aaf0e8292a584ac3316514e241 | [
"MIT"
] | 7 | 2019-05-14T07:57:53.000Z | 2021-06-07T08:00:04.000Z | python_claml/claml.py | thehyve/python_claml | 60126f8cea2ec9aaf0e8292a584ac3316514e241 | [
"MIT"
] | 1 | 2021-02-21T13:10:41.000Z | 2021-02-21T13:10:41.000Z | python_claml/claml.py | thehyve/python_claml | 60126f8cea2ec9aaf0e8292a584ac3316514e241 | [
"MIT"
] | null | null | null | # ./claml.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:e92452c8d3e28a9e27abfc9994d2007779e7f4c9
# Generated 2019-04-05 19:48:40.632175 by PyXB version 1.2.6 using Python 3.6.7.final.0
# Namespace AbsentNamespace0
from __future__ import unicode_literals
import pyxb
import pyxb.binding
import pyxb.binding.saxer
imp... | 48.147095 | 261 | 0.740597 | 23,847 | 194,755 | 5.770915 | 0.023986 | 0.032299 | 0.058015 | 0.0865 | 0.8971 | 0.886978 | 0.877502 | 0.87089 | 0.835931 | 0.785429 | 0 | 0.027879 | 0.136022 | 194,755 | 4,044 | 262 | 48.159001 | 0.789997 | 0.086632 | 0 | 0.652112 | 1 | 0 | 0.078036 | 0.031283 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012169 | false | 0 | 0.01539 | 0 | 0.267001 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df65c716b41d51b49b50cf34ea3d10e60c5c0e4a | 11,107 | py | Python | src/prefect/tasks/sql_server/sql_server.py | nicolasiltis/prefect | 4298105651c2fe02b21013ae8a0468e9e101154d | [
"Apache-2.0"
] | 8,633 | 2019-03-23T17:51:03.000Z | 2022-03-31T22:17:42.000Z | src/prefect/tasks/sql_server/sql_server.py | nicolasiltis/prefect | 4298105651c2fe02b21013ae8a0468e9e101154d | [
"Apache-2.0"
] | 3,903 | 2019-03-23T19:11:21.000Z | 2022-03-31T23:21:23.000Z | src/prefect/tasks/sql_server/sql_server.py | nicolasiltis/prefect | 4298105651c2fe02b21013ae8a0468e9e101154d | [
"Apache-2.0"
] | 937 | 2019-03-23T18:49:44.000Z | 2022-03-31T21:45:13.000Z | import pyodbc
from prefect import Task
from prefect.utilities.tasks import defaults_from_attrs
class SqlServerExecute(Task):
"""
Task for executing a query against a SQL Server database.
Args:
- db_name (str): name of SQL Server database
- user (str): user name used to authenticate
... | 33.454819 | 101 | 0.561088 | 1,254 | 11,107 | 4.922648 | 0.11563 | 0.026243 | 0.041309 | 0.020411 | 0.84416 | 0.84416 | 0.84011 | 0.828122 | 0.828122 | 0.828122 | 0 | 0.005379 | 0.364005 | 11,107 | 331 | 102 | 33.555891 | 0.868488 | 0.470334 | 0 | 0.805714 | 0 | 0.005714 | 0.069613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034286 | false | 0.034286 | 0.017143 | 0 | 0.085714 | 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 |
df6dd1c41c7b84e6eb7c618dce2d2c2c03281981 | 88,867 | py | Python | dlkit/json_/grading/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 2 | 2018-02-23T12:16:11.000Z | 2020-10-08T17:54:24.000Z | dlkit/json_/grading/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 87 | 2017-04-21T18:57:15.000Z | 2021-12-13T19:43:57.000Z | dlkit/json_/grading/queries.py | UOC/dlkit | a9d265db67e81b9e0f405457464e762e2c03f769 | [
"MIT"
] | 1 | 2018-03-01T16:44:25.000Z | 2018-03-01T16:44:25.000Z | """JSON implementations of grading queries."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods,too-few-public-methods
# Number of methods are defined in specification
# pylint: disable=protected-access
# Access to protected methods allowed in p... | 36.022294 | 128 | 0.652267 | 10,044 | 88,867 | 5.566806 | 0.028773 | 0.033803 | 0.047324 | 0.054084 | 0.918266 | 0.876147 | 0.832204 | 0.806163 | 0.783217 | 0.769267 | 0 | 0 | 0.25321 | 88,867 | 2,466 | 129 | 36.036902 | 0.842507 | 0.540876 | 0 | 0.669872 | 0 | 0 | 0.035407 | 0.009514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314103 | false | 0 | 0.011218 | 0 | 0.488782 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
80036b67642e60f7dcfa835b8d07fe74b3bf9c4d | 5,174 | py | Python | chapter_11/chapter11_de.py | p-giakoumoglou/numerical_analysis | 1f2e23530972baae00e793b30bb66a5aa75df02b | [
"MIT"
] | null | null | null | chapter_11/chapter11_de.py | p-giakoumoglou/numerical_analysis | 1f2e23530972baae00e793b30bb66a5aa75df02b | [
"MIT"
] | null | null | null | chapter_11/chapter11_de.py | p-giakoumoglou/numerical_analysis | 1f2e23530972baae00e793b30bb66a5aa75df02b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Author: Paschalis Giakoumoglou
Date: Fri Jun 18 00:42:40 2021
"""
import numpy as np
import math
def euler(f, x0, t0, t1, dt):
print("============================== Euler's Method ============================== ")
print()
t = np.arange(t0, t1 + dt, dt)
x = np.zer... | 33.380645 | 151 | 0.378817 | 935 | 5,174 | 2.072727 | 0.081283 | 0.063983 | 0.052632 | 0.072239 | 0.873581 | 0.836945 | 0.817337 | 0.780186 | 0.736326 | 0.674923 | 0 | 0.090305 | 0.302281 | 5,174 | 155 | 152 | 33.380645 | 0.446537 | 0.047545 | 0 | 0.572581 | 0 | 0.129032 | 0.332562 | 0.079302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080645 | false | 0 | 0.016129 | 0.040323 | 0.137097 | 0.330645 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
802b8b3093ce9d8508ae39382fcfaaaaa4dd5f85 | 3,574 | py | Python | tests/core/test_utils.py | SmallCream/django-cool | 63b136da7ce39135c9f900e8161288f8fc8893a4 | [
"BSD-3-Clause"
] | 11 | 2020-05-19T09:52:35.000Z | 2022-02-25T10:39:56.000Z | tests/core/test_utils.py | SmallCream/django-cool | 63b136da7ce39135c9f900e8161288f8fc8893a4 | [
"BSD-3-Clause"
] | null | null | null | tests/core/test_utils.py | SmallCream/django-cool | 63b136da7ce39135c9f900e8161288f8fc8893a4 | [
"BSD-3-Clause"
] | 1 | 2020-12-24T08:14:58.000Z | 2020-12-24T08:14:58.000Z | # encoding: utf-8
import unittest
from django.contrib.auth import models
from django.test import TestCase
from cool.core import utils
class SplitCamelNameTests(unittest.TestCase):
def test_simple(self):
self.assertListEqual(utils.split_camel_name("GetSimpleView"), ['Get', 'Simple', 'View'])
def te... | 41.08046 | 115 | 0.737269 | 416 | 3,574 | 5.975962 | 0.182692 | 0.064763 | 0.157281 | 0.191472 | 0.825825 | 0.779163 | 0.779163 | 0.684232 | 0.682623 | 0.660499 | 0 | 0.003891 | 0.137101 | 3,574 | 86 | 116 | 41.55814 | 0.802205 | 0.004197 | 0 | 0.035714 | 0 | 0 | 0.170931 | 0.029519 | 0 | 0 | 0 | 0 | 0.410714 | 1 | 0.410714 | false | 0 | 0.071429 | 0 | 0.517857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8056d63127881edcd10d8f935c8daf372292e399 | 21,820 | py | Python | sdk/python/pulumi_vultr/firewall_rule.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/firewall_rule.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_vultr/firewall_rule.py | vincentbernat/pulumi-vultr | 171c75f59d169a62e5486bf9e7f6f421bbe0b7c8 | [
"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 ... | 40.708955 | 166 | 0.622777 | 2,674 | 21,820 | 4.901272 | 0.075168 | 0.090646 | 0.099344 | 0.08561 | 0.869831 | 0.839768 | 0.81848 | 0.788952 | 0.770563 | 0.753853 | 0 | 0.005715 | 0.270211 | 21,820 | 535 | 167 | 40.785047 | 0.81732 | 0.342026 | 0 | 0.693878 | 1 | 0 | 0.083755 | 0.002838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159864 | false | 0.003401 | 0.017007 | 0 | 0.272109 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
337e44854f818ed5a728b6973405dd69567e7602 | 2,027 | py | Python | pyslash/decorators.py | starsflower/discordpy-slash-commands | ec72d2b24c369ba40a0f5c07c7959ba00dc4ded7 | [
"MIT"
] | 1 | 2021-05-10T14:00:40.000Z | 2021-05-10T14:00:40.000Z | pyslash/decorators.py | amcwb/discordpy-slash-commands | ec72d2b24c369ba40a0f5c07c7959ba00dc4ded7 | [
"MIT"
] | 1 | 2021-10-31T06:53:48.000Z | 2021-11-04T19:51:31.000Z | pyslash/decorators.py | amcwb/discordpy-slash-commands | ec72d2b24c369ba40a0f5c07c7959ba00dc4ded7 | [
"MIT"
] | null | null | null |
from typing import List
from discord_slash import SlashCommand, cog_ext
from .converters import convert
from .utils import *
def slash_cog(name: str = None, description: str = None, guild_ids: List[int] = None, remove_underscore_keywords: bool = True):
"""
Add a command to a cog
Parameters
-------... | 33.783333 | 150 | 0.680316 | 258 | 2,027 | 5.205426 | 0.22093 | 0.047655 | 0.107223 | 0.047655 | 0.810127 | 0.810127 | 0.810127 | 0.810127 | 0.726731 | 0.726731 | 0 | 0 | 0.246177 | 2,027 | 59 | 151 | 34.355932 | 0.878927 | 0.457819 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
33828d9e622c6cbdd530c2099452e50b75b55fdb | 40,940 | py | Python | rkpass/pipelines.py | windowshappy/python | 02b43b657a284b2db300ce7d7862e5032c688b1d | [
"MIT"
] | 10 | 2019-01-17T15:09:01.000Z | 2022-03-01T06:19:22.000Z | rkpass/pipelines.py | windowshappy/python | 02b43b657a284b2db300ce7d7862e5032c688b1d | [
"MIT"
] | null | null | null | rkpass/pipelines.py | windowshappy/python | 02b43b657a284b2db300ce7d7862e5032c688b1d | [
"MIT"
] | 6 | 2018-10-29T15:31:50.000Z | 2020-08-13T08:34:46.000Z | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
import pymysql
import scrapy
import re
from scrapy.exceptions import DropItem
from scrapy.pipelines.images import ImagesPipelin... | 36.007036 | 364 | 0.586224 | 4,507 | 40,940 | 5.226093 | 0.051697 | 0.01919 | 0.026238 | 0.031587 | 0.903244 | 0.8973 | 0.895304 | 0.887662 | 0.887662 | 0.887662 | 0 | 0.00192 | 0.287738 | 40,940 | 1,137 | 365 | 36.007036 | 0.80583 | 0.043381 | 0 | 0.87108 | 0 | 0.027875 | 0.177136 | 0.01703 | 0.004646 | 0 | 0 | 0 | 0 | 1 | 0.154472 | false | 0.094077 | 0.005807 | 0.023229 | 0.293844 | 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 |
339a0166df9fe7ba6f5f38a47627b30a26ff6f98 | 39,817 | py | Python | osquery/extensions/ExtensionManager.py | eoinmiller-r7/osquery-python | 8621cb712cf09c7e46654fc5dca87597e2c0d259 | [
"BSD-3-Clause"
] | 274 | 2015-04-30T00:59:02.000Z | 2022-03-19T17:51:37.000Z | osquery/extensions/ExtensionManager.py | eoinmiller-r7/osquery-python | 8621cb712cf09c7e46654fc5dca87597e2c0d259 | [
"BSD-3-Clause"
] | 51 | 2015-05-01T02:40:45.000Z | 2021-09-01T19:59:54.000Z | osquery/extensions/ExtensionManager.py | eoinmiller-r7/osquery-python | 8621cb712cf09c7e46654fc5dca87597e2c0d259 | [
"BSD-3-Clause"
] | 55 | 2015-05-18T18:27:32.000Z | 2022-01-05T04:10:07.000Z | #
# Autogenerated by Thrift Compiler (0.10.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
import sys
import osquery.e... | 35.111993 | 206 | 0.585931 | 4,032 | 39,817 | 5.542659 | 0.055556 | 0.02998 | 0.026177 | 0.012887 | 0.794344 | 0.764274 | 0.736755 | 0.723465 | 0.718275 | 0.718275 | 0 | 0.0106 | 0.310521 | 39,817 | 1,133 | 207 | 35.142983 | 0.803446 | 0.014994 | 0 | 0.776286 | 1 | 0 | 0.029247 | 0.003046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128635 | false | 0.006711 | 0.008949 | 0.040268 | 0.263982 | 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 |
1d61ab9fba7efd5dfa88a7e441c5087a4284368c | 326 | py | Python | rastervision/v2/rv/data/label_source/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2019-11-07T10:02:23.000Z | 2019-11-07T10:02:23.000Z | rastervision/v2/rv/data/label_source/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/v2/rv/data/label_source/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from rastervision.v2.rv.data.label_source.label_source import *
from rastervision.v2.rv.data.label_source.label_source_config import *
from rastervision.v2.rv.data.label_source.chip_classification_label_source import *
from rastervision.v2.rv.data.label_source.chip_classification_label_source_config imp... | 46.571429 | 90 | 0.858896 | 48 | 326 | 5.541667 | 0.270833 | 0.330827 | 0.270677 | 0.300752 | 0.894737 | 0.894737 | 0.894737 | 0.894737 | 0.894737 | 0.721805 | 0 | 0.01634 | 0.06135 | 326 | 6 | 91 | 54.333333 | 0.852941 | 0.03681 | 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 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 13 |
d55ba80178c16ae63abedf6657efe8885b2e98ad | 11,368 | py | Python | tests/providers/test_supertext.py | divio/djangocms-translations | 9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f | [
"BSD-3-Clause"
] | 3 | 2019-01-14T13:30:38.000Z | 2020-08-10T22:16:06.000Z | tests/providers/test_supertext.py | divio/djangocms-translations | 9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f | [
"BSD-3-Clause"
] | 5 | 2018-12-20T13:56:47.000Z | 2021-07-20T07:13:01.000Z | tests/providers/test_supertext.py | divio/djangocms-translations | 9bfde2fed91973160bbe50ccbd6b4e2a2f4ba07f | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import json
from cms.api import add_plugin, create_page
from cms.test_utils.testcases import CMSTestCase
from djangocms_transfer.exporter import export_page
from djangocms_translations.providers.supertext import (
_get_translation_export_content, _set_translation_import_content,
)
class... | 46.4 | 112 | 0.658427 | 1,351 | 11,368 | 5.314582 | 0.085122 | 0.069638 | 0.050696 | 0.093593 | 0.920752 | 0.904596 | 0.904596 | 0.898747 | 0.891643 | 0.891643 | 0 | 0.015028 | 0.203906 | 11,368 | 244 | 113 | 46.590164 | 0.778343 | 0.033427 | 0 | 0.839572 | 0 | 0.048128 | 0.209158 | 0.029736 | 0 | 0 | 0 | 0 | 0.106952 | 1 | 0.090909 | false | 0 | 0.074866 | 0.010695 | 0.187166 | 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 |
d56e395b96f53ab2dd033be4883ecfb2e4dc9833 | 1,964 | py | Python | src/helper_bitcoin.py | coffeedogs/PyBitmessage | 634a49cd6d8fc2f52504586be4c4766340641b25 | [
"MIT"
] | 5 | 2015-01-28T04:45:09.000Z | 2017-08-08T10:59:06.000Z | BitmessageKit/Vendor/pybitmessage/helper_bitcoin.py | VoluntaryLabs/BitmessageKit | dd634977a629ab4dec184e12bb6324cc01149ba3 | [
"MIT"
] | 4 | 2019-11-30T14:01:12.000Z | 2020-01-03T13:20:57.000Z | BitmessageKit/Vendor/pybitmessage/helper_bitcoin.py | VoluntaryLabs/BitmessageKit | dd634977a629ab4dec184e12bb6324cc01149ba3 | [
"MIT"
] | 3 | 2016-01-11T12:36:31.000Z | 2021-02-12T19:36:44.000Z | import hashlib
from pyelliptic import arithmetic
# This function expects that pubkey begin with \x04
def calculateBitcoinAddressFromPubkey(pubkey):
if len(pubkey) != 65:
print 'Could not calculate Bitcoin address from pubkey because function was passed a pubkey that was', len(pubkey), 'bytes long rather th... | 43.644444 | 152 | 0.729124 | 182 | 1,964 | 7.868132 | 0.307692 | 0.02514 | 0.015363 | 0.023743 | 0.886872 | 0.886872 | 0.886872 | 0.886872 | 0.886872 | 0.886872 | 0 | 0.043936 | 0.177189 | 1,964 | 44 | 153 | 44.636364 | 0.842203 | 0.024949 | 0 | 0.842105 | 0 | 0 | 0.154731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.052632 | 0.052632 | null | null | 0.052632 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
d58bfd0aeafa7bf026d16155b6d31fd4e8a49ef3 | 105 | py | Python | pogom/pgoapi/__init__.py | jskoizumi/pkgohi | 619748338587e0201f303b653ce9c04694653385 | [
"MIT"
] | 6 | 2016-07-21T20:23:29.000Z | 2016-10-14T16:50:21.000Z | pogom/pgoapi/__init__.py | jskoizumi/pkgohi | 619748338587e0201f303b653ce9c04694653385 | [
"MIT"
] | 4 | 2016-07-21T20:39:19.000Z | 2016-07-25T13:51:41.000Z | pogom/pgoapi/__init__.py | jskoizumi/pkgohi | 619748338587e0201f303b653ce9c04694653385 | [
"MIT"
] | null | null | null | from pgoapi import *
import requests.packages.urllib3
requests.packages.urllib3.disable_warnings() | 21 | 44 | 0.8 | 12 | 105 | 6.916667 | 0.666667 | 0.385542 | 0.554217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.12381 | 105 | 5 | 44 | 21 | 0.880435 | 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 |
d59da3f6088790bcf831703d1fe1571d16568ca1 | 237 | py | Python | myPackageAna/__init__.py | anajikadam17/myPackageAna | 61bffd28c6b87240363bf2d42020852cd25e3cf6 | [
"MIT"
] | null | null | null | myPackageAna/__init__.py | anajikadam17/myPackageAna | 61bffd28c6b87240363bf2d42020852cd25e3cf6 | [
"MIT"
] | null | null | null | myPackageAna/__init__.py | anajikadam17/myPackageAna | 61bffd28c6b87240363bf2d42020852cd25e3cf6 | [
"MIT"
] | null | null | null | def add_numbers(num1, num2):
return num1 + num2
def subtract_numbers(num1, num2):
return num1 - num2
def multiply_numbers(num1, num2):
return num1 * num2
def divide_numbers(num1, num2):
return num1 / num2
| 18.230769 | 34 | 0.662447 | 32 | 237 | 4.78125 | 0.28125 | 0.418301 | 0.392157 | 0.54902 | 0.816993 | 0.816993 | 0.627451 | 0 | 0 | 0 | 0 | 0.090395 | 0.253165 | 237 | 12 | 35 | 19.75 | 0.774011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 7 |
6392722bd5525b0311d5259fc6ed905542a05288 | 798 | py | Python | examples/grid2d.py | eddy-ilg/itypes | eaf1c4a86576c77caa34148c0fdc6b2e012119ff | [
"MIT"
] | null | null | null | examples/grid2d.py | eddy-ilg/itypes | eaf1c4a86576c77caa34148c0fdc6b2e012119ff | [
"MIT"
] | null | null | null | examples/grid2d.py | eddy-ilg/itypes | eaf1c4a86576c77caa34148c0fdc6b2e012119ff | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from itypes import Grid2D
g = Grid2D(none_in_range=True, none_outside_range=True)
g[1, 2] = "x"
print(f'min_col={g.min_col()} max_col={g.max_col()} num_cols={g.num_cols()} '
f'min_row={g.min_row()} max_row={g.max_row()} num_rows={g.num_rows()}')
print(f'g[0, 0] = {g[0,0]}')
print(f'g[1... | 26.6 | 77 | 0.592732 | 177 | 798 | 2.446328 | 0.163842 | 0.124711 | 0.096998 | 0.083141 | 0.785219 | 0.785219 | 0.778291 | 0.778291 | 0.722864 | 0.722864 | 0 | 0.046942 | 0.119048 | 798 | 29 | 78 | 27.517241 | 0.56899 | 0.026316 | 0 | 0.588235 | 0 | 0 | 0.664516 | 0.503226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.529412 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
895e66ff4ad74bf41e6e03be1c347525eca98c1f | 200 | py | Python | utils/__init__.py | florianthonig/listen-attend-and-spell | 218dd4f200cd564d3052c550dbbfe1f2cd836008 | [
"Apache-2.0"
] | 96 | 2018-06-06T08:01:37.000Z | 2021-10-06T03:40:00.000Z | utils/__init__.py | florianthonig/listen-attend-and-spell | 218dd4f200cd564d3052c550dbbfe1f2cd836008 | [
"Apache-2.0"
] | 10 | 2018-06-28T02:33:14.000Z | 2019-07-08T07:22:29.000Z | utils/__init__.py | florianthonig/listen-attend-and-spell | 218dd4f200cd564d3052c550dbbfe1f2cd836008 | [
"Apache-2.0"
] | 37 | 2018-08-09T16:42:28.000Z | 2021-10-21T03:42:59.000Z | from utils.dataset_utils import *
from utils.iterator_utils import *
from utils.vocab_utils import *
from utils.metrics_utils import *
from utils.image_utils import *
from utils.params_utils import *
| 28.571429 | 34 | 0.82 | 30 | 200 | 5.266667 | 0.3 | 0.341772 | 0.474684 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 200 | 6 | 35 | 33.333333 | 0.897727 | 0 | 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 | 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 |
8962e429da829e898ea84224366fa3d865b05e5d | 31,664 | py | Python | project/export/tests/test_annotations_csv.py | beijbom/coralnet | c3f4a44eeb60cb41a079329a0068dc8b34096e89 | [
"BSD-2-Clause"
] | 31 | 2019-12-08T14:22:52.000Z | 2021-12-27T04:58:12.000Z | project/export/tests/test_annotations_csv.py | beijbom/coralnet | c3f4a44eeb60cb41a079329a0068dc8b34096e89 | [
"BSD-2-Clause"
] | 193 | 2019-12-07T23:27:43.000Z | 2022-03-05T08:05:46.000Z | project/export/tests/test_annotations_csv.py | beijbom/coralnet | c3f4a44eeb60cb41a079329a0068dc8b34096e89 | [
"BSD-2-Clause"
] | null | null | null | import datetime
from django.core.files.base import ContentFile
from django.shortcuts import resolve_url
from django.test import override_settings
from django.urls import reverse
from annotations.models import Annotation
from export.tests.utils import BaseExportTest
from images.model_utils import PointGen
from lib.tes... | 38.427184 | 79 | 0.622 | 3,957 | 31,664 | 4.801365 | 0.080364 | 0.042107 | 0.051371 | 0.035107 | 0.848676 | 0.839781 | 0.836044 | 0.822517 | 0.816727 | 0.8042 | 0 | 0.038195 | 0.251705 | 31,664 | 823 | 80 | 38.473876 | 0.763653 | 0.044404 | 0 | 0.738931 | 0 | 0.006107 | 0.156887 | 0.054861 | 0 | 0 | 0 | 0 | 0.050382 | 1 | 0.059542 | false | 0 | 0.018321 | 0 | 0.09313 | 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 |
89652e0cdf60affecd26292ef2ffa540a293d51b | 75 | py | Python | grid/app/main/routes/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | null | null | null | grid/app/main/routes/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | null | null | null | grid/app/main/routes/__init__.py | sachin-101/PyGrid | b8d3c360cf4ae447ead199f72fda7fd74c5ed79e | [
"Apache-2.0"
] | 1 | 2021-07-06T04:30:51.000Z | 2021-07-06T04:30:51.000Z | from .sfl.routes import *
from .dfl.routes import *
from .general import *
| 18.75 | 25 | 0.733333 | 11 | 75 | 5 | 0.545455 | 0.436364 | 0.581818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 26 | 25 | 0.873016 | 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 |
897693fce29e73bf0178881bdf6afb39110a1eb6 | 1,574 | py | Python | models/pointnet_cls.py | hnVfly/pointnet.mxnet | 1d214a687bdddf488167204ad787d1a8b0770556 | [
"MIT"
] | 2 | 2018-08-30T11:57:19.000Z | 2018-08-31T01:44:06.000Z | models/pointnet_cls.py | hnVfly/pointnet.mxnet | 1d214a687bdddf488167204ad787d1a8b0770556 | [
"MIT"
] | null | null | null | models/pointnet_cls.py | hnVfly/pointnet.mxnet | 1d214a687bdddf488167204ad787d1a8b0770556 | [
"MIT"
] | null | null | null |
from mxnet import nd
from mxnet.gluon import nn
from models.pointnet_globalfeat import PointNetfeat
from models.pointnet_globalfeat import PointNetfeat_vanilla
class PointNetCls_vanilla(nn.Block):
def __init__(self, num_points=2500, k=2, routing=None):
super(PointNetCls_vanilla, self).__init__()
s... | 34.977778 | 87 | 0.623253 | 231 | 1,574 | 4.090909 | 0.203463 | 0.021164 | 0.046561 | 0.071958 | 0.895238 | 0.895238 | 0.797884 | 0.797884 | 0.797884 | 0.797884 | 0 | 0.047297 | 0.247776 | 1,574 | 45 | 88 | 34.977778 | 0.750845 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 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 |
89884681e1054ef492cbfc8911f147d6e91a5f58 | 301 | py | Python | impl/multiply/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | impl/multiply/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | impl/multiply/__init__.py | cmrudolph/algorithms | 3097d0082094ade4de654b342db09be22e2917ba | [
"MIT"
] | null | null | null | from .multiply import (c_long,
c_recursive,
py_builtin,
adapt_benchmark_args,
adapt_run_args)
__all__ = [
'c_long',
'c_recursive',
'py_builtin',
'adapt_benchmark_args',
'adapt_run_args'
]
| 21.5 | 44 | 0.488372 | 28 | 301 | 4.607143 | 0.464286 | 0.077519 | 0.093023 | 0.232558 | 0.837209 | 0.837209 | 0.837209 | 0.837209 | 0.837209 | 0.837209 | 0 | 0 | 0.431894 | 301 | 13 | 45 | 23.153846 | 0.754386 | 0 | 0 | 0 | 0 | 0 | 0.202658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 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 | 8 |
98adc8f7b956fd8d3b9dfbd91b0183aa69d9ba29 | 17,802 | py | Python | src/klima_price/main.py | 0xJem/discord-bots | 46ce60e9e64ba0643f8dbb15a4970a68482a4813 | [
"MIT"
] | 1 | 2021-12-24T03:05:43.000Z | 2021-12-24T03:05:43.000Z | src/klima_price/main.py | frankTurtle/discord-bots | 376527ad32537b303a4718a525369df2f513cf2a | [
"MIT"
] | null | null | null | src/klima_price/main.py | frankTurtle/discord-bots | 376527ad32537b303a4718a525369df2f513cf2a | [
"MIT"
] | null | null | null | import os
import json
from web3 import Web3
import discord
from discord.ext import commands, tasks
BOT_TOKEN = os.environ["DISCORD_BOT_TOKEN"]
# Initialized Discord client
intents = discord.Intents.all()
intents.members = True
client = commands.Bot(intents=intents, help_command=None, command_prefix='&?')
# Initializ... | 183.525773 | 7,663 | 0.662285 | 1,752 | 17,802 | 6.690639 | 0.123288 | 0.076011 | 0.117727 | 0.079338 | 0.800119 | 0.786555 | 0.749616 | 0.679918 | 0.656714 | 0.626088 | 0 | 0.03179 | 0.036962 | 17,802 | 96 | 7,664 | 185.4375 | 0.651948 | 0.00528 | 0 | 0.176471 | 0 | 0.029412 | 0.870226 | 0.861751 | 0 | 0 | 0.009492 | 0 | 0.014706 | 1 | 0.044118 | false | 0.029412 | 0.073529 | 0 | 0.147059 | 0.044118 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7f4a1f54cb53c4f2cb4e60edbc97d732443fdf42 | 9,921 | py | Python | pysbm/sbm/peixotos_hierarchical_sbm_full.py | DM2-ND/CFLP | c3e29a73fc9e0779e4bcfd5fefcc314df959351f | [
"Apache-2.0"
] | 13 | 2021-06-07T04:29:39.000Z | 2022-03-25T05:58:33.000Z | pysbm/sbm/peixotos_hierarchical_sbm_full.py | DM2-ND/CFLP | c3e29a73fc9e0779e4bcfd5fefcc314df959351f | [
"Apache-2.0"
] | 2 | 2021-11-04T02:26:05.000Z | 2021-11-22T17:55:01.000Z | pysbm/sbm/peixotos_hierarchical_sbm_full.py | DM2-ND/CFLP | c3e29a73fc9e0779e4bcfd5fefcc314df959351f | [
"Apache-2.0"
] | 2 | 2021-06-10T17:12:31.000Z | 2022-01-11T15:47:09.000Z | # Implementation based on the following publication of Tiago P. Peixoto
# Nonparametric Bayesian inference of the microcanonical stochastic block model
# full version with scipy
import math
from scipy.special import binom
from .peixotos_flat_sbm_full import ModelLikelihoodOfFlatMicrocanonicalDegreeCorrectedSbm
from... | 47.4689 | 116 | 0.672009 | 1,193 | 9,921 | 5.20285 | 0.11316 | 0.191397 | 0.067666 | 0.093443 | 0.868536 | 0.852425 | 0.852425 | 0.846786 | 0.843886 | 0.843886 | 0 | 0.010664 | 0.243826 | 9,921 | 209 | 117 | 47.4689 | 0.816716 | 0.206028 | 0 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0 | 0.038462 | 0 | 0.169231 | 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 |
7f7ee6e9933cd0117ae68c10e8ce70eb8c3e275e | 14,347 | py | Python | control/tests/test_api_question_file.py | SocialGouv/ecollecte | 1bfce2e0700b563c111c11452356b46ecb2630e4 | [
"MIT"
] | 9 | 2018-11-28T07:36:37.000Z | 2022-02-04T12:56:11.000Z | control/tests/test_api_question_file.py | betagouv/e-controle | b6f790ca2590ac257a47930a1e521b86ce3edb29 | [
"MIT"
] | 154 | 2018-11-22T14:41:17.000Z | 2022-02-12T08:48:57.000Z | control/tests/test_api_question_file.py | betagouv/e-controle | b6f790ca2590ac257a47930a1e521b86ce3edb29 | [
"MIT"
] | 10 | 2018-11-13T06:57:10.000Z | 2022-03-21T13:04:49.000Z | from pytest import mark
from django.contrib.auth import get_user_model
from django.shortcuts import reverse
from rest_framework.test import APIClient
from control.models import Control, QuestionFile, Questionnaire
from tests import factories, utils
from user_profiles.models import UserProfile
pytestmark = mark.djan... | 37.755263 | 95 | 0.775354 | 1,650 | 14,347 | 6.494545 | 0.067273 | 0.100784 | 0.050392 | 0.074468 | 0.897536 | 0.882699 | 0.866275 | 0.811124 | 0.781728 | 0.756346 | 0 | 0.007978 | 0.135081 | 14,347 | 379 | 96 | 37.854881 | 0.855589 | 0.012616 | 0 | 0.727941 | 0 | 0 | 0.022547 | 0.003534 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.084559 | false | 0 | 0.025735 | 0.007353 | 0.125 | 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 |
7f8232bbb830d04a89909ffff83c22e464a7d30d | 658 | py | Python | own_practice/two_twelve.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | null | null | null | own_practice/two_twelve.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 4 | 2019-11-07T12:32:19.000Z | 2020-07-19T14:04:44.000Z | own_practice/two_twelve.py | Ellis0817/Introduction-to-Programming-Using-Python | 1882a2a846162d5ff56d4d56c3940b638ef408bd | [
"MIT"
] | 5 | 2019-12-04T15:56:55.000Z | 2022-01-14T06:19:18.000Z | """
程式設計練習題 2.2-2.10 2.12 列印表格.
請撰寫一程式,顯示以下這個表格:
```
a b a ** b
1 2 1
2 3 8
3 4 81
4 5 1024
5 6 15625
```
"""
A_PRINT = 1
B_PRINT = 2
AB = A_PRINT ** B_PRINT
print("a", "b", "a ** b")
print(A_PRINT, B_PRINT, AB)
A_PRINT += 1
B_PRINT += 1
AB = A_PRINT ** B_PRINT
print(... | 14.304348 | 27 | 0.588146 | 136 | 658 | 2.580882 | 0.147059 | 0.324786 | 0.239316 | 0.410256 | 0.817664 | 0.780627 | 0.780627 | 0.723647 | 0.723647 | 0.723647 | 0 | 0.088843 | 0.264438 | 658 | 45 | 28 | 14.622222 | 0.636364 | 0.227964 | 0 | 0.88 | 0 | 0 | 0.016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.28 | 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 |
f69ce4649d313633435c0a82a4defb358ff6ed08 | 54 | py | Python | projects/mypackage/__init__.py | monaen/DHLO2021-2021Spring | 4953e0305b5b9b01341345c25933c1f2d0224104 | [
"Apache-2.0"
] | 2 | 2021-03-03T06:19:36.000Z | 2021-09-27T09:47:00.000Z | projects/mypackage/__init__.py | monaen/DHLO2021-2021Spring | 4953e0305b5b9b01341345c25933c1f2d0224104 | [
"Apache-2.0"
] | null | null | null | projects/mypackage/__init__.py | monaen/DHLO2021-2021Spring | 4953e0305b5b9b01341345c25933c1f2d0224104 | [
"Apache-2.0"
] | null | null | null | from . import generate_num
from . import print_results | 27 | 27 | 0.833333 | 8 | 54 | 5.375 | 0.75 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 27 | 27 | 0.914894 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
12431a4f4d78b3a4fe80a92cbf0b4e13495035b1 | 3,710 | py | Python | official/vision/beta/projects/volumetric_models/losses/segmentation_losses_test.py | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | official/vision/beta/projects/volumetric_models/losses/segmentation_losses_test.py | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | official/vision/beta/projects/volumetric_models/losses/segmentation_losses_test.py | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
# Copyright 2021 The TensorFlow Authors. 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
#
# Unles... | 41.685393 | 87 | 0.712129 | 491 | 3,710 | 5.268839 | 0.250509 | 0.046386 | 0.006958 | 0.023193 | 0.947043 | 0.947043 | 0.947043 | 0.947043 | 0.947043 | 0.94627 | 0 | 0.051905 | 0.179515 | 3,710 | 88 | 88 | 42.159091 | 0.797963 | 0.313477 | 0 | 0.744186 | 0 | 0 | 0.030353 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0 | null | null | 0 | 0.139535 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
89e54ee69b4064550fbd7562391336ba2a0d2bfd | 46,560 | py | Python | src/dataops/tests/test_views.py | Lukahm/ontask | f16bdaa06ea450ee56d4581340e611b1076bed16 | [
"MIT"
] | 3 | 2018-08-24T10:48:40.000Z | 2020-05-29T06:33:23.000Z | src/dataops/tests/test_views.py | Lukahm/ontask | f16bdaa06ea450ee56d4581340e611b1076bed16 | [
"MIT"
] | null | null | null | src/dataops/tests/test_views.py | Lukahm/ontask | f16bdaa06ea450ee56d4581340e611b1076bed16 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
import os
from django.conf import settings
from django.shortcuts import reverse
from django.utils.html import escape
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from seleniu... | 39.524618 | 80 | 0.616817 | 5,698 | 46,560 | 4.765883 | 0.061074 | 0.147592 | 0.130211 | 0.187178 | 0.886876 | 0.872257 | 0.857195 | 0.845854 | 0.816983 | 0.797209 | 0 | 0.012306 | 0.258247 | 46,560 | 1,177 | 81 | 39.558199 | 0.774004 | 0.102298 | 0 | 0.687799 | 0 | 0.013158 | 0.188937 | 0.108081 | 0 | 0 | 0 | 0 | 0.046651 | 1 | 0.016746 | false | 0 | 0.021531 | 0 | 0.053828 | 0.001196 | 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 |
d61423b02a0349218f2fd6cfe6434e4146b9fcd3 | 5,925 | py | Python | test/test_edit_group.py | elaginm/python_training | b0d76d3eac93d90401b6b3a137d3dc9a8caa8a5f | [
"Apache-2.0"
] | null | null | null | test/test_edit_group.py | elaginm/python_training | b0d76d3eac93d90401b6b3a137d3dc9a8caa8a5f | [
"Apache-2.0"
] | null | null | null | test/test_edit_group.py | elaginm/python_training | b0d76d3eac93d90401b6b3a137d3dc9a8caa8a5f | [
"Apache-2.0"
] | null | null | null | from model.group import Group
import random
import pytest
def test_edit_name(app, db, check_ui):
with pytest.allure.step('Given a non-empty group list'):
old_groups = db.get_group_list()
group = Group(name="New group")
if app.group.count() == 0:
app.group.create(Group(name="Tes... | 48.565574 | 133 | 0.582954 | 801 | 5,925 | 4.058677 | 0.088639 | 0.088588 | 0.059059 | 0.051676 | 0.851738 | 0.84128 | 0.830514 | 0.806829 | 0.792064 | 0.792064 | 0 | 0.001946 | 0.306329 | 5,925 | 121 | 134 | 48.966942 | 0.789051 | 0.225485 | 0 | 0.8 | 0 | 0 | 0.097497 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.0375 | false | 0 | 0.0375 | 0 | 0.075 | 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 |
d6210edd53242f12fbb0b0534d1626cd7e8cb2bd | 16,153 | py | Python | transformers/transformer_models.py | TomMakkink/transformers-for-rl | 9d025f92611e957004030af9ef05a07e320856a7 | [
"MIT"
] | 1 | 2022-03-09T20:44:27.000Z | 2022-03-09T20:44:27.000Z | transformers/transformer_models.py | TomMakkink/transformers-for-rl | 9d025f92611e957004030af9ef05a07e320856a7 | [
"MIT"
] | null | null | null | transformers/transformer_models.py | TomMakkink/transformers-for-rl | 9d025f92611e957004030af9ef05a07e320856a7 | [
"MIT"
] | null | null | null | import math
import torch
import torch.nn as nn
from torch.nn.init import xavier_uniform_
from transformers import PositionalEncoding, RelativeCoordinateEncoding
Tensor = torch.Tensor
class TransformerModel(nn.Module):
"""
Transformer baseclass.
"""
def __init__(
self,
d_model: int,
... | 34.006316 | 84 | 0.582369 | 1,902 | 16,153 | 4.737119 | 0.111462 | 0.031077 | 0.037736 | 0.009323 | 0.820644 | 0.771032 | 0.746393 | 0.729634 | 0.729301 | 0.677248 | 0 | 0.007844 | 0.329103 | 16,153 | 474 | 85 | 34.078059 | 0.823567 | 0.159908 | 0 | 0.712934 | 0 | 0 | 0.016318 | 0 | 0 | 0 | 0 | 0 | 0.018927 | 1 | 0.047319 | false | 0 | 0.015773 | 0 | 0.113565 | 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 |
c3ac2f2e7ba9f3605cbe311ad5cf6c302cf91760 | 4,719 | py | Python | simple/migrations/0002_auto_20170809_2141.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 12 | 2018-04-20T20:06:48.000Z | 2022-03-23T08:11:11.000Z | simple/migrations/0002_auto_20170809_2141.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 16 | 2018-03-09T22:30:35.000Z | 2021-09-07T23:36:05.000Z | simple/migrations/0002_auto_20170809_2141.py | littleweaver/wagtail-project-template | 34d9b2f659fab2c530902b650e2fc76410b8a22f | [
"BSD-3-Clause"
] | 1 | 2019-08-02T20:17:35.000Z | 2019-08-02T20:17:35.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-09 21:41
from __future__ import unicode_literals
from django.db import migrations
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.embeds.blocks
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = ... | 157.3 | 2,079 | 0.680017 | 536 | 4,719 | 5.91791 | 0.205224 | 0.173392 | 0.251892 | 0.123581 | 0.871375 | 0.871375 | 0.871375 | 0.871375 | 0.871375 | 0.871375 | 0 | 0.00623 | 0.081585 | 4,719 | 29 | 2,080 | 162.724138 | 0.725658 | 0.01441 | 0 | 0.272727 | 1 | 0 | 0.271084 | 0.03012 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.272727 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c3ee00df15a8824ea7ba3f779e43593ff8eee6db | 1,378 | py | Python | vue_crud_data/models.py | TakeshiOkamoto/mpp_vue_crud_dj | b09c39e82c014c842de66ed86b86c519962e5284 | [
"Unlicense"
] | null | null | null | vue_crud_data/models.py | TakeshiOkamoto/mpp_vue_crud_dj | b09c39e82c014c842de66ed86b86c519962e5284 | [
"Unlicense"
] | null | null | null | vue_crud_data/models.py | TakeshiOkamoto/mpp_vue_crud_dj | b09c39e82c014c842de66ed86b86c519962e5284 | [
"Unlicense"
] | null | null | null | from django.db import models
from django.core.validators import MaxLengthValidator
# CRUD
class VueCrudData(models.Model):
class Meta:
db_table = 'vue_crud_data'
verbose_name = 'CRUD'
# 名前
name = models.CharField(verbose_name='名前', \
max_length=100, default='', \
validator... | 26 | 66 | 0.632075 | 156 | 1,378 | 5.358974 | 0.288462 | 0.078947 | 0.167464 | 0.119617 | 0.820574 | 0.820574 | 0.820574 | 0.820574 | 0.820574 | 0.729665 | 0 | 0.026515 | 0.233672 | 1,378 | 52 | 67 | 26.5 | 0.765152 | 0.035559 | 0 | 0.733333 | 0 | 0 | 0.058422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0.066667 | 0.6 | 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 | 1 | 0 | 0 | 8 |
61681495be2c98af574716b5dea48d768223ae8c | 12,164 | py | Python | holistic.py | anmolmalik01/mediapipe | 703bb138bc9a3aab7a0b9514708f4ae2fb98fba6 | [
"MIT"
] | 1 | 2021-12-10T18:20:08.000Z | 2021-12-10T18:20:08.000Z | holistic.py | anmolmalik01/mediapipe | 703bb138bc9a3aab7a0b9514708f4ae2fb98fba6 | [
"MIT"
] | null | null | null | holistic.py | anmolmalik01/mediapipe | 703bb138bc9a3aab7a0b9514708f4ae2fb98fba6 | [
"MIT"
] | null | null | null | import cv2
import mediapipe as mp
import time
class mediapipe:
# ============================================ init =================================================
def __init__(self):
# mediapipe solutions variable
mp_drawing = mp.solutions.drawing_utils
mp_holistic = mp.solutions.holistic
mp... | 33.054348 | 124 | 0.573167 | 1,363 | 12,164 | 4.91416 | 0.101247 | 0.043894 | 0.056285 | 0.043147 | 0.850552 | 0.843983 | 0.843983 | 0.832039 | 0.816363 | 0.806211 | 0 | 0.035234 | 0.27902 | 12,164 | 368 | 125 | 33.054348 | 0.728506 | 0.14732 | 0 | 0.714286 | 0 | 0 | 0.023569 | 0 | 0 | 0 | 0.00194 | 0 | 0 | 1 | 0.02765 | false | 0 | 0.013825 | 0 | 0.046083 | 0.023041 | 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 |
f628266897bc73be2028fc72ce00a6d5ddaec41b | 40,675 | py | Python | atomate/qchem/fireworks/core.py | fraricci/atomate | ac8997888d79730a697aa166d5bcd516a7222d01 | [
"BSD-3-Clause-LBNL"
] | null | null | null | atomate/qchem/fireworks/core.py | fraricci/atomate | ac8997888d79730a697aa166d5bcd516a7222d01 | [
"BSD-3-Clause-LBNL"
] | null | null | null | atomate/qchem/fireworks/core.py | fraricci/atomate | ac8997888d79730a697aa166d5bcd516a7222d01 | [
"BSD-3-Clause-LBNL"
] | null | null | null | # Defines standardized Fireworks that can be chained easily to perform various
# sequences of QChem calculations.
import copy
from itertools import chain
from fireworks import Firework
from atomate.qchem.firetasks.critic2 import ProcessCritic2, RunCritic2
from atomate.qchem.firetasks.fragmenter import FragmentMolecu... | 45.80518 | 106 | 0.593092 | 4,700 | 40,675 | 4.939574 | 0.082766 | 0.041351 | 0.05858 | 0.022484 | 0.877498 | 0.873406 | 0.86617 | 0.850362 | 0.846011 | 0.833262 | 0 | 0.005028 | 0.339939 | 40,675 | 887 | 107 | 45.856821 | 0.859692 | 0.529269 | 0 | 0.727447 | 0 | 0 | 0.085773 | 0.004679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019194 | false | 0 | 0.017274 | 0 | 0.055662 | 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 |
f6514a00351bafe72d2ddee36994708bbb7f30ad | 51 | py | Python | instance/config.py | wanjikuciku/News-highlight | d7e0939488aa15bea713e6c30a18bafd5be3e01a | [
"Unlicense"
] | null | null | null | instance/config.py | wanjikuciku/News-highlight | d7e0939488aa15bea713e6c30a18bafd5be3e01a | [
"Unlicense"
] | null | null | null | instance/config.py | wanjikuciku/News-highlight | d7e0939488aa15bea713e6c30a18bafd5be3e01a | [
"Unlicense"
] | null | null | null | NEWS_API_KEY = '<8d5f514bd83b414e9cc06c4df0ae8727>' | 51 | 51 | 0.862745 | 4 | 51 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.387755 | 0.039216 | 51 | 1 | 51 | 51 | 0.469388 | 0 | 0 | 0 | 0 | 0 | 0.653846 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c8c791e6d197a6296f7914ad78462a1e5f0326b | 10,145 | py | Python | Packs/Campaign/Scripts/SetPhishingCampaignDetails/test_data/campaign_data.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/Campaign/Scripts/SetPhishingCampaignDetails/test_data/campaign_data.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/Campaign/Scripts/SetPhishingCampaignDetails/test_data/campaign_data.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | CAMPAIGN_INCIDENT_CONTEXT = {
"EmailCampaign": {
"firstIncidentDate": "2021-11-21T14:00:07.425185+00:00",
"incidents": [
{
"emailfrom": "examplesupport@example2.com",
"emailfromdomain": "example.com",
"id": "1",
"name": "Ver... | 33.592715 | 102 | 0.407097 | 666 | 10,145 | 6.165165 | 0.103604 | 0.09547 | 0.105699 | 0.115928 | 0.96152 | 0.96152 | 0.958841 | 0.958841 | 0.958841 | 0.947881 | 0 | 0.115886 | 0.463282 | 10,145 | 301 | 103 | 33.704319 | 0.6382 | 0 | 0 | 0.789298 | 0 | 0 | 0.402661 | 0.15377 | 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 | 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 |
9cac519b9b19b3203af1c4ad2219f1501a79a95f | 165 | py | Python | tests/test_base.py | AGaliciaMartinez/qutip-tensorflow | 1768387250271d6083626c10b83ea86bbb973ebf | [
"BSD-3-Clause"
] | 2 | 2021-05-24T23:19:21.000Z | 2021-05-25T07:45:13.000Z | tests/test_base.py | AGaliciaMartinez/qutip-tensorflow | 1768387250271d6083626c10b83ea86bbb973ebf | [
"BSD-3-Clause"
] | null | null | null | tests/test_base.py | AGaliciaMartinez/qutip-tensorflow | 1768387250271d6083626c10b83ea86bbb973ebf | [
"BSD-3-Clause"
] | null | null | null | # This is a dummy test file; delete it once the package actually has tests.
def test_import():
import qutip_tensorflow
assert qutip_tensorflow.__version__
| 23.571429 | 75 | 0.769697 | 24 | 165 | 5 | 0.833333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187879 | 165 | 6 | 76 | 27.5 | 0.895522 | 0.442424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 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 |
1ad2b91aa923995a47386d91a6b7325029404326 | 124,658 | py | Python | dnaplotlib/dnaplotlib.py | scaralbi/dnaplotlib | a1fdd12ac3f3df1b16a0351402b8fe4f29b388d9 | [
"MIT"
] | 1 | 2020-09-18T17:38:53.000Z | 2020-09-18T17:38:53.000Z | dnaplotlib/dnaplotlib/dnaplotlib.py | CIDARLAB/pidgeon | 875f3883aeac03b1c38bc592f262e18a390f482b | [
"BSD-3-Clause"
] | 2 | 2020-05-19T21:04:24.000Z | 2020-05-20T23:56:07.000Z | dnaplotlib/dnaplotlib/dnaplotlib.py | CIDARLAB/pidgeon | 875f3883aeac03b1c38bc592f262e18a390f482b | [
"BSD-3-Clause"
] | 3 | 2020-05-19T16:23:09.000Z | 2020-08-04T22:28:21.000Z | #!/usr/bin/env python
"""
DNAplotlib
==========
This module is designed to allow for highly customisable visualisation of DNA
fragments. Diagrams can be in the form of conceptual SBOL compliant icons or
make use of icons whose width is scaled to allow for easier comparison of part
locations to trace in... | 41.442154 | 180 | 0.555921 | 15,952 | 124,658 | 4.130955 | 0.041249 | 0.034311 | 0.045526 | 0.063736 | 0.814362 | 0.795863 | 0.784072 | 0.775255 | 0.768942 | 0.762523 | 0 | 0.022799 | 0.316338 | 124,658 | 3,007 | 181 | 41.455936 | 0.750422 | 0.1095 | 0 | 0.704516 | 0 | 0 | 0.069702 | 0.001002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019355 | false | 0 | 0.004301 | 0 | 0.052903 | 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 |
2106084a4b3c49c736096e104370e9d411dc4f38 | 153 | py | Python | Code/RunFragility.py | ChimieleCode/OpenSees_Script | 58dcd187e5eda1bf92f8f2c4fc83b74d9108372d | [
"MIT"
] | null | null | null | Code/RunFragility.py | ChimieleCode/OpenSees_Script | 58dcd187e5eda1bf92f8f2c4fc83b74d9108372d | [
"MIT"
] | null | null | null | Code/RunFragility.py | ChimieleCode/OpenSees_Script | 58dcd187e5eda1bf92f8f2c4fc83b74d9108372d | [
"MIT"
] | null | null | null | from ModelOptions import compute_local_fragility
import Fragility.GlobalRegression
if compute_local_fragility:
import Fragility.LocalCurve
| 19.125 | 49 | 0.823529 | 16 | 153 | 7.625 | 0.5625 | 0.196721 | 0.344262 | 0.442623 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 7 | 50 | 21.857143 | 0.945736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
210d05fd890b8d29f9e5c24f4503e0c3c308558b | 201 | py | Python | pengujian/admin.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | null | null | null | pengujian/admin.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | null | null | null | pengujian/admin.py | userbaruu/aerotron | f2f2fb7797a75a7a3b3c0eb3836193bc05650c65 | [
"MIT"
] | 1 | 2021-07-28T23:19:27.000Z | 2021-07-28T23:19:27.000Z | from django.contrib import admin
from pengujian.models.paket import PaketPengujian
from pengujian.models.pengujian import Pengujian
admin.site.register(Pengujian)
admin.site.register(PaketPengujian)
| 25.125 | 49 | 0.855721 | 25 | 201 | 6.88 | 0.44 | 0.151163 | 0.22093 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079602 | 201 | 7 | 50 | 28.714286 | 0.92973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
dcc63c5f04082066265bbd3767fa7dc9385e4b59 | 43 | py | Python | app/user/tests/__init__.py | karserasl/recipe-app-api | 0b107210fc3d079d5e644855d8cc4fb7b3e392c0 | [
"MIT"
] | null | null | null | app/user/tests/__init__.py | karserasl/recipe-app-api | 0b107210fc3d079d5e644855d8cc4fb7b3e392c0 | [
"MIT"
] | null | null | null | app/user/tests/__init__.py | karserasl/recipe-app-api | 0b107210fc3d079d5e644855d8cc4fb7b3e392c0 | [
"MIT"
] | null | null | null | # @Author: Lam
# @Date: 29/05/2020 20:57
| 14.333333 | 27 | 0.581395 | 8 | 43 | 3.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0.209302 | 43 | 2 | 28 | 21.5 | 0.382353 | 0.883721 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dcc6a5d8042c5daa3ac5488806bdda3196e62757 | 5,453 | py | Python | deepchem/data/tests/test_data_loader.py | hssinejihene/deepchem | 7b5177240eb85a68819b4450635ec9df54afed23 | [
"MIT"
] | null | null | null | deepchem/data/tests/test_data_loader.py | hssinejihene/deepchem | 7b5177240eb85a68819b4450635ec9df54afed23 | [
"MIT"
] | null | null | null | deepchem/data/tests/test_data_loader.py | hssinejihene/deepchem | 7b5177240eb85a68819b4450635ec9df54afed23 | [
"MIT"
] | null | null | null | """
Tests for FeaturizedSamples class
"""
import os
import unittest
import tempfile
import shutil
import deepchem as dc
def test_unlabelled():
current_dir = os.path.dirname(os.path.abspath(__file__))
input_file = os.path.join(current_dir, "../../data/tests/no_labels.csv")
featurizer = dc.feat.CircularFingerpri... | 33.660494 | 79 | 0.738493 | 723 | 5,453 | 5.316736 | 0.131397 | 0.040583 | 0.031217 | 0.03642 | 0.854579 | 0.845473 | 0.836889 | 0.810614 | 0.810614 | 0.772893 | 0 | 0.008514 | 0.138456 | 5,453 | 161 | 80 | 33.869565 | 0.809706 | 0.092976 | 0 | 0.736842 | 0 | 0 | 0.088313 | 0.042831 | 0 | 0 | 0 | 0 | 0.114035 | 1 | 0.061404 | false | 0 | 0.04386 | 0 | 0.105263 | 0.061404 | 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 |
dcd4616bb875b4ddf4a42cea16de07997a0d3e01 | 2,068 | py | Python | project/experiments/exp_800_mile_stone/src/old/tmp_np.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_800_mile_stone/src/old/tmp_np.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | project/experiments/exp_800_mile_stone/src/old/tmp_np.py | liusida/thesis-bodies | dceb8a36efd2cefc611f6749a52b56b9d3572f7a | [
"MIT"
] | null | null | null | # import numpy as np
# a = np.array([17,22,4,2,14,24,0,5,8,7,27,28,15,25,12,9,20,3,29,16,10,6,1,13,18,23,11,26,21,19])
# np.random.shuffle(a)
# print(a.tolist())
# np.random.shuffle(a)
# print(a.tolist())
# np.random.shuffle(a)
# print(a.tolist())
need_rerun = [
{'bodies': [300, 301, 302, 303, 304, 305, 306, 307,... | 47 | 196 | 0.548356 | 348 | 2,068 | 3.235632 | 0.33046 | 0.05595 | 0.0746 | 0.09325 | 0.798401 | 0.769982 | 0.769982 | 0.769982 | 0.769982 | 0.722025 | 0 | 0.359952 | 0.200677 | 2,068 | 43 | 197 | 48.093023 | 0.321234 | 0.111702 | 0 | 0.6 | 0 | 0.033333 | 0.248359 | 0.034464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b4c0a7d92bc717af01a0a886144d8eb72f991bcb | 1,600 | py | Python | module_5/rotated_array.py | Sukhrobjon/career-lab | 67bc38c0eb3b47248157f618cb34ed2bdd44fc78 | [
"MIT"
] | null | null | null | module_5/rotated_array.py | Sukhrobjon/career-lab | 67bc38c0eb3b47248157f618cb34ed2bdd44fc78 | [
"MIT"
] | null | null | null | module_5/rotated_array.py | Sukhrobjon/career-lab | 67bc38c0eb3b47248157f618cb34ed2bdd44fc78 | [
"MIT"
] | null | null | null | def find_pivot_index(nums):
"""
Suppose a sorted array A is rotated at some pivot unknown to you
beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
Find the minimum element. NOTE: The array will not contain duplicates.
"""
min_num = nums[0]
pivot_index = 0
left = 0
right =... | 25 | 74 | 0.55625 | 245 | 1,600 | 3.514286 | 0.220408 | 0.150987 | 0.092915 | 0.023229 | 0.891986 | 0.891986 | 0.826945 | 0.818815 | 0.818815 | 0.739837 | 0 | 0.06 | 0.34375 | 1,600 | 63 | 75 | 25.396825 | 0.76 | 0.28875 | 0 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.157895 | 0.078947 | 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 |
372575e3b213d1b064d53cd656ebb576d0c5557c | 12,117 | py | Python | etl_base/dags/sqlg_jobs_HRM.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | null | null | null | etl_base/dags/sqlg_jobs_HRM.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | null | null | null | etl_base/dags/sqlg_jobs_HRM.py | buckylee2019/sqlg-airflow | 37610a23b99bea8d9fdc8b066a01736ff2ff0c9d | [
"Apache-2.0"
] | 1 | 2022-03-10T03:47:35.000Z | 2022-03-10T03:47:35.000Z |
# -*- coding: utf-8 -*-
# Author : Jesse Wei
# LastUpdate : 2020/10/04
# Impact : Jobs generated by SQLG
# Message : Humanity towards others, we live by sharing. Fear can hold you prisoner, only hope can set you free.
# from __future__ import print_function
import logging
import airflow
from d... | 27.791284 | 118 | 0.633408 | 1,453 | 12,117 | 4.854783 | 0.087405 | 0.139495 | 0.104621 | 0.081372 | 0.813864 | 0.810746 | 0.810746 | 0.807343 | 0.807343 | 0.807343 | 0 | 0.001145 | 0.206982 | 12,117 | 435 | 119 | 27.855172 | 0.732855 | 0.084344 | 0 | 0.602941 | 1 | 0 | 0.287305 | 0.006338 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032353 | null | null | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3730609d0587a60db464887b9e2ef29dc7a1a964 | 8,423 | py | Python | sitch/tests/christmas_tree/device_samples.py | codecuisine/sensor | 06fb0908178af1ab673b95e7f435b873cc62e61b | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 68 | 2016-08-08T17:28:59.000Z | 2021-11-26T09:31:52.000Z | sitch/tests/christmas_tree/device_samples.py | codecuisine/sensor | 06fb0908178af1ab673b95e7f435b873cc62e61b | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 61 | 2016-08-20T21:01:01.000Z | 2020-07-22T06:10:45.000Z | sitch/tests/christmas_tree/device_samples.py | codecuisine/sensor | 06fb0908178af1ab673b95e7f435b873cc62e61b | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 40 | 2017-01-28T23:06:22.000Z | 2021-08-13T15:09:43.000Z | class DeviceSamples(object):
gps_device_loc_a = {"scan_program": "gpsd",
"event_type": "gps_scan",
"site_name": "test_site",
"sensor_id": "test_sensor_id",
"sensor_name": "test_sensor",
"type": "F... | 54.694805 | 78 | 0.389054 | 777 | 8,423 | 4.043758 | 0.212355 | 0.021006 | 0.028008 | 0.028644 | 0.846913 | 0.813813 | 0.762253 | 0.762253 | 0.701464 | 0.701464 | 0 | 0.187797 | 0.425976 | 8,423 | 153 | 79 | 55.052288 | 0.462048 | 0.008429 | 0 | 0.684932 | 0 | 0 | 0.357648 | 0.02635 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2eace84ba4aec462e25df23624f099926a5c1100 | 3,368 | py | Python | fixture/contact.py | AdKrajan/python_training | 1315b58c07db4d02bc46ae65e5c358fdbf78dbc0 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | AdKrajan/python_training | 1315b58c07db4d02bc46ae65e5c358fdbf78dbc0 | [
"Apache-2.0"
] | null | null | null | fixture/contact.py | AdKrajan/python_training | 1315b58c07db4d02bc46ae65e5c358fdbf78dbc0 | [
"Apache-2.0"
] | null | null | null | class ContactHelper:
def __init__(self, app):
self.app = app
def open_add_contact_page(self):
# open add creation new contact
wd = self.app.wd
wd.find_element_by_link_text("add new").click()
def fill_form(self, contact):
# fill contacts form
wd = self.app.w... | 43.74026 | 92 | 0.674584 | 481 | 3,368 | 4.336798 | 0.133056 | 0.129434 | 0.267977 | 0.309204 | 0.825024 | 0.785714 | 0.77373 | 0.74257 | 0.74257 | 0.715244 | 0 | 0.002186 | 0.184976 | 3,368 | 77 | 93 | 43.74026 | 0.757741 | 0.024941 | 0 | 0.71875 | 0 | 0 | 0.119207 | 0.037805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109375 | false | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 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 | 9 |
2eb2974027709cc1e0ec9dc6c67cf2fab7162c13 | 4,875 | py | Python | model/model_config.py | shijun18/TMLI-PLAN | 0097d5674852eba75487b153600fc1cd5518b2a8 | [
"MIT"
] | 6 | 2021-07-26T08:01:55.000Z | 2022-02-07T01:52:53.000Z | model/model_config.py | shijun18/TMLI-PLAN | 0097d5674852eba75487b153600fc1cd5518b2a8 | [
"MIT"
] | null | null | null | model/model_config.py | shijun18/TMLI-PLAN | 0097d5674852eba75487b153600fc1cd5518b2a8 | [
"MIT"
] | 2 | 2022-02-28T07:13:12.000Z | 2022-03-01T07:12:52.000Z | MODEL_CONFIG = {
'unet':{
'simplenet':{
'in_channels':1,
'encoder_name':'simplenet',
'encoder_depth':5,
'encoder_channels':[32,64,128,256,512], #[1,2,4,8,16]
'encoder_weights':None,
'decoder_use_batchnorm':True,
'decoder_at... | 34.090909 | 67 | 0.489846 | 509 | 4,875 | 4.459725 | 0.100196 | 0.087225 | 0.048458 | 0.079295 | 0.944934 | 0.944934 | 0.944934 | 0.928634 | 0.886784 | 0.886784 | 0 | 0.125396 | 0.352205 | 4,875 | 143 | 68 | 34.090909 | 0.593414 | 0.050667 | 0 | 0.828571 | 0 | 0 | 0.394788 | 0.088599 | 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 | 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 |
2ef48423560f58a00ccd135216e6bc0bac6865e7 | 14,022 | py | Python | tests/multirun/test_basic_serial.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | tests/multirun/test_basic_serial.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | tests/multirun/test_basic_serial.py | ORNL-Fusion/IPS-framework | b91951032393cc15eb828cf787d583ea686204cc | [
"BSD-3-Clause"
] | null | null | null | import os
import shutil
import glob
import pytest
from ipsframework import Framework
def copy_config_and_replace(infile, srcdir, tmpdir):
with open(os.path.join(srcdir, infile), "r") as fin:
with open(os.path.join(tmpdir, infile), "w") as fout:
for line in fin:
if line.startswi... | 50.438849 | 155 | 0.656254 | 1,970 | 14,022 | 4.447716 | 0.092386 | 0.059005 | 0.079548 | 0.038804 | 0.90436 | 0.880963 | 0.866697 | 0.811116 | 0.811116 | 0.773454 | 0 | 0.034267 | 0.213308 | 14,022 | 277 | 156 | 50.620939 | 0.76004 | 0.048852 | 0 | 0.703911 | 0 | 0.022346 | 0.337449 | 0.151819 | 0 | 0 | 0 | 0 | 0.26257 | 1 | 0.022346 | false | 0 | 0.027933 | 0 | 0.050279 | 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 |
d31440ed4e9fbf947a8c3d508857ceca16c6aead | 113 | py | Python | saleor/core/__init__.py | X10project/rob_photography | baaeed11e13d1f4977c24f5f6601b1c6fbcf39b5 | [
"BSD-3-Clause"
] | 3 | 2015-12-30T19:06:27.000Z | 2021-10-06T04:23:36.000Z | saleor/core/__init__.py | X10project/rob_photography | baaeed11e13d1f4977c24f5f6601b1c6fbcf39b5 | [
"BSD-3-Clause"
] | null | null | null | saleor/core/__init__.py | X10project/rob_photography | baaeed11e13d1f4977c24f5f6601b1c6fbcf39b5 | [
"BSD-3-Clause"
] | 4 | 2019-09-17T11:39:41.000Z | 2022-01-24T10:22:50.000Z |
TOKEN_PATTERN = ('(?P<token>[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}'
'-[0-9a-z]{12})')
| 28.25 | 76 | 0.39823 | 24 | 113 | 1.833333 | 0.375 | 0.340909 | 0.454545 | 0.340909 | 0.431818 | 0.431818 | 0.431818 | 0.431818 | 0.431818 | 0.431818 | 0 | 0.175824 | 0.19469 | 113 | 3 | 77 | 37.666667 | 0.307692 | 0 | 0 | 0 | 0 | 0.5 | 0.633929 | 0.508929 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d32980615396492dbc9c686b56facfbaafbfdd70 | 169,101 | py | Python | dingtalk/python/alibabacloud_dingtalk/exclusive_1_0/models.py | aliyun/dingtalk-sdk | ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5 | [
"Apache-2.0"
] | 15 | 2020-08-27T04:10:26.000Z | 2022-03-07T06:25:42.000Z | dingtalk/python/alibabacloud_dingtalk/exclusive_1_0/models.py | aliyun/dingtalk-sdk | ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5 | [
"Apache-2.0"
] | 1 | 2020-09-27T01:30:46.000Z | 2021-12-29T09:15:34.000Z | dingtalk/python/alibabacloud_dingtalk/exclusive_1_0/models.py | aliyun/dingtalk-sdk | ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5 | [
"Apache-2.0"
] | 5 | 2020-08-27T04:07:44.000Z | 2021-12-03T02:55:20.000Z | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
from typing import Dict, List, Any
class GetConferenceDetailHeaders(TeaModel):
def __init__(
self,
common_headers: Dict[str, str] = None,
x_acs_dingtalk_access_token: str = None,
... | 31.182187 | 103 | 0.58471 | 21,292 | 169,101 | 4.426498 | 0.027428 | 0.047375 | 0.085274 | 0.05825 | 0.793356 | 0.74717 | 0.72283 | 0.709886 | 0.703859 | 0.69884 | 0 | 0.001694 | 0.319259 | 169,101 | 5,422 | 104 | 31.187938 | 0.817051 | 0.009976 | 0 | 0.815098 | 1 | 0 | 0.078515 | 0.018666 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114132 | false | 0.017973 | 0.000449 | 0 | 0.228713 | 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 |
d343e11db61eb572d2999b2132ba33b5bd85c779 | 2,893 | py | Python | solved_problems/8_Largest product in a series.py | anajulijapreseren/Project_Euler | e599084b778cbcfc09b7c79b1dd406d80cce6bbf | [
"MIT"
] | null | null | null | solved_problems/8_Largest product in a series.py | anajulijapreseren/Project_Euler | e599084b778cbcfc09b7c79b1dd406d80cce6bbf | [
"MIT"
] | null | null | null | solved_problems/8_Largest product in a series.py | anajulijapreseren/Project_Euler | e599084b778cbcfc09b7c79b1dd406d80cce6bbf | [
"MIT"
] | null | null | null | # The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
##
#73167176531330624919225119674426574742355349194934
#96983520312774506326239578318016984801869478851843
#85861560789112949495459501737958331952853208805511
#12540698747158523863050715693290963295227443043557
... | 41.328571 | 108 | 0.86692 | 166 | 2,893 | 15.036145 | 0.433735 | 0.017628 | 0.028846 | 0.015224 | 0.849359 | 0.849359 | 0.849359 | 0.849359 | 0.849359 | 0.849359 | 0 | 0.774771 | 0.092983 | 2,893 | 70 | 109 | 41.328571 | 0.175305 | 0.443139 | 0 | 0 | 0 | 0 | 0.646835 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0 | 0 | 0.1 | 0.025 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d35825d58ffb0c07f5d2cd01ff45e82f6bd92bf0 | 101 | py | Python | env/Lib/site-packages/pymssql/__init__.py | acadianshadow237/BA_MDI1 | 73e0e87c15ff083ce860f7a09fa2de3a3c71c215 | [
"MIT"
] | 5 | 2021-04-05T23:47:06.000Z | 2021-09-18T14:50:37.000Z | env/Lib/site-packages/pymssql/__init__.py | acadianshadow237/BA_MDI1 | 73e0e87c15ff083ce860f7a09fa2de3a3c71c215 | [
"MIT"
] | null | null | null | env/Lib/site-packages/pymssql/__init__.py | acadianshadow237/BA_MDI1 | 73e0e87c15ff083ce860f7a09fa2de3a3c71c215 | [
"MIT"
] | 1 | 2021-09-12T13:26:15.000Z | 2021-09-12T13:26:15.000Z | # -*- coding: utf-8 -*-
from ._pymssql import *
from ._pymssql import __version__, __full_version__
| 20.2 | 51 | 0.722772 | 12 | 101 | 5.166667 | 0.666667 | 0.354839 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.148515 | 101 | 4 | 52 | 25.25 | 0.709302 | 0.207921 | 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 |
6cfd1c381d03faefe1c211c47421747c073f1825 | 27,581 | py | Python | tests/test_commands/test_list_command.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | tests/test_commands/test_list_command.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | 1 | 2021-03-25T23:21:02.000Z | 2021-03-25T23:21:02.000Z | tests/test_commands/test_list_command.py | p-sherratt/shellfoundry | d1f35a31123b9e701c801345fb633b6fda5420b7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
import unittest
import httpretty
from pyfakefs import fake_filesystem_unittest
from click import UsageError, ClickException
from mock import Mock, MagicMock, patch
from requests.exceptions import SSLError
from cloudshell.rest.api import FeatureUnavailable
from shellfoundry.c... | 54.507905 | 151 | 0.555346 | 2,589 | 27,581 | 5.722287 | 0.086906 | 0.008235 | 0.014985 | 0.043874 | 0.863989 | 0.857037 | 0.853729 | 0.846777 | 0.842727 | 0.81971 | 0 | 0.017849 | 0.339835 | 27,581 | 505 | 152 | 54.615842 | 0.795804 | 0.022624 | 0 | 0.747368 | 0 | 0.007895 | 0.488981 | 0.114237 | 0 | 0 | 0 | 0 | 0.034211 | 1 | 0.039474 | false | 0 | 0.028947 | 0.002632 | 0.076316 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.