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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2c6dc6d2f2d139dbc12c86fbee8616ccb3a0c4ab | 119 | py | Python | editor/admin.py | sovcn/cpsc427editor | b37be529deef60d3751dabb3986a3a6747a570db | [
"MIT"
] | null | null | null | editor/admin.py | sovcn/cpsc427editor | b37be529deef60d3751dabb3986a3a6747a570db | [
"MIT"
] | 2 | 2020-02-11T23:53:17.000Z | 2021-06-10T19:27:50.000Z | editor/admin.py | sovcn/cpsc427editor | b37be529deef60d3751dabb3986a3a6747a570db | [
"MIT"
] | null | null | null | from django.contrib import admin
from editor.models import File
# Register your models here.
admin.site.register(File) | 23.8 | 32 | 0.815126 | 18 | 119 | 5.388889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 33 | 23.8 | 0.92381 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2c9a0672c23d357c3c3a737dfce0986feaaeca11 | 215 | py | Python | start/gcd.py | minicloudsky/Algorithms-in-Python | d1ce3213d887494c35fc50894767e0beaa20158b | [
"Apache-2.0"
] | null | null | null | start/gcd.py | minicloudsky/Algorithms-in-Python | d1ce3213d887494c35fc50894767e0beaa20158b | [
"Apache-2.0"
] | null | null | null | start/gcd.py | minicloudsky/Algorithms-in-Python | d1ce3213d887494c35fc50894767e0beaa20158b | [
"Apache-2.0"
] | null | null | null | # 欧几里得求最大公约数
def gcd(num1, num2):
if (num1 < num2):
num1, num2 = num2, num1
while num2 != 0:
num1, num2 = num2, num1 % num2
return num1
if __name__ == '__main__':
print(gcd(8, 24))
| 17.916667 | 38 | 0.553488 | 29 | 215 | 3.827586 | 0.482759 | 0.36036 | 0.216216 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 0.311628 | 215 | 11 | 39 | 19.545455 | 0.621622 | 0.046512 | 0 | 0 | 0 | 0 | 0.039409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2cb5f5e70b041984f4d0cb3a74ec4a10240aa64e | 47 | py | Python | python/testData/psi/LambdaComprehension.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/psi/LambdaComprehension.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/LambdaComprehension.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | [x for x in lambda: True, lambda: False if x()] | 47 | 47 | 0.659574 | 10 | 47 | 3.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
390a47ade3b5d448d9b24f03d3bbbd1ef4109142 | 542 | py | Python | emdee/__init__.py | rpconnol/emdee | 6f93c30c4ae3042b5c0dd539f1aeecc49e946000 | [
"MIT"
] | 1 | 2019-03-25T17:56:51.000Z | 2019-03-25T17:56:51.000Z | emdee/__init__.py | rpconnol/emdee | 6f93c30c4ae3042b5c0dd539f1aeecc49e946000 | [
"MIT"
] | null | null | null | emdee/__init__.py | rpconnol/emdee | 6f93c30c4ae3042b5c0dd539f1aeecc49e946000 | [
"MIT"
] | null | null | null | # The main class
from emdee.emdeeClass import Emdee
# These just contain mixins for the main class, for organization
import emdee._emdeePrep
import emdee._emdeeMCMC
import emdee._emdeeStar
import emdee._emdeeSaveLoad
import emdee._emdeeResults
import emdee.emdeeDefaults
import emdee._emdeeExceptions
import numpy as ... | 24.636364 | 68 | 0.819188 | 79 | 542 | 5.518987 | 0.556962 | 0.227064 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140221 | 542 | 22 | 69 | 24.636364 | 0.935622 | 0.422509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
392c67e6779e0bf40708d9a75e89fd10fdcc86ac | 224 | py | Python | docs/example/example-project/example_package/tests/__init__.py | connordelacruz/webdriver-test-tools | fe6906839e4423562c6d4d0aa6b10b2ea90bff6b | [
"MIT"
] | 5 | 2018-07-02T13:18:59.000Z | 2019-10-14T04:55:31.000Z | docs/example/example-project/example_package/tests/__init__.py | connordelacruz/webdriver-test-tools | fe6906839e4423562c6d4d0aa6b10b2ea90bff6b | [
"MIT"
] | 1 | 2019-10-16T20:54:25.000Z | 2019-10-16T20:54:25.000Z | test/page-object-tests/page_object_tests/tests/__init__.py | connordelacruz/webdriver-test-tools | fe6906839e4423562c6d4d0aa6b10b2ea90bff6b | [
"MIT"
] | 1 | 2019-09-03T05:29:41.000Z | 2019-09-03T05:29:41.000Z | import pkgutil
# Detect and import test modules dynamically
__path__ = pkgutil.extend_path(__path__, __name__)
for importer, module, ispkg in pkgutil.walk_packages(path=__path__,prefix=__name__+'.'):
__import__(module)
| 32 | 88 | 0.794643 | 28 | 224 | 5.428571 | 0.642857 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111607 | 224 | 6 | 89 | 37.333333 | 0.763819 | 0.1875 | 0 | 0 | 0 | 0 | 0.005556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
394389b273369b044c10a1714612b70c1342e825 | 12,467 | py | Python | test/test_statement.py | craigthomas/Chip8Assembler | e57f13c6e3e84334742cffbdf891f0e1c14d6163 | [
"MIT"
] | 21 | 2016-12-29T01:33:20.000Z | 2022-01-26T03:33:14.000Z | test/test_statement.py | craigthomas/Chip8Assembler | e57f13c6e3e84334742cffbdf891f0e1c14d6163 | [
"MIT"
] | 1 | 2019-10-10T03:35:56.000Z | 2019-10-10T03:35:56.000Z | test/test_statement.py | craigthomas/Chip8Assembler | e57f13c6e3e84334742cffbdf891f0e1c14d6163 | [
"MIT"
] | 4 | 2017-02-05T18:25:43.000Z | 2021-05-30T10:04:23.000Z | """
Copyright (C) 2012-2019 Craig Thomas
This project uses an MIT style license - see LICENSE for details.
A Chip 8 assembler - see the README.md file for details.
"""
# I M P O R T S ###############################################################
import unittest
from chip8asm.statement import Statement, OPERATIONS
... | 42.841924 | 79 | 0.665357 | 1,339 | 12,467 | 6.022405 | 0.10829 | 0.122768 | 0.145461 | 0.145709 | 0.778026 | 0.740203 | 0.734375 | 0.706101 | 0.633061 | 0.575645 | 0 | 0.009473 | 0.195556 | 12,467 | 290 | 80 | 42.989655 | 0.794596 | 0.024625 | 0 | 0.315353 | 0 | 0 | 0.06228 | 0 | 0 | 0 | 0 | 0 | 0.651452 | 1 | 0.107884 | false | 0.004149 | 0.012448 | 0 | 0.124481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
394a01599c72c6901995ee50f2b5534381b624da | 52 | py | Python | runserver.py | bngsudheer/pani | 1e57524da0b722af6e49db2d691486b5a9c9b031 | [
"BSD-3-Clause"
] | null | null | null | runserver.py | bngsudheer/pani | 1e57524da0b722af6e49db2d691486b5a9c9b031 | [
"BSD-3-Clause"
] | null | null | null | runserver.py | bngsudheer/pani | 1e57524da0b722af6e49db2d691486b5a9c9b031 | [
"BSD-3-Clause"
] | null | null | null | from pani import app
app.run(debug=True, port=5006)
| 17.333333 | 30 | 0.769231 | 10 | 52 | 4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.115385 | 52 | 2 | 31 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
39536665f7cd6d97c9a79d01f6777291041d4f59 | 249 | py | Python | tests/test_demopytest1.py | SimJoonYeol/pytestdemo | c5a1a253ffdedbbabc6ce11fd65f09718be4e73d | [
"MIT"
] | null | null | null | tests/test_demopytest1.py | SimJoonYeol/pytestdemo | c5a1a253ffdedbbabc6ce11fd65f09718be4e73d | [
"MIT"
] | null | null | null | tests/test_demopytest1.py | SimJoonYeol/pytestdemo | c5a1a253ffdedbbabc6ce11fd65f09718be4e73d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""터미널에서 파일 전체 테스트 실행을 보기위해 넣은 Pytest 파일"""
import pytest
from click.testing import CliRunner
from demopytest import demopytest
from demopytest import cli
def test_demo_method():
assert True
| 13.833333 | 43 | 0.718876 | 37 | 249 | 4.783784 | 0.756757 | 0.158192 | 0.225989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 0.184739 | 249 | 17 | 44 | 14.647059 | 0.866995 | 0.321285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.666667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a3131e465579d8b854f24dd4633a3d07fe8600b | 298 | py | Python | litex_zephyr_export/mapping.py | RobertWilbrandt/litex_zephyr_export | cc451bef925e7dad7630faff40d1910cd6806fec | [
"BSD-3-Clause"
] | null | null | null | litex_zephyr_export/mapping.py | RobertWilbrandt/litex_zephyr_export | cc451bef925e7dad7630faff40d1910cd6806fec | [
"BSD-3-Clause"
] | null | null | null | litex_zephyr_export/mapping.py | RobertWilbrandt/litex_zephyr_export | cc451bef925e7dad7630faff40d1910cd6806fec | [
"BSD-3-Clause"
] | null | null | null | """Define mapping of litex components to generated zephyr output"""
class Mapping:
"""Mapping from litex component to generated zephyr output
:param name: Name of the mapping, only used during debugging
:type name: str
"""
def __init__(self, name):
self.name = name
| 22.923077 | 67 | 0.681208 | 39 | 298 | 5.102564 | 0.615385 | 0.110553 | 0.170854 | 0.231156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238255 | 298 | 12 | 68 | 24.833333 | 0.876652 | 0.654362 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1a5772d365aa53682e7a5bae579b5de5fb388bba | 1,685 | py | Python | surreal/components/distributions/categorical.py | rosea-tf/surreal | 8abfb18538340d50146c9c44f5ecb8a1e7d89ac3 | [
"Apache-2.0"
] | 6 | 2019-12-17T17:56:26.000Z | 2022-01-13T20:54:06.000Z | surreal/components/distributions/categorical.py | rosea-tf/surreal | 8abfb18538340d50146c9c44f5ecb8a1e7d89ac3 | [
"Apache-2.0"
] | 4 | 2019-11-04T07:17:27.000Z | 2019-11-04T07:19:25.000Z | surreal/components/distributions/categorical.py | rosea-tf/surreal | 8abfb18538340d50146c9c44f5ecb8a1e7d89ac3 | [
"Apache-2.0"
] | 2 | 2019-11-29T15:38:54.000Z | 2020-02-24T11:24:04.000Z | # Copyright 2019 ducandu GmbH, All Rights Reserved
# (this is a modified version of the Apache 2.0 licensed RLgraph file of the same name).
#
# 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
#
#... | 44.342105 | 113 | 0.719881 | 228 | 1,685 | 5.289474 | 0.583333 | 0.049751 | 0.021559 | 0.026534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010631 | 0.162611 | 1,685 | 37 | 114 | 45.540541 | 0.844082 | 0.659347 | 0 | 0 | 0 | 0 | 0.011173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
1a694239e85875ccfbee15b5e55ad9841baaeff5 | 163 | py | Python | models/nets/__init__.py | heytitle/MASS-Learning | 0d40de5227c94d1a5e4b18e44d16374e12821ad2 | [
"MIT"
] | 8 | 2019-06-21T06:25:22.000Z | 2022-01-27T07:57:22.000Z | models/nets/__init__.py | heytitle/MASS-Learning | 0d40de5227c94d1a5e4b18e44d16374e12821ad2 | [
"MIT"
] | 1 | 2021-04-14T10:58:52.000Z | 2021-04-15T00:52:14.000Z | models/nets/__init__.py | heytitle/MASS-Learning | 0d40de5227c94d1a5e4b18e44d16374e12821ad2 | [
"MIT"
] | 4 | 2019-08-11T23:30:03.000Z | 2021-07-04T10:43:18.000Z | from .SmallMLP import SmallMLP
from .ResNet20 import ResNet20
class NullNet():
def __init__(self, *args, **kwargs):
self.out_dim = kwargs['out_dim']
| 20.375 | 40 | 0.693252 | 21 | 163 | 5.095238 | 0.619048 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.190184 | 163 | 7 | 41 | 23.285714 | 0.780303 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1a6d29d9b42b656052bc35c96e2332c1d86bf4d7 | 4,262 | py | Python | src/Python/tests/tests_visualization.py | PathwayAnalysisPlatform/ProteoformNetworks | 3d31e5b3cb4abc45e6419fa982c08b3dc5c2624e | [
"Apache-2.0"
] | 1 | 2019-08-16T12:40:14.000Z | 2019-08-16T12:40:14.000Z | src/Python/tests/tests_visualization.py | LuisFranciscoHS/ProteoformNetworks | a6baa87fe6f76905f6d58a2f7cb66aad5d8d56c5 | [
"Apache-2.0"
] | 9 | 2019-08-16T07:33:33.000Z | 2022-03-04T22:20:02.000Z | src/Python/tests/tests_visualization.py | LuisFranciscoHS/ProteoformNetworks | a6baa87fe6f76905f6d58a2f7cb66aad5d8d56c5 | [
"Apache-2.0"
] | 1 | 2022-02-21T17:42:48.000Z | 2022-02-21T17:42:48.000Z | import os
import unittest
from lib.data_read_write import get_graph
class TestPlotModulePair(unittest.TestCase):
def test_get_graph_correct_edges_gene(self):
print("WD: ", os.getcwd())
G = get_graph("Cleft Lip", "genes", "../../../reports/All_modules/")
self.assertEqual(5, len(G.edges))
... | 45.340426 | 104 | 0.627874 | 551 | 4,262 | 4.767695 | 0.137931 | 0.266464 | 0.133232 | 0.266464 | 0.809288 | 0.614008 | 0.540541 | 0.427484 | 0.355539 | 0.196422 | 0 | 0.134359 | 0.191459 | 4,262 | 93 | 105 | 45.827957 | 0.627974 | 0 | 0 | 0.027027 | 0 | 0 | 0.256687 | 0.034022 | 0 | 0 | 0 | 0 | 0.77027 | 1 | 0.067568 | false | 0 | 0.040541 | 0 | 0.121622 | 0.013514 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a768802224a1b7fbceb2c6d75d1da620f5911c5 | 10,842 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/profiles/frame_profile_inputs_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/profiles/frame_profile_inputs_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/ocelot/profiles/frame_profile_inputs_common.py | lmnotran/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.calculator_model_framework.interfaces.iprofile import IProfile
class frame_profile_inputs_common_ocelot(object):
def build_frame_inputs(self, model, profile):
MIN_FRAME_LENGTH = 1
MAX_FRAME_LENGTH = 0x7fffffff
MIN_HEADER_LENGTH = 1
MAX_HEADER_LENGTH = 254
... | 89.603306 | 120 | 0.6342 | 1,259 | 10,842 | 5.082605 | 0.089754 | 0.126582 | 0.124863 | 0.154243 | 0.84185 | 0.802313 | 0.78106 | 0.747773 | 0.643382 | 0.563994 | 0 | 0.016274 | 0.291551 | 10,842 | 120 | 121 | 90.35 | 0.816821 | 0 | 0 | 0.08547 | 0 | 0 | 0.171371 | 0 | 0 | 0 | 0.001752 | 0 | 0 | 1 | 0.008547 | false | 0 | 0.008547 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1a7b0624b57c04d4340b0f6a8ff435cec9d643de | 218 | py | Python | benwaonline/gallery/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | benwaonline/gallery/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | 16 | 2017-09-13T10:21:40.000Z | 2020-06-01T04:32:22.000Z | benwaonline/gallery/__init__.py | goosechooser/benwaonline | e2879412aa6c3c230d25cd60072445165517b6b6 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_uploads import UploadSet, IMAGES
gallery = Blueprint('gallery', __name__, template_folder='templates')
images = UploadSet('images', IMAGES)
from benwaonline.gallery import views | 31.142857 | 69 | 0.811927 | 26 | 218 | 6.576923 | 0.538462 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105505 | 218 | 7 | 70 | 31.142857 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0.100457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1aae36c0b296cd85d0374dcd41949ddce34ab459 | 411 | py | Python | ZonaAzul/Servidor/forms/efetuarPagamento.py | renaner123/PJI029006-ZonaAzul | b0aabf7a7101f72a572130f94fdcf6366aeee433 | [
"MIT"
] | null | null | null | ZonaAzul/Servidor/forms/efetuarPagamento.py | renaner123/PJI029006-ZonaAzul | b0aabf7a7101f72a572130f94fdcf6366aeee433 | [
"MIT"
] | null | null | null | ZonaAzul/Servidor/forms/efetuarPagamento.py | renaner123/PJI029006-ZonaAzul | b0aabf7a7101f72a572130f94fdcf6366aeee433 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import SubmitField, StringField, PasswordField, validators, IntegerField, SelectField
class EfetuarPagamentoForm(FlaskForm):
tempo = SelectField('tempo(segundos)',[validators.DataRequired()],choices=[('30', '30'), ('40', '40'), ('50', '50'),('60','60')])
vaga = Inte... | 51.375 | 133 | 0.720195 | 41 | 411 | 7.195122 | 0.634146 | 0.149153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.104623 | 411 | 7 | 134 | 58.714286 | 0.758152 | 0 | 0 | 0 | 0 | 0 | 0.126521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
46c5928b1e1b6ab5822e8fbde9d026076584b807 | 107 | py | Python | python/A First Course on Data Structures in Python/ds/linkedlist/listnode.py | gauravssnl/Data-Structures-and-Algorithms | 1c335c72ce514d4f95090241bbd6edf01a1141a8 | [
"MIT"
] | 7 | 2020-05-10T09:57:23.000Z | 2021-03-27T11:55:07.000Z | python/A First Course on Data Structures in Python/ds/linkedlist/listnode.py | gauravssnl/Data-Structures-and-Algorithms | 1c335c72ce514d4f95090241bbd6edf01a1141a8 | [
"MIT"
] | null | null | null | python/A First Course on Data Structures in Python/ds/linkedlist/listnode.py | gauravssnl/Data-Structures-and-Algorithms | 1c335c72ce514d4f95090241bbd6edf01a1141a8 | [
"MIT"
] | 3 | 2021-03-27T03:42:57.000Z | 2021-08-09T12:03:41.000Z | class ListNode:
def __init__(self, data, link=None):
self.data = data
self.link = link
| 21.4 | 40 | 0.598131 | 14 | 107 | 4.285714 | 0.571429 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.299065 | 107 | 4 | 41 | 26.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46fa21a72c53d49857667ad903bf3fab2003e991 | 286 | py | Python | 2014-01-30-founder-experience/API_scripts/create_dimension_competitors.py | mode/blog | 7c40cef04e933dce1a0805c3f0be8f05cc8dfecd | [
"MIT"
] | 93 | 2015-01-09T15:32:42.000Z | 2022-02-04T10:59:55.000Z | 2014-01-30-founder-experience/API_scripts/create_dimension_competitors.py | mode/blog | 7c40cef04e933dce1a0805c3f0be8f05cc8dfecd | [
"MIT"
] | null | null | null | 2014-01-30-founder-experience/API_scripts/create_dimension_competitors.py | mode/blog | 7c40cef04e933dce1a0805c3f0be8f05cc8dfecd | [
"MIT"
] | 56 | 2015-01-09T15:42:08.000Z | 2022-02-09T01:30:51.000Z | def create_dimension_competitors(cursor):
cursor.execute('''CREATE TABLE dimension_competitors
( company_name text,
company_permalink text,
competitor_name text,
competitor_permalink text,
extracted_at text
)''') | 35.75 | 56 | 0.622378 | 26 | 286 | 6.538462 | 0.538462 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314685 | 286 | 8 | 57 | 35.75 | 0.867347 | 0 | 0 | 0 | 0 | 0 | 0.759582 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
200973a9107942b19b0aa0eb7b4e4c97e4d809e8 | 20 | py | Python | train_model.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null | train_model.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null | train_model.py | salubinseid/am-genre-reco | b7036c7dd9148ad4bdd03e7d3edaa1ac7d8b7a02 | [
"MIT"
] | null | null | null |
# train the model
| 6.666667 | 18 | 0.65 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 20 | 2 | 19 | 10 | 0.928571 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
200b03513c1a35c6c6a28cdbbcda58d0d5b5e081 | 25 | py | Python | wo.py | szxp1/GitlearnPy2002 | b6a53b6aba143e7b2fb90485ac3827242a5802a8 | [
"Apache-2.0"
] | null | null | null | wo.py | szxp1/GitlearnPy2002 | b6a53b6aba143e7b2fb90485ac3827242a5802a8 | [
"Apache-2.0"
] | null | null | null | wo.py | szxp1/GitlearnPy2002 | b6a53b6aba143e7b2fb90485ac3827242a5802a8 | [
"Apache-2.0"
] | null | null | null |
i 我亲爱的祖国aaaa aaaaaaaaaa
| 8.333333 | 23 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 24 | 12.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
201d30752e676027b12d0e0bb1869b900897f875 | 175 | py | Python | comments/urls.py | Ma5ker/website | 7b37fe1ab24e0de9b804b63a461bafd8c8f9fee2 | [
"Apache-2.0"
] | 1 | 2021-01-28T13:38:41.000Z | 2021-01-28T13:38:41.000Z | comments/urls.py | Ma5ker/website | 7b37fe1ab24e0de9b804b63a461bafd8c8f9fee2 | [
"Apache-2.0"
] | null | null | null | comments/urls.py | Ma5ker/website | 7b37fe1ab24e0de9b804b63a461bafd8c8f9fee2 | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
#path('',views.home),
path('add_comments/<int:posted_id>/',views.add_comments,name="add_comments"),
] | 25 | 81 | 0.708571 | 24 | 175 | 5 | 0.583333 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125714 | 175 | 7 | 82 | 25 | 0.784314 | 0.114286 | 0 | 0 | 0 | 0 | 0.264516 | 0.187097 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6448c3c39baff7536f15b4a6a4a5fcbbdb4619a2 | 77 | py | Python | moto/route53/__init__.py | andrewgross/moto | 912c3ceb396e1e460c75d6a0a65f2431800a1583 | [
"Apache-2.0"
] | null | null | null | moto/route53/__init__.py | andrewgross/moto | 912c3ceb396e1e460c75d6a0a65f2431800a1583 | [
"Apache-2.0"
] | null | null | null | moto/route53/__init__.py | andrewgross/moto | 912c3ceb396e1e460c75d6a0a65f2431800a1583 | [
"Apache-2.0"
] | null | null | null | from .models import route53_backend
mock_route53 = route53_backend.decorator
| 25.666667 | 40 | 0.87013 | 10 | 77 | 6.4 | 0.7 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.090909 | 77 | 2 | 41 | 38.5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6463765164e88ee79cb00e19c6dacb31a1418947 | 163 | py | Python | tests/conftest.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | 4 | 2021-03-13T09:09:56.000Z | 2022-02-20T03:59:36.000Z | tests/conftest.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | 33 | 2021-05-14T21:36:14.000Z | 2022-03-25T03:10:36.000Z | tests/conftest.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | null | null | null | from junior import Application
from pytest import fixture
app = Application()
# application fixture
@fixture(autouse=True)
def application():
return app
| 11.642857 | 30 | 0.754601 | 19 | 163 | 6.473684 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177914 | 163 | 13 | 31 | 12.538462 | 0.91791 | 0.116564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
64860fc26f56e6cc5137c0cadadeff6ec3d48557 | 65 | py | Python | python/miscreant/__init__.py | oleganza/miscreant | 53b492620bfc647fe1517326b80347587994117b | [
"MIT"
] | 5 | 2019-01-15T08:02:07.000Z | 2022-02-26T20:35:22.000Z | python/miscreant/__init__.py | oleganza/miscreant | 53b492620bfc647fe1517326b80347587994117b | [
"MIT"
] | 26 | 2019-09-03T02:37:16.000Z | 2021-02-01T08:00:56.000Z | miscreant/__init__.py | miscreant/miscreant.py | 7f77df104f0d116b682c573eeb3b76b926d05bdc | [
"MIT"
] | null | null | null | """Miscreant: A misuse-resistant symmetric encryption library"""
| 32.5 | 64 | 0.784615 | 7 | 65 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 1 | 65 | 65 | 0.864407 | 0.892308 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64ba2095b8cc402b6970b1b73a36e80795f4d7e8 | 102 | py | Python | python/testData/refactoring/makeFunctionTopLevel/methodOtherMethodCalls.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/makeFunctionTopLevel/methodOtherMethodCalls.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/makeFunctionTopLevel/methodOtherMethodCalls.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def me<caret>thod(self):
self.another()
def another(self):
pass
| 14.571429 | 28 | 0.519608 | 13 | 102 | 4.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362745 | 102 | 6 | 29 | 17 | 0.815385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
64ca91696f39cb56b98a9c83e4cdb6516522f538 | 496 | py | Python | tests/test_objects.py | Akuli/simple-language | 45ff4e48b10a3bd74d87f372b631e749752b7262 | [
"MIT"
] | 1 | 2018-03-10T19:21:58.000Z | 2018-03-10T19:21:58.000Z | tests/test_objects.py | Akuli/simple-language | 45ff4e48b10a3bd74d87f372b631e749752b7262 | [
"MIT"
] | 1 | 2018-03-12T18:18:36.000Z | 2018-03-12T18:18:36.000Z | tests/test_objects.py | Akuli/simple-language | 45ff4e48b10a3bd74d87f372b631e749752b7262 | [
"MIT"
] | 1 | 2018-03-12T18:10:33.000Z | 2018-03-12T18:10:33.000Z | import pytest
#from ö.objects import Öbject, String, NullClass, null
#def test_strings():
# assert String("hello").python_string == "hello"
# assert isinstance(String("hello"), Öbject)
# with pytest.raises(ValueError):
# String("hello").attributes['toot'] = Öbject()
#
#
#def test_null():
# assert ... | 26.105263 | 54 | 0.665323 | 55 | 496 | 5.927273 | 0.454545 | 0.134969 | 0.147239 | 0.159509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 496 | 18 | 55 | 27.555556 | 0.79902 | 0.909274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b39376867655206ae1f7c8216bcc9111c59f7604 | 534 | py | Python | gacha/utils/entity_provider_utils.py | rexor12/gacha | 946f31adb40f3184ce4ddd447439bbd5421d3506 | [
"MIT"
] | 1 | 2021-01-09T09:32:06.000Z | 2021-01-09T09:32:06.000Z | gacha/utils/entity_provider_utils.py | rexor12/gacha.py | 946f31adb40f3184ce4ddd447439bbd5421d3506 | [
"MIT"
] | 2 | 2020-12-26T00:29:33.000Z | 2020-12-26T22:23:10.000Z | gacha/utils/entity_provider_utils.py | rexor12/gacha | 946f31adb40f3184ce4ddd447439bbd5421d3506 | [
"MIT"
] | 1 | 2021-11-28T15:44:01.000Z | 2021-11-28T15:44:01.000Z | from ..entities import ItemPrototype, ItemRank, ItemType
from ..providers import EntityProviderInterface
def get_item(entity_provider: EntityProviderInterface, id: int) -> ItemPrototype:
return entity_provider.get_entity("items", id, None)
def get_item_rank(entity_provider: EntityProviderInterface, id: int) -> It... | 48.545455 | 81 | 0.797753 | 65 | 534 | 6.307692 | 0.338462 | 0.204878 | 0.073171 | 0.285366 | 0.617073 | 0.160976 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 534 | 11 | 82 | 48.545455 | 0.859539 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
b3b45aa998b8d4dc18f78677f79dd8b54dffab4b | 186 | py | Python | tests/unit/test_velocity.py | beecee9/naxxatrapy | 1583a521b54f5cbc90cb8f9d713c3e02cc4c3758 | [
"MIT"
] | null | null | null | tests/unit/test_velocity.py | beecee9/naxxatrapy | 1583a521b54f5cbc90cb8f9d713c3e02cc4c3758 | [
"MIT"
] | 3 | 2021-02-15T17:04:33.000Z | 2021-02-17T08:35:37.000Z | tests/unit/test_velocity.py | beecee9/naxxatrapy | 1583a521b54f5cbc90cb8f9d713c3e02cc4c3758 | [
"MIT"
] | 6 | 2021-02-12T15:36:18.000Z | 2021-02-15T15:49:32.000Z | from tests import *
from naxxatrapy.naxxatrapy import velocity
class TestAverageVelocity(unittest.TestCase):
def test_velocity(self):
self.assertEqual(velocity(10, 2), 5)
| 20.666667 | 45 | 0.752688 | 22 | 186 | 6.318182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.16129 | 186 | 8 | 46 | 23.25 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b3caf92d3346f4397dc7b36812abdabe79685e38 | 199 | py | Python | conans/util/templates.py | matthiasng/conan | 634eadc319da928084633a344d42785edccb8d6c | [
"MIT"
] | 6,205 | 2015-12-01T13:40:05.000Z | 2022-03-31T07:30:25.000Z | conans/util/templates.py | matthiasng/conan | 634eadc319da928084633a344d42785edccb8d6c | [
"MIT"
] | 8,747 | 2015-12-01T16:28:48.000Z | 2022-03-31T23:34:53.000Z | conans/util/templates.py | Mattlk13/conan | 005fc53485557b0a570bb71670f2ca9c66082165 | [
"MIT"
] | 961 | 2015-12-01T16:56:43.000Z | 2022-03-31T13:50:52.000Z | from jinja2 import Template
def render_layout_file(content, ref=None, settings=None, options=None):
t = Template(content)
return t.render(reference=ref, settings=settings, options=options)
| 28.428571 | 71 | 0.768844 | 27 | 199 | 5.592593 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.130653 | 199 | 6 | 72 | 33.166667 | 0.867052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b3d7a40a8be3a1896983b775c8b798319f0fd136 | 2,171 | py | Python | simulation/preconditions.py | tmsquill/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | 1 | 2016-11-23T16:59:01.000Z | 2016-11-23T16:59:01.000Z | simulation/preconditions.py | zivia/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | 1 | 2020-04-26T19:28:42.000Z | 2020-04-26T19:28:42.000Z | simulation/preconditions.py | zivia/grove | afe2d6ff35a2db7d8cb1e3ff7e5a0e3b29f369f7 | [
"MIT"
] | null | null | null | import entity
def on_border(agent=None, entities=None, environment=None):
"""
Precondition testing if an agent is along the border of the environment.
:param agent: The agent to test.
:param entities: The entities associated with the simulation.
:param environment: The environment to test against... | 34.460317 | 93 | 0.714878 | 298 | 2,171 | 5.157718 | 0.174497 | 0.03123 | 0.044242 | 0.054652 | 0.856213 | 0.696161 | 0.618087 | 0.618087 | 0.618087 | 0.618087 | 0 | 0.00514 | 0.193459 | 2,171 | 62 | 94 | 35.016129 | 0.872644 | 0.485491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b3e50741ad48efe44c5dcb894e786af60ee2f8cf | 415 | py | Python | api/v1/serializers/identity_detail_serializer.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 197 | 2016-12-08T02:33:32.000Z | 2022-03-23T14:27:47.000Z | api/v1/serializers/identity_detail_serializer.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 385 | 2017-01-03T22:51:46.000Z | 2020-12-16T16:20:42.000Z | api/v1/serializers/identity_detail_serializer.py | benlazarine/atmosphere | 38fad8e4002e510e8b4294f2bb5bc75e8e1817fa | [
"BSD-3-Clause"
] | 50 | 2016-12-08T08:32:25.000Z | 2021-12-10T00:21:39.000Z | from core.models.identity import Identity
from rest_framework import serializers
class IdentityDetailSerializer(serializers.ModelSerializer):
quota = serializers.ReadOnlyField(source='get_quota_dict')
provider_id = serializers.ReadOnlyField(source='provider.uuid')
id = serializers.ReadOnlyField(source="uu... | 31.923077 | 67 | 0.746988 | 43 | 415 | 7.093023 | 0.511628 | 0.236066 | 0.295082 | 0.209836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154217 | 415 | 12 | 68 | 34.583333 | 0.868946 | 0 | 0 | 0 | 0 | 0 | 0.118072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3748a40039ddf23c273986ca1135e674077f3202 | 108 | py | Python | augur/metrics/platform.py | theamankumarsingh/augur | 3ae0c4d6e4fb9b6dfddff02a92a170763e9bf8bd | [
"MIT"
] | 443 | 2018-09-19T00:30:36.000Z | 2022-03-31T11:39:13.000Z | augur/metrics/platform.py | theamankumarsingh/augur | 3ae0c4d6e4fb9b6dfddff02a92a170763e9bf8bd | [
"MIT"
] | 613 | 2018-09-19T18:31:13.000Z | 2022-03-31T05:41:16.000Z | augur/metrics/platform.py | theamankumarsingh/augur | 3ae0c4d6e4fb9b6dfddff02a92a170763e9bf8bd | [
"MIT"
] | 764 | 2018-10-17T01:08:10.000Z | 2022-03-31T05:25:01.000Z | #SPDX-License-Identifier: MIT
"""
Metrics that provide data about platform & their associated activity
"""
| 18 | 68 | 0.759259 | 13 | 108 | 6.307692 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 69 | 21.6 | 0.88172 | 0.898148 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37533681092eb69799d4ab5874ae769b254f48cf | 254 | py | Python | scripts/lint.py | vgjournal/blaziken | 22c6b1fe8f3ef4bc71a020bbf51decd814ec94f6 | [
"MIT"
] | null | null | null | scripts/lint.py | vgjournal/blaziken | 22c6b1fe8f3ef4bc71a020bbf51decd814ec94f6 | [
"MIT"
] | null | null | null | scripts/lint.py | vgjournal/blaziken | 22c6b1fe8f3ef4bc71a020bbf51decd814ec94f6 | [
"MIT"
] | null | null | null | """ Script for running the arbitrary, mutable single test. """
from subprocess import run
from os import chdir
from pathlib import Path
chdir(Path(__file__).parent.parent.resolve())
run(['pylint', 'blaziken', '--output-format=colorized'], check=False)
| 28.222222 | 69 | 0.748031 | 34 | 254 | 5.470588 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114173 | 254 | 8 | 70 | 31.75 | 0.826667 | 0.212598 | 0 | 0 | 0 | 0 | 0.203125 | 0.130208 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
375ce9c4e62c9c9da7d753d8fdd7de85896e79b9 | 4,799 | py | Python | src/sub_classes.py | aJimenezAdalia/transport_madrid | f9b42e0248c62fb77c6183010a3414e74a5b497b | [
"MIT"
] | null | null | null | src/sub_classes.py | aJimenezAdalia/transport_madrid | f9b42e0248c62fb77c6183010a3414e74a5b497b | [
"MIT"
] | null | null | null | src/sub_classes.py | aJimenezAdalia/transport_madrid | f9b42e0248c62fb77c6183010a3414e74a5b497b | [
"MIT"
] | null | null | null |
import pandas as pd
from src.main_classes import TransportData, StationInfo
import logging
# Logger
logger = logging.getLogger()
class BiciMad(TransportData):
"""Subclass of TransportData. Create a specific BiciMad object, to return
the specific BiciMad provided data (in Pandas DataFrame format).
"""
... | 36.082707 | 129 | 0.614086 | 562 | 4,799 | 5.147687 | 0.197509 | 0.074663 | 0.035949 | 0.03111 | 0.828897 | 0.774974 | 0.751469 | 0.683719 | 0.683719 | 0.683719 | 0 | 0.002998 | 0.304855 | 4,799 | 132 | 130 | 36.356061 | 0.864209 | 0.329027 | 0 | 0.636364 | 0 | 0 | 0.230305 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0 | 0.045455 | 0 | 0.348485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
377ccff22b190828796c39f15f887432aa3b984e | 321 | py | Python | yunionclient/api/federatedrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 3 | 2021-09-22T11:34:08.000Z | 2022-03-13T04:55:17.000Z | yunionclient/api/federatedrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 13 | 2019-06-06T08:25:41.000Z | 2021-07-16T07:26:10.000Z | yunionclient/api/federatedrolebindings.py | yunionyun/python_yunionsdk | 40a567b80f6fb3ebc72d8cc6313b334a201b2f00 | [
"Apache-2.0"
] | 7 | 2019-03-31T05:43:36.000Z | 2021-03-04T09:59:05.000Z | from yunionclient.common import base
class Federatedrolebinding(base.ResourceBase):
pass
class FederatedrolebindingManager(base.StandaloneManager):
resource_class = Federatedrolebinding
keyword = 'federatedrolebinding'
keyword_plural = 'federatedrolebindings'
_columns = ["Federatednamespace_Id"]
... | 24.692308 | 58 | 0.794393 | 25 | 321 | 10.04 | 0.72 | 0.199203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 321 | 12 | 59 | 26.75 | 0.90942 | 0 | 0 | 0 | 0 | 0 | 0.19375 | 0.13125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 0 | 0.875 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
378cbf0fb5936fda75938c73b4a89d3bb760e332 | 60 | py | Python | src/backend/__init__.py | temportalflux/MelodyBot | f5172a6895b8dc4ee89bf6327fd8663456390861 | [
"Apache-2.0"
] | null | null | null | src/backend/__init__.py | temportalflux/MelodyBot | f5172a6895b8dc4ee89bf6327fd8663456390861 | [
"Apache-2.0"
] | null | null | null | src/backend/__init__.py | temportalflux/MelodyBot | f5172a6895b8dc4ee89bf6327fd8663456390861 | [
"Apache-2.0"
] | null | null | null | from .local import Local
from .discord import DiscordServer
| 20 | 34 | 0.833333 | 8 | 60 | 6.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 35 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
378d22125f4be90b93e809678b4a93b915ab815b | 442 | py | Python | app/models/base.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | 2 | 2020-12-08T08:43:18.000Z | 2020-12-08T08:43:46.000Z | app/models/base.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | null | null | null | app/models/base.py | gzisopoulos/python-iot-data-integrity | d13d386a2297edbe71fa7b8afca574bb090d6fe8 | [
"MIT"
] | null | null | null | from app import db
class BaseModel(db.Model):
__abstract__ = True
id = db.Column(db.Integer, primary_key=True)
@classmethod
def find_by_id(cls, _id):
return cls.query.filter_by(id=_id).first()
def get_id(self):
return self.id
def save_to_db(self):
db.session.add(sel... | 19.217391 | 50 | 0.626697 | 64 | 442 | 4.09375 | 0.484375 | 0.091603 | 0.198473 | 0.114504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257919 | 442 | 22 | 51 | 20.090909 | 0.79878 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
37b3b64e05812675ae6fc4ac4c5b1c4d411ae41b | 618 | py | Python | hello/resources.py | chenyuan99/Techstaff-Inventory | 84578f4aa64c017e11e061152707c31352fe71dc | [
"MIT"
] | null | null | null | hello/resources.py | chenyuan99/Techstaff-Inventory | 84578f4aa64c017e11e061152707c31352fe71dc | [
"MIT"
] | null | null | null | hello/resources.py | chenyuan99/Techstaff-Inventory | 84578f4aa64c017e11e061152707c31352fe71dc | [
"MIT"
] | null | null | null | from import_export import resources
from hello.models import *
class DeviceResource(resources.ModelResource):
class Meta:
model = Device
class FacultyResource(resources.ModelResource):
class Meta:
model = Faculty
class BuildingResource(resources.ModelResource):
class Meta:
model =... | 23.769231 | 56 | 0.73301 | 57 | 618 | 7.929825 | 0.385965 | 0.292035 | 0.358407 | 0.411504 | 0.477876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205502 | 618 | 26 | 57 | 23.769231 | 0.92057 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
806e625fcd8e8ad7b6a0dc2dc0f02893001a6884 | 62 | py | Python | web1/wsgi.py | Rolling-meatballs/web_sever | 307b32c7a7421f2eef95ca8dc1652ae9210f2b53 | [
"MIT"
] | null | null | null | web1/wsgi.py | Rolling-meatballs/web_sever | 307b32c7a7421f2eef95ca8dc1652ae9210f2b53 | [
"MIT"
] | null | null | null | web1/wsgi.py | Rolling-meatballs/web_sever | 307b32c7a7421f2eef95ca8dc1652ae9210f2b53 | [
"MIT"
] | null | null | null | from app import configured_app
application = configured_app()
| 20.666667 | 30 | 0.83871 | 8 | 62 | 6.25 | 0.625 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 31 | 31 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
80a5fd57924625c3eb66dc1c12d066baa367d785 | 267 | py | Python | third_party/tlslite/tlslite/utils/python_aesgcm.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/tlslite/tlslite/utils/python_aesgcm.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/tlslite/tlslite/utils/python_aesgcm.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Author: Google
# See the LICENSE file for legal information regarding use of this file.
"""Pure-Python AES-GCM implementation."""
from .aesgcm import AESGCM
from .rijndael import rijndael
def new(key):
return AESGCM(key, "python", rijndael(key, 16).encrypt)
| 24.272727 | 72 | 0.741573 | 38 | 267 | 5.210526 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.153558 | 267 | 10 | 73 | 26.7 | 0.867257 | 0.456929 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
80db82e8b8525b3882c1d9ff36915bf78c1ba42e | 52 | py | Python | poet/__main__.py | Awarua-/homebrew-pypi-poet | fdafc615bcd28f29bcbe90789f07cc26f97c3bbc | [
"MIT"
] | 118 | 2015-02-01T12:47:10.000Z | 2022-03-22T23:44:55.000Z | poet/__main__.py | Awarua-/homebrew-pypi-poet | fdafc615bcd28f29bcbe90789f07cc26f97c3bbc | [
"MIT"
] | 53 | 2015-02-02T11:43:44.000Z | 2021-11-24T21:36:48.000Z | poet/__main__.py | Awarua-/homebrew-pypi-poet | fdafc615bcd28f29bcbe90789f07cc26f97c3bbc | [
"MIT"
] | 30 | 2015-02-01T14:12:02.000Z | 2021-12-12T13:09:33.000Z | import sys
from .poet import main
sys.exit(main())
| 10.4 | 22 | 0.730769 | 9 | 52 | 4.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 4 | 23 | 13 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
80e4e0669c69a0f76aa557ba72530d6c52b985b7 | 90 | py | Python | sketchy/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | sketchy/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | sketchy/__init__.py | mbhall88/sketchy | 5ed26d28f104710f6d425053eae41fd0e99f8760 | [
"MIT"
] | null | null | null | import warnings
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
| 22.5 | 70 | 0.777778 | 10 | 90 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 90 | 3 | 71 | 30 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0385048aed6ff591c68cb8646b66dd247b405419 | 307 | py | Python | dfainductor/variables.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | 2 | 2020-06-03T11:27:45.000Z | 2021-08-30T04:14:48.000Z | dfainductor/variables.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | 1 | 2021-07-14T18:43:58.000Z | 2021-07-14T18:43:58.000Z | dfainductor/variables.py | SemBarner22/DFA-Inductor-py | 54a9321b9daa500f30addf38b5ecd5f216e03f59 | [
"MIT"
] | null | null | null | from pysat.formula import IDPool
class VarPool:
def __init__(self) -> None:
self._vpool = IDPool()
def var(self, name: str, ind1, ind2=0, ind3=0) -> int:
return self._vpool.id(f'{name}_{ind1}_{ind2}_{ind3}')
def var_name(self, id_: int):
return self._vpool.obj(id_)
| 21.928571 | 61 | 0.618893 | 45 | 307 | 3.933333 | 0.533333 | 0.152542 | 0.146893 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.23127 | 307 | 13 | 62 | 23.615385 | 0.716102 | 0 | 0 | 0 | 0 | 0 | 0.087948 | 0.087948 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0385df2d781de9111b77fd6e0befed722b8ced0a | 204 | py | Python | geeksbot_web/rcon/serializers.py | dustinpianalto/geeksbot_web | ee02452dd5a61b0487706782020f9647ae202238 | [
"MIT"
] | null | null | null | geeksbot_web/rcon/serializers.py | dustinpianalto/geeksbot_web | ee02452dd5a61b0487706782020f9647ae202238 | [
"MIT"
] | null | null | null | geeksbot_web/rcon/serializers.py | dustinpianalto/geeksbot_web | ee02452dd5a61b0487706782020f9647ae202238 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from rcon.models import RconServer
class RconServerSerializer(serializers.ModelSerializer):
class Meta:
model = RconServer
fields = "__all__"
| 20.4 | 56 | 0.75 | 20 | 204 | 7.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20098 | 204 | 9 | 57 | 22.666667 | 0.907975 | 0 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
03ddf626d7d06cc43f65fbfea062e192fbc5bec6 | 11,662 | py | Python | xam/ensemble/stacking.py | vishalbelsare/xam | 93c066990d976c7d4d74b63fb6fb3254ee8d9b48 | [
"MIT"
] | 357 | 2017-03-23T19:07:31.000Z | 2022-03-11T09:08:07.000Z | xam/ensemble/stacking.py | vishalbelsare/xam | 93c066990d976c7d4d74b63fb6fb3254ee8d9b48 | [
"MIT"
] | 8 | 2018-07-05T09:18:36.000Z | 2022-03-04T05:10:09.000Z | xam/ensemble/stacking.py | vishalbelsare/xam | 93c066990d976c7d4d74b63fb6fb3254ee8d9b48 | [
"MIT"
] | 89 | 2017-03-24T22:12:39.000Z | 2022-02-14T15:47:41.000Z | import collections
import numpy as np
import pandas as pd
from sklearn import metrics
from sklearn import model_selection
from sklearn import preprocessing
from sklearn import utils
from sklearn.base import BaseEstimator
from sklearn.base import ClassifierMixin
from sklearn.base import clone
from sklearn.base import R... | 38.873333 | 101 | 0.595953 | 1,484 | 11,662 | 4.440701 | 0.105121 | 0.063733 | 0.050076 | 0.032777 | 0.782246 | 0.759484 | 0.735357 | 0.708194 | 0.694385 | 0.673748 | 0 | 0.003112 | 0.311182 | 11,662 | 299 | 102 | 39.003344 | 0.817005 | 0.121163 | 0 | 0.678049 | 0 | 0 | 0.013014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068293 | false | 0 | 0.058537 | 0.019512 | 0.204878 | 0.019512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03f5fc1c32e4bed2ef3fced5156f5c6d813027ce | 95 | py | Python | serp/exc.py | devsli/serp | b7d7f857914fa6c1493a6dcf69a51deb721b706c | [
"MIT"
] | null | null | null | serp/exc.py | devsli/serp | b7d7f857914fa6c1493a6dcf69a51deb721b706c | [
"MIT"
] | null | null | null | serp/exc.py | devsli/serp | b7d7f857914fa6c1493a6dcf69a51deb721b706c | [
"MIT"
] | null | null | null | class SERPException(Exception):
pass
class ItemNotFoundException(SERPException):
pass
| 15.833333 | 43 | 0.778947 | 8 | 95 | 9.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 44 | 19 | 0.925 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ff02ffd5f1544505403518777cabf341e2ab47fa | 521 | py | Python | example/pycon2017_demo/mock_example.py | note35/python-sinon | 35da87ca6f30eec112ffc8d5c0a56d852d770285 | [
"BSD-2-Clause"
] | 15 | 2016-12-12T11:25:08.000Z | 2021-01-10T16:07:57.000Z | example/pycon2017_demo/mock_example.py | note35/python-sinon | 35da87ca6f30eec112ffc8d5c0a56d852d770285 | [
"BSD-2-Clause"
] | 50 | 2017-09-21T12:36:04.000Z | 2021-03-20T00:30:53.000Z | example/pycon2017_demo/mock_example.py | note35/python-sinon | 35da87ca6f30eec112ffc8d5c0a56d852d770285 | [
"BSD-2-Clause"
] | 4 | 2017-09-27T12:57:36.000Z | 2020-06-22T16:02:18.000Z | try:
import mock
except ImportError:
from unittest import mock
import unittest
import os
class TestExample(unittest.TestCase):
def mock_os_system(command):
return 0
@mock.patch("os.system", return_value=1)
def test_mock_os_system(self, mock_os_system):
self.assertEqual(os.system(... | 23.681818 | 58 | 0.681382 | 71 | 521 | 4.859155 | 0.352113 | 0.208696 | 0.104348 | 0.2 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.201536 | 521 | 21 | 59 | 24.809524 | 0.814904 | 0 | 0 | 0 | 0 | 0 | 0.074856 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.1875 | false | 0 | 0.3125 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff0a887732617cd47d9b61ac28760ba08b7857d8 | 161 | py | Python | settings.py | i-gulyaev/potd | b583f0024d5dac8408998ea6be002428ce920398 | [
"BSD-2-Clause"
] | 1 | 2021-04-15T13:58:56.000Z | 2021-04-15T13:58:56.000Z | settings.py | i-gulyaev/potd | b583f0024d5dac8408998ea6be002428ce920398 | [
"BSD-2-Clause"
] | null | null | null | settings.py | i-gulyaev/potd | b583f0024d5dac8408998ea6be002428ce920398 | [
"BSD-2-Clause"
] | null | null | null | import dotenv
import os
dotenv.load_dotenv()
API_TOKEN = os.getenv("PROVERBOFTHEDAY_TOKEN")
DB_NAME = os.getenv("DB_NAME")
DB_DRIVER = os.getenv("DB_DRIVER")
| 16.1 | 46 | 0.763975 | 25 | 161 | 4.64 | 0.44 | 0.206897 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 9 | 47 | 17.888889 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.229814 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2062a64e0a2d0b0d8dd2da8c6b5723c384f409b2 | 23,940 | py | Python | herokubot.py | pushpak1300/SEITbot | 1542a62ca877a2452b153be68baf4769a29c7915 | [
"MIT"
] | null | null | null | herokubot.py | pushpak1300/SEITbot | 1542a62ca877a2452b153be68baf4769a29c7915 | [
"MIT"
] | null | null | null | herokubot.py | pushpak1300/SEITbot | 1542a62ca877a2452b153be68baf4769a29c7915 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# import libraries
import telegram
from uuid import uuid4
from telegram.ext.dispatcher import run_async
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, InlineQueryHandler
import logging
from telegram import InlineQueryResultArticle, InputTextMessa... | 58.390244 | 237 | 0.645029 | 3,100 | 23,940 | 4.834194 | 0.100968 | 0.080475 | 0.107567 | 0.126785 | 0.755906 | 0.746297 | 0.730749 | 0.714867 | 0.631456 | 0.611437 | 0 | 0.011488 | 0.221888 | 23,940 | 409 | 238 | 58.533007 | 0.793 | 0.02736 | 0 | 0.175953 | 0 | 0.005865 | 0.186455 | 0.015843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020528 | false | 0.01173 | 0.026393 | 0 | 0.046921 | 0.002933 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
20638934b2dbf4f4427ab4f683de88c791242a0a | 307 | py | Python | tests/conftest.py | curzona/pytest-bdd | 71a53ddaeea4c28f63832edaba07b7936b782223 | [
"MIT"
] | null | null | null | tests/conftest.py | curzona/pytest-bdd | 71a53ddaeea4c28f63832edaba07b7936b782223 | [
"MIT"
] | null | null | null | tests/conftest.py | curzona/pytest-bdd | 71a53ddaeea4c28f63832edaba07b7936b782223 | [
"MIT"
] | null | null | null | """Configuration for pytest runner."""
from pytest_bdd import given, when
from pytest_bdd.plugin import pytestbdd_feature_base_dir
pytest_plugins = 'pytester'
@given('I have a root fixture')
def root():
return 'root'
@when('I use a when step from the parent conftest')
def global_when():
pass
| 18.058824 | 56 | 0.736156 | 46 | 307 | 4.76087 | 0.652174 | 0.091324 | 0.118721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166124 | 307 | 16 | 57 | 19.1875 | 0.855469 | 0.104235 | 0 | 0 | 0 | 0 | 0.27881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
20abc45b15f66c406e9da52f34cba4b5a382fe18 | 523 | py | Python | LPPy/Abstract/solver.py | VijayS02/LPPy | 7643e3cd78f4aac523611cfbfb2392d6e94d2a5c | [
"MIT"
] | null | null | null | LPPy/Abstract/solver.py | VijayS02/LPPy | 7643e3cd78f4aac523611cfbfb2392d6e94d2a5c | [
"MIT"
] | null | null | null | LPPy/Abstract/solver.py | VijayS02/LPPy | 7643e3cd78f4aac523611cfbfb2392d6e94d2a5c | [
"MIT"
] | null | null | null | from LPPy.Abstract import lpp
from LPPy.Abstract.converter import Converter
from LPPy.Abstract.outputHandler import OutputHandler
class Solver:
"""
An abstract class to solve a given LPP
"""
outputter: OutputHandler
problem: lpp
translator: Converter
def solve(self):
raise NotImpl... | 20.92 | 53 | 0.711281 | 57 | 523 | 6.45614 | 0.473684 | 0.097826 | 0.304348 | 0.252717 | 0.190217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237094 | 523 | 24 | 54 | 21.791667 | 0.922306 | 0.072658 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
20ae05343a45a8ac865897b657d0cd1513a3782e | 205 | py | Python | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/104_heranca_multipla/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/104_heranca_multipla/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | Curso_Python/Secao4-Python-introducao-a-programacao-orientada-a-objetos-POO/104_heranca_multipla/main.py | pedrohd21/Cursos-Feitos | b223aad83867bfa45ad161d133e33c2c200d42bd | [
"MIT"
] | null | null | null | from smartphone import Smartphone
smartphone = Smartphone('IPhone')
smartphone.ligar()
smartphone.conetar()
smartphone.conetar()
smartphone.desconectar()
smartphone.desconectar()
smartphone.desconectar() | 20.5 | 33 | 0.819512 | 19 | 205 | 8.842105 | 0.368421 | 0.375 | 0.321429 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068293 | 205 | 10 | 34 | 20.5 | 0.879581 | 0 | 0 | 0.625 | 0 | 0 | 0.029126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
20e049cb18d0db788254a2e28bca80dd9b5f96c6 | 714 | py | Python | stubs/uiflow_stickc_plus/uiflow.py | c99koder/m5stickc-aerogarden | ac7d157d4ae4e47151896a7c7aee4c574ce52169 | [
"Apache-2.0"
] | 1 | 2022-03-02T10:11:07.000Z | 2022-03-02T10:11:07.000Z | stubs/uiflow_stickc_plus/uiflow.py | c99koder/m5stickc-aerogarden | ac7d157d4ae4e47151896a7c7aee4c574ce52169 | [
"Apache-2.0"
] | null | null | null | stubs/uiflow_stickc_plus/uiflow.py | c99koder/m5stickc-aerogarden | ac7d157d4ae4e47151896a7c7aee4c574ce52169 | [
"Apache-2.0"
] | null | null | null | """
Module: 'uiflow' on uiflow_stickc_plus v1.9.1
"""
# MCU: {'ver': 'v1.12', 'port': 'esp32', 'arch': 'xtensawin', 'sysname': 'esp32', 'release': '1.12.0', 'name': 'micropython', 'mpy': 10757, 'version': '1.12.0', 'machine': 'M5StickC-Plus with ESP32', 'build': 'dirty', 'nodename': 'esp32', 'platform': 'esp32', 'famil... | 24.62069 | 284 | 0.571429 | 90 | 714 | 4.477778 | 0.544444 | 0.104218 | 0.225806 | 0.238213 | 0.099256 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055743 | 0.170868 | 714 | 28 | 285 | 25.5 | 0.625 | 0.481793 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | true | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
455b180f7909484f85c5d02645d26f96fdecf8b4 | 96 | py | Python | src/services/acix/indexserver/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/acix/indexserver/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/services/acix/indexserver/__init__.py | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | from acix.indexserver import indexsetup
createApplication = indexsetup.createIndexApplication
| 19.2 | 53 | 0.875 | 8 | 96 | 10.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 96 | 4 | 54 | 24 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4561704ff4bea2fa5549614f42440e54da29af4f | 92 | py | Python | nehushtan/multiprocessing/NehushtanMPTerminatedSituation.py | sinri/nehushtan | 6fda496e16a8d443a86c617173d35f31c392beb6 | [
"MIT"
] | null | null | null | nehushtan/multiprocessing/NehushtanMPTerminatedSituation.py | sinri/nehushtan | 6fda496e16a8d443a86c617173d35f31c392beb6 | [
"MIT"
] | 1 | 2020-11-20T03:10:23.000Z | 2020-11-20T09:30:34.000Z | nehushtan/multiprocessing/NehushtanMPTerminatedSituation.py | sinri/nehushtan | 6fda496e16a8d443a86c617173d35f31c392beb6 | [
"MIT"
] | 1 | 2021-10-13T10:16:58.000Z | 2021-10-13T10:16:58.000Z | class NehushtanMPTerminatedSituation(Exception):
"""
Since 0.2.13
"""
pass
| 13.142857 | 48 | 0.619565 | 8 | 92 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.26087 | 92 | 6 | 49 | 15.333333 | 0.779412 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
457a5eceb63d18e1366082ea30db4f2175d553ea | 297 | py | Python | Q6.py | devasheeshG/Project-file-XII_21-22 | 9ef06a09c36197a2a1a13305a745578c8cbf3578 | [
"MIT"
] | null | null | null | Q6.py | devasheeshG/Project-file-XII_21-22 | 9ef06a09c36197a2a1a13305a745578c8cbf3578 | [
"MIT"
] | null | null | null | Q6.py | devasheeshG/Project-file-XII_21-22 | 9ef06a09c36197a2a1a13305a745578c8cbf3578 | [
"MIT"
] | null | null | null | # Q6. Write a programs to print the following pattern :
''' a)A
A B
A B C
A B C D
A B C D E
b)1
1 2
1 2 3
1 2 3 4
c) 4 3 2 1
3 2 1
2 1
1 '''
| 16.5 | 56 | 0.26936 | 47 | 297 | 1.702128 | 0.361702 | 0.1 | 0.1125 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 0.690236 | 297 | 17 | 57 | 17.470588 | 0.641304 | 0.558923 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
458d8e8f8fcfcc2e3787a56fa2af30cbc41b9c56 | 243 | py | Python | alfred/modules/api/view_components/a_heading.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 5 | 2016-09-06T10:29:24.000Z | 2017-02-22T14:07:48.000Z | alfred/modules/api/view_components/a_heading.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 66 | 2016-09-06T06:40:24.000Z | 2022-03-11T23:18:05.000Z | alfred/modules/api/view_components/a_heading.py | Sefrwahed/Alfred | 0b77ec547fb665ef29fe1a3b7e1c4ad30c31170d | [
"MIT"
] | 3 | 2016-10-06T15:17:38.000Z | 2016-12-04T13:25:53.000Z | from .a_component import AComponent
class AHeading(AComponent):
def __init__(self, size, *args, **kwargs):
self.size = size
super().__init__(*args, **kwargs)
def tagname(self):
return "h{}".format(self.size)
| 22.090909 | 46 | 0.62963 | 29 | 243 | 4.965517 | 0.62069 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226337 | 243 | 10 | 47 | 24.3 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
459f8d2102db32795253bb6799365b10e9767802 | 977 | py | Python | zipline/optimize/factors/sector/cn.py | liudengfeng/zipline | 01fdd51d83efeb3453e92b7d02c255a06eba49ac | [
"Apache-2.0"
] | 6 | 2017-12-11T06:12:00.000Z | 2019-05-23T17:39:10.000Z | zipline/optimize/factors/sector/cn.py | liudengfeng/zipline | 01fdd51d83efeb3453e92b7d02c255a06eba49ac | [
"Apache-2.0"
] | null | null | null | zipline/optimize/factors/sector/cn.py | liudengfeng/zipline | 01fdd51d83efeb3453e92b7d02c255a06eba49ac | [
"Apache-2.0"
] | 1 | 2018-01-26T14:19:38.000Z | 2018-01-26T14:19:38.000Z | """
国证行业敞口
"""
from zipline.pipeline.builtin import Sector
from .base import CNSectorExposure
class BasicMaterials(CNSectorExposure):
sector_code = Sector.BASIC_MATERIALS
class ConsumerCyclical(CNSectorExposure):
sector_code = Sector.BASIC_MATERIALS
class FinancialServices(CNSectorExposure):
sector... | 18.433962 | 47 | 0.796315 | 94 | 977 | 8.095745 | 0.329787 | 0.318003 | 0.375821 | 0.462549 | 0.134034 | 0.134034 | 0.134034 | 0 | 0 | 0 | 0 | 0 | 0.138178 | 977 | 52 | 48 | 18.788462 | 0.9038 | 0.006141 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
afd8bb326c5fe89cb6579b0b2673853f74c38129 | 275 | py | Python | utils/path_util.py | AthinaKyriakou/mrbox | 20d430178cfd3484f9f799c782ea46053f90c36c | [
"Apache-2.0"
] | null | null | null | utils/path_util.py | AthinaKyriakou/mrbox | 20d430178cfd3484f9f799c782ea46053f90c36c | [
"Apache-2.0"
] | null | null | null | utils/path_util.py | AthinaKyriakou/mrbox | 20d430178cfd3484f9f799c782ea46053f90c36c | [
"Apache-2.0"
] | 1 | 2021-03-23T05:13:58.000Z | 2021-03-23T05:13:58.000Z | import os
def customize_path(folder_path, filename):
return os.path.join(folder_path, filename)
def remove_prefix(prefix, filepath):
prefix = customize_path(prefix, '')
if filepath.startswith(prefix):
return filepath[len(prefix):]
return filepath
| 21.153846 | 46 | 0.72 | 34 | 275 | 5.676471 | 0.441176 | 0.134715 | 0.186529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178182 | 275 | 12 | 47 | 22.916667 | 0.853982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
afeb9e99b69b3a3302fdaab2ae5712279c4f2b71 | 711 | py | Python | robolearn_envs/pybullet/__init__.py | domingoesteban/robolearn_envs | 1e10f315abcbb034e613b3b5a7a48662a839c81b | [
"BSD-3-Clause"
] | 2 | 2020-08-20T15:46:55.000Z | 2022-02-16T13:45:59.000Z | robolearn_envs/pybullet/__init__.py | domingoesteban/robolearn_envs | 1e10f315abcbb034e613b3b5a7a48662a839c81b | [
"BSD-3-Clause"
] | null | null | null | robolearn_envs/pybullet/__init__.py | domingoesteban/robolearn_envs | 1e10f315abcbb034e613b3b5a7a48662a839c81b | [
"BSD-3-Clause"
] | 1 | 2020-10-03T11:28:15.000Z | 2020-10-03T11:28:15.000Z | # Manipulator 2D 3DoF
from .planarmanipulators import Reacher2DEnv
from .planarmanipulators import Reacher2DObstacleEnv
from .planarmanipulators import Pusher2DGoalCompoEnv
from .planarmanipulators import Reacher2DGoalCompoEnv
# CENTAURO
from .centauro import CentauroTrayEnv
from .centauro import CentauroObstacleEnv
f... | 26.333333 | 53 | 0.859353 | 68 | 711 | 8.985294 | 0.382353 | 0.144026 | 0.183306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009494 | 0.111111 | 711 | 26 | 54 | 27.346154 | 0.957278 | 0.075949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aff79cac1465830cdfaef4f210f91a09d79b75e2 | 197 | py | Python | telemetry/default.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 3 | 2020-03-20T20:04:37.000Z | 2021-08-23T20:11:10.000Z | telemetry/default.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | 2 | 2019-06-10T08:02:05.000Z | 2019-06-10T08:02:22.000Z | telemetry/default.py | trevorgrayson/telemetry | efeca1b2062f40a2557f2c030dc687f546f3c60b | [
"MIT"
] | null | null | null | class Default:
""" No-op Implementation """
def __init__(self, *args, **kwargs):
pass
def gauge(self, name, value):
pass
def report_time(self, fn):
pass
| 15.153846 | 40 | 0.548223 | 23 | 197 | 4.478261 | 0.73913 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324873 | 197 | 12 | 41 | 16.416667 | 0.774436 | 0.101523 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b3023d4c7db4219925659af46e5e0a5c2bb7d4f3 | 291 | py | Python | fwup/errors.py | greatscottgadgets/pyfwup | 91d1c7dea2d6b74e56281e3f1a06bba49ffef797 | [
"BSD-3-Clause"
] | 15 | 2019-10-20T20:48:10.000Z | 2022-01-18T14:37:50.000Z | fwup/errors.py | hacking-usb/pyfwup | 91d1c7dea2d6b74e56281e3f1a06bba49ffef797 | [
"BSD-3-Clause"
] | 2 | 2021-09-23T16:42:04.000Z | 2022-01-02T21:05:15.000Z | fwup/errors.py | hacking-usb/pyfwup | 91d1c7dea2d6b74e56281e3f1a06bba49ffef797 | [
"BSD-3-Clause"
] | 2 | 2020-02-05T15:10:07.000Z | 2022-01-18T14:37:51.000Z | #
# Generic error collection for pynucleus.
# This file is part of pynucleus.
#
class BoardNotFoundError(IOError):
""" Class representing a condition where no board was found. """
class ProgrammingFailureError(IOError):
""" Class representing a condition where programming failed. """
| 22.384615 | 65 | 0.756014 | 33 | 291 | 6.666667 | 0.727273 | 0.109091 | 0.218182 | 0.227273 | 0.354545 | 0.354545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 291 | 12 | 66 | 24.25 | 0.894309 | 0.646048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b30336b4db0b9ea5836c9a4faad0b57fec981af3 | 187 | py | Python | install_spark_dependencies.py | igponce/pyspark_develop | 10c37e11c5ba45f0746eeca55b3c0bfd7bdcf5a9 | [
"MIT"
] | null | null | null | install_spark_dependencies.py | igponce/pyspark_develop | 10c37e11c5ba45f0746eeca55b3c0bfd7bdcf5a9 | [
"MIT"
] | null | null | null | install_spark_dependencies.py | igponce/pyspark_develop | 10c37e11c5ba45f0746eeca55b3c0bfd7bdcf5a9 | [
"MIT"
] | null | null | null | from pyspark.sql import SparkSession
# This will download the Jar packages.
SparkSession.builder.appName("console config").config('spark.jars.packages','org.apache.spark').getOrCreate()
| 37.4 | 109 | 0.796791 | 24 | 187 | 6.208333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074866 | 187 | 4 | 110 | 46.75 | 0.861272 | 0.192513 | 0 | 0 | 0 | 0 | 0.328859 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b31455cdb682348624e6fc4615fbdae9307fc248 | 232 | py | Python | python/zilliz_gis/util/vega/scatter_plot/vega_scatter_plot.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | null | null | null | python/zilliz_gis/util/vega/scatter_plot/vega_scatter_plot.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | null | null | null | python/zilliz_gis/util/vega/scatter_plot/vega_scatter_plot.py | beautifulpython/GIS | 9054f382ef2e473291863ad3e4a3198fc6ea7f55 | [
"Apache-2.0"
] | 1 | 2020-01-15T03:42:52.000Z | 2020-01-15T03:42:52.000Z | class VegaScatterPlot(object):
def __init__(self, width: int, height: int):
self._width = width
self._height = height
def build(self):
# TODO error log here
print("illegal")
assert 0
| 23.2 | 48 | 0.590517 | 27 | 232 | 4.851852 | 0.666667 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.314655 | 232 | 9 | 49 | 25.777778 | 0.81761 | 0.081897 | 0 | 0 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0.111111 | 0.142857 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b319e038d3c2ad1fad93fe6d936cc086bb0838e3 | 1,320 | py | Python | resources/panels/seeds/modern_adverb.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 32 | 2016-08-27T01:31:42.000Z | 2022-03-21T08:59:28.000Z | resources/panels/seeds/modern_adverb.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 3 | 2016-08-27T00:51:47.000Z | 2019-08-26T13:23:04.000Z | resources/panels/seeds/modern_adverb.py | exposit/pythia-oracle | 60e4e806c9ed1627f2649822ab1901d28933daac | [
"MIT"
] | 10 | 2016-08-28T14:14:41.000Z | 2021-03-18T03:24:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Astounding Horror 1930s
chart = ["only", "absent-mindedly", "absolutely", "afterward", "ahead", "alike", "alongside", "always", "around", "asleep", "audibly", "away", "backward", "barely", "blankly", "blind", "blindly", "bravely", "brilliantly", "brokenly", "calmly", "clo... | 264 | 1,247 | 0.675 | 112 | 1,320 | 7.955357 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004139 | 0.084848 | 1,320 | 4 | 1,248 | 330 | 0.733444 | 0.05 | 0 | 0 | 0 | 0 | 0.673062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b344888bf055c4d775d535c4391e77f54cddbac4 | 52 | py | Python | 26_simple_for_loop.py | rahulbohra/Python-Basic | 7dfadde341e9d02fdcb37f70cce10e8b689f36c9 | [
"MIT"
] | null | null | null | 26_simple_for_loop.py | rahulbohra/Python-Basic | 7dfadde341e9d02fdcb37f70cce10e8b689f36c9 | [
"MIT"
] | null | null | null | 26_simple_for_loop.py | rahulbohra/Python-Basic | 7dfadde341e9d02fdcb37f70cce10e8b689f36c9 | [
"MIT"
] | null | null | null | for i in [5,4,3,2,1]:
print i
print 'Blastoff!'
| 13 | 21 | 0.576923 | 12 | 52 | 2.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.230769 | 52 | 3 | 22 | 17.333333 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b348271d0b4cc9e411be8aedffe0b822c5fcc9e4 | 307 | py | Python | app/middleware/nocache.py | Vincent0700/flask-restful-mongo | 7b0a5bd8f8ce970d2ec08efd925ae459353189cc | [
"MIT"
] | 1 | 2019-01-17T01:14:18.000Z | 2019-01-17T01:14:18.000Z | app/middleware/nocache.py | Vincent0700/flask-restful-mongo | 7b0a5bd8f8ce970d2ec08efd925ae459353189cc | [
"MIT"
] | null | null | null | app/middleware/nocache.py | Vincent0700/flask-restful-mongo | 7b0a5bd8f8ce970d2ec08efd925ae459353189cc | [
"MIT"
] | null | null | null | def nocache(app):
@app.after_request
def add_header(resp):
resp.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate'
resp.headers['Pragma'] = 'no-cache'
resp.headers['Expires'] = '0'
resp.headers['Cache-Control'] = 'public, max-age=0'
return resp
| 34.111111 | 77 | 0.605863 | 39 | 307 | 4.717949 | 0.564103 | 0.23913 | 0.173913 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008439 | 0.228013 | 307 | 8 | 78 | 38.375 | 0.767932 | 0 | 0 | 0 | 0 | 0 | 0.325733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b35570fd88aafcf03b1ca26444cff4184aa6071b | 179 | py | Python | educator/admin.py | awolste/beginToReason2 | 9939af5157fcb1658fe9f1c29e0925a34cb53529 | [
"BSD-3-Clause"
] | null | null | null | educator/admin.py | awolste/beginToReason2 | 9939af5157fcb1658fe9f1c29e0925a34cb53529 | [
"BSD-3-Clause"
] | null | null | null | educator/admin.py | awolste/beginToReason2 | 9939af5157fcb1658fe9f1c29e0925a34cb53529 | [
"BSD-3-Clause"
] | null | null | null | """
This module registers the models we created for the "educator" application. After registering
the model, the data will be accessible through Django's admin functionality.
"""
| 35.8 | 93 | 0.787709 | 25 | 179 | 5.64 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145251 | 179 | 4 | 94 | 44.75 | 0.921569 | 0.949721 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b36a084c3de588d1b8c54978936d6501ee5f4044 | 288 | py | Python | tilezilla/sensors/__init__.py | ceholden/landsat_tiles | 8ba22fcc13aafa1bedb278fb8c2cd17acefd707b | [
"BSD-3-Clause"
] | 5 | 2016-02-29T01:11:45.000Z | 2019-03-24T16:13:43.000Z | tilezilla/sensors/__init__.py | ceholden/landsat_tiles | 8ba22fcc13aafa1bedb278fb8c2cd17acefd707b | [
"BSD-3-Clause"
] | 1 | 2016-04-27T17:18:24.000Z | 2016-05-13T18:12:58.000Z | tilezilla/sensors/__init__.py | ceholden/landsat_tile | 8ba22fcc13aafa1bedb278fb8c2cd17acefd707b | [
"BSD-3-Clause"
] | 1 | 2018-02-02T15:32:17.000Z | 2018-02-02T15:32:17.000Z | """ Sensor specific information or helper functions/classes
"""
import json
import os
import pkgutil
_SENSOR_FRIENDLY_NAMES_DATA = os.path.join('data', 'friendly_names.json')
SENSOR_FRIENDLY_NAMES = json.loads(
pkgutil.get_data('tilezilla', _SENSOR_FRIENDLY_NAMES_DATA).decode()
)
| 22.153846 | 73 | 0.784722 | 38 | 288 | 5.631579 | 0.526316 | 0.242991 | 0.266355 | 0.214953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107639 | 288 | 12 | 74 | 24 | 0.832685 | 0.190972 | 0 | 0 | 0 | 0 | 0.142222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2faf258430fac6840f011b21dd53a49a51d7f136 | 316 | py | Python | nf/nop/spec.py | kylerky/klint | 77be216ec3f4315a835b7bcdaef1b66ed3144603 | [
"MIT"
] | 2 | 2022-03-08T16:10:27.000Z | 2022-03-11T14:14:04.000Z | nf/nop/spec.py | kylerky/klint | 77be216ec3f4315a835b7bcdaef1b66ed3144603 | [
"MIT"
] | null | null | null | nf/nop/spec.py | kylerky/klint | 77be216ec3f4315a835b7bcdaef1b66ed3144603 | [
"MIT"
] | 1 | 2022-03-24T09:27:41.000Z | 2022-03-24T09:27:41.000Z | def spec(packet, config, transmitted_packet):
if packet.device == config['wan device']:
assert transmitted_packet.device == config['lan device']
else:
assert transmitted_packet.device == config['wan device']
# assert transmitted_packet.data[:96] == packet.data[:96] # ignore MACs for now
| 39.5 | 82 | 0.689873 | 39 | 316 | 5.487179 | 0.435897 | 0.317757 | 0.252336 | 0.196262 | 0.602804 | 0.46729 | 0.46729 | 0.46729 | 0 | 0 | 0 | 0.015504 | 0.183544 | 316 | 7 | 83 | 45.142857 | 0.813953 | 0.240506 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2fb148100e9758a039ce97a5e7f1f43aa2d2aadb | 3,610 | py | Python | pantra/components/grammar/PMLParserVisitor.py | zergos/pantra | e68196489a2da0f46fba2f54473762b3b0b15fa7 | [
"Apache-2.0"
] | null | null | null | pantra/components/grammar/PMLParserVisitor.py | zergos/pantra | e68196489a2da0f46fba2f54473762b3b0b15fa7 | [
"Apache-2.0"
] | 4 | 2021-03-30T13:36:45.000Z | 2021-09-22T19:13:04.000Z | pantra/components/grammar/PMLParserVisitor.py | zergos/pantra | e68196489a2da0f46fba2f54473762b3b0b15fa7 | [
"Apache-2.0"
] | 1 | 2021-05-29T22:46:49.000Z | 2021-05-29T22:46:49.000Z | # Generated from PMLParser.g4 by ANTLR 4.7.2
from antlr4 import *
if __name__ is not None and "." in __name__:
from .PMLParser import PMLParser
else:
from PMLParser import PMLParser
# This class defines a complete generic visitor for a parse tree produced by PMLParser.
class PMLParserVisitor(ParseTreeVisitor)... | 30.59322 | 87 | 0.729086 | 426 | 3,610 | 6.159624 | 0.239437 | 0.050305 | 0.083841 | 0.150915 | 0.481326 | 0.481326 | 0.470274 | 0.457317 | 0.457317 | 0.457317 | 0 | 0.001724 | 0.196676 | 3,610 | 118 | 88 | 30.59322 | 0.903103 | 0.322161 | 0 | 0.428571 | 1 | 0 | 0.000416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.061224 | 0.428571 | 0.938776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2fb3f1c7fd33bc0ee96ce535d69af27b17c760f4 | 43 | py | Python | keepercommander/plugins/sshkey/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 151 | 2015-11-02T02:04:46.000Z | 2022-01-20T00:07:01.000Z | keepercommander/plugins/sshkey/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 145 | 2015-12-31T00:11:35.000Z | 2022-03-31T19:13:54.000Z | keepercommander/plugins/sshkey/__init__.py | Mkn-yskz/Commandy | e360306f41112534ae71102658f560fd974a1f45 | [
"MIT"
] | 73 | 2015-10-30T00:53:10.000Z | 2022-03-30T03:50:53.000Z | from .sshkey import *
__all__ = ["rotate"] | 14.333333 | 21 | 0.674419 | 5 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 22 | 14.333333 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2fda049059dc9df078cbadbf3fc922584b98030f | 100 | py | Python | brief/apps.py | madre/PersonalWeb | 27d88a3c6c4f86028887b0455b60eceeeb663e25 | [
"Apache-2.0"
] | null | null | null | brief/apps.py | madre/PersonalWeb | 27d88a3c6c4f86028887b0455b60eceeeb663e25 | [
"Apache-2.0"
] | null | null | null | brief/apps.py | madre/PersonalWeb | 27d88a3c6c4f86028887b0455b60eceeeb663e25 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
from django.apps import AppConfig
class BriefConfig(AppConfig):
name = 'brief'
| 14.285714 | 33 | 0.73 | 13 | 100 | 5.615385 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.17 | 100 | 6 | 34 | 16.666667 | 0.86747 | 0.12 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
640782dee4b9f8c33f89535be1fe2583617bbf93 | 31 | py | Python | job.py | asrabon/getJob | 8bf279b8712e292239e90245d56dacaddca14506 | [
"MIT"
] | null | null | null | job.py | asrabon/getJob | 8bf279b8712e292239e90245d56dacaddca14506 | [
"MIT"
] | null | null | null | job.py | asrabon/getJob | 8bf279b8712e292239e90245d56dacaddca14506 | [
"MIT"
] | 1 | 2018-09-22T06:30:35.000Z | 2018-09-22T06:30:35.000Z | class Job:
def __init__(): | 10.333333 | 19 | 0.612903 | 4 | 31 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 31 | 3 | 19 | 10.333333 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
640adcf2fc6e9d51208025752d026f7aa13c375a | 174,944 | py | Python | pybullet-gym/pybulletgym/tests/roboschool/agents/AtlasPyBulletEnv_v0_2017jul.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | 2 | 2021-07-12T17:11:35.000Z | 2021-07-13T05:56:30.000Z | pybullet-gym/pybulletgym/tests/roboschool/agents/AtlasPyBulletEnv_v0_2017jul.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | null | null | null | pybullet-gym/pybulletgym/tests/roboschool/agents/AtlasPyBulletEnv_v0_2017jul.py | SmaleZ/vcl_diayn | b2c47a681675b405d2011bc4a43c3914f3af4ecc | [
"MIT"
] | null | null | null | #add parent dir to find package. Only needed for source code build, pip install doesn't need it.
import inspect
import os
currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(os.path.dirname(currentdir))
os.sys.path.insert(0,parentdir)
import numpy as np
... | 609.560976 | 1,182 | 0.55364 | 38,669 | 174,944 | 2.504435 | 0.149448 | 0.000878 | 0.001053 | 0.000279 | 0.001755 | 0 | 0 | 0 | 0 | 0 | 0 | 0.621109 | 0.112133 | 174,944 | 286 | 1,183 | 611.692308 | 0.002376 | 0.000543 | 0 | 0.01083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01083 | 0 | 0.01083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6423d9c4f7fd3e88a7ffa5e13af6492eda54acf2 | 95 | py | Python | PostNotice/apps.py | MustafizSaadi/djangoPractice | b0bb1a6e0537a48a212186d5eefbc70b62ad4ed5 | [
"bzip2-1.0.6"
] | null | null | null | PostNotice/apps.py | MustafizSaadi/djangoPractice | b0bb1a6e0537a48a212186d5eefbc70b62ad4ed5 | [
"bzip2-1.0.6"
] | 3 | 2021-03-19T12:56:52.000Z | 2021-04-08T21:58:49.000Z | PostNotice/apps.py | MustafizSaadi/djangoPractice | b0bb1a6e0537a48a212186d5eefbc70b62ad4ed5 | [
"bzip2-1.0.6"
] | 1 | 2019-04-28T18:20:06.000Z | 2019-04-28T18:20:06.000Z | from django.apps import AppConfig
class PostnoticeConfig(AppConfig):
name = 'PostNotice'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
64266a9ce6074e1f1c1feac3917e204fbeef3750 | 589 | py | Python | code/data.py | rssoroka/devops_roman | eff9549be974ec36c965f14886a3921526cd32dc | [
"Apache-2.0"
] | 3 | 2021-09-22T16:14:51.000Z | 2021-09-22T16:15:18.000Z | code/data.py | rssoroka/devops_roman | eff9549be974ec36c965f14886a3921526cd32dc | [
"Apache-2.0"
] | 31 | 2021-09-21T03:21:26.000Z | 2022-02-19T18:23:06.000Z | code/data.py | rssoroka/devops_roman | eff9549be974ec36c965f14886a3921526cd32dc | [
"Apache-2.0"
] | 10 | 2021-09-15T17:43:27.000Z | 2022-02-14T22:25:33.000Z | import json
import pandas as pd
# print("Converting data from json to csv...")
""" JSON TO DATAFRAME """
# data = json.load(open('../data/device-covid19serology-0001-of-0001.json'))
# df = pd.DataFrame(data["results"])
"""print(df)"""
""" DATAFRAME TO CSV """
# df.to_csv('../data/device-covid19serology-0001-of-00... | 26.772727 | 104 | 0.692699 | 87 | 589 | 4.678161 | 0.425287 | 0.036855 | 0.184275 | 0.213759 | 0.356265 | 0.356265 | 0.27027 | 0.27027 | 0.27027 | 0.27027 | 0 | 0.059055 | 0.137521 | 589 | 21 | 105 | 28.047619 | 0.742126 | 0.563667 | 0 | 0 | 0 | 0 | 0.28877 | 0.251337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
64426e9eeb6643f99174717a279580696d67cd2d | 218 | py | Python | tube/serializer.py | Nancy-Muthinzi/video-tube | c820c98c69e814e831b473f5b5e0c3568989d69d | [
"MIT"
] | null | null | null | tube/serializer.py | Nancy-Muthinzi/video-tube | c820c98c69e814e831b473f5b5e0c3568989d69d | [
"MIT"
] | 5 | 2020-06-05T19:44:37.000Z | 2021-09-08T00:46:17.000Z | tube/serializer.py | Nancy-Muthinzi/video-tube | c820c98c69e814e831b473f5b5e0c3568989d69d | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import VtubeInfo
class InfoSerielizer(serializers.ModelSerializer):
class Meta:
model = VtubeInfo
fields = ('id', 'name', 'description')
| 27.25 | 50 | 0.692661 | 21 | 218 | 7.142857 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224771 | 218 | 8 | 51 | 27.25 | 0.887574 | 0 | 0 | 0 | 0 | 0 | 0.077626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff36fdacc38eca4844faa076434e43451ac1e27a | 154 | py | Python | boa3_test/test_sc/typing_test/CastToTypedList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/typing_test/CastToTypedList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/typing_test/CastToTypedList.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import Any, List, cast
from boa3.builtin import public
@public
def Main(value: Any) -> int:
x = cast(List[int], value)
return x[0]
| 15.4 | 34 | 0.668831 | 25 | 154 | 4.12 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.214286 | 154 | 9 | 35 | 17.111111 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ff44456d34b51cbe85b61f3cc127be747dc590a6 | 53 | py | Python | API/__init__.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null | API/__init__.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null | API/__init__.py | ValerianThomas/WhatsappAuto | 606ece1056c2eea8ecea4d9b166c812e2f35714d | [
"MIT"
] | null | null | null |
from API.app import create_app
app = create_app() | 13.25 | 30 | 0.735849 | 9 | 53 | 4.111111 | 0.555556 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 4 | 31 | 13.25 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff5682b65c2d1d19ed6f446d2ae53e2a5cb8e4b9 | 147 | py | Python | accounts/listeners.py | PingLu8/django-twitter | ef5c47a9b2cd6796d67028946b2ed1c7b0af51be | [
"Apache-2.0"
] | null | null | null | accounts/listeners.py | PingLu8/django-twitter | ef5c47a9b2cd6796d67028946b2ed1c7b0af51be | [
"Apache-2.0"
] | null | null | null | accounts/listeners.py | PingLu8/django-twitter | ef5c47a9b2cd6796d67028946b2ed1c7b0af51be | [
"Apache-2.0"
] | null | null | null | def profile_changed(sender, instance, **kwargs):
from accounts.services import UserService
UserService.invalidate_profile(instance.user_id) | 49 | 52 | 0.809524 | 17 | 147 | 6.823529 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 147 | 3 | 52 | 49 | 0.885496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ff5d0e66f80a904c14962c24940dc65d70fdbb6a | 38 | py | Python | ctrl-hyper/ctrl-n.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | 1 | 2020-05-02T03:46:10.000Z | 2020-05-02T03:46:10.000Z | ctrl-hyper/ctrl-n.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | ctrl-hyper/ctrl-n.py | MTfirst/cmd-ctrl_onLinux | 38a6db67796bdc8d438ca63171d9fea03e84f5f7 | [
"MIT"
] | null | null | null | keyboard.send_keys("<ctrl>+<shift>+n") | 38 | 38 | 0.710526 | 6 | 38 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 38 | 1 | 38 | 38 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ff882554a42b35905e11f95f36516f6764b74e71 | 276 | py | Python | transaction/controllers/transaction.py | truggeri/Books.Service.Transaction | 70d631a0c819b4f70f3a76f34b17441a1f2b696e | [
"MIT"
] | null | null | null | transaction/controllers/transaction.py | truggeri/Books.Service.Transaction | 70d631a0c819b4f70f3a76f34b17441a1f2b696e | [
"MIT"
] | 12 | 2018-06-08T02:43:45.000Z | 2018-07-19T13:54:24.000Z | transaction/controllers/transaction.py | truggeri/Books.Service.Transaction | 70d631a0c819b4f70f3a76f34b17441a1f2b696e | [
"MIT"
] | null | null | null | """ Transaction controller
Endpoint for /transaction Rest API
"""
from flask_classful import FlaskView, route
class TransactionController(FlaskView):
def __init__(self):
pass
@route("/", methods=["POST"])
def post(self):
return ("ok", 200)
| 18.4 | 43 | 0.652174 | 29 | 276 | 6.034483 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014019 | 0.224638 | 276 | 14 | 44 | 19.714286 | 0.803738 | 0.206522 | 0 | 0 | 0 | 0 | 0.033816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
ff985dbe0e2057cab637e5e2183a2ef49686dc69 | 923 | py | Python | services/test/__init__.py | tamslo/koala | 9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c | [
"MIT"
] | null | null | null | services/test/__init__.py | tamslo/koala | 9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c | [
"MIT"
] | null | null | null | services/test/__init__.py | tamslo/koala | 9f8bb0e201bd9a773752f1fd70ecbfc2fe98eb5c | [
"MIT"
] | null | null | null | import os
import modules.file_utils as file_utils
from ..base_aligner import BaseAligner
class TestAlignerWritesLog(BaseAligner):
def build_index_command(self, parameters):
return "touch {}".format(parameters["genome_index_path"])
def alignment_command(self, parameters):
return "bash ./echo.sh... | 34.185185 | 90 | 0.708559 | 105 | 923 | 6.009524 | 0.4 | 0.133122 | 0.133122 | 0.171157 | 0.51664 | 0.364501 | 0.364501 | 0.364501 | 0.22187 | 0.22187 | 0 | 0 | 0.176598 | 923 | 26 | 91 | 35.5 | 0.830263 | 0 | 0 | 0.2 | 0 | 0 | 0.171181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.15 | 0.2 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ffa355f6fb847183778873f92f837bcd1f3c162a | 145 | py | Python | frozen/fwm_init.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | frozen/fwm_init.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | frozen/fwm_init.py | joewez/FunWithMicroPython | 11f36165376929bcfac15445034d1cd352734c44 | [
"MIT"
] | null | null | null | #
# Fun With MicroPython On The ESP8266
# Initialization Script
#
import wget
wget.get('http://wezensky.no-ip.org/shared/fwm/fwm.py', 'fwm.py')
| 18.125 | 65 | 0.724138 | 23 | 145 | 4.565217 | 0.826087 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.117241 | 145 | 7 | 66 | 20.714286 | 0.789063 | 0.393103 | 0 | 0 | 0 | 0 | 0.590361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ffb03666b171fce260809cffb1eea351024010dd | 1,383 | py | Python | hb_quant/huobi/model/market/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 611 | 2019-07-10T08:17:50.000Z | 2022-03-21T18:56:39.000Z | hb_quant/huobi/model/market/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 105 | 2019-07-12T03:43:41.000Z | 2022-03-30T10:33:06.000Z | hb_quant/huobi/model/market/__init__.py | wenli135/Binance-volatility-trading-bot | 75a03ad61df0e95492128fb6f1f419d4dc256ab3 | [
"MIT"
] | 325 | 2019-07-12T02:46:54.000Z | 2022-03-21T18:56:41.000Z | from huobi.model.market.candlestick import Candlestick
from huobi.model.market.candlestick_event import CandlestickEvent
from huobi.model.market.candlestick_req import CandlestickReq
from huobi.model.market.last_trade_bestquote import LastTradeAndBestQuote
from huobi.model.market.pricedepth import PriceDepth
from huobi... | 51.222222 | 73 | 0.881417 | 189 | 1,383 | 6.301587 | 0.21164 | 0.173804 | 0.270361 | 0.38623 | 0.514694 | 0.240974 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068691 | 1,383 | 26 | 74 | 53.192308 | 0.924689 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
44061aa0adb895f5c1b9808a63be7ea9acb6c08d | 259 | py | Python | ejercicio.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | ejercicio.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | ejercicio.py | fsierra2000/Python | 19c3f52797b366019794ea75508d7317ef492ed5 | [
"MIT"
] | null | null | null | def lee_entero():
while True:
entrada = raw_input("Escribe un numero entero: ")
try:
entrada = int(entrada)
return entrada
except ValueError:
print ("La entrada es incorrecta: escribe un numero entero") | 32.375 | 71 | 0.598456 | 29 | 259 | 5.275862 | 0.689655 | 0.117647 | 0.196078 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 259 | 8 | 71 | 32.375 | 0.874286 | 0 | 0 | 0 | 0 | 0 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.125 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
445b52d9d5845fc7e2a20f736caebe9e29a9a0d8 | 195 | py | Python | irs_parser/utils.py | MthwRobinson/irs-990 | a11747a5179481d562085fb29c62022b144b6125 | [
"MIT"
] | null | null | null | irs_parser/utils.py | MthwRobinson/irs-990 | a11747a5179481d562085fb29c62022b144b6125 | [
"MIT"
] | null | null | null | irs_parser/utils.py | MthwRobinson/irs-990 | a11747a5179481d562085fb29c62022b144b6125 | [
"MIT"
] | null | null | null | import logging
import daiquiri
def get_logger(filename):
"""Configures the logger for the specified file."""
daiquiri.setup(level=logging.INFO)
return daiquiri.getLogger(filename)
| 19.5 | 55 | 0.748718 | 24 | 195 | 6.041667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158974 | 195 | 9 | 56 | 21.666667 | 0.884146 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
446bf6857b90e6ea14728fa39d2042f4c0657166 | 28 | py | Python | data/studio21_generated/introductory/4430/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4430/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4430/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def vowel_2_index(string):
| 14 | 26 | 0.785714 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 28 | 2 | 27 | 14 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
447b959d23c45e73c86a97b3a0220afcee9d55fa | 632 | py | Python | revscoring/languages/features/dictionary/__init__.py | elukey/revscoring | 9026e09e0c1069e0f62c20297aa8047b1161b06e | [
"MIT"
] | 49 | 2015-07-15T14:53:06.000Z | 2018-08-20T15:00:31.000Z | revscoring/languages/features/dictionary/__init__.py | elukey/revscoring | 9026e09e0c1069e0f62c20297aa8047b1161b06e | [
"MIT"
] | 224 | 2015-06-14T23:22:43.000Z | 2018-08-08T22:52:46.000Z | revscoring/languages/features/dictionary/__init__.py | elukey/revscoring | 9026e09e0c1069e0f62c20297aa8047b1161b06e | [
"MIT"
] | 36 | 2015-07-03T03:25:01.000Z | 2018-05-25T10:21:08.000Z | """
Implements a feature set based off of dictionary lookup.
.. autoclass:: revscoring.languages.features.Dictionary
:members:
:member-order: bysource
Supporting classes
------------------
.. autoclass:: revscoring.languages.features.dictionary.Revision
:members:
:member-order: bysource
.. autoclass... | 26.333333 | 82 | 0.745253 | 66 | 632 | 7.015152 | 0.454545 | 0.12311 | 0.181425 | 0.233261 | 0.453564 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.132911 | 632 | 23 | 83 | 27.478261 | 0.837591 | 0.642405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
447cbd0e1d6a519ff5357fc911a8739c06081d4e | 879 | py | Python | src/grokcore/component/tests/order/inter1.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | src/grokcore/component/tests/order/inter1.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | src/grokcore/component/tests/order/inter1.py | bielbienne/grokcore.component | 575276af7ef7575698c497a21f4ae7732fdc61bd | [
"ZPL-2.1"
] | null | null | null | """
The ordering works like so:
1. Objects with explicit ordering
(if combined with objects with no ordering not specified, then the orderless
objects come first)
2. Objects with same ordering get grouped by module import order
3. Internal order within module
4. If no ordering is specified by any objects, then ... | 24.416667 | 79 | 0.660978 | 118 | 879 | 4.90678 | 0.457627 | 0.082902 | 0.037997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008523 | 0.19909 | 879 | 35 | 80 | 25.114286 | 0.81392 | 0.827076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9223be455bdd809f92a772a881b9e33156ce5e89 | 23 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Bessel Functions/Zeros of Bessel Functions/jn_zeros Compute nt zeros of the Bessel function $J_n(x)$.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Bessel Functions/Zeros of Bessel Functions/jn_zeros Compute nt zeros of the Bessel function $J_n(x)$.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Bessel Functions/Zeros of Bessel Functions/jn_zeros Compute nt zeros of the Bessel function $J_n(x)$.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | special.jn_zeros(n, nt) | 23 | 23 | 0.782609 | 5 | 23 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 23 | 1 | 23 | 23 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9228f0bfc7ffd2af55ff937eeba8cc4427762a52 | 202 | py | Python | arxiv_post/__init__.py | astropenguin/arxiv-post | 7fcf6309139ff82edc449c71e1c62bd8405693cf | [
"MIT"
] | null | null | null | arxiv_post/__init__.py | astropenguin/arxiv-post | 7fcf6309139ff82edc449c71e1c62bd8405693cf | [
"MIT"
] | 19 | 2021-10-30T05:55:14.000Z | 2022-02-23T05:22:42.000Z | arxiv_post/__init__.py | astropenguin/arxiv-post | 7fcf6309139ff82edc449c71e1c62bd8405693cf | [
"MIT"
] | null | null | null | # flake8: noqa
__author__ = "Akio Taniguchi"
__version__ = "0.6.3"
# submodules
from . import apps
from . import arxiv
from . import article
from . import cli
from . import consts
from . import deepl
| 15.538462 | 29 | 0.727723 | 28 | 202 | 4.964286 | 0.642857 | 0.431655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.188119 | 202 | 12 | 30 | 16.833333 | 0.823171 | 0.113861 | 0 | 0 | 0 | 0 | 0.107955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
924e12b285cfcddca8823cd0e985711e26c94117 | 211 | py | Python | crawler/__init__.py | flo0web/crawler | f91c2a4a4d9966c165f84fb1038614b3a22b93f5 | [
"MIT"
] | null | null | null | crawler/__init__.py | flo0web/crawler | f91c2a4a4d9966c165f84fb1038614b3a22b93f5 | [
"MIT"
] | 1 | 2020-01-30T09:32:56.000Z | 2020-01-30T09:34:57.000Z | crawler/__init__.py | flo0web/crawler | f91c2a4a4d9966c165f84fb1038614b3a22b93f5 | [
"MIT"
] | null | null | null | """
A set of tools to develop web scrapers!
"""
from .crawler import Crawler, StealthCrawler
from .proxy import ProxyManager
from .scraper import Scraper
from .downloader import Request
from .api import crawl
| 19.181818 | 44 | 0.781991 | 29 | 211 | 5.689655 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156398 | 211 | 10 | 45 | 21.1 | 0.926966 | 0.184834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9253defc1b3c0f653100bbe7183dd377e794739b | 218 | py | Python | tests/auth.py | AntHoneyLam/open-pos | a0d625549ae82852836e45c621abe4e52419761c | [
"MIT"
] | null | null | null | tests/auth.py | AntHoneyLam/open-pos | a0d625549ae82852836e45c621abe4e52419761c | [
"MIT"
] | null | null | null | tests/auth.py | AntHoneyLam/open-pos | a0d625549ae82852836e45c621abe4e52419761c | [
"MIT"
] | null | null | null | # Python Dependencies
import sys
# Local Dependencies
from __init__ import return_path
sys.path.insert(1, return_path())
def test_login_req():
pass
def test_login_rules():
pass
def test_register_rules():
pass | 12.111111 | 33 | 0.770642 | 32 | 218 | 4.875 | 0.5625 | 0.134615 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.146789 | 218 | 18 | 34 | 12.111111 | 0.833333 | 0.174312 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
926be1c7e47147a10f0c587c6de98675436760ba | 697 | py | Python | Python/zzz_training_challenge/Python_Challenge/solutions/tests/ch04_strings/ex05_no_duplicate_chars_test.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/zzz_training_challenge/Python_Challenge/solutions/tests/ch04_strings/ex05_no_duplicate_chars_test.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/zzz_training_challenge/Python_Challenge/solutions/tests/ch04_strings/ex05_no_duplicate_chars_test.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | # Beispielprogramm für das Buch "Python Challenge"
#
# Copyright 2020 by Michael Inden
import pytest
from ch04_strings.solutions.ex05_no_duplicate_chars import check_no_duplicate_chars, check_no_duplicate_chars_v2
def input_and_expected():
return [("Otto", False), ("Adrian", False),
("Micha", True),... | 29.041667 | 112 | 0.771879 | 92 | 697 | 5.48913 | 0.413043 | 0.152475 | 0.221782 | 0.249505 | 0.572277 | 0.526733 | 0.50099 | 0.308911 | 0.308911 | 0.308911 | 0 | 0.017974 | 0.121951 | 697 | 23 | 113 | 30.304348 | 0.80719 | 0.114778 | 0 | 0.181818 | 0 | 0 | 0.084967 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0 | 0.181818 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9270d44d280be07eeaf6f1507419a3f556dee909 | 571 | py | Python | backpack/extensions/curvmatprod/hmp/activations.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 395 | 2019-10-04T09:37:52.000Z | 2022-03-29T18:00:56.000Z | backpack/extensions/curvmatprod/hmp/activations.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 78 | 2019-10-11T18:56:43.000Z | 2022-03-23T01:49:54.000Z | backpack/extensions/curvmatprod/hmp/activations.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 50 | 2019-10-03T16:31:10.000Z | 2022-03-15T19:36:14.000Z | from backpack.core.derivatives.relu import ReLUDerivatives
from backpack.core.derivatives.sigmoid import SigmoidDerivatives
from backpack.core.derivatives.tanh import TanhDerivatives
from backpack.extensions.curvmatprod.hmp.hmpbase import HMPBase
class HMPReLU(HMPBase):
def __init__(self):
super().__init_... | 28.55 | 64 | 0.775832 | 59 | 571 | 7.101695 | 0.389831 | 0.114558 | 0.114558 | 0.193317 | 0.272076 | 0.272076 | 0.272076 | 0 | 0 | 0 | 0 | 0 | 0.127846 | 571 | 19 | 65 | 30.052632 | 0.841365 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
92770c38ce82d8b3d0f2afec21336183a2002e62 | 220 | py | Python | Products.py | approachcircle/Vending_Machine | 7e6bc17a2133e8396cc33ccc8eb18a5632c5f322 | [
"MIT"
] | null | null | null | Products.py | approachcircle/Vending_Machine | 7e6bc17a2133e8396cc33ccc8eb18a5632c5f322 | [
"MIT"
] | null | null | null | Products.py | approachcircle/Vending_Machine | 7e6bc17a2133e8396cc33ccc8eb18a5632c5f322 | [
"MIT"
] | 1 | 2021-12-30T01:39:31.000Z | 2021-12-30T01:39:31.000Z | class Products:
def __init__(self, product_name, displayed_price, product_number):
self.product_name = product_name
self.displayed_price = displayed_price
self.product_number = product_number
| 36.666667 | 70 | 0.740909 | 26 | 220 | 5.769231 | 0.384615 | 0.22 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 220 | 5 | 71 | 44 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
929a2720a4dc1d8e1c0721af3537ccf07a5a2a7f | 360 | py | Python | app/forms/sign_in_form.py | dwdraugr/YADS | c8036d8196a3158636aaa4f1910033e70ec8ecb4 | [
"Apache-2.0"
] | 3 | 2019-09-02T11:26:58.000Z | 2019-12-06T15:54:38.000Z | app/forms/sign_in_form.py | dwdraugr/YADS | c8036d8196a3158636aaa4f1910033e70ec8ecb4 | [
"Apache-2.0"
] | null | null | null | app/forms/sign_in_form.py | dwdraugr/YADS | c8036d8196a3158636aaa4f1910033e70ec8ecb4 | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired, Length
class SignInForm(FlaskForm):
username = StringField('Username', [DataRequired(), Length(max=30)])
password = PasswordField('Password', [DataRequired()])
submit = ... | 36 | 72 | 0.763889 | 35 | 360 | 7.828571 | 0.542857 | 0.080292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.122222 | 360 | 9 | 73 | 40 | 0.860759 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.428571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
92aa4d682019ea52d838e840b1f4c67f6a1c242c | 751 | py | Python | tests/test-temp.py | sh-navid/NSKit | 7c377c260cbd380d39ecb41a7a237066013fa58a | [
"Apache-2.0"
] | 1 | 2021-08-17T01:12:48.000Z | 2021-08-17T01:12:48.000Z | tests/test-temp.py | sh-navid/PyHelper | 7c377c260cbd380d39ecb41a7a237066013fa58a | [
"Apache-2.0"
] | null | null | null | tests/test-temp.py | sh-navid/PyHelper | 7c377c260cbd380d39ecb41a7a237066013fa58a | [
"Apache-2.0"
] | null | null | null | #########################################################
# Author: sh-navid
#########################################################
'''
'''
#########################################################
# Add preprocessors
#########################################################
import sys
sys.path.append('.')
import op... | 28.884615 | 61 | 0.403462 | 61 | 751 | 4.918033 | 0.606557 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.083888 | 751 | 25 | 62 | 30.04 | 0.430233 | 0.061252 | 0 | 0 | 0 | 0 | 0.002841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.583333 | 0 | 0.666667 | 0.083333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2b98f85ba91b88ec4c48382f6a02958869e9d448 | 116 | py | Python | warden/exceptions.py | DavisRayM/db-warden | 70ab1bf3e7c712c34e469303aaef34cb4fa36d4c | [
"MIT"
] | null | null | null | warden/exceptions.py | DavisRayM/db-warden | 70ab1bf3e7c712c34e469303aaef34cb4fa36d4c | [
"MIT"
] | null | null | null | warden/exceptions.py | DavisRayM/db-warden | 70ab1bf3e7c712c34e469303aaef34cb4fa36d4c | [
"MIT"
] | null | null | null | """
Module containing exceptions raised by the warden application
"""
class ActionNotAllowed(Exception):
pass
| 14.5 | 61 | 0.758621 | 12 | 116 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 116 | 7 | 62 | 16.571429 | 0.907216 | 0.525862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.