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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
341ccffc9e7ed4b86b653144bd2deb78296a6032 | 8,025 | py | Python | superpeer/LocalData.py | xBlue0/AlaKazaam | ffd84c8afcb3aca40eac45c4c98faa547822e0fb | [
"MIT"
] | 5 | 2018-04-10T13:13:59.000Z | 2019-05-12T17:07:37.000Z | superpeer/LocalData.py | marcorambaldi/AlaKazaam | ffd84c8afcb3aca40eac45c4c98faa547822e0fb | [
"MIT"
] | 2 | 2018-04-14T13:04:27.000Z | 2018-04-17T09:03:58.000Z | superpeer/LocalData.py | marcorambaldi/AlaKazaam | ffd84c8afcb3aca40eac45c4c98faa547822e0fb | [
"MIT"
] | 1 | 2019-03-01T13:28:51.000Z | 2019-03-01T13:28:51.000Z | #!/usr/bin/env python
import re
class LocalData:
""" Data class containing data structures and methods to interact with them """
# ('ipv4', 'ipv6', 'port')
super_friends = list()
# {'pktid' : (ip, port)}
received_packets = dict()
# 'pktid'
sent_supe_packet = str()
# 'pktid'
sent_menu_quer_packet = str()... | 29.395604 | 114 | 0.662804 | 1,117 | 8,025 | 4.459266 | 0.083259 | 0.140534 | 0.098976 | 0.04216 | 0.696447 | 0.495081 | 0.361574 | 0.288898 | 0.219434 | 0.183297 | 0 | 0.01438 | 0.133458 | 8,025 | 272 | 115 | 29.503676 | 0.701898 | 0.153022 | 0 | 0.362162 | 0 | 0 | 0.000148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.005405 | 0.167568 | 0.540541 | 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 |
34213d4a49d584afc7dd7bc836c55645b4e2dc55 | 398 | py | Python | CombinedLinearCongruentialGenerators/generate.py | SUT-Courses/SimulationMiniTool | 56e050e887d2b2c7f24921300059a6d925dfd9dc | [
"MIT"
] | null | null | null | CombinedLinearCongruentialGenerators/generate.py | SUT-Courses/SimulationMiniTool | 56e050e887d2b2c7f24921300059a6d925dfd9dc | [
"MIT"
] | null | null | null | CombinedLinearCongruentialGenerators/generate.py | SUT-Courses/SimulationMiniTool | 56e050e887d2b2c7f24921300059a6d925dfd9dc | [
"MIT"
] | null | null | null | def combined_linear_cong(n=10000):
r = [0.0] * n
m1 = 2147483563
a1 = 40014
y1 = 1
m2 = 2147483399
a2 = 40692
y2 = 1
for i in range(n):
y1 = a1 * y1 % m1
y2 = a2 * y2 % m2
x = (y1 - y2) % (m1 - 1)
if x > 0:
r[i] = (x / m1)
else:
... | 14.214286 | 34 | 0.414573 | 59 | 398 | 2.728814 | 0.474576 | 0.173913 | 0.223602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.454774 | 398 | 27 | 35 | 14.740741 | 0.456221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0.055556 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
342f32ed64550a8da4a8ef5f7800093077e54557 | 1,569 | py | Python | tests/lib/scaling_test.py | Crossing-Minds/xminds-python | 8ee345e3a9ec41016c6a866e1af5eb13f7ff4f1f | [
"MIT"
] | 4 | 2020-10-27T00:11:52.000Z | 2022-01-17T21:15:25.000Z | tests/lib/scaling_test.py | Crossing-Minds/xminds-python | 8ee345e3a9ec41016c6a866e1af5eb13f7ff4f1f | [
"MIT"
] | null | null | null | tests/lib/scaling_test.py | Crossing-Minds/xminds-python | 8ee345e3a9ec41016c6a866e1af5eb13f7ff4f1f | [
"MIT"
] | null | null | null | import unittest
import numpy
from xminds.ds.scaling import linearscaling
class LinearToolsTestCase(unittest.TestCase):
def test_linearscaling_scalar(self):
assert numpy.isclose(linearscaling(0, 0, 10, 0, 1), 0)
assert numpy.isclose(linearscaling(1, 0, 10, 0, 1), 10)
assert numpy.isclose(... | 41.289474 | 83 | 0.555131 | 213 | 1,569 | 4.042254 | 0.159624 | 0.166086 | 0.188153 | 0.324042 | 0.595819 | 0.557491 | 0.518002 | 0.469222 | 0.469222 | 0.29849 | 0 | 0.111309 | 0.284257 | 1,569 | 37 | 84 | 42.405405 | 0.655387 | 0 | 0 | 0.129032 | 0 | 0 | 0.004461 | 0 | 0 | 0 | 0 | 0 | 0.419355 | 1 | 0.096774 | false | 0 | 0.096774 | 0 | 0.225806 | 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 |
3437ac01cfd94d44391f51d8c11604eb9e8f9c2a | 893 | py | Python | cpc/asm/DirectMemoryReference.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/asm/DirectMemoryReference.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/asm/DirectMemoryReference.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from .MemoryReference import MemoryReference
from .SymbolTable import SymbolTable
class DirectMemoryReference(MemoryReference):
def __init__(self,val):
self._value = val
def value(self):
return self._value
def collect_statistics(self,stats):
self._value.collect_statistics(stats)
... | 26.264706 | 67 | 0.653975 | 100 | 893 | 5.64 | 0.33 | 0.095745 | 0.079787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001488 | 0.24748 | 893 | 33 | 68 | 27.060606 | 0.837798 | 0 | 0 | 0 | 0 | 0 | 0.06271 | 0.06047 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.083333 | 0.208333 | 0.791667 | 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 |
343c95622efc40d3730894f1a187c4d8b7598c6c | 11,723 | py | Python | IRIS_data_download/IRIS_download_support/obspy/signal/tests/test_filter.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-03-05T01:03:01.000Z | 2020-12-17T05:04:07.000Z | IRIS_data_download/IRIS_download_support/obspy/signal/tests/test_filter.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 4 | 2021-03-31T19:25:55.000Z | 2021-12-13T20:32:46.000Z | IRIS_data_download/IRIS_download_support/obspy/signal/tests/test_filter.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-09-08T19:33:40.000Z | 2021-04-05T09:47:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
The Filter test suite.
"""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from future.builtins import * # NOQA
import gzip
import os
import unittest
import warnings
import numpy as np
import scipy.signal a... | 40.285223 | 79 | 0.579459 | 1,508 | 11,723 | 4.42374 | 0.161141 | 0.028332 | 0.022485 | 0.029381 | 0.747414 | 0.705741 | 0.6921 | 0.6921 | 0.663019 | 0.663019 | 0 | 0.040707 | 0.333618 | 11,723 | 290 | 80 | 40.424138 | 0.813236 | 0.3047 | 0 | 0.528302 | 0 | 0 | 0.051731 | 0.024747 | 0 | 0 | 0 | 0 | 0.08805 | 1 | 0.069182 | false | 0.176101 | 0.062893 | 0.006289 | 0.144654 | 0.006289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
344045b6f807beeee5b6164c6e47ca93c4b6f0be | 837 | py | Python | r2cloud/auth.py | Lukas0025/r2cloud-python-sdk | 22539b7cff4d7e09b5cc1291add677a9ebacf6da | [
"Apache-2.0"
] | null | null | null | r2cloud/auth.py | Lukas0025/r2cloud-python-sdk | 22539b7cff4d7e09b5cc1291add677a9ebacf6da | [
"Apache-2.0"
] | null | null | null | r2cloud/auth.py | Lukas0025/r2cloud-python-sdk | 22539b7cff4d7e09b5cc1291add677a9ebacf6da | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
## tle file for r2cloud SDK
# @author Lukáš Plevač <lukasplevac@gmail.com>
# @date 9.9.2020
import time
class auth:
## init function
# @param object self - instance of class
# @param dict auth_dict - dict of auth
def __init__(self, auth_dict):
sel... | 28.862069 | 70 | 0.602151 | 106 | 837 | 4.584906 | 0.45283 | 0.082305 | 0.053498 | 0.078189 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015177 | 0.291517 | 837 | 29 | 71 | 28.862069 | 0.804384 | 0.409797 | 0 | 0 | 0 | 0 | 0.096234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.166667 | 0.583333 | 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 |
345e922f08611898b3ac561b10e1e4d11726e99b | 386 | py | Python | mips-rt/native_lib/gen_isr_table.py | MikuroXina/pic32mx470-rs-hello-world | 28ef92a33db13345ce40f2a31089023f082e10bd | [
"MIT"
] | 1 | 2020-03-04T21:02:32.000Z | 2020-03-04T21:02:32.000Z | mips-rt/native_lib/gen_isr_table.py | MikuroXina/pic32mx470-rs-hello-world | 28ef92a33db13345ce40f2a31089023f082e10bd | [
"MIT"
] | null | null | null | mips-rt/native_lib/gen_isr_table.py | MikuroXina/pic32mx470-rs-hello-world | 28ef92a33db13345ce40f2a31089023f082e10bd | [
"MIT"
] | 2 | 2020-03-04T21:02:45.000Z | 2020-07-11T16:58:31.000Z | #!/usr/bin/python3
#
# generate ISR table
#
vect_fmt = '''\
# vector {0}
.weak _vector_{0}_fn, _vector_{0}_j
_vector_{0}_fn = _default_isr_fn
_vector_{0}_context = _isr_context
.section .vector_{0}, "ax"
.ent _vector_{0}
_vector_{0}:
la k0,_vector_{0}_fn
j _vector_{0}_context
nop
.end _vect... | 16.782609 | 35 | 0.642487 | 61 | 386 | 3.540984 | 0.47541 | 0.356481 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05178 | 0.199482 | 386 | 22 | 36 | 17.545455 | 0.647249 | 0.093264 | 0 | 0 | 1 | 0 | 0.774566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34674ac68d2e81a558c7f01008b5526756544441 | 3,467 | py | Python | py/faint/image.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 10 | 2016-12-28T22:06:31.000Z | 2021-05-24T13:42:30.000Z | py/faint/image.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | 4 | 2015-10-09T23:55:10.000Z | 2020-04-04T08:09:22.000Z | py/faint/image.py | lukas-ke/faint-graphics-editor | 33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf | [
"Apache-2.0"
] | null | null | null | import ifaint
class FakeGrid:
anchor = 0, 0
color = 255, 255, 255
dashed = False
enabled = False
spacing = 40
class Pimage:
"""Experimental Image implementation in Python.
If this works out, I'll rename it as Image, and remove the
C++-implementation py-image.cpp.
"... | 23.268456 | 63 | 0.564177 | 436 | 3,467 | 4.350917 | 0.224771 | 0.075382 | 0.047443 | 0.075909 | 0.383764 | 0.268846 | 0.204533 | 0.204533 | 0.079072 | 0.042172 | 0 | 0.013333 | 0.329391 | 3,467 | 148 | 64 | 23.425676 | 0.802581 | 0.083646 | 0 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0 | 1 | 0.306931 | false | 0.009901 | 0.009901 | 0.118812 | 0.653465 | 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 |
cab6c8d8ca6e59ca96641958c8f303e7d2e0cead | 434 | py | Python | backend_sqlalchemy/backend_app/resources/stats.py | jiz148/medical_app | 2f8b3f299ff6a87e62ac7483b6d2bac156a08874 | [
"MIT"
] | null | null | null | backend_sqlalchemy/backend_app/resources/stats.py | jiz148/medical_app | 2f8b3f299ff6a87e62ac7483b6d2bac156a08874 | [
"MIT"
] | null | null | null | backend_sqlalchemy/backend_app/resources/stats.py | jiz148/medical_app | 2f8b3f299ff6a87e62ac7483b6d2bac156a08874 | [
"MIT"
] | null | null | null | from backend_sqlalchemy.backend_app.models.diseases import DiseasesModel
from backend_sqlalchemy.backend_app.db import db
from backend_sqlalchemy.backend_app.models.stats import StatsModel
def get_stats():
"""
Get stats
"""
all_stats = db.session.query(StatsModel.DID, StatsModel.FID, StatsModel.Sen)
... | 24.111111 | 80 | 0.728111 | 60 | 434 | 5.066667 | 0.4 | 0.108553 | 0.207237 | 0.276316 | 0.345395 | 0.243421 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175115 | 434 | 17 | 81 | 25.529412 | 0.849162 | 0.020737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0.111111 | 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 |
1b11dd7f020db59bea173f520097d51262b0c2fe | 66 | py | Python | Problems/A complex expression/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | Problems/A complex expression/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | Problems/A complex expression/task.py | gabrielizalo/jetbrains-academy-zookeeper | 467b43da3cb81f82987daf6b063eb2078d476d4f | [
"MIT"
] | null | null | null | n = int(input())
new_n = ((((n * 2) * n) - n) // n)
print(new_n)
| 13.2 | 34 | 0.439394 | 13 | 66 | 2.076923 | 0.461538 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.242424 | 66 | 4 | 35 | 16.5 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
1b61c820e0f0f7acfbc1fcc581af507b2141814b | 421 | py | Python | reverse.py | Estheryu991/CodinGamez | e653a891792278d7d6961194aa831cf447d3aba7 | [
"MIT"
] | null | null | null | reverse.py | Estheryu991/CodinGamez | e653a891792278d7d6961194aa831cf447d3aba7 | [
"MIT"
] | null | null | null | reverse.py | Estheryu991/CodinGamez | e653a891792278d7d6961194aa831cf447d3aba7 | [
"MIT"
] | null | null | null | # The game mode is REVERSE: You do not have access to the statement. You have to guess what to do by observing the following set of tests:
# 01 Test 1
# Input
# Expected output
# +-+--+-+++--+
# 1
# 02 Test 2
# Input
# Expected output
# +++++++---
# 4
# 03 Test 3
# Input
# Expected output
# -+-+-+-+-+-+
# 0
# 04 Test 4... | 16.84 | 138 | 0.567696 | 62 | 421 | 3.854839 | 0.596774 | 0.217573 | 0.317992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050595 | 0.2019 | 421 | 24 | 139 | 17.541667 | 0.660714 | 0.788599 | 0 | 0 | 0 | 0 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
1b667310870a44c3110e0f14c6b16c80d33dbbc0 | 640 | py | Python | routeutils/Utils/utils.py | techlabklabin/route-utils | 4c34eb955e8a06b6fe4177803e8ea87ea76e6318 | [
"MIT"
] | null | null | null | routeutils/Utils/utils.py | techlabklabin/route-utils | 4c34eb955e8a06b6fe4177803e8ea87ea76e6318 | [
"MIT"
] | null | null | null | routeutils/Utils/utils.py | techlabklabin/route-utils | 4c34eb955e8a06b6fe4177803e8ea87ea76e6318 | [
"MIT"
] | null | null | null | import geopy.distance
from math import degrees
import numpy as np
def makeNewPoint(geoJsonPoint):
return (geoJsonPoint[1], geoJsonPoint[0])
def makeVector(pointA, pointB):
return [pointB[0] - pointA[0], pointB[1] - pointA[1]]
def distanceMeteres(point1, point2):
return geopy.distance.geodesic(point1, poi... | 29.090909 | 60 | 0.734375 | 84 | 640 | 5.47619 | 0.440476 | 0.086957 | 0.047826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044693 | 0.160938 | 640 | 21 | 61 | 30.47619 | 0.811918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.1875 | 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 |
1b68b03021b7cfc25678f107534b55b999e11055 | 657 | py | Python | ansible_self_service/l3_services/app.py | ansible-self-service/ansible-self-service | 80840f02b68c6ba5fe6c55ab9a317b310c185b4d | [
"MIT"
] | null | null | null | ansible_self_service/l3_services/app.py | ansible-self-service/ansible-self-service | 80840f02b68c6ba5fe6c55ab9a317b310c185b4d | [
"MIT"
] | null | null | null | ansible_self_service/l3_services/app.py | ansible-self-service/ansible-self-service | 80840f02b68c6ba5fe6c55ab9a317b310c185b4d | [
"MIT"
] | null | null | null | from typing import List
from ansible_self_service.l3_services.dto import AppCollection, App
from ansible_self_service.l4_core.models import AppCatalog
class AppService:
"""Provide an interface to app related features."""
def __init__(self, app_catalog: AppCatalog):
self._app_catalog = app_catalog
... | 38.647059 | 110 | 0.765601 | 90 | 657 | 5.255556 | 0.433333 | 0.059197 | 0.088795 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003604 | 0.155251 | 657 | 16 | 111 | 41.0625 | 0.848649 | 0.129376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1b96072783b482fa73746dbf9752bb1b1b75453f | 197 | py | Python | ProjectsWithKivy/Projects with Kivy/1. Kivy Layouts/6. PageLayout/pagelayout.py | markgacoka/micro-projects | e8115c8270a115282e7dfda6e24620b3333f8c6b | [
"MIT"
] | null | null | null | ProjectsWithKivy/Projects with Kivy/1. Kivy Layouts/6. PageLayout/pagelayout.py | markgacoka/micro-projects | e8115c8270a115282e7dfda6e24620b3333f8c6b | [
"MIT"
] | null | null | null | ProjectsWithKivy/Projects with Kivy/1. Kivy Layouts/6. PageLayout/pagelayout.py | markgacoka/micro-projects | e8115c8270a115282e7dfda6e24620b3333f8c6b | [
"MIT"
] | null | null | null | import kivy
from kivy.app import App
from kivy.uix.pagelayout import PageLayout
class PageLayoutApp(App):
def build(self):
return PageLayout()
if __name__ == '__main__':
PageLayoutApp().run() | 19.7 | 42 | 0.761421 | 26 | 197 | 5.461538 | 0.615385 | 0.112676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13198 | 197 | 10 | 43 | 19.7 | 0.830409 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
1b9679ab1f843bbdf20a721c6df2300c3a1bbd49 | 5,988 | py | Python | vscvs/cli/train/optimizers.py | fcoclavero/vscvs | 27fab0bc62fb68da044cf6f2516e3c1853f77533 | [
"MIT"
] | 1 | 2019-07-02T19:07:15.000Z | 2019-07-02T19:07:15.000Z | vscvs/cli/train/optimizers.py | fcoclavero/vscvs | 27fab0bc62fb68da044cf6f2516e3c1853f77533 | [
"MIT"
] | 2 | 2019-10-23T18:05:37.000Z | 2020-09-25T14:16:25.000Z | vscvs/cli/train/optimizers.py | fcoclavero/vscvs | 27fab0bc62fb68da044cf6f2516e3c1853f77533 | [
"MIT"
] | null | null | null | __author__ = ["Francisco Clavero"]
__description__ = "Click groups for different optimizers."
__email__ = ["fcoclavero32@gmail.com"]
__status__ = "Prototype"
import click
from vscvs.cli.decorators import pass_kwargs_to_context
from vscvs.trainers.mixins import (
AdaBoundOptimizerMixin,
AdamOptimizerMixin,
... | 25.699571 | 94 | 0.665832 | 721 | 5,988 | 5.443828 | 0.166436 | 0.086879 | 0.016051 | 0.029045 | 0.767898 | 0.737325 | 0.729936 | 0.695032 | 0.642803 | 0.642803 | 0 | 0.017115 | 0.180361 | 5,988 | 232 | 95 | 25.810345 | 0.7826 | 0.056279 | 0 | 0.641148 | 0 | 0 | 0.398684 | 0.00765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023923 | false | 0.028708 | 0.014354 | 0 | 0.038278 | 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 |
1babd018b5acfa8405f4fb134a0f5ed8ad34f2f2 | 49 | py | Python | custom_token.py | Great-Li-Xin/dumb-chatbot | fdf237d7e0c493eb69cbe712b50158f221ccaf0c | [
"MIT"
] | 222 | 2018-01-31T02:06:18.000Z | 2020-12-09T08:08:02.000Z | custom_token.py | kevinmel2000/dumb-chatbot | f9ec825997ee45863bb301a9355532bfb09a7cb9 | [
"MIT"
] | 1 | 2022-03-15T05:42:01.000Z | 2022-03-15T05:42:01.000Z | custom_token.py | realJustinLee/dumb-chatbot | 1c67aa3d92913360564b746758820bee310bc06f | [
"MIT"
] | 20 | 2018-04-05T18:10:00.000Z | 2020-07-31T09:40:14.000Z | # TOKEN
PAD_token = 0
GO_token = 1
EOS_token = 2
| 9.8 | 13 | 0.693878 | 10 | 49 | 3.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.22449 | 49 | 4 | 14 | 12.25 | 0.736842 | 0.102041 | 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 |
1bc2a0247712998d72a20f9bf18750c0caf78715 | 247 | py | Python | S18/hw2/homework2part2.py | stanleylio/OCN318 | 98f0329ea38ddd4ed2966f8f845a0bb29e71b923 | [
"MIT"
] | 1 | 2018-03-05T23:33:59.000Z | 2018-03-05T23:33:59.000Z | S18/hw2/homework2part2.py | stanleylio/OCN318 | 98f0329ea38ddd4ed2966f8f845a0bb29e71b923 | [
"MIT"
] | null | null | null | S18/hw2/homework2part2.py | stanleylio/OCN318 | 98f0329ea38ddd4ed2966f8f845a0bb29e71b923 | [
"MIT"
] | null | null | null | # The goal: Extract the first four columns from serial_log.txt and place them in output1.csv
#
# Hint: to join a list of strings into one string, use the .join() function:
# ','.join(['256', '24.525', '103.70'])
# yields
# '256,24.525,103.70'
| 35.285714 | 92 | 0.668016 | 43 | 247 | 3.813953 | 0.790698 | 0.060976 | 0.097561 | 0.134146 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0.174089 | 247 | 6 | 93 | 41.166667 | 0.671569 | 0.947368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
59f5db8231e7b5f35e36a4f3a192c0a0e3556e9c | 252 | py | Python | app/__init__.py | ethpch/api.ethpch | af56354a7e8f5304a5c86dd752577da376f1f1ce | [
"MIT"
] | 2 | 2021-09-23T14:43:10.000Z | 2021-09-26T12:01:11.000Z | app/__init__.py | ethpch/api.ethpch | af56354a7e8f5304a5c86dd752577da376f1f1ce | [
"MIT"
] | null | null | null | app/__init__.py | ethpch/api.ethpch | af56354a7e8f5304a5c86dd752577da376f1f1ce | [
"MIT"
] | null | null | null | from .base import APP
from utils.config import apps
if 'pixiv' in apps:
from .pixiv import pixiv_router
APP.include_router(pixiv_router)
if 'shorturl' in apps:
from .shorturl import shorturl_router
APP.include_router(shorturl_router)
| 22.909091 | 41 | 0.761905 | 37 | 252 | 5.027027 | 0.351351 | 0.064516 | 0.107527 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 252 | 10 | 42 | 25.2 | 0.894231 | 0 | 0 | 0 | 0 | 0 | 0.051587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 |
94138d3730f1e927ee57027157b082e4aa899444 | 85 | py | Python | djadmin/ngapp/apps.py | gnud/django-angular-lte-admin | b4bed527aa25184e17deb31eb5987b209dfd9253 | [
"MIT"
] | 3 | 2019-03-07T06:11:05.000Z | 2019-05-24T13:53:17.000Z | djadmin/ngapp/apps.py | gnud/damjan-dimitrioski.com | 6c9cb215ec0878eeb1ed5e1359bb1bd07f774476 | [
"MIT"
] | 3 | 2017-03-14T19:02:17.000Z | 2017-03-17T16:24:33.000Z | djadmin/ngapp/apps.py | gnud/damjan-dimitrioski.com | 6c9cb215ec0878eeb1ed5e1359bb1bd07f774476 | [
"MIT"
] | 3 | 2019-01-21T22:39:04.000Z | 2019-11-21T22:18:07.000Z | from django.apps import AppConfig
class NgappConfig(AppConfig):
name = 'ngapp'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 |
941e79630ab05ab4af582a022af0f3d07f154519 | 91 | py | Python | atcoder/AtCoder_Beginner_Contest_144/9x9.py | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | atcoder/AtCoder_Beginner_Contest_144/9x9.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | atcoder/AtCoder_Beginner_Contest_144/9x9.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | a, b = map(int, input().split())
if a >= 10 or b >= 10:
print(-1)
else:
print(a*b)
| 15.166667 | 32 | 0.494505 | 18 | 91 | 2.5 | 0.666667 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.263736 | 91 | 5 | 33 | 18.2 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
942d0bcdfeaa1163d62e0939cf24c2b534c1fc62 | 215 | py | Python | problems/0003/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0003/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0003/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | from euler.primes import smallest_prime_factor
def compute(n: int) -> int:
while True:
prime = smallest_prime_factor(n)
if prime < n:
n //= prime
else:
return n
| 19.545455 | 46 | 0.55814 | 27 | 215 | 4.296296 | 0.592593 | 0.224138 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362791 | 215 | 10 | 47 | 21.5 | 0.846715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 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 |
94430051a0be192eb8095277d402c71833104df1 | 104 | py | Python | uvcoverage-plot.py | haricash/bayesian-ionized-bubbles | c0de5d8ff66f797c72f119b1bc9b11ff8cc63ee6 | [
"MIT"
] | null | null | null | uvcoverage-plot.py | haricash/bayesian-ionized-bubbles | c0de5d8ff66f797c72f119b1bc9b11ff8cc63ee6 | [
"MIT"
] | null | null | null | uvcoverage-plot.py | haricash/bayesian-ionized-bubbles | c0de5d8ff66f797c72f119b1bc9b11ff8cc63ee6 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
data = np.load("uv-coverage.npy")
print(data.shape) | 17.333333 | 33 | 0.759615 | 18 | 104 | 4.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 6 | 34 | 17.333333 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
944bb4c301ced596aa5db3a3e40634312604d90b | 1,233 | py | Python | 6_CommandPattern/Invoker.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 6_CommandPattern/Invoker.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | 6_CommandPattern/Invoker.py | gama79530/DesignPattern | 707e20a1e379d59b6b41a5fe389935c8caa4b1b1 | [
"MIT"
] | null | null | null | import Command
class RemoteControlWithUndo :
def __init__(self) :
no_command = Command.NoCommand()
self.on_commands = [no_command, no_command, no_command, no_command, no_command, no_command, no_command]
self.off_commands = [no_command, no_command, no_command, no_command, no_command, no_comm... | 39.774194 | 142 | 0.664234 | 154 | 1,233 | 4.876623 | 0.207792 | 0.191744 | 0.276964 | 0.287617 | 0.379494 | 0.346205 | 0.346205 | 0.346205 | 0.346205 | 0.346205 | 0 | 0 | 0.208435 | 1,233 | 30 | 143 | 41.1 | 0.769467 | 0 | 0 | 0.083333 | 0 | 0 | 0.051906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.041667 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84832d14bd00eb58e3c0522651cfb1e530dade7e | 244 | py | Python | output/models/nist_data/list_pkg/language/schema_instance/nistschema_sv_iv_list_language_length_4_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/language/schema_instance/nistschema_sv_iv_list_language_length_4_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/language/schema_instance/nistschema_sv_iv_list_language_length_4_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.list_pkg.language.schema_instance.nistschema_sv_iv_list_language_length_4_xsd.nistschema_sv_iv_list_language_length_4 import NistschemaSvIvListLanguageLength4
__all__ = [
"NistschemaSvIvListLanguageLength4",
]
| 40.666667 | 187 | 0.889344 | 29 | 244 | 6.793103 | 0.655172 | 0.121827 | 0.142132 | 0.182741 | 0.335025 | 0.335025 | 0.335025 | 0 | 0 | 0 | 0 | 0.017391 | 0.057377 | 244 | 5 | 188 | 48.8 | 0.83913 | 0 | 0 | 0 | 0 | 0 | 0.135246 | 0.135246 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
84a6b1e5ab5cd7f82f9bd61960155e59f8a3cb0c | 464 | py | Python | scrappers/plugins/aljazeera/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | 2 | 2016-01-10T08:45:29.000Z | 2019-10-25T06:53:39.000Z | scrappers/plugins/aljazeera/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | 3 | 2016-01-07T15:43:40.000Z | 2016-01-09T14:44:08.000Z | scrappers/plugins/aljazeera/__init__.py | nathanIL/openews | 17f07de528342944f26855192db8019a0dbcc3a0 | [
"Apache-2.0"
] | null | null | null | import scrappers
import scrappers.mixins
class ALJazeera(scrappers.mixins.RSSScrapper, scrappers.Scrapper):
"""AL Jazeera RSS feed scrapper.
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def should_translate(self):
return False
def encoding(self):
... | 23.2 | 92 | 0.644397 | 55 | 464 | 5.254545 | 0.618182 | 0.103806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002725 | 0.209052 | 464 | 19 | 93 | 24.421053 | 0.784741 | 0.0625 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.272727 | 0.909091 | 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 |
84ab6622c15775e0c314c7eb24ce994a183ded45 | 151 | py | Python | config_example.py | retdop/chess_weaknesses | c954557777a213a07a3564fef27263d81a20e0a3 | [
"MIT"
] | 1 | 2020-03-25T14:02:25.000Z | 2020-03-25T14:02:25.000Z | config_example.py | retdop/chess_weaknesses | c954557777a213a07a3564fef27263d81a20e0a3 | [
"MIT"
] | 1 | 2020-04-04T14:02:39.000Z | 2020-04-04T14:02:39.000Z | config_example.py | retdop/chess_weaknesses | c954557777a213a07a3564fef27263d81a20e0a3 | [
"MIT"
] | 1 | 2020-04-02T09:44:58.000Z | 2020-04-02T09:44:58.000Z | ENGINE_PATH = './stockfish-11-linux/src/stockfish'
GAMES_FILENAME = 'lichess_username_2019-12-31.pgn'
DEFAULT_GAMES_ANALYSES_FILENAME = 'scores.pkl'
| 25.166667 | 50 | 0.801325 | 21 | 151 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.072848 | 151 | 5 | 51 | 30.2 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.496689 | 0.430464 | 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 |
84c95a79b4a208b7a4541951452956d90d7692cd | 472 | py | Python | tools/segtree/segtree_node.py | NekohimeMusou/advent-of-code | a1215336a24713e63f77018f379ff90675afdd0d | [
"MIT"
] | null | null | null | tools/segtree/segtree_node.py | NekohimeMusou/advent-of-code | a1215336a24713e63f77018f379ff90675afdd0d | [
"MIT"
] | null | null | null | tools/segtree/segtree_node.py | NekohimeMusou/advent-of-code | a1215336a24713e63f77018f379ff90675afdd0d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class SegmentTreeNode(ABC):
@classmethod
@abstractmethod
def create_leaf(cls, start, end, value):
pass
@classmethod
@abstractmethod
def merge(cls, start, end, left, right):
pass
@property
@abstractmethod
def score(self):
... | 18.88 | 49 | 0.663136 | 47 | 472 | 6.638298 | 0.574468 | 0.217949 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 472 | 24 | 50 | 19.666667 | 0.896552 | 0.059322 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.055556 | 0 | 0.388889 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
84cb2cabfe9208f760a24e58bd6dd1d371426e23 | 502 | py | Python | apps/catalog/migrations/0002_auto_20210811_0837.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | null | null | null | apps/catalog/migrations/0002_auto_20210811_0837.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 5 | 2021-06-09T17:54:51.000Z | 2022-03-12T00:46:49.000Z | apps/catalog/migrations/0002_auto_20210811_0837.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 1 | 2020-09-27T18:26:15.000Z | 2020-09-27T18:26:15.000Z | # Generated by Django 3.2.6 on 2021-08-11 11:37
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catalog', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='cat',
old_name='liked_gifs',
new... | 20.916667 | 47 | 0.553785 | 52 | 502 | 5.134615 | 0.615385 | 0.157303 | 0.194757 | 0.224719 | 0.299625 | 0.299625 | 0.299625 | 0 | 0 | 0 | 0 | 0.056716 | 0.332669 | 502 | 23 | 48 | 21.826087 | 0.740299 | 0.089641 | 0 | 0.352941 | 1 | 0 | 0.147253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 |
84cd56fca980259077c65ad0249f033a1888e7ce | 1,404 | py | Python | application/model/entity/video.py | UniversidadeDeVassouras/labproghiper-2020.1-MatheusTelles-p1 | d0d81fc82d031f7add9e38add765aad0c404ee35 | [
"Apache-2.0"
] | 1 | 2020-07-15T14:23:30.000Z | 2020-07-15T14:23:30.000Z | application/model/entity/video.py | UniversidadeDeVassouras/labproghiper-2020.1-MatheusTelles-p1 | d0d81fc82d031f7add9e38add765aad0c404ee35 | [
"Apache-2.0"
] | null | null | null | application/model/entity/video.py | UniversidadeDeVassouras/labproghiper-2020.1-MatheusTelles-p1 | d0d81fc82d031f7add9e38add765aad0c404ee35 | [
"Apache-2.0"
] | null | null | null | class Video:
def __init__(self, id, title, description, thumb, url_video, category_id, date):
self._id = id
self._title = title
self._description = description
self._thumb = thumb
self._url_video = url_video
self._category_id = category_id
self._likes = 0
... | 20.647059 | 84 | 0.611111 | 167 | 1,404 | 4.850299 | 0.197605 | 0.111111 | 0.155556 | 0.037037 | 0.108642 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00206 | 0.308405 | 1,404 | 68 | 85 | 20.647059 | 0.832132 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.622222 | 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 |
ca03ea5c45820906810f2328be060ad7a4688584 | 6,011 | py | Python | patron/aem/op_map/neutron_op_map.py | casbin/openstack-patron | b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25 | [
"Apache-2.0"
] | null | null | null | patron/aem/op_map/neutron_op_map.py | casbin/openstack-patron | b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25 | [
"Apache-2.0"
] | null | null | null | patron/aem/op_map/neutron_op_map.py | casbin/openstack-patron | b41b1262f3a52c8cc9f6b6bdf87be5a1abcf6d25 | [
"Apache-2.0"
] | null | null | null |
# op map for neutron.
op_map = \
{(9696, '/v2.0', '/agents', 'GET', ''): (),
(9696, '/v2.0', '/agents/%UUID%', 'GET', ''): ('get_agent',),
(9696, '/v2.0', '/agents/%UUID%', 'PUT', ''): ('update_agent',),
(9696, '/v2.0', '/agents/%UUID%/dhcp-networks', 'GET', ''): ('get_dhcp-networks',),
(9696, '/v2.0', '/agents/%U... | 63.273684 | 100 | 0.497255 | 701 | 6,011 | 4.171184 | 0.101284 | 0.182627 | 0.213064 | 0.164159 | 0.745212 | 0.440834 | 0.25342 | 0.138167 | 0.069767 | 0.058824 | 0 | 0.104107 | 0.129097 | 6,011 | 94 | 101 | 63.946809 | 0.454441 | 0.003161 | 0 | 0 | 0 | 0 | 0.527133 | 0.226582 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca13f5a2b7e69e8ead8b3416408fe4c4517f3578 | 167 | py | Python | 7KYU/get_even_numbers.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/get_even_numbers.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/get_even_numbers.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | from typing import List
def get_even_numbers(arr: List[int]) -> List[int]:
if len(arr) < 1:
return []
return list(filter(lambda i: not(i % 2), arr))
| 20.875 | 50 | 0.610778 | 27 | 167 | 3.703704 | 0.703704 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.239521 | 167 | 7 | 51 | 23.857143 | 0.771654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ca4c4257326dffb482bf77d2d863e1a9fe99032c | 137 | py | Python | proj/pushes/urls.py | TakesxiSximada/adminsite-collection | 02fc51c0b0d5b81f1c6829f86f2b144fcdaf0d7e | [
"Apache-2.0"
] | null | null | null | proj/pushes/urls.py | TakesxiSximada/adminsite-collection | 02fc51c0b0d5b81f1c6829f86f2b144fcdaf0d7e | [
"Apache-2.0"
] | 1 | 2016-07-27T13:11:33.000Z | 2016-07-27T13:11:33.000Z | proj/pushes/urls.py | TakesxiSximada/adminsite-collection | 02fc51c0b0d5b81f1c6829f86f2b144fcdaf0d7e | [
"Apache-2.0"
] | null | null | null | from rest_framework import routers
from . import views
router = routers.DefaultRouter()
router.register(r'pushes', views.PushViewSet)
| 17.125 | 45 | 0.79562 | 17 | 137 | 6.352941 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 7 | 46 | 19.571429 | 0.892562 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 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 |
ca6e127b34486b1fde939d71dcd9e8af2f3a4daa | 322 | py | Python | xmlrpc/client.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | null | null | null | xmlrpc/client.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | 2 | 2015-08-06T14:08:39.000Z | 2015-09-29T09:47:26.000Z | xmlrpc/client.py | davidvoler/ate_meteor | d7ac20638a30e941e0ca8740499743bc26dd57be | [
"MIT"
] | null | null | null | __author__ = 'avraham'
from xmlrpclib import ServerProxy
port = 9876
class Client(ServerProxy):
def __init__(self, ip='127.0.0.1'):
ServerProxy.__init__(self, ('http://{}:{}'.format(ip, port)))
def get_methods(self):
return [x for x in self.system.listMethods() if not x.startswith('sys')... | 24.769231 | 84 | 0.652174 | 43 | 322 | 4.581395 | 0.72093 | 0.081218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038314 | 0.189441 | 322 | 12 | 85 | 26.833333 | 0.716475 | 0 | 0 | 0 | 0 | 0 | 0.096273 | 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 |
ca75cca3856c88a531bc1aaa1c544157626687b1 | 3,748 | py | Python | test/test_bitcoin.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2018-08-21T06:28:36.000Z | 2018-08-21T06:28:36.000Z | test/test_bitcoin.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2019-05-30T06:23:41.000Z | 2019-09-03T09:49:06.000Z | test/test_bitcoin.py | coinplus-sa/coinplus-solo | e4f385a3d9eb7b72e14e397761fd9a113938917a | [
"MIT"
] | 1 | 2021-06-30T12:36:25.000Z | 2021-06-30T12:36:25.000Z | import unittest
from coinplus_solo_redeem.common import wif_export_bitcoin, compute_public_key_sec256k1, address_from_publickey_bitcoin
class TestBitcoin(unittest.TestCase):
"""test of the bitcoin conversion from private key to wif"""
def setUp(self):
self.test_vector = [("28cb1bccdc33f93c94b73360cef14... | 96.102564 | 153 | 0.743863 | 141 | 3,748 | 19.539007 | 0.560284 | 0.011615 | 0.011615 | 0.019601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318348 | 0.198773 | 3,748 | 38 | 154 | 98.631579 | 0.599068 | 0.014408 | 0 | 0 | 0 | 0 | 0.585683 | 0.585683 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.181818 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca99a6d0c24e8be79c8b7ceda99e07215c385c4b | 145 | py | Python | discovery/__init__.py | amenezes/discovery-client | 9c41456d1cc14f4aab34628ad4e13423e00bc4be | [
"Apache-2.0"
] | 2 | 2019-07-18T22:43:49.000Z | 2020-03-09T03:27:41.000Z | discovery/__init__.py | amenezes/discovery-client | 9c41456d1cc14f4aab34628ad4e13423e00bc4be | [
"Apache-2.0"
] | 20 | 2019-02-27T19:08:03.000Z | 2021-06-22T16:47:32.000Z | discovery/__init__.py | amenezes/discovery-client | 9c41456d1cc14f4aab34628ad4e13423e00bc4be | [
"Apache-2.0"
] | null | null | null | import logging
from discovery.__version__ import __version__
log = logging.getLogger("discovery-client")
log.addHandler(logging.NullHandler())
| 20.714286 | 45 | 0.82069 | 16 | 145 | 6.9375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 6 | 46 | 24.166667 | 0.834586 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 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 |
049436623453edf52badd7f36958c3fdba39f850 | 87 | py | Python | django_gotolong/fratio/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 15 | 2019-12-06T16:19:45.000Z | 2021-08-20T13:22:22.000Z | django_gotolong/fratio/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 14 | 2020-12-08T10:45:05.000Z | 2021-09-21T17:23:45.000Z | django_gotolong/fratio/apps.py | ParikhKadam/gotolong | 839beb8aa37055a2078eaa289b8ae05b62e8905e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 9 | 2020-01-01T03:04:29.000Z | 2021-04-18T08:42:30.000Z | from django.apps import AppConfig
class FratioConfig(AppConfig):
name = 'fratio'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
04aa8d5140919fcae6e3bfc59fd518b87bf275c1 | 138 | py | Python | pubmed/test.py | excelsimon/Pubmed-author_email-extract | 2936573ae3c466021a6f7686c7f9de8c329c69eb | [
"MIT"
] | 1 | 2017-08-14T03:49:03.000Z | 2017-08-14T03:49:03.000Z | pubmed/test.py | excelsimon/Pubmed-author_email-extract | 2936573ae3c466021a6f7686c7f9de8c329c69eb | [
"MIT"
] | null | null | null | pubmed/test.py | excelsimon/Pubmed-author_email-extract | 2936573ae3c466021a6f7686c7f9de8c329c69eb | [
"MIT"
] | 4 | 2017-05-13T05:27:52.000Z | 2020-11-05T16:17:20.000Z | emailList = []
f = open('test.txt','r')
for ln in f:
if ' ' in ln:
continue
emailList.append(ln)
print 'emailList: ',emailList
| 17.25 | 30 | 0.608696 | 20 | 138 | 4.2 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224638 | 138 | 7 | 31 | 19.714286 | 0.785047 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04b4c42aeadb0c3faacf2f366d88c42a83a72272 | 871 | py | Python | playground.py | Hank0438/heap_tracer | 5783e605bbbb85e88767450ed1865b9aebef1bc6 | [
"BSD-2-Clause"
] | null | null | null | playground.py | Hank0438/heap_tracer | 5783e605bbbb85e88767450ed1865b9aebef1bc6 | [
"BSD-2-Clause"
] | null | null | null | playground.py | Hank0438/heap_tracer | 5783e605bbbb85e88767450ed1865b9aebef1bc6 | [
"BSD-2-Clause"
] | null | null | null | from pwn import *
r = process("./playground.c")
libc = ELF("/lib/x86_64-linux-gnu/libc-2.27.so")
# libc = ELF("/lib/x86_64-linux-gnu/libc-2.23.so")
def malloc(num):
r.recvuntil(">")
r.sendline("1")
r.recvuntil(": ")
r.sendline(str(num))
def fill_chunk(num):
r.recvuntil(">")
r.... | 19.355556 | 51 | 0.541906 | 120 | 871 | 3.891667 | 0.308333 | 0.256959 | 0.282655 | 0.488223 | 0.708779 | 0.473233 | 0.4197 | 0.119914 | 0.119914 | 0 | 0 | 0.031627 | 0.237658 | 871 | 45 | 52 | 19.355556 | 0.671687 | 0.055109 | 0 | 0.514286 | 0 | 0 | 0.092545 | 0.043702 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0 | 0.028571 | 0 | 0.2 | 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 |
04c1a63427741f65b7771c11cc01a39bfb09f703 | 476 | py | Python | cal_tools/struct/submesh.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | cal_tools/struct/submesh.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | cal_tools/struct/submesh.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | from typing import Collection
from cal_tools.struct.face import CalFace
from cal_tools.struct.morph import CalMorph
from cal_tools.struct.vertex import CalVertex
class CalSubmesh:
def __init__(self, material: int, vertices: Collection[CalVertex], faces: Collection[CalFace],
morphs: Collection[Cal... | 34 | 98 | 0.714286 | 57 | 476 | 5.842105 | 0.45614 | 0.063063 | 0.108108 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212185 | 476 | 13 | 99 | 36.615385 | 0.888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
04d1bc1dce7c6269c003373d2cc9252ec617a91c | 596 | py | Python | flask-app/app/app/core/app_setup.py | mcelisr1/flask-docker-backend-stack | 07c640401c42db843ba3e77bba460224591506ab | [
"MIT"
] | 2 | 2019-04-30T23:48:36.000Z | 2019-07-17T15:26:57.000Z | flask-app/app/app/core/app_setup.py | mcelisr1/flask-docker-backend-stack | 07c640401c42db843ba3e77bba460224591506ab | [
"MIT"
] | null | null | null | flask-app/app/app/core/app_setup.py | mcelisr1/flask-docker-backend-stack | 07c640401c42db843ba3e77bba460224591506ab | [
"MIT"
] | null | null | null |
# Import app code
from app.main import app # noqa
# Set up global variables
from app.core import data # noqa
# Set up Config Environments
from app.core import config # noqa
# Set up flask db session
from app.core.db.session import db_session # noqa
# Load dafault data on DB
from app.core.db.init_db import load_de... | 21.285714 | 50 | 0.731544 | 101 | 596 | 4.227723 | 0.336634 | 0.081967 | 0.084309 | 0.079625 | 0.088993 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.204698 | 596 | 27 | 51 | 22.074074 | 0.896624 | 0.357383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.75 | 0 | 0.833333 | 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 |
04dd4054cf822a4ba24699d6faff9a798c1077f5 | 360 | py | Python | py_elasticinfra/metrics/cpu_load.py | NullConvergence/py_metrics | fa58959591a1a4ee90cb4145acd4ed5f9f6c3b8a | [
"MIT"
] | null | null | null | py_elasticinfra/metrics/cpu_load.py | NullConvergence/py_metrics | fa58959591a1a4ee90cb4145acd4ed5f9f6c3b8a | [
"MIT"
] | null | null | null | py_elasticinfra/metrics/cpu_load.py | NullConvergence/py_metrics | fa58959591a1a4ee90cb4145acd4ed5f9f6c3b8a | [
"MIT"
] | null | null | null | import psutil
from .base import BaseMetric
class CpuLoad(BaseMetric):
def __init__(self):
pass
def measure(self):
load = psutil.cpu_percent()
cpu_threads = psutil.cpu_percent(percpu=True)
return {'cpu_load_average': load,
'cpu_load_threads': cpu_threads}
d... | 21.176471 | 53 | 0.630556 | 43 | 360 | 4.976744 | 0.511628 | 0.084112 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 360 | 16 | 54 | 22.5 | 0.823077 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.166667 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
04e56c9e1ac441e2b6c321a2b4209ef7f3040dfc | 1,562 | py | Python | merch_week.py | m-paulus/merch_calendar | 1b5065828c91685b92135f892ef4054082013fb1 | [
"MIT"
] | null | null | null | merch_week.py | m-paulus/merch_calendar | 1b5065828c91685b92135f892ef4054082013fb1 | [
"MIT"
] | null | null | null | merch_week.py | m-paulus/merch_calendar | 1b5065828c91685b92135f892ef4054082013fb1 | [
"MIT"
] | null | null | null | import merch_calendar
from datetime import date, timedelta
import calendar
class MerchWeek:
def __init__(self, year, month, week):
try:
self._date = merch_calendar.start_of_week(year, month, week)
except:
raise
@classmethod
def from_date(cls, date):
year = ... | 26.033333 | 92 | 0.65493 | 205 | 1,562 | 4.717073 | 0.219512 | 0.161324 | 0.08273 | 0.098242 | 0.406412 | 0.275078 | 0.157187 | 0.09514 | 0.09514 | 0 | 0 | 0.004248 | 0.246479 | 1,562 | 59 | 93 | 26.474576 | 0.817332 | 0 | 0 | 0.217391 | 0 | 0 | 0.03009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.065217 | 0.195652 | 0.586957 | 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 |
04ef6f0e489ba56bb79c74e9f8745f375bebe0bc | 3,840 | py | Python | hybmc/models/DeterministicModel.py | sschlenkrich/HybridMonteCarlo | 72f54aa4bcd742430462b27b72d70369c01f9ac4 | [
"MIT"
] | 3 | 2021-08-18T18:34:41.000Z | 2021-12-24T07:05:19.000Z | hybmc/models/DeterministicModel.py | sschlenkrich/HybridMonteCarlo | 72f54aa4bcd742430462b27b72d70369c01f9ac4 | [
"MIT"
] | null | null | null | hybmc/models/DeterministicModel.py | sschlenkrich/HybridMonteCarlo | 72f54aa4bcd742430462b27b72d70369c01f9ac4 | [
"MIT"
] | 3 | 2021-01-31T11:41:19.000Z | 2022-03-25T19:51:20.000Z | #!/usr/bin/python
import numpy as np
from hybmc.models.StochasticProcess import StochasticProcess
class DeterministicModel(StochasticProcess):
# Python constructor
def __init__(self,
domAlias, # name of our domestic (numeraire) currency
domCurve, ... | 35.88785 | 110 | 0.610938 | 475 | 3,840 | 4.915789 | 0.309474 | 0.017131 | 0.051392 | 0.035974 | 0.285225 | 0.182013 | 0.140471 | 0.140471 | 0.140471 | 0.140471 | 0 | 0.004542 | 0.311979 | 3,840 | 106 | 111 | 36.226415 | 0.879258 | 0.32474 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.316667 | false | 0 | 0.033333 | 0.233333 | 0.683333 | 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 |
04f0e3299aae2df07132187459eead6effe98308 | 16 | py | Python | pyvcdr/__init__.py | EtlamGit/pyvcdr | abb475d1389b069e6b8ae53d50329e64c3f0e261 | [
"MIT"
] | null | null | null | pyvcdr/__init__.py | EtlamGit/pyvcdr | abb475d1389b069e6b8ae53d50329e64c3f0e261 | [
"MIT"
] | null | null | null | pyvcdr/__init__.py | EtlamGit/pyvcdr | abb475d1389b069e6b8ae53d50329e64c3f0e261 | [
"MIT"
] | null | null | null | name = "pyvcdr"
| 8 | 15 | 0.625 | 2 | 16 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.375 | 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 |
04fb5d0dbcd3e4b473928d99c92155cb381bc3e9 | 5,632 | py | Python | autograd/container_types.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | autograd/container_types.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | autograd/container_types.py | EnjoyLifeFund/py36pkgs | 0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2 | [
"MIT",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from autograd.core import (primitive, Node, VSpace, register_node, vspace,
register_vspace, SparseObject)
from builtins import zip
from future.utils import iteritems
from functools import partial
import autograd.numpy as np
class SequenceNode(Node):
... | 34.552147 | 91 | 0.649148 | 823 | 5,632 | 4.256379 | 0.132442 | 0.035969 | 0.01199 | 0.017985 | 0.384528 | 0.33143 | 0.316871 | 0.265487 | 0.209535 | 0.147873 | 0 | 0.00414 | 0.227983 | 5,632 | 162 | 92 | 34.765432 | 0.801518 | 0 | 0 | 0.304965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 1 | 0.269504 | false | 0 | 0.042553 | 0.177305 | 0.531915 | 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 |
b6b9caeebc32813369795932495c71aeac2c4847 | 244 | py | Python | statuscheck/services/sentry.py | amureki/statuscheck | caff92ef211f1fd2bf6c8a18ba8243eb434bc0df | [
"Apache-2.0"
] | 35 | 2018-10-22T06:04:55.000Z | 2022-02-01T10:20:00.000Z | statuscheck/services/sentry.py | amureki/statuscheck | caff92ef211f1fd2bf6c8a18ba8243eb434bc0df | [
"Apache-2.0"
] | 209 | 2018-10-22T11:44:57.000Z | 2022-03-31T04:02:37.000Z | statuscheck/services/sentry.py | amureki/statuscheck | caff92ef211f1fd2bf6c8a18ba8243eb434bc0df | [
"Apache-2.0"
] | 2 | 2020-06-05T02:41:19.000Z | 2020-09-03T07:03:46.000Z | from statuscheck.services.bases._statuspageio import BaseStatusPageAPI
class ServiceAPI(BaseStatusPageAPI):
name = "Sentry"
domain_id = "t687h3m0nh65"
status_url = "https://status.sentry.io"
service_url = "https://sentry.io/"
| 27.111111 | 70 | 0.737705 | 26 | 244 | 6.769231 | 0.730769 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033654 | 0.147541 | 244 | 8 | 71 | 30.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 |
b6ba87cd65c4a5ebab94e9028834ee5c431dddfa | 4,145 | py | Python | DQM/HLTEvF/test/hlt_jetmet_test_dqm_fromfile_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/HLTEvF/test/hlt_jetmet_test_dqm_fromfile_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/HLTEvF/test/hlt_jetmet_test_dqm_fromfile_cfg.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
process = cms.Process("DQM")
process.load("DQM.HLTEvF.HLTMonitor_cff")
process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(100)
)
process.source = cms.Sourc... | 62.80303 | 145 | 0.785766 | 651 | 4,145 | 4.721966 | 0.230415 | 0.071568 | 0.104099 | 0.110605 | 0.568966 | 0.568966 | 0.568966 | 0.527001 | 0.527001 | 0.527001 | 0 | 0.17944 | 0.077684 | 4,145 | 65 | 146 | 63.769231 | 0.62464 | 0.001689 | 0 | 0.070175 | 0 | 0.350877 | 0.707234 | 0.689572 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b6ce2aec2391ea0b9093ac93109f9105c5b3043c | 1,076 | py | Python | projects/PointsColletion/pointscollection/layers/emd/modules/emd.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | projects/PointsColletion/pointscollection/layers/emd/modules/emd.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | projects/PointsColletion/pointscollection/layers/emd/modules/emd.py | li-haoran/detectron2 | 84aebaaed19b07cce9dfd579f98b09ad4ed22e90 | [
"Apache-2.0"
] | null | null | null | # EMD approximation module (based on auction algorithm)
# memory complexity: O(n)
# time complexity: O(n^2 * iter)
# author: Minghua Liu
# input:
# p1, p2: [#batch, #points, 3]
# where p1 is the predicted point cloud and p2 is the ground truth point cloud
# two point clouds should have same size and be normalized to... | 30.742857 | 91 | 0.715613 | 168 | 1,076 | 4.52381 | 0.565476 | 0.015789 | 0.031579 | 0.05 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024447 | 0.201673 | 1,076 | 35 | 92 | 30.742857 | 0.860303 | 0.703532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
b6dff72d70ac2ad0638bfd3497907c8deb6f393f | 167 | py | Python | CursoEmVideo/Aula07/ex013.py | lucashsouza/Desafios-Python | abb5b11ebdfd4c232b4f0427ef41fd96013f2802 | [
"MIT"
] | null | null | null | CursoEmVideo/Aula07/ex013.py | lucashsouza/Desafios-Python | abb5b11ebdfd4c232b4f0427ef41fd96013f2802 | [
"MIT"
] | null | null | null | CursoEmVideo/Aula07/ex013.py | lucashsouza/Desafios-Python | abb5b11ebdfd4c232b4f0427ef41fd96013f2802 | [
"MIT"
] | null | null | null | sal = float(input('Digite seu salario: R$'))
aum = sal * 0.15
print('Parabens, você ganhou um aumento de 15%')
print('Seu novo salario é de R${}'.format(sal + aum)) | 41.75 | 53 | 0.658683 | 29 | 167 | 3.793103 | 0.689655 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035971 | 0.167665 | 167 | 4 | 53 | 41.75 | 0.755396 | 0 | 0 | 0 | 0 | 0 | 0.527273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b6f0097f2059d2d9b097d5fd295d4ac7fbf4e17b | 1,067 | py | Python | game/spaceship/module.py | shycoldii/asteroids | 3e06e68dff6e5a4ec87444ae94bd40c77e31515b | [
"MIT"
] | null | null | null | game/spaceship/module.py | shycoldii/asteroids | 3e06e68dff6e5a4ec87444ae94bd40c77e31515b | [
"MIT"
] | null | null | null | game/spaceship/module.py | shycoldii/asteroids | 3e06e68dff6e5a4ec87444ae94bd40c77e31515b | [
"MIT"
] | null | null | null | from pygame.math import Vector2
from game.base.base import BasicObject
class AbstractModule(BasicObject):
"""Абстрактный модуль, гаджет, навес для spaceship"""
def __init__(self, display, space_pos, space_size, space_head):
super().__init__(display)
self._space_size = space_size
self... | 24.813953 | 67 | 0.63074 | 117 | 1,067 | 5.495727 | 0.452991 | 0.049767 | 0.080871 | 0.079316 | 0.065319 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002538 | 0.261481 | 1,067 | 42 | 68 | 25.404762 | 0.813452 | 0.212746 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0.130435 | 0.086957 | 0 | 0.565217 | 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 |
b6ffd2696b9f634b1125ab8580ad189db011c7f4 | 253 | py | Python | source-code-from-author-book/Listings-for-Second-Edition/listing_1_15.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_1_15.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_1_15.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | def setNextPin(self,source):
if self.pinA == None:
self.pinA = source
else:
if self.pinB == None:
self.pinB = source
else:
raise RuntimeError("Error: NO EMPTY PINS")
| 28.111111 | 57 | 0.474308 | 26 | 253 | 4.615385 | 0.576923 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 253 | 8 | 58 | 31.625 | 0.839161 | 0 | 0 | 0.25 | 0 | 0 | 0.079051 | 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 |
8e0bf2d45dfd6e0b97aceb7f22a0e37420a6dce5 | 167 | py | Python | problem0217.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0217.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0217.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #217 Balanced Numbers - Project Euler
# https://projecteuler.net/problem=217
#
# Code by Kevin Marciniak
#
###########################
| 18.555556 | 39 | 0.479042 | 14 | 167 | 5.714286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.113772 | 167 | 8 | 40 | 20.875 | 0.5 | 0.580838 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e0d08f5530176dfcb7574842571feb83189d573 | 1,644 | py | Python | config.py | oogway/pyhystrix | 941de918d0433aaae958cb6de87ec32d6d943bb4 | [
"MIT"
] | 15 | 2017-11-26T16:04:33.000Z | 2020-04-16T02:49:50.000Z | config.py | oogway/pyhystrix | 941de918d0433aaae958cb6de87ec32d6d943bb4 | [
"MIT"
] | 1 | 2021-06-01T21:20:18.000Z | 2021-06-01T21:20:18.000Z | config.py | last9/pyhystrix | 941de918d0433aaae958cb6de87ec32d6d943bb4 | [
"MIT"
] | 1 | 2021-07-29T16:52:26.000Z | 2021-07-29T16:52:26.000Z | """Constants that will be used to define default
behaviour. Can be overridden by setting env vars
"""
import os
import requests
import logging
log_levels = {
logging.getLevelName(logging.CRITICAL): logging.CRITICAL,
logging.getLevelName(logging.ERROR): logging.ERROR,
logging.getLevelName(logging.WARNING)... | 25.292308 | 69 | 0.699513 | 196 | 1,644 | 5.709184 | 0.367347 | 0.134048 | 0.085791 | 0.096515 | 0.173369 | 0.154602 | 0.154602 | 0.071492 | 0 | 0 | 0 | 0.008942 | 0.183698 | 1,644 | 64 | 70 | 25.6875 | 0.824888 | 0.057178 | 0 | 0.222222 | 0 | 0 | 0.103046 | 0.034349 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.066667 | 0.222222 | 0.533333 | 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 |
8e129a5dd5ce56a18e4bf1c6c8ee6d799374887d | 318 | py | Python | modules/name.py | onrcayci/python3-notes | 64f6708553a54a2b85641690e5e90444a0a68737 | [
"MIT"
] | null | null | null | modules/name.py | onrcayci/python3-notes | 64f6708553a54a2b85641690e5e90444a0a68737 | [
"MIT"
] | null | null | null | modules/name.py | onrcayci/python3-notes | 64f6708553a54a2b85641690e5e90444a0a68737 | [
"MIT"
] | null | null | null | """
__name__
When run, every Python file has a __name__ variable.
If the file is the main file being run/executed, its value is "__main__".
Otherwise, its value is the file name.
"""
# To ignore executable code on import
if __name__ == "__main__":
# this code will only run if the file is the main file
pass | 24.461538 | 73 | 0.720126 | 53 | 318 | 3.943396 | 0.528302 | 0.100478 | 0.086124 | 0.105263 | 0.210526 | 0.210526 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0.210692 | 318 | 13 | 74 | 24.461538 | 0.832669 | 0.833333 | 0 | 0 | 0 | 0 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8e134e72e201eb3b080e13c59ab9963fb4dd6a5d | 44 | py | Python | Common/config.py | lkean9/GrabTaxi | 93d916dff777ac69ad83973fa00704ed2ae110ee | [
"MIT"
] | null | null | null | Common/config.py | lkean9/GrabTaxi | 93d916dff777ac69ad83973fa00704ed2ae110ee | [
"MIT"
] | null | null | null | Common/config.py | lkean9/GrabTaxi | 93d916dff777ac69ad83973fa00704ed2ae110ee | [
"MIT"
] | null | null | null | SECRET_KEY = "TOP_SECRET"
EXPIRATION = 1000
| 14.666667 | 25 | 0.772727 | 6 | 44 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.136364 | 44 | 2 | 26 | 22 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 |
8e3731f718e57164a53fc2dd11f980d626c81555 | 276 | py | Python | autoselenium/__init__.py | saizk/auto-selenium | 02c5ec3e02e4b36309002d8418be0d6a4ee56ebd | [
"MIT"
] | 2 | 2021-11-26T08:41:45.000Z | 2022-01-31T10:30:53.000Z | autoselenium/__init__.py | saizk/auto-selenium | 02c5ec3e02e4b36309002d8418be0d6a4ee56ebd | [
"MIT"
] | null | null | null | autoselenium/__init__.py | saizk/auto-selenium | 02c5ec3e02e4b36309002d8418be0d6a4ee56ebd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from autoselenium.driver import Driver
from autoselenium.download import download_driver, download_default_driver, get_version
__author__ = 'saizk'
__all__ = [
'Driver',
'download_driver',
'download_default_driver',
'get_version'
]
| 18.4 | 87 | 0.724638 | 30 | 276 | 6.133333 | 0.466667 | 0.228261 | 0.23913 | 0.315217 | 0.48913 | 0.48913 | 0.48913 | 0 | 0 | 0 | 0 | 0.004348 | 0.166667 | 276 | 14 | 88 | 19.714286 | 0.795652 | 0.076087 | 0 | 0 | 0 | 0 | 0.238095 | 0.09127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 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 |
f3cce023c21f1bb035661f1e33b8822f11f74165 | 258 | py | Python | 11 new lesson STRING/11.25 family.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | 11 new lesson STRING/11.25 family.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | 11 new lesson STRING/11.25 family.py | zarina494/fisrt_git_lesson | 169fc205b3a99a84f1041d578c4c120555162a66 | [
"MIT"
] | null | null | null | def relation_to_Luke(name):
if name == 'Darv':
return 'Luke, I am your father'
elif name == 'Leila':
return ' Luke, i am your sister'
elif name == 'Han':
return ' Luke, i am your brother'
print(relation_to_Luke('Leila')) | 25.8 | 41 | 0.593023 | 37 | 258 | 4.027027 | 0.486486 | 0.201342 | 0.221477 | 0.261745 | 0.342282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 258 | 10 | 42 | 25.8 | 0.801075 | 0 | 0 | 0 | 0 | 0 | 0.332046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.5 | 0.125 | 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 |
f3e860a7ce40aa332a6b28696a7ba5588e33d25d | 2,579 | py | Python | scraper/items.py | jheasly/open-health-inspection-scraper | 95c17782626041286996c6384a461c0798a7c61c | [
"Apache-2.0"
] | 2 | 2016-06-06T17:40:42.000Z | 2019-06-18T23:12:54.000Z | scraper/items.py | jheasly/open-health-inspection-scraper | 95c17782626041286996c6384a461c0798a7c61c | [
"Apache-2.0"
] | 15 | 2015-01-14T23:44:56.000Z | 2017-02-15T18:31:35.000Z | scraper/items.py | jheasly/open-health-inspection-scraper | 95c17782626041286996c6384a461c0798a7c61c | [
"Apache-2.0"
] | 6 | 2015-01-22T22:49:54.000Z | 2019-06-18T23:22:36.000Z | from scrapy.item import Item, Field
from scrapy.loader import ItemLoader
from scrapy.loader.processors import Identity, MapCompose, TakeFirst, Join
from scraper.helpers.vendor_helpers import *
from slugify import slugify
from datetime import datetime
import re
def format_date(date_string):
return datetime.strptime(da... | 22.426087 | 74 | 0.766964 | 283 | 2,579 | 6.734982 | 0.250883 | 0.204617 | 0.327387 | 0.213012 | 0.386149 | 0.162644 | 0.117524 | 0.117524 | 0.070304 | 0.070304 | 0 | 0 | 0.134936 | 2,579 | 114 | 75 | 22.622807 | 0.854325 | 0.048856 | 0 | 0.27619 | 0 | 0 | 0.003675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009524 | false | 0 | 0.066667 | 0.009524 | 0.409524 | 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 |
6d04a81bea04c3629213ca9bfb9d02a5dc7d0ce8 | 61 | py | Python | tests/python/for_items.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 10 | 2020-03-10T12:01:01.000Z | 2021-05-23T19:47:06.000Z | tests/python/for_items.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | null | null | null | tests/python/for_items.py | jacereda/py2nim | 56fc2699d31241c60bed726f59efea4bf46be238 | [
"MIT"
] | 1 | 2020-07-17T11:20:56.000Z | 2020-07-17T11:20:56.000Z | a = {2: 4}
for k, v in a.items():
print(k)
print(v)
| 10.166667 | 22 | 0.459016 | 13 | 61 | 2.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.327869 | 61 | 5 | 23 | 12.2 | 0.634146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6d118933bbe84c3f01f6686bf85c8155c9b55417 | 563 | py | Python | jsinclude/tests/argument_value_test.py | cobbdb/jsinclude | 7a979677359df18b755190ed569b09d0ea8dad07 | [
"MIT"
] | null | null | null | jsinclude/tests/argument_value_test.py | cobbdb/jsinclude | 7a979677359df18b755190ed569b09d0ea8dad07 | [
"MIT"
] | null | null | null | jsinclude/tests/argument_value_test.py | cobbdb/jsinclude | 7a979677359df18b755190ed569b09d0ea8dad07 | [
"MIT"
] | null | null | null | from jsinclude.templatetags.pkg.ArgumentValue import ArgumentValue
class TestArgumentValue:
def test_true_number_arg(self):
arg = ArgumentValue(1234)
assert arg == 1234
def test_string_number_arg(self):
arg = ArgumentValue('1234')
assert arg == '1234'
def test_string_arg(s... | 25.590909 | 66 | 0.628774 | 61 | 563 | 5.639344 | 0.327869 | 0.232558 | 0.116279 | 0.267442 | 0.343023 | 0.343023 | 0.343023 | 0.343023 | 0.343023 | 0.343023 | 0 | 0.053269 | 0.26643 | 563 | 21 | 67 | 26.809524 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.071048 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.25 | false | 0 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d18302a31bc755d30f8c893405032c00082c9ee | 15,608 | py | Python | Python_Projects/Global_Model/Working/calculation.py | GUNU-GO/SNUPI | a73137699d9fc6ae8fa3d1522f341c04d8d43052 | [
"MIT"
] | null | null | null | Python_Projects/Global_Model/Working/calculation.py | GUNU-GO/SNUPI | a73137699d9fc6ae8fa3d1522f341c04d8d43052 | [
"MIT"
] | null | null | null | Python_Projects/Global_Model/Working/calculation.py | GUNU-GO/SNUPI | a73137699d9fc6ae8fa3d1522f341c04d8d43052 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
import xs
import numpy as np
from scipy.integrate import odeint
from math import isclose
from constants import *
class Global_model:
def __init__(self, p, input_power, duty, period, time_resolution=1e-8):
self.p = p
self.input_power = input_power*6.241509e18 ... | 44.467236 | 475 | 0.577076 | 2,791 | 15,608 | 2.981727 | 0.159799 | 0.049267 | 0.067292 | 0.069214 | 0.409156 | 0.346071 | 0.278298 | 0.271209 | 0.141553 | 0.120404 | 0 | 0.284579 | 0.258393 | 15,608 | 350 | 476 | 44.594286 | 0.434384 | 0.045938 | 0 | 0.019802 | 0 | 0 | 0.033614 | 0.002627 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016502 | null | null | 0.016502 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d1dbeb738603858ee39d12d84b249a97091c528 | 174 | py | Python | practice/calendar/calendar/calendar/calendar_project.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | 1 | 2018-06-21T23:15:18.000Z | 2018-06-21T23:15:18.000Z | practice/calendar/calendar/calendar/calendar_project.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | null | null | null | practice/calendar/calendar/calendar/calendar_project.py | thekaranjit/pythonpractice | c87f535f694ee259a4d9de317f5b2eacd0e3748f | [
"Unlicense"
] | null | null | null | # import module
import calendar
# ask of month and year
yy = int(input("Enter year: "))
mm = int(input("Enter month: "))
# display the calendar
print(calendar.month(yy,mm)) | 19.333333 | 32 | 0.701149 | 27 | 174 | 4.518519 | 0.592593 | 0.131148 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 174 | 9 | 33 | 19.333333 | 0.829932 | 0.321839 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 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 |
6d22c1587af4dfa165e56fe18dddcbb2dee5f664 | 73 | py | Python | k3d/_version.py | annefou/K3D-jupyter | daeb38680ec1bfa49e80b59912aab15b959052de | [
"MIT"
] | null | null | null | k3d/_version.py | annefou/K3D-jupyter | daeb38680ec1bfa49e80b59912aab15b959052de | [
"MIT"
] | null | null | null | k3d/_version.py | annefou/K3D-jupyter | daeb38680ec1bfa49e80b59912aab15b959052de | [
"MIT"
] | null | null | null | version_info = (2, 4, 19)
__version__ = '.'.join(map(str, version_info))
| 24.333333 | 46 | 0.671233 | 11 | 73 | 3.909091 | 0.727273 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.123288 | 73 | 2 | 47 | 36.5 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d28e0d64eb546a2315a51ec091aa3a19a839e37 | 1,038 | py | Python | hackerrank/contest/101hack2015_6_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | hackerrank/contest/101hack2015_6_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | hackerrank/contest/101hack2015_6_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | from heapq import heapify, heappush, heappop
from collections import Counter, defaultdict, deque, OrderedDict
from sys import setrecursionlimit, maxsize
from bisect import bisect_left, bisect, insort_left, insort
from math import ceil, log, factorial, hypot, pi
from fractions import gcd
from copy import deepcopy
from f... | 35.793103 | 96 | 0.686898 | 168 | 1,038 | 4.172619 | 0.458333 | 0.014265 | 0.012839 | 0.011412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0047 | 0.180154 | 1,038 | 28 | 97 | 37.071429 | 0.819036 | 0 | 0 | 0 | 0 | 0 | 0.013487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.44 | 0.12 | 0.56 | 0.08 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
6d347d3d8c5eab23a280b9984b4d6b87b6a813a8 | 1,111 | py | Python | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/NotifySwUpgradeStateChangedDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 128 | 2018-10-29T04:11:47.000Z | 2022-03-07T02:19:14.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/NotifySwUpgradeStateChangedDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 40 | 2018-11-02T00:40:48.000Z | 2021-12-07T09:33:56.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/dto/NotifySwUpgradeStateChangedDTO.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 118 | 2018-10-29T08:43:57.000Z | 2022-01-07T06:49:25.000Z | class NotifySwUpgradeStateChangedDTO(object):
def __init__(self):
self.notifyType = None
self.deviceId = None
self.appId = None
self.operationId = None
self.subOperationId = None
self.swUpgradeState = None
def getNotifyType(self):
return self.notifyType
... | 24.152174 | 48 | 0.667867 | 102 | 1,111 | 7.235294 | 0.254902 | 0.081301 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261926 | 1,111 | 45 | 49 | 24.688889 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.40625 | false | 0 | 0 | 0.1875 | 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 |
6d57330f5890530f320cf62fd898070beece7685 | 1,316 | py | Python | pyheaders/cpp/enum.py | Roynecro97/pyheaders | 0e1e90aef3e18d611ec289b25213e2aa2cc0ab45 | [
"MIT"
] | 2 | 2020-05-19T20:19:37.000Z | 2021-04-06T18:59:06.000Z | pyheaders/cpp/enum.py | Roynecro97/pyheaders | 0e1e90aef3e18d611ec289b25213e2aa2cc0ab45 | [
"MIT"
] | 6 | 2020-05-17T14:25:25.000Z | 2020-07-13T11:45:21.000Z | pyheaders/cpp/enum.py | Roynecro97/pyheaders | 0e1e90aef3e18d611ec289b25213e2aa2cc0ab45 | [
"MIT"
] | null | null | null | '''
Represents a C++ enum.
'''
from collections import OrderedDict
from typing import Any, Optional, Text, Union
class Enum(OrderedDict):
'''
Represents a C++ enum.
'''
def __init__(self, name, items=None):
super().__init__(items or [])
self.name = name
def __getitem__(self, name... | 26.857143 | 130 | 0.578267 | 165 | 1,316 | 4.393939 | 0.315152 | 0.077241 | 0.041379 | 0.044138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281915 | 1,316 | 48 | 131 | 27.416667 | 0.767196 | 0.034195 | 0 | 0 | 0 | 0 | 0.070513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.068966 | 0.103448 | 0.586207 | 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 |
ed974b0d6e70499730b205caa7425ce10c83731b | 2,237 | py | Python | sciquence/sequences/sliding_window.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 8 | 2017-10-23T17:59:35.000Z | 2021-05-10T03:01:30.000Z | sciquence/sequences/sliding_window.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 2 | 2019-08-25T19:24:12.000Z | 2019-09-05T12:16:10.000Z | sciquence/sequences/sliding_window.py | krzjoa/sciquence | 6a5f758c757200fffeb0fdc9206462f1f89e2444 | [
"MIT"
] | 2 | 2018-02-28T09:47:53.000Z | 2019-08-25T19:24:16.000Z | # Krzysztof Joachimiak 2017
# sciquence: Time series & sequences in Python
#
# Sliding window
# Author: Krzysztof Joachimiak
#
# License: MIT
from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.preprocessing import Imputer
class SlidingWindow(BaseEstimator, TransformerMixin):
# TODO: check ref... | 21.509615 | 69 | 0.588735 | 253 | 2,237 | 5.098814 | 0.466403 | 0.08062 | 0.046512 | 0.029457 | 0.151938 | 0.151938 | 0.151938 | 0.151938 | 0.151938 | 0.151938 | 0 | 0.022307 | 0.298614 | 2,237 | 103 | 70 | 21.718447 | 0.799873 | 0.588288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ed9eb4ccb84e2b5861f5d2fd5428fb0fde542ab3 | 343 | py | Python | Leetcode/72. Edit Distance/solution2.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/72. Edit Distance/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/72. Edit Distance/solution2.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | class Solution:
def minDistance(self, word1: str, word2: str) -> int:
@lru_cache(None)
def dp(i, j):
if i < 0 or j < 0: return max(i, j) + 1
return dp(i - 1, j - 1) if word1[i] == word2[j] else min(dp(i - 1, j), dp(i - 1, j - 1), dp(i, j - 1)) + 1
return dp(len(word1... | 38.111111 | 118 | 0.483965 | 63 | 343 | 2.619048 | 0.380952 | 0.090909 | 0.072727 | 0.090909 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.335277 | 343 | 8 | 119 | 42.875 | 0.644737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
eddc8f3d3f9fe062304babd4121734ff09948049 | 426 | py | Python | src/Helix/playercontroller.py | FirstLevelGames/Helix | fd6f3106b65270db33dfa03797b4f0a14881778e | [
"MIT"
] | 2 | 2022-01-28T06:19:19.000Z | 2022-02-16T19:32:08.000Z | src/Helix/playercontroller.py | novialriptide/Helix | fd6f3106b65270db33dfa03797b4f0a14881778e | [
"MIT"
] | 15 | 2022-01-25T19:18:59.000Z | 2022-01-27T19:32:46.000Z | src/Helix/playercontroller.py | novialriptide/Helix | fd6f3106b65270db33dfa03797b4f0a14881778e | [
"MIT"
] | 2 | 2021-12-11T20:06:17.000Z | 2021-12-11T21:05:54.000Z | """
Helix: Flight Test (c) 2021 Andrew Hong
This code is licensed under GNU LESSER GENERAL PUBLIC LICENSE (see LICENSE for details)
"""
from SakuyaEngine.controllers import BaseController
class PlayerController(BaseController):
def __init__(self) -> None:
super().__init__()
self.is_shooting = Fals... | 25.058824 | 87 | 0.71831 | 48 | 426 | 6.020833 | 0.729167 | 0.083045 | 0.145329 | 0.17301 | 0.262976 | 0.262976 | 0.262976 | 0 | 0 | 0 | 0 | 0.011561 | 0.187793 | 426 | 16 | 88 | 26.625 | 0.823699 | 0.298122 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 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 |
eddd968de66af8f80b1a36490ca5e2bd020c72b5 | 229 | py | Python | vesicashapi/upload.py | vesicash/vesicash-python-sdk | 0a665e302b88c4eeb316a635c5485c9c3c1fffeb | [
"Apache-2.0"
] | null | null | null | vesicashapi/upload.py | vesicash/vesicash-python-sdk | 0a665e302b88c4eeb316a635c5485c9c3c1fffeb | [
"Apache-2.0"
] | null | null | null | vesicashapi/upload.py | vesicash/vesicash-python-sdk | 0a665e302b88c4eeb316a635c5485c9c3c1fffeb | [
"Apache-2.0"
] | 1 | 2021-04-20T14:54:40.000Z | 2021-04-20T14:54:40.000Z | """ Script used to call the upload service"""
from vesicashapi.base import VesicashBase
class Upload(VesicashBase):
@classmethod
def upload(cls, **kwargs):
return cls().requests.post('upload/file', data=kwargs)
| 25.444444 | 62 | 0.707424 | 28 | 229 | 5.785714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170306 | 229 | 8 | 63 | 28.625 | 0.852632 | 0.165939 | 0 | 0 | 0 | 0 | 0.059783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ede594c7b841a17bd745f94e6e14ca549a96c9d0 | 621 | py | Python | bnpy/viz/__init__.py | zhaottcrystal/bnpy | 0195a0228e9e698799e52a6dfa1d051e82b43fd0 | [
"BSD-3-Clause"
] | 1 | 2019-05-14T19:56:53.000Z | 2019-05-14T19:56:53.000Z | bnpy/viz/__init__.py | zhaottcrystal/bnpy | 0195a0228e9e698799e52a6dfa1d051e82b43fd0 | [
"BSD-3-Clause"
] | null | null | null | bnpy/viz/__init__.py | zhaottcrystal/bnpy | 0195a0228e9e698799e52a6dfa1d051e82b43fd0 | [
"BSD-3-Clause"
] | 1 | 2020-09-01T13:21:18.000Z | 2020-09-01T13:21:18.000Z | """
The :mod:`viz` module provides visualization capability
"""
import viz.BarsViz
import viz.BernViz
import viz.GaussViz
import viz.SequenceViz
import viz.ProposalViz
import viz.PlotTrace
import viz.PlotELBO
import viz.PlotK
import viz.PlotHeldoutLik
import viz.PlotParamComparison
import viz.PlotComps
import viz.J... | 23 | 74 | 0.745572 | 64 | 621 | 7.171875 | 0.359375 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 621 | 26 | 75 | 23.884615 | 0.864407 | 0.088567 | 0 | 0 | 0 | 0 | 0.25448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.777778 | 0 | 0.777778 | 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 |
edfb1aa3d2ef7463e5b95af6f0bc09df74d092d6 | 371 | py | Python | pyasice/exceptions.py | vgaicuks/pyasice | 4e955a4aedc319199dfd367d1d092ba99f4fe1c2 | [
"0BSD"
] | 6 | 2021-02-04T13:15:13.000Z | 2022-02-04T17:21:40.000Z | pyasice/exceptions.py | vgaicuks/pyasice | 4e955a4aedc319199dfd367d1d092ba99f4fe1c2 | [
"0BSD"
] | 5 | 2020-10-26T14:43:34.000Z | 2021-12-27T14:40:10.000Z | pyasice/exceptions.py | thorgate/pyasice | 4423b7251392c7bf6bc5d14800b9b396b8eb2222 | [
"0BSD"
] | 1 | 2021-07-21T15:36:31.000Z | 2021-07-21T15:36:31.000Z | class PyAsiceError(Exception):
"""
A generic exception that can happen while dealing with ASic-E/BDoc 2 files/signatures
"""
pass
class ContainerError(PyAsiceError):
pass
class NoFilesToSign(PyAsiceError):
pass
class SignatureVerificationError(PyAsiceError):
pass
class InvalidSignat... | 16.130435 | 89 | 0.746631 | 35 | 371 | 7.914286 | 0.628571 | 0.129964 | 0.227437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003322 | 0.188679 | 371 | 22 | 90 | 16.863636 | 0.916944 | 0.229111 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
610ab1863c7ddaa1c38857f222e1b6a7d510644e | 4,655 | py | Python | secuinside-2017/Very Very Chart/chart.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | 46 | 2017-11-07T05:30:26.000Z | 2021-11-24T09:33:41.000Z | secuinside-2017/Very Very Chart/chart.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | null | null | null | secuinside-2017/Very Very Chart/chart.py | mathboy7/CTF | e279bf91ad6b22fc41087571c5fba9501832ab80 | [
"Apache-2.0"
] | 3 | 2017-11-14T14:45:28.000Z | 2020-08-30T07:59:04.000Z | from pwn import *
r = process("./chart")
raw_input("$")
def register(type_, ID, PW, name, profile=""): # user 1, composer 2
r.send("2\n")
print r.recvuntil("Type :")
r.send(str(type_)+"\n")
print r.recvuntil("ID : ")
r.send(ID+"\n")
print r.recvuntil("PW : ")
r.send(PW+"\n")
print r.recvuntil("Name : ")
r.s... | 20.874439 | 71 | 0.643179 | 709 | 4,655 | 4.211566 | 0.181946 | 0.147354 | 0.216008 | 0.203617 | 0.363027 | 0.268252 | 0.248158 | 0.203952 | 0.118888 | 0.104153 | 0 | 0.050406 | 0.126316 | 4,655 | 222 | 72 | 20.968468 | 0.683796 | 0.080559 | 0 | 0.520231 | 0 | 0 | 0.152726 | 0 | 0 | 0 | 0.025611 | 0 | 0 | 0 | null | null | 0 | 0.00578 | null | null | 0.260116 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
611ef43855c4502d2337beaf2e9bbdd18e660663 | 1,287 | py | Python | test/utilities/test_Converter.py | pip-benchmark/pip-benchmark-python | d75672e940af12e2f9818607e2188490e989d8c5 | [
"MIT"
] | null | null | null | test/utilities/test_Converter.py | pip-benchmark/pip-benchmark-python | d75672e940af12e2f9818607e2188490e989d8c5 | [
"MIT"
] | null | null | null | test/utilities/test_Converter.py | pip-benchmark/pip-benchmark-python | d75672e940af12e2f9818607e2188490e989d8c5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pip_benchmark_python.utilities.Converter import Converter
class TestConverter:
def test_long_to_string(self):
assert Converter.long_to_string(None) is None
assert '123' == Converter.long_to_string(123)
def test_string_to_long(self):
assert 0 == Converter... | 36.771429 | 66 | 0.695416 | 181 | 1,287 | 4.657459 | 0.171271 | 0.123369 | 0.201661 | 0.104389 | 0.46382 | 0.368921 | 0.278766 | 0.145907 | 0 | 0 | 0 | 0.046647 | 0.200466 | 1,287 | 34 | 67 | 37.852941 | 0.772595 | 0.016317 | 0 | 0 | 0 | 0 | 0.032437 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.25 | false | 0 | 0.041667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b62c2361b51ddd55b0ad6546bce400043a91ee1a | 362 | py | Python | tests/test_generator.py | skalarsystems/fhir-zeug | 19973438823c41247e3efb5b1d35e8942ae01fdb | [
"Apache-2.0"
] | 10 | 2020-04-23T18:13:13.000Z | 2020-11-25T07:45:26.000Z | tests/test_generator.py | skalarsystems/fhir-zeug | 19973438823c41247e3efb5b1d35e8942ae01fdb | [
"Apache-2.0"
] | 71 | 2020-05-20T09:11:22.000Z | 2020-10-26T14:01:03.000Z | tests/test_generator.py | skalarsystems/fhir-zeug | 19973438823c41247e3efb5b1d35e8942ae01fdb | [
"Apache-2.0"
] | 1 | 2020-06-03T11:55:47.000Z | 2020-06-03T11:55:47.000Z | from pathlib import Path
from fhirzeug.generator import generate
from fhirzeug.fhirspec import FHIRSpec
def test_write(spec: FHIRSpec, tmp_path: Path):
spec.generator_config.output_directory.destination = tmp_path
spec.generator_config.output_file.destination = Path("output.py")
generate(spec)
assert... | 30.166667 | 69 | 0.787293 | 49 | 362 | 5.632653 | 0.44898 | 0.076087 | 0.123188 | 0.166667 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124309 | 362 | 11 | 70 | 32.909091 | 0.870662 | 0 | 0 | 0 | 1 | 0 | 0.049724 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b62e3b273084a90d44d9b735364ee439b8417ee2 | 164 | py | Python | code/abc117_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc117_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc117_c_01.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | N,M=map(int,input().split())
X=sorted(set(list(map(int,input().split()))))
s=[]
for i in range(M-1):
s.append(X[i+1]-X[i])
s=sorted(s)[::-1]
print(sum(s[N-1:])) | 23.428571 | 45 | 0.573171 | 37 | 164 | 2.540541 | 0.513514 | 0.12766 | 0.234043 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.079268 | 164 | 7 | 46 | 23.428571 | 0.596026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
b656d9867f056795fcb0613d2497677c41ee347e | 395 | py | Python | Curso Python/PythonExercicios/ex020.py | marcos-saba/Cursos | 1c063392867e9ed86d141dad8861a2a35488b1c6 | [
"MIT"
] | null | null | null | Curso Python/PythonExercicios/ex020.py | marcos-saba/Cursos | 1c063392867e9ed86d141dad8861a2a35488b1c6 | [
"MIT"
] | null | null | null | Curso Python/PythonExercicios/ex020.py | marcos-saba/Cursos | 1c063392867e9ed86d141dad8861a2a35488b1c6 | [
"MIT"
] | null | null | null | import random
al1 = input('Digite o nome do(a) primeiro(a) aluno(a): ')
al2 = input('Digite o nome do (a) segundo(a) aluno(a): ')
al3 = input('Digite o nome do(a) terceiro(a) aluno(a): ')
al4 = input('Digite o nome do(a) quarto(a) aluno(a): ')
lista = [al1, al2, al3, al4]
random.shuffle(lista)
print(f'A ordem dos aluno... | 24.6875 | 65 | 0.665823 | 70 | 395 | 3.757143 | 0.414286 | 0.1673 | 0.18251 | 0.243346 | 0.288973 | 0.288973 | 0 | 0 | 0 | 0 | 0 | 0.024242 | 0.164557 | 395 | 15 | 66 | 26.333333 | 0.772727 | 0.065823 | 0 | 0 | 0 | 0 | 0.610497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b675c834f4af3a0b82b1bf6826fca2734b7ad156 | 652 | py | Python | app/test.py | erics1996/D5-Video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | 1 | 2020-09-26T14:03:48.000Z | 2020-09-26T14:03:48.000Z | app/test.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | app/test.py | erics1996/d5_video | cb07e211c821e805296f24d28c80ac6fb99bfd5d | [
"Apache-2.0"
] | null | null | null | import redis
# 测试连接redis
"""
if __name__ == '__main__':
conn = redis.Redis(host='127.0.0.1', port=6379)
if conn:
print('ok')
else:
print('error')
"""
# 测试session是否保存在redis中
"""
if __name__ == '__main__':
conn = redis.Redis(host='127.0.0.1', port=6379, password='foobared')
print(conn... | 27.166667 | 163 | 0.736196 | 55 | 652 | 8.418182 | 0.581818 | 0.025918 | 0.043197 | 0.060475 | 0.181425 | 0.181425 | 0.181425 | 0.181425 | 0.181425 | 0.181425 | 0 | 0.079225 | 0.128834 | 652 | 23 | 164 | 28.347826 | 0.735915 | 0.046012 | 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 |
b67fc419ca923c33d18cdee4e07420f2516e020f | 164 | py | Python | metric.py | Nozdi/kaggle-bike-share-demand | 715b61ff3560c65f1581bda7cc5baec9cf5e76dd | [
"MIT"
] | null | null | null | metric.py | Nozdi/kaggle-bike-share-demand | 715b61ff3560c65f1581bda7cc5baec9cf5e76dd | [
"MIT"
] | null | null | null | metric.py | Nozdi/kaggle-bike-share-demand | 715b61ff3560c65f1581bda7cc5baec9cf5e76dd | [
"MIT"
] | null | null | null | import numpy as np
def rmsle(y_pred, y_true):
assert len(y_pred) == len(y_true)
return np.sqrt(np.mean(np.power(np.log1p(y_pred) - np.log1p(y_true), 2)))
| 23.428571 | 77 | 0.676829 | 33 | 164 | 3.181818 | 0.515152 | 0.142857 | 0.152381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.158537 | 164 | 6 | 78 | 27.333333 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b68c8ddc9fcd55d3cc2b24d17d5af2efe3ae5c5d | 559 | py | Python | decaylanguage/__init__.py | ch2ohch2oh/decaylanguage | 7cb01e787ea9d193b87ae0978f2dfb4e469a1276 | [
"BSD-3-Clause"
] | null | null | null | decaylanguage/__init__.py | ch2ohch2oh/decaylanguage | 7cb01e787ea9d193b87ae0978f2dfb4e469a1276 | [
"BSD-3-Clause"
] | null | null | null | decaylanguage/__init__.py | ch2ohch2oh/decaylanguage | 7cb01e787ea9d193b87ae0978f2dfb4e469a1276 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2018-2019, Eduardo Rodrigues and Henry Schreiner.
#
# Distributed under the 3-clause BSD license, see accompanying file LICENSE
# or https://github.com/scikit-hep/decaylanguage for details.
# Convenient access to the version number
from ._version import __version__
# Direct access to decay file parsi... | 31.055556 | 75 | 0.805009 | 74 | 559 | 6.013514 | 0.662162 | 0.07191 | 0.094382 | 0.12809 | 0.107865 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018789 | 0.143113 | 559 | 17 | 76 | 32.882353 | 0.91023 | 0.679785 | 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 |
b697b0465a2f226e6e6c630a304d08f2c89fe273 | 194 | py | Python | apps/verifications/urls.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/verifications/urls.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/verifications/urls.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | from django.urls import path
from . import views
app_name = 'verifications'
urlpatterns = [
path('image_codes/<uuid:image_code_id>/', views.ImageCode.as_view(), name='image_codes'),
] | 27.714286 | 94 | 0.716495 | 26 | 194 | 5.115385 | 0.692308 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 7 | 95 | 27.714286 | 0.801205 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b6ae292cc8493ab3e2e2c6eb93e74e867f7a5a45 | 109 | py | Python | Tupleusinghash.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | Tupleusinghash.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | Tupleusinghash.py | bjoffficial/Python | 73e6fdc19a1bec18488405c4a60c30ba68581ce5 | [
"Apache-2.0"
] | null | null | null | if __name__ == '__main__':
n = int(input())
qus=tuple(map(int,input().split()))
print(hash(qus))
| 21.8 | 39 | 0.577982 | 15 | 109 | 3.666667 | 0.8 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 109 | 4 | 40 | 27.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
fcc9d5e6a05c79b1bf39adf1c4fcd4c98f9a6d85 | 95 | py | Python | scorecards/apps.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | scorecards/apps.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | scorecards/apps.py | moshthepitt/probsc | 9b8cab206bb1c41238e36bd77f5e0573df4d8e2d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ScorecardsConfig(AppConfig):
name = 'scorecards'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fcd7544768bb3229ec5e9ae800a2ea3ee4d1fbda | 603 | py | Python | asyncmy/sa/__init__.py | dnp1/asyncmy | ae8a09e4d7d64d6d5cb448b7d7154e715071d414 | [
"Apache-2.0"
] | 1 | 2021-10-22T01:35:21.000Z | 2021-10-22T01:35:21.000Z | asyncmy/sa/__init__.py | dnp1/asyncmy | ae8a09e4d7d64d6d5cb448b7d7154e715071d414 | [
"Apache-2.0"
] | null | null | null | asyncmy/sa/__init__.py | dnp1/asyncmy | ae8a09e4d7d64d6d5cb448b7d7154e715071d414 | [
"Apache-2.0"
] | null | null | null | """Optional support for sqlalchemy.sql dynamic query generation."""
from asyncmy.sa.connection import SAConnection
from .engine import create_engine, Engine
from .exc import (Error, ArgumentError, InvalidRequestError,
NoSuchColumnError, ResourceClosedError)
from . import result
__all__ = ('create_e... | 35.470588 | 71 | 0.749585 | 51 | 603 | 8.72549 | 0.470588 | 0.080899 | 0.249438 | 0.364045 | 0.546067 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154229 | 603 | 16 | 72 | 37.6875 | 0.872549 | 0.101161 | 0 | 0 | 0 | 0 | 0.205224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
fcf9aa65396644ce8956039d18797ae05615fb61 | 19 | py | Python | fossa/__init__.py | tresni/fossa | 38a25d2c9091bbe28462a596fcfedd1179880358 | [
"MIT"
] | null | null | null | fossa/__init__.py | tresni/fossa | 38a25d2c9091bbe28462a596fcfedd1179880358 | [
"MIT"
] | null | null | null | fossa/__init__.py | tresni/fossa | 38a25d2c9091bbe28462a596fcfedd1179880358 | [
"MIT"
] | null | null | null | APP_NAME = "fossa"
| 9.5 | 18 | 0.684211 | 3 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
fcfa435f98d43ada5cc2452165b6ea6be9181640 | 1,188 | py | Python | src/boost_histogram/_internal/storage.py | andrzejnovak/boost-histogram | cdbfabb1c22f5545bf3900be01f2025411e699f1 | [
"BSD-3-Clause"
] | 105 | 2019-03-08T14:59:37.000Z | 2022-03-11T12:46:17.000Z | src/boost_histogram/_internal/storage.py | andrzejnovak/boost-histogram | cdbfabb1c22f5545bf3900be01f2025411e699f1 | [
"BSD-3-Clause"
] | 400 | 2019-03-11T23:10:18.000Z | 2022-03-25T14:02:06.000Z | src/boost_histogram/_internal/storage.py | andrzejnovak/boost-histogram | cdbfabb1c22f5545bf3900be01f2025411e699f1 | [
"BSD-3-Clause"
] | 25 | 2019-03-11T18:02:31.000Z | 2022-03-10T20:14:22.000Z | import boost_histogram
from .._core import storage as store
from .utils import set_module
# Simple mixin to provide a common base class for types
class Storage:
_family: object
def __init_subclass__(cls, *, family: object) -> None:
super().__init_subclass__()
cls._family = family
def __... | 22.846154 | 73 | 0.751684 | 150 | 1,188 | 5.62 | 0.3 | 0.24911 | 0.116251 | 0.190985 | 0.569395 | 0.569395 | 0.481613 | 0.481613 | 0.481613 | 0.481613 | 0 | 0.007851 | 0.142256 | 1,188 | 51 | 74 | 23.294118 | 0.819431 | 0.044613 | 0 | 0.451613 | 0 | 0 | 0.165931 | 0.165931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0.225806 | 0.096774 | 0.032258 | 0.483871 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1e04313b1a59f752d444d642a7310789f916860e | 6,410 | py | Python | CrudSimulation/forms.py | CodexLink/AdvancedCRUD-Django | aea8da56b1713735196f675a5c0acf2dde974616 | [
"MIT"
] | 1 | 2020-04-13T03:35:19.000Z | 2020-04-13T03:35:19.000Z | CrudSimulation/forms.py | CodexLink/AdvancedCRUD-Django | aea8da56b1713735196f675a5c0acf2dde974616 | [
"MIT"
] | 6 | 2020-04-12T17:59:08.000Z | 2021-09-22T18:52:24.000Z | CrudSimulation/forms.py | CodexLink/Django_Single_Page_CRUD | b37bc61bed2434a3e35ca7afe3b99e95a2289487 | [
"MIT"
] | 1 | 2020-05-03T14:00:32.000Z | 2020-05-03T14:00:32.000Z | from django import forms
from django.core.validators import MaxValueValidator, MinValueValidator
from .additionals.metaData import *
from .models import UserCredentials, UserTasks, UserDepartment
from django.contrib.auth.forms import AuthenticationForm
class AuthForm(AuthenticationForm, forms.ModelForm):
class Met... | 75.411765 | 294 | 0.7 | 728 | 6,410 | 6.049451 | 0.223901 | 0.052452 | 0.072661 | 0.094005 | 0.64396 | 0.637829 | 0.637829 | 0.615577 | 0.603769 | 0.603769 | 0 | 0.027183 | 0.133385 | 6,410 | 85 | 295 | 75.411765 | 0.765617 | 0 | 0 | 0.228571 | 0 | 0.014286 | 0.29543 | 0.003276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0.128571 | 0.071429 | 0.014286 | 0.542857 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1e1adf5c90b9d3bac8d132f53c4fd34036e51397 | 2,074 | py | Python | regex/ex05.py | stormabq/python-examples | 1c1acfc3863a2cf1a9e202c9299f3a526858eb34 | [
"MIT"
] | 1 | 2021-12-12T04:39:53.000Z | 2021-12-12T04:39:53.000Z | regex/ex05.py | stormabq/python-examples | 1c1acfc3863a2cf1a9e202c9299f3a526858eb34 | [
"MIT"
] | null | null | null | regex/ex05.py | stormabq/python-examples | 1c1acfc3863a2cf1a9e202c9299f3a526858eb34 | [
"MIT"
] | 6 | 2020-05-05T17:21:28.000Z | 2021-12-12T04:39:57.000Z | ## See the html directory in this repo
import re
def get_name_and_number(input):
m = re.match(r"(?P<x0>Organism) (?P<x1>.*) (?P<x2>has) (?P<x3>\d+)", input)
if m == None:
return None
r1 = m.group("x1")
r2 = m.group("x3")
mytuple = (r1, r2)
return mytuple
testary = [
"Organism En... | 56.054054 | 121 | 0.761813 | 268 | 2,074 | 5.869403 | 0.421642 | 0.12206 | 0.193261 | 0.305149 | 0.362365 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11678 | 0.14947 | 2,074 | 36 | 122 | 57.611111 | 0.774943 | 0.016876 | 0 | 0 | 0 | 0.068966 | 0.806483 | 0.258841 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.034483 | 0 | 0.137931 | 0.034483 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1e1f6283140215b06df34b5565f0d75e854b79a7 | 943 | py | Python | Aula01/Exercicio03.py | gabriel-correia0408/Sala_Green_GabrielCorreia | 1d22f466d372786c5f8c8eaba7202844b5f03445 | [
"Apache-2.0"
] | null | null | null | Aula01/Exercicio03.py | gabriel-correia0408/Sala_Green_GabrielCorreia | 1d22f466d372786c5f8c8eaba7202844b5f03445 | [
"Apache-2.0"
] | null | null | null | Aula01/Exercicio03.py | gabriel-correia0408/Sala_Green_GabrielCorreia | 1d22f466d372786c5f8c8eaba7202844b5f03445 | [
"Apache-2.0"
] | null | null | null | # Classe Circulo: Crie uma classe que modele uma bola:
#
# Atributos: Cor, raio, material
# Métodos: trocaCor, mostraCor, area (math.pi*raio**2)
# para acessar o pi:
# import math
# math.pi
# Classe Quadrado: Crie uma classe que modele um quadrado:
#
# Atributos: Tamanho do lado
# Métodos: Mudar valor do Lado, Retorna... | 23.575 | 82 | 0.693531 | 134 | 943 | 4.828358 | 0.447761 | 0.032458 | 0.060278 | 0.074189 | 0.108192 | 0.074189 | 0 | 0 | 0 | 0 | 0 | 0.001364 | 0.222694 | 943 | 39 | 83 | 24.179487 | 0.88131 | 0.679745 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.363636 | false | 0.272727 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1e366c09791897360353aaacf043f05a0076f0a2 | 680 | py | Python | bagpipe/exabgp/message/update/attribute/labels.py | taheri0/MPLS-over-GRE | 7d14b819d396b7779b02ea1150bcaf412cb6d36c | [
"Apache-2.0"
] | 94 | 2015-01-05T17:15:21.000Z | 2022-01-09T20:05:16.000Z | bagpipe/exabgp/message/update/attribute/labels.py | taheri0/MPLS-over-GRE | 7d14b819d396b7779b02ea1150bcaf412cb6d36c | [
"Apache-2.0"
] | 18 | 2015-03-16T16:16:55.000Z | 2017-03-27T11:22:38.000Z | bagpipe/exabgp/message/update/attribute/labels.py | taheri0/MPLS-over-GRE | 7d14b819d396b7779b02ea1150bcaf412cb6d36c | [
"Apache-2.0"
] | 36 | 2015-03-13T02:30:15.000Z | 2021-06-22T10:10:23.000Z | # encoding: utf-8
"""
labels.py
Created by Thomas Mangin on 2009-11-05.
Copyright (c) 2009-2012 Exa Networks. All rights reserved.
Modified by Orange - 2014
"""
from struct import pack
#from bagpipe.exabgp.message.update.attribute import AttributeID,Flag,Attribute
# =================================================... | 19.428571 | 79 | 0.627941 | 89 | 680 | 4.617978 | 0.640449 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042403 | 0.167647 | 680 | 35 | 80 | 19.428571 | 0.683746 | 0.452941 | 0 | 0 | 0 | 0 | 0.027548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.176471 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1e5ab18416df4205e5bf855cc62673e0bc16722c | 467 | py | Python | webhud/signaling/test/objects_test.py | eigendude/beachfronter | dd4eb5d719d93047c24cfaf32a96b291bf9056d8 | [
"Apache-2.0"
] | null | null | null | webhud/signaling/test/objects_test.py | eigendude/beachfronter | dd4eb5d719d93047c24cfaf32a96b291bf9056d8 | [
"Apache-2.0"
] | null | null | null | webhud/signaling/test/objects_test.py | eigendude/beachfronter | dd4eb5d719d93047c24cfaf32a96b291bf9056d8 | [
"Apache-2.0"
] | null | null | null | ################################################################################
#
# Copyright (C) 2020 Aclima, Inc
# This file is part of aclima-schema - https://github.com/Aclima/aclima-schema
#
# SPDX-License-Identifier: MIT
# See DOCS/LICENSING.md for more information.
#
########################################... | 27.470588 | 80 | 0.462527 | 41 | 467 | 5.243902 | 0.878049 | 0.111628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009756 | 0.122056 | 467 | 16 | 81 | 29.1875 | 0.514634 | 0.391863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 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 |
1e871e7be4f994cf1cfd89c9a4b868bc30e2a035 | 205 | py | Python | settings/settings.py | Partycode/opentfd | 2211012ccb3b96b5b48ae2ae27f874354e6ddc71 | [
"Apache-2.0"
] | null | null | null | settings/settings.py | Partycode/opentfd | 2211012ccb3b96b5b48ae2ae27f874354e6ddc71 | [
"Apache-2.0"
] | null | null | null | settings/settings.py | Partycode/opentfd | 2211012ccb3b96b5b48ae2ae27f874354e6ddc71 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import os
APP_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
SESSION_FILE_PATH = os.path.join(APP_PATH, 'settings', 'opentfd_session')
| 25.625 | 73 | 0.721951 | 32 | 205 | 4.34375 | 0.5625 | 0.172662 | 0.143885 | 0.215827 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.092683 | 205 | 7 | 74 | 29.285714 | 0.736559 | 0.209756 | 0 | 0 | 0 | 0 | 0.14375 | 0 | 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 |
1e941d0f1ea0bea6db578d655dff1e5ed3367636 | 781 | py | Python | sap/cf_logging/formatters/json_formatter.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 16 | 2017-11-30T06:17:07.000Z | 2021-09-13T13:41:17.000Z | sap/cf_logging/formatters/json_formatter.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 32 | 2017-12-01T14:48:17.000Z | 2022-02-19T04:49:55.000Z | sap/cf_logging/formatters/json_formatter.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 7 | 2018-03-08T15:52:55.000Z | 2022-02-27T18:52:57.000Z | """ Module for the JsonFormatter """
import json
import logging
import sys
from sap.cf_logging.record.simple_log_record import SimpleLogRecord
def _default_serializer(obj):
return str(obj)
if sys.version_info[0] == 3:
def _encode(obj):
return json.dumps(obj, default=_default_serializer)
else:
def ... | 27.892857 | 106 | 0.701665 | 95 | 781 | 5.631579 | 0.463158 | 0.095327 | 0.04486 | 0.06729 | 0.134579 | 0.134579 | 0 | 0 | 0 | 0 | 0 | 0.003195 | 0.198464 | 781 | 27 | 107 | 28.925926 | 0.851438 | 0.189501 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.235294 | 0.176471 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1e96de784904b01afc6ec3b2c98877a952ba909a | 2,081 | py | Python | src/compas_rhino/geometry/__init__.py | arpastrana/compas | ed677a162c14dbe562c82d72f370279259faf7da | [
"MIT"
] | null | null | null | src/compas_rhino/geometry/__init__.py | arpastrana/compas | ed677a162c14dbe562c82d72f370279259faf7da | [
"MIT"
] | null | null | null | src/compas_rhino/geometry/__init__.py | arpastrana/compas | ed677a162c14dbe562c82d72f370279259faf7da | [
"MIT"
] | null | null | null | """
********************************************************************************
geometry
********************************************************************************
.. currentmodule:: compas_rhino.geometry
.. rst-class:: lead
Wrappers for Rhino objects that can be used to convert Rhino geometry and data to... | 19.819048 | 97 | 0.62518 | 218 | 2,081 | 5.770642 | 0.279817 | 0.063593 | 0.120827 | 0.146264 | 0.471383 | 0.348967 | 0.348967 | 0.31717 | 0.31717 | 0.31717 | 0 | 0.027397 | 0.158097 | 2,081 | 104 | 98 | 20.009615 | 0.690639 | 0.852955 | 0 | 0 | 0 | 0 | 0.003448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1e974270a6cf3fb3cecc5bb2513b8e4bc658f7b9 | 5,757 | py | Python | tests/functional_test.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | null | null | null | tests/functional_test.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | null | null | null | tests/functional_test.py | Luxxii/ProtGraph | 68c3b362e2b487403fa02cfc25d456a272004a1f | [
"BSD-2-Clause"
] | null | null | null | import os
import unittest
import protgraph
class FunctionalTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
""" Set base Example Folder """
main_file_path = os.path.dirname(os.path.abspath(protgraph.__file__))
cls.examples_path = os.path.join(main_file_path, "..", "examples... | 39.163265 | 116 | 0.657982 | 740 | 5,757 | 4.843243 | 0.148649 | 0.0625 | 0.151786 | 0.196429 | 0.815848 | 0.663783 | 0.587054 | 0.561384 | 0.561384 | 0.540179 | 0 | 0.005185 | 0.195935 | 5,757 | 146 | 117 | 39.431507 | 0.769065 | 0.003995 | 0 | 0.293578 | 0 | 0 | 0.060426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.302752 | false | 0 | 0.027523 | 0 | 0.33945 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1e9c3050599f663b533b1cb0a02ba2db691c8a25 | 10,680 | py | Python | submitReason.py | converj/reasonSurvey | dd40784da4b07cfeb9fd873bab820d627cb026c1 | [
"Apache-2.0"
] | null | null | null | submitReason.py | converj/reasonSurvey | dd40784da4b07cfeb9fd873bab820d627cb026c1 | [
"Apache-2.0"
] | null | null | null | submitReason.py | converj/reasonSurvey | dd40784da4b07cfeb9fd873bab820d627cb026c1 | [
"Apache-2.0"
] | null | null | null | # Import external modules
from google.appengine.ext import ndb
import json
import logging
import os
import webapp2
# Import app modules
from configuration import const as conf
import httpServer
import linkKey
import proposal
import reason
import requestForProposals
import user
import text
from text import LogMessage
... | 57.112299 | 202 | 0.71573 | 1,001 | 10,680 | 7.604396 | 0.150849 | 0.04887 | 0.091435 | 0.148975 | 0.763006 | 0.746453 | 0.717551 | 0.675512 | 0.648187 | 0.615607 | 0 | 0.000694 | 0.190075 | 10,680 | 186 | 203 | 57.419355 | 0.879306 | 0.082772 | 0 | 0.40678 | 0 | 0 | 0.098095 | 0.00983 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.118644 | 0 | 0.169492 | 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 |
1ea9efb4fb19e24813db0928c0ed0206e678e2ed | 2,605 | py | Python | accounts/tests/test_password_change_done.py | chrstsrs/ToDoList | 8e13c5a8f6cabad0cf3f715ba9134dd82a46cc3e | [
"MIT"
] | 1 | 2019-01-18T07:47:04.000Z | 2019-01-18T07:47:04.000Z | accounts/tests/test_password_change_done.py | chrstsrs/ToDoList | 8e13c5a8f6cabad0cf3f715ba9134dd82a46cc3e | [
"MIT"
] | 6 | 2020-02-11T23:33:32.000Z | 2022-03-11T23:38:01.000Z | accounts/tests/test_password_change_done.py | chrstsrs/todolist | 8e13c5a8f6cabad0cf3f715ba9134dd82a46cc3e | [
"MIT"
] | null | null | null | from django.contrib.auth import views as auth_views
from django.contrib.auth.models import User
from django.urls import resolve, reverse
from django.test import TestCase
class PasswordChangeDoneIntoAccountTests(TestCase):
def setUp(self):
self.user = User.objects.create_user(
username... | 47.363636 | 83 | 0.732438 | 311 | 2,605 | 5.81672 | 0.221865 | 0.185738 | 0.199005 | 0.092869 | 0.595357 | 0.550028 | 0.458264 | 0.352681 | 0.352681 | 0.352681 | 0 | 0.010176 | 0.170058 | 2,605 | 54 | 84 | 48.240741 | 0.826549 | 0 | 0 | 0.302326 | 0 | 0 | 0.155625 | 0.123873 | 0 | 0 | 0 | 0 | 0.232558 | 1 | 0.209302 | false | 0.604651 | 0.093023 | 0 | 0.348837 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
949a575e64bb72e464301f15610f9e5cb6055022 | 760 | py | Python | statuscake/apis/__init__.py | StatusCakeDev/statuscake-py | 267f485e6c18a6ed6e17667ceaddfce6271ec4af | [
"MIT"
] | null | null | null | statuscake/apis/__init__.py | StatusCakeDev/statuscake-py | 267f485e6c18a6ed6e17667ceaddfce6271ec4af | [
"MIT"
] | null | null | null | statuscake/apis/__init__.py | StatusCakeDev/statuscake-py | 267f485e6c18a6ed6e17667ceaddfce6271ec4af | [
"MIT"
] | null | null | null |
# flake8: noqa
# Import all APIs into this package.
# If you have many APIs here with many many models used in each API this may
# raise a `RecursionError`.
# In order to avoid this, import only the API that you directly need like:
#
# from .api.contact_groups_api import ContactGroupsApi
#
# or import this package,... | 33.043478 | 76 | 0.803947 | 111 | 760 | 5.414414 | 0.513514 | 0.104825 | 0.169717 | 0.063228 | 0.136439 | 0.136439 | 0 | 0 | 0 | 0 | 0 | 0.001534 | 0.142105 | 760 | 22 | 77 | 34.545455 | 0.920245 | 0.521053 | 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 |
94a709c7f27ee0b74f048f79e1615f51f51da338 | 353 | py | Python | py/helpers/position.py | mezhov/goArm | c066f9ee28fd26bb3f53352ee8508f388b71c499 | [
"BSD-3-Clause"
] | null | null | null | py/helpers/position.py | mezhov/goArm | c066f9ee28fd26bb3f53352ee8508f388b71c499 | [
"BSD-3-Clause"
] | null | null | null | py/helpers/position.py | mezhov/goArm | c066f9ee28fd26bb3f53352ee8508f388b71c499 | [
"BSD-3-Clause"
] | null | null | null | class PositionHolder:
def __init__(self, p=''):
self._position = []
@property
def position(self):
return self._position
@position.setter
def position(self, new_position):
# check for new moves
# emit moves to UI if needed
self._position = new_position
d... | 20.764706 | 37 | 0.603399 | 41 | 353 | 4.95122 | 0.512195 | 0.17734 | 0.147783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.311615 | 353 | 16 | 38 | 22.0625 | 0.835391 | 0.130312 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0 | 0.090909 | 0.545455 | 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 |
94d1665972f91bfcdbc4a5f569453d0ea57d3e9e | 155 | py | Python | res_mods/mods/packages/xvm_battle/python/__version__.py | peterbartha/ImmunoMod | cbf8cd49893d7082a347c1f72c0e39480869318a | [
"MIT"
] | null | null | null | res_mods/mods/packages/xvm_battle/python/__version__.py | peterbartha/ImmunoMod | cbf8cd49893d7082a347c1f72c0e39480869318a | [
"MIT"
] | 1 | 2016-04-03T13:31:39.000Z | 2016-04-03T16:48:26.000Z | res_mods/mods/packages/xvm_tooltips/python/__version__.py | peterbartha/ImmunoMod | cbf8cd49893d7082a347c1f72c0e39480869318a | [
"MIT"
] | null | null | null | # This file was created automatically from build script
__revision__ = '7581'
__branch__ = 'default'
__node__ = 'c386bcd24648e215a00249e32d2d4bbd1a6992db'
| 31 | 55 | 0.819355 | 14 | 155 | 8.214286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211679 | 0.116129 | 155 | 4 | 56 | 38.75 | 0.627737 | 0.341935 | 0 | 0 | 0 | 0 | 0.51 | 0.4 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.