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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecc59a88a7dc7125aa15a0d1cdc79eb2cc1a95e7 | 753 | py | Python | vae-flux/src/losses/loss.py | BeeGass/Readable-VAEs | 50dcb03ad9b688c5249c52120cbbb5fed0a0a085 | [
"MIT"
] | 2 | 2022-01-02T16:41:14.000Z | 2022-01-07T05:18:04.000Z | vae-jax/src/losses/loss.py | BeeGass/Readable-VAEs | 50dcb03ad9b688c5249c52120cbbb5fed0a0a085 | [
"MIT"
] | null | null | null | vae-jax/src/losses/loss.py | BeeGass/Readable-VAEs | 50dcb03ad9b688c5249c52120cbbb5fed0a0a085 | [
"MIT"
] | null | null | null | import torch
import numpy as np
import torch.nn.functional as F
class Losses():
def __init__():
super(Losses, self).__init__()
def kl_divergence(mu, log_var):
return -0.5 * torch.sum(1 + log_var - mu.pow(2) - log_var.exp()) # *for the log_var.exp() portion*: e^ln(var) = var = sigma^2
... | 39.631579 | 133 | 0.645418 | 126 | 753 | 3.611111 | 0.420635 | 0.079121 | 0.043956 | 0.074725 | 0.167033 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025597 | 0.22178 | 753 | 19 | 134 | 39.631579 | 0.750853 | 0.288181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.214286 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ecd8a6f880404197ee457824556257f73576d76d | 36 | py | Python | pyInputTester/__init__.py | davig-sousa/pyInputTester | b681f74067b4aa9aab3beb19fc00144c1471c60b | [
"MIT"
] | 2 | 2020-03-26T02:03:42.000Z | 2020-06-02T20:20:07.000Z | pyInputTester/__init__.py | davigsousa/AlgTester | b681f74067b4aa9aab3beb19fc00144c1471c60b | [
"MIT"
] | null | null | null | pyInputTester/__init__.py | davigsousa/AlgTester | b681f74067b4aa9aab3beb19fc00144c1471c60b | [
"MIT"
] | 1 | 2019-10-28T01:42:03.000Z | 2019-10-28T01:42:03.000Z | __all__ = ['tools', 'pyInputTester'] | 36 | 36 | 0.694444 | 3 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.486486 | 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 |
01c131d14752705033c6f3212edfb809dc4c9360 | 616 | py | Python | falmer/auth/migrations/0006_auto_20180729_1422.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 2 | 2017-04-27T19:35:59.000Z | 2017-06-13T16:19:33.000Z | falmer/auth/migrations/0006_auto_20180729_1422.py | sussexstudent/falmer | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 975 | 2017-04-13T11:31:07.000Z | 2022-02-10T07:46:18.000Z | falmer/auth/migrations/0006_auto_20180729_1422.py | sussexstudent/services-api | ae735bd9d6177002c3d986e5c19a78102233308f | [
"MIT"
] | 3 | 2018-05-09T06:42:25.000Z | 2020-12-10T18:29:30.000Z | # Generated by Django 2.0.7 on 2018-07-29 13:22
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('falmer_auth', '0005_auto_20180226_1217'),
]
operations = [
migrations.AlterField(
model_name='falmeruser',
name='ema... | 25.666667 | 100 | 0.600649 | 64 | 616 | 5.640625 | 0.6875 | 0.110803 | 0.138504 | 0.160665 | 0.238227 | 0.238227 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.279221 | 616 | 23 | 101 | 26.782609 | 0.72973 | 0.073052 | 0 | 0.352941 | 1 | 0 | 0.13181 | 0.040422 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.117647 | 0.058824 | 0 | 0.235294 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
01c361a0bfe83ebf1bd500a3f99584b53dd238c9 | 235 | py | Python | feed_readers/feed_reader_base.py | lucaskjaero/example-sentence-finder | 883312732add7fb04fc674ce791ff0e2808db523 | [
"MIT"
] | null | null | null | feed_readers/feed_reader_base.py | lucaskjaero/example-sentence-finder | 883312732add7fb04fc674ce791ff0e2808db523 | [
"MIT"
] | null | null | null | feed_readers/feed_reader_base.py | lucaskjaero/example-sentence-finder | 883312732add7fb04fc674ce791ff0e2808db523 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
__author__ = 'Lucas Kjaero'
class FeedReader:
# Makes this an abstract class.
__metaclass__ = ABCMeta
@abstractmethod
def get_articles(self):
raise NotImplementedError
| 19.583333 | 39 | 0.72766 | 24 | 235 | 6.75 | 0.875 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221277 | 235 | 11 | 40 | 21.363636 | 0.885246 | 0.123404 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
01cff6cf76d6368bc3da390f9e99afdfeeabf29d | 365 | py | Python | ippon/models/cup_phase.py | morynicz/ippon_back | dce901bfc649c6f8efbbf0907654e0860606b3e3 | [
"MIT"
] | null | null | null | ippon/models/cup_phase.py | morynicz/ippon_back | dce901bfc649c6f8efbbf0907654e0860606b3e3 | [
"MIT"
] | 13 | 2018-12-22T15:30:56.000Z | 2022-03-12T00:22:31.000Z | ippon/models/cup_phase.py | morynicz/ippon_back | dce901bfc649c6f8efbbf0907654e0860606b3e3 | [
"MIT"
] | 2 | 2019-06-01T11:28:23.000Z | 2020-03-27T15:19:11.000Z | from django.db import models
class CupPhase(models.Model):
tournament = models.ForeignKey('Tournament', related_name='cup_phases', on_delete=models.PROTECT)
fight_length = models.IntegerField()
final_fight_length = models.IntegerField()
name = models.CharField(max_length=100, blank=False)
number_o... | 36.5 | 101 | 0.769863 | 45 | 365 | 6.044444 | 0.688889 | 0.198529 | 0.125 | 0.213235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012539 | 0.126027 | 365 | 9 | 102 | 40.555556 | 0.840125 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
01d2447fd7252ad9a1636bb2f79803c8b46dbcf0 | 497 | py | Python | src/flasko/user/user.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | 1 | 2020-02-28T13:22:24.000Z | 2020-02-28T13:22:24.000Z | src/flasko/user/user.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | null | null | null | src/flasko/user/user.py | fitiavana07/flasko | 6bdff4d056514c0c1abcc962707c7992f2e20ced | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from mongoengine import Document
class User(Document):
"""User document.
Used only to check access token.
This class should not be used to create a user,
except for testing.
"""
meta = {"strict": False}
def get_id(self):
return str(self.id)
@property... | 17.137931 | 51 | 0.609658 | 63 | 497 | 4.746032 | 0.619048 | 0.133779 | 0.130435 | 0.147157 | 0.180602 | 0.180602 | 0 | 0 | 0 | 0 | 0 | 0.002865 | 0.297787 | 497 | 28 | 52 | 17.75 | 0.853868 | 0.279678 | 0 | 0.357143 | 0 | 0 | 0.01791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.285714 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
01da16318e6294e62bd1df74bb7f9c61fbcc3c92 | 113 | py | Python | Reader.py | TianshuangQiu/Composer-Bot | 5ee668e67e7f490cd49d7c340de9dcf2b5bc9111 | [
"MIT"
] | null | null | null | Reader.py | TianshuangQiu/Composer-Bot | 5ee668e67e7f490cd49d7c340de9dcf2b5bc9111 | [
"MIT"
] | null | null | null | Reader.py | TianshuangQiu/Composer-Bot | 5ee668e67e7f490cd49d7c340de9dcf2b5bc9111 | [
"MIT"
] | null | null | null | import magenta
def readfile(path):
print("Reading file from " + path)
file = open(path,"r")
return 0 | 18.833333 | 38 | 0.637168 | 16 | 113 | 4.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.238938 | 113 | 6 | 39 | 18.833333 | 0.825581 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 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 |
01f0afa121111a8de74cf9d7925dedf323e3a0f3 | 573 | py | Python | cosmosis/runtime/declare.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | 2 | 2021-06-18T14:11:59.000Z | 2022-02-23T19:19:36.000Z | cosmosis/runtime/declare.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | 2 | 2021-11-02T12:44:24.000Z | 2022-03-30T15:09:48.000Z | cosmosis/runtime/declare.py | ktanidis2/Modified_CosmoSIS_for_galaxy_number_count_angular_power_spectra | 07e5d308c6a8641a369a3e0b8d13c4104988cd2b | [
"BSD-2-Clause"
] | 2 | 2022-03-25T21:26:27.000Z | 2022-03-29T06:37:46.000Z |
from cosmosis.datablock import option_section
# from cosmosis.datablock.cosmosis_py.block import option_section
def mksetup(cls):
def setup(config):
return cls(config,option_section)
return setup
def execute(block, state):
return state.execute(block)
def cleanup(state):
return state.clea... | 26.045455 | 65 | 0.727749 | 72 | 573 | 5.277778 | 0.333333 | 0.084211 | 0.110526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160558 | 573 | 21 | 66 | 27.285714 | 0.790021 | 0.109948 | 0 | 0 | 0 | 0 | 0.072978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.2 | 0.733333 | 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 |
01fa877c0dd1cae4653f781a813c0dcaa3c224b0 | 141 | py | Python | Python3/basico/soma.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/basico/soma.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | Python3/basico/soma.py | arthursiq5/programacao-progressiva | 2ec91602a6f37c93b99e6a92239045cd1c4cef6b | [
"MIT"
] | null | null | null | num1 = int(input('Digite um número: '))
num2 = int(input('Digite outro número: '))
soma = num1 + num2
print('A soma vale {}'.format(soma))
| 20.142857 | 42 | 0.64539 | 21 | 141 | 4.333333 | 0.619048 | 0.175824 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.163121 | 141 | 6 | 43 | 23.5 | 0.737288 | 0 | 0 | 0 | 0 | 0 | 0.375887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
bf1949547418b2bc4b16ec3eef979311dad9c286 | 6,595 | py | Python | src/pyrin/converters/deserializer/handlers/datetime.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/converters/deserializer/handlers/datetime.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/converters/deserializer/handlers/datetime.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
deserializer handlers datetime module.
"""
import pyrin.globalization.datetime.services as datetime_services
from pyrin.core.globals import NULL
from pyrin.converters.deserializer.handlers.base import StringPatternDeserializerBase
from pyrin.converters.deserializer.decorators import deseri... | 34.528796 | 95 | 0.57953 | 659 | 6,595 | 5.610015 | 0.182094 | 0.029213 | 0.051934 | 0.030836 | 0.758723 | 0.703273 | 0.672437 | 0.672437 | 0.672437 | 0.672437 | 0 | 0.006362 | 0.356482 | 6,595 | 190 | 96 | 34.710526 | 0.86475 | 0.546171 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.183673 | false | 0 | 0.102041 | 0 | 0.530612 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bf235069e35fff400ea10c0406e468b4a23063f4 | 197 | py | Python | test/testDNP3.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | test/testDNP3.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | test/testDNP3.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | import protocols.dnp3
from scapy.sendrecv import sniff
if __name__ == '__main__':
pcap = sniff(offline="../pcaps/dnp3/assign_class.pcap")
# pcap.show()
for i in pcap:
i.show()
| 21.888889 | 59 | 0.654822 | 27 | 197 | 4.444444 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.208122 | 197 | 8 | 60 | 24.625 | 0.75641 | 0.055838 | 0 | 0 | 0 | 0 | 0.211957 | 0.168478 | 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 |
bf2b06a291a1d90d4b880f7eb4907ec1eeeb5686 | 53 | py | Python | apps/myzone/__init__.py | lixiaolongxl/DBlog | 7de45c9d571499109f46c1e05be764062e7554f9 | [
"MIT"
] | null | null | null | apps/myzone/__init__.py | lixiaolongxl/DBlog | 7de45c9d571499109f46c1e05be764062e7554f9 | [
"MIT"
] | 11 | 2020-03-24T17:45:37.000Z | 2022-03-12T00:04:10.000Z | apps/myzone/__init__.py | lixiaolongxl/DBlog | 7de45c9d571499109f46c1e05be764062e7554f9 | [
"MIT"
] | null | null | null | default_app_config = "apps.myzone.apps.MyzoneConfig"
| 26.5 | 52 | 0.830189 | 7 | 53 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.54717 | 0.54717 | 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 |
bf2cc268c05176210c982abb6c2c36b9973efb54 | 336 | py | Python | tests/kyu_8_tests/test_opposite_number.py | simonporter007/codewars-python-solutions | f05799f902b0fa10c5e3a28055bf07758c289087 | [
"MIT"
] | null | null | null | tests/kyu_8_tests/test_opposite_number.py | simonporter007/codewars-python-solutions | f05799f902b0fa10c5e3a28055bf07758c289087 | [
"MIT"
] | null | null | null | tests/kyu_8_tests/test_opposite_number.py | simonporter007/codewars-python-solutions | f05799f902b0fa10c5e3a28055bf07758c289087 | [
"MIT"
] | null | null | null |
import unittest
from katas.kyu_8.opposite_number import opposite
class OppositeNumberTestCases(unittest.TestCase):
def test_equals(self):
self.assertEqual(opposite(1), -1)
def test_equals_2(self):
self.assertEqual(opposite(14), -14)
def test_equals_3(self):
self.assertEqual(opp... | 21 | 49 | 0.708333 | 43 | 336 | 5.372093 | 0.488372 | 0.090909 | 0.168831 | 0.350649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047445 | 0.184524 | 336 | 15 | 50 | 22.4 | 0.79562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
17102d51b0e4fc9fb76e4c374c39228d3fb8f4b4 | 367 | py | Python | flag_engine/projects/models.py | Flagsmith/flagsmith-engine | a33097a772f30a275a9ebcba88627552877be0b5 | [
"BSD-3-Clause"
] | 4 | 2021-09-01T10:16:49.000Z | 2022-02-15T04:23:07.000Z | flag_engine/projects/models.py | Flagsmith/flagsmith-engine | a33097a772f30a275a9ebcba88627552877be0b5 | [
"BSD-3-Clause"
] | 21 | 2021-10-01T13:37:17.000Z | 2022-03-24T10:47:07.000Z | flag_engine/projects/models.py | Flagsmith/flagsmith-engine | a33097a772f30a275a9ebcba88627552877be0b5 | [
"BSD-3-Clause"
] | 1 | 2022-02-28T19:19:37.000Z | 2022-02-28T19:19:37.000Z | import typing
from dataclasses import dataclass, field
from flag_engine.organisations.models import OrganisationModel
from flag_engine.segments.models import SegmentModel
@dataclass
class ProjectModel:
id: int
name: str
organisation: OrganisationModel
hide_disabled_flags: bool
segments: typing.Li... | 24.466667 | 69 | 0.803815 | 42 | 367 | 6.904762 | 0.642857 | 0.055172 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144414 | 367 | 14 | 70 | 26.214286 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
17111af6ea3d4eb426cd74ff443858055ab7388c | 510 | py | Python | Leetcode-longest substring/my_submission.py | chatterjeerajdeep/python-everyday | 342056a8ceacf154aa80b7d8f5b9239562b1d328 | [
"MIT"
] | null | null | null | Leetcode-longest substring/my_submission.py | chatterjeerajdeep/python-everyday | 342056a8ceacf154aa80b7d8f5b9239562b1d328 | [
"MIT"
] | null | null | null | Leetcode-longest substring/my_submission.py | chatterjeerajdeep/python-everyday | 342056a8ceacf154aa80b7d8f5b9239562b1d328 | [
"MIT"
] | null | null | null | class Solution:
def lengthOfLongestSubstring(self, s: str) -> int:
len_ = 0
temp_list = []
for ch in s:
if ch in temp_list:
print(ch)
len_ = max(len_, len(temp_list))
temp_list = temp_list[temp_list.index(ch)+1:]
pri... | 30 | 61 | 0.466667 | 58 | 510 | 3.827586 | 0.396552 | 0.36036 | 0.216216 | 0.288288 | 0.306306 | 0.306306 | 0.198198 | 0 | 0 | 0 | 0 | 0.007067 | 0.445098 | 510 | 17 | 62 | 30 | 0.777385 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.2 | 0.133333 | 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 |
172997ce5648f90756166283d4293f70641aa3dc | 24 | py | Python | swiftype/version.py | zapier/swiftype-py | 2d6a0cd09dae56eb57468cfb25ba3d1fb15a7434 | [
"MIT"
] | null | null | null | swiftype/version.py | zapier/swiftype-py | 2d6a0cd09dae56eb57468cfb25ba3d1fb15a7434 | [
"MIT"
] | null | null | null | swiftype/version.py | zapier/swiftype-py | 2d6a0cd09dae56eb57468cfb25ba3d1fb15a7434 | [
"MIT"
] | 1 | 2021-09-08T09:19:10.000Z | 2021-09-08T09:19:10.000Z | VERSION = "1.2.3.post1"
| 12 | 23 | 0.625 | 5 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 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 |
172fc5c9726a6e305ccaa1a7351b2e5fcad80910 | 298 | py | Python | scheduler/view/machines.py | rafaelsamenezes/benchexec-scheduler | 27f4999510a1b47e7af8a6cb83ed45fa22a5edd6 | [
"MIT"
] | null | null | null | scheduler/view/machines.py | rafaelsamenezes/benchexec-scheduler | 27f4999510a1b47e7af8a6cb83ed45fa22a5edd6 | [
"MIT"
] | null | null | null | scheduler/view/machines.py | rafaelsamenezes/benchexec-scheduler | 27f4999510a1b47e7af8a6cb83ed45fa22a5edd6 | [
"MIT"
] | null | null | null | import scheduler.view.base as B
class Machines(B.Base):
def __init__(self):
super().__init__("Machines")
def _template_path(self):
return "web/machines.html"
def _generate_template_args(self):
d = super().generate_template_args()
return d | 22.923077 | 45 | 0.627517 | 36 | 298 | 4.777778 | 0.555556 | 0.186047 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265101 | 298 | 13 | 46 | 22.923077 | 0.785388 | 0 | 0 | 0 | 0 | 0 | 0.087108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1734083378b2a22a1284396110db23f7a4a77ad9 | 1,019 | py | Python | tests/test_list_invoices.py | EndevelCZ/pysuperfaktura | 1d0f9014ee6325282724a1bc165a6d8ec5e9aad9 | [
"BSD-3-Clause"
] | 2 | 2017-05-21T15:59:10.000Z | 2022-03-27T08:12:19.000Z | tests/test_list_invoices.py | backslash7/pysuperfaktura | cc01ae05aa26f50b685d118a2936367bf03462cb | [
"BSD-3-Clause"
] | null | null | null | tests/test_list_invoices.py | backslash7/pysuperfaktura | cc01ae05aa26f50b685d118a2936367bf03462cb | [
"BSD-3-Clause"
] | 3 | 2015-05-12T09:23:09.000Z | 2019-11-15T10:49:39.000Z | __author__ = 'backslash7 <lukas.stana@it-admin.sk>'
import unittest
from pysuperfaktura.SFClient import SFClient
LOGIN = 'YOUR LOGIN HERE!'
APIKEY = 'YOUR API KEY HERE!'
class ListTest(unittest.TestCase):
def setUp(self):
self.client = SFClient(LOGIN, APIKEY)
def testListAllInvoices(self... | 30.878788 | 79 | 0.701668 | 114 | 1,019 | 6.052632 | 0.394737 | 0.081159 | 0.182609 | 0.208696 | 0.353623 | 0.353623 | 0.353623 | 0.133333 | 0 | 0 | 0 | 0.01444 | 0.184495 | 1,019 | 33 | 80 | 30.878788 | 0.815884 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.025304 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.318182 | false | 0 | 0.090909 | 0 | 0.454545 | 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 |
174dda2331e6d07bc4b66bc1b7819cca3c0737e4 | 195 | py | Python | local_datetime_to_unix.py | Noorts/espanso-discord-time | ee681cc5eeaababe4e4be84ac7493c62de9708e1 | [
"Unlicense"
] | null | null | null | local_datetime_to_unix.py | Noorts/espanso-discord-time | ee681cc5eeaababe4e4be84ac7493c62de9708e1 | [
"Unlicense"
] | null | null | null | local_datetime_to_unix.py | Noorts/espanso-discord-time | ee681cc5eeaababe4e4be84ac7493c62de9708e1 | [
"Unlicense"
] | null | null | null | import os
from datetime import datetime
date_time_raw = os.environ['ESPANSO_FORM1_NAME']
date_time = datetime.strptime(date_time_raw, '%d-%m-%Y %H:%M')
print(int(datetime.timestamp(date_time))) | 27.857143 | 62 | 0.774359 | 32 | 195 | 4.46875 | 0.59375 | 0.223776 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005587 | 0.082051 | 195 | 7 | 63 | 27.857143 | 0.793296 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
17584ea50572cf2e4646d1254f9950a7cd8b4cb6 | 1,537 | py | Python | deepdoctection/extern/__init__.py | deepdoctection/deepdoctection | 7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036 | [
"Apache-2.0"
] | 39 | 2021-12-14T11:05:25.000Z | 2022-03-31T18:50:58.000Z | deepdoctection/extern/__init__.py | deepdoctection/deepdoctection | 7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036 | [
"Apache-2.0"
] | 17 | 2022-01-04T14:32:26.000Z | 2022-03-29T14:01:36.000Z | deepdoctection/extern/__init__.py | deepdoctection/deepdoctection | 7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036 | [
"Apache-2.0"
] | 4 | 2022-01-11T16:40:17.000Z | 2022-03-30T02:09:55.000Z | # -*- coding: utf-8 -*-
# File: __init__.py
# Copyright 2021 Dr. Janis Meyer. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICE... | 35.744186 | 118 | 0.764476 | 229 | 1,537 | 5.100437 | 0.606987 | 0.077055 | 0.02226 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007825 | 0.16851 | 1,537 | 42 | 119 | 36.595238 | 0.906103 | 0.752765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.923077 | 0 | 0.923077 | 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 |
175f498669e18a7d0e023e849224dc4b87ec1cd4 | 630 | py | Python | app/models/forms.py | PaulloClara/Toilter | 2bb170bfb64b74dde484cc5aeac9720551916778 | [
"MIT"
] | null | null | null | app/models/forms.py | PaulloClara/Toilter | 2bb170bfb64b74dde484cc5aeac9720551916778 | [
"MIT"
] | null | null | null | app/models/forms.py | PaulloClara/Toilter | 2bb170bfb64b74dde484cc5aeac9720551916778 | [
"MIT"
] | 1 | 2021-06-23T21:12:21.000Z | 2021-06-23T21:12:21.000Z | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, BooleanField
from wtforms.validators import DataRequired
class LoginForm(FlaskForm):
username = StringField('username', validators=[DataRequired()])
password = PasswordField('password', validators=[DataRequired()])
rememberMe = Bool... | 37.058824 | 67 | 0.769841 | 55 | 630 | 8.8 | 0.345455 | 0.272727 | 0.115702 | 0.14876 | 0.495868 | 0.495868 | 0.301653 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 630 | 17 | 68 | 37.058824 | 0.856637 | 0 | 0 | 0.333333 | 0 | 0 | 0.080824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
178ff70720319b3d8aec0c8c00873a702883935f | 11,356 | py | Python | mars/tensor/core.py | ChenQuan/mars | 46fc9747e99210cebfabfc2d85bcc8272440d1a3 | [
"Apache-2.0"
] | null | null | null | mars/tensor/core.py | ChenQuan/mars | 46fc9747e99210cebfabfc2d85bcc8272440d1a3 | [
"Apache-2.0"
] | null | null | null | mars/tensor/core.py | ChenQuan/mars | 46fc9747e99210cebfabfc2d85bcc8272440d1a3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 1999-2018 Alibaba Group Holding Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-... | 28.319202 | 103 | 0.583128 | 1,400 | 11,356 | 4.574286 | 0.217143 | 0.027483 | 0.024047 | 0.008745 | 0.259369 | 0.221736 | 0.187071 | 0.182386 | 0.159744 | 0.131012 | 0 | 0.012585 | 0.300282 | 11,356 | 400 | 104 | 28.39 | 0.793355 | 0.264266 | 0 | 0.311558 | 0 | 0 | 0.023896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241206 | false | 0 | 0.105528 | 0.100503 | 0.683417 | 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 |
17903c32b851c55b6f319038e872fc8f057743b5 | 284 | py | Python | Licence 2/I33/TP 1/ex_4.py | axelcoezard/licence | 1ed409c4572dea080169171beb7e8571159ba071 | [
"MIT"
] | 8 | 2020-11-26T20:45:12.000Z | 2021-11-29T15:46:22.000Z | Licence 2/I33/TP 1/ex_4.py | axelcoezard/licence | 1ed409c4572dea080169171beb7e8571159ba071 | [
"MIT"
] | null | null | null | Licence 2/I33/TP 1/ex_4.py | axelcoezard/licence | 1ed409c4572dea080169171beb7e8571159ba071 | [
"MIT"
] | 6 | 2020-10-23T15:29:24.000Z | 2021-05-05T19:10:45.000Z | def minimum2(L):
min_1 = L[0]
min_2 = L[1]
if min_1 < min_2:
min_1, min_2 = min_2, min_1
i = 0
while i < len(L):
if L[i] < min_1:
min_2, min_1 = min_1, L[i]
elif L[i] < min_2 and L[i] > min_1:
min_2 = L[i]
i += 1
return min_2
print(minimum2([3,2,5,7,2]))
| 17.75 | 38 | 0.545775 | 69 | 284 | 2.014493 | 0.26087 | 0.230216 | 0.251799 | 0.230216 | 0.330935 | 0.302158 | 0.215827 | 0 | 0 | 0 | 0 | 0.131707 | 0.278169 | 284 | 15 | 39 | 18.933333 | 0.546341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.142857 | 0.071429 | 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 |
17a347f3447bc38a39edd1de94991fa6d3beae08 | 663 | py | Python | search_engine_parser/__init__.py | reiarthur/search-engine-parser | 056c1c321acb48301fda9c73a991fe2914f20ac5 | [
"MIT"
] | 1 | 2019-10-23T10:50:55.000Z | 2019-10-23T10:50:55.000Z | search_engine_parser/__init__.py | reiarthur/search-engine-parser | 056c1c321acb48301fda9c73a991fe2914f20ac5 | [
"MIT"
] | null | null | null | search_engine_parser/__init__.py | reiarthur/search-engine-parser | 056c1c321acb48301fda9c73a991fe2914f20ac5 | [
"MIT"
] | null | null | null | """
@author
Domnan Diretnan
Artificial Intelligence Enthusiast & Software Engineer.
Email: diretnandomnan@gmail.com
Github: https://github.com/deven96
GitLab: https://gitlab.com/Deven96
Mmadu Manasseh
Email: mmadumanasseh@gmail.com
Github: https://github.com/mensaah
GitLab: https://gi... | 22.1 | 60 | 0.71644 | 89 | 663 | 5.269663 | 0.617978 | 0.059701 | 0.059701 | 0.081023 | 0.196162 | 0.196162 | 0.076759 | 0 | 0 | 0 | 0 | 0.073126 | 0.174962 | 663 | 29 | 61 | 22.862069 | 0.784278 | 0.871795 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
17a61095cf5d17e1d1802de81fb0d82c378bf087 | 299 | py | Python | demo/goldbach/submissions/6.py | chrispyles/pybryt | 23f8bfce3179638ec5b4efe3555d3bb4e7321dc0 | [
"MIT"
] | 41 | 2021-02-17T20:45:17.000Z | 2022-03-16T19:39:00.000Z | demo/goldbach/submissions/6.py | chrispyles/pybryt | 23f8bfce3179638ec5b4efe3555d3bb4e7321dc0 | [
"MIT"
] | 120 | 2021-03-05T01:11:45.000Z | 2022-03-23T04:08:58.000Z | demo/goldbach/submissions/6.py | chrispyles/pybryt | 23f8bfce3179638ec5b4efe3555d3bb4e7321dc0 | [
"MIT"
] | 18 | 2021-02-14T04:27:34.000Z | 2022-03-03T07:29:49.000Z | def check_goldbach_for_num(n,primes_set) :
'''gets an even integer- n, and a set of primes- primes_set. Returns whether there're two primes which their sum is n'''
for prime in primes_set :
if ((p < n) and ((n - prime) in primes_set)):
return True
return False
| 33.222222 | 124 | 0.638796 | 49 | 299 | 3.755102 | 0.632653 | 0.195652 | 0.141304 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270903 | 299 | 8 | 125 | 37.375 | 0.844037 | 0.381271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
bd60e7488684246a8344d02180ee819e97eaf18e | 147 | py | Python | scraping/urls.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | null | null | null | scraping/urls.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 5 | 2021-03-19T01:48:51.000Z | 2021-09-22T18:52:20.000Z | scraping/urls.py | stepacool/work4sharingPy | c6ffdb3ac8a2956181c290bc4617e3cb11e13dba | [
"MIT"
] | 2 | 2020-04-16T20:23:11.000Z | 2020-04-18T12:35:46.000Z | from django.urls import path
from scraping.views import CreateEmployeeView
urlpatterns = [
path('employees/', CreateEmployeeView.as_view())
] | 21 | 52 | 0.77551 | 16 | 147 | 7.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 7 | 53 | 21 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bd63269f378e0216c9a38f58309de0b282ffdcc1 | 4,367 | py | Python | tests/aws/test_data_safe.py | sentinel-hub/sentinelhub | de16389228946e1bce4176e8e335491ec4ea8ed9 | [
"MIT"
] | null | null | null | tests/aws/test_data_safe.py | sentinel-hub/sentinelhub | de16389228946e1bce4176e8e335491ec4ea8ed9 | [
"MIT"
] | null | null | null | tests/aws/test_data_safe.py | sentinel-hub/sentinelhub | de16389228946e1bce4176e8e335491ec4ea8ed9 | [
"MIT"
] | null | null | null | import os
import pytest
from sentinelhub import DataCollection, read_data, write_data
from sentinelhub.aws import AwsConstants, AwsProductRequest, AwsTileRequest
@pytest.fixture(name="safe_folder", scope="session")
def safe_folder_fixture(input_folder):
"""Provides a folder each file contains a definition of a ... | 49.067416 | 119 | 0.741699 | 527 | 4,367 | 5.641366 | 0.470588 | 0.020182 | 0.010091 | 0.016145 | 0.07669 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357791 | 0.141745 | 4,367 | 88 | 120 | 49.625 | 0.435432 | 0.071903 | 0 | 0.097222 | 0 | 0 | 0.543699 | 0.449864 | 0 | 0 | 0 | 0 | 0.013889 | 1 | 0.027778 | false | 0 | 0.055556 | 0 | 0.097222 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bd70f95734b70adecdf6515412e876fbaaf8215d | 342 | py | Python | yakutils/_random.py | philippeitis/yakutils | 4c96b9ec8ac7b454377d6b3404d151779b34c651 | [
"MIT-0"
] | null | null | null | yakutils/_random.py | philippeitis/yakutils | 4c96b9ec8ac7b454377d6b3404d151779b34c651 | [
"MIT-0"
] | null | null | null | yakutils/_random.py | philippeitis/yakutils | 4c96b9ec8ac7b454377d6b3404d151779b34c651 | [
"MIT-0"
] | null | null | null | """This module contains boilerplate random helpers."""
import random
from string import ascii_letters
from string import digits
__all__ = ["random_string"]
def random_string(n):
"""Generate a random alphanumeric string of size ``n``."""
symbols = ascii_letters + digits
return "".join(random.choice(symbol... | 26.307692 | 62 | 0.72807 | 46 | 342 | 5.23913 | 0.608696 | 0.082988 | 0.13278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160819 | 342 | 12 | 63 | 28.5 | 0.839721 | 0.295322 | 0 | 0 | 1 | 0 | 0.056522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bdcb1a57b72fb8c8b61584aaa6f03047dc2be982 | 933 | py | Python | Section 10 - Expressoes Lambdas e Funcoes/any_all.py | thiagofreitascarneiro/Python-avancado-Geek-University | 861b742ad6b30955fcbe63274b8cf8afc6ca028f | [
"MIT"
] | null | null | null | Section 10 - Expressoes Lambdas e Funcoes/any_all.py | thiagofreitascarneiro/Python-avancado-Geek-University | 861b742ad6b30955fcbe63274b8cf8afc6ca028f | [
"MIT"
] | null | null | null | Section 10 - Expressoes Lambdas e Funcoes/any_all.py | thiagofreitascarneiro/Python-avancado-Geek-University | 861b742ad6b30955fcbe63274b8cf8afc6ca028f | [
"MIT"
] | null | null | null | '''
Any e All
all() - Retorna True se todos os elementos do iterável são verdadeiros ou ainda se o iterável está vazio.
# Exemplo all()
print(all([0, 1, 2, 3, 4])) # Todos os números são verdadeiros ? False
print(all([1, 2, 3, 4, 5])) # Todos os números são verdadeiros ? True
print(all([])) # True iteravel vazio
p... | 23.923077 | 112 | 0.637728 | 150 | 933 | 3.966667 | 0.346667 | 0.094118 | 0.015126 | 0.020168 | 0.376471 | 0.302521 | 0.067227 | 0 | 0 | 0 | 0 | 0.035387 | 0.182208 | 933 | 38 | 113 | 24.552632 | 0.74443 | 0.982851 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.105263 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bdedfc9acbaa628510cefa2c397a7f7723f39118 | 324 | py | Python | tehnology/mainapp/serializers.py | PlagueEvgeny/tehnology | 0f46418875482cd34fa526dc431df18fddbb590b | [
"MIT"
] | null | null | null | tehnology/mainapp/serializers.py | PlagueEvgeny/tehnology | 0f46418875482cd34fa526dc431df18fddbb590b | [
"MIT"
] | null | null | null | tehnology/mainapp/serializers.py | PlagueEvgeny/tehnology | 0f46418875482cd34fa526dc431df18fddbb590b | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from mainapp.models import Category, Courses
class CategorySerializer(ModelSerializer):
class Meta:
model = Category
fields = '__all__'
class CourseSerializer(ModelSerializer):
class Meta:
model = Courses
fields = '__all... | 20.25 | 54 | 0.712963 | 30 | 324 | 7.4 | 0.566667 | 0.18018 | 0.216216 | 0.261261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228395 | 324 | 15 | 55 | 21.6 | 0.888 | 0 | 0 | 0.4 | 0 | 0 | 0.04321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
da3b727eab05fb339a9ad6aa59132806c41b6578 | 2,337 | py | Python | backend/db/entities/mixin/perusahaan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/mixin/perusahaan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/mixin/perusahaan.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | import re
from sqlalchemy import Column, String
from sqlalchemy.orm import relationship
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy.ext.hybrid import hybrid_property
from .general import MxAiId
from rpc.gen.data.perusahaan.errors.ttypes import TPerusahaanError, TPerusahaanErrorCode
import rpc... | 24.092784 | 101 | 0.660676 | 258 | 2,337 | 5.825581 | 0.325581 | 0.037259 | 0.03992 | 0.08982 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258023 | 2,337 | 96 | 102 | 24.34375 | 0.866782 | 0.05092 | 0 | 0.074074 | 0 | 0 | 0.037392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.018519 | 0.148148 | 0.12963 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
da44d8ec21f90c3640c270768b81c213df03a803 | 23 | py | Python | varsome_api/tests/__init__.py | definitelysean/varsome-api-client-python | 43ebeb65baf94e745a2f0e8ec326ed09f681bf24 | [
"Apache-2.0"
] | 23 | 2018-01-12T20:09:19.000Z | 2022-02-26T13:39:36.000Z | varsome_api/tests/__init__.py | definitelysean/varsome-api-client-python | 43ebeb65baf94e745a2f0e8ec326ed09f681bf24 | [
"Apache-2.0"
] | 3 | 2018-01-15T11:10:40.000Z | 2019-05-20T07:37:20.000Z | varsome_api/tests/__init__.py | definitelysean/varsome-api-client-python | 43ebeb65baf94e745a2f0e8ec326ed09f681bf24 | [
"Apache-2.0"
] | 11 | 2018-01-12T11:07:56.000Z | 2021-09-29T18:02:27.000Z | __author__ = "ckopanos" | 23 | 23 | 0.782609 | 2 | 23 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
da50bb57c0acf9bd22711c98310689e0a617a1d5 | 171 | py | Python | tests/fixtures/flake8/no_errors.py | josemanimala/lint-review | a0abdf2ec29fb63855b5caca36eea6bc2693cc92 | [
"MIT"
] | 271 | 2015-01-28T15:48:10.000Z | 2022-03-13T17:23:43.000Z | tests/fixtures/flake8/no_errors.py | josemanimala/lint-review | a0abdf2ec29fb63855b5caca36eea6bc2693cc92 | [
"MIT"
] | 237 | 2015-01-06T10:31:12.000Z | 2020-10-08T01:48:18.000Z | tests/fixtures/flake8/no_errors.py | check-spelling/lint-review | b0a5f34ab3808a4752c8e6eac278557530717057 | [
"MIT"
] | 84 | 2015-02-24T17:02:20.000Z | 2022-03-28T04:44:35.000Z | """
Sample Python File with No PEP8 Errors.
Used for testing the pep8.Tool
"""
def does_something(thing):
"""Do a thing and then return."""
return thing.buzz()
| 15.545455 | 39 | 0.672515 | 26 | 171 | 4.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.204678 | 171 | 10 | 40 | 17.1 | 0.823529 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
da63912ecafaad0de6cb7b83391c46f54386fb7b | 150 | py | Python | src/jk_utils/oop.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null | src/jk_utils/oop.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null | src/jk_utils/oop.py | jkpubsrc/python-module-jk-utils | 6bf97b3dcde7a970c20ca43323e2eb0dda8fbfb3 | [
"Apache-1.1"
] | null | null | null |
def singleton(clazz):
assert clazz
assert type(clazz) == type
clazz.instance = clazz()
clazz.INSTANCE = clazz.instance
return clazz
#
| 7.894737 | 32 | 0.68 | 18 | 150 | 5.666667 | 0.388889 | 0.382353 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 150 | 18 | 33 | 8.333333 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 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 |
da7ab8c82a6f7cb93db73428f45e24d5cd6b2f00 | 109 | py | Python | apps/misc/tasks.py | velasquezerik/start-django-project | 1ecbf3e6c78dc61f20e38a11720cd2d43f58d3ed | [
"MIT"
] | 1 | 2020-12-16T16:31:38.000Z | 2020-12-16T16:31:38.000Z | apps/misc/tasks.py | velasquezerik/start-django-project | 1ecbf3e6c78dc61f20e38a11720cd2d43f58d3ed | [
"MIT"
] | 5 | 2020-06-05T23:43:16.000Z | 2021-04-16T20:30:56.000Z | apps/misc/tasks.py | velasquezerik/start-django-project | 1ecbf3e6c78dc61f20e38a11720cd2d43f58d3ed | [
"MIT"
] | 1 | 2020-04-28T12:15:23.000Z | 2020-04-28T12:15:23.000Z | from celery import task
@task
def task_dummy(a, b):
print('Called tast_dummy with a:%s b:%s' % (a, b))
| 15.571429 | 54 | 0.642202 | 21 | 109 | 3.238095 | 0.619048 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201835 | 109 | 6 | 55 | 18.166667 | 0.781609 | 0 | 0 | 0 | 0 | 0 | 0.293578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
da7e198e44cbd09bfd874d59eb490abe0009a00b | 5,163 | py | Python | openzwavemqtt/models/node_statistics.py | firstof9/python-openzwave-mqtt | 25f9f90ba586e33fee7b7a444743966371268787 | [
"Apache-2.0"
] | 63 | 2019-11-06T19:30:45.000Z | 2022-02-04T22:19:07.000Z | openzwavemqtt/models/node_statistics.py | firstof9/python-openzwave-mqtt | 25f9f90ba586e33fee7b7a444743966371268787 | [
"Apache-2.0"
] | 66 | 2021-01-18T06:52:17.000Z | 2022-03-28T08:04:22.000Z | openzwavemqtt/models/node_statistics.py | firstof9/python-openzwave-mqtt | 25f9f90ba586e33fee7b7a444743966371268787 | [
"Apache-2.0"
] | 12 | 2020-01-03T13:35:06.000Z | 2020-10-10T20:50:20.000Z | """Model for Node Statistics."""
from typing import List
from ..base import ZWaveBase
from ..const import EVENT_NODE_ADDED, EVENT_NODE_REMOVED, EVENT_NODE_STATISTICS_CHANGED
class OZWNodeStatistics(ZWaveBase):
"""Model for Node Statistics."""
EVENT_ADDED = EVENT_NODE_ADDED
EVENT_CHANGED = EVENT_NODE_STA... | 25.815 | 87 | 0.587837 | 561 | 5,163 | 5.26738 | 0.165775 | 0.113706 | 0.156345 | 0.201354 | 0.196278 | 0.049408 | 0.018951 | 0 | 0 | 0 | 0 | 0.009511 | 0.266899 | 5,163 | 199 | 88 | 25.944724 | 0.771202 | 0.145071 | 0 | 0.300813 | 0 | 0 | 0.101466 | 0.004967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.284553 | false | 0 | 0.02439 | 0 | 0.626016 | 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 |
da8fbb10d3c00eae4edf95a504ec27fd764e27c2 | 331 | py | Python | Language/Parsing/production.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | 1 | 2022-03-11T14:24:10.000Z | 2022-03-11T14:24:10.000Z | Language/Parsing/production.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | null | null | null | Language/Parsing/production.py | anoppa/Proyecto-IA-Sim-Comp | 71132bd0c6cb5aeff812fd96e0017be71178a5f3 | [
"MIT"
] | 1 | 2022-01-19T04:29:19.000Z | 2022-01-19T04:29:19.000Z | from Language.Parsing.first import symbol_first
class Production:
def __init__(self, left_side, right_side) -> None:
self.left_side = left_side
self.right_side = right_side
def __str__(self) -> str:
return f"{self.left_side.symbol} -> {''.join([symbol.symbol for symbol in self.rig... | 33.1 | 101 | 0.679758 | 46 | 331 | 4.521739 | 0.456522 | 0.153846 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205438 | 331 | 10 | 101 | 33.1 | 0.790875 | 0 | 0 | 0 | 0 | 0.142857 | 0.25 | 0.138554 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
da923b925a43125b72790a55e6d099487abb6e35 | 167 | py | Python | Darlington/phase1/python Basic 1/day 11 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 1/day 11 solution/qtn4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to convert a byte string to a list of integers.
word = b'Darlington'
print()
print(list(word))
print()
# the reverse operation
n = [68,97,114]
print(bytes(n)) | 20.875 | 56 | 0.718563 | 29 | 167 | 4.137931 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048951 | 0.143713 | 167 | 8 | 57 | 20.875 | 0.79021 | 0.461078 | 0 | 0.333333 | 0 | 0 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
16f8f9777ee8ab7b04867672ad35f4d2911c73a6 | 1,458 | py | Python | tests/test_handler.py | maximlt/tranquilizer | 9b4a738d1f24af7f4c2397d43454e0fe2ee5e86b | [
"BSD-3-Clause"
] | 19 | 2018-08-13T05:54:38.000Z | 2020-03-21T11:37:45.000Z | tests/test_handler.py | maximlt/tranquilizer | 9b4a738d1f24af7f4c2397d43454e0fe2ee5e86b | [
"BSD-3-Clause"
] | 16 | 2018-08-12T20:11:28.000Z | 2020-07-22T21:16:06.000Z | tests/test_handler.py | maximlt/tranquilizer | 9b4a738d1f24af7f4c2397d43454e0fe2ee5e86b | [
"BSD-3-Clause"
] | 5 | 2021-02-22T18:25:16.000Z | 2021-12-11T18:12:21.000Z | from tranquilizer.handler import ScriptHandler, NotebookHandler
from os.path import dirname, join
def test_script_handler():
here = dirname(__file__)
fn = join(here, 'cheese_shop.py')
script = ScriptHandler(fn)
assert script.fn == fn
def test_script_parser():
here = dirname(__file__)
fn = join... | 28.038462 | 66 | 0.676955 | 185 | 1,458 | 5.048649 | 0.2 | 0.052463 | 0.11242 | 0.127409 | 0.751606 | 0.751606 | 0.751606 | 0.751606 | 0.62955 | 0.551392 | 0 | 0.002573 | 0.200274 | 1,458 | 52 | 67 | 28.038462 | 0.798456 | 0 | 0 | 0.666667 | 0 | 0 | 0.095271 | 0.015079 | 0 | 0 | 0 | 0 | 0.155556 | 1 | 0.155556 | false | 0 | 0.044444 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
16fd46b51995a8e81032608242360e5a66125ee1 | 5,145 | py | Python | 08. and 09. ConditionalLogic and RPS/marvel_quotes_generator.py | AnmolTomer/Udemy---Colt-Steele-Modern-Python-Bootcamp-Codebook | 5073fd92e38d95a1b7ecf3b9effb9c9683ce5ceb | [
"MIT"
] | 3 | 2020-06-17T10:05:37.000Z | 2021-12-14T17:24:21.000Z | 08. and 09. ConditionalLogic and RPS/marvel_quotes_generator.py | AnmolTomer/Udemy---Colt-Steele-Modern-Python-Bootcamp-Codebook | 5073fd92e38d95a1b7ecf3b9effb9c9683ce5ceb | [
"MIT"
] | null | null | null | 08. and 09. ConditionalLogic and RPS/marvel_quotes_generator.py | AnmolTomer/Udemy---Colt-Steele-Modern-Python-Bootcamp-Codebook | 5073fd92e38d95a1b7ecf3b9effb9c9683ce5ceb | [
"MIT"
] | 4 | 2019-02-28T17:15:46.000Z | 2020-04-26T05:56:57.000Z | print("\nHeyy there! Welcome to Marvel quotes machine.\n")
print("What is your name human ?\n")
user_name = input()
print(f"\nHeyy {user_name}, select corresponding numbers in front of your favorite superhero/villain to get one or two quotes related to them ;) ")
print("\n 1. Captain America\n 2. Iron Man\n 3. Spid... | 64.3125 | 185 | 0.677162 | 938 | 5,145 | 3.698294 | 0.361407 | 0.02998 | 0.03488 | 0.047564 | 0.114154 | 0.08648 | 0.08648 | 0.08648 | 0 | 0 | 0 | 0.015525 | 0.211273 | 5,145 | 80 | 186 | 64.3125 | 0.836865 | 0 | 0 | 0 | 0 | 0.328358 | 0.796329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.80597 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e50c4152d8446175b3a859a436927d5d8669551b | 3,271 | py | Python | tests/test_mixed.py | systemallica/morfist | 6a4fd33971558829abdc10d47ec4cea08657002e | [
"MIT"
] | 3 | 2020-08-10T22:18:45.000Z | 2021-03-20T20:32:26.000Z | tests/test_mixed.py | systemallica/morfist | 6a4fd33971558829abdc10d47ec4cea08657002e | [
"MIT"
] | null | null | null | tests/test_mixed.py | systemallica/morfist | 6a4fd33971558829abdc10d47ec4cea08657002e | [
"MIT"
] | 1 | 2020-08-11T02:08:13.000Z | 2020-08-11T02:08:13.000Z | from time import perf_counter
import numpy as np
from sklearn.datasets import load_boston, load_breast_cancer
from morfist import MixedRandomForest, MixedRandomForestLegacy, cross_validation
# Configuration
# Number of tress of the random forest
n_trees = 11
# Cross-validation folds
n_folds = 10
# Original data
x_re... | 31.451923 | 99 | 0.685112 | 458 | 3,271 | 4.58952 | 0.18559 | 0.05138 | 0.026166 | 0.036156 | 0.723121 | 0.723121 | 0.703616 | 0.675071 | 0.661275 | 0.661275 | 0 | 0.020432 | 0.20697 | 3,271 | 103 | 100 | 31.757282 | 0.7899 | 0.107918 | 0 | 0.480519 | 0 | 0 | 0.14713 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 1 | 0.025974 | false | 0 | 0.051948 | 0 | 0.077922 | 0.207792 | 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 |
e5538ad338abb7876b7babbb5a1540af8bfd7536 | 1,209 | py | Python | radioactivedecay/__init__.py | radioactivedecay/radioactivedecay | 39b9cf45465f8ed54dc67bc35a3bb20bd8c257c7 | [
"MIT"
] | 12 | 2021-11-12T21:15:22.000Z | 2022-03-30T12:36:03.000Z | radioactivedecay/__init__.py | radioactivedecay/radioactivedecay | 39b9cf45465f8ed54dc67bc35a3bb20bd8c257c7 | [
"MIT"
] | 15 | 2021-11-08T03:30:41.000Z | 2022-03-21T07:24:48.000Z | radioactivedecay/__init__.py | radioactivedecay/radioactivedecay | 39b9cf45465f8ed54dc67bc35a3bb20bd8c257c7 | [
"MIT"
] | 3 | 2021-11-07T16:33:19.000Z | 2022-02-10T09:50:42.000Z | """
``radioactivedecay`` is a Python package for radioactive decay calculations.
It supports decay chains of radionuclides, metastable states and branching
decays. By default it uses the decay data from ICRP Publication 107, which
contains 1252 radionuclides of 97 elements, and atomic mass data from the
Atomic Mass Dat... | 36.636364 | 79 | 0.811414 | 162 | 1,209 | 6.030864 | 0.641975 | 0.061412 | 0.028659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012524 | 0.141439 | 1,209 | 32 | 80 | 37.78125 | 0.928709 | 0.831266 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e5602b00e78216d1a5bdc51cee9e2c73a8b5ce59 | 4,454 | py | Python | koala/readonly.py | egmkang/koala | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 15 | 2021-06-02T12:43:26.000Z | 2022-01-24T19:14:02.000Z | koala/readonly.py | egmkang/flash | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 1 | 2021-06-14T10:08:46.000Z | 2021-06-14T10:08:46.000Z | koala/readonly.py | egmkang/flash | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 1 | 2021-01-20T06:38:01.000Z | 2021-01-20T06:38:01.000Z | from koala.typing import *
from collections import abc
class ReadOnlyException(Exception):
def __init__(self, *args, **kwargs):
super(ReadOnlyException, self).__init__(*args, **kwargs)
pass
def copy_readonly(o: object):
if isinstance(o, ReadOnlyList):
res = [copy_readonly(x) ... | 27.325153 | 81 | 0.580602 | 500 | 4,454 | 4.628 | 0.154 | 0.107174 | 0.090752 | 0.046672 | 0.477528 | 0.389369 | 0.372947 | 0.348747 | 0.265774 | 0.233362 | 0 | 0 | 0.312528 | 4,454 | 162 | 82 | 27.493827 | 0.755715 | 0 | 0 | 0.436975 | 0 | 0 | 0.053601 | 0.005826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.016807 | 0.016807 | 0.151261 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e565ad257ae30f029332e9de1af1a52cbcb679bc | 2,567 | py | Python | app/migrations/versions/8408aefd8f90_.py | UWA-CITS3200-18-2021/ReSQ | 324e639b91666b38ad88931ceb9583a84f18755d | [
"CC0-1.0"
] | 1 | 2022-03-19T23:05:34.000Z | 2022-03-19T23:05:34.000Z | app/migrations/versions/8408aefd8f90_.py | UWA-CITS3200-18-2021/ReSQ | 324e639b91666b38ad88931ceb9583a84f18755d | [
"CC0-1.0"
] | 71 | 2021-08-05T01:45:24.000Z | 2021-10-20T04:49:39.000Z | app/migrations/versions/8408aefd8f90_.py | UWA-CITS3200-18-2021/ReSQ | 324e639b91666b38ad88931ceb9583a84f18755d | [
"CC0-1.0"
] | null | null | null | """empty message
Revision ID: 8408aefd8f90
Revises: 097d6eedce34
Create Date: 2021-09-21 04:58:27.495271
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '8408aefd8f90'
down_revision = '097d6eedce34'
branch_labels = None... | 43.508475 | 257 | 0.622517 | 265 | 2,567 | 5.898113 | 0.335849 | 0.035829 | 0.066539 | 0.069098 | 0.816379 | 0.816379 | 0.760077 | 0.607806 | 0.546385 | 0.518234 | 0 | 0.023303 | 0.231009 | 2,567 | 58 | 258 | 44.258621 | 0.76849 | 0.11492 | 0 | 0.585366 | 0 | 0 | 0.271141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e569ae909d11aebd870b1b00e9dc49470e627610 | 13,011 | py | Python | catalog/handlers.py | Guya-LTD/catalog | 632b3c3766e2600275c0a18db6378b2d38e3c463 | [
"RSA-MD"
] | null | null | null | catalog/handlers.py | Guya-LTD/catalog | 632b3c3766e2600275c0a18db6378b2d38e3c463 | [
"RSA-MD"
] | null | null | null | catalog/handlers.py | Guya-LTD/catalog | 632b3c3766e2600275c0a18db6378b2d38e3c463 | [
"RSA-MD"
] | null | null | null | # -*- coding: utf-8 -*-
"""Copyright Header Details
Copyright
---------
Copyright (C) Guya , PLC - All Rights Reserved (As Of Pending...)
Unauthorized copying of this file, via any medium is strictly prohibited
Proprietary and confidential
LICENSE
-------
This file is subject to the terms and conditi... | 37.387931 | 121 | 0.709323 | 1,349 | 13,011 | 6.467013 | 0.152706 | 0.213205 | 0.148097 | 0.10729 | 0.706442 | 0.624943 | 0.565222 | 0.422398 | 0.381247 | 0.368409 | 0 | 0.002697 | 0.201983 | 13,011 | 348 | 122 | 37.387931 | 0.837523 | 0.154792 | 0 | 0.444444 | 0 | 0 | 0.04987 | 0.003473 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227778 | false | 0 | 0.033333 | 0.2 | 0.483333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
e569d99c22f6f8f1b900d71a881492794051aea0 | 74 | py | Python | as_statsd/__init__.py | morfien101/as-statsd | fd38284ad4b73b99002f39c7d6ffb49b7000929f | [
"BSD-3-Clause"
] | 5 | 2018-12-26T14:34:16.000Z | 2022-03-26T07:50:18.000Z | harserver/__init__.py | dave-shawley/har-server | 7bcde5f43e40039f2771c40eba6b601c963c03df | [
"BSD-3-Clause"
] | null | null | null | harserver/__init__.py | dave-shawley/har-server | 7bcde5f43e40039f2771c40eba6b601c963c03df | [
"BSD-3-Clause"
] | null | null | null | version_info = (0, 0, 1)
version = '.'.join(str(c) for c in version_info)
| 24.666667 | 48 | 0.648649 | 14 | 74 | 3.285714 | 0.642857 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.162162 | 74 | 2 | 49 | 37 | 0.693548 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 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 |
e5ae2a4f058c47f701b1007472a6b2f002a6e66e | 75 | py | Python | Modulo_1/semana2/Estructura-de-Datos/diccionary/diccionario-zip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/Estructura-de-Datos/diccionary/diccionario-zip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana2/Estructura-de-Datos/diccionary/diccionario-zip.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | dic = dict(zip(("nombre","edad","estatura"),["Jesus",22,1.50]))
print(dic)
| 25 | 63 | 0.613333 | 12 | 75 | 3.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0.053333 | 75 | 2 | 64 | 37.5 | 0.577465 | 0 | 0 | 0 | 0 | 0 | 0.306667 | 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 |
e5b25078114aa75ff945a624d99bb426a29f19bd | 289 | py | Python | src/python/pygmypython/utils/environment.py | caotic-co/Pygmy-Python | 7418f89fc7070311e3fb6adec275c5ecfa0d3542 | [
"MIT"
] | null | null | null | src/python/pygmypython/utils/environment.py | caotic-co/Pygmy-Python | 7418f89fc7070311e3fb6adec275c5ecfa0d3542 | [
"MIT"
] | null | null | null | src/python/pygmypython/utils/environment.py | caotic-co/Pygmy-Python | 7418f89fc7070311e3fb6adec275c5ecfa0d3542 | [
"MIT"
] | null | null | null | import os.path
def is_dev_environment() -> bool:
"""Returns True if the current directory has the source code structure"""
if os.path.isdir("dist") \
and os.path.isdir("vendor") \
and os.path.isfile("caos.yml"):
return True
return False | 32.111111 | 78 | 0.602076 | 39 | 289 | 4.410256 | 0.692308 | 0.139535 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280277 | 289 | 9 | 79 | 32.111111 | 0.826923 | 0.231834 | 0 | 0 | 0 | 0 | 0.086124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e5c0564b153b15c586602678d3dd6e8a35cafaac | 104 | py | Python | cpu_ver/tests/try_anything.py | bigaidream-projects/drmad | a4bb6010595d956f29c5a42a095bab76a60b29eb | [
"MIT"
] | 119 | 2016-02-24T17:20:50.000Z | 2021-05-28T21:35:16.000Z | cpu_ver/tests/try_anything.py | LinZichuan/drmad | a4bb6010595d956f29c5a42a095bab76a60b29eb | [
"MIT"
] | 8 | 2016-02-25T03:13:38.000Z | 2017-09-15T00:54:52.000Z | cpu_ver/tests/try_anything.py | LinZichuan/drmad | a4bb6010595d956f29c5a42a095bab76a60b29eb | [
"MIT"
] | 31 | 2016-03-10T04:57:11.000Z | 2021-05-02T01:00:04.000Z | import tensorflow as tf
sess = tf.Session()
a = tf.constant(10)
b = tf.constant(32)
print(sess.run(a+b)) | 20.8 | 23 | 0.701923 | 20 | 104 | 3.65 | 0.65 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.125 | 104 | 5 | 24 | 20.8 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
e5cfaf6375eb988657091c348496473aad011969 | 1,309 | py | Python | src/common/error_code.py | JaimeCernuda/dlio_benchmark | d9cfbf76b4c7fb0d48a0dd43b8d2f2ea6ba75949 | [
"MIT"
] | 10 | 2020-08-13T19:14:21.000Z | 2022-03-16T00:31:00.000Z | src/common/error_code.py | JaimeCernuda/dlio_benchmark | d9cfbf76b4c7fb0d48a0dd43b8d2f2ea6ba75949 | [
"MIT"
] | null | null | null | src/common/error_code.py | JaimeCernuda/dlio_benchmark | d9cfbf76b4c7fb0d48a0dd43b8d2f2ea6ba75949 | [
"MIT"
] | 3 | 2020-08-18T21:29:38.000Z | 2021-11-16T15:37:09.000Z | """
Copyright (C) 2020 Argonne, Hariharan Devarajan <hdevarajan@anl.gov>
This file is part of DLProfile
DLIO is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the published by the Free Softw... | 42.225806 | 117 | 0.744843 | 192 | 1,309 | 4.921875 | 0.536458 | 0.066667 | 0.055026 | 0.057143 | 0.247619 | 0.247619 | 0.18836 | 0.116402 | 0.116402 | 0.116402 | 0 | 0.025305 | 0.184874 | 1,309 | 30 | 118 | 43.633333 | 0.860356 | 0.592055 | 0 | 0 | 0 | 0 | 0.182171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f90d91ad6bb5d9f28383ef39470fdc8c96e5e40c | 2,525 | py | Python | pinry/core/tests.py | svenity/pinry | 0bbcba4a6fadda14f2314bb7dde13eb4d26a852d | [
"BSD-2-Clause",
"Unlicense"
] | 1 | 2015-12-21T23:13:09.000Z | 2015-12-21T23:13:09.000Z | pinry/core/tests.py | svenity/pinry | 0bbcba4a6fadda14f2314bb7dde13eb4d26a852d | [
"BSD-2-Clause",
"Unlicense"
] | null | null | null | pinry/core/tests.py | svenity/pinry | 0bbcba4a6fadda14f2314bb7dde13eb4d26a852d | [
"BSD-2-Clause",
"Unlicense"
] | null | null | null | from django.utils import unittest
from django.test.client import Client
from django.core.urlresolvers import reverse
# pylint: disable-msg=E1103
class HomeTest(unittest.TestCase):
def setUp(self):
self.client = Client()
self.url = reverse('core:home')
def test_url(self):
self.assert... | 29.360465 | 67 | 0.629307 | 289 | 2,525 | 5.356401 | 0.183391 | 0.072351 | 0.069767 | 0.112403 | 0.797804 | 0.77584 | 0.693152 | 0.663437 | 0.570413 | 0.514858 | 0 | 0.021119 | 0.249901 | 2,525 | 85 | 68 | 29.705882 | 0.796199 | 0.055842 | 0 | 0.645161 | 0 | 0 | 0.143277 | 0.020588 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.225806 | false | 0.112903 | 0.048387 | 0 | 0.33871 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
006c1ed2c23c5f31a764dcaec902cbbca06a3c5b | 56 | py | Python | myproject/myapp/__init__.py | sert121/privacy-sharing | 69f712b0524361c8a3b4db0574a13ce914222695 | [
"MIT"
] | 3 | 2018-08-15T16:17:19.000Z | 2020-01-13T22:20:49.000Z | myproject/myapp/__init__.py | sert121/privacy-sharing | 69f712b0524361c8a3b4db0574a13ce914222695 | [
"MIT"
] | 45 | 2018-06-23T18:02:28.000Z | 2021-08-25T14:46:12.000Z | myproject/myapp/__init__.py | sert121/privacy-sharing | 69f712b0524361c8a3b4db0574a13ce914222695 | [
"MIT"
] | null | null | null | default_app_config = 'myproject.myapp.apps.MyAppConfig'
| 28 | 55 | 0.839286 | 7 | 56 | 6.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 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 |
007bc36a52842c0cbdfd6fddd291c8387331eea0 | 921 | py | Python | fragmap/commitdiff.py | amollberg/hunkogram | 804bafc9770e82dd806beaa357676f5fcacbc0ae | [
"Apache-2.0"
] | 3 | 2020-01-31T10:21:04.000Z | 2021-06-11T10:01:43.000Z | fragmap/commitdiff.py | amollberg/hunkogram | 804bafc9770e82dd806beaa357676f5fcacbc0ae | [
"Apache-2.0"
] | 1 | 2020-01-26T21:43:41.000Z | 2020-01-30T20:43:49.000Z | fragmap/commitdiff.py | amollberg/hunkogram | 804bafc9770e82dd806beaa357676f5fcacbc0ae | [
"Apache-2.0"
] | 1 | 2021-05-04T13:06:02.000Z | 2021-05-04T13:06:02.000Z | #!/usr/bin/env python
# encoding: utf-8
# Copyright 2016-2021 Alexander Mollberg
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | 35.423077 | 74 | 0.750271 | 138 | 921 | 4.92029 | 0.644928 | 0.088365 | 0.038292 | 0.047128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.163952 | 921 | 25 | 75 | 36.84 | 0.863636 | 0.643865 | 0 | 0 | 0 | 0 | 0.060703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 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 |
da9b8b1ed536b94b6c3d37cd9e683b01791b1e6a | 437 | py | Python | tello_driver/launch/teleop_launch.py | crisdeodates/DJI-Tello_ros2_cpp | 804e90c2643d3fa6e2f22509a5b0181d8d7179e3 | [
"BSD-3-Clause"
] | 114 | 2019-02-11T15:25:29.000Z | 2022-03-30T14:55:13.000Z | tello_driver/launch/teleop_launch.py | crisdeodates/DJI-Tello_ros2_cpp | 804e90c2643d3fa6e2f22509a5b0181d8d7179e3 | [
"BSD-3-Clause"
] | 46 | 2018-12-08T01:34:50.000Z | 2022-01-13T12:31:20.000Z | tello_driver/launch/teleop_launch.py | crisdeodates/DJI-Tello_ros2_cpp | 804e90c2643d3fa6e2f22509a5b0181d8d7179e3 | [
"BSD-3-Clause"
] | 39 | 2019-02-11T15:26:41.000Z | 2022-02-22T20:15:41.000Z | from launch import LaunchDescription
from launch_ros.actions import Node
# Launch nodes required for joystick operation
def generate_launch_description():
return LaunchDescription([
Node(package='joy', executable='joy_node', output='screen'),
Node(package='tello_driver', executable='tello_joy_ma... | 31.214286 | 86 | 0.734554 | 50 | 437 | 6.22 | 0.48 | 0.106109 | 0.102894 | 0.14791 | 0.315113 | 0.315113 | 0.315113 | 0.315113 | 0 | 0 | 0 | 0 | 0.148741 | 437 | 13 | 87 | 33.615385 | 0.836022 | 0.100687 | 0 | 0 | 1 | 0 | 0.214834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
da9e53666d9f7f703bac9018354e1f3a4dbd17ed | 96 | py | Python | roster.py | dobrosketchkun/IV-chat | 8b06769271ab247a6abd3d97842cee5e62dda364 | [
"MIT"
] | 3 | 2017-04-04T13:45:01.000Z | 2019-01-22T08:59:54.000Z | roster.py | dobrosketchkun/IV-chat | 8b06769271ab247a6abd3d97842cee5e62dda364 | [
"MIT"
] | 2 | 2018-02-22T16:42:57.000Z | 2018-04-01T08:49:33.000Z | roster.py | dobrosketchkun/IV-chat | 8b06769271ab247a6abd3d97842cee5e62dda364 | [
"MIT"
] | null | null | null | roster = (('ipns adrres one', 'Name one'),
('ipns adrres two', 'Name two'),
('etc', 'etc'))
| 16 | 42 | 0.541667 | 13 | 96 | 4 | 0.538462 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 96 | 5 | 43 | 19.2 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.553191 | 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 |
daa7c78a9d9e6542fe4cb31297fe341d581a58de | 176 | py | Python | openiPrototype/openiPrototype/APIS/Activity/Note/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/openiPrototype/APIS/Activity/Note/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/openiPrototype/APIS/Activity/Note/admin.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | __author__ = 'mpetyx'
from django.contrib import admin
from .models import OpeniNote
class NoteAdmin(admin.ModelAdmin):
pass
admin.site.register(OpeniNote, NoteAdmin)
| 14.666667 | 41 | 0.778409 | 21 | 176 | 6.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 176 | 11 | 42 | 16 | 0.880795 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
dabd72e91d53658c9c22a101194dde3066b03b14 | 258 | py | Python | fetch_api/src/fetch_api/__init__.py | ironmanyu/Laundry_and_Garbage_Collection | 11a7cad08ce6a084e652b658e943797dcef92888 | [
"MIT"
] | 1 | 2021-11-10T21:21:28.000Z | 2021-11-10T21:21:28.000Z | fetch_api/src/fetch_api/__init__.py | ironmanyu/Laundry_and_Garbage_Collection | 11a7cad08ce6a084e652b658e943797dcef92888 | [
"MIT"
] | null | null | null | fetch_api/src/fetch_api/__init__.py | ironmanyu/Laundry_and_Garbage_Collection | 11a7cad08ce6a084e652b658e943797dcef92888 | [
"MIT"
] | null | null | null | from .arm import Arm
from .arm_joints import ArmJoints
from .base import Base
from .gripper import Gripper
from .gripper_viz import gripper_interactive_marker
from .head import Head
from .moveit_goal_builder import MoveItGoalBuilder
from .torso import Torso
| 28.666667 | 51 | 0.844961 | 38 | 258 | 5.578947 | 0.421053 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124031 | 258 | 8 | 52 | 32.25 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dad0fe7e7443153f82090a48263835236eed7df2 | 357 | py | Python | Python Projects/login.py | HELLLabs/python-workshop | 890462c7e595349ff2b6c6c67faa1c3dd7ad1bac | [
"MIT"
] | null | null | null | Python Projects/login.py | HELLLabs/python-workshop | 890462c7e595349ff2b6c6c67faa1c3dd7ad1bac | [
"MIT"
] | null | null | null | Python Projects/login.py | HELLLabs/python-workshop | 890462c7e595349ff2b6c6c67faa1c3dd7ad1bac | [
"MIT"
] | null | null | null | #!C:\python27\python.exe
print "Content-Type:text/html\n\n"
print """
<html>
<head>
<title>Login</title>
</head>
<body>
<form action="logcode.py" method="post">
Email<input type="email" name="email"/>
<br/>
<br/>
Password
<input type="password" name="password"/>
<br/><br/>
<input type="submit" value="Log... | 17.85 | 41 | 0.613445 | 49 | 357 | 4.469388 | 0.55102 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006472 | 0.134454 | 357 | 20 | 42 | 17.85 | 0.702265 | 0.064426 | 0 | 0.105263 | 0 | 0 | 0.926984 | 0.08254 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.105263 | 0 | null | null | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
dad90e61533fd9421d8779d30054b86866dfb422 | 615 | py | Python | tensor2tensor/bin/label_base_tr.py | cgebe/tensor2tensor | 8e2389021643774f81a3af643e55a856896aef5c | [
"Apache-2.0"
] | null | null | null | tensor2tensor/bin/label_base_tr.py | cgebe/tensor2tensor | 8e2389021643774f81a3af643e55a856896aef5c | [
"Apache-2.0"
] | null | null | null | tensor2tensor/bin/label_base_tr.py | cgebe/tensor2tensor | 8e2389021643774f81a3af643e55a856896aef5c | [
"Apache-2.0"
] | 1 | 2018-07-26T18:31:58.000Z | 2018-07-26T18:31:58.000Z | import os
PROBLEMS = [
#"multi_labeling_cs_legal32k",
"multi_labeling_de_legal32k",
#"multi_labeling_en_legal32k",
#"multi_labeling_es_legal32k",
#"multi_labeling_fr_legal32k",
#"multi_labeling_it_legal32k",
#"multi_labeling_sv_legal32k"
]
def main():
for problem in PROBLEMS:
... | 30.75 | 271 | 0.726829 | 78 | 615 | 5.320513 | 0.576923 | 0.219277 | 0.303614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05482 | 0.139837 | 615 | 19 | 272 | 32.368421 | 0.729679 | 0.281301 | 0 | 0 | 0 | 0.111111 | 0.600917 | 0.305046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
dadda09d64c2ade850d1b921e6fb475304545d9f | 771 | py | Python | game_control.py | brunodpoliveira/Game-Bot | d5c1459dcc66df4d5dab077fa698a2245dc3e5c4 | [
"Apache-2.0"
] | 1 | 2021-03-01T10:12:21.000Z | 2021-03-01T10:12:21.000Z | game_control.py | brunodpoliveira/Game-Bot | d5c1459dcc66df4d5dab077fa698a2245dc3e5c4 | [
"Apache-2.0"
] | null | null | null | game_control.py | brunodpoliveira/Game-Bot | d5c1459dcc66df4d5dab077fa698a2245dc3e5c4 | [
"Apache-2.0"
] | null | null | null | # Arda Mavi
from pynput.mouse import Button, Controller as Mouse
from pynput.keyboard import Controller as Keyboard
keyboard = Keyboard()
mouse = Mouse()
# For encoding keyboard keys:
def get_keys():
return ['a', 'd', 's', 'enter', 'return', 'space', 'right', 'left', 'up', 'down']
def get_key(key_id):
ret... | 14.277778 | 85 | 0.622568 | 109 | 771 | 4.330275 | 0.33945 | 0.021186 | 0.044492 | 0.04661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220493 | 771 | 53 | 86 | 14.54717 | 0.785358 | 0.107652 | 0 | 0.166667 | 0 | 0 | 0.083004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0.111111 | 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 |
dae8089771f989c84626f517a3a8d343f6a69298 | 447 | py | Python | bananas/sampling/base.py | owahltinez/bananas | 4d37af1713b7f166ead3459a7004748f954d336e | [
"MIT"
] | null | null | null | bananas/sampling/base.py | owahltinez/bananas | 4d37af1713b7f166ead3459a7004748f954d336e | [
"MIT"
] | null | null | null | bananas/sampling/base.py | owahltinez/bananas | 4d37af1713b7f166ead3459a7004748f954d336e | [
"MIT"
] | null | null | null | from ..utils.arrays import take_elems
class _BaseSampler(object):
""" Interface to be used by all samplers """
def __init__(self, data, batch_size: int = 128, epochs: int = None, input_size: int = None):
pass
def indices(self, batch_size: int = None):
raise NotImplementedError()
def... | 29.8 | 96 | 0.675615 | 60 | 447 | 4.75 | 0.566667 | 0.157895 | 0.126316 | 0.112281 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008499 | 0.210291 | 447 | 14 | 97 | 31.928571 | 0.798867 | 0.080537 | 0 | 0 | 0 | 0 | 0.009926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0.125 | 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 | 1 | 0 | 0 | 0 | 3 |
970b56fdce1f08f80951ca09ebd2d32e8385fbc4 | 1,267 | py | Python | src/scenes/scene.py | juangallostra/TicTacToe | 164f9d285656a72b6422b1a31d0e5f0f18fb51be | [
"MIT"
] | null | null | null | src/scenes/scene.py | juangallostra/TicTacToe | 164f9d285656a72b6422b1a31d0e5f0f18fb51be | [
"MIT"
] | null | null | null | src/scenes/scene.py | juangallostra/TicTacToe | 164f9d285656a72b6422b1a31d0e5f0f18fb51be | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
class Scene:
"""
Represents an abstract scene of the game.
A scene is a visible part of the game, like a loading screen
or an option menu. For creating a working scene the object
should be derived from this class.
"""
def __init__(self, director):
self.di... | 28.795455 | 75 | 0.627466 | 154 | 1,267 | 5.071429 | 0.402597 | 0.06146 | 0.089629 | 0.160051 | 0.227913 | 0.153649 | 0 | 0 | 0 | 0 | 0 | 0.001116 | 0.292818 | 1,267 | 43 | 76 | 29.465116 | 0.870536 | 0.382005 | 0 | 0 | 0 | 0 | 0.304688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0 | 0 | 0.538462 | 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 |
970cb984ca2ce19013163a99eb7bb98d6c23c85a | 5,433 | py | Python | fuse/managers/callbacks/callback_base.py | LaudateCorpus1/fuse-med-ml | 56821be0824b599dfbbd7a4b158436cb2c300812 | [
"Apache-2.0"
] | 57 | 2021-06-23T12:16:08.000Z | 2022-03-29T15:51:25.000Z | fuse/managers/callbacks/callback_base.py | LaudateCorpus1/fuse-med-ml | 56821be0824b599dfbbd7a4b158436cb2c300812 | [
"Apache-2.0"
] | 3 | 2021-11-04T07:56:13.000Z | 2022-03-15T08:33:13.000Z | fuse/managers/callbacks/callback_base.py | LaudateCorpus1/fuse-med-ml | 56821be0824b599dfbbd7a4b158436cb2c300812 | [
"Apache-2.0"
] | 19 | 2021-07-19T13:29:22.000Z | 2022-03-23T07:48:13.000Z | """
(C) Copyright 2021 IBM Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 35.051613 | 148 | 0.581815 | 657 | 5,433 | 4.710807 | 0.252664 | 0.024879 | 0.031987 | 0.038772 | 0.459451 | 0.405493 | 0.38126 | 0.36252 | 0.350242 | 0.347011 | 0 | 0.01768 | 0.333701 | 5,433 | 154 | 149 | 35.279221 | 0.837293 | 0.649181 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0.074074 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
974062622cc92ddc1f421a15b6185f234e696da2 | 187 | py | Python | marchena/apps.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | marchena/apps.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | marchena/apps.py | samuelmaudo/marchena | e9a522a9be66f7043aa61e316f7e733e8ccf1e32 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from __future__ import unicode_literals
from django.apps import AppConfig
class MarchenaConfig(AppConfig):
name = 'marchena'
verbose_name = 'Marchena'
| 15.583333 | 39 | 0.721925 | 21 | 187 | 6.142857 | 0.761905 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.176471 | 187 | 11 | 40 | 17 | 0.831169 | 0.106952 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
9742ff91fe54b219e3424e089a99aee7e2ecac43 | 1,267 | py | Python | app/utils.py | SchrodingersCat00/Haldis | 09c65e2bcc320a935b5b130b5086b52c2a55aa78 | [
"MIT"
] | null | null | null | app/utils.py | SchrodingersCat00/Haldis | 09c65e2bcc320a935b5b130b5086b52c2a55aa78 | [
"MIT"
] | null | null | null | app/utils.py | SchrodingersCat00/Haldis | 09c65e2bcc320a935b5b130b5086b52c2a55aa78 | [
"MIT"
] | null | null | null | from datetime import datetime
from flask import render_template
from app import app
from login import login_manager
__author__ = 'feliciaan'
@app.template_filter('euro')
def euro(value):
result = '€' + str(value/100)
return result
@app.template_filter('countdown')
def countdown(value, only_positive=True, sh... | 22.22807 | 57 | 0.687451 | 166 | 1,267 | 5.108434 | 0.403614 | 0.058962 | 0.060142 | 0.063679 | 0.110849 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039761 | 0.205998 | 1,267 | 57 | 58 | 22.22807 | 0.802187 | 0 | 0 | 0.071429 | 0 | 0 | 0.068612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.095238 | 0.190476 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
976fcff4969b60e31416e33059f1958b9d259edc | 7,527 | py | Python | simulacra/math.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 1 | 2018-05-24T08:01:26.000Z | 2018-05-24T08:01:26.000Z | simulacra/math.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 1 | 2019-10-08T21:03:46.000Z | 2019-10-08T21:03:46.000Z | simulacra/math.py | JoshKarpel/simulacra | e5770ced1bef860caec25ce8c77a61ff0bb78907 | [
"MIT"
] | 2 | 2017-07-03T18:33:16.000Z | 2018-10-16T01:52:57.000Z | import logging
from typing import Callable, Tuple, Union
import numpy as np
import numpy.random as rand
import scipy.special as special
import scipy.integrate as integ
from . import exceptions
from . import units as u
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
def rand_phases(shape_tuple: ... | 26.786477 | 89 | 0.601568 | 937 | 7,527 | 4.691569 | 0.169691 | 0.041401 | 0.049136 | 0.014786 | 0.655369 | 0.628071 | 0.61374 | 0.584622 | 0.541401 | 0.519563 | 0 | 0.005519 | 0.2778 | 7,527 | 280 | 90 | 26.882143 | 0.803164 | 0.366946 | 0 | 0.380531 | 0 | 0.00885 | 0.056568 | 0.020118 | 0 | 0 | 0 | 0 | 0 | 1 | 0.247788 | false | 0 | 0.070796 | 0.159292 | 0.575221 | 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 |
977487431000af024ff7f80429683009449998ed | 164,795 | py | Python | onlinelinguisticdatabase/tests/functional/test_forms.py | dativebase/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 2 | 2019-11-19T22:39:04.000Z | 2019-11-20T16:13:43.000Z | onlinelinguisticdatabase/tests/functional/test_forms.py | jrwdunham/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 51 | 2015-02-11T21:42:48.000Z | 2016-08-16T18:52:44.000Z | onlinelinguisticdatabase/tests/functional/test_forms.py | jrwdunham/old | bcfb856e8a8cccddcab4eaedc1aa107697ceee2f | [
"Apache-2.0"
] | 1 | 2019-11-19T22:39:07.000Z | 2019-11-19T22:39:07.000Z | # Copyright 2016 Joel Dunham
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 50.721761 | 135 | 0.627258 | 20,294 | 164,795 | 4.911057 | 0.04011 | 0.033231 | 0.024532 | 0.028235 | 0.79985 | 0.765474 | 0.720634 | 0.689259 | 0.652396 | 0.621382 | 0 | 0.011566 | 0.254977 | 164,795 | 3,248 | 136 | 50.737377 | 0.800197 | 0.150035 | 0 | 0.659692 | 0 | 0.001974 | 0.191623 | 0.026609 | 0 | 0 | 0 | 0 | 0.232925 | 1 | 0.00908 | false | 0 | 0.005527 | 0 | 0.015397 | 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 |
9795fbd8813f6136e4d5646a03f02235dc3cc482 | 2,333 | py | Python | installation.py | Hoto-Cocoa/entree | 052ef0cb6236a19db45d51fba5c9da200f5117a6 | [
"BSD-3-Clause"
] | null | null | null | installation.py | Hoto-Cocoa/entree | 052ef0cb6236a19db45d51fba5c9da200f5117a6 | [
"BSD-3-Clause"
] | null | null | null | installation.py | Hoto-Cocoa/entree | 052ef0cb6236a19db45d51fba5c9da200f5117a6 | [
"BSD-3-Clause"
] | null | null | null | import random
from flask import Flask, redirect, url_for, request
app = Flask(__name__)
webview = open('view/installation.html', 'r', encoding = 'utf-8').read()
verifiation_code = ''
@app.route('/')
def main():
return webview
@app.route('/', methods=['POST'])
def install():
post_verify = request.form['verif... | 49.638298 | 114 | 0.714102 | 244 | 2,333 | 6.598361 | 0.409836 | 0.290683 | 0.347205 | 0.243478 | 0.234783 | 0.073292 | 0 | 0 | 0 | 0 | 0 | 0.014156 | 0.152165 | 2,333 | 47 | 115 | 49.638298 | 0.799798 | 0 | 0 | 0 | 0 | 0 | 0.244216 | 0.072836 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.04878 | 0.02439 | 0.195122 | 0.04878 | 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 |
9797d6870d9f47e24c9a76aad117b1d9f2b72540 | 521 | py | Python | core/dev_urls.py | Haakenlid/grenselandet | d0a8878fa2aa1ee65737702d86ef25482bf46bff | [
"MIT"
] | null | null | null | core/dev_urls.py | Haakenlid/grenselandet | d0a8878fa2aa1ee65737702d86ef25482bf46bff | [
"MIT"
] | null | null | null | core/dev_urls.py | Haakenlid/grenselandet | d0a8878fa2aa1ee65737702d86ef25482bf46bff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Url config for skeleton project during development
"""
from django.conf import settings
from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from debug_toolbar import urls as debug_toolbar_urls
from .urls import urlpatterns
# django debug toolbar
... | 30.647059 | 79 | 0.783109 | 71 | 521 | 5.577465 | 0.422535 | 0.121212 | 0.106061 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002179 | 0.119002 | 521 | 16 | 80 | 32.5625 | 0.860566 | 0.261036 | 0 | 0 | 0 | 0 | 0.029333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
979eb89e4271b6b698ef29643b5a1a3a7f0b20ac | 276 | py | Python | tests/test_nftables.py | mmannerm/ansible-nftables | 4352beef76b399aafe66b808143890a6a7e661aa | [
"Apache-2.0"
] | null | null | null | tests/test_nftables.py | mmannerm/ansible-nftables | 4352beef76b399aafe66b808143890a6a7e661aa | [
"Apache-2.0"
] | null | null | null | tests/test_nftables.py | mmannerm/ansible-nftables | 4352beef76b399aafe66b808143890a6a7e661aa | [
"Apache-2.0"
] | null | null | null | import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
'.molecule/ansible_inventory').get_hosts('nftables')
def test_nftables_is_running(Service):
s = Service('nftables')
assert s.is_running
assert s.is_enabled
| 27.6 | 63 | 0.782609 | 35 | 276 | 5.885714 | 0.542857 | 0.135922 | 0.203884 | 0.262136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 276 | 9 | 64 | 30.666667 | 0.847737 | 0 | 0 | 0 | 0 | 0 | 0.155797 | 0.097826 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 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 |
97b1596cf529a4dc8d86f39fa447a9a9914b53a3 | 672 | py | Python | __init__.py | Baloguna16/better-citation | f5b4b7f0293900ae4fa3429b7499899cba8b1e6c | [
"MIT"
] | null | null | null | __init__.py | Baloguna16/better-citation | f5b4b7f0293900ae4fa3429b7499899cba8b1e6c | [
"MIT"
] | null | null | null | __init__.py | Baloguna16/better-citation | f5b4b7f0293900ae4fa3429b7499899cba8b1e6c | [
"MIT"
] | null | null | null | import os
from flask import Flask, render_template
from flask_bootstrap import Bootstrap
from support.config import DevelopmentConfig, ProductionConfig
def page_not_found(e):
return render_template('error/404.html'), 404
def internal_server(e):
return render_template('error/500.html'), 500
def create_app(config... | 25.846154 | 62 | 0.782738 | 91 | 672 | 5.516484 | 0.362637 | 0.053785 | 0.071713 | 0.095618 | 0.23506 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031304 | 0.144345 | 672 | 25 | 63 | 26.88 | 0.841739 | 0 | 0 | 0.111111 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0.055556 | 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 |
97b5725f8097437eb27f796b7df157533417deb9 | 1,504 | py | Python | app/be/auth/auth/api.py | hasboeuf/robotum | 8ba3932b0766134c455e0b3874813107ba883b18 | [
"MIT"
] | null | null | null | app/be/auth/auth/api.py | hasboeuf/robotum | 8ba3932b0766134c455e0b3874813107ba883b18 | [
"MIT"
] | 10 | 2021-03-09T03:57:48.000Z | 2022-02-26T19:30:24.000Z | app/be/auth/auth/api.py | hasboeuf/robotum | 8ba3932b0766134c455e0b3874813107ba883b18 | [
"MIT"
] | null | null | null | """ API endpoints
"""
from auth.models import User
from auth.security import generate_token, decode_token
def _get_bad_request():
return {"code": "BAD_REQUEST", "message": "Bad request"}, 400
def login(body):
""" todoc
"""
try:
username = body["username"]
password = body["password"]
... | 22.447761 | 86 | 0.579787 | 173 | 1,504 | 4.913295 | 0.306358 | 0.082353 | 0.061176 | 0.063529 | 0.292941 | 0.2 | 0.2 | 0.122353 | 0.122353 | 0 | 0 | 0.021429 | 0.255319 | 1,504 | 66 | 87 | 22.787879 | 0.7375 | 0.045213 | 0 | 0.375 | 1 | 0 | 0.178112 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 1 | 0.15 | false | 0.1 | 0.05 | 0.025 | 0.475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
97b6e020fc032c823201fa8cc6b7c0a470f4f3ed | 1,055 | py | Python | batchkit/endpoint_status.py | arturosorio/batch-processing-kit | 48bc296a1d8d0b2e19111cd52953292463f41ce4 | [
"MIT"
] | 23 | 2020-06-18T01:22:24.000Z | 2022-03-09T16:22:45.000Z | batchkit/endpoint_status.py | arturosorio/batch-processing-kit | 48bc296a1d8d0b2e19111cd52953292463f41ce4 | [
"MIT"
] | 4 | 2020-06-18T07:36:31.000Z | 2021-08-19T19:56:21.000Z | batchkit/endpoint_status.py | arturosorio/batch-processing-kit | 48bc296a1d8d0b2e19111cd52953292463f41ce4 | [
"MIT"
] | 16 | 2020-06-19T10:13:10.000Z | 2021-11-26T20:41:08.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
from abc import ABC, abstractmethod
from .logger import LogEventQueue
class EndpointStatusChecker(ABC):
def __init__(self, log_event_queue: LogEventQueue):
super().__init__()
self.log_event_queue = log_event_queue
@abs... | 31.969697 | 92 | 0.698578 | 133 | 1,055 | 5.293233 | 0.413534 | 0.045455 | 0.055398 | 0.045455 | 0.241477 | 0.181818 | 0.181818 | 0.181818 | 0.181818 | 0.181818 | 0 | 0 | 0.230332 | 1,055 | 32 | 93 | 32.96875 | 0.866995 | 0.345972 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.071429 | 0.142857 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
97b8fc6f6e7cb313d6849fd6cd848cde8a6ec9cd | 241 | py | Python | config.py | consty2015/two-factor-auth-flask | 501a5501fc920ef20008aa08e91e560b23233e08 | [
"MIT"
] | null | null | null | config.py | consty2015/two-factor-auth-flask | 501a5501fc920ef20008aa08e91e560b23233e08 | [
"MIT"
] | null | null | null | config.py | consty2015/two-factor-auth-flask | 501a5501fc920ef20008aa08e91e560b23233e08 | [
"MIT"
] | null | null | null | import os
SECRET_KEY = 'top-secret'
SQLALCHEMY_DATABASE_URI = "postgresql://postgres:Welcome123@alahdb.c2fba95zjgl1.us-east-1.rds.amazonaws.com/"
#os.environ.get('DATABASE_URL', 'sqlite:///db.sqlite')
SQLALCHEMY_TRACK_MODIFICATIONS = False
| 34.428571 | 109 | 0.792531 | 32 | 241 | 5.78125 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035242 | 0.058091 | 241 | 6 | 110 | 40.166667 | 0.779736 | 0.219917 | 0 | 0 | 0 | 0.25 | 0.486631 | 0.433155 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
97d1aa8e24dbeff629b4894ab30f8a4122fd7042 | 3,634 | py | Python | obsd_crypt.py | bsd-ac/obsd_crypt | 74ef4ed53e6118a5911eb463cde91346515ef9c2 | [
"ISC"
] | null | null | null | obsd_crypt.py | bsd-ac/obsd_crypt | 74ef4ed53e6118a5911eb463cde91346515ef9c2 | [
"ISC"
] | null | null | null | obsd_crypt.py | bsd-ac/obsd_crypt | 74ef4ed53e6118a5911eb463cde91346515ef9c2 | [
"ISC"
] | 1 | 2022-03-01T22:46:27.000Z | 2022-03-01T22:46:27.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise Runtime... | 33.33945 | 118 | 0.69978 | 506 | 3,634 | 4.806324 | 0.347826 | 0.016447 | 0.023026 | 0.01727 | 0.137336 | 0.095395 | 0.069901 | 0.036184 | 0 | 0 | 0 | 0.004245 | 0.222069 | 3,634 | 108 | 119 | 33.648148 | 0.856031 | 0.43891 | 0 | 0.148936 | 1 | 0 | 0.072977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191489 | false | 0.085106 | 0.12766 | 0.021277 | 0.510638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8ae62d9f178d8a7e6df3a3497643ec23e70fcdbf | 1,080 | py | Python | test/model/test_compare.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | test/model/test_compare.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | 25 | 2021-10-03T06:19:05.000Z | 2022-03-27T12:48:57.000Z | test/model/test_compare.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | import pytest
from hbutils.model import IComparable
@pytest.mark.unittest
class TestModelCompare:
def test_icompare(self):
class MyValue(IComparable):
def __init__(self, v) -> None:
self._v = v
def _cmpkey(self):
return self._v
assert MyVa... | 22.978723 | 45 | 0.494444 | 136 | 1,080 | 3.867647 | 0.191176 | 0.239544 | 0.209125 | 0.114068 | 0.652091 | 0.420152 | 0.321293 | 0.321293 | 0.247148 | 0.247148 | 0 | 0.083077 | 0.398148 | 1,080 | 46 | 46 | 23.478261 | 0.726154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.694444 | 1 | 0.083333 | false | 0 | 0.055556 | 0.027778 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c12b9224f753895eee05344a419994750cd5a59f | 112 | py | Python | app/backend/mails/urls.py | NicholasCF/meridien | dd00caf341d4c9979b89dc8441224ff2b97eac7f | [
"MIT"
] | null | null | null | app/backend/mails/urls.py | NicholasCF/meridien | dd00caf341d4c9979b89dc8441224ff2b97eac7f | [
"MIT"
] | 41 | 2020-05-24T06:47:53.000Z | 2022-02-27T11:10:41.000Z | app/backend/mails/urls.py | NicholasCF/meridien | dd00caf341d4c9979b89dc8441224ff2b97eac7f | [
"MIT"
] | 2 | 2020-11-26T12:19:30.000Z | 2020-12-19T01:14:02.000Z | from django.urls import path
from mails import views
urlpatterns = [
path('send_html_email', views.mail)
]
| 16 | 39 | 0.741071 | 16 | 112 | 5.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 112 | 6 | 40 | 18.666667 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c12cdccd05ed24f4d430a90d80532b3d51b34fbf | 1,184 | py | Python | core/src/zeit/workflow/json/publish.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 5 | 2019-05-16T09:51:29.000Z | 2021-05-31T09:30:03.000Z | core/src/zeit/workflow/json/publish.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 107 | 2019-05-24T12:19:02.000Z | 2022-03-23T15:05:56.000Z | core/src/zeit/workflow/json/publish.py | rickdg/vivi | 16134ac954bf8425646d4ad47bdd1f372e089355 | [
"BSD-3-Clause"
] | 3 | 2020-08-14T11:01:17.000Z | 2022-01-08T17:32:19.000Z | from zeit.cms.workflow.interfaces import CAN_PUBLISH_ERROR
from zeit.cms.workflow.interfaces import CAN_PUBLISH_SUCCESS
from zope.cachedescriptors.property import Lazy as cachedproperty
import json
import zeit.cms.workflow.interfaces
import zope.i18n
class Publish(object):
def publish(self):
return json.... | 32 | 70 | 0.692568 | 146 | 1,184 | 5.479452 | 0.273973 | 0.0875 | 0.1125 | 0.1875 | 0.48875 | 0.3925 | 0.3925 | 0.3925 | 0.28 | 0.28 | 0 | 0.00426 | 0.206926 | 1,184 | 36 | 71 | 32.888889 | 0.84771 | 0 | 0 | 0.071429 | 0 | 0 | 0.005912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.214286 | 0.107143 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c12ce8a6f195238c1f4e1b04a353480b2c433230 | 110 | py | Python | second.py | ilsung98/coding-exam | 55bc41cd3be3c07c39a26aa5ab229377936394dc | [
"MIT"
] | null | null | null | second.py | ilsung98/coding-exam | 55bc41cd3be3c07c39a26aa5ab229377936394dc | [
"MIT"
] | null | null | null | second.py | ilsung98/coding-exam | 55bc41cd3be3c07c39a26aa5ab229377936394dc | [
"MIT"
] | null | null | null | num_list = list(map(int, input().split()))
high=max(num_list)
low=min(num_list)
print(low,sum(num_list),high) | 22 | 42 | 0.727273 | 21 | 110 | 3.619048 | 0.571429 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 110 | 5 | 43 | 22 | 0.737864 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c16e0e618e6f7ae05156d688ef60660df654fa3c | 59 | py | Python | python/testData/completion/qualifiedAssignment.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/qualifiedAssignment.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/qualifiedAssignment.after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a):
woo = []
a.words = {}
for x in woo
| 11.8 | 16 | 0.423729 | 10 | 59 | 2.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40678 | 59 | 4 | 17 | 14.75 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c19c634873366094937fa2e4de47f280cf015f2a | 238 | py | Python | 12_module_basic/02_package/01_module.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/02_package/01_module.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 12_module_basic/02_package/01_module.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | #! /root/anaconda3/bin/python
import os
print(os.environ)
print(os.getenv('PYTHON_HOME'))
print(os.MutableMapping)
import xml.dom.minidom
print(xml.dom.minidom.StringTypes)
import os as operating_system
print(operating_system.environ)
| 18.307692 | 34 | 0.802521 | 35 | 238 | 5.371429 | 0.514286 | 0.111702 | 0.138298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.07563 | 238 | 12 | 35 | 19.833333 | 0.85 | 0.117647 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0.625 | 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 | 0 | 1 | 0 | 3 |
c1a5deb1a18bf4fe4933a6e14e4ccebc2d4c44e1 | 1,396 | py | Python | Algorithms_medium/0251. Flatten 2D Vector.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | 4 | 2020-08-11T20:45:15.000Z | 2021-03-12T00:33:34.000Z | Algorithms_medium/0251. Flatten 2D Vector.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | Algorithms_medium/0251. Flatten 2D Vector.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | """
0251. Flatten 2D Vector
Medium
Design and implement an iterator to flatten a 2d vector. It should support the following operations: next and hasNext.
Example:
Vector2D iterator = new Vector2D([[1,2],[3],[4]]);
iterator.next(); // return 1
iterator.next(); // return 2
iterator.next(); // return 3
iterator.has... | 26.339623 | 169 | 0.655444 | 207 | 1,396 | 4.391304 | 0.47343 | 0.052805 | 0.079208 | 0.055006 | 0.063806 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022684 | 0.24212 | 1,396 | 53 | 170 | 26.339623 | 0.836484 | 0.708453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.538462 | 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 |
c1b6f80373411b707bc13b6a1f08e34170e51b51 | 348 | py | Python | backend/todo/views.py | singlautsav/todoWithDjango | 660d8fed36758ec0d51e381ffd1cb4b369a61c9e | [
"MIT"
] | null | null | null | backend/todo/views.py | singlautsav/todoWithDjango | 660d8fed36758ec0d51e381ffd1cb4b369a61c9e | [
"MIT"
] | 11 | 2019-04-03T09:49:17.000Z | 2022-02-10T08:23:26.000Z | backend/todo/views.py | singlautsav/todoWithDjango | 660d8fed36758ec0d51e381ffd1cb4b369a61c9e | [
"MIT"
] | 1 | 2019-10-21T19:26:29.000Z | 2019-10-21T19:26:29.000Z | from django.shortcuts import render, redirect
from rest_framework import viewsets
from .serializers import TodoSerializer
from .models import Todo
class TodoView(viewsets.ModelViewSet):
serializer_class = TodoSerializer
queryset = Todo.objects.all()
def index(request):
return r... | 31.636364 | 45 | 0.729885 | 38 | 348 | 6.631579 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204023 | 348 | 11 | 46 | 31.636364 | 0.909747 | 0 | 0 | 0 | 0 | 0 | 0.028653 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
c1ba92ee559906096e8d80cca3b28767bf838aa1 | 176 | py | Python | server/__init__.py | imlautaro/flask-website | 253a6a7255509116264c0fe4bdc9519beab4e626 | [
"MIT"
] | null | null | null | server/__init__.py | imlautaro/flask-website | 253a6a7255509116264c0fe4bdc9519beab4e626 | [
"MIT"
] | null | null | null | server/__init__.py | imlautaro/flask-website | 253a6a7255509116264c0fe4bdc9519beab4e626 | [
"MIT"
] | null | null | null | from flask import Flask
# Blueprints
from server.web import web
def create_app():
app = Flask(__name__)
# Blueprints
app.register_blueprint(web)
return app
| 13.538462 | 31 | 0.704545 | 23 | 176 | 5.130435 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 176 | 12 | 32 | 14.666667 | 0.867647 | 0.119318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c1c6745cb694ad33ece121082c02458156450a89 | 1,300 | py | Python | src/napari_ilastik/classifier.py | ilastik/napari-ilastik | f91ede2b5befca67dc12823cd5deba266c81ba9d | [
"MIT"
] | 7 | 2021-04-29T15:56:35.000Z | 2021-08-13T16:10:06.000Z | src/napari_ilastik/classifier.py | ilastik/napari-ilastik | f91ede2b5befca67dc12823cd5deba266c81ba9d | [
"MIT"
] | 6 | 2021-06-09T02:05:37.000Z | 2021-11-26T12:33:13.000Z | src/napari_ilastik/classifier.py | ilastik/napari-ilastik | f91ede2b5befca67dc12823cd5deba266c81ba9d | [
"MIT"
] | null | null | null | from sklearn.base import (
BaseEstimator,
ClassifierMixin,
MetaEstimatorMixin,
TransformerMixin,
)
def _fit_with(func, X, y, **kwargs):
return func(X[tuple(y.coords)], y.data, **kwargs)
def _predict_with(func, X):
*image_shape, n_features = X.shape
preds = func(X.reshape((-1, n_features)... | 27.083333 | 72 | 0.667692 | 169 | 1,300 | 4.934911 | 0.230769 | 0.1247 | 0.067146 | 0.067146 | 0.425659 | 0.303357 | 0.303357 | 0.261391 | 0.211031 | 0.098321 | 0 | 0.001942 | 0.207692 | 1,300 | 47 | 73 | 27.659574 | 0.807767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.029412 | 0.235294 | 0.647059 | 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 |
c1d9c1a904e95246b525f3a6d5edcd97d7cf3046 | 544 | py | Python | src/internal/domain/currency.py | kaspermroz/music-player-python | 0bae77213f30d36d5394b051833cae030f89fc21 | [
"MIT"
] | null | null | null | src/internal/domain/currency.py | kaspermroz/music-player-python | 0bae77213f30d36d5394b051833cae030f89fc21 | [
"MIT"
] | null | null | null | src/internal/domain/currency.py | kaspermroz/music-player-python | 0bae77213f30d36d5394b051833cae030f89fc21 | [
"MIT"
] | null | null | null | class Currency:
"""
Simple currency domain model, holds value as string
"""
s: str
def __init__(self, currency: str):
if currency == "":
raise TypeError("currency cannot be empty")
self.s = currency
def __str__(self):
return self.String()
def __eq__(se... | 19.428571 | 55 | 0.5625 | 64 | 544 | 4.59375 | 0.421875 | 0.136054 | 0.108844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306985 | 544 | 27 | 56 | 20.148148 | 0.779841 | 0.09375 | 0 | 0 | 0 | 0 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0.25 | 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 |
c1f628c2401d16dc7d9230de3a93f60aa98fae39 | 333 | py | Python | website/apps/features/feature_flags.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 61 | 2015-11-10T17:13:46.000Z | 2021-08-06T17:58:30.000Z | website/apps/features/feature_flags.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 13 | 2015-11-11T07:49:41.000Z | 2021-06-09T03:45:31.000Z | website/apps/features/feature_flags.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 18 | 2015-11-11T04:50:04.000Z | 2021-08-20T00:57:11.000Z | feature_funcs = set()
def feature(func):
""" Feature functions take a request as their single argument. """
feature_funcs.add(func)
return func
@feature
def requirejs(request):
return 'requirejs' in request.GET
@feature
def thread_new(request):
return True
@feature
def lazy_content(request):
... | 17.526316 | 70 | 0.714715 | 44 | 333 | 5.318182 | 0.522727 | 0.128205 | 0.145299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192192 | 333 | 18 | 71 | 18.5 | 0.869888 | 0.174174 | 0 | 0.384615 | 0 | 0 | 0.033708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.615385 | 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 |
de04c61718bc42093746353b3c6a8d9a9da3bab2 | 963 | py | Python | systems/header01.py | SamWolski/LCIM | 83d69bd0d7fbc1cd6b9bf993f7a480b715ffdeae | [
"MIT"
] | null | null | null | systems/header01.py | SamWolski/LCIM | 83d69bd0d7fbc1cd6b9bf993f7a480b715ffdeae | [
"MIT"
] | null | null | null | systems/header01.py | SamWolski/LCIM | 83d69bd0d7fbc1cd6b9bf993f7a480b715ffdeae | [
"MIT"
] | null | null | null | ## header file for imports etc
## also sets up the global variables
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import itertools
import sys
import os.path
from copy import deepcopy
# from IPython import display
## color palettes
palette0 = sns.color... | 27.514286 | 63 | 0.813084 | 142 | 963 | 5.28169 | 0.535211 | 0.112 | 0.168 | 0.205333 | 0.277333 | 0.277333 | 0.233333 | 0 | 0 | 0 | 0 | 0.021915 | 0.099688 | 963 | 35 | 64 | 27.514286 | 0.843137 | 0.175493 | 0 | 0 | 0 | 0 | 0.256082 | 0.209987 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.409091 | null | null | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
de0a96b848875fdcb2bcc6a61f1772ca21d85ccd | 92,654 | py | Python | src/python/packages/lmwg/lmwg.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | src/python/packages/lmwg/lmwg.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | src/python/packages/lmwg/lmwg.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | #!/usr/local/uvcdat/1.3.1/bin/python
# TODO List
# 1) Fix multiple plots->single png (set 3, set 6 primarily, set 1/2 level vars). Need to investigate template stuff
# 2) Fix obs vs model variable name issues (requires lots of framework changes, probably need Jeff to poke at it) DONE for hardcoded variables
# 3) Merg... | 52.914906 | 215 | 0.585965 | 10,631 | 92,654 | 4.898222 | 0.077697 | 0.022392 | 0.036487 | 0.034567 | 0.754633 | 0.718568 | 0.680909 | 0.649511 | 0.62061 | 0.605477 | 0 | 0.01999 | 0.261392 | 92,654 | 1,750 | 216 | 52.945143 | 0.740922 | 0.113109 | 0 | 0.627699 | 0 | 0.005957 | 0.139613 | 0.015293 | 0 | 0 | 0 | 0.001143 | 0 | 0 | null | null | 0.005957 | 0.005957 | null | null | 0.034252 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a9b08a0b9de9d4fbaf8590ea6cf3a9fe92ae6a7c | 56 | py | Python | __init__.py | Harry-Lees/prompt-toolkit-callback | 50e7b72861511d8f248d7eabbb2f5a4d3f615e23 | [
"MIT"
] | null | null | null | __init__.py | Harry-Lees/prompt-toolkit-callback | 50e7b72861511d8f248d7eabbb2f5a4d3f615e23 | [
"MIT"
] | null | null | null | __init__.py | Harry-Lees/prompt-toolkit-callback | 50e7b72861511d8f248d7eabbb2f5a4d3f615e23 | [
"MIT"
] | null | null | null | from commands import Commands
__author__ = 'Harry Lees' | 18.666667 | 29 | 0.803571 | 7 | 56 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 30 | 18.666667 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 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 |
a9dff13c02b6a551d9b4da5bc73ea20cf28e5008 | 24 | py | Python | dojo/tools/dawnscanner/__init__.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 1,772 | 2018-01-22T23:32:15.000Z | 2022-03-31T14:49:33.000Z | dojo/tools/dawnscanner/__init__.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 3,461 | 2018-01-20T19:12:28.000Z | 2022-03-31T17:14:39.000Z | dojo/tools/dawnscanner/__init__.py | mtcolman/django-DefectDojo | 76175aca446e077884bdb5e1d8e2a671a0840775 | [
"BSD-3-Clause"
] | 1,173 | 2018-01-23T07:10:23.000Z | 2022-03-31T14:40:43.000Z | __author__ = 'jaguasch'
| 12 | 23 | 0.75 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
a9e9c2ba52c03f400c8df3bd4f680bd48eff8090 | 54 | py | Python | app/permission_control/permission.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | app/permission_control/permission.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | app/permission_control/permission.py | benjaminhuanghuang/math_clone | 8fd5d5ed878559629101c6c33d61f2ead80a652c | [
"MIT"
] | null | null | null | class Permission:
USER = 0x1
ADMINISTER = 0x8
| 13.5 | 20 | 0.648148 | 6 | 54 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.296296 | 54 | 3 | 21 | 18 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e72b0aa3125ac89e48e7cc9de3ae7e21d463bab9 | 12,129 | py | Python | language/resources/nodes/nodes.py | Shom770/sparrow | 940bdb9185dcdbc66601039d2f0e1f2f75041d67 | [
"MIT"
] | null | null | null | language/resources/nodes/nodes.py | Shom770/sparrow | 940bdb9185dcdbc66601039d2f0e1f2f75041d67 | [
"MIT"
] | 3 | 2021-07-30T02:39:18.000Z | 2021-08-16T16:47:11.000Z | language/resources/nodes/nodes.py | Shom770/sparrow | 940bdb9185dcdbc66601039d2f0e1f2f75041d67 | [
"MIT"
] | null | null | null | from ..tokens.token_types import Token, TokenType
from typing import Union, List
from ..symbol_table.symbol_table import SymbolTable
class NumberNode:
"""Node for a number created by the parser for the abstract syntax tree"""
def __init__(self, tok: Token) -> None:
self.tok = tok
def __repr__(se... | 27.818807 | 150 | 0.613488 | 1,492 | 12,129 | 4.760724 | 0.136059 | 0.044347 | 0.048571 | 0.062086 | 0.445868 | 0.389695 | 0.355624 | 0.321836 | 0.268056 | 0.16669 | 0 | 0.002398 | 0.278094 | 12,129 | 436 | 151 | 27.818807 | 0.808817 | 0.194575 | 0 | 0.422414 | 0 | 0.012931 | 0.096015 | 0.014499 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.012931 | 0.176724 | 0.650862 | 0.00431 | 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 |
e73da239c9beccc0faf1dad830df0241a7f01d96 | 475 | py | Python | algs/agent_fix.py | baimengwei/Traffic-Flow-Test-Platform | 71f68a797cd94a71f895ab2f5225c4ef529f35a5 | [
"MIT"
] | 2 | 2021-11-18T07:56:22.000Z | 2021-11-18T07:56:56.000Z | algs/agent_fix.py | baimengwei/Traffic-Flow-Test-Platform | 71f68a797cd94a71f895ab2f5225c4ef529f35a5 | [
"MIT"
] | null | null | null | algs/agent_fix.py | baimengwei/Traffic-Flow-Test-Platform | 71f68a797cd94a71f895ab2f5225c4ef529f35a5 | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
from configs.conf_path import ConfPath
class AgentFix(metaclass=ABCMeta):
"""
An abstract class for value based method
"""
def __init__(self, conf_path: ConfPath, round_number: int, inter_name: str):
"""
"""
pass
@staticmethod
... | 22.619048 | 80 | 0.661053 | 55 | 475 | 5.454545 | 0.709091 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256842 | 475 | 20 | 81 | 23.75 | 0.849858 | 0.084211 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.181818 | 0 | 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 |
e76b912cfe93bd4f233d50e9af77e0d801e0d718 | 109 | py | Python | ibm935/version.py | littlefisher/ibm935 | 2559354b15d35f7d1c3d66c8c035f0d159999606 | [
"MIT"
] | null | null | null | ibm935/version.py | littlefisher/ibm935 | 2559354b15d35f7d1c3d66c8c035f0d159999606 | [
"MIT"
] | null | null | null | ibm935/version.py | littlefisher/ibm935 | 2559354b15d35f7d1c3d66c8c035f0d159999606 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
version_info = (0, 2, 1)
version = ".".join(map(str, version_info))
| 18.166667 | 42 | 0.651376 | 18 | 109 | 3.833333 | 0.833333 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.137615 | 109 | 5 | 43 | 21.8 | 0.691489 | 0.330275 | 0 | 0 | 0 | 0 | 0.014085 | 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 |
e778375203022817463f3cc6c3893fb5a7b3e696 | 95 | py | Python | AWSEnums/instance/tenancy.py | SchibstedSpain/AWSenums | 93f2090e21e433f18e85169e745aab1960b53bd5 | [
"MIT"
] | null | null | null | AWSEnums/instance/tenancy.py | SchibstedSpain/AWSenums | 93f2090e21e433f18e85169e745aab1960b53bd5 | [
"MIT"
] | 3 | 2020-03-24T16:34:40.000Z | 2021-02-02T21:59:59.000Z | AWSEnums/instance/tenancy.py | SchibstedSpain/AWSenums | 93f2090e21e433f18e85169e745aab1960b53bd5 | [
"MIT"
] | null | null | null | from enum import Enum
class Tenancy(Enum):
SHARED = "Shared"
DEDICATED = "Dedicated"
| 13.571429 | 27 | 0.673684 | 11 | 95 | 5.818182 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 95 | 6 | 28 | 15.833333 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e77d5453426ae7dd27be28b48318e7a264d84896 | 40 | py | Python | HAFTA-6/DERS-16/OOP/ornek1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | 1 | 2021-03-08T16:16:35.000Z | 2021-03-08T16:16:35.000Z | HAFTA-6/DERS-16/OOP/ornek1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | null | null | null | HAFTA-6/DERS-16/OOP/ornek1.py | aydan08/Python-Kursu-15.02.21 | a1463501df47cacbd7ddd8c6f3aeb93abf1436f6 | [
"MIT"
] | null | null | null | liste = list()
liste2 = [1,2,3,4]
| 8 | 19 | 0.475 | 7 | 40 | 2.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.3 | 40 | 4 | 20 | 10 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e79d08295d75b7442071243cd057ace290c9cc90 | 2,759 | py | Python | scanui/__init__.py | johndoe31415/bulkscan | 6823feaec16d03c5589c99f537ce3b5d1edadf79 | [
"MIT",
"ImageMagick",
"BSD-3-Clause"
] | 2 | 2019-08-25T09:29:52.000Z | 2020-04-01T12:14:49.000Z | scanui/__init__.py | johndoe31415/bulkscan | 6823feaec16d03c5589c99f537ce3b5d1edadf79 | [
"MIT",
"ImageMagick",
"BSD-3-Clause"
] | null | null | null | scanui/__init__.py | johndoe31415/bulkscan | 6823feaec16d03c5589c99f537ce3b5d1edadf79 | [
"MIT",
"ImageMagick",
"BSD-3-Clause"
] | 1 | 2020-03-28T09:00:37.000Z | 2020-03-28T09:00:37.000Z | # bulkscan - Document scanning and maintenance solution
# Copyright (C) 2019-2019 Johannes Bauer
#
# This file is part of bulkscan.
#
# bulkscan is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; this program is ... | 29.666667 | 90 | 0.743023 | 384 | 2,759 | 5.255208 | 0.411458 | 0.043608 | 0.039643 | 0.028246 | 0.182359 | 0.143707 | 0 | 0 | 0 | 0 | 0 | 0.019649 | 0.133019 | 2,759 | 92 | 91 | 29.98913 | 0.823997 | 0.343603 | 0 | 0 | 0 | 0 | 0.14902 | 0.063866 | 0 | 0 | 0 | 0.01087 | 0 | 1 | 0.203704 | false | 0 | 0.092593 | 0.12963 | 0.5 | 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 | 1 | 0 | 0 | 0 | 3 |
e7a12809e7d2943c4653f782d3f04feb49ebc455 | 7,756 | py | Python | model.py | TUM-XING/Computer-vision-tasks-for-identification-of-2D-semiconductors- | 490d7b295821f0ad31d81e729d3a3207c2450f59 | [
"MIT"
] | null | null | null | model.py | TUM-XING/Computer-vision-tasks-for-identification-of-2D-semiconductors- | 490d7b295821f0ad31d81e729d3a3207c2450f59 | [
"MIT"
] | null | null | null | model.py | TUM-XING/Computer-vision-tasks-for-identification-of-2D-semiconductors- | 490d7b295821f0ad31d81e729d3a3207c2450f59 | [
"MIT"
] | null | null | null | from keras.models import Model, load_model
from keras.layers import *
from keras import backend as K
K.set_image_data_format('channels_last')
def expand(x):
x = K.expand_dims(x, axis=-1)
return x
def squeeze(x):
x = K.squeeze(x, axis=-1)
return x
#2D卷积模块
def BN_block(filter_num, input):
x = Conv... | 35.095023 | 103 | 0.662068 | 1,049 | 7,756 | 4.736892 | 0.13632 | 0.099215 | 0.110888 | 0.145905 | 0.75488 | 0.719863 | 0.703562 | 0.683236 | 0.667539 | 0.667539 | 0 | 0.068263 | 0.170835 | 7,756 | 220 | 104 | 35.254545 | 0.704401 | 0.46983 | 0 | 0.095238 | 0 | 0 | 0.062456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.047619 | 0 | 0.206349 | 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 |
e7c5744ba710772abc5530e73121d00b2f7291de | 161 | py | Python | objectModel/Python/cdm/utilities/event_callback.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | objectModel/Python/cdm/utilities/event_callback.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | 3 | 2021-05-11T23:57:12.000Z | 2021-08-04T05:03:05.000Z | objectModel/Python/cdm/utilities/event_callback.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | from typing import Callable, TYPE_CHECKING
if TYPE_CHECKING:
from cdm.enums import CdmStatusLevel
EventCallback = Callable[['CdmStatusLevel', str], None]
| 20.125 | 55 | 0.782609 | 19 | 161 | 6.526316 | 0.684211 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 161 | 7 | 56 | 23 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.