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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13642a6d38a196556a535a8b7f1ef7b8d5ef6352 | 8,773 | py | Python | app/env/lib/python3.7/site-packages/twilio/rest/preview/wireless/sim/usage.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | 30 | 2018-06-12T12:00:53.000Z | 2021-05-02T01:27:16.000Z | app/env/lib/python3.7/site-packages/twilio/rest/preview/wireless/sim/usage.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | 11 | 2019-12-26T17:21:03.000Z | 2022-03-21T22:17:07.000Z | app/env/lib/python3.7/site-packages/twilio/rest/preview/wireless/sim/usage.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | 4 | 2018-06-12T14:14:20.000Z | 2018-06-19T16:01:49.000Z | # coding=utf-8
"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource import ListResource
fr... | 29.738983 | 92 | 0.618717 | 947 | 8,773 | 5.555438 | 0.131996 | 0.035355 | 0.054933 | 0.080783 | 0.651777 | 0.637711 | 0.582209 | 0.56092 | 0.548945 | 0.529747 | 0 | 0.000629 | 0.275048 | 8,773 | 294 | 93 | 29.840136 | 0.826572 | 0.419925 | 0 | 0.293478 | 1 | 0 | 0.127842 | 0.040577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.054348 | 0 | 0.554348 | 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 | 0 | 1 | 0 | 0 | 3 |
136bf79b951444b2528d8808021deed2bc2633b0 | 142 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | rsperl/python-template | 1865f507df25fc5c5e6ca1f6498d30e7744b8ac7 | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | rsperl/python-template | 1865f507df25fc5c5e6ca1f6498d30e7744b8ac7 | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py | rsperl/python-template | 1865f507df25fc5c5e6ca1f6498d30e7744b8ac7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
{% if cookiecutter.apidoc == 'yes' %}"""Documentation about the {{ cookiecutter.project_name }} module."""{% endif %}
| 47.333333 | 117 | 0.626761 | 15 | 142 | 5.866667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.133803 | 142 | 2 | 118 | 71 | 0.707317 | 0.147887 | 0 | 0 | 0 | 0 | 0.554622 | 0.210084 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
138e240fce2884097c46b9bac31caa9badae8a88 | 1,687 | py | Python | setup.py | benfitzg/SFC_models | a9c4c9fad83794357def99f0946dd0e9fc6da17a | [
"Apache-2.0"
] | null | null | null | setup.py | benfitzg/SFC_models | a9c4c9fad83794357def99f0946dd0e9fc6da17a | [
"Apache-2.0"
] | null | null | null | setup.py | benfitzg/SFC_models | a9c4c9fad83794357def99f0946dd0e9fc6da17a | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
with open('README.rst', 'r') as f:
long_desc = f.read()
setup(
name='sfc_models',
packages=['sfc_models', 'sfc_models.gl_book', 'sfc_models.examples'], # 'sfc_models.examples.scripts'],
version='1.0.0',
extras_require={'Charts': 'matplotlib >= 2.0'},
package_data=... | 44.394737 | 108 | 0.564315 | 168 | 1,687 | 5.571429 | 0.511905 | 0.223291 | 0.293803 | 0.222222 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025084 | 0.291049 | 1,687 | 37 | 109 | 45.594595 | 0.757525 | 0.018376 | 0 | 0 | 0 | 0 | 0.557437 | 0.013906 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13a9df179a258b97e8c94975f12b0ae41148c239 | 190 | bzl | Python | scala/private/phases/phase_write_manifest.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | scala/private/phases/phase_write_manifest.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | scala/private/phases/phase_write_manifest.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | #
# PHASE: write manifest
#
# DOCUMENT THIS
#
load(
"@io_bazel_rules_scala//scala/private:common.bzl",
"write_manifest",
)
def phase_write_manifest(ctx, p):
write_manifest(ctx)
| 14.615385 | 54 | 0.7 | 25 | 190 | 5.04 | 0.64 | 0.412698 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163158 | 190 | 12 | 55 | 15.833333 | 0.792453 | 0.184211 | 0 | 0 | 0 | 0 | 0.409396 | 0.315436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13bfe3a5f0a7492f73dab89ef1f9fd4b0a19feab | 492 | py | Python | owtf/plugins/web/passive/HTTP_Methods_and_XST@OWTF-CM-008.py | Udbhavbisarya23/owtf | 27623937677caf975569f8de8af7983ca57611bc | [
"BSD-3-Clause"
] | 1,514 | 2015-01-15T18:42:58.000Z | 2022-03-25T08:14:40.000Z | owtf/plugins/web/passive/HTTP_Methods_and_XST@OWTF-CM-008.py | justdvnsh/owtf | 3a543b4eb2a7ad67155eb96dd2d99efbc181498d | [
"BSD-3-Clause"
] | 652 | 2015-01-09T18:27:37.000Z | 2022-03-21T18:41:01.000Z | owtf/plugins/web/passive/HTTP_Methods_and_XST@OWTF-CM-008.py | justdvnsh/owtf | 3a543b4eb2a7ad67155eb96dd2d99efbc181498d | [
"BSD-3-Clause"
] | 506 | 2015-01-02T09:28:47.000Z | 2022-03-10T23:27:27.000Z | """
PASSIVE Plugin for HTTP Methods Testing
"""
import logging
from owtf.managers.resource import get_resources
from owtf.plugin.helper import plugin_helper
DESCRIPTION = "Third party resources"
def run(PluginInfo):
# Vuln search box to be built in core and resued in different plugins:
resource = get_resour... | 27.333333 | 75 | 0.770325 | 63 | 492 | 5.936508 | 0.666667 | 0.096257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 492 | 17 | 76 | 28.941176 | 0.903382 | 0.221545 | 0 | 0 | 0 | 0 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.222222 | 0.333333 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
13d74f45afb1d536b77b78f24cf2c49fd70152b9 | 6,020 | py | Python | plugin/core/views.py | AmjadHD/LSP | ed5a48d2b87e1e9fa630dc881268b67a387a9f58 | [
"MIT"
] | null | null | null | plugin/core/views.py | AmjadHD/LSP | ed5a48d2b87e1e9fa630dc881268b67a387a9f58 | [
"MIT"
] | null | null | null | plugin/core/views.py | AmjadHD/LSP | ed5a48d2b87e1e9fa630dc881268b67a387a9f58 | [
"MIT"
] | null | null | null | import sublime
import linecache
from .protocol import Point, Range, Notification, Request
from .typing import Optional, Dict, Any
from .url import filename_to_uri
from .url import uri_to_filename
def get_line(window: Optional[sublime.Window], file_name: str, row: int) -> str:
'''
Get the line from the buffer ... | 34.204545 | 113 | 0.703488 | 796 | 6,020 | 5.101759 | 0.198492 | 0.073873 | 0.084954 | 0.059591 | 0.381679 | 0.313223 | 0.205368 | 0.181236 | 0.162029 | 0.151194 | 0 | 0.003205 | 0.170764 | 6,020 | 175 | 114 | 34.4 | 0.810296 | 0.089369 | 0 | 0.084112 | 0 | 0 | 0.066911 | 0.0044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261682 | false | 0 | 0.056075 | 0.214953 | 0.598131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
13f345563426e8c308200fc0561b506d9e0b9e56 | 372 | py | Python | grace_dl/tensorflow/compressor/none.py | Crystal-wxy/grace | 49ea421279d45d6e55f685635f70a64412a1f852 | [
"BSD-2-Clause"
] | null | null | null | grace_dl/tensorflow/compressor/none.py | Crystal-wxy/grace | 49ea421279d45d6e55f685635f70a64412a1f852 | [
"BSD-2-Clause"
] | null | null | null | grace_dl/tensorflow/compressor/none.py | Crystal-wxy/grace | 49ea421279d45d6e55f685635f70a64412a1f852 | [
"BSD-2-Clause"
] | null | null | null | from grace_dl.tensorflow import Compressor
class NoneCompressor(Compressor):
"""Default no-op compression."""
def compress(self, tensor):
"""Returns the tensor unmodified."""
return [tensor], None
def decompress(self, tensors, ctx):
"""Returns the tensor unmodified."""... | 24.8 | 45 | 0.61828 | 37 | 372 | 6.189189 | 0.648649 | 0.087336 | 0.139738 | 0.227074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 372 | 14 | 46 | 26.571429 | 0.848148 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.857143 | 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 | 0 | 1 | 0 | 0 | 3 |
b913b9edcff3b8dfb7f25521a57ee02d22ef6382 | 2,490 | py | Python | CPythonLib/test/test_unpack.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | 3 | 2022-01-30T20:08:24.000Z | 2022-02-12T08:51:12.000Z | Lib/test/test_unpack.py | SaadBazaz/ChinesePython | 800955539dda912d4a1621bcf5a700aaaddc012f | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/test/test_unpack.py | SaadBazaz/ChinesePython | 800955539dda912d4a1621bcf5a700aaaddc012f | [
"CNRI-Python-GPL-Compatible"
] | 1 | 2019-04-11T11:27:01.000Z | 2019-04-11T11:27:01.000Z | from test_support import *
t = (1, 2, 3)
l = [4, 5, 6]
class Seq:
def __getitem__(self, i):
if i >= 0 and i < 3: return i
raise IndexError
a = -1
b = -1
c = -1
# unpack tuple
if verbose:
print 'unpack tuple'
a, b, c = t
if a != 1 or b != 2 or c != 3:
raise TestFailed
# unpack list
if ve... | 17.172414 | 69 | 0.62249 | 382 | 2,490 | 4.034031 | 0.235602 | 0.136275 | 0.118105 | 0.168722 | 0.526931 | 0.404932 | 0.303699 | 0.179104 | 0.107722 | 0.040234 | 0 | 0.022485 | 0.285542 | 2,490 | 144 | 70 | 17.291667 | 0.843732 | 0.187952 | 0 | 0.5 | 0 | 0 | 0.14414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.076923 | 0.009615 | null | null | 0.125 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b919ef39cfb3be0592f155b35d9557fc39fdf210 | 984 | py | Python | photoshop/api/_channels.py | loonghao/photoshop_python_api | f6796134845fb2b41d023b2085e678aeef822692 | [
"MIT"
] | 17 | 2019-03-01T12:09:37.000Z | 2020-04-09T14:14:59.000Z | photoshop/api/_channels.py | loonghao/photoshop_python_api | f6796134845fb2b41d023b2085e678aeef822692 | [
"MIT"
] | 7 | 2019-04-28T15:20:27.000Z | 2020-04-07T19:14:47.000Z | photoshop/api/_channels.py | loonghao/photoshop_python_api | f6796134845fb2b41d023b2085e678aeef822692 | [
"MIT"
] | 3 | 2020-02-28T14:27:11.000Z | 2020-04-01T16:12:40.000Z | # Import local modules
from photoshop.api._channel import Channel
from photoshop.api._core import Photoshop
from photoshop.api.errors import PhotoshopPythonAPIError
# pylint: disable=too-many-public-methods
class Channels(Photoshop):
def __init__(self, parent):
super().__init__(parent=parent)
@proper... | 24 | 81 | 0.647358 | 117 | 984 | 5.230769 | 0.410256 | 0.05719 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259146 | 984 | 40 | 82 | 24.6 | 0.839506 | 0.060976 | 0 | 0.071429 | 0 | 0 | 0.042345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321429 | false | 0 | 0.107143 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b91a5f23a410df4af5e1500735786631d55278ec | 132 | py | Python | tests/conftest.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | 1 | 2020-02-28T13:22:24.000Z | 2020-02-28T13:22:24.000Z | tests/conftest.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | null | null | null | tests/conftest.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
pytest_plugins = [
"fixtures.fixtures_app",
"fixtures.fixtures_db",
"fixtures.fixtures_auth",
]
| 18.857143 | 29 | 0.636364 | 14 | 132 | 5.714286 | 0.642857 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.181818 | 132 | 6 | 30 | 22 | 0.731481 | 0.159091 | 0 | 0 | 0 | 0 | 0.577982 | 0.394495 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b91e9d548e3e7ff3f1aec04f2a6d7e046774e62e | 1,134 | py | Python | bluefog/run/horovodrun/common/util/secret.py | ymchen7/bluefog | d9c450f2bdac11ff719b7e5f5434ee5ff56499b4 | [
"Apache-2.0"
] | 1 | 2021-07-19T09:22:29.000Z | 2021-07-19T09:22:29.000Z | bluefog/run/horovodrun/common/util/secret.py | IcevorHu/bluefog | 04ca6a85e8b369119b5c7df84579cc2237a16844 | [
"Apache-2.0"
] | null | null | null | bluefog/run/horovodrun/common/util/secret.py | IcevorHu/bluefog | 04ca6a85e8b369119b5c7df84579cc2237a16844 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Uber Technologies, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 30.648649 | 80 | 0.708113 | 155 | 1,134 | 5.077419 | 0.580645 | 0.076239 | 0.060991 | 0.040661 | 0.083863 | 0.083863 | 0 | 0 | 0 | 0 | 0 | 0.015609 | 0.152557 | 1,134 | 36 | 81 | 31.5 | 0.80333 | 0.592593 | 0 | 0 | 0 | 0 | 0.042697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b9206ac3396cfeb5a87baf00bf77dbedea81c8be | 82 | py | Python | sympy/liealgebras/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/liealgebras/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | sympy/liealgebras/__init__.py | Michal-Gagala/sympy | 3cc756c2af73b5506102abaeefd1b654e286e2c8 | [
"MIT"
] | null | null | null | from sympy.liealgebras.cartan_type import CartanType
__all__ = ['CartanType']
| 20.5 | 53 | 0.780488 | 9 | 82 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 3 | 54 | 27.333333 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b92215c8d6da668036da89c2cc38e7240f6c401c | 1,816 | py | Python | test_seq_features.py | YuelinS/bootcamp | 0136b4bb3f01449f61ed77040285a311bbeb2fda | [
"CC-BY-4.0",
"MIT"
] | null | null | null | test_seq_features.py | YuelinS/bootcamp | 0136b4bb3f01449f61ed77040285a311bbeb2fda | [
"CC-BY-4.0",
"MIT"
] | null | null | null | test_seq_features.py | YuelinS/bootcamp | 0136b4bb3f01449f61ed77040285a311bbeb2fda | [
"CC-BY-4.0",
"MIT"
] | null | null | null | import seq_features as sf
import pytest
def test_number_negative_single_aa():
"""perform unit tests on number_negatives()"""
assert sf.number_negative('E')==1
assert sf.number_negative('EEEEAAA')==4
def test_number_negative_short_seqs():
assert sf.number_negative('D')==1
def test_numb... | 31.310345 | 50 | 0.698238 | 259 | 1,816 | 4.644788 | 0.23166 | 0.099751 | 0.151288 | 0.164589 | 0.639235 | 0.486284 | 0.469659 | 0.416459 | 0.416459 | 0.416459 | 0 | 0.008725 | 0.179515 | 1,816 | 58 | 51 | 31.310345 | 0.798658 | 0.123348 | 0 | 0.189189 | 0 | 0 | 0.109056 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 1 | 0.27027 | true | 0 | 0.054054 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b92a04aa4105d88704e3e1444e9c379e3e94e2fc | 64,552 | py | Python | opencv/components/TkCalibGUI/tkcalibgui.py | n-kawauchi/ImageProcessing | ff8a3739f7ef1f91a28addfd5ad592cf94d862d8 | [
"Intel"
] | null | null | null | opencv/components/TkCalibGUI/tkcalibgui.py | n-kawauchi/ImageProcessing | ff8a3739f7ef1f91a28addfd5ad592cf94d862d8 | [
"Intel"
] | 45 | 2019-02-12T09:10:39.000Z | 2021-03-30T09:10:33.000Z | opencv/components/TkCalibGUI/tkcalibgui.py | n-kawauchi/ImageProcessing | ff8a3739f7ef1f91a28addfd5ad592cf94d862d8 | [
"Intel"
] | 6 | 2019-02-12T08:55:21.000Z | 2020-02-26T06:36:19.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# -*- Python -*-
"""
@file tkcalibgui.py
@brief calibration gui
@date $Date$
"""
import sys
if sys.version_info[0] == 2:
from Tkinter import *
import ttk
else:
from tkinter import *
import tkinter.ttk as ttk
from PIL import Image, ImageTk
import time
import o... | 45.587571 | 124 | 0.847999 | 5,519 | 64,552 | 9.804675 | 0.407501 | 0.006949 | 0.005969 | 0.005526 | 0.113117 | 0.09497 | 0.07442 | 0.058989 | 0.05326 | 0.046866 | 0 | 0.110738 | 0.077132 | 64,552 | 1,415 | 125 | 45.619788 | 0.797543 | 0.029279 | 0 | 0.146538 | 0 | 0 | 0.669884 | 0.632074 | 0 | 1 | 0 | 0 | 0 | 1 | 0.041868 | false | 0.000805 | 0.022544 | 0.003221 | 0.083736 | 0.006441 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b93da814ef789a2681536a81f661550c2894ecde | 112 | py | Python | pkg-name/cli.py | JaekwanLee/testing-python-pkg | eafff5715c7863b245cf0c303dbddb16cc6140f8 | [
"MIT"
] | 25 | 2015-08-02T17:33:13.000Z | 2022-01-23T04:38:51.000Z | pkg-name/cli.py | JaekwanLee/testing-python-pkg | eafff5715c7863b245cf0c303dbddb16cc6140f8 | [
"MIT"
] | 1 | 2020-08-14T19:26:22.000Z | 2020-08-14T19:26:32.000Z | pkg-name/cli.py | JaekwanLee/testing-python-pkg | eafff5715c7863b245cf0c303dbddb16cc6140f8 | [
"MIT"
] | 32 | 2016-07-30T23:31:39.000Z | 2021-11-17T21:56:22.000Z | import click
@click.command()
def cli():
click.echo("Hello, World!")
if __name__ == '__main__':
cli()
| 12.444444 | 31 | 0.616071 | 14 | 112 | 4.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 8 | 32 | 14 | 0.677778 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b960592f36dc4978f68df61b513626b235875d2f | 3,768 | py | Python | bayesian/test/test_factor_graph_verify.py | timgates42/bayesian-belief-networks | 23c3e3ce1c7f99d83efb79f9b7798af2a1537e1c | [
"Apache-2.0"
] | 734 | 2015-01-05T21:25:01.000Z | 2022-03-16T12:12:20.000Z | bayesian/test/test_factor_graph_verify.py | timgates42/bayesian-belief-networks | 23c3e3ce1c7f99d83efb79f9b7798af2a1537e1c | [
"Apache-2.0"
] | 11 | 2015-01-20T16:22:48.000Z | 2021-05-12T13:01:11.000Z | bayesian/test/test_factor_graph_verify.py | timgates42/bayesian-belief-networks | 23c3e3ce1c7f99d83efb79f9b7798af2a1537e1c | [
"Apache-2.0"
] | 222 | 2015-01-06T09:28:53.000Z | 2022-03-04T10:38:32.000Z | import pytest
from bayesian.factor_graph import *
def pytest_funcarg__x1(request):
x1 = VariableNode('x1')
return x1
def pytest_funcarg__x2(request):
x2 = VariableNode('x2')
return x2
def pytest_funcarg__fA_node(request):
def fA(x1):
return 0.5
fA_node = FactorNode('fA', fA)
... | 24.309677 | 77 | 0.642516 | 493 | 3,768 | 4.592292 | 0.1643 | 0.058304 | 0.031802 | 0.034452 | 0.675353 | 0.536661 | 0.516784 | 0.494258 | 0.42447 | 0.42447 | 0 | 0.025613 | 0.264331 | 3,768 | 154 | 78 | 24.467532 | 0.791126 | 0.11173 | 0 | 0.511364 | 0 | 0 | 0.008976 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 1 | 0.295455 | false | 0 | 0.022727 | 0.102273 | 0.522727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b9608c2bccbbdd60fdd8c33cad6bab5a247794aa | 163 | py | Python | src/plots.py | epfl-ml-reproducers/subspace-attack-reproduction | 4242c7ef71e75ee557d48de39e1e8b5fe970de56 | [
"MIT"
] | 7 | 2019-12-08T16:26:02.000Z | 2021-10-08T01:42:38.000Z | src/plots.py | epfl-ml-reproducers/subspace-attack-reproduction | 4242c7ef71e75ee557d48de39e1e8b5fe970de56 | [
"MIT"
] | null | null | null | src/plots.py | epfl-ml-reproducers/subspace-attack-reproduction | 4242c7ef71e75ee557d48de39e1e8b5fe970de56 | [
"MIT"
] | 1 | 2021-08-19T14:06:02.000Z | 2021-08-19T14:06:02.000Z | import matplotlib.pyplot as plt
import numpy as np
def imshow(img):
npimg = img.detach().numpy()
plt.imshow(np.transpose(npimg, (1, 2, 0)))
plt.show() | 23.285714 | 46 | 0.662577 | 26 | 163 | 4.153846 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.184049 | 163 | 7 | 47 | 23.285714 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b96217eac77a894fc48abea26e58606a480cb68f | 857 | py | Python | challenge.py | juanan150/challenge-python-06 | e234ac173b4f5d1c4ef3910d985ed2bd74fe1b3d | [
"MIT"
] | null | null | null | challenge.py | juanan150/challenge-python-06 | e234ac173b4f5d1c4ef3910d985ed2bd74fe1b3d | [
"MIT"
] | null | null | null | challenge.py | juanan150/challenge-python-06 | e234ac173b4f5d1c4ef3910d985ed2bd74fe1b3d | [
"MIT"
] | null | null | null | def make_division_by(n):
"""This closure returns a function that returns the division
of an x number by n
"""
def division_n(x):
return x/n
return division_n
def run():
division_by_3 = make_division_by(3)
print(division_by_3(18)) # The expected output is 6
division_b... | 23.162162 | 64 | 0.659277 | 126 | 857 | 4.166667 | 0.357143 | 0.266667 | 0.213333 | 0.108571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057187 | 0.245041 | 857 | 36 | 65 | 23.805556 | 0.75425 | 0.198366 | 0 | 0 | 0 | 0 | 0.012012 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.210526 | false | 0 | 0.052632 | 0.052632 | 0.421053 | 0.157895 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b965153613608294cf43b2cd15e68cbaf0e93a69 | 84 | py | Python | vectors/vector_test_enums.py | Zontec/CAVP_Tester | 773d23c82e1d7d2dbdf8431deb397cd470ff9c80 | [
"MIT"
] | null | null | null | vectors/vector_test_enums.py | Zontec/CAVP_Tester | 773d23c82e1d7d2dbdf8431deb397cd470ff9c80 | [
"MIT"
] | null | null | null | vectors/vector_test_enums.py | Zontec/CAVP_Tester | 773d23c82e1d7d2dbdf8431deb397cd470ff9c80 | [
"MIT"
] | null | null | null |
class VectorHashTestEnum:
DATA_IN = 'Msg'
DATA_LEN = 'Len'
EXP = 'Exp' | 14 | 25 | 0.595238 | 10 | 84 | 4.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 84 | 6 | 26 | 14 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b973d77483dc05d175d371a5871138e100bd23ff | 8,738 | py | Python | CPD_search/test_shift/diskdictionary.py | seanandrews/DSHARP_CPDs | 40d8f02945e0d412c5c912b050d4a3d8c6dbbfa2 | [
"MIT"
] | 1 | 2020-05-04T15:55:03.000Z | 2020-05-04T15:55:03.000Z | CPD_search/test_shift/diskdictionary.py | seanandrews/DSHARP_CPDs | 40d8f02945e0d412c5c912b050d4a3d8c6dbbfa2 | [
"MIT"
] | null | null | null | CPD_search/test_shift/diskdictionary.py | seanandrews/DSHARP_CPDs | 40d8f02945e0d412c5c912b050d4a3d8c6dbbfa2 | [
"MIT"
] | 1 | 2020-09-22T19:04:48.000Z | 2020-09-22T19:04:48.000Z | disk = {}
disk['SR4'] = {'name': 'SR4',
'label': 'SR 4',
'distance': 134.8,
'incl': 22.0,
'PA': 18.0,
'dx': -0.060,
'dy': -0.509,
'rgap': [0.079],
'wg... | 37.502146 | 79 | 0.28336 | 760 | 8,738 | 3.257895 | 0.271053 | 0.008885 | 0.032714 | 0.036349 | 0.419225 | 0.374798 | 0.326737 | 0.291195 | 0.229402 | 0.216074 | 0 | 0.233501 | 0.545663 | 8,738 | 232 | 80 | 37.663793 | 0.390176 | 0 | 0 | 0.363229 | 0 | 0 | 0.239643 | 0.022774 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b97834f2832f76ccadab8011b06fadfcf1f5a0e6 | 33,959 | py | Python | sdk/python/pulumi_aws/eks/_inputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-11-10T16:33:40.000Z | 2021-11-10T16:33:40.000Z | sdk/python/pulumi_aws/eks/_inputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/eks/_inputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.217448 | 544 | 0.676728 | 4,240 | 33,959 | 5.245283 | 0.08184 | 0.104856 | 0.07554 | 0.044514 | 0.802923 | 0.684263 | 0.621808 | 0.551799 | 0.483903 | 0.411781 | 0 | 0.005014 | 0.218852 | 33,959 | 767 | 545 | 44.275098 | 0.833377 | 0.33511 | 0 | 0.223195 | 1 | 0 | 0.121978 | 0.063383 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210066 | false | 0 | 0.010941 | 0 | 0.343545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 3 |
b982f37320b2b24d67d8c089b7ac3be6575eb7b7 | 257 | py | Python | beers/serializers.py | joarkm/olmonopolet-api | 5fb605f53d6fc87c441ae0f72360c524cb0d3fb7 | [
"MIT"
] | 2 | 2020-11-21T13:15:53.000Z | 2021-05-18T19:17:41.000Z | beers/serializers.py | joarkm/olmonopolet-api | 5fb605f53d6fc87c441ae0f72360c524cb0d3fb7 | [
"MIT"
] | 6 | 2021-03-21T19:24:26.000Z | 2021-09-22T19:09:31.000Z | beers/serializers.py | joarkm/olmonopolet-api | 5fb605f53d6fc87c441ae0f72360c524cb0d3fb7 | [
"MIT"
] | 1 | 2021-05-20T21:52:10.000Z | 2021-05-20T21:52:10.000Z | from rest_framework import serializers
from .models import Beer
class BeerSerializer(serializers.ModelSerializer):
class Meta:
fields=('beer_id','name','brewery','style','alc_volume','volume','selection','url','added_date')
model = Beer | 36.714286 | 104 | 0.719844 | 30 | 257 | 6.033333 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140078 | 257 | 7 | 105 | 36.714286 | 0.819005 | 0 | 0 | 0 | 0 | 0 | 0.236434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b9943206e86a551399fd536673738d01465b9ad7 | 1,674 | py | Python | data/base_dataset.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | 39 | 2020-07-25T18:03:18.000Z | 2022-03-30T04:27:47.000Z | data/base_dataset.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | 1 | 2020-10-19T03:12:48.000Z | 2020-10-19T03:49:04.000Z | data/base_dataset.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | 6 | 2020-08-02T07:44:42.000Z | 2022-01-06T03:13:15.000Z | import torch.utils.data as data
from abc import ABC, abstractmethod
class BaseDataset(data.Dataset, ABC):
"""This class is an abstract base class (ABC) for datasets.
To create a subclass, you need to implement the following four functions:
-- <__init__>: initialize the class, first ca... | 37.2 | 117 | 0.620669 | 191 | 1,674 | 5.272251 | 0.492147 | 0.023833 | 0.03575 | 0.049652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000863 | 0.307646 | 1,674 | 45 | 118 | 37.2 | 0.86799 | 0.637993 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.066667 | 0.133333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b99a8836bdc7bdaf694c874e2b2dc718aa51ef48 | 302 | py | Python | media_tree/contrib/cms_plugins/media_tree_image/urls.py | TAMUArch/django-media-tree | 5c31a863fd139ffdef26bfc46e20974bf4c044d9 | [
"BSD-3-Clause"
] | 29 | 2015-02-25T03:42:34.000Z | 2021-04-11T11:18:12.000Z | media_tree/contrib/cms_plugins/media_tree_image/urls.py | TAMUArch/django-media-tree | 5c31a863fd139ffdef26bfc46e20974bf4c044d9 | [
"BSD-3-Clause"
] | 24 | 2015-01-01T17:41:47.000Z | 2022-03-11T23:12:15.000Z | media_tree/contrib/cms_plugins/media_tree_image/urls.py | TAMUArch/django-media-tree | 5c31a863fd139ffdef26bfc46e20974bf4c044d9 | [
"BSD-3-Clause"
] | 13 | 2015-01-13T06:44:00.000Z | 2018-11-29T16:31:02.000Z | from media_tree.contrib.cms_plugins.media_tree_image.views import ImagePluginDetailView
from django.conf.urls.defaults import *
urlpatterns = patterns('',
url(r'^(?P<pk>\d+)/$', ImagePluginDetailView.as_view(),
name='media_tree.contrib.cms_plugins.media_tree_image.ImagePluginDetailView'),
)
| 37.75 | 87 | 0.781457 | 38 | 302 | 5.973684 | 0.631579 | 0.15859 | 0.140969 | 0.167401 | 0.352423 | 0.352423 | 0.352423 | 0.352423 | 0 | 0 | 0 | 0 | 0.082781 | 302 | 7 | 88 | 43.142857 | 0.819495 | 0 | 0 | 0 | 0 | 0 | 0.274834 | 0.228477 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9b1707a8b3995d321168fc8f7bdc8de2149020b | 1,221 | py | Python | sublimeText3/Packages/SublimeCodeIntel/libs/ciElementTree.py | MoAnsir/dot_file_2017 | 5f67ef8f430416c82322ab7e7e001548936454ff | [
"MIT"
] | 2 | 2018-04-24T10:02:26.000Z | 2019-06-02T13:53:31.000Z | Data/Packages/SublimeCodeIntel/libs/ciElementTree.py | Maxize/Sublime_Text_3 | be620476b49f9a6ce2ca2cfe825c4e142e7e82b9 | [
"Apache-2.0"
] | 1 | 2016-02-10T09:50:09.000Z | 2016-02-10T09:50:09.000Z | Packages/SublimeCodeIntel/libs/ciElementTree.py | prisis/sublime-text-packages | 99ae8a5496613e27a75e5bd91723549b21476e60 | [
"MIT"
] | 2 | 2019-04-11T04:13:02.000Z | 2019-06-02T13:53:33.000Z | import sys
import struct
VERSION = sys.version_info[:2]
PLATFORM = sys.platform
ARCH = 'x%d' % (struct.calcsize('P') * 8)
if VERSION >= (3, 3):
from iElementTree import *
from iElementTree import _patched_for_komodo_
elif VERSION >= (2, 6):
platform = None
try:
from _local_arch.ciElementTree import *
... | 32.131579 | 108 | 0.633907 | 140 | 1,221 | 5.364286 | 0.4 | 0.151798 | 0.215712 | 0.206391 | 0.252996 | 0.055925 | 0 | 0 | 0 | 0 | 0 | 0.04983 | 0.276822 | 1,221 | 37 | 109 | 33 | 0.80068 | 0 | 0 | 0.121212 | 0 | 0 | 0.159705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 0.363636 | 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 | 0 | 0 | 0 | 3 |
b9c92442107cc30b0d2e87aaf9534b10b1ada422 | 2,809 | py | Python | chainer/dataset/iterator.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 3,705 | 2017-06-01T07:36:12.000Z | 2022-03-30T10:46:15.000Z | chainer/dataset/iterator.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 5,998 | 2017-06-01T06:40:17.000Z | 2022-03-08T01:42:44.000Z | chainer/dataset/iterator.py | zaltoprofen/chainer | 3b03f9afc80fd67f65d5e0395ef199e9506b6ee1 | [
"MIT"
] | 1,150 | 2017-06-02T03:39:46.000Z | 2022-03-29T02:29:32.000Z | class Iterator(object):
"""Base class of all dataset iterators.
Iterator iterates over the dataset, yielding a minibatch at each
iteration. Minibatch is a list of examples. Each implementation should
implement an iterator protocol (e.g., the :meth:`__next__` method).
Note that, even if the iterat... | 32.287356 | 79 | 0.667853 | 370 | 2,809 | 4.948649 | 0.410811 | 0.042054 | 0.039323 | 0.018569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001456 | 0.266287 | 2,809 | 86 | 80 | 32.662791 | 0.886948 | 0.734069 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.117647 | 0 | 0.058824 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b9ca03150c906d59f538b955bc991ee89fe4fdb7 | 142 | py | Python | bento/apps.py | JaphetSamuel/django-bento | 4a51f657a2d49aaa3c1f13aab87d96c59404413c | [
"CC-BY-3.0"
] | null | null | null | bento/apps.py | JaphetSamuel/django-bento | 4a51f657a2d49aaa3c1f13aab87d96c59404413c | [
"CC-BY-3.0"
] | null | null | null | bento/apps.py | JaphetSamuel/django-bento | 4a51f657a2d49aaa3c1f13aab87d96c59404413c | [
"CC-BY-3.0"
] | null | null | null | from django.apps import AppConfig
class bentoConfig(AppConfig):
name='bento'
default_auto_field = 'django.db.models.BigAutoField' | 28.4 | 56 | 0.753521 | 17 | 142 | 6.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 5 | 56 | 28.4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.244604 | 0.208633 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9cb99a920a61a5eb713d54575835da2832a6db9 | 1,022 | py | Python | main.py | gpremel/cascada-master-server | ab1903025923149380ce9a8404305c94379dfd2a | [
"MIT"
] | null | null | null | main.py | gpremel/cascada-master-server | ab1903025923149380ce9a8404305c94379dfd2a | [
"MIT"
] | null | null | null | main.py | gpremel/cascada-master-server | ab1903025923149380ce9a8404305c94379dfd2a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
"""The main module, which starts the server"""
import logging
import numpy as np
import server
from vartypes import csc_float
from seq import Sequenceur
from projet import ProjetCascada
# INSERT SCHEMES DEFINITION HERE
# server_scheme = ...
# client_scheme = ...
# range_scheme = ...
# INSER... | 24.926829 | 68 | 0.579256 | 101 | 1,022 | 5.752475 | 0.564356 | 0.072289 | 0.05852 | 0.079174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007236 | 0.323875 | 1,022 | 40 | 69 | 25.55 | 0.833575 | 0.803327 | 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 | 0 | 0 | 0 | 3 |
b9cc01dc8bdd4270e88c947dfe573c82a61a2784 | 1,134 | py | Python | swaps/model/market/pricedepth_bbo.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | 1 | 2021-09-06T00:09:11.000Z | 2021-09-06T00:09:11.000Z | swaps/model/market/pricedepth_bbo.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | null | null | null | swaps/model/market/pricedepth_bbo.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | null | null | null |
class PriceDepthBbo:
"""
The price depth information.
:member
timestamp: The UNIX formatted timestamp in UTC.
bid: the first bid near trade value.
bidSize: the bid size.
ask: The first ask near trade value.
askSize: the ask size.
quoteTime : quote time
... | 33.352941 | 74 | 0.628748 | 143 | 1,134 | 4.832168 | 0.300699 | 0.115774 | 0.202605 | 0.243126 | 0.081042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012165 | 0.275132 | 1,134 | 34 | 75 | 33.352941 | 0.828467 | 0.24515 | 0 | 0 | 0 | 0 | 0.054591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.055556 | 0 | 0.222222 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b9f90944a51ac53276632bbfd7471b0b50312b10 | 4,604 | py | Python | riko/modules/substr.py | sottom/riko | 7898b850b45451420feab33380d252be18e77714 | [
"MIT"
] | null | null | null | riko/modules/substr.py | sottom/riko | 7898b850b45451420feab33380d252be18e77714 | [
"MIT"
] | null | null | null | riko/modules/substr.py | sottom/riko | 7898b850b45451420feab33380d252be18e77714 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# vim: sw=4:ts=4:expandtab
"""
riko.modules.substr
~~~~~~~~~~~~~~~~~~~
Provides functions for obtaining a portion of a string.
You enter two numbers to tell the module the starting character position and
the length of the resulting substring. If your input string is "ABCDEFG", then
a From value... | 32.195804 | 79 | 0.589922 | 574 | 4,604 | 4.719512 | 0.301394 | 0.02584 | 0.018457 | 0.023625 | 0.360281 | 0.330011 | 0.330011 | 0.330011 | 0.330011 | 0.310816 | 0 | 0.007747 | 0.271069 | 4,604 | 142 | 80 | 32.422535 | 0.799464 | 0.802129 | 0 | 0.142857 | 0 | 0 | 0.077311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6a084872f13f020e3382d50634f3c1d8af667927 | 11,329 | py | Python | AutoDiff/tests/test_AutoDiff.py | autodiff-cs207/AutoDiff | 56cb0f9be0b88f4e9c94350d53dfff689be8424f | [
"MIT"
] | 1 | 2018-10-18T16:10:02.000Z | 2018-10-18T16:10:02.000Z | AutoDiff/tests/test_AutoDiff.py | autodiff-cs207/cs207-FinalProject | 56cb0f9be0b88f4e9c94350d53dfff689be8424f | [
"MIT"
] | 1 | 2018-11-28T17:20:11.000Z | 2018-12-03T15:50:33.000Z | AutoDiff/tests/test_AutoDiff.py | autodiff-cs207/cs207-FinalProject | 56cb0f9be0b88f4e9c94350d53dfff689be8424f | [
"MIT"
] | null | null | null | import pytest
import math
from AutoDiff.ad import DiffObj, Variable, VectorFunction
from AutoDiff.ad import MathOps as mo
class TestAutoDiff():
# test add
def test_add(self):
val_dict = {'x' : 10, 'y' : 20, 'z':1}
x = Variable('x')
y = Variable('y')
z = Variable('z')
c1 = 5
f0 = x + y
asse... | 23.07332 | 89 | 0.589461 | 2,105 | 11,329 | 3.019477 | 0.056057 | 0.169604 | 0.117527 | 0.169761 | 0.777376 | 0.741189 | 0.678414 | 0.512744 | 0.393329 | 0.334802 | 0 | 0.0745 | 0.187219 | 11,329 | 490 | 90 | 23.120408 | 0.615769 | 0.007238 | 0 | 0.316327 | 0 | 0 | 0.016815 | 0 | 0 | 0 | 0 | 0 | 0.436224 | 1 | 0.043367 | false | 0 | 0.010204 | 0 | 0.056122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a11ca7625d7c680a7d20a96c7d4ac52c57d0d1f | 152 | py | Python | acwedding/faq/views.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | acwedding/faq/views.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | acwedding/faq/views.py | adambeagle/acweddingsite | 4bc7e32c22ee0d7353d5f3aa56af74721c5efbc7 | [
"MIT"
] | null | null | null | from django.views.generic import ListView
from .models import Entry
class IndexView(ListView):
template_name = 'faq/index.html'
model = Entry
| 19 | 41 | 0.75 | 20 | 152 | 5.65 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 152 | 7 | 42 | 21.714286 | 0.896825 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6a11d3233caaa30ee0dac535cbad041f26604f04 | 525 | py | Python | winsniffer/gui/ids.py | netaneld122/winsniffer | 9cbd50652861dafe0f76367f9b146ecca8e62b95 | [
"MIT"
] | null | null | null | winsniffer/gui/ids.py | netaneld122/winsniffer | 9cbd50652861dafe0f76367f9b146ecca8e62b95 | [
"MIT"
] | null | null | null | winsniffer/gui/ids.py | netaneld122/winsniffer | 9cbd50652861dafe0f76367f9b146ecca8e62b95 | [
"MIT"
] | null | null | null | import wx
def create_id_generator():
wx_id = wx.ID_HIGHEST + 1
while True:
yield wx_id
wx_id += 1
id_generator = create_id_generator()
# Toolbar buttons
ID_SAVE_BUTTON = id_generator.next()
ID_SETTINGS_BUTTON = id_generator.next()
ID_RELOAD_PARSER_BUTTON = id_generator.next()
ID_TOGGLE_CAPT... | 22.826087 | 48 | 0.769524 | 79 | 525 | 4.64557 | 0.341772 | 0.3297 | 0.326975 | 0.324251 | 0.376022 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004454 | 0.144762 | 525 | 22 | 49 | 23.863636 | 0.812918 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a1f5375db807097d85864bfe5c959646314504c | 180 | py | Python | test/site/engine/context_processors.py | 776166/PythonDevTest | fe83d699ce4a3917c9e2a271e74f99224a9ed708 | [
"MIT"
] | null | null | null | test/site/engine/context_processors.py | 776166/PythonDevTest | fe83d699ce4a3917c9e2a271e74f99224a9ed708 | [
"MIT"
] | null | null | null | test/site/engine/context_processors.py | 776166/PythonDevTest | fe83d699ce4a3917c9e2a271e74f99224a9ed708 | [
"MIT"
] | null | null | null | #encoding=utf-8
# -*- coding: utf-8 -*-
from django.conf import settings
def debug(request):
return {
'debug': settings.DEBUG,
'DEBUG': settings.DEBUG,
}
| 16.363636 | 32 | 0.594444 | 21 | 180 | 5.095238 | 0.619048 | 0.074766 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.25 | 180 | 10 | 33 | 18 | 0.777778 | 0.2 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6a253c8a58637d59f556fa003d6cd713e709c1d9 | 641 | py | Python | Polymorphism and Abstraction/project_Wild_Farm/animals/birds.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Polymorphism and Abstraction/project_Wild_Farm/animals/birds.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | Polymorphism and Abstraction/project_Wild_Farm/animals/birds.py | vasetousa/OOP | e4fedc497dd149c9800613ea11846e0e770d122c | [
"MIT"
] | null | null | null | from project_Animal.animals.animal import Bird
from project_Animal.food import Meat, Vegetable, Fruit, Seed
class Owl(Bird):
def __init__(self, name: str, weight: float, wing_size):
super().__init__(name, weight, wing_size)
self.food_required = [Meat]
self.weight_per_food = 0.25
def m... | 26.708333 | 60 | 0.664587 | 88 | 641 | 4.5 | 0.386364 | 0.080808 | 0.085859 | 0.111111 | 0.646465 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0 | 0.012121 | 0.227769 | 641 | 23 | 61 | 27.869565 | 0.787879 | 0 | 0 | 0.375 | 0 | 0 | 0.021875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6a44d1985a9a35adf265062f7e5f751b19b037d3 | 1,293 | py | Python | partybot/__init__.py | Furdox/fortnitepy-lobby-bot | 15ddb90546e59b86fcf61875289a5ad124c635ab | [
"Apache-2.0"
] | null | null | null | partybot/__init__.py | Furdox/fortnitepy-lobby-bot | 15ddb90546e59b86fcf61875289a5ad124c635ab | [
"Apache-2.0"
] | null | null | null | partybot/__init__.py | Furdox/fortnitepy-lobby-bot | 15ddb90546e59b86fcf61875289a5ad124c635ab | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
“Commons Clause” License Condition v1.0
Copyright Oli 2019-2020
The Software is provided to you by the Licensor under the
License, as defined below, subject to the following condition.
Without limiting other conditions in the License, the grant
of rights under the License will n... | 35.916667 | 65 | 0.784996 | 184 | 1,293 | 5.516304 | 0.543478 | 0.059113 | 0.044335 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012172 | 0.174014 | 1,293 | 36 | 66 | 35.916667 | 0.938202 | 0.739366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
dbdfc5fd0c142c3526905289a88cccc42169671e | 147 | py | Python | djenealog/apps.py | nim65s/djenealog | 3666cd65d22e118294f477b41f8e56b04b56a52d | [
"BSD-2-Clause"
] | null | null | null | djenealog/apps.py | nim65s/djenealog | 3666cd65d22e118294f477b41f8e56b04b56a52d | [
"BSD-2-Clause"
] | 2 | 2018-04-25T11:54:34.000Z | 2020-03-09T07:11:35.000Z | djenealog/apps.py | nim65s/djenealog | 3666cd65d22e118294f477b41f8e56b04b56a52d | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class DjenealogConfig(AppConfig):
name = "djenealog"
default_auto_field = "django.db.models.AutoField"
| 21 | 53 | 0.761905 | 17 | 147 | 6.470588 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14966 | 147 | 6 | 54 | 24.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
dbe802336e22e6dfa71b57ccc76582b33d4b53d1 | 85 | py | Python | breadcrumbs/__init__.py | chronossc/django-breadcrumbs | 2ff5104733099a9a4d2f5156c1453e231b164b25 | [
"BSD-3-Clause"
] | 25 | 2015-01-07T01:27:07.000Z | 2020-11-25T11:23:29.000Z | breadcrumbs/__init__.py | chronossc/django-breadcrumbs | 2ff5104733099a9a4d2f5156c1453e231b164b25 | [
"BSD-3-Clause"
] | 7 | 2015-08-07T08:53:43.000Z | 2017-01-23T17:43:14.000Z | breadcrumbs/__init__.py | chronossc/django-breadcrumbs | 2ff5104733099a9a4d2f5156c1453e231b164b25 | [
"BSD-3-Clause"
] | 21 | 2015-05-04T01:47:48.000Z | 2020-03-07T20:11:19.000Z | # -*- coding: utf-8 -*-
__version__ = '1.1.4a1'
from .breadcrumbs import Breadcrumb
| 17 | 35 | 0.670588 | 11 | 85 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.152941 | 85 | 4 | 36 | 21.25 | 0.666667 | 0.247059 | 0 | 0 | 0 | 0 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dbfa7da768faccc7bdc33315345f007cd974cd43 | 745 | py | Python | concoord/object/jobmanager.py | denizalti/concoord | 5a51ba2b475f44da221304ea7f0b9118f2e8511a | [
"BSD-3-Clause"
] | 36 | 2015-01-22T15:55:21.000Z | 2019-12-10T00:39:11.000Z | concoord/object/jobmanager.py | liranz/concoord | bdb3798bf200d1cbd04bc50260cddaec6ba2a763 | [
"BSD-3-Clause"
] | 3 | 2016-11-15T16:58:49.000Z | 2018-05-25T11:32:50.000Z | concoord/object/jobmanager.py | liranz/concoord | bdb3798bf200d1cbd04bc50260cddaec6ba2a763 | [
"BSD-3-Clause"
] | 13 | 2015-01-07T00:07:59.000Z | 2018-11-24T04:39:58.000Z | """
@author: Deniz Altinbuken, Emin Gun Sirer
@note: Example jobmanager
@copyright: See LICENSE
"""
class JobManager():
def __init__(self):
self.jobs = []
def schedule(self, job):
self.jobs.append(job)
def deschedule(self, job):
self.jobs.remove(job)
def update(self, job, key,... | 20.135135 | 78 | 0.589262 | 99 | 745 | 4.262626 | 0.414141 | 0.094787 | 0.052133 | 0.07109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267114 | 745 | 36 | 79 | 20.694444 | 0.772894 | 0.122148 | 0 | 0.1 | 0 | 0 | 0.024922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.15 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
dbfc02d9fdee4a26d1bd0943a298ea5e6626e6d0 | 61,968 | py | Python | vkwave/api/methods/groups.py | peach-lasagna/vkwave | 2b752d61e94ed43ee703d3a88ecf69f6a4ffd9dd | [
"MIT"
] | 1 | 2021-01-02T00:53:32.000Z | 2021-01-02T00:53:32.000Z | vkwave/api/methods/groups.py | peach-lasagna/vkwave | 2b752d61e94ed43ee703d3a88ecf69f6a4ffd9dd | [
"MIT"
] | null | null | null | vkwave/api/methods/groups.py | peach-lasagna/vkwave | 2b752d61e94ed43ee703d3a88ecf69f6a4ffd9dd | [
"MIT"
] | null | null | null | from vkwave.types.responses import *
from ._category import Category
from ._utils import get_params
class Groups(Category):
async def add_address(
self,
group_id: int,
title: str,
address: str,
country_id: int,
city_id: int,
latitude: int,
longitude:... | 40.957039 | 992 | 0.629196 | 7,241 | 61,968 | 5.250656 | 0.082171 | 0.08506 | 0.068411 | 0.061704 | 0.772909 | 0.74687 | 0.721331 | 0.686849 | 0.671804 | 0.634324 | 0 | 0.007163 | 0.267783 | 61,968 | 1,512 | 993 | 40.984127 | 0.824966 | 0 | 0 | 0.666667 | 0 | 0 | 0.016559 | 0.000776 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003759 | 0 | 0.132832 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e00c91a9ce2d300e19ed4661ceb22b8f8d164f7e | 90 | py | Python | bin/read_profile.py | randomgamers/ld40-setup | bddd6c611133a611d5e49aecb6a8c7fbc3310a87 | [
"MIT"
] | null | null | null | bin/read_profile.py | randomgamers/ld40-setup | bddd6c611133a611d5e49aecb6a8c7fbc3310a87 | [
"MIT"
] | null | null | null | bin/read_profile.py | randomgamers/ld40-setup | bddd6c611133a611d5e49aecb6a8c7fbc3310a87 | [
"MIT"
] | null | null | null | import pstats
p = pstats.Stats('profile.txt')
p.sort_stats('cumulative').print_stats(100)
| 22.5 | 43 | 0.766667 | 14 | 90 | 4.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.066667 | 90 | 3 | 44 | 30 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e01165d67547f59b82f4fd064da308d3c805a0f6 | 2,639 | py | Python | userbot/plugins/gaali.py | KING-USER1/BLACK-GHOULS-USERBOT- | 3db2b42e2f27ce2b4d1fce3e8f016b269e872d05 | [
"MIT"
] | 2 | 2020-06-20T17:33:56.000Z | 2020-07-01T12:51:12.000Z | userbot/plugins/gaali.py | dark144/JaaduBot | d8209d9da085e1d681e8dd142e64c7fb75f2dfca | [
"MIT"
] | null | null | null | userbot/plugins/gaali.py | dark144/JaaduBot | d8209d9da085e1d681e8dd142e64c7fb75f2dfca | [
"MIT"
] | 1 | 2021-05-25T13:14:17.000Z | 2021-05-25T13:14:17.000Z | """COMMAND : .gaali"""
import asyncio
from telethon import events
from telethon.tl.types import ChannelParticipantsAdmins
from uniborg.util import admin_cmd
@borg.on(admin_cmd("gali"))
async def _(event):
if event.fwd_from:
return
mentions = "`Madarchod Randi ke bacche Oye bosdike madarchod bhen ke lo... | 114.73913 | 2,020 | 0.775294 | 484 | 2,639 | 4.196281 | 0.553719 | 0.014771 | 0.019695 | 0.012802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000474 | 0.201213 | 2,639 | 22 | 2,021 | 119.954545 | 0.962998 | 0.006063 | 0 | 0 | 0 | 0.052632 | 0.766909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.210526 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e02af33e9de44a34963633ded6655ca61b90dcbe | 246 | py | Python | File_Programs/file2.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | 3 | 2020-08-26T15:29:18.000Z | 2020-09-03T13:49:13.000Z | File_Programs/file2.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | null | null | null | File_Programs/file2.py | saratkumar17mss040/Python-lab-programs | a2faa190acaaa30d92d4c801fd53fdc668c3c394 | [
"MIT"
] | null | null | null | f = open("sample.txt", mode="r", encoding="utf-8")
f2 = open("sample3.txt", mode="w", encoding="utf-8")
f2.write(f.read())
f2 = open("sample3.txt", mode="r", encoding="utf-8")
print("Reading contents present inside sample3.txt:")
print(f2.read()) | 41 | 53 | 0.662602 | 41 | 246 | 3.97561 | 0.463415 | 0.128834 | 0.220859 | 0.196319 | 0.447853 | 0.245399 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.085366 | 246 | 6 | 54 | 41 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0.380567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e0598c090acdf00e6ca7959f99a383d60f382d84 | 32 | py | Python | hapsmazes/__init__.py | haps-algorithms-club/mazes | d55bb7597532326bcd189e6204dd65a8ab77d57a | [
"MIT"
] | 2 | 2020-01-30T06:18:53.000Z | 2020-02-03T10:51:12.000Z | hapsmazes/__init__.py | haps-algorithms-club/mazes | d55bb7597532326bcd189e6204dd65a8ab77d57a | [
"MIT"
] | null | null | null | hapsmazes/__init__.py | haps-algorithms-club/mazes | d55bb7597532326bcd189e6204dd65a8ab77d57a | [
"MIT"
] | null | null | null | WALL = 0
ADDED = 1
UNVISITED = 2 | 10.666667 | 13 | 0.65625 | 6 | 32 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.25 | 32 | 3 | 13 | 10.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e06f0864f92b42f4b9f8cc3f531712c469d70d7a | 1,386 | py | Python | Python for Data Science/pandas6.py | DishenMakwana/Python-DS | 5aa34ba9fba1eeb96a67614c78275fc7c3dca705 | [
"MIT"
] | 1 | 2021-04-29T19:01:07.000Z | 2021-04-29T19:01:07.000Z | Python for Data Science/pandas6.py | DishenMakwana/Python-DS | 5aa34ba9fba1eeb96a67614c78275fc7c3dca705 | [
"MIT"
] | null | null | null | Python for Data Science/pandas6.py | DishenMakwana/Python-DS | 5aa34ba9fba1eeb96a67614c78275fc7c3dca705 | [
"MIT"
] | null | null | null | from pandas import *
from numpy import *
'''
def main():
d={'A':[1,2,3],'B':[4,5,6],'C':[7,8,9]}
df=DataFrame(d)
print(df)
df['add']=df.apply(sum,axis=1)
print()
print(df)
main()
'''
#options.mode.chained_assiganment=None
'''
def generate_range(n):
n=int(n)
ll=n//10 * 10;
ul=ll+10
return str(str(ll) + '-' ... | 18.48 | 135 | 0.625541 | 243 | 1,386 | 3.518519 | 0.423868 | 0.049123 | 0.051462 | 0.065497 | 0.156725 | 0.156725 | 0.107602 | 0 | 0 | 0 | 0 | 0.040637 | 0.094517 | 1,386 | 74 | 136 | 18.72973 | 0.640637 | 0.026696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e0706650357b33c5780e58041727be82a17a5764 | 52,830 | py | Python | Lib/site-packages/plotly/graph_objs/layout/_geo.py | tytanya/my-first-blog | 2b40adb0816c3546e90ad6ca1e7fb50d924c1536 | [
"bzip2-1.0.6"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/layout/_geo.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/layout/_geo.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from plotly.basedatatypes import BaseLayoutHierarchyType
import copy
class Geo(BaseLayoutHierarchyType):
# bgcolor
# -------
@property
def bgcolor(self):
"""
Set the background color of the map
The 'bgcolor' property is a color and may be specified as:
- A hex s... | 37.681883 | 79 | 0.56731 | 4,951 | 52,830 | 6.018582 | 0.091497 | 0.011981 | 0.009665 | 0.013088 | 0.726962 | 0.715551 | 0.705953 | 0.697866 | 0.67481 | 0.667092 | 0 | 0.007342 | 0.345183 | 52,830 | 1,401 | 80 | 37.708779 | 0.854021 | 0.583892 | 0 | 0.089109 | 0 | 0 | 0.270912 | 0.011736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155941 | false | 0 | 0.007426 | 0.00495 | 0.24505 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0eb429b08eeb5ef35f2d3073b7e0753af8f4f8e1 | 334 | py | Python | profilewiz/tests/test_ProfilesGraph.py | RDFLib/profilewiz | ef1296a279605185177b59ba37028d03a0f3aa14 | [
"CC-BY-4.0"
] | 5 | 2020-06-30T11:39:52.000Z | 2021-05-10T06:41:29.000Z | profilewiz/tests/test_ProfilesGraph.py | RDFLib/profilewiz | ef1296a279605185177b59ba37028d03a0f3aa14 | [
"CC-BY-4.0"
] | 2 | 2020-08-24T00:01:38.000Z | 2021-05-12T18:53:59.000Z | profilewiz/tests/test_ProfilesGraph.py | RDFLib/profilewiz | ef1296a279605185177b59ba37028d03a0f3aa14 | [
"CC-BY-4.0"
] | null | null | null | from unittest import TestCase
from rdflib import SDO
from profilewiz import ProfilesGraph
class TestProfilesGraph(TestCase):
def setUp(self):
self.g = ProfilesGraph()
self.g.parse(source="../../examples/profile_cat.ttl", format="ttl")
def test_get_prof_for(self):
prof = self.g.get_pr... | 22.266667 | 75 | 0.697605 | 44 | 334 | 5.159091 | 0.568182 | 0.066079 | 0.088106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191617 | 334 | 14 | 76 | 23.857143 | 0.840741 | 0 | 0 | 0 | 0 | 0 | 0.098802 | 0.08982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0eb881dbc8d6e5360e9a1c13acad9459f82b1ee8 | 4,202 | py | Python | tests/test_blackbox.py | mpapierski/http-server | 690bc8f4d497a00f34c30a71a3c5a0caa21cb9a4 | [
"MIT"
] | 19 | 2015-01-07T08:32:54.000Z | 2021-02-06T17:46:59.000Z | tests/test_blackbox.py | mpapierski/http-server | 690bc8f4d497a00f34c30a71a3c5a0caa21cb9a4 | [
"MIT"
] | 4 | 2015-01-07T07:37:03.000Z | 2018-01-16T05:47:19.000Z | tests/test_blackbox.py | mpapierski/http-server | 690bc8f4d497a00f34c30a71a3c5a0caa21cb9a4 | [
"MIT"
] | 5 | 2016-01-10T07:15:06.000Z | 2018-02-01T01:38:05.000Z | import subprocess
import unittest
import sys
import httplib
import os
import sys
import itertools
import time
from urlparse import urljoin
exe = os.environ['EXECUTABLE']
class BlackboxTestCase(unittest.TestCase):
"""Test suite that runs every test case on a single
instance of server
"""
@classmethod
... | 37.517857 | 92 | 0.616135 | 498 | 4,202 | 5.134538 | 0.287149 | 0.240516 | 0.190066 | 0.158389 | 0.481815 | 0.42237 | 0.397341 | 0.397341 | 0.397341 | 0.311693 | 0 | 0.032328 | 0.227035 | 4,202 | 111 | 93 | 37.855856 | 0.754926 | 0.028796 | 0 | 0.361702 | 0 | 0 | 0.156665 | 0.017708 | 0 | 0 | 0 | 0 | 0.43617 | 1 | 0.106383 | false | 0 | 0.095745 | 0.010638 | 0.234043 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ee1d726c5a0335e16dfd97b5a7f28163dfae952 | 213 | py | Python | main_intruder.py | NS-unina/Rule-Based-Fuzzer | ab152aff3657a863719df731a4c43f8ef336964d | [
"MIT"
] | null | null | null | main_intruder.py | NS-unina/Rule-Based-Fuzzer | ab152aff3657a863719df731a4c43f8ef336964d | [
"MIT"
] | null | null | null | main_intruder.py | NS-unina/Rule-Based-Fuzzer | ab152aff3657a863719df731a4c43f8ef336964d | [
"MIT"
] | null | null | null | import fire
from Intruder.Intruder import Intruder
def run(repeater_file_path, out_file_path):
i = Intruder(repeater_file_path, out_file_path)
i.execute()
if __name__ == '__main__':
fire.Fire(run)
| 17.75 | 51 | 0.741784 | 31 | 213 | 4.580645 | 0.483871 | 0.225352 | 0.225352 | 0.267606 | 0.394366 | 0.394366 | 0.394366 | 0 | 0 | 0 | 0 | 0 | 0.164319 | 213 | 11 | 52 | 19.363636 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0.037559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
161e165b0bdc59c708d00c6003937114c67cba8a | 416 | py | Python | numba/hsa/__init__.py | gdementen/numba | 78486e86ff9fbd343cac3dadbc63ec3bc66c75aa | [
"BSD-2-Clause"
] | null | null | null | numba/hsa/__init__.py | gdementen/numba | 78486e86ff9fbd343cac3dadbc63ec3bc66c75aa | [
"BSD-2-Clause"
] | null | null | null | numba/hsa/__init__.py | gdementen/numba | 78486e86ff9fbd343cac3dadbc63ec3bc66c75aa | [
"BSD-2-Clause"
] | null | null | null | """
Module that deals with HSA in a high level way
"""
from __future__ import print_function, absolute_import, division
from .api import *
from .stubs import atomic
def is_available():
"""Returns a boolean to indicate the availability of a HSA runtime.
This will force initialization of the driver if it hasn... | 23.111111 | 71 | 0.730769 | 61 | 416 | 4.852459 | 0.721311 | 0.074324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206731 | 416 | 17 | 72 | 24.470588 | 0.89697 | 0.451923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.666667 | 0 | 1 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
161ef45631692a58f313e14bcbdebc9e1883c640 | 6,235 | py | Python | tests/data_io/test_create_dataframe.py | nguyentr17/tamr-toolbox | 1d27101eda12f937813cdbfe27e2fa9c33ac34d2 | [
"Apache-2.0"
] | null | null | null | tests/data_io/test_create_dataframe.py | nguyentr17/tamr-toolbox | 1d27101eda12f937813cdbfe27e2fa9c33ac34d2 | [
"Apache-2.0"
] | null | null | null | tests/data_io/test_create_dataframe.py | nguyentr17/tamr-toolbox | 1d27101eda12f937813cdbfe27e2fa9c33ac34d2 | [
"Apache-2.0"
] | null | null | null | """Tests for tasks related to moving data in or out of Tamr using pandas.Dataframes"""
import pytest
from tamr_toolbox.data_io import dataframe
from tamr_toolbox import utils
from tamr_toolbox.utils.testing import mock_api
from tests._common import get_toolbox_root_dir
# A valid password is not needed for offline te... | 40.225806 | 93 | 0.72077 | 818 | 6,235 | 5.211491 | 0.161369 | 0.043162 | 0.041285 | 0.064743 | 0.784893 | 0.744077 | 0.703495 | 0.633122 | 0.633122 | 0.602158 | 0 | 0.09323 | 0.132959 | 6,235 | 154 | 94 | 40.487013 | 0.695339 | 0.025501 | 0 | 0.512605 | 0 | 0 | 0.239539 | 0.107249 | 0 | 0 | 0 | 0 | 0.268908 | 1 | 0.084034 | false | 0 | 0.042017 | 0 | 0.12605 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1624e52ee0a75ca74576048151a5123ca9f22dec | 61 | py | Python | run_tox.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | run_tox.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | run_tox.py | tksn/phoneauto | 9b92226c5c5eeb606f4b3c462a8b654454eb203d | [
"MIT"
] | null | null | null | import tox
import sys
args = sys.argv[1:]
tox.cmdline(args)
| 10.166667 | 19 | 0.721311 | 11 | 61 | 4 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.147541 | 61 | 5 | 20 | 12.2 | 0.826923 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
164c6a3f18e61f280f2cd9c2f327dd9fdd70c002 | 178 | py | Python | src/main.py | ARF-DEV/Defense-of-the-Ila | 6b9ae3f2243e993a8fe6e0c6304856846335dcca | [
"MIT"
] | 2 | 2021-09-08T03:56:05.000Z | 2021-12-05T18:49:19.000Z | src/main.py | laras310/Defense-of-the-Ila | 9c5990eb169d2b00cdc6bfb624a4074e71b6a4c7 | [
"MIT"
] | null | null | null | src/main.py | laras310/Defense-of-the-Ila | 9c5990eb169d2b00cdc6bfb624a4074e71b6a4c7 | [
"MIT"
] | null | null | null | from game import Game, Window
DISPLAY_SIZE = (800, 600)
win = Window(DISPLAY_SIZE)
game = Game(win)
def main():
game.game_loop()
if __name__ == "__main__":
main()
| 12.714286 | 29 | 0.651685 | 25 | 178 | 4.2 | 0.56 | 0.247619 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.213483 | 178 | 13 | 30 | 13.692308 | 0.707143 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1650400461cc5d97c68db12ccb3e625735737ce1 | 708 | py | Python | training code/salinas/dcpe/test/debugacc.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | 4 | 2018-12-08T08:15:23.000Z | 2020-10-07T10:00:22.000Z | training code/salinas/dcpe/test/debugacc.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | null | null | null | training code/salinas/dcpe/test/debugacc.py | littlejgogo/MDCPE-co-training-method-for-hyperspectral-image-classification | b7d367abd97ada77adc45a1120149cf247f9713c | [
"Apache-2.0"
] | 6 | 2019-01-11T17:01:49.000Z | 2022-02-05T04:48:59.000Z | import numpy as np
import scipy.io as sio
# unlabeled_sets = np.load('/home/asdf/Documents/juyan/paper/salinas/mdcpe_result/contractive model/11/CNN/DATA/unlabeled_index.npy')
# labeled_sets = np.load('/home/asdf/Documents/juyan/paper/salinas/mdcpe_result/contractive model/11/CNN/DATA/labeled_index.npy')
# # # mat_gt =... | 54.461538 | 133 | 0.759887 | 112 | 708 | 4.678571 | 0.366071 | 0.076336 | 0.162214 | 0.209924 | 0.612595 | 0.561069 | 0.561069 | 0.561069 | 0.561069 | 0.561069 | 0 | 0.015152 | 0.067797 | 708 | 13 | 134 | 54.461538 | 0.778788 | 0.718927 | 0 | 0 | 0 | 0.2 | 0.542553 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1657299e7d23ca33c44e688183fd1e2b7201b029 | 287 | py | Python | tests/models.py | MetisGenetics/django-timezone-field | cf9b0a8d24b7164452eab5fd2d848e390ca731af | [
"BSD-2-Clause"
] | 1 | 2020-08-14T21:10:40.000Z | 2020-08-14T21:10:40.000Z | tests/models.py | MetisGenetics/django-timezone-field | cf9b0a8d24b7164452eab5fd2d848e390ca731af | [
"BSD-2-Clause"
] | null | null | null | tests/models.py | MetisGenetics/django-timezone-field | cf9b0a8d24b7164452eab5fd2d848e390ca731af | [
"BSD-2-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
from timezone_field import TimeZoneField
class TestModel(models.Model):
tz = TimeZoneField()
tz_opt = TimeZoneField(blank=True)
tz_opt_default = TimeZoneField(blank=True, default='America/Los_Angeles')
| 23.916667 | 77 | 0.787456 | 36 | 287 | 6 | 0.611111 | 0.046296 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139373 | 287 | 11 | 78 | 26.090909 | 0.874494 | 0 | 0 | 0 | 0 | 0 | 0.066202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
16605e43724d7a9d73cb78fcb4eb841725acf6a3 | 1,315 | py | Python | cloudkitty-9.0.0/cloudkitty/common/policies/__init__.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | null | null | null | cloudkitty-9.0.0/cloudkitty/common/policies/__init__.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | cloudkitty-9.0.0/cloudkitty/common/policies/__init__.py | scottwedge/OpenStack-Stein | 7077d1f602031dace92916f14e36b124f474de15 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | # Copyright 2017 GohighSec.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 35.540541 | 75 | 0.757414 | 193 | 1,315 | 5.056995 | 0.440415 | 0.07377 | 0.143443 | 0.20082 | 0.184426 | 0.184426 | 0 | 0 | 0 | 0 | 0 | 0.023853 | 0.171103 | 1,315 | 36 | 76 | 36.527778 | 0.87156 | 0.4327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.444444 | 0.055556 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1684af3c21c4ee226933bc7c762f2447bdfd67cf | 222 | py | Python | pacote-download/Python/modulo01/python01ex/ex030.py | fabiosabariego/curso-python | a4ffff53ff9e92b5ef0de637e9bcce25f7feebd9 | [
"MIT"
] | null | null | null | pacote-download/Python/modulo01/python01ex/ex030.py | fabiosabariego/curso-python | a4ffff53ff9e92b5ef0de637e9bcce25f7feebd9 | [
"MIT"
] | null | null | null | pacote-download/Python/modulo01/python01ex/ex030.py | fabiosabariego/curso-python | a4ffff53ff9e92b5ef0de637e9bcce25f7feebd9 | [
"MIT"
] | null | null | null | # Crie um programa que leia um numero inteiro e mostre na tela se é par ou impar
num = int(input('Digite um numero: '))
div = num % 2
if div == 0:
print('Este numero é par!!')
else:
print('Este Numero é Impar!!')
| 24.666667 | 80 | 0.648649 | 40 | 222 | 3.6 | 0.675 | 0.111111 | 0.208333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.22973 | 222 | 8 | 81 | 27.75 | 0.830409 | 0.351351 | 0 | 0 | 0 | 0 | 0.408451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
168788482180048d3ca8a92d3f7dbd0188df37e1 | 183 | py | Python | dosth/remotedevtest.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | dosth/remotedevtest.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | 2 | 2021-03-31T18:39:09.000Z | 2021-12-13T19:44:48.000Z | dosth/remotedevtest.py | woailuoli993/ksxingtest | 09d861d076a1ff03152e27f5fb29e5c90144d0d1 | [
"WTFPL"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by vici on 16-12-13
import platform
def main():
print platform.system()
pass
if __name__ == '__main__':
main()
| 14.076923 | 30 | 0.612022 | 26 | 183 | 4 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.224044 | 183 | 12 | 31 | 15.25 | 0.683099 | 0.382514 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.166667 | 0.166667 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
16880dc51f1453cf87d1ea965baf416b3f537b56 | 766 | py | Python | app/data.py | Henry7871/jrcms | 289bfa43f7a6c45b0f0e197c615cc99000651691 | [
"MIT"
] | 1 | 2019-12-18T08:21:10.000Z | 2019-12-18T08:21:10.000Z | app/data.py | Henry7871/jrcms | 289bfa43f7a6c45b0f0e197c615cc99000651691 | [
"MIT"
] | null | null | null | app/data.py | Henry7871/jrcms | 289bfa43f7a6c45b0f0e197c615cc99000651691 | [
"MIT"
] | 21 | 2020-06-25T13:29:17.000Z | 2021-12-17T10:42:15.000Z | from flask_redis import FlaskRedis
import os
class ContentManager():
def __init__(self, app):
redis_host = os.environ.get("REDIS_HOST", default="127.0.0.1")
redis_port = os.environ.get("REDIS_PORT", default="6379")
app.config['REDIS_URL'] = f"redis://{redis_host}:{redis_port}"
self.... | 33.304348 | 70 | 0.674935 | 100 | 766 | 4.89 | 0.32 | 0.179959 | 0.153374 | 0.06953 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016584 | 0.212794 | 766 | 22 | 71 | 34.818182 | 0.794362 | 0 | 0 | 0.111111 | 0 | 0 | 0.097911 | 0.043081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
168f59f9a2cf183e8d9436c0412be12def0669f5 | 545 | py | Python | word_embedding/token.py | AndersSpringborg/knox-d | 6591f25b210d16c20bfd64e528b9a5a2d3e15d1d | [
"MIT"
] | 1 | 2020-09-27T11:54:34.000Z | 2020-09-27T11:54:34.000Z | word_embedding/token.py | AndersSpringborg/knox-d | 6591f25b210d16c20bfd64e528b9a5a2d3e15d1d | [
"MIT"
] | 9 | 2020-10-28T13:04:56.000Z | 2020-12-14T12:10:15.000Z | word_embedding/token.py | AndersSpringborg/knox-d | 6591f25b210d16c20bfd64e528b9a5a2d3e15d1d | [
"MIT"
] | null | null | null | from word_embedding.grammarcategories import GrammarCategories
from word_embedding.dependency import Dependency
class Token:
"""
Class token is implementation of token for the word embeddings
"""
pos_tag: GrammarCategories
dep: Dependency
name = ""
def __init__(self, name, pos_tag=None, d... | 23.695652 | 66 | 0.666055 | 68 | 545 | 5.073529 | 0.397059 | 0.069565 | 0.098551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249541 | 545 | 22 | 67 | 24.772727 | 0.843521 | 0.113761 | 0 | 0 | 0 | 0 | 0.049251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
16939a4db40f7a0056ccbce16f56f707c251f38f | 250 | py | Python | conftest.py | gabriel-francischini/hyrule | e1fc30e89a1a3a9204fcfbf2b2d03f0a2be11ccb | [
"MIT"
] | 13 | 2021-08-06T19:40:28.000Z | 2022-03-31T01:14:25.000Z | conftest.py | gabriel-francischini/hyrule | e1fc30e89a1a3a9204fcfbf2b2d03f0a2be11ccb | [
"MIT"
] | 32 | 2021-07-27T18:22:25.000Z | 2022-03-09T23:35:54.000Z | conftest.py | gabriel-francischini/hyrule | e1fc30e89a1a3a9204fcfbf2b2d03f0a2be11ccb | [
"MIT"
] | 2 | 2021-08-07T13:21:30.000Z | 2021-12-18T21:29:38.000Z | import hy
# For the side-effect of allowing import of Hy programs.
import pytest
def pytest_collect_file(parent, path):
if path.basename.startswith('test_') and path.ext == ".hy":
return pytest.Module.from_parent(parent, fspath=path)
| 27.777778 | 63 | 0.728 | 37 | 250 | 4.810811 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168 | 250 | 8 | 64 | 31.25 | 0.855769 | 0.216 | 0 | 0 | 0 | 0 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
169bc396dadfa3bb6f3d0c29facb161c7357f4d5 | 1,068 | py | Python | hotxlfp/formulas/__init__.py | uncountableinc/hotxlfp | 8e5bf9a27140d87caa3423e918d42a2a5e7075b5 | [
"MIT"
] | 24 | 2019-04-15T17:51:42.000Z | 2022-01-05T10:22:47.000Z | hotxlfp/formulas/__init__.py | aidhound/hotxlfp | 82f47586d39092bfb7a112619046e842b343f860 | [
"MIT"
] | 11 | 2019-11-03T13:31:08.000Z | 2022-02-23T20:09:31.000Z | hotxlfp/formulas/__init__.py | uncountableinc/hotxlfp | 8e5bf9a27140d87caa3423e918d42a2a5e7075b5 | [
"MIT"
] | 8 | 2019-06-04T08:49:45.000Z | 2021-08-16T19:39:50.000Z | # -*- coding: utf-8 -*-
class Dispatcher(object):
def __init__(self):
self._registry_ = {}
def register_for(self, *fnames):
def wrap(dispatch_fn):
for fname in fnames:
self._registry_[fname] = dispatch_fn
return dispatch_fn
return wrap
def... | 20.150943 | 66 | 0.656367 | 124 | 1,068 | 5.443548 | 0.41129 | 0.148148 | 0.05037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001259 | 0.256554 | 1,068 | 52 | 67 | 20.538462 | 0.848867 | 0.052434 | 0 | 0 | 0 | 0 | 0.0249 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.30303 | 0.090909 | 0.787879 | 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 | 0 | 1 | 0 | 0 | 3 |
16a60f29e269dcdbe1b34c40a56d89cdfac420c9 | 141 | py | Python | codedigger/social_auth/urls.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 17 | 2020-10-07T22:40:37.000Z | 2022-01-20T07:19:09.000Z | codedigger/social_auth/urls.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 42 | 2021-06-03T01:58:04.000Z | 2022-01-31T14:49:22.000Z | codedigger/social_auth/urls.py | jyothiprakashpanaik/Backend | 9ab1b57436a0a1a6197777c0b36c842e71121d3a | [
"Apache-2.0"
] | 25 | 2020-10-06T17:55:19.000Z | 2021-12-09T07:56:50.000Z | from django.urls import path
from .views import GoogleSocialAuthView
urlpatterns = [
path('google/', GoogleSocialAuthView.as_view()),
] | 20.142857 | 52 | 0.758865 | 15 | 141 | 7.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 7 | 53 | 20.142857 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
16bd5dc133cedac169b724c57ec15b87ce5dbf79 | 499 | py | Python | tests/test_functions.py | inaccel/TractSeg | cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287 | [
"Apache-2.0"
] | 148 | 2017-11-09T10:28:15.000Z | 2022-03-30T16:45:24.000Z | tests/test_functions.py | inaccel/TractSeg | cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287 | [
"Apache-2.0"
] | 170 | 2018-06-25T17:33:27.000Z | 2022-03-17T12:42:21.000Z | tests/test_functions.py | inaccel/TractSeg | cc9feefd71ba9fcfacc4d3a7656f1a77bab9a287 | [
"Apache-2.0"
] | 57 | 2018-05-21T00:10:56.000Z | 2022-03-30T02:56:39.000Z |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import unittest
from tractseg.data import dataset_specific_utils
class test_functions(unittest.TestCase):
def setUp(self):
pass
def test_bundle_names(self):
bundles = dataset_speci... | 23.761905 | 91 | 0.751503 | 63 | 499 | 5.428571 | 0.571429 | 0.087719 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170341 | 499 | 21 | 92 | 23.761905 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.114228 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.153846 | false | 0.076923 | 0.384615 | 0 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
16bde0aceb543b149587ea85e3ac8ee67b3c316b | 716 | py | Python | ocfweb/about/lab.py | Diplosaurus/ocfweb | fe03663d86e6624689b850854907f18038b2b4d6 | [
"Apache-2.0",
"CC-BY-4.0"
] | 36 | 2015-08-25T07:57:38.000Z | 2022-03-22T21:17:53.000Z | ocfweb/about/lab.py | Diplosaurus/ocfweb | fe03663d86e6624689b850854907f18038b2b4d6 | [
"Apache-2.0",
"CC-BY-4.0"
] | 478 | 2015-08-31T05:05:49.000Z | 2022-03-12T00:56:52.000Z | ocfweb/about/lab.py | Diplosaurus/ocfweb | fe03663d86e6624689b850854907f18038b2b4d6 | [
"Apache-2.0",
"CC-BY-4.0"
] | 101 | 2015-09-16T04:14:42.000Z | 2022-01-15T20:44:29.000Z | from django.http import HttpRequest
from django.http import HttpResponse
from django.shortcuts import render
def lab_open_source(request: HttpRequest) -> HttpResponse:
return render(
request,
'about/lab-open-source.html',
{
'title': 'Open Source in our Computer Lab',
},... | 21.058824 | 58 | 0.576816 | 72 | 716 | 5.680556 | 0.375 | 0.07335 | 0.220049 | 0.264059 | 0.418093 | 0.418093 | 0.418093 | 0.418093 | 0 | 0 | 0 | 0 | 0.315642 | 716 | 33 | 59 | 21.69697 | 0.834694 | 0 | 0 | 0.222222 | 0 | 0 | 0.210894 | 0.065642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
16d72801049f562b9c656adbc752185a36b54771 | 1,865 | py | Python | mac/google-cloud-sdk/lib/googlecloudsdk/api_lib/identity/admin_directory.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | 2 | 2019-11-10T09:17:07.000Z | 2019-12-18T13:44:08.000Z | mac/google-cloud-sdk/lib/googlecloudsdk/api_lib/identity/admin_directory.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | 4 | 2020-07-21T12:51:46.000Z | 2022-01-22T10:29:25.000Z | mac/google-cloud-sdk/lib/googlecloudsdk/api_lib/identity/admin_directory.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | 1 | 2020-07-25T01:40:19.000Z | 2020-07-25T01:40:19.000Z | # -*- coding: utf-8 -*- #
# Copyright 2019 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | 29.603175 | 77 | 0.764611 | 256 | 1,865 | 5.453125 | 0.472656 | 0.04298 | 0.068052 | 0.053725 | 0.24212 | 0.24212 | 0.24212 | 0.186246 | 0.186246 | 0.186246 | 0 | 0.006456 | 0.169437 | 1,865 | 62 | 78 | 30.080645 | 0.894771 | 0.680429 | 0 | 0 | 0 | 0 | 0.013308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.769231 | 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 | 0 | 1 | 0 | 0 | 3 |
16e362e87af5cd05160eb10b2ca20c49de221c92 | 204 | py | Python | configs/base/base_train.py | SiarheiKachatkou/text_classifier | 123fb97bef8db7628a05f96972a8b9d5ff628096 | [
"Apache-2.0"
] | null | null | null | configs/base/base_train.py | SiarheiKachatkou/text_classifier | 123fb97bef8db7628a05f96972a8b9d5ff628096 | [
"Apache-2.0"
] | null | null | null | configs/base/base_train.py | SiarheiKachatkou/text_classifier | 123fb97bef8db7628a05f96972a8b9d5ff628096 | [
"Apache-2.0"
] | null | null | null |
nfolds = 4
random_seed = 0
classifier_head_str = 'RandomForestClassifierHead(n_estimators=500, n_jobs=-1)'
feature_extractor_str = 'TFIDFFeatureExtractor(max_features=1000)'
work_dir = 'artifacts/base' | 25.5 | 79 | 0.808824 | 26 | 204 | 6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0.088235 | 204 | 8 | 80 | 25.5 | 0.784946 | 0 | 0 | 0 | 0 | 0 | 0.534314 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
16eb817e6597b1e34662ed80737b542ba1f72957 | 291 | py | Python | 2-3/if.py | hirotosuzuki/book_PythonCrawlingAndScraping | db6dcbdbe597f293330c56aeb9dc3703b5946e64 | [
"CC0-1.0"
] | null | null | null | 2-3/if.py | hirotosuzuki/book_PythonCrawlingAndScraping | db6dcbdbe597f293330c56aeb9dc3703b5946e64 | [
"CC0-1.0"
] | null | null | null | 2-3/if.py | hirotosuzuki/book_PythonCrawlingAndScraping | db6dcbdbe597f293330c56aeb9dc3703b5946e64 | [
"CC0-1.0"
] | null | null | null | # if文で処理を分岐できる。
if a == 1:
print('a is 1') # if文の式が真のときに実行される。
elif a == 2:
print('a is 2') # elif節の式が真のときに実行される(elif節は無くてもよい)。
else:
print('a is not 1 nor 2') # どの条件にも当てはまらなかったときに実行される(else節は無くてもよい)。
print('a is 1' if a == 1 else 'a is not 1') # 条件式で1行で書ける。可読性が下がるので多用しない。
| 29.1 | 73 | 0.649485 | 42 | 291 | 4.5 | 0.428571 | 0.079365 | 0.169312 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04329 | 0.206186 | 291 | 9 | 74 | 32.333333 | 0.774892 | 0.450172 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
bc724072ffae0484c81f4036a5f34b98939c550c | 1,620 | py | Python | deps/pybind11/tests/test_constants_and_functions.py | dlminvestments/coremltools | cf6db67bab18346e132124783d46a32b8a7f52c6 | [
"BSD-3-Clause"
] | null | null | null | deps/pybind11/tests/test_constants_and_functions.py | dlminvestments/coremltools | cf6db67bab18346e132124783d46a32b8a7f52c6 | [
"BSD-3-Clause"
] | 75 | 2020-11-24T05:37:45.000Z | 2022-02-25T15:14:23.000Z | deps/pybind11/tests/test_constants_and_functions.py | dlminvestments/coremltools | cf6db67bab18346e132124783d46a32b8a7f52c6 | [
"BSD-3-Clause"
] | null | null | null |
def test_constants():
from pybind11_tests import some_constant
if some_constant != 14:
raise AssertionError
def test_function_overloading():
from pybind11_tests import MyEnum, test_function
if test_function() != "test_function()":
raise AssertionError
if test_function(7) != "te... | 25.3125 | 69 | 0.628395 | 208 | 1,620 | 4.75 | 0.293269 | 0.384615 | 0.340081 | 0.15587 | 0.225709 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0.067454 | 0.267901 | 1,620 | 63 | 70 | 25.714286 | 0.765599 | 0 | 0 | 0.408163 | 0 | 0 | 0.084672 | 0.025958 | 0 | 0 | 0 | 0 | 0.408163 | 1 | 0.081633 | false | 0 | 0.081633 | 0 | 0.163265 | 0.040816 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bc7778eb8dd7ef5f63df53ac0ec3a7ab81b49865 | 223 | py | Python | ex13.py | KhinYadanaThein/python-exercises | 0df54fac879b2cdffe0b3c47539203780bb96202 | [
"MIT"
] | null | null | null | ex13.py | KhinYadanaThein/python-exercises | 0df54fac879b2cdffe0b3c47539203780bb96202 | [
"MIT"
] | null | null | null | ex13.py | KhinYadanaThein/python-exercises | 0df54fac879b2cdffe0b3c47539203780bb96202 | [
"MIT"
] | null | null | null | from sys import argv
script, first, second, third = argv
print("The script is called:", script)
print("Your first variable is :", first)
print("Your second variable is :", second)
print("Your third variable is :", third)
| 24.777778 | 42 | 0.717489 | 33 | 223 | 4.848485 | 0.424242 | 0.16875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156951 | 223 | 8 | 43 | 27.875 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.421525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
bc787d01205f3443c2249e7ed9ce254c2fcba29a | 1,373 | py | Python | Car_rental/models/Order.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | Car_rental/models/Order.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | Car_rental/models/Order.py | evalisv/verklegt1-2018 | bbf9d6ca66a1f01058c41c9160f982f3621abea7 | [
"MIT"
] | null | null | null | class Order:
def __init__(self, order_number, customer_id, lp_number, category, pickup_date, return_date, price, insurance, actual_return_date):
self.__order_number = order_number
self.__customer_id = customer_id
self.__lp_number = lp_number
self.__category = category
se... | 30.511111 | 146 | 0.677349 | 169 | 1,373 | 4.83432 | 0.112426 | 0.159119 | 0.154223 | 0.073439 | 0.29131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236708 | 1,373 | 44 | 147 | 31.204545 | 0.77958 | 0 | 0 | 0 | 0 | 0 | 0.01895 | 0.01895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34375 | false | 0 | 0 | 0.3125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
bc8c414f4dcef283903a5b2fd5cfa6d974e7b027 | 108 | py | Python | yt_dlp/version.py | Wileyfox-F1/yt-dlp | af5c1c553e0147fad5f386f42058186e1952ee4e | [
"Unlicense"
] | null | null | null | yt_dlp/version.py | Wileyfox-F1/yt-dlp | af5c1c553e0147fad5f386f42058186e1952ee4e | [
"Unlicense"
] | null | null | null | yt_dlp/version.py | Wileyfox-F1/yt-dlp | af5c1c553e0147fad5f386f42058186e1952ee4e | [
"Unlicense"
] | null | null | null | # Autogenerated by devscripts/update-version.py
__version__ = '2022.02.03'
RELEASE_GIT_HEAD = '28469edd7'
| 18 | 47 | 0.777778 | 14 | 108 | 5.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0.111111 | 108 | 5 | 48 | 21.6 | 0.666667 | 0.416667 | 0 | 0 | 1 | 0 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bca4c3f1ad5a0c11291c066b5066abb23bd8883a | 41 | py | Python | yatube/posts/settings.py | fuodorov/yatube | 394ec9a4b77db5e1e8124f53ff07c1a3cc1de729 | [
"MIT"
] | null | null | null | yatube/posts/settings.py | fuodorov/yatube | 394ec9a4b77db5e1e8124f53ff07c1a3cc1de729 | [
"MIT"
] | null | null | null | yatube/posts/settings.py | fuodorov/yatube | 394ec9a4b77db5e1e8124f53ff07c1a3cc1de729 | [
"MIT"
] | null | null | null | POSTS_PER_PAGE = 10
LETTERS_PER_STR = 15
| 13.666667 | 20 | 0.804878 | 8 | 41 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0.146341 | 41 | 2 | 21 | 20.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bcabef4975ea02a5b406f0354b00cdcd8a863d23 | 636 | gyp | Python | binding.gyp | snecklifter/pikchr | bffe8a7260f5ca5c984f7dfbeeb6efe8d99c9775 | [
"Apache-2.0"
] | 2 | 2020-12-27T04:56:46.000Z | 2021-06-16T12:17:42.000Z | binding.gyp | snecklifter/pikchr | bffe8a7260f5ca5c984f7dfbeeb6efe8d99c9775 | [
"Apache-2.0"
] | 2 | 2021-01-10T22:14:44.000Z | 2021-01-12T13:54:34.000Z | binding.gyp | snecklifter/pikchr | bffe8a7260f5ca5c984f7dfbeeb6efe8d99c9775 | [
"Apache-2.0"
] | 2 | 2021-01-12T13:07:31.000Z | 2021-06-16T12:26:11.000Z | {
"targets": [
{
"target_name": "pikchr",
"sources": ["pikchr.cc"],
'dependencies': ['libpikchr'],
'conditions': [
['OS=="linux"', {
'libraries': ["<(module_root_dir)/build/Release/pikchr.a"]
}],
['OS=="win"', {
'librari... | 25.44 | 82 | 0.429245 | 49 | 636 | 5.387755 | 0.489796 | 0.170455 | 0.215909 | 0.25 | 0.477273 | 0.477273 | 0.477273 | 0.477273 | 0 | 0 | 0 | 0 | 0.350629 | 636 | 24 | 83 | 26.5 | 0.639225 | 0.018868 | 0 | 0.083333 | 0 | 0 | 0.485531 | 0.210611 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bcc73849d69cc959608db9539893afbc233e4c95 | 213 | py | Python | lab-dyn-dns/generate-keys.py | patrickcberry/lab-ind40 | ab4bc85f2713e98c2a43e3229460b53d9b45a2ea | [
"MIT"
] | null | null | null | lab-dyn-dns/generate-keys.py | patrickcberry/lab-ind40 | ab4bc85f2713e98c2a43e3229460b53d9b45a2ea | [
"MIT"
] | null | null | null | lab-dyn-dns/generate-keys.py | patrickcberry/lab-ind40 | ab4bc85f2713e98c2a43e3229460b53d9b45a2ea | [
"MIT"
] | null | null | null | from cryptography.fernet import Fernet
key = Fernet.generate_key()
with open('client/secret.key','wb') as mykey:
mykey.write(key)
with open('server/route_53/secret.key','wb') as mykey:
mykey.write(key)
| 21.3 | 54 | 0.71831 | 33 | 213 | 4.575758 | 0.515152 | 0.092715 | 0.145695 | 0.172185 | 0.410596 | 0.410596 | 0.410596 | 0.410596 | 0 | 0 | 0 | 0.010811 | 0.131455 | 213 | 9 | 55 | 23.666667 | 0.805405 | 0 | 0 | 0.333333 | 1 | 0 | 0.220657 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bce1386870a1ea3c7494a7085430f242d10327b0 | 92 | py | Python | ems_admin/apps.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 36 | 2019-11-26T11:46:32.000Z | 2022-02-17T13:18:18.000Z | ems_admin/apps.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 13 | 2020-02-14T09:30:16.000Z | 2022-03-12T00:58:09.000Z | ems_admin/apps.py | Atwinenickson/lendsuphumanresourcemanagement | b46df164d59a4e94300376d679e07bd9a60d6343 | [
"MIT",
"Unlicense"
] | 16 | 2019-06-14T12:11:29.000Z | 2022-02-14T15:16:07.000Z | from django.apps import AppConfig
class EmsAdminConfig(AppConfig):
name = 'ems_admin'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 | 0 | 0 | 0 | 3 |
bce75b11d86cd415c1debefea76efee3a08aeaf9 | 300 | py | Python | sqlstr/exception.py | GochoMugo/sql-string-templating | ef331161747d2ca10b3c4a92d5ff9a7d31a34231 | [
"MIT"
] | null | null | null | sqlstr/exception.py | GochoMugo/sql-string-templating | ef331161747d2ca10b3c4a92d5ff9a7d31a34231 | [
"MIT"
] | null | null | null | sqlstr/exception.py | GochoMugo/sql-string-templating | ef331161747d2ca10b3c4a92d5ff9a7d31a34231 | [
"MIT"
] | null | null | null | '''
Exceptions from sqlstr
-------------------------
'''
class sqlstrException(Exception):
def __init__(self, message):
'''
Instanitates a custom sqlstrException
message -- string. Message describing the exception.
'''
Exception.__init__(self, message)
| 20 | 60 | 0.583333 | 24 | 300 | 6.958333 | 0.666667 | 0.095808 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243333 | 300 | 14 | 61 | 21.428571 | 0.735683 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4c09f270712458d1519c459f1a0bfc66428656db | 1,077 | py | Python | wagtail/wagtailsearch/tests/test_frontend.py | ollywillans/wagtail | 5f332a1ca8907172c0a5b4a6a820e17dabbb403b | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailsearch/tests/test_frontend.py | ollywillans/wagtail | 5f332a1ca8907172c0a5b4a6a820e17dabbb403b | [
"BSD-3-Clause"
] | null | null | null | wagtail/wagtailsearch/tests/test_frontend.py | ollywillans/wagtail | 5f332a1ca8907172c0a5b4a6a820e17dabbb403b | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from .utils import get_default_host
class TestSearchView(TestCase):
def get(self, params={}):
return self.client.get('/search/', params, HTTP_HOST=get_default_host())
def test_status_code(self):
self.assertEqual(self.get().status_code, 200)
def test_searc... | 31.676471 | 88 | 0.649025 | 136 | 1,077 | 4.985294 | 0.301471 | 0.103245 | 0.09587 | 0.128319 | 0.663717 | 0.663717 | 0.610619 | 0.610619 | 0.610619 | 0.610619 | 0 | 0.025731 | 0.206128 | 1,077 | 33 | 89 | 32.636364 | 0.767251 | 0 | 0 | 0.541667 | 0 | 0 | 0.066852 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.291667 | false | 0 | 0.083333 | 0.083333 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 3 |
4c2533e403003907781b55aa1fe0da76fac2b1ec | 173 | py | Python | 000468BookBRIGG/000468_01_03_02_JokeTest_20190528.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000468BookBRIGG/000468_01_03_02_JokeTest_20190528.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000468BookBRIGG/000468_01_03_02_JokeTest_20190528.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | joke_test = '%s: приспособление для поиска мебели в темноте'
bodyPart1 = 'Коленка'
bodyPart2 = 'Лодыжка'
print (joke_test % bodyPart1)
print (joke_test % bodyPart2)
input()
| 24.714286 | 60 | 0.751445 | 22 | 173 | 5.772727 | 0.681818 | 0.188976 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.138728 | 173 | 6 | 61 | 28.833333 | 0.825503 | 0 | 0 | 0 | 0 | 0 | 0.346821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c384c7a07e67ce5e7e8d3762c59c1ca4c98015b | 195 | py | Python | reggie/__init__.py | RobRuana/reggie | fe07849541b343db6121973f89a5d3865d5e34a4 | [
"BSD-3-Clause"
] | null | null | null | reggie/__init__.py | RobRuana/reggie | fe07849541b343db6121973f89a5d3865d5e34a4 | [
"BSD-3-Clause"
] | null | null | null | reggie/__init__.py | RobRuana/reggie | fe07849541b343db6121973f89a5d3865d5e34a4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2017 the Reggie team, see AUTHORS.
# Licensed under the BSD License, see LICENSE for details.
"""
Reggie
>>> print('Reggie')
Reggie
"""
# flake8: noqa
| 13.928571 | 58 | 0.646154 | 26 | 195 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 0.189744 | 195 | 13 | 59 | 15 | 0.759494 | 0.902564 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c3a525738b43d8f3d7f626a34c340ebf25f9295 | 863 | py | Python | problem_specification.py | StanfordASL/soft-robot-control | 29ade9b7b952e25e639b42767a4f09c87a0e824a | [
"MIT"
] | 5 | 2021-03-07T11:42:11.000Z | 2022-02-28T09:46:05.000Z | problem_specification.py | StanfordASL/soft-robot-control | 29ade9b7b952e25e639b42767a4f09c87a0e824a | [
"MIT"
] | null | null | null | problem_specification.py | StanfordASL/soft-robot-control | 29ade9b7b952e25e639b42767a4f09c87a0e824a | [
"MIT"
] | 3 | 2021-01-23T11:09:40.000Z | 2022-03-02T11:54:57.000Z | # Description
# from examples.diamond import diamond
# problem = diamond.collect_POD_data
# problem = diamond.collect_TPWL_data
# problem = diamond.run_scp
# from examples.diamond import diamond_rompc
# problem = diamond_rompc.run_rompc
# from examples.diamond import diamond_koopman
# problem = diamond_koopman.run_ko... | 29.758621 | 47 | 0.819235 | 105 | 863 | 6.47619 | 0.2 | 0.205882 | 0.123529 | 0.152941 | 0.719118 | 0.617647 | 0.617647 | 0.617647 | 0.467647 | 0.467647 | 0 | 0 | 0.114716 | 863 | 28 | 48 | 30.821429 | 0.890052 | 0.940904 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4c4f7fadb895d4797a318793865f4508a97c0513 | 407 | py | Python | moban_handlebars/__init__.py | CLiu13/moban-handlebars | a4bc1b3dacb4d88dbd7070f2457194be76223a48 | [
"MIT"
] | null | null | null | moban_handlebars/__init__.py | CLiu13/moban-handlebars | a4bc1b3dacb4d88dbd7070f2457194be76223a48 | [
"MIT"
] | null | null | null | moban_handlebars/__init__.py | CLiu13/moban-handlebars | a4bc1b3dacb4d88dbd7070f2457194be76223a48 | [
"MIT"
] | null | null | null | # flake8: noqa
from moban_handlebars._version import __version__
from moban_handlebars._version import __author__
from lml.plugin import PluginInfo, PluginInfoChain
import moban.constants as constants
PluginInfoChain(__name__).add_a_plugin_instance(
PluginInfo(
constants.TEMPLATE_ENGINE_EXTENSION,
... | 25.4375 | 50 | 0.761671 | 43 | 407 | 6.627907 | 0.581395 | 0.063158 | 0.133333 | 0.182456 | 0.224561 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002924 | 0.159705 | 407 | 15 | 51 | 27.133333 | 0.830409 | 0.029484 | 0 | 0 | 0 | 0 | 0.099237 | 0.066158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4c7147cc7d3948550cf8b337ec269622de16cdad | 1,067 | py | Python | centralized/cell/cell.py | ouuooo/MAPF | 0958c653c66a30ec92d958fa613049d814033b89 | [
"MIT"
] | null | null | null | centralized/cell/cell.py | ouuooo/MAPF | 0958c653c66a30ec92d958fa613049d814033b89 | [
"MIT"
] | null | null | null | centralized/cell/cell.py | ouuooo/MAPF | 0958c653c66a30ec92d958fa613049d814033b89 | [
"MIT"
] | null | null | null |
from threading import local
class Location:
def __init__(self, x=-1, y=-1):
self.x = x
self.y = y
# 为==运算符提供支持
def __eq__(self, other):
return self.x == other.x and self.y == other.y
# 对应于调用内置的str()函数将该对象转换成字符串
def __str__(self):
return str((self.x, self.y))
cla... | 17.209677 | 54 | 0.558575 | 137 | 1,067 | 4.065693 | 0.335766 | 0.075404 | 0.118492 | 0.05386 | 0.140036 | 0.071813 | 0 | 0 | 0 | 0 | 0 | 0.019943 | 0.342081 | 1,067 | 61 | 55 | 17.491803 | 0.773504 | 0.033739 | 0 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.047619 | 0.02381 | 0.142857 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d5b6a29bcf027f7f6f5cd9f568eb1a29ca1ddb71 | 173 | py | Python | app/users/__init__.py | yiunsr/suerp | 6c8873cc23d13a514b36f5faa64e3ee7d7cf53af | [
"Apache-2.0"
] | null | null | null | app/users/__init__.py | yiunsr/suerp | 6c8873cc23d13a514b36f5faa64e3ee7d7cf53af | [
"Apache-2.0"
] | null | null | null | app/users/__init__.py | yiunsr/suerp | 6c8873cc23d13a514b36f5faa64e3ee7d7cf53af | [
"Apache-2.0"
] | null | null | null | from fastapi import APIRouter
from fastapi import Depends
router = APIRouter(
prefix="/users",
tags=["users"],
responses={404: {"description": "Not found"}},
)
| 19.222222 | 50 | 0.67052 | 19 | 173 | 6.105263 | 0.736842 | 0.189655 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.179191 | 173 | 8 | 51 | 21.625 | 0.795775 | 0 | 0 | 0 | 0 | 0 | 0.179191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5bff0c9150fe1555230d4facb06cee34580af88 | 91 | tac | Python | decaf_PA3/TestCases/S2/output/q53-2.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | decaf_PA3/TestCases/S2/output/q53-2.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | decaf_PA3/TestCases/S2/output/q53-2.tac | joker452/Decaf-compiler | 4f81dbd3d049245af8a8cb7234db7792ca57e61a | [
"MIT"
] | null | null | null | *** Error at (17,8): declaration of 'i' here conflicts with earlier declaration at (16,24)
| 45.5 | 90 | 0.714286 | 15 | 91 | 4.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.153846 | 91 | 1 | 91 | 91 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d5c229ed6014ffcc3cfd52f57d20aa7a4f147510 | 263 | py | Python | releasy/__main__.py | gems-uff/release | 08aee17c59f742e57518b69d0bd2c452e905e109 | [
"MIT"
] | 1 | 2018-10-06T02:16:33.000Z | 2018-10-06T02:16:33.000Z | releasy/__main__.py | gems-uff/release | 08aee17c59f742e57518b69d0bd2c452e905e109 | [
"MIT"
] | 15 | 2018-09-18T17:57:00.000Z | 2021-11-16T02:08:34.000Z | releasy/__main__.py | gems-uff/release | 08aee17c59f742e57518b69d0bd2c452e905e109 | [
"MIT"
] | null | null | null | import sys
from releasy.miner.vcs.miner import Miner
from releasy.miner.vcs.git import GitVcs
if __name__ == '__main__':
project_path = sys.argv[1]
miner = Miner(GitVcs(project_path))
project = miner.mine_commits()
print(f"{project.name}")
| 21.916667 | 41 | 0.703422 | 37 | 263 | 4.702703 | 0.513514 | 0.126437 | 0.183908 | 0.218391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00463 | 0.178707 | 263 | 11 | 42 | 23.909091 | 0.800926 | 0 | 0 | 0 | 0 | 0 | 0.08365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0.125 | 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 | 0 | 0 | 0 | 3 |
d5cb974c031fa9264f8584b9f106be8c2d47a268 | 735 | py | Python | services/traction/acapy_wrapper/models/cred_rev_record_result.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 12 | 2022-01-29T20:30:03.000Z | 2022-03-29T11:46:14.000Z | services/traction/acapy_wrapper/models/cred_rev_record_result.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 38 | 2021-11-22T17:52:50.000Z | 2022-03-31T17:52:00.000Z | services/traction/acapy_wrapper/models/cred_rev_record_result.py | Open-Earth-Foundation/traction | 908b555a7f408a88541b7692d3730e37a297c919 | [
"Apache-2.0"
] | 9 | 2021-11-22T18:05:48.000Z | 2022-03-29T11:25:08.000Z | # coding: utf-8
from __future__ import annotations
from datetime import date, datetime # noqa: F401
import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401
from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from acapy_wrapper.models.issuer_cred_rev_record import Iss... | 27.222222 | 96 | 0.760544 | 89 | 735 | 6.168539 | 0.640449 | 0.058288 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021311 | 0.170068 | 735 | 26 | 97 | 28.269231 | 0.878689 | 0.401361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d5fe73d546d1c3c8710c594930ad3b36486631a6 | 305 | py | Python | landing/sitemaps.py | iDemandLiberty/site-fork | 4d7126cd1f37d9493e1e56f911d1bac5507655f8 | [
"BSD-3-Clause"
] | null | null | null | landing/sitemaps.py | iDemandLiberty/site-fork | 4d7126cd1f37d9493e1e56f911d1bac5507655f8 | [
"BSD-3-Clause"
] | null | null | null | landing/sitemaps.py | iDemandLiberty/site-fork | 4d7126cd1f37d9493e1e56f911d1bac5507655f8 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import sitemaps
from django.core.urlresolvers import reverse
class LandingSitemap(sitemaps.Sitemap):
priority = 0.5
changefreq = 'daily'
def items(self):
return ['services', 'contact', 'info', 'links']
def location(self, item):
return reverse(item)
| 21.785714 | 55 | 0.678689 | 35 | 305 | 5.914286 | 0.742857 | 0.096618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.209836 | 305 | 13 | 56 | 23.461538 | 0.850622 | 0 | 0 | 0 | 0 | 0 | 0.095395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
912e2eb61b2aaae958655327d4bc129d0051f1da | 306 | py | Python | dvae/model/__init__.py | ZijingWu381/DVAE | 1d19012bb15794a20c22f5658ca8357cebe8d89a | [
"MIT"
] | null | null | null | dvae/model/__init__.py | ZijingWu381/DVAE | 1d19012bb15794a20c22f5658ca8357cebe8d89a | [
"MIT"
] | null | null | null | dvae/model/__init__.py | ZijingWu381/DVAE | 1d19012bb15794a20c22f5658ca8357cebe8d89a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .vae import build_VAE
from .dkf import build_DKF
from .dkfl import build_DKFL
from .kvae import build_KVAE
from .storn import build_STORN
from .vrnn import build_VRNN
from .srnn import build_SRNN
from .rvae import build_RVAE
from .dsae import build_DSAE | 25.5 | 30 | 0.784314 | 52 | 306 | 4.442308 | 0.365385 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007605 | 0.140523 | 306 | 12 | 31 | 25.5 | 0.870722 | 0.140523 | 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 | 0 | 0 | 0 | 3 |
914886dabf61a1f2b603904f9e09bad0353fad8b | 4,166 | py | Python | script.py | DracTheDino/PasswordManager | 062a3202bd62ee1dc316521d325f6c584f523084 | [
"MIT"
] | 4 | 2020-06-22T12:27:24.000Z | 2021-09-20T00:21:29.000Z | script.py | DracTheDino/PasswordManager | 062a3202bd62ee1dc316521d325f6c584f523084 | [
"MIT"
] | 1 | 2020-06-23T13:22:45.000Z | 2020-06-23T13:22:45.000Z | script.py | DracTheDino/PasswordManager | 062a3202bd62ee1dc316521d325f6c584f523084 | [
"MIT"
] | 2 | 2020-06-23T13:19:35.000Z | 2020-10-17T04:47:50.000Z | import json
import time
import hashlib
import caeser_cypher_encrypt.py as encrypt
import caeser_cypher_decrypt.py as decrypt
import password-generation.py as generate
with open('.passwords.json') as f:
passwords = json.load(f)
print("Password file detecting... \n")
time.sleep(2.0)
print("File detected. You may no... | 42.080808 | 216 | 0.619539 | 545 | 4,166 | 4.581651 | 0.26422 | 0.104125 | 0.056067 | 0.04205 | 0.372847 | 0.311974 | 0.305166 | 0.305166 | 0.305166 | 0.281938 | 0 | 0.003 | 0.279885 | 4,166 | 98 | 217 | 42.510204 | 0.829333 | 0 | 0 | 0.3 | 1 | 0.0375 | 0.371099 | 0.039366 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.4 | 0.075 | null | null | 0.175 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e66b83af4a1e3ef56f09ff36884059a235a7be51 | 3,780 | py | Python | AdvisoryConfig.py | jourzero/AdvisoryEmail | 460e56aaf534a7dcfc87fd822a14faf9369756b6 | [
"MIT"
] | 1 | 2016-02-04T19:37:58.000Z | 2016-02-04T19:37:58.000Z | AdvisoryConfig.py | jourzero/AdvisoryEmail | 460e56aaf534a7dcfc87fd822a14faf9369756b6 | [
"MIT"
] | null | null | null | AdvisoryConfig.py | jourzero/AdvisoryEmail | 460e56aaf534a7dcfc87fd822a14faf9369756b6 | [
"MIT"
] | null | null | null | # Email parameters
orig = "noreply@yourdomain.com"
dest = "email1@yourdomain.com,email2@yourdomain.com"
mx = "mx.yourdomain.com"
# Reporting parameters
ReportPeriod = 60 #days
tbd = "(TBD)"
# Asset Inventory
assetList = ["AIX", "Adobe", "AirDefense", "Apache", "Aruba", "Avaya", "Blackberry", "Blue C... | 87.906977 | 1,275 | 0.702116 | 491 | 3,780 | 5.376782 | 0.533605 | 0.018182 | 0.022727 | 0.027273 | 0.240909 | 0.240909 | 0.225 | 0.201515 | 0.201515 | 0.201515 | 0 | 0.013405 | 0.111905 | 3,780 | 42 | 1,276 | 90 | 0.773012 | 0.062698 | 0 | 0 | 0 | 0.269231 | 0.747735 | 0.037656 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e698dd11fa92b7fb6e8e24f9792eb4f1cfaf0adc | 313 | py | Python | models/__init__.py | zhiiker/CIFAR-ZOO | 33b927e381742b9929c9aaa3a5caf41e8e789382 | [
"MIT"
] | null | null | null | models/__init__.py | zhiiker/CIFAR-ZOO | 33b927e381742b9929c9aaa3a5caf41e8e789382 | [
"MIT"
] | null | null | null | models/__init__.py | zhiiker/CIFAR-ZOO | 33b927e381742b9929c9aaa3a5caf41e8e789382 | [
"MIT"
] | null | null | null | # -*-coding:utf-8-*-
from .lenet import *
from .alexnet import *
from .vgg import *
from .resnet import *
from .preresnet import *
from .senet import *
from .resnext import *
from .densenet import *
from .shake_shake import *
def get_model(config):
return globals()[config.architecture](config.num_classes)
| 20.866667 | 61 | 0.72524 | 42 | 313 | 5.333333 | 0.547619 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.153355 | 313 | 14 | 62 | 22.357143 | 0.841509 | 0.057508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.818182 | 0.090909 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e69c979efaa88c59076dbca4fdf2b778be8131d1 | 35 | py | Python | plugin_param_video.py | marius851000/kodi_need_for_ponies_audio_video | eb6f58825b745906cdb837517d7183a7e47c4f18 | [
"Unlicense"
] | null | null | null | plugin_param_video.py | marius851000/kodi_need_for_ponies_audio_video | eb6f58825b745906cdb837517d7183a7e47c4f18 | [
"Unlicense"
] | null | null | null | plugin_param_video.py | marius851000/kodi_need_for_ponies_audio_video | eb6f58825b745906cdb837517d7183a7e47c4f18 | [
"Unlicense"
] | null | null | null | CATEGORY = "video" #video or music
| 17.5 | 34 | 0.714286 | 5 | 35 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.862069 | 0.4 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e6ac4cd56e03e8dca78bc4b8c4893ef761a11b11 | 430 | py | Python | UCourse/programs/migrations/0023_auto_20200905_2200.py | Natsu1270/UCourse | e8c814d91e54f5f51e4a0fa2df177ebb59544dc2 | [
"MIT"
] | 1 | 2020-08-31T22:40:27.000Z | 2020-08-31T22:40:27.000Z | UCourse/programs/migrations/0023_auto_20200905_2200.py | Natsu1270/UCourse | e8c814d91e54f5f51e4a0fa2df177ebb59544dc2 | [
"MIT"
] | 13 | 2020-08-05T16:17:09.000Z | 2022-03-12T00:18:42.000Z | UCourse/programs/migrations/0023_auto_20200905_2200.py | Natsu1270/UCourse | e8c814d91e54f5f51e4a0fa2df177ebb59544dc2 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2020-09-05 15:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('programs', '0022_userbuyprogram_money'),
]
operations = [
migrations.RemoveField(
model_name='field',
name='code',
)... | 19.545455 | 50 | 0.55814 | 41 | 430 | 5.756098 | 0.731707 | 0.177966 | 0.220339 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065744 | 0.327907 | 430 | 21 | 51 | 20.47619 | 0.750865 | 0.104651 | 0 | 0.4 | 1 | 0 | 0.138381 | 0.065274 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e6c89e77b3e8d14c5eb9414508f1d93a7061f2f4 | 365 | py | Python | nlabel/io/json/name.py | poke1024/nlabel | 359972d2f71ba7ed2ee097fffcdc750e225d3784 | [
"MIT"
] | 1 | 2022-02-03T11:28:24.000Z | 2022-02-03T11:28:24.000Z | nlabel/io/json/name.py | poke1024/nlabel | 359972d2f71ba7ed2ee097fffcdc750e225d3784 | [
"MIT"
] | null | null | null | nlabel/io/json/name.py | poke1024/nlabel | 359972d2f71ba7ed2ee097fffcdc750e225d3784 | [
"MIT"
] | null | null | null | def normalize_name(s):
return s.replace('-', '_')
class Name:
def __init__(self, internal, external=None):
self._internal = internal
self._external = external if external else normalize_name(internal)
@property
def internal(self):
return self._internal
@property
def e... | 21.470588 | 75 | 0.654795 | 41 | 365 | 5.560976 | 0.365854 | 0.157895 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249315 | 365 | 16 | 76 | 22.8125 | 0.832117 | 0 | 0 | 0.166667 | 0 | 0 | 0.005479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.25 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e6d8a33bc5ab9030873ff9b2b9afa2ead5febc7c | 330 | py | Python | src/example/trade/get_order.py | Han1018/Cryptocurrency-Automated-Trading | 52a5b6d15eb9b2a3a69cc53bd159f6eec073614d | [
"MIT"
] | 1 | 2021-03-27T21:20:30.000Z | 2021-03-27T21:20:30.000Z | example/trade/get_order.py | CNFINITE/Futures | 779208eea44348f41203c10f77cc84cbf16c709f | [
"MIT"
] | 1 | 2021-07-20T15:25:11.000Z | 2021-07-20T15:25:11.000Z | example/trade/get_order.py | CNFINITE/Futures | 779208eea44348f41203c10f77cc84cbf16c709f | [
"MIT"
] | 1 | 2021-12-14T02:39:04.000Z | 2021-12-14T02:39:04.000Z | from binance_f import RequestClient
from binance_f.constant.test import *
from binance_f.base.printobject import *
from binance_f.model.constant import *
request_client = RequestClient(api_key=g_api_key, secret_key=g_secret_key)
result = request_client.get_order(symbol="BTCUSDT", orderId=534333508)
PrintBasic.print_ob... | 36.666667 | 74 | 0.839394 | 49 | 330 | 5.367347 | 0.530612 | 0.1673 | 0.18251 | 0.136882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029605 | 0.078788 | 330 | 8 | 75 | 41.25 | 0.835526 | 0 | 0 | 0 | 0 | 0 | 0.021212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fc0dc1a874c5a6719c7e6cf08d7a101b7c5dce5a | 418 | py | Python | ejercicios_basicos/ejemplo3.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | ejercicios_basicos/ejemplo3.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | ejercicios_basicos/ejemplo3.py | JuanDuran85/ejemplos_python | 47aa49c65384ab89654f362f3da6cd2b0ef386e5 | [
"Apache-2.0"
] | null | null | null | # para especificar el tipo a string
x = str(54)
print("x: ",x)
# para especificar el tipo a number del tipo int
y = int(3.56)
print("y: ",y)
z = int("3")
print("z: ",z)
# para especificar el tipo a number del tipo floar
r = float(567)
print("r: ",r)
w = float("3.56")
print("w: ",w)
# para obtener el tipo
print("x: "... | 19 | 50 | 0.595694 | 80 | 418 | 3.1125 | 0.3 | 0.096386 | 0.204819 | 0.253012 | 0.369478 | 0.281125 | 0.281125 | 0.281125 | 0 | 0 | 0 | 0.034884 | 0.177033 | 418 | 22 | 51 | 19 | 0.688953 | 0.358852 | 0 | 0 | 0 | 0 | 0.132576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
fc42f23fff71b6d498134cff801cec2c41543238 | 7,859 | py | Python | models/ae_backbone.py | MPCAICDM/MPCA | c996435a0578ea4160f934bc01041c2ef23468f3 | [
"MIT"
] | null | null | null | models/ae_backbone.py | MPCAICDM/MPCA | c996435a0578ea4160f934bc01041c2ef23468f3 | [
"MIT"
] | null | null | null | models/ae_backbone.py | MPCAICDM/MPCA | c996435a0578ea4160f934bc01041c2ef23468f3 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class _Encoder(nn.Module):
def __init__(self, in_channels, hidden_layer_sizes, activation, pad_mode, bn, is_flatten=False, flatten_size=0):
super(_Encoder, self).__init__()
self.activation = activation
self.hidden_layer_sizes = hidden_layer_sizes
... | 42.481081 | 135 | 0.627179 | 1,008 | 7,859 | 4.587302 | 0.085317 | 0.116566 | 0.16955 | 0.093426 | 0.809256 | 0.772708 | 0.732915 | 0.675389 | 0.639057 | 0.58564 | 0 | 0.015688 | 0.270009 | 7,859 | 184 | 136 | 42.711957 | 0.790309 | 0 | 0 | 0.506494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.012987 | 0.012987 | 0.168831 | 0.025974 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc6b8855a537814cdc4600b3532e5133543fb9b8 | 1,771 | py | Python | tests/tracer/test_sma.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 308 | 2016-12-07T16:49:27.000Z | 2022-03-15T10:06:45.000Z | tests/tracer/test_sma.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,928 | 2016-11-28T17:13:18.000Z | 2022-03-31T21:43:19.000Z | tests/tracer/test_sma.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 311 | 2016-11-27T03:01:49.000Z | 2022-03-18T21:34:03.000Z | import pytest
from ddtrace.internal.sma import SimpleMovingAverage
from ddtrace.internal.writer import DEFAULT_SMA_WINDOW
def test_min_size():
sma = SimpleMovingAverage(DEFAULT_SMA_WINDOW)
assert DEFAULT_SMA_WINDOW == sma.size
assert DEFAULT_SMA_WINDOW == len(sma.counts)
assert DEFAULT_SMA_WINDOW ==... | 22.417722 | 54 | 0.590627 | 290 | 1,771 | 3.531034 | 0.151724 | 0.140625 | 0.202148 | 0.246094 | 0.719727 | 0.610352 | 0.452148 | 0.347656 | 0.270508 | 0.270508 | 0 | 0.080451 | 0.249012 | 1,771 | 78 | 55 | 22.705128 | 0.689474 | 0 | 0 | 0.68254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.095238 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fc915a0c78d8d7043678d70eb635bfd324bb78e9 | 528 | py | Python | mecab/cli.py | awesome-archive/python-mecab | 9b5294817778d7150ebd41080c2fff98595ceed0 | [
"BSD-3-Clause"
] | 33 | 2019-12-31T05:58:58.000Z | 2021-07-07T15:46:24.000Z | mecab/cli.py | awesome-archive/python-mecab | 9b5294817778d7150ebd41080c2fff98595ceed0 | [
"BSD-3-Clause"
] | 18 | 2019-12-28T19:14:40.000Z | 2020-02-12T11:34:04.000Z | mecab/cli.py | awesome-archive/python-mecab | 9b5294817778d7150ebd41080c2fff98595ceed0 | [
"BSD-3-Clause"
] | 8 | 2020-01-03T06:18:41.000Z | 2021-03-20T02:57:25.000Z | import sys
from ._C import mecab_cost_train, mecab_dict_gen, mecab_dict_index, mecab_main, mecab_system_eval, mecab_test_gen
def run_mecab_main(argv=sys.argv):
mecab_main(argv)
def run_mecab_dict_index(argv=sys.argv):
mecab_dict_index(argv)
def run_mecab_dict_gen(argv=sys.argv):
mecab_dict_gen(argv)
... | 18.857143 | 113 | 0.784091 | 92 | 528 | 4.065217 | 0.184783 | 0.144385 | 0.176471 | 0.256684 | 0.26738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 528 | 27 | 114 | 19.555556 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.