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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e5f07d820f7b00465eaa61ed5428c330b5179f5 | 326 | py | Python | Hackerrank_python/3.string/23.String Formatting.py | manish1822510059/Hackerrank | 7c6e4553f033f067e04dc6c756ef90cb43f3c4a8 | [
"MIT"
] | 39 | 2020-09-27T05:32:05.000Z | 2022-01-08T18:04:05.000Z | Hackerrank_python/3.string/23.String Formatting.py | manish1822510059/Hackerrank | 7c6e4553f033f067e04dc6c756ef90cb43f3c4a8 | [
"MIT"
] | 5 | 2020-10-02T13:33:00.000Z | 2021-03-01T14:06:08.000Z | Hackerrank_python/3.string/23.String Formatting.py | manish1822510059/Hackerrank | 7c6e4553f033f067e04dc6c756ef90cb43f3c4a8 | [
"MIT"
] | 6 | 2020-10-03T04:04:55.000Z | 2021-10-18T04:07:53.000Z | def print_formatted(number):
# your code goes here
width=len(str(bin(number))[2:])
for i in range(1,number+1):
print(str(i).rjust(width," "),oct(i)[2:].rjust(width," "),hex(i)[2:].upper().rjust(width," "),bin(i)[2:].rjust(width," "))
if __name__ == '__main__':
n = int(input())
print_formatt... | 32.6 | 130 | 0.588957 | 51 | 326 | 3.568627 | 0.54902 | 0.21978 | 0.076923 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.165644 | 326 | 9 | 131 | 36.222222 | 0.647059 | 0.058282 | 0 | 0 | 0 | 0 | 0.039344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 3 |
8e6c7965f9a2f689961ed247724e620403ea7b5a | 283 | py | Python | passbook/core/migrations/0005_merge_20191025_2022.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/core/migrations/0005_merge_20191025_2022.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/core/migrations/0005_merge_20191025_2022.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | # Generated by Django 2.2.6 on 2019-10-25 20:22
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("passbook_core", "0004_remove_policy_action"),
("passbook_core", "0003_merge_20191010_1541"),
]
operations = []
| 20.214286 | 55 | 0.678445 | 35 | 283 | 5.257143 | 0.828571 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 0.204947 | 283 | 13 | 56 | 21.769231 | 0.662222 | 0.159011 | 0 | 0 | 1 | 0 | 0.317797 | 0.207627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8e6e619cbc2b7eadf30d8f011f664608c082ba3e | 2,723 | py | Python | solutions/207.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | 2 | 2022-01-18T08:57:13.000Z | 2022-01-18T15:49:06.000Z | solutions/207.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | solutions/207.py | pacokwon/leetcode | 37c943d371c106d1e6f24e065700e5edd1c3f9f9 | [
"MIT"
] | null | null | null | # Course Schedule
class Solution:
def hasCycle(self, graph, start, checked, visited):
if checked[start]:
return False
visited[start] = True
for adj in graph[start]:
if visited[adj]:
return True
if self.hasCycle(graph, adj, checked, visit... | 55.571429 | 1,552 | 0.508263 | 513 | 2,723 | 2.680312 | 0.267057 | 0.030545 | 0.017455 | 0.027636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.332894 | 0.16379 | 2,723 | 48 | 1,553 | 56.729167 | 0.270971 | 0.013221 | 0 | 0.228571 | 0 | 0 | 0.002981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0 | 0 | 0.257143 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8e8b1b703e339430f1b6649e7e198dc9d6422c94 | 475 | py | Python | app/core/db.py | karriva/myna_test | 1def78a0c11b91a5d28c216333eec6ffe39e6fbb | [
"MIT"
] | null | null | null | app/core/db.py | karriva/myna_test | 1def78a0c11b91a5d28c216333eec6ffe39e6fbb | [
"MIT"
] | 1 | 2022-01-17T08:18:39.000Z | 2022-01-17T08:18:39.000Z | app/core/db.py | karriva/myna_test | 1def78a0c11b91a5d28c216333eec6ffe39e6fbb | [
"MIT"
] | null | null | null | import aiopg.sa
from .settings import settings
async def get_engine() -> aiopg.sa.Engine:
return await aiopg.sa.create_engine(
database=settings.POSTGRES_DB,
user=settings.POSTGRES_USER,
password=settings.POSTGRES_PASSWORD,
host=settings.POSTGRES_HOST,
port=settings.POSTGR... | 23.75 | 58 | 0.696842 | 58 | 475 | 5.551724 | 0.448276 | 0.248447 | 0.080745 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208421 | 475 | 19 | 59 | 25 | 0.856383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8e8e211e9a9337ee320190ccc3334c4ccf59c56f | 20 | py | Python | python/testData/inspections/spelling/gluedStringNodesAfterFirstRawWithBackslashes.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/spelling/gluedStringNodesAfterFirstRawWithBackslashes.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/spelling/gluedStringNodesAfterFirstRawWithBackslashes.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = 'foo' r'\teapot' | 20 | 20 | 0.55 | 4 | 20 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 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 |
8e91ab97cff6c229f0f8e5afbb308cd07ef33047 | 103 | py | Python | neat/enums/node_types.py | seallard/walker | a2f0cdcba72f3756b80aadcc9e2de20160b567d8 | [
"MIT"
] | 1 | 2020-07-30T06:26:50.000Z | 2020-07-30T06:26:50.000Z | neat/enums/node_types.py | seallard/walker | a2f0cdcba72f3756b80aadcc9e2de20160b567d8 | [
"MIT"
] | 13 | 2020-11-10T09:34:41.000Z | 2020-12-08T15:45:32.000Z | neat/enums/node_types.py | seallard/walker | a2f0cdcba72f3756b80aadcc9e2de20160b567d8 | [
"MIT"
] | null | null | null | from enum import Enum
class NodeType(Enum):
INPUT = 1
HIDDEN = 2
OUTPUT = 3
BIAS = 4
| 11.444444 | 21 | 0.582524 | 15 | 103 | 4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.349515 | 103 | 8 | 22 | 12.875 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8ea14f4da7ee513ddea504ff6ab3c170b4113662 | 140 | py | Python | controllers/home.py | leticiafadi/recrutalentos | 97171076d0747ca069629c4f59aea49d42a98cc3 | [
"MIT"
] | null | null | null | controllers/home.py | leticiafadi/recrutalentos | 97171076d0747ca069629c4f59aea49d42a98cc3 | [
"MIT"
] | null | null | null | controllers/home.py | leticiafadi/recrutalentos | 97171076d0747ca069629c4f59aea49d42a98cc3 | [
"MIT"
] | 2 | 2019-06-14T00:24:08.000Z | 2019-11-18T13:11:40.000Z | #@auth.requires_login()
def index():
form = FORM('Your name:', INPUT(_name='name'), INPUT(_type='submit'))
return dict(form=form)
| 23.333333 | 73 | 0.642857 | 19 | 140 | 4.578947 | 0.684211 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 5 | 74 | 28 | 0.731092 | 0.157143 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8ec9f038af2ea3b5de58debb0d2d96b97c021121 | 8,975 | py | Python | pytorch_wavelets/dtcwt/lowlevel.py | umautobots/pytorch_wavelets | e05b291db687231302175e15c19024ff2d1ad4ab | [
"MIT"
] | 452 | 2018-11-14T16:08:33.000Z | 2022-03-29T03:52:58.000Z | pytorch_wavelets/dtcwt/lowlevel.py | umautobots/pytorch_wavelets | e05b291db687231302175e15c19024ff2d1ad4ab | [
"MIT"
] | 35 | 2019-01-04T03:50:10.000Z | 2022-03-22T08:36:32.000Z | pytorch_wavelets/dtcwt/lowlevel.py | umautobots/pytorch_wavelets | e05b291db687231302175e15c19024ff2d1ad4ab | [
"MIT"
] | 89 | 2019-01-07T08:19:17.000Z | 2022-03-26T14:04:23.000Z | from __future__ import absolute_import
import torch
import torch.nn.functional as F
import numpy as np
from pytorch_wavelets.utils import symm_pad_1d as symm_pad
def as_column_vector(v):
"""Return *v* as a column vector with shape (N,1).
"""
v = np.atleast_2d(v)
if v.shape[0] == 1:
return v.... | 30.320946 | 118 | 0.488134 | 1,569 | 8,975 | 2.760994 | 0.118547 | 0.030009 | 0.020776 | 0.036934 | 0.73638 | 0.726685 | 0.707295 | 0.693444 | 0.675669 | 0.675669 | 0 | 0.063642 | 0.292702 | 8,975 | 295 | 119 | 30.423729 | 0.618778 | 0.144958 | 0 | 0.543689 | 0 | 0 | 0.038568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067961 | false | 0.048544 | 0.024272 | 0 | 0.203884 | 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 |
8ed89e2932b294e0e6dd0ff2f1d2891e03b86c18 | 718 | py | Python | funnel/views/helpers.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | funnel/views/helpers.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | funnel/views/helpers.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from pytz import timezone as pytz_timezone, utc
from datetime import datetime
def localize_micro_timestamp(timestamp, from_tz=utc, to_tz=utc):
return localize_timestamp(int(timestamp)/1000, from_tz, to_tz)
def localize_timestamp(timestamp, from_tz=utc, to_tz=utc):
return localize_date... | 35.9 | 80 | 0.727019 | 108 | 718 | 4.564815 | 0.268519 | 0.121704 | 0.091278 | 0.066937 | 0.312373 | 0.312373 | 0.194726 | 0.194726 | 0.194726 | 0.194726 | 0 | 0.008418 | 0.172702 | 718 | 19 | 81 | 37.789474 | 0.821549 | 0.029248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8edb9e6fd425258715c826e13ca128f6b8900797 | 161 | py | Python | app/polls_app/polls/forms.py | shimakaze-git/docker_django_vote | f471f11ffb2f04a475e05fcccc278f82cbdd4e66 | [
"BSD-2-Clause"
] | null | null | null | app/polls_app/polls/forms.py | shimakaze-git/docker_django_vote | f471f11ffb2f04a475e05fcccc278f82cbdd4e66 | [
"BSD-2-Clause"
] | null | null | null | app/polls_app/polls/forms.py | shimakaze-git/docker_django_vote | f471f11ffb2f04a475e05fcccc278f82cbdd4e66 | [
"BSD-2-Clause"
] | null | null | null | from django import forms
class PollsDetailForm(forms.Form):
pk = forms.IntegerField()
class PollsVoteForm(forms.Form):
choice = forms.IntegerField()
| 16.1 | 34 | 0.73913 | 18 | 161 | 6.611111 | 0.611111 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 161 | 9 | 35 | 17.888889 | 0.881481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
d90c446d5247fea0bfc24db5c06b1edd4bac42c5 | 211 | py | Python | core/model.py | hashfury42/AlphaForce | 584cb4e38359373e094329ce5c835b95b36cfd5c | [
"MIT"
] | 4 | 2019-03-10T15:58:58.000Z | 2020-02-13T19:23:06.000Z | core/model.py | hashfury42/AlphaForce | 584cb4e38359373e094329ce5c835b95b36cfd5c | [
"MIT"
] | 3 | 2021-03-19T01:52:53.000Z | 2022-03-11T23:52:47.000Z | core/model.py | hashfury42/AlphaForce | 584cb4e38359373e094329ce5c835b95b36cfd5c | [
"MIT"
] | 1 | 2019-03-11T12:54:32.000Z | 2019-03-11T12:54:32.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
import abc
class Model(object):
"""This is the abstract base model class for agents.
"""
__metaclass__ = abc.ABCMeta
def __init__(self):
pass | 16.230769 | 56 | 0.611374 | 27 | 211 | 4.481481 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.251185 | 211 | 13 | 57 | 16.230769 | 0.759494 | 0.445498 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
d92777211c7d2bcd478c8f83d0560a3e27b21665 | 1,990 | py | Python | RoundA/speed_typing.py | AshbeeKim/google-kickstart-2022 | 327a8d21d26adbcbcaf9c1045514d7e6e26287d0 | [
"MIT"
] | null | null | null | RoundA/speed_typing.py | AshbeeKim/google-kickstart-2022 | 327a8d21d26adbcbcaf9c1045514d7e6e26287d0 | [
"MIT"
] | null | null | null | RoundA/speed_typing.py | AshbeeKim/google-kickstart-2022 | 327a8d21d26adbcbcaf9c1045514d7e6e26287d0 | [
"MIT"
] | null | null | null | from collections import Counter
def check_forward(I, P):
bucket, passed = [], 0
I_cnt = sorted(Counter(I).items(), key=lambda x: [x[0].isupper(), x[0]])
P_cnt = sorted(Counter(P).items(), key=lambda x: [x[0].isupper(), x[0]])
for i in range(len(P_cnt)):
try:
if P_cnt[i][0] != I_cnt[i... | 30.615385 | 76 | 0.463317 | 299 | 1,990 | 2.963211 | 0.157191 | 0.058691 | 0.05079 | 0.088036 | 0.77088 | 0.77088 | 0.667043 | 0.624154 | 0.611738 | 0.462754 | 0 | 0.01926 | 0.347739 | 1,990 | 65 | 77 | 30.615385 | 0.663328 | 0.048744 | 0 | 0.763636 | 0 | 0 | 0.099576 | 0.026483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0.163636 | 0.018182 | 0 | 0.127273 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d92d8fd7a90171f736ac25af7eaefac604322eae | 63 | py | Python | chem_translate/__init__.py | jevandezande/chem_translate | 5043526ae31986600190bdbff3f3d94c012f7c32 | [
"MIT"
] | 1 | 2022-03-13T03:28:03.000Z | 2022-03-13T03:28:03.000Z | chem_translate/__init__.py | jevandezande/chem_translate | 5043526ae31986600190bdbff3f3d94c012f7c32 | [
"MIT"
] | null | null | null | chem_translate/__init__.py | jevandezande/chem_translate | 5043526ae31986600190bdbff3f3d94c012f7c32 | [
"MIT"
] | null | null | null | from .chem_translate import translate
__all__ = ["translate"]
| 15.75 | 37 | 0.777778 | 7 | 63 | 6.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 3 | 38 | 21 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
d92e5800e7f54a6c6eafbbaf9093e18fcab1c8fb | 322 | py | Python | Python Script/script.py | bioinformaticsguy/BGJekyllite | a3c23c2ab45909479944b0956eaedc4ab2c18504 | [
"MIT"
] | 1 | 2020-08-17T02:38:42.000Z | 2020-08-17T02:38:42.000Z | Python Script/script.py | bioinformaticsguy/BGJekyllite | a3c23c2ab45909479944b0956eaedc4ab2c18504 | [
"MIT"
] | null | null | null | Python Script/script.py | bioinformaticsguy/BGJekyllite | a3c23c2ab45909479944b0956eaedc4ab2c18504 | [
"MIT"
] | null | null | null | string_without_line_breaks = ""
with open('foo.txt', "r+") as file:
for line in file:
stripped_line = line.rstrip() + " "
string_without_line_breaks += stripped_line
with open ("oneLine.md", "w") as file:
file.write(string_without_line_breaks)
# print(string_without_line_breaks... | 21.466667 | 51 | 0.658385 | 43 | 322 | 4.604651 | 0.465116 | 0.262626 | 0.343434 | 0.464646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223602 | 322 | 14 | 52 | 23 | 0.792 | 0.102484 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d93f4393530d26607edeb777f4abb44c064ff553 | 2,325 | py | Python | travelperk_http_python/api/travelperk.py | namelivia/travelperk-http-python | c6cbd88c999a49f7d61ae040029ca3e91ce72cae | [
"MIT"
] | 2 | 2021-08-30T12:34:26.000Z | 2021-08-31T07:56:12.000Z | travelperk_http_python/api/travelperk.py | namelivia/travelperk-http-python | c6cbd88c999a49f7d61ae040029ca3e91ce72cae | [
"MIT"
] | 6 | 2021-07-15T16:13:06.000Z | 2022-03-03T09:45:07.000Z | travelperk_http_python/api/travelperk.py | namelivia/travelperk-http-python | c6cbd88c999a49f7d61ae040029ca3e91ce72cae | [
"MIT"
] | null | null | null | from typing import List
from .expenses_api import ExpensesAPI
from .scim_api import SCIMAPI
from .webhooks_api import WebhooksAPI
from .travelsafe_api import TravelSafeAPI
from .users_api import UsersAPI
from .trips_api import TripsAPI
from .cost_centers_api import CostCentersAPI
# from oauth.client.client import Clie... | 31.849315 | 78 | 0.688172 | 300 | 2,325 | 5.126667 | 0.18 | 0.091027 | 0.050065 | 0.045514 | 0.150195 | 0.09948 | 0.054616 | 0.054616 | 0.054616 | 0.054616 | 0 | 0 | 0.217204 | 2,325 | 72 | 79 | 32.291667 | 0.845055 | 0.066237 | 0 | 0 | 0 | 0 | 0.033241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.18 | 0.28 | 0.82 | 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 |
d96b9bde850bef3c41a881b243799b7cdeef0d32 | 204 | py | Python | ss.py | tcarolanthycotic/python-tss-sdk | e502532e348d7c90e411008dfe67cab950b7ff15 | [
"Apache-2.0"
] | null | null | null | ss.py | tcarolanthycotic/python-tss-sdk | e502532e348d7c90e411008dfe67cab950b7ff15 | [
"Apache-2.0"
] | null | null | null | ss.py | tcarolanthycotic/python-tss-sdk | e502532e348d7c90e411008dfe67cab950b7ff15 | [
"Apache-2.0"
] | null | null | null | from thycotic.secrets.server import SecretServer
secret_server = SecretServer("https://secretserverurl/SecretServer","username", "password", "domain")
secret = secret_server.get_secret(1)
print(secret) | 29.142857 | 101 | 0.79902 | 23 | 204 | 6.956522 | 0.652174 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005291 | 0.073529 | 204 | 7 | 102 | 29.142857 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.282927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d98dbdf46f712ad34e368c38e1ebad8dab033436 | 197 | py | Python | exercicio 13.py | YasminMichels/Exercicios_LP_1b | ecd3e534ead6983be98225ce9c75362ce24fdfb9 | [
"MIT"
] | null | null | null | exercicio 13.py | YasminMichels/Exercicios_LP_1b | ecd3e534ead6983be98225ce9c75362ce24fdfb9 | [
"MIT"
] | null | null | null | exercicio 13.py | YasminMichels/Exercicios_LP_1b | ecd3e534ead6983be98225ce9c75362ce24fdfb9 | [
"MIT"
] | null | null | null | largura = int(input("Digite a largura da parede: "))
altura = int(input("Digite a altura da parede: "))
area = (largura*altura)
metros = (area/2)
print("A precisará de: ",metros, "litros de tinta") | 39.4 | 52 | 0.690355 | 30 | 197 | 4.533333 | 0.533333 | 0.117647 | 0.205882 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.142132 | 197 | 5 | 53 | 39.4 | 0.798817 | 0 | 0 | 0 | 0 | 0 | 0.434343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
796bae658f5e3d658ee0135734b303c71bd6eeda | 96 | py | Python | recipe_blog/apps.py | Dorcas-Amoo/ms4-project-arikefoods | 924025d2651d5440a85a9e2e5d3dfa6494714408 | [
"PostgreSQL"
] | null | null | null | recipe_blog/apps.py | Dorcas-Amoo/ms4-project-arikefoods | 924025d2651d5440a85a9e2e5d3dfa6494714408 | [
"PostgreSQL"
] | 3 | 2021-04-08T20:07:11.000Z | 2021-06-10T20:16:22.000Z | recipe_blog/apps.py | Dorcas-Amoo/ms4-project-arikefoods | 924025d2651d5440a85a9e2e5d3dfa6494714408 | [
"PostgreSQL"
] | 1 | 2020-11-09T03:31:38.000Z | 2020-11-09T03:31:38.000Z | from django.apps import AppConfig
class RecipeBlogConfig(AppConfig):
name = 'recipe_blog'
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7975ec9468e76ff8021ce40adced5ad8ccd41b8e | 2,288 | py | Python | samples/use_nasdaq_client.py | areed1192/finance-news-aggregator | 6d66f44292565cf4ccfeab0983fce1dab90fd1ae | [
"MIT"
] | 49 | 2020-07-19T17:53:41.000Z | 2022-03-27T10:36:36.000Z | samples/use_nasdaq_client.py | webclinic017/finance-news-aggregator | 6d66f44292565cf4ccfeab0983fce1dab90fd1ae | [
"MIT"
] | 1 | 2021-09-12T15:06:29.000Z | 2021-09-12T15:06:29.000Z | samples/use_nasdaq_client.py | webclinic017/finance-news-aggregator | 6d66f44292565cf4ccfeab0983fce1dab90fd1ae | [
"MIT"
] | 18 | 2020-08-06T07:39:17.000Z | 2022-01-16T14:59:28.000Z | from pprint import pprint
from finnews.client import News
# Create a new instance of the News Client.
news_client = News()
# Grab the NASDAQ News Client.
nasdaq_news_client = news_client.nasdaq
# Grab the original content news.
content = nasdaq_news_client.original_content()
pprint(content)
# Grab the Commodity ne... | 23.346939 | 62 | 0.798951 | 315 | 2,288 | 5.55873 | 0.161905 | 0.154198 | 0.219303 | 0.288978 | 0.598515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 2,288 | 97 | 63 | 23.587629 | 0.865119 | 0.298077 | 0 | 0.458333 | 0 | 0 | 0.00253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.479167 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
79b77a671f5c9061c3406831e5397cf4bf830005 | 2,013 | py | Python | ducky/interfaces.py | happz/ducky | 1c6a875ca5a7a9cc71836bad5b7e45cc398d42ad | [
"MIT"
] | 3 | 2015-04-25T18:25:37.000Z | 2017-08-31T20:52:29.000Z | ducky/interfaces.py | happz/ducky-legacy | 1c6a875ca5a7a9cc71836bad5b7e45cc398d42ad | [
"MIT"
] | 27 | 2015-01-06T21:59:22.000Z | 2016-11-12T07:31:39.000Z | ducky/interfaces.py | happz/ducky-legacy | 1c6a875ca5a7a9cc71836bad5b7e45cc398d42ad | [
"MIT"
] | 1 | 2017-05-14T18:52:34.000Z | 2017-05-14T18:52:34.000Z | class IMachineWorker(object):
"""
Base class for objects that provide pluggable service to others.
"""
def boot(self, *args):
"""
Prepare for providing the service. After this call, it may be requested
by others.
"""
pass
def run(self):
"""
Called by reactor's loop when this obj... | 20.333333 | 83 | 0.655241 | 264 | 2,013 | 4.950758 | 0.401515 | 0.032135 | 0.03443 | 0.041316 | 0.044376 | 0.044376 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255837 | 2,013 | 98 | 84 | 20.540816 | 0.872497 | 0.592151 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0.37037 | 0 | 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 |
79c1a761137f0decaafbbf6b935e13b20ed1d459 | 340 | py | Python | stalib/errors/__init__.py | sanoguzhan/STAlib | a1c13998ad77b830acc96abd1705d4869a169bb9 | [
"MIT"
] | 10 | 2020-10-07T18:01:57.000Z | 2020-11-19T23:55:02.000Z | stalib/errors/__init__.py | sanoguzhan/STAlib | a1c13998ad77b830acc96abd1705d4869a169bb9 | [
"MIT"
] | null | null | null | stalib/errors/__init__.py | sanoguzhan/STAlib | a1c13998ad77b830acc96abd1705d4869a169bb9 | [
"MIT"
] | 5 | 2020-10-07T18:04:22.000Z | 2020-11-18T00:11:04.000Z | # flake8: noqa
class STALibValidationError(Exception):
"""
Algorithm data validation raised Error.
if the data is not homogenous.
"""
def __init__(self, _type: str = None) ->None:
self._type = _type
super().__init__()
def __str__(self):
return "For Algorithms Data sh... | 20 | 57 | 0.635294 | 38 | 340 | 5.289474 | 0.710526 | 0.079602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.267647 | 340 | 16 | 58 | 21.25 | 0.803213 | 0.25 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 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 |
79cdb0eebf93757445a2e8b2fec7cfa1b1aaffd1 | 130 | py | Python | Practice/CHCOINSG.py | anirudhkannanvp/CODECHEF | 6d108058c11207caa2e35e471ba88f84c0ea9774 | [
"MIT"
] | null | null | null | Practice/CHCOINSG.py | anirudhkannanvp/CODECHEF | 6d108058c11207caa2e35e471ba88f84c0ea9774 | [
"MIT"
] | null | null | null | Practice/CHCOINSG.py | anirudhkannanvp/CODECHEF | 6d108058c11207caa2e35e471ba88f84c0ea9774 | [
"MIT"
] | null | null | null | t=int(input())
while(t):
t-=1
n=int(input())
if(n%6==0):
print("Misha")
else:
print("Chef") | 16.25 | 23 | 0.415385 | 19 | 130 | 2.842105 | 0.684211 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.353846 | 130 | 8 | 24 | 16.25 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 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 |
79dffc4662814403b85dd9cc787192289b1ea2d2 | 1,401 | py | Python | query-opt/py/implement_me.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | null | null | null | query-opt/py/implement_me.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | null | null | null | query-opt/py/implement_me.py | sean-chester/relational-databases | 9d1d2da00d7d7517c34aab80bb1bcae930a2e706 | [
"Unlicense"
] | 8 | 2022-03-02T19:39:03.000Z | 2022-03-22T06:21:25.000Z | # Implementation of B+-tree functionality.
from index import *
# You should implement all of the static functions declared
# in the ImplementMe class and submit this (and only this!) file.
class ImplementMe:
# Returns a B+-tree obtained by inserting a key into a pre-existing
# B+-tree index if the k... | 37.864865 | 83 | 0.68808 | 195 | 1,401 | 4.923077 | 0.441026 | 0.026042 | 0.01875 | 0.04375 | 0.145833 | 0.127083 | 0.127083 | 0.127083 | 0.127083 | 0.127083 | 0 | 0 | 0.261242 | 1,401 | 36 | 84 | 38.916667 | 0.927536 | 0.68237 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.727273 | 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 |
8dcefa678a781fac37ed206fbc5d1ff625739ecc | 600 | py | Python | firebase/firestore-py/lib/services/auth.py | BraydenKO/RamLife | 10c9bbb7338fbaf6c3d1c98bb2f559e6cc089ee6 | [
"MIT"
] | 3 | 2021-10-03T11:37:11.000Z | 2022-01-20T15:39:58.000Z | firebase/firestore-py/lib/services/auth.py | BraydenKO/RamLife | 10c9bbb7338fbaf6c3d1c98bb2f559e6cc089ee6 | [
"MIT"
] | 58 | 2020-03-10T18:48:52.000Z | 2021-08-31T23:19:09.000Z | firebase/firestore-py/lib/services/auth.py | Ramaz-Upper-School/RamLife | 5015c72f6e6dc53cd5dd37bd3f0f87caf40ec0c4 | [
"MIT"
] | 8 | 2020-09-08T18:29:54.000Z | 2021-04-20T23:11:50.000Z | from .firebase import app
from firebase_admin import auth
from firebase_admin.exceptions import NotFoundError
def create_user(email):
auth.create_user(email=email)
def get_user(email):
try: return auth.get_user_by_email(email)
except NotFoundError: return create_user(email)
def list_users():
return auth.list_... | 24 | 59 | 0.786667 | 90 | 600 | 4.988889 | 0.355556 | 0.120267 | 0.100223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 600 | 24 | 60 | 25 | 0.837687 | 0 | 0 | 0 | 0 | 0 | 0.021667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8df42073441646f8dcecb114dc86a80782327ddc | 2,097 | py | Python | day15-dueling-generators/run.py | mg6/advent-of-code-2017 | d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169 | [
"MIT"
] | null | null | null | day15-dueling-generators/run.py | mg6/advent-of-code-2017 | d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169 | [
"MIT"
] | null | null | null | day15-dueling-generators/run.py | mg6/advent-of-code-2017 | d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
def generator(factor, seed=0, modulus=2147483647, multiple_of=1):
assert multiple_of != 0
while True:
seed *= factor
seed %= modulus
if multiple_of == 1 or seed % multiple_of == 0:
yield seed
def judge(gen_a, gen_b, num_comparisons, bits=16):
ma... | 27.592105 | 65 | 0.694802 | 343 | 2,097 | 4.052478 | 0.201166 | 0.07482 | 0.18705 | 0.100719 | 0.546763 | 0.502878 | 0.429496 | 0.360432 | 0.336691 | 0.261151 | 0 | 0.213379 | 0.173104 | 2,097 | 75 | 66 | 27.96 | 0.588235 | 0.010014 | 0 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.431034 | 1 | 0.034483 | false | 0 | 0 | 0 | 0.051724 | 0.034483 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
5c06c025026f51032add3142fb49d3a5fb141af1 | 268 | py | Python | travel/forum/forms.py | NaimJamalludin/Travelevart | c69eaf0de011dd2f7bb9b83cef03085aa0f93504 | [
"MIT"
] | null | null | null | travel/forum/forms.py | NaimJamalludin/Travelevart | c69eaf0de011dd2f7bb9b83cef03085aa0f93504 | [
"MIT"
] | null | null | null | travel/forum/forms.py | NaimJamalludin/Travelevart | c69eaf0de011dd2f7bb9b83cef03085aa0f93504 | [
"MIT"
] | 1 | 2017-12-02T00:40:26.000Z | 2017-12-02T00:40:26.000Z | from django import forms
from .models import Comment,Forum
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ('user', 'email', 'body')
class ForumForm(forms.ModelForm):
class Meta:
model = Forum
fields = ('forum_title','forum_items') | 22.333333 | 40 | 0.723881 | 34 | 268 | 5.647059 | 0.558824 | 0.145833 | 0.197917 | 0.239583 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152985 | 268 | 12 | 40 | 22.333333 | 0.845815 | 0 | 0 | 0.2 | 0 | 0 | 0.130112 | 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 |
5c1b8ab99c298ec02ae44e4751fe9e663db435eb | 284 | py | Python | changes/buildfailures/missingtests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | changes/buildfailures/missingtests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | changes/buildfailures/missingtests.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | from __future__ import absolute_import
from jinja2 import Markup
from changes.buildfailures.base import BuildFailure
class MissingTests(BuildFailure):
def get_html_label(self, build):
return Markup('Tests were expected for all results, but some or all were missing.')
| 25.818182 | 91 | 0.785211 | 38 | 284 | 5.684211 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004202 | 0.161972 | 284 | 10 | 92 | 28.4 | 0.903361 | 0 | 0 | 0 | 0 | 0 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 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 |
309ba3dacca81fdb42bc43267ad40f887dc3a284 | 639 | py | Python | vargrad/distributions/bernoulli.py | aboustati/vargrad | 59b951e4084de0233ab9ff639b65aa6373116f65 | [
"Apache-2.0"
] | 9 | 2020-10-28T18:49:21.000Z | 2021-11-21T21:51:42.000Z | vargrad/distributions/bernoulli.py | aboustati/vargrad | 59b951e4084de0233ab9ff639b65aa6373116f65 | [
"Apache-2.0"
] | null | null | null | vargrad/distributions/bernoulli.py | aboustati/vargrad | 59b951e4084de0233ab9ff639b65aa6373116f65 | [
"Apache-2.0"
] | 1 | 2021-11-21T22:19:28.000Z | 2021-11-21T22:19:28.000Z | import jax.numpy as np
from jax import random
def sample(p, key, num_samples=1):
"""
Generate Bernoulli Samples
:param p: Bernoulli probabilities (jax.numpy array)
:param key: PRNG key
:param num_samples: number of samples
"""
return random.bernoulli(key, p, shape=(num_samples, *p.shape)... | 24.576923 | 66 | 0.625978 | 96 | 639 | 4.135417 | 0.375 | 0.080605 | 0.098237 | 0.141058 | 0.206549 | 0.206549 | 0.206549 | 0 | 0 | 0 | 0 | 0.012474 | 0.247261 | 639 | 25 | 67 | 25.56 | 0.81289 | 0.416275 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
30a97658becb875864902e77fb162344be7d6ea3 | 125 | py | Python | example1/06/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 4 | 2017-09-23T15:03:17.000Z | 2020-12-05T22:06:20.000Z | example1/06/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 1 | 2020-03-10T21:54:25.000Z | 2020-03-10T21:54:25.000Z | example1/06/main.py | SasuraiNoHoge/Kivy_practice | c046660cb3f3b9180dec9d65e2cd74347c6636c9 | [
"MIT"
] | 7 | 2017-11-17T02:38:18.000Z | 2021-09-26T14:23:58.000Z | #-*- coding: utf-8 -*-
from kivy.app import App
class TestApp(App):
pass
if __name__ == '__main__':
TestApp().run()
| 11.363636 | 26 | 0.616 | 17 | 125 | 4.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.2 | 125 | 10 | 27 | 12.5 | 0.68 | 0.168 | 0 | 0 | 0 | 0 | 0.07767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
30b95aaa7eb32f0efac9a540221669b37f18f312 | 24 | py | Python | sc-kpm/sc-python/services/http_api/__init__.py | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 1 | 2020-05-05T14:11:05.000Z | 2020-05-05T14:11:05.000Z | sc-kpm/sc-python/services/http_api/__init__.py | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 9 | 2022-03-01T07:33:48.000Z | 2022-03-24T17:06:07.000Z | sc-kpm/sc-python/services/http_api/__init__.py | irinagrigorjewa/sc-machine | 732434a179711d8e49066723bd994309235b9ab0 | [
"MIT"
] | 23 | 2015-04-18T15:11:56.000Z | 2021-12-21T14:43:22.000Z | __all__ = ['ws_sc_json'] | 24 | 24 | 0.708333 | 4 | 24 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 |
30bea6f2f9944543216a064274666ce33e913b59 | 109 | py | Python | S4/S4 Library/simulation/vehicles/vehicle_constants.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | 1 | 2021-05-20T19:33:37.000Z | 2021-05-20T19:33:37.000Z | S4/S4 Library/simulation/vehicles/vehicle_constants.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/vehicles/vehicle_constants.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | import enum
class VehicleTransitionState(enum.Int):
NO_STATE = 1
DEPLOYING = ...
MOUNTING = ...
| 15.571429 | 39 | 0.642202 | 11 | 109 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.238532 | 109 | 6 | 40 | 18.166667 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 |
30c8f30fa15252cb9dee4801f94c56809518ce90 | 152 | py | Python | config.py | daviddavo/CrappyCropper | 27cfa532bce8a2ed03e5eb2c4ab3a0bbe75223d6 | [
"MIT"
] | null | null | null | config.py | daviddavo/CrappyCropper | 27cfa532bce8a2ed03e5eb2c4ab3a0bbe75223d6 | [
"MIT"
] | null | null | null | config.py | daviddavo/CrappyCropper | 27cfa532bce8a2ed03e5eb2c4ab3a0bbe75223d6 | [
"MIT"
] | null | null | null | import os
# BASE_DIR = os.getcwd()
BASE_DIR = "/home/davo/Pictures/Wallpapers/UnknownResolution"
ALLOWED_EXTENSIONS = [".png", ".jpg", ".jpeg", ".gif"] | 30.4 | 61 | 0.697368 | 19 | 152 | 5.421053 | 0.842105 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 152 | 5 | 62 | 30.4 | 0.751825 | 0.144737 | 0 | 0 | 0 | 0 | 0.503876 | 0.372093 | 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 |
a505c496794de696e10c4fd7eb30b66fcee73c12 | 3,913 | py | Python | ledger/checkout/utils.py | IndrayaniJadhav/ledger | 54e2d844f3efd923066ec9d7e5ee8fa7faad3e77 | [
"Apache-2.0"
] | null | null | null | ledger/checkout/utils.py | IndrayaniJadhav/ledger | 54e2d844f3efd923066ec9d7e5ee8fa7faad3e77 | [
"Apache-2.0"
] | 1 | 2018-09-20T03:17:03.000Z | 2018-09-20T03:17:03.000Z | ledger/checkout/utils.py | IndrayaniJadhav/ledger | 54e2d844f3efd923066ec9d7e5ee8fa7faad3e77 | [
"Apache-2.0"
] | null | null | null | from oscar.apps.checkout.utils import CheckoutSessionData as CoreCheckoutSessionData
class CheckoutSessionData(CoreCheckoutSessionData):
# Custom Ledger methods
# Card Methods
# ===========================
def charge_by(self, method):
self._set('ledger','card',method)
def card_method(self... | 27.751773 | 84 | 0.554562 | 422 | 3,913 | 4.876777 | 0.14455 | 0.057823 | 0.107386 | 0.140428 | 0.325073 | 0.028183 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213902 | 3,913 | 140 | 85 | 27.95 | 0.669051 | 0.196269 | 0 | 0 | 0 | 0 | 0.185912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.485714 | false | 0 | 0.014286 | 0.242857 | 0.757143 | 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 |
a50b9a75f00bcf803fcab226482611393979a749 | 698 | py | Python | tqdm.py | MaxCodeXTC/InnerEye-DeepLearning | 12b496093097ef48d5ac8880985c04918d7f76fe | [
"MIT"
] | 1 | 2020-09-23T07:26:37.000Z | 2020-09-23T07:26:37.000Z | tqdm.py | MaxCodeXTC/InnerEye-DeepLearning | 12b496093097ef48d5ac8880985c04918d7f76fe | [
"MIT"
] | null | null | null | tqdm.py | MaxCodeXTC/InnerEye-DeepLearning | 12b496093097ef48d5ac8880985c04918d7f76fe | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
# -------------------------------------------------------------------... | 34.9 | 105 | 0.525788 | 83 | 698 | 4.385542 | 0.638554 | 0.043956 | 0.054945 | 0.071429 | 0.120879 | 0.120879 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146132 | 698 | 19 | 106 | 36.736842 | 0.610738 | 0.747851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
eb48d90cb448938e4b6bfecdec503dbde65fffe1 | 2,378 | py | Python | src/TestValues/TestGestures.py | SvenKratz/Protractor3D | 39b6c877cc88cae028ca938e994034b83fcccb68 | [
"MIT"
] | 4 | 2018-02-06T14:41:26.000Z | 2020-03-19T14:16:05.000Z | src/TestValues/TestGestures.py | SvenKratz/Protractor3D | 39b6c877cc88cae028ca938e994034b83fcccb68 | [
"MIT"
] | null | null | null | src/TestValues/TestGestures.py | SvenKratz/Protractor3D | 39b6c877cc88cae028ca938e994034b83fcccb68 | [
"MIT"
] | null | null | null | '''
Created on Apr 12, 2011
@author: svenkratz
'''
Triangle = [-11.6989,66.1471,0,-16.7297,53.6023,0,-20.9605,40.2224,0,-25.1012,26.8512,0,-30.375,14.6689,0,-36.3905,3.62857,0,-42.5839,-7.21708,0,-48.2647,-18.8834,0,-48.5197,-26.3401,0,-39.7211,-27.1884,0,-30.9196,-28.0427,0,-22.1053,-28.1357,0,-13.2896,-28.1357,0,-4... | 169.857143 | 583 | 0.67704 | 613 | 2,378 | 2.623165 | 0.474715 | 0.018657 | 0.017413 | 0.011194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.659864 | 0.010934 | 2,378 | 13 | 584 | 182.923077 | 0.02381 | 0.018082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb59cd7ec2d273210a074ba2cc4ef97740e9e3f0 | 445 | py | Python | src/apps/announcements/apps.py | petgo3/katago-server | c661ceb597eeaba5a78e9fceaec4b3c7728b03d9 | [
"MIT"
] | 27 | 2020-05-03T11:01:27.000Z | 2022-03-17T05:33:10.000Z | src/apps/announcements/apps.py | petgo3/katago-server | c661ceb597eeaba5a78e9fceaec4b3c7728b03d9 | [
"MIT"
] | 54 | 2020-05-09T01:18:41.000Z | 2022-01-22T10:31:15.000Z | src/apps/announcements/apps.py | petgo3/katago-server | c661ceb597eeaba5a78e9fceaec4b3c7728b03d9 | [
"MIT"
] | 9 | 2020-09-29T11:31:32.000Z | 2022-03-09T01:37:50.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class AnnouncementsConfig(AppConfig):
"""
Katago Announcements app handles some messages for the front page of the site
"""
name = "src.apps.announcements"
verbose_name = _("Announcements")
def ready(sel... | 24.722222 | 81 | 0.676404 | 50 | 445 | 5.94 | 0.74 | 0.06734 | 0.13468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009036 | 0.253933 | 445 | 17 | 82 | 26.176471 | 0.885542 | 0.197753 | 0 | 0 | 0 | 0 | 0.102639 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
eb71afe473836f47369998ebf0ed9a3853101903 | 3,105 | py | Python | 12-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | 1 | 2022-03-24T06:04:54.000Z | 2022-03-24T06:04:54.000Z | 12-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | null | null | null | 12-dars.py | thejorabek/python | 62ac888dedd6fcb485f2f3a074a127b2b0c45d31 | [
"Apache-2.0"
] | null | null | null | # #%% Time module
import time as t
t.sleep(0.5)
print(5)
t.sleep(0.5)
print(4)
t.sleep(0.5)
print(3)
t.sleep(0.5)
print(2)
t.sleep(0.5)
print(1)
t.sleep(0.5)
print(0)
print(t.asctime())
# #%% Polimorfizm
# print(2+3,2.14+3.14,True+False,"salom"+"xayr")
# print([1,2,3,4]+[5,6,7,8,9])
# print(len("salom"),len([1,2,3,4])... | 24.069767 | 58 | 0.657649 | 443 | 3,105 | 4.604966 | 0.311512 | 0.058824 | 0.102941 | 0.122549 | 0.506373 | 0.387745 | 0.24902 | 0.24902 | 0.221569 | 0.221569 | 0 | 0.060778 | 0.14686 | 3,105 | 128 | 59 | 24.257813 | 0.709324 | 0.87182 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
eb7629ce6b7e5d73c4503148f7ccfb1884f85b7f | 52 | py | Python | CodeWars/8 Kyu/Returning Strings.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Returning Strings.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Returning Strings.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | greet = "Hello, {0} how are you doing today?".format | 52 | 52 | 0.692308 | 9 | 52 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.153846 | 52 | 1 | 52 | 52 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb7b51132e8c2c6946771c8e851f782c08155e4e | 215 | py | Python | examples/quickstart.py | larrycameron80/rastrea2r | d11070f43ee79e4ac809269080e7fb4b8e1b11e7 | [
"MIT"
] | 1 | 2018-12-10T09:56:06.000Z | 2018-12-10T09:56:06.000Z | examples/quickstart.py | larrycameron80/rastrea2r | d11070f43ee79e4ac809269080e7fb4b8e1b11e7 | [
"MIT"
] | null | null | null | examples/quickstart.py | larrycameron80/rastrea2r | d11070f43ee79e4ac809269080e7fb4b8e1b11e7 | [
"MIT"
] | null | null | null | '''
This example script imports the rastrea2r package and
prints out the version.
'''
import rastrea2r
def main():
print(f'rastrea2r version: {rastrea2r.__version__}')
if __name__ == '__main__':
main()
| 14.333333 | 56 | 0.702326 | 26 | 215 | 5.346154 | 0.692308 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.181395 | 215 | 14 | 57 | 15.357143 | 0.767045 | 0.35814 | 0 | 0 | 0 | 0 | 0.384615 | 0.176923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eba1099cfc3cb05dde39f38a062b84b3a3142588 | 297 | py | Python | wxviews/core/node.py | eumis/wxviews | 7b3adffb119e480807276ea3149d878c3879baaf | [
"MIT"
] | 6 | 2018-04-12T20:30:57.000Z | 2020-03-25T12:57:00.000Z | wxviews/core/node.py | eumis/wxviews | 7b3adffb119e480807276ea3149d878c3879baaf | [
"MIT"
] | null | null | null | wxviews/core/node.py | eumis/wxviews | 7b3adffb119e480807276ea3149d878c3879baaf | [
"MIT"
] | null | null | null | """Contains core nodes for wxviews"""
from abc import ABC, abstractmethod
class Sizerable(ABC):
"""Has arguments for sizer"""
@property
@abstractmethod
def sizer_args(self) -> dict:
"""Sizer args"""
@sizer_args.setter
def sizer_args(self, value):
pass
| 17.470588 | 37 | 0.632997 | 35 | 297 | 5.285714 | 0.628571 | 0.194595 | 0.12973 | 0.172973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.249158 | 297 | 16 | 38 | 18.5625 | 0.829596 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ebc3b38c5f97a900fef9040a3ac7162e58b1ac49 | 1,306 | py | Python | winton_kafka_streams/processor/serialization/integer.py | jkramarz/winton-kafka-streams | 22526da71454a8b9c7bba53e4f59f645535de602 | [
"Apache-2.0"
] | null | null | null | winton_kafka_streams/processor/serialization/integer.py | jkramarz/winton-kafka-streams | 22526da71454a8b9c7bba53e4f59f645535de602 | [
"Apache-2.0"
] | null | null | null | winton_kafka_streams/processor/serialization/integer.py | jkramarz/winton-kafka-streams | 22526da71454a8b9c7bba53e4f59f645535de602 | [
"Apache-2.0"
] | null | null | null | from ._serde import extract_config_property
from ._deserializer import Deserializer
from ._serializer import Serializer
class IntegerSerializer(Serializer):
def __init__(self):
self.byte_order = 'little'
self.signed = True
self.int_size = 8
def serialize(self, topic, data):
re... | 34.368421 | 103 | 0.709035 | 161 | 1,306 | 5.459627 | 0.236025 | 0.071672 | 0.095563 | 0.159272 | 0.622298 | 0.572241 | 0.572241 | 0.473265 | 0.473265 | 0.354949 | 0 | 0.000945 | 0.189893 | 1,306 | 37 | 104 | 35.297297 | 0.829868 | 0 | 0 | 0.444444 | 0 | 0 | 0.089587 | 0.016845 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.074074 | 0.111111 | 0.074074 | 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 |
ebcd95fdce24f785733919be4e3d909198690edc | 1,640 | py | Python | python/origen/origen/interface.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | python/origen/origen/interface.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | 127 | 2019-11-23T17:09:35.000Z | 2021-09-02T11:06:20.000Z | python/origen/origen/interface.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | import origen
import _origen
# Base class for all test program flow interfaces
class BaseInterface(_origen.interface.PyInterface):
def __init__(self):
self._options = []
self.bypass_sub_flows = False
self.add_flow_enable = None
pass
def include(self, path, **kwargs):
o... | 29.285714 | 95 | 0.676829 | 207 | 1,640 | 5.207729 | 0.468599 | 0.040816 | 0.027829 | 0.027829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00236 | 0.225 | 1,640 | 55 | 96 | 29.818182 | 0.845791 | 0.210976 | 0 | 0.055556 | 0 | 0 | 0.048951 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.222222 | false | 0.083333 | 0.055556 | 0.083333 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
cce4b40d24b82913cc7564dab2cf616a53dd08f0 | 587 | py | Python | bespon/__init__.py | gpoore/bespon_py | 183d0a49146025969266fc1b4157392d5ffda609 | [
"BSD-3-Clause"
] | 4 | 2020-07-07T13:40:24.000Z | 2021-11-15T09:52:44.000Z | bespon/__init__.py | sthagen/gpoore-bespon_py | 183d0a49146025969266fc1b4157392d5ffda609 | [
"BSD-3-Clause"
] | 3 | 2020-07-17T15:36:47.000Z | 2021-02-06T18:09:08.000Z | bespon/__init__.py | sthagen/gpoore-bespon_py | 183d0a49146025969266fc1b4157392d5ffda609 | [
"BSD-3-Clause"
] | 1 | 2021-11-15T09:52:48.000Z | 2021-11-15T09:52:48.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016-2017, Geoffrey M. Poore
# All rights reserved.
#
# Licensed under the BSD 3-Clause License:
# http://opensource.org/licenses/BSD-3-Clause
#
from __future__ import (division, print_function, absolute_import,
unicode_literals)
from .version import... | 24.458333 | 66 | 0.752981 | 75 | 587 | 5.613333 | 0.653333 | 0.019002 | 0.047506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022449 | 0.165247 | 587 | 23 | 67 | 25.521739 | 0.836735 | 0.289608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ccf0da8afbc8f1881fc0f6debeaf55f94fa7dc75 | 38,565 | py | Python | tests/test_phixlib.py | mwielgoszewski/phixlib | 6e35ee9d3db5c33ca8d2d12ebb3961134b1b0006 | [
"ISC"
] | 4 | 2015-05-23T12:15:38.000Z | 2016-12-21T17:05:10.000Z | tests/test_phixlib.py | mwielgoszewski/phixlib | 6e35ee9d3db5c33ca8d2d12ebb3961134b1b0006 | [
"ISC"
] | null | null | null | tests/test_phixlib.py | mwielgoszewski/phixlib | 6e35ee9d3db5c33ca8d2d12ebb3961134b1b0006 | [
"ISC"
] | 2 | 2015-11-18T20:07:50.000Z | 2019-03-28T08:09:05.000Z | # -*- coding: utf-8 -*-
from pprint import pprint
from phixlib import FIX
from phixlib.fix import Field, FIXMessage, Group
from phixlib.parser import parse_message
def test_registry():
assert FIX.FIXMessage
assert FIX.FIXMessage.Header
assert FIX.FIXMessage.Trailer
assert not FIX.FIXMessage.msgcat
... | 39.881075 | 340 | 0.604642 | 4,759 | 38,565 | 4.860265 | 0.075436 | 0.055339 | 0.065629 | 0.015737 | 0.794163 | 0.716688 | 0.669823 | 0.641721 | 0.636619 | 0.607393 | 0 | 0.136502 | 0.24167 | 38,565 | 966 | 341 | 39.92236 | 0.654402 | 0.048075 | 0 | 0.55 | 0 | 0.032353 | 0.231947 | 0.1149 | 0 | 0 | 0 | 0.001035 | 0.438235 | 1 | 0.017647 | false | 0 | 0.005882 | 0 | 0.023529 | 0.030882 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
691398ad933b9d8051aad43c95809d99b6a5239c | 230 | py | Python | django_rest_model/db/admin.py | MarcoGlauser/django_rest_model | 7155c4bd75adf23e093f3fd662d0b3bee040445f | [
"MIT"
] | 1 | 2016-11-18T14:58:02.000Z | 2016-11-18T14:58:02.000Z | django_rest_model/db/admin.py | MarcoGlauser/django_rest_model | 7155c4bd75adf23e093f3fd662d0b3bee040445f | [
"MIT"
] | null | null | null | django_rest_model/db/admin.py | MarcoGlauser/django_rest_model | 7155c4bd75adf23e093f3fd662d0b3bee040445f | [
"MIT"
] | null | null | null | from django.contrib.admin import ModelAdmin, StackedInline, TabularInline
class RestModelAdmin(ModelAdmin):
pass
class RestModelStackedInline(StackedInline):
pass
class RestModelTabularInline(TabularInline):
pass | 17.692308 | 73 | 0.804348 | 20 | 230 | 9.25 | 0.65 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 230 | 13 | 74 | 17.692308 | 0.934343 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
691a6a76bf25ae9fa0d1896e2351f3ec65a1072f | 453 | py | Python | python/debug_tools/test_comms.py | rmcreyes/cpen391-de1 | 726a921f3ab4a7c169d930082ef422c09531e79a | [
"MIT"
] | null | null | null | python/debug_tools/test_comms.py | rmcreyes/cpen391-de1 | 726a921f3ab4a7c169d930082ef422c09531e79a | [
"MIT"
] | 4 | 2021-02-19T22:02:30.000Z | 2021-04-10T20:41:07.000Z | python/debug_tools/test_comms.py | rmcreyes/cpen391-de1 | 726a921f3ab4a7c169d930082ef422c09531e79a | [
"MIT"
] | null | null | null | import c_comm_interfacing_utils
import time
# simple communication script that parks and leaves 3 seconds after entering the information
# initialize wifi and rfs
c_comm_interfacing_utils.init_rfs_wifi()
# park
c_comm_interfacing_utils.new_parked("ABCABC")
# leave after 3 seconds
print("sleep for 3s")
... | 23.842105 | 93 | 0.785872 | 67 | 453 | 5.029851 | 0.507463 | 0.074184 | 0.237389 | 0.311573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.143488 | 453 | 19 | 94 | 23.842105 | 0.858247 | 0.335541 | 0 | 0 | 0 | 0 | 0.129496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0.222222 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
691abbe5090c715cd897cf142731076584dc8395 | 77 | py | Python | pyaestro/dataclasses/__init__.py | FrankD412/pyaestro | fb5797fe260c4285b40667a1e82337824c30f0ff | [
"MIT"
] | 2 | 2020-05-20T02:19:49.000Z | 2020-09-13T03:30:38.000Z | pyaestro/dataclasses/__init__.py | FrankD412/pyaestro | fb5797fe260c4285b40667a1e82337824c30f0ff | [
"MIT"
] | 12 | 2020-09-24T03:43:00.000Z | 2021-08-31T13:53:40.000Z | pyaestro/dataclasses/__init__.py | FrankD412/pyaestro | fb5797fe260c4285b40667a1e82337824c30f0ff | [
"MIT"
] | 1 | 2021-02-09T22:35:34.000Z | 2021-02-09T22:35:34.000Z | from pyaestro.dataclasses._graphs import GraphEdge
__all__ = ("GraphEdge",)
| 19.25 | 50 | 0.792208 | 8 | 77 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 3 | 51 | 25.666667 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 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 |
694b0e580ed3c79c86c002e1a984a620bbd2c878 | 450 | py | Python | rpy2json/project/utils.py | Grimalkin8675/rpy2html | cf67f12ce1d16159edb5cfd105b3ffc3db8bd3fc | [
"MIT"
] | 1 | 2018-08-27T21:54:56.000Z | 2018-08-27T21:54:56.000Z | rpy2json/project/utils.py | Grimalkin8675/rpy2html | cf67f12ce1d16159edb5cfd105b3ffc3db8bd3fc | [
"MIT"
] | 1 | 2019-01-19T12:01:02.000Z | 2019-05-18T12:01:40.000Z | rpy2json/project/utils.py | Grimalkin8675/rpy2html | cf67f12ce1d16159edb5cfd105b3ffc3db8bd3fc | [
"MIT"
] | null | null | null | import re
INVALID_CHARS = re.compile(r'[^0-9a-zA-Z_]')
def remove_invalid_chars(s):
return re.sub(INVALID_CHARS, '', s.replace('.', '_'))
def guiattr(gui, gui_attr, default):
'''
Retrieves gui's gui_attr value if it exists else default
'''
if hasattr(gui, gui_attr):
return getattr(gui, ... | 20.454545 | 62 | 0.637778 | 65 | 450 | 4.246154 | 0.476923 | 0.101449 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005602 | 0.206667 | 450 | 21 | 63 | 21.428571 | 0.767507 | 0.124444 | 0 | 0 | 0 | 0 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.727273 | 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 |
69501def1d91ae69ee8ab55acc3e3ecf32c70c7e | 861 | py | Python | deeprank/models/pair.py | DeepRank/DeepRank_VariantPred | 42cd85c7a521463ab2b644ef8da87c107a2b5bce | [
"Apache-2.0"
] | null | null | null | deeprank/models/pair.py | DeepRank/DeepRank_VariantPred | 42cd85c7a521463ab2b644ef8da87c107a2b5bce | [
"Apache-2.0"
] | 9 | 2021-11-01T11:01:55.000Z | 2021-12-13T09:56:17.000Z | deeprank/models/pair.py | DeepRank/DeepRank_VariantPred | 42cd85c7a521463ab2b644ef8da87c107a2b5bce | [
"Apache-2.0"
] | 1 | 2021-12-31T14:57:28.000Z | 2021-12-31T14:57:28.000Z |
class Pair:
""" A hashable, comparable object for any set of two inputs where order doesn't matter.
Args:
item1 (object): the pair's first object
item2 (object): the pair's second object
"""
def __init__(self, item1, item2):
self.item1 = item1
self.item2 =... | 31.888889 | 91 | 0.624855 | 122 | 861 | 4.278689 | 0.459016 | 0.086207 | 0.10728 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025932 | 0.283391 | 861 | 26 | 92 | 33.115385 | 0.820097 | 0.484321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.3 | 0.8 | 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 |
69596407da1e9fb6b588fa1a0d3ccbd54630a191 | 514 | py | Python | behind/images/migrations/0003_auto_20180622_1726.py | SilverNine/behind | 739b866713a2f2cb7154ac8197c256ee14fd1a0d | [
"MIT"
] | null | null | null | behind/images/migrations/0003_auto_20180622_1726.py | SilverNine/behind | 739b866713a2f2cb7154ac8197c256ee14fd1a0d | [
"MIT"
] | 6 | 2020-06-05T18:26:15.000Z | 2021-06-10T20:22:47.000Z | behind/images/migrations/0003_auto_20180622_1726.py | SilverNine/behind | 739b866713a2f2cb7154ac8197c256ee14fd1a0d | [
"MIT"
] | null | null | null | # Generated by Django 2.0.6 on 2018-06-22 08:26
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('images', '0002_auto_20180612_0918'),
]
operations = [
migrations.RenameField(
model_name='comment',
old_name='create_at',
... | 21.416667 | 47 | 0.564202 | 54 | 514 | 5.12963 | 0.648148 | 0.151625 | 0.187726 | 0.216607 | 0.223827 | 0.223827 | 0.223827 | 0.223827 | 0 | 0 | 0 | 0.089337 | 0.324903 | 514 | 23 | 48 | 22.347826 | 0.708934 | 0.087549 | 0 | 0.470588 | 1 | 0 | 0.169165 | 0.049251 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
696a2a796e08f969a598a05b5a95346708fa2b48 | 603 | py | Python | 2019/01/fuel_calculator.py | cheshyre/advent-of-code | 2ccc1529bbf8b0deed938d0783deb09dcc8f5e50 | [
"Unlicense"
] | 1 | 2021-12-03T07:20:23.000Z | 2021-12-03T07:20:23.000Z | 2019/01/fuel_calculator.py | cheshyre/advent-of-code | 2ccc1529bbf8b0deed938d0783deb09dcc8f5e50 | [
"Unlicense"
] | null | null | null | 2019/01/fuel_calculator.py | cheshyre/advent-of-code | 2ccc1529bbf8b0deed938d0783deb09dcc8f5e50 | [
"Unlicense"
] | null | null | null | """Module to calculate fuel needs."""
__all__ = ["get_fuel_needed", "get_fuel_needed_complete"]
def get_fuel_needed(mass: int) -> int:
"""Calculate fuel needed to launch mass."""
return mass // 3 - 2
def get_fuel_needed_complete(mass: int) -> int:
"""Calculate fuel needed to launch mass and fuel itself... | 31.736842 | 72 | 0.728027 | 83 | 603 | 4.879518 | 0.253012 | 0.444444 | 0.224691 | 0.167901 | 0.602469 | 0.365432 | 0.202469 | 0.202469 | 0.202469 | 0 | 0 | 0.006048 | 0.177446 | 603 | 18 | 73 | 33.5 | 0.810484 | 0.20398 | 0 | 0 | 0 | 0 | 0.084052 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
696bd2cdf39904309c61f61948dc6244bd916595 | 354 | py | Python | hmmer/typing.py | FelixLanger/hmmer-py | 43e0b198c036a539cbaf923085a6bcd21d141633 | [
"MIT"
] | 1 | 2020-12-12T16:09:34.000Z | 2020-12-12T16:09:34.000Z | hmmer/typing.py | FelixLanger/hmmer-py | 43e0b198c036a539cbaf923085a6bcd21d141633 | [
"MIT"
] | 2 | 2021-01-16T12:58:40.000Z | 2021-02-10T23:10:25.000Z | hmmer/typing.py | FelixLanger/hmmer-py | 43e0b198c036a539cbaf923085a6bcd21d141633 | [
"MIT"
] | 3 | 2020-08-10T15:02:54.000Z | 2021-04-11T15:52:06.000Z | from .domtbl import DomTBLCoord, DomTBLDomScore, DomTBLIndex, DomTBLRow, DomTBLSeqScore
from .hmmer import Result
from .tbl import TBLDom, TBLIndex, TBLRow, TBLScore
__all__ = [
"DomTBLCoord",
"DomTBLDomScore",
"DomTBLIndex",
"DomTBLRow",
"DomTBLSeqScore",
"Result",
"TBLDom",
"TBLIndex"... | 20.823529 | 87 | 0.669492 | 30 | 354 | 7.766667 | 0.533333 | 0.214592 | 0.309013 | 0.386266 | 0.506438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20904 | 354 | 16 | 88 | 22.125 | 0.832143 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
696d0849511a42a67f8af0750a863481ceb85eb2 | 581 | py | Python | Orses_Network_Core/NetworkAddressManager.py | snwokenk/Orses_Core | 218706c2956de47e8c5699a6abcad5cab1af85cd | [
"MIT"
] | null | null | null | Orses_Network_Core/NetworkAddressManager.py | snwokenk/Orses_Core | 218706c2956de47e8c5699a6abcad5cab1af85cd | [
"MIT"
] | null | null | null | Orses_Network_Core/NetworkAddressManager.py | snwokenk/Orses_Core | 218706c2956de47e8c5699a6abcad5cab1af85cd | [
"MIT"
] | null | null | null |
class NetworkAddressManager:
"""
Class will contain variables and methods to create, update, return and manage network addresses
This includes creating an addresses file
Updating and addresses file, when new addresses are discovered
returning addresses to a NetworkManager method, when client must ... | 48.416667 | 114 | 0.777969 | 75 | 581 | 6.026667 | 0.68 | 0.057522 | 0.084071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197935 | 581 | 12 | 115 | 48.416667 | 0.969957 | 0.862306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
15e8cc97431be3722b314fb54070b813793673f4 | 187 | py | Python | elezioni/views/youtube.py | Cesaaar/mon_elezioni | 749ad8a06119474fea77c0bdd338753e99a8a469 | [
"Apache-2.0"
] | null | null | null | elezioni/views/youtube.py | Cesaaar/mon_elezioni | 749ad8a06119474fea77c0bdd338753e99a8a469 | [
"Apache-2.0"
] | 1 | 2018-12-17T15:38:17.000Z | 2018-12-20T19:31:18.000Z | elezioni/views/youtube.py | Cesaaar/mon_elezioni | 749ad8a06119474fea77c0bdd338753e99a8a469 | [
"Apache-2.0"
] | null | null | null | # import
from elezioni import app, get_db, render_template, url_for
# youtube page
@app.route('/youtube')
def youtube():
engine = get_db()
return render_template('youtube.html')
| 20.777778 | 58 | 0.721925 | 26 | 187 | 5 | 0.653846 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15508 | 187 | 8 | 59 | 23.375 | 0.822785 | 0.101604 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
c608434bbf4769306e688746cf488293bbd88ef7 | 1,060 | py | Python | avatar/configuration/configurationFactory.py | Bounti/avatar-python | c975dd2519102319284869eba2f1efe1dea29cd0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | avatar/configuration/configurationFactory.py | Bounti/avatar-python | c975dd2519102319284869eba2f1efe1dea29cd0 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | avatar/configuration/configurationFactory.py | Bounti/avatar-python | c975dd2519102319284869eba2f1efe1dea29cd0 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-25T15:44:08.000Z | 2022-02-25T15:44:08.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from builtins import int
from future import standard_library
standard_library.install_aliases()
from avatar.configuration.parser.parserV1 import ParserV1
from avatar.confi... | 33.125 | 72 | 0.717925 | 119 | 1,060 | 6.12605 | 0.521008 | 0.131687 | 0.109739 | 0.079561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009697 | 0.221698 | 1,060 | 31 | 73 | 34.193548 | 0.873939 | 0.057547 | 0 | 0 | 0 | 0 | 0.101202 | 0 | 0 | 0 | 0 | 0.032258 | 0.04 | 1 | 0.12 | false | 0 | 0.32 | 0.08 | 0.64 | 0.04 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c60d63b1dd475c55f2421642813ded4384b31998 | 678 | py | Python | navigation.py | stefanp312/chat-bot | 71a244bf28d01c5e69c441ebd648ca267c0b5411 | [
"MIT"
] | 2 | 2016-01-06T23:02:01.000Z | 2016-07-23T02:00:40.000Z | navigation.py | stefanp312/chat-bot | 71a244bf28d01c5e69c441ebd648ca267c0b5411 | [
"MIT"
] | 1 | 2016-07-20T04:27:23.000Z | 2016-07-20T04:27:52.000Z | navigation.py | stefanp312/chat-bot | 71a244bf28d01c5e69c441ebd648ca267c0b5411 | [
"MIT"
] | null | null | null | import wiki
import reddit
import twitter
import nlanguage
def choose_script(bodyText=""):
bodyText = bodyText.lower()
if reddit.do_joke(bodyText) == "Valid":
return reddit.get_joke(False)
if reddit.do_til(bodyText) == "Valid":
return reddit.get_til()
if reddit.do_quote(bodyText) == "Val... | 32.285714 | 47 | 0.688791 | 82 | 678 | 5.54878 | 0.304878 | 0.171429 | 0.250549 | 0.164835 | 0.312088 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19469 | 678 | 20 | 48 | 33.9 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.210526 | 0 | 0.631579 | 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 |
c61e0477eca655cf65b4e39d004f8f022d922c8d | 1,940 | py | Python | tests/unit/model/test_report.py | DeanWay/coverage-threshold | f242495331b6dbb1319cc6aac9e449b450c7c874 | [
"MIT"
] | 6 | 2021-01-25T18:37:02.000Z | 2022-01-06T15:13:11.000Z | tests/unit/model/test_report.py | DeanWay/coverage-threshold | f242495331b6dbb1319cc6aac9e449b450c7c874 | [
"MIT"
] | null | null | null | tests/unit/model/test_report.py | DeanWay/coverage-threshold | f242495331b6dbb1319cc6aac9e449b450c7c874 | [
"MIT"
] | null | null | null | from coverage_threshold.model.report import (
CoverageSummaryModel,
FileCoverageModel,
ReportMetadata,
ReportModel,
)
def test_report_parse__full() -> None:
assert ReportModel.parse(
{
"meta": {
"branch_coverage": True,
},
"files": {
... | 28.955224 | 50 | 0.397938 | 126 | 1,940 | 5.81746 | 0.34127 | 0.098226 | 0.130969 | 0.062756 | 0.706685 | 0.706685 | 0.58663 | 0.499318 | 0.499318 | 0.499318 | 0 | 0.031546 | 0.509794 | 1,940 | 66 | 51 | 29.393939 | 0.739222 | 0 | 0 | 0.109375 | 0 | 0 | 0.134536 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 1 | 0.015625 | true | 0 | 0.015625 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c625fd619ae16d4bcdcdebdcbde02478f313a011 | 94,997 | py | Python | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-BusMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-BusMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-BusMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-BusMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-BusMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:29:30 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Usi... | 238.68593 | 7,926 | 0.808699 | 11,629 | 94,997 | 6.606243 | 0.071287 | 0.038113 | 0.066698 | 0.007029 | 0.65024 | 0.555842 | 0.548527 | 0.541263 | 0.529639 | 0.509802 | 0 | 0.041254 | 0.103087 | 94,997 | 397 | 7,927 | 239.287154 | 0.860394 | 0.003832 | 0 | 0 | 0 | 0.158974 | 0.487667 | 0.05003 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.084615 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c63d212c8af00a7e0064827f6e7910ee011a3401 | 23 | py | Python | server/config/flask_testing.py | rhlobo/bigtempo_server | 29f327dc03ab7145dc2b12207b06bf9724d4f460 | [
"MIT"
] | null | null | null | server/config/flask_testing.py | rhlobo/bigtempo_server | 29f327dc03ab7145dc2b12207b06bf9724d4f460 | [
"MIT"
] | null | null | null | server/config/flask_testing.py | rhlobo/bigtempo_server | 29f327dc03ab7145dc2b12207b06bf9724d4f460 | [
"MIT"
] | null | null | null | # FLASK
TESTING = True
| 7.666667 | 14 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 15 | 11.5 | 0.888889 | 0.217391 | 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 |
c640be16189bf7a571cb48999afb6bcc73200fc1 | 502 | py | Python | basyx/aas/model/security.py | eclipse-basyx/basyx-sdk-python | 1249f49803a6ef5e594bb61410ad1c7939c2bdb7 | [
"MIT"
] | 4 | 2022-01-07T01:30:49.000Z | 2022-02-21T07:58:14.000Z | basyx/aas/model/security.py | eclipse-basyx/basyx-sdk-python | 1249f49803a6ef5e594bb61410ad1c7939c2bdb7 | [
"MIT"
] | 5 | 2022-02-22T15:24:22.000Z | 2022-03-28T11:42:28.000Z | basyx/aas/model/security.py | eclipse-basyx/basyx-sdk-python | 1249f49803a6ef5e594bb61410ad1c7939c2bdb7 | [
"MIT"
] | 2 | 2021-11-15T10:24:02.000Z | 2022-03-17T14:44:39.000Z | # Copyright (c) 2019 the Eclipse BaSyx Authors
#
# This program and the accompanying materials are made available under the terms of the MIT License, available in
# the LICENSE file of this project.
#
# SPDX-License-Identifier: MIT
"""
This module contains the security aspects of the AAS metamodel. Currently, the secur... | 27.888889 | 119 | 0.73506 | 75 | 502 | 4.92 | 0.626667 | 0.0271 | 0.081301 | 0.097561 | 0.140921 | 0.140921 | 0 | 0 | 0 | 0 | 0 | 0.00995 | 0.199203 | 502 | 17 | 120 | 29.529412 | 0.90796 | 0.866534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c6557d4aabaab20765e65d002c8f414631f6e44d | 8,110 | py | Python | Level.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | null | null | null | Level.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | 4 | 2016-04-01T15:12:31.000Z | 2016-04-18T15:05:29.000Z | Level.py | KRHS-GameProgramming-2015/Adlez | 8912da1ee4b3c7b105851dbcc00579ff0c3cf33e | [
"BSD-2-Clause"
] | null | null | null | import pygame, sys, math, random, time
from Wall import *
from Sand import *
from Rock import *
from Water import *
from Grass import *
from CaveWall import *
from CaveFloor import *
from HardBlock import *
from SoftBlock import *
from Enemy import *
class Level():
def __init__(self, lev, sizeX=0, sizeY=0, allLeve... | 36.696833 | 88 | 0.432306 | 770 | 8,110 | 4.535065 | 0.154545 | 0.353666 | 0.14433 | 0.103093 | 0.697308 | 0.688144 | 0.675544 | 0.675544 | 0.675544 | 0.675544 | 0 | 0.019807 | 0.464612 | 8,110 | 220 | 89 | 36.863636 | 0.784431 | 0.009248 | 0 | 0.579235 | 0 | 0 | 0.011831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.060109 | null | null | 0.032787 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d684858e0e57a221682905005c9594c50f9cd8fa | 5,857 | py | Python | find_features.py | amirrezarazmjoo/Fall-Detection_Dynamical_haar_Cascade | 205c62e39f75bfd3920ad1743ce859524ff2306c | [
"MIT"
] | 1 | 2021-09-21T11:27:05.000Z | 2021-09-21T11:27:05.000Z | find_features.py | amirrezarazmjoo/Fall-Detection_Dynamical_haar_Cascade | 205c62e39f75bfd3920ad1743ce859524ff2306c | [
"MIT"
] | null | null | null | find_features.py | amirrezarazmjoo/Fall-Detection_Dynamical_haar_Cascade | 205c62e39f75bfd3920ad1743ce859524ff2306c | [
"MIT"
] | 2 | 2021-03-23T05:27:46.000Z | 2021-09-21T11:27:14.000Z | # this code tries to find which features are selected by Adaboost, the haarfeatures_with_clue tries to label all feature then this code findes the selected features using the labels (feat_paras) and returns the string which is used to extract the features. instead of labeling all faetures in each try, one matrix named ... | 30.505208 | 439 | 0.666553 | 1,046 | 5,857 | 3.478011 | 0.223709 | 0.233095 | 0.257284 | 0.264431 | 0.307587 | 0.18884 | 0.18884 | 0.095382 | 0.095382 | 0.095382 | 0 | 0.091299 | 0.164077 | 5,857 | 191 | 440 | 30.664921 | 0.651757 | 0.090149 | 0 | 0 | 0 | 0 | 0.181181 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005348 | false | 0 | 0.069519 | 0 | 0.326203 | 0.005348 | 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 |
d68da698310843099e14031bad45c5f6ce6a90d9 | 25 | py | Python | python/testData/refactoring/extractsuperclass/multifile/a/b/foo.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractsuperclass/multifile/a/b/foo.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractsuperclass/multifile/a/b/foo.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | # existing module
A = 1
| 6.25 | 17 | 0.64 | 4 | 25 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.28 | 25 | 3 | 18 | 8.333333 | 0.833333 | 0.6 | 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 |
d6a99cb3b76b243a1c0c7f3e2b9755c00df1c026 | 25,665 | py | Python | visual_navigation_app FLL Replay.py | arrana16/FLl-Visual-Navigation | d957d784f3fd6ab68ad5b96643101c82edacf46f | [
"MIT"
] | 2 | 2020-08-19T14:07:21.000Z | 2021-06-18T14:37:55.000Z | visual_navigation_app FLL Replay.py | arrana16/FLl-Visual-Navigation | d957d784f3fd6ab68ad5b96643101c82edacf46f | [
"MIT"
] | null | null | null | visual_navigation_app FLL Replay.py | arrana16/FLl-Visual-Navigation | d957d784f3fd6ab68ad5b96643101c82edacf46f | [
"MIT"
] | null | null | null | # Insert All of your objects that you're robot is using.
objects = '''
ev3 = EV3Brick()
rigthlm = Motor(Port.A)
lefltm = Motor(Port.B)
rightm = Motor(Port.C)
leftm = Motor(Port.D)
rsensor = ColorSensor(Port.S1)
lsensor = ColorSensor(Port.S2)
gyro = GyroSensor(Port.S3)
colur_detector = ColorSensor(Port.S4)
'''
# Insert... | 33.858839 | 147 | 0.554958 | 3,090 | 25,665 | 4.535275 | 0.135275 | 0.011132 | 0.020551 | 0.022263 | 0.694092 | 0.674968 | 0.66562 | 0.637505 | 0.624304 | 0.624304 | 0 | 0.053433 | 0.308708 | 25,665 | 757 | 148 | 33.903567 | 0.736445 | 0.024937 | 0 | 0.709828 | 0 | 0.012481 | 0.356443 | 0.108552 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020281 | null | null | 0.048362 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d6f831b08f2e0bc73035be816b7987a66d583a53 | 528 | py | Python | Adventure-Project/Narration.py | MatthewGraber/Portfolio | 333237de1efd7de4465614e15c1285a23cab0be7 | [
"MIT"
] | null | null | null | Adventure-Project/Narration.py | MatthewGraber/Portfolio | 333237de1efd7de4465614e15c1285a23cab0be7 | [
"MIT"
] | null | null | null | Adventure-Project/Narration.py | MatthewGraber/Portfolio | 333237de1efd7de4465614e15c1285a23cab0be7 | [
"MIT"
] | null | null | null | class lines:
intro = ['You wake up. The room is dim and you have little visibility in the treehouse while it\'s in its current state.', 'You climb out of your hammock and walk out onto the suspended wooden ledge outside.', 'You behold the vastness of the mountain range before you.', 'You wish you could stay here l... | 105.6 | 445 | 0.712121 | 91 | 528 | 4.131868 | 0.736264 | 0.026596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002392 | 0.208333 | 528 | 5 | 446 | 105.6 | 0.897129 | 0 | 0 | 0 | 0 | 0 | 0.40381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ba3d8e23c2ca4757afa9506e30a096d1b9289805 | 44 | py | Python | phasor/__init__.py | amadavan/PhasorPy | 01e69c7ca6f0bf65a5c31e98557b1c945511d618 | [
"MIT"
] | null | null | null | phasor/__init__.py | amadavan/PhasorPy | 01e69c7ca6f0bf65a5c31e98557b1c945511d618 | [
"MIT"
] | null | null | null | phasor/__init__.py | amadavan/PhasorPy | 01e69c7ca6f0bf65a5c31e98557b1c945511d618 | [
"MIT"
] | null | null | null | __all__ = ['network', 'index', 'ed', 'sced'] | 44 | 44 | 0.568182 | 5 | 44 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.4 | 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 |
ba438d0e5dcd1df90b0e4db0bec9131542ef70b7 | 210 | py | Python | aiorss/__init__.py | bradybellini/aiorss | f50f72e380f80506f835d7eac3410d2d18ab20a0 | [
"MIT"
] | null | null | null | aiorss/__init__.py | bradybellini/aiorss | f50f72e380f80506f835d7eac3410d2d18ab20a0 | [
"MIT"
] | null | null | null | aiorss/__init__.py | bradybellini/aiorss | f50f72e380f80506f835d7eac3410d2d18ab20a0 | [
"MIT"
] | null | null | null | """Welcome"""
__author__ = "Brady"
__name__ = "aiorss"
import asyncio
from .getrssfeed import GetRSSFeed
from .rssparser import RSSParser
class BuildRSS():
async def __init__(self):
pass
| 13.125 | 34 | 0.685714 | 22 | 210 | 6 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219048 | 210 | 15 | 35 | 14 | 0.804878 | 0.033333 | 0 | 0 | 0 | 0 | 0.055838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.375 | 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 |
ba772d2044c661d66bdc677a1e4960a12c52a6f3 | 5,837 | py | Python | appengine/src/greenday_core/tests/test_model_comments.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 6 | 2018-07-31T16:48:07.000Z | 2020-02-01T03:17:51.000Z | appengine/src/greenday_core/tests/test_model_comments.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 41 | 2018-08-07T16:43:07.000Z | 2020-06-05T18:54:50.000Z | appengine/src/greenday_core/tests/test_model_comments.py | meedan/montage | 4da0116931edc9af91f226876330645837dc9bcc | [
"Apache-2.0"
] | 1 | 2018-08-07T16:40:18.000Z | 2018-08-07T16:40:18.000Z | """
Tests for :mod:`greenday_core.models.comment <greenday_core.models.comment>`
"""
from milkman.dairy import milkman
from django.utils import timezone
from ..models import (
User,
Project,
TimedVideoComment,
ProjectComment
)
from .base import AppengineTestBed
class TimedVideoCommentTestCase(Ap... | 32.071429 | 122 | 0.601508 | 629 | 5,837 | 5.473768 | 0.158983 | 0.031368 | 0.037758 | 0.043567 | 0.872495 | 0.825443 | 0.757479 | 0.645077 | 0.564624 | 0.530932 | 0 | 0.012204 | 0.298098 | 5,837 | 181 | 123 | 32.248619 | 0.828167 | 0.152304 | 0 | 0.653846 | 0 | 0 | 0.027368 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.134615 | 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 |
ba8ecd65536218db1fcee57770e41ca7caebf932 | 60 | py | Python | shell_example/exploit.py | w-haibara/mcdo_2020_ctf | 1f0447c8689ad7ce599ad2fcb48d2190c8a3d63c | [
"MIT"
] | null | null | null | shell_example/exploit.py | w-haibara/mcdo_2020_ctf | 1f0447c8689ad7ce599ad2fcb48d2190c8a3d63c | [
"MIT"
] | null | null | null | shell_example/exploit.py | w-haibara/mcdo_2020_ctf | 1f0447c8689ad7ce599ad2fcb48d2190c8a3d63c | [
"MIT"
] | null | null | null | from pwn import *
io = process("./a.out")
io.interactive()
| 12 | 23 | 0.65 | 9 | 60 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 4 | 24 | 15 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 0 | 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 |
ba92592c40e743d772ecb630c1c2e661afd66a33 | 540 | py | Python | layers/linear.py | vietnamican/einsum_practice | 877994cb763879298c33eb7f73c728b6ff4edc7e | [
"Apache-2.0"
] | 3 | 2020-12-06T06:48:45.000Z | 2021-11-08T08:33:18.000Z | layers/linear.py | vietnamican/einsum_practice | 877994cb763879298c33eb7f73c728b6ff4edc7e | [
"Apache-2.0"
] | null | null | null | layers/linear.py | vietnamican/einsum_practice | 877994cb763879298c33eb7f73c728b6ff4edc7e | [
"Apache-2.0"
] | null | null | null | import torch
from torch import as_strided
# from torch import einsum
from torch import nn
from einops import rearrange, reduce, asnumpy, parse_shape
from einops.layers.torch import Rearrange, Reduce
from opt_einsum import contract as einsum
def to_tensor(*args):
return (torch.Tensor(x) for x in args)
class Ei... | 23.478261 | 58 | 0.711111 | 78 | 540 | 4.769231 | 0.474359 | 0.11828 | 0.120968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190741 | 540 | 22 | 59 | 24.545455 | 0.851259 | 0.044444 | 0 | 0 | 0 | 0 | 0.01751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.428571 | 0.071429 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
baa93f51bd74cd3028fcf033a16264382edf48e1 | 269 | py | Python | coogger/cooggerapp/urls/controls.py | ewuoso/coogger | 11df6f8487b59bd06f9a496efde3fec998a64217 | [
"MIT"
] | null | null | null | coogger/cooggerapp/urls/controls.py | ewuoso/coogger | 11df6f8487b59bd06f9a496efde3fec998a64217 | [
"MIT"
] | null | null | null | coogger/cooggerapp/urls/controls.py | ewuoso/coogger | 11df6f8487b59bd06f9a496efde3fec998a64217 | [
"MIT"
] | null | null | null | from django.conf.urls import url
#views
from cooggerapp.views import controls
urlpatterns = [
url(r'^/create/',controls.Create.as_view(),name="cooggerapp-create"),
url(r'^/change/(?P<content_id>.+)/',controls.Change.as_view(),name="cooggerapp-change"),
]
| 26.9 | 92 | 0.702602 | 36 | 269 | 5.166667 | 0.527778 | 0.043011 | 0.107527 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107807 | 269 | 9 | 93 | 29.888889 | 0.775 | 0.018587 | 0 | 0 | 0 | 0 | 0.269962 | 0.106464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
baad0d05a0632608e8ab8007873f5e15de8d8e28 | 4,368 | py | Python | geosoft/gxapi/GXLL2.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 25 | 2017-07-14T06:39:37.000Z | 2022-03-09T21:39:51.000Z | geosoft/gxapi/GXLL2.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 100 | 2016-12-13T17:30:41.000Z | 2021-08-01T20:21:13.000Z | geosoft/gxapi/GXLL2.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 28 | 2016-12-12T17:34:40.000Z | 2022-03-16T15:39:39.000Z | ### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref
### endblock ClassImports
### block Header
# NOTICE: The code generator will not replace the code in this block
### end... | 29.12 | 143 | 0.613324 | 537 | 4,368 | 4.891993 | 0.286778 | 0.063951 | 0.077655 | 0.066997 | 0.325466 | 0.293491 | 0.293491 | 0.270651 | 0.270651 | 0.270651 | 0 | 0.021474 | 0.285714 | 4,368 | 150 | 144 | 29.12 | 0.820513 | 0.672848 | 0 | 0.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
baba26912b46e5f92ae5c7f7f1167412e5b4ae05 | 163 | py | Python | test/urls.py | movermeyer/django-response-timeout | 38f7462ab71d967749efc3be914e2a7a2df80f33 | [
"MIT"
] | 1 | 2018-06-17T19:54:47.000Z | 2018-06-17T19:54:47.000Z | test/urls.py | movermeyer/django-response-timeout | 38f7462ab71d967749efc3be914e2a7a2df80f33 | [
"MIT"
] | null | null | null | test/urls.py | movermeyer/django-response-timeout | 38f7462ab71d967749efc3be914e2a7a2df80f33 | [
"MIT"
] | 1 | 2018-03-03T16:17:38.000Z | 2018-03-03T16:17:38.000Z | from django.http import HttpResponse
from django.conf.urls import patterns, url
urlpatterns = patterns(
'',
url(r'^$', lambda request: HttpResponse()),
)
| 20.375 | 47 | 0.705521 | 19 | 163 | 6.052632 | 0.684211 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 163 | 7 | 48 | 23.285714 | 0.845588 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0 | 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 |
baca07d9a3b93d4deb547fd7aed31abcb1ddb67b | 314 | py | Python | circular_buffer.py | eryous/AttentionSeeker | 60878ac6eca4d4009a26fa74551abdb72b030380 | [
"MIT"
] | null | null | null | circular_buffer.py | eryous/AttentionSeeker | 60878ac6eca4d4009a26fa74551abdb72b030380 | [
"MIT"
] | null | null | null | circular_buffer.py | eryous/AttentionSeeker | 60878ac6eca4d4009a26fa74551abdb72b030380 | [
"MIT"
] | null | null | null | class CircularBuffer(object):
def __init__(self,max_size):
self.max_size = max_size
self.log = [0] * self.max_size
self.current = 0
def record(self, eye_num):
self.log[self.current] = eye_num
self.current = ((self.current+1) % self.max_size) #O(1) insertion
| 24.153846 | 73 | 0.60828 | 44 | 314 | 4.090909 | 0.386364 | 0.194444 | 0.244444 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.267516 | 314 | 12 | 74 | 26.166667 | 0.765217 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
badacbce304e0c6c59a35549f4f33e56a37795ef | 67 | py | Python | data/studio21_generated/interview/0294/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0294/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0294/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def totalNQueens(self, n: int) -> int:
| 22.333333 | 42 | 0.58209 | 8 | 67 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298507 | 67 | 3 | 43 | 22.333333 | 0.829787 | 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 |
241ea3bb7c271cd2e435dc3e4bf5beeff7f7116a | 4,126 | py | Python | env/lib/python2.7/site-packages/guess_language/data/models/sl.py | Eric-Muthemba/qontroverse | 1f12d0e3bbdee628a88bac77dc53426ded220755 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/guess_language/data/models/sl.py | Eric-Muthemba/qontroverse | 1f12d0e3bbdee628a88bac77dc53426ded220755 | [
"MIT"
] | 1 | 2021-06-02T01:45:42.000Z | 2021-06-02T01:45:42.000Z | env/lib/python2.7/site-packages/guess_language/data/models/sl.py | Eric-Muthemba/qontroverse | 1f12d0e3bbdee628a88bac77dc53426ded220755 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
model = {
u'je ': 0,
u' pr': 1,
u' po': 2,
u' je': 3,
u' v ': 4,
u' za': 5,
u' na': 6,
u'pre': 7,
u'da ': 8,
u' da': 9,
u'ki ': 10,
u'ti ': 11,
u'ja ': 12,
u'ne ': 13,
u' in': 14,
u'in ': 15,
u'li ': 16,
u'no ': 17,
u'na ': 18,
u'ni ': 19,
u' bi': 20,
u'jo ': 21,
u' ne': 2... | 13.572368 | 23 | 0.449588 | 948 | 4,126 | 1.956751 | 0.578059 | 0.012938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257907 | 0.256665 | 4,126 | 303 | 24 | 13.617162 | 0.346919 | 0.00509 | 0 | 0 | 0 | 0 | 0.219352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2424268312c57c789388378af70692256229a5d8 | 210 | py | Python | src/rlmamr/MA_hddrqn/utils/Agent.py | yuchen-x/CoRL2019 | d482a90441bc8eb0461f1f22fbd65d96584f6914 | [
"MIT"
] | 2 | 2020-02-05T04:17:03.000Z | 2021-05-24T04:07:36.000Z | src/rlmamr/MA_hddrqn/utils/Agent.py | yuchen-x/CoRL2019 | d482a90441bc8eb0461f1f22fbd65d96584f6914 | [
"MIT"
] | null | null | null | src/rlmamr/MA_hddrqn/utils/Agent.py | yuchen-x/CoRL2019 | d482a90441bc8eb0461f1f22fbd65d96584f6914 | [
"MIT"
] | null | null | null | class Agent:
"""A class of an agent"""
def __init__(self):
self.idx = None
self.policy_net = None
self.target_net = None
self.optimizer = None
self.loss = None
| 19.090909 | 30 | 0.552381 | 27 | 210 | 4.074074 | 0.555556 | 0.290909 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352381 | 210 | 10 | 31 | 21 | 0.808824 | 0.090476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 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 |
242cbbe4663e76387014e93b6063121771a92ee3 | 313 | py | Python | ideas/pscrabble/srn/scrabble_tiles.py | Who8MyLunch/Eat_Words | cfbac1417272cea62c245014fcd7803b1a497339 | [
"MIT"
] | null | null | null | ideas/pscrabble/srn/scrabble_tiles.py | Who8MyLunch/Eat_Words | cfbac1417272cea62c245014fcd7803b1a497339 | [
"MIT"
] | null | null | null | ideas/pscrabble/srn/scrabble_tiles.py | Who8MyLunch/Eat_Words | cfbac1417272cea62c245014fcd7803b1a497339 | [
"MIT"
] | null | null | null | from Tkinter import *
from board_defs import *
def draw_tile(canvas, letter, x, y):
canvas.create_bitmap(x, y, {'bitmap':BaseName+letter+'.xbm', 'background':'ivory'})
canvas.create_text(x + Cell/5, y+Cell/5,
{'text':`Scores[letter]`, 'font':'-b&h-lucida-medium-r-normal-sans-12-*-*-*-p-*-iso8859-1'})
| 39.125 | 98 | 0.661342 | 49 | 313 | 4.142857 | 0.693878 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.108626 | 313 | 7 | 99 | 44.714286 | 0.695341 | 0 | 0 | 0 | 0 | 0.166667 | 0.28115 | 0.175719 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
242da68c3f6a9a6a78725a4c6e764d2c077261a9 | 1,508 | py | Python | Scripts/day17.py | HarrisonGreen/Advent-of-Code-2015 | 6a81395882c79135548eb7984bfd98c279c5f258 | [
"MIT"
] | null | null | null | Scripts/day17.py | HarrisonGreen/Advent-of-Code-2015 | 6a81395882c79135548eb7984bfd98c279c5f258 | [
"MIT"
] | null | null | null | Scripts/day17.py | HarrisonGreen/Advent-of-Code-2015 | 6a81395882c79135548eb7984bfd98c279c5f258 | [
"MIT"
] | null | null | null | def read_input():
file = open("Data/day17.txt", "r")
containers = []
for line in file:
line = int(line.strip("\n"))
containers.append(line)
return sorted(containers, reverse = True)
def count_combinations(containers, litres):
if sum(containers) < litre... | 31.416667 | 79 | 0.598143 | 163 | 1,508 | 5.398773 | 0.263804 | 0.3 | 0.209091 | 0.263636 | 0.490909 | 0.438636 | 0.272727 | 0.272727 | 0.272727 | 0.272727 | 0 | 0.029358 | 0.277188 | 1,508 | 48 | 80 | 31.416667 | 0.777982 | 0 | 0 | 0.147059 | 0 | 0 | 0.073871 | 0.038988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088235 | false | 0.029412 | 0 | 0 | 0.235294 | 0.058824 | 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 |
2432492708850d1a636c457102c4344bb17e0431 | 328 | py | Python | simpleElse.py | anayakoti/FirstSample | 8ef05772991644e63a4fd6759458f449cd2b00c0 | [
"bzip2-1.0.6"
] | null | null | null | simpleElse.py | anayakoti/FirstSample | 8ef05772991644e63a4fd6759458f449cd2b00c0 | [
"bzip2-1.0.6"
] | null | null | null | simpleElse.py | anayakoti/FirstSample | 8ef05772991644e63a4fd6759458f449cd2b00c0 | [
"bzip2-1.0.6"
] | null | null | null | #Writeing to check Simple Else statements.
print("Please do enter a value");
UserInput=int(input());
if(UserInput<3):
print("User has entered a number that is less than 3");
else:
print("User has entered an number that is either equal to 3 or greater than 3");
#*****************End of the Program****************... | 32.8 | 83 | 0.637195 | 50 | 328 | 4.18 | 0.68 | 0.086124 | 0.114833 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014337 | 0.14939 | 328 | 10 | 84 | 32.8 | 0.734767 | 0.304878 | 0 | 0 | 0 | 0 | 0.60793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2463ef11408757b9a153974aaa2aee56e52d5a57 | 12,147 | py | Python | sdk/python/pulumi_signalfx/text_chart.py | pulumi/pulumi-signalfx | 0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-05-09T17:37:04.000Z | 2021-10-08T06:43:07.000Z | sdk/python/pulumi_signalfx/text_chart.py | pulumi/pulumi-signalfx | 0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456 | [
"ECL-2.0",
"Apache-2.0"
] | 61 | 2019-11-25T17:04:45.000Z | 2022-03-31T15:44:52.000Z | sdk/python/pulumi_signalfx/text_chart.py | pulumi/pulumi-signalfx | 0b0701eda3b9e4c5c590f3547f8cfc5d1ff8b456 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-05-08T06:44:20.000Z | 2020-11-24T12:22:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 37.146789 | 200 | 0.608298 | 1,408 | 12,147 | 5.083807 | 0.159801 | 0.0753 | 0.091925 | 0.086058 | 0.757195 | 0.727019 | 0.69335 | 0.671696 | 0.664571 | 0.657307 | 0 | 0.00175 | 0.294229 | 12,147 | 326 | 201 | 37.260736 | 0.832264 | 0.356631 | 0 | 0.617284 | 1 | 0 | 0.069889 | 0.00492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154321 | false | 0.006173 | 0.030864 | 0 | 0.277778 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79ef5c43f52918b7ac1e5813ba4a62d3ffc5fdd5 | 731 | py | Python | movie.py | aliraeisdanaei/NetflixMovieSuggester | d9faacf2c99f3fe8b362e9580317cc7ccf0e9219 | [
"Vim"
] | null | null | null | movie.py | aliraeisdanaei/NetflixMovieSuggester | d9faacf2c99f3fe8b362e9580317cc7ccf0e9219 | [
"Vim"
] | 1 | 2021-06-22T20:35:57.000Z | 2021-06-24T00:28:07.000Z | movie.py | aliraeisdanaei/NetflixMovieSuggester | d9faacf2c99f3fe8b362e9580317cc7ccf0e9219 | [
"Vim"
] | null | null | null | class Movie:
def __init__(self, title, rlsyr, runTime, genre, link):
self.__title = title
self.__rlsyr = rlsyr
self.__runTime = runTime
self.__genre = genre
self.__link = link
def printMovie(self):
print('Movie Title: ', self.__title)
print('Release Year:... | 24.366667 | 59 | 0.590971 | 81 | 731 | 4.91358 | 0.259259 | 0.125628 | 0.175879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29959 | 731 | 29 | 60 | 25.206897 | 0.777344 | 0 | 0 | 0 | 0 | 0 | 0.073871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0 | 0.217391 | 0.565217 | 0.26087 | 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 |
79f3807290efd9a6c4dc37824bdf0d3cdf58ffb7 | 81,976 | py | Python | pysnmp-with-texts/Nortel-Magellan-Passport-BaseRoutingMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-BaseRoutingMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-BaseRoutingMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-Magellan-Passport-BaseRoutingMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-BaseRoutingMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:26:32 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwan... | 163.62475 | 7,300 | 0.787962 | 10,175 | 81,976 | 6.348206 | 0.076658 | 0.010558 | 0.100135 | 0.010837 | 0.613271 | 0.482668 | 0.470469 | 0.462914 | 0.439134 | 0.41986 | 0 | 0.05251 | 0.102347 | 81,976 | 500 | 7,301 | 163.952 | 0.825279 | 0.004538 | 0 | 0 | 0 | 0.121704 | 0.39147 | 0.052614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.087221 | 0.018256 | 0 | 0.018256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
79fafa926de2969a0829540b123de583c10420f3 | 1,980 | py | Python | python/code_challenges/tree/tree/test_tree.py | u-will/data-structures-and-algorithms | 7ef7b5a527fbcacef8cbfe7a01fc69990c7358c3 | [
"MIT"
] | null | null | null | python/code_challenges/tree/tree/test_tree.py | u-will/data-structures-and-algorithms | 7ef7b5a527fbcacef8cbfe7a01fc69990c7358c3 | [
"MIT"
] | null | null | null | python/code_challenges/tree/tree/test_tree.py | u-will/data-structures-and-algorithms | 7ef7b5a527fbcacef8cbfe7a01fc69990c7358c3 | [
"MIT"
] | null | null | null |
import pytest
from tree import Node, BinaryTree, BinarySearchTree
def test_tree_structure():
assert BinaryTree()
def test_left_and_right():
tree_node = BinarySearchTree()
tree_node.add(5)
tree_node.add(8)
tree_node.add(5)
left = tree_node.root.left.value
expect_left = 8
right = tree_n... | 25.063291 | 58 | 0.669697 | 301 | 1,980 | 4.159468 | 0.156146 | 0.29393 | 0.219649 | 0.134185 | 0.412939 | 0.326677 | 0.298722 | 0.162939 | 0.162939 | 0.162939 | 0 | 0.057088 | 0.212626 | 1,980 | 78 | 59 | 25.384615 | 0.745991 | 0 | 0 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0 | null | null | 0 | 0.028986 | null | null | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
79fee7ea980458f9e60808490d86843809d615e0 | 83 | py | Python | trainerhost/constants.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | trainerhost/constants.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | trainerhost/constants.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | class Constants:
RTM_READ_DELAY = 1 # 1 second delay between reading from RTM
| 27.666667 | 65 | 0.746988 | 13 | 83 | 4.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.216867 | 83 | 2 | 66 | 41.5 | 0.892308 | 0.46988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0319469914a926a17148e7f50ca56c2cb8d8ac58 | 187 | py | Python | Django/Django_Template/app001/api/urls.py | YizheZhang-Ervin/EZDjango | ae140d9743ab03e59fc1b385cbbfcd5a6941426d | [
"MIT"
] | 1 | 2022-02-02T06:02:57.000Z | 2022-02-02T06:02:57.000Z | Django/Django_Template/app001/api/urls.py | YizheZhang-Ervin/FullStack_WebFramework | ae140d9743ab03e59fc1b385cbbfcd5a6941426d | [
"MIT"
] | null | null | null | Django/Django_Template/app001/api/urls.py | YizheZhang-Ervin/FullStack_WebFramework | ae140d9743ab03e59fc1b385cbbfcd5a6941426d | [
"MIT"
] | null | null | null | from django.urls import path
from .views import ArticleListView,ArticleDetailView
urlpatterns = [
path('',ArticleListView.as_view()),
path('<pk>',ArticleDetailView.as_view()),
] | 23.375 | 52 | 0.737968 | 20 | 187 | 6.8 | 0.6 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122995 | 187 | 8 | 53 | 23.375 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 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 |
0321349d0f33518588709c6cb39e4c9fc08fc208 | 17 | py | Python | example/docker/jupyterhub-singleuser/jupyterhub_config.py | torcato/JupyterTextAuthenticator | ee561daabbe86d7fefd81aac5b656817b15b5560 | [
"MIT"
] | null | null | null | example/docker/jupyterhub-singleuser/jupyterhub_config.py | torcato/JupyterTextAuthenticator | ee561daabbe86d7fefd81aac5b656817b15b5560 | [
"MIT"
] | null | null | null | example/docker/jupyterhub-singleuser/jupyterhub_config.py | torcato/JupyterTextAuthenticator | ee561daabbe86d7fefd81aac5b656817b15b5560 | [
"MIT"
] | null | null | null | c = get_config()
| 8.5 | 16 | 0.647059 | 3 | 17 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
032bd2bd1cbf6c107fab9b7a7da4f4fe56fb3dad | 3,201 | py | Python | Supernova/filter.py | Feliconut/PurdueCS324-LSST | 79273ba0ef8ed9aab9e08c736c22631a8e250f6e | [
"Apache-2.0"
] | null | null | null | Supernova/filter.py | Feliconut/PurdueCS324-LSST | 79273ba0ef8ed9aab9e08c736c22631a8e250f6e | [
"Apache-2.0"
] | null | null | null | Supernova/filter.py | Feliconut/PurdueCS324-LSST | 79273ba0ef8ed9aab9e08c736c22631a8e250f6e | [
"Apache-2.0"
] | 1 | 2021-02-24T03:54:33.000Z | 2021-02-24T03:54:33.000Z | '''
Filters that determine whether a Locus meets a particular criteria.
'''
# %%
from antares_client._api.models import Locus
from typing import Generator
def apply(
stream: Generator[Locus, None, None],
*filters,
debug=False,
):
'''
Apply a series of filters to an iterable sequence of loci.
... | 25.007813 | 87 | 0.560137 | 388 | 3,201 | 4.481959 | 0.273196 | 0.057504 | 0.020702 | 0.069005 | 0.262795 | 0.212766 | 0.169063 | 0.169063 | 0.169063 | 0.121909 | 0 | 0.009139 | 0.350515 | 3,201 | 127 | 88 | 25.204724 | 0.827321 | 0.194314 | 0 | 0.4 | 0 | 0 | 0.036499 | 0.020016 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.057143 | 0.057143 | 0.014286 | 0.542857 | 0.014286 | 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 |
03376bf7b4a8fbcd087a971a73abbe31f2cb11bd | 132 | py | Python | steps/bot/urls.py | VishalCR7/steps | 521e9317b0973795e9f2b98df9d41908ae95e042 | [
"Apache-2.0"
] | null | null | null | steps/bot/urls.py | VishalCR7/steps | 521e9317b0973795e9f2b98df9d41908ae95e042 | [
"Apache-2.0"
] | null | null | null | steps/bot/urls.py | VishalCR7/steps | 521e9317b0973795e9f2b98df9d41908ae95e042 | [
"Apache-2.0"
] | 3 | 2018-10-06T11:40:53.000Z | 2018-10-07T18:49:06.000Z | from django.conf.urls import url
from bot import views
urlpatterns = [
url(r'^bot/$', views.parser),
]
| 18.857143 | 41 | 0.560606 | 16 | 132 | 4.625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325758 | 132 | 6 | 42 | 22 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 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 |
033f902e22533e15702046a311ea95ec3205fa28 | 3,711 | py | Python | wordsum/read/utils/etl_wordsum.py | wordsum/wordsum2vec | 549f41a183210042834617ba49e505d164573445 | [
"OML"
] | null | null | null | wordsum/read/utils/etl_wordsum.py | wordsum/wordsum2vec | 549f41a183210042834617ba49e505d164573445 | [
"OML"
] | null | null | null | wordsum/read/utils/etl_wordsum.py | wordsum/wordsum2vec | 549f41a183210042834617ba49e505d164573445 | [
"OML"
] | null | null | null | import logging
'''
G E T D A T A F R O M W O R D S U M
'''
'''
Get and check the file state is it has all the data for the word2vec.
'''
def get_file_state(text_model):
logging.debug("Getting file state :")
if 'fileState' in text_model:
file_state = text_model['fileState']
else:
f... | 29.688 | 131 | 0.750202 | 457 | 3,711 | 5.827133 | 0.161926 | 0.136688 | 0.057078 | 0.054074 | 0.75629 | 0.721367 | 0.707848 | 0.646264 | 0.62148 | 0.60721 | 0 | 0.000325 | 0.171113 | 3,711 | 124 | 132 | 29.927419 | 0.86541 | 0 | 0 | 0.517857 | 0 | 0 | 0.223955 | 0.062044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.017857 | 0 | 0.303571 | 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 |
0357efffdf804566f06b7a493c48ace7681989b9 | 196 | py | Python | gdk/screen-info.py | jeteokeeffe/gtk-python-examples | fd0ea414d5cf91f905f7081117136379cd4768fe | [
"MIT"
] | null | null | null | gdk/screen-info.py | jeteokeeffe/gtk-python-examples | fd0ea414d5cf91f905f7081117136379cd4768fe | [
"MIT"
] | null | null | null | gdk/screen-info.py | jeteokeeffe/gtk-python-examples | fd0ea414d5cf91f905f7081117136379cd4768fe | [
"MIT"
] | null | null | null | import gi
gi.require_version('Gdk', '3.0')
from gi.repository import Gdk
screen = Gdk.Screen.get_default()
print("screen width: {} height: {}".format(screen.get_width(), screen.get_height()))
| 19.6 | 84 | 0.714286 | 29 | 196 | 4.689655 | 0.551724 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.107143 | 196 | 9 | 85 | 21.777778 | 0.765714 | 0 | 0 | 0 | 0 | 0 | 0.168367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
0364dda01236cd813fe0a46eae4fb3769f025482 | 574 | py | Python | src/cobra/apps/project/migrations/0003_auto_20150213_0958.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | 1 | 2015-01-27T08:56:46.000Z | 2015-01-27T08:56:46.000Z | src/cobra/apps/project/migrations/0003_auto_20150213_0958.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | src/cobra/apps/project/migrations/0003_auto_20150213_0958.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('project', '0002_auto_20150210_1315'),
]
operations = [
migrations.RemoveField(
model_name='project',
... | 21.259259 | 47 | 0.560976 | 49 | 574 | 6.285714 | 0.571429 | 0.204545 | 0.253247 | 0.292208 | 0.428571 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0.043928 | 0.325784 | 574 | 26 | 48 | 22.076923 | 0.751938 | 0.036585 | 0 | 0.45 | 0 | 0 | 0.14882 | 0.041742 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.05 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
036fb7b6cbbad0bc47fd87c70ccf51053854b213 | 548 | py | Python | jumeaux/addons/models.py | ihatov08/jumeaux | 7d983474df4b6dcfa57ea1a66901fbc99ebababa | [
"MIT"
] | 11 | 2017-10-02T01:29:12.000Z | 2022-03-31T08:37:22.000Z | jumeaux/addons/models.py | ihatov08/jumeaux | 7d983474df4b6dcfa57ea1a66901fbc99ebababa | [
"MIT"
] | 79 | 2017-07-16T14:47:17.000Z | 2022-03-31T08:49:14.000Z | jumeaux/addons/models.py | ihatov08/jumeaux | 7d983474df4b6dcfa57ea1a66901fbc99ebababa | [
"MIT"
] | 2 | 2019-01-28T06:11:58.000Z | 2021-01-25T07:21:21.000Z | # -*- coding: utf-8 -*-
from owlmixin import OwlMixin, TOption, TList
class Addon(OwlMixin):
name: str
cls_name: str = "Executor"
config: TOption[dict]
include: TOption[str]
tags: TOption[TList[str]]
# List is None...
class Addons(OwlMixin):
log2reqs: Addon
reqs2reqs: TList[Addon] = []
... | 22.833333 | 45 | 0.614964 | 62 | 548 | 5.387097 | 0.532258 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01182 | 0.228102 | 548 | 23 | 46 | 23.826087 | 0.777778 | 0.067518 | 0 | 0 | 0 | 0 | 0.015748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.058824 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0375cdc0372e7518085d5b7e20a45da78fd3ac84 | 101 | py | Python | 04functions/01functions.py | dlunna/al.d20.py | 621c1b29ab645ec3017c3b38a49aaffd3496387e | [
"MIT"
] | null | null | null | 04functions/01functions.py | dlunna/al.d20.py | 621c1b29ab645ec3017c3b38a49aaffd3496387e | [
"MIT"
] | null | null | null | 04functions/01functions.py | dlunna/al.d20.py | 621c1b29ab645ec3017c3b38a49aaffd3496387e | [
"MIT"
] | null | null | null | #Definicion de funcion
def hello(name="humano"):
print("Hellow world", name)
hello("dl")
hello() | 16.833333 | 31 | 0.683168 | 14 | 101 | 4.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138614 | 101 | 6 | 32 | 16.833333 | 0.793103 | 0.207921 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 |
cee64feae9e96d6ed21bfc5097b0c4b135757712 | 124 | py | Python | tests/calling/default.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 50 | 2015-03-24T19:45:34.000Z | 2022-02-20T04:34:26.000Z | tests/basic/default.py | MoonStarCZW/py2js | 6cda2b1d3cf281a5ca92c18b08ac9fa1c389cbea | [
"MIT"
] | 2 | 2017-02-26T09:43:07.000Z | 2017-03-06T20:04:24.000Z | tests/calling/default.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 11 | 2016-03-29T06:17:07.000Z | 2021-12-11T12:57:41.000Z | g = 99
def f(a, b=1, c="default c", d=g):
print a
print b
print c
print d
f(0)
f(0, 77)
f(0, 77, "hello")
| 10.333333 | 34 | 0.483871 | 29 | 124 | 2.068966 | 0.482759 | 0.1 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 0.330645 | 124 | 11 | 35 | 11.272727 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.444444 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cef705d3696fa11e37e32477ec8a47fae98d60ab | 159 | py | Python | Python/tut1a.py | Shashanksinha9/Hacktoberfest2021-2 | 64c8a002662e3f07601a4bcbf9ac8c36006cfd9a | [
"MIT"
] | 1 | 2021-10-13T07:35:23.000Z | 2021-10-13T07:35:23.000Z | Python/tut1a.py | Shashanksinha9/Hacktoberfest2021-2 | 64c8a002662e3f07601a4bcbf9ac8c36006cfd9a | [
"MIT"
] | 1 | 2021-10-11T08:05:24.000Z | 2021-10-11T08:05:24.000Z | Python/tut1a.py | Shashanksinha9/Hacktoberfest2021-2 | 64c8a002662e3f07601a4bcbf9ac8c36006cfd9a | [
"MIT"
] | 1 | 2021-10-05T16:21:42.000Z | 2021-10-05T16:21:42.000Z | import os
def mostimpfun():
print("Mahi is a Coder")
print(__name__)
def main():
print("Os is Great")
if(__name__=="__main__"):
main()
| 9.352941 | 28 | 0.591195 | 21 | 159 | 3.904762 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251572 | 159 | 16 | 29 | 9.9375 | 0.689076 | 0 | 0 | 0 | 0 | 0 | 0.21519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.375 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cefee4d89a5482113980d2c624ed8e171c56b40d | 15,886 | py | Python | modelforge/tests/test_index.py | src-d/modelforge | 94d546e99c4d2fd072c425e5f605a5179ac795ce | [
"Apache-2.0"
] | 19 | 2017-07-22T21:10:15.000Z | 2019-05-26T15:26:20.000Z | modelforge/tests/test_index.py | src-d/modelforge | 94d546e99c4d2fd072c425e5f605a5179ac795ce | [
"Apache-2.0"
] | 47 | 2017-07-21T11:21:26.000Z | 2019-10-30T20:40:34.000Z | modelforge/tests/test_index.py | src-d/modelforge | 94d546e99c4d2fd072c425e5f605a5179ac795ce | [
"Apache-2.0"
] | 16 | 2017-07-21T11:02:23.000Z | 2021-01-28T11:22:42.000Z | import os
import shutil
from tempfile import gettempdir
import unittest
import modelforge.index as index
from modelforge.tests import fake_dulwich as fake_git
class GitIndexTests(unittest.TestCase):
tempdir = gettempdir()
cached_path = os.path.join(tempdir, "modelforge-test-cache")
repo_path = os.path.jo... | 48.88 | 98 | 0.639305 | 1,936 | 15,886 | 5.07593 | 0.091426 | 0.067569 | 0.059835 | 0.067671 | 0.814694 | 0.753434 | 0.716902 | 0.647095 | 0.603847 | 0.588379 | 0 | 0.051607 | 0.220572 | 15,886 | 324 | 99 | 49.030864 | 0.742045 | 0 | 0 | 0.4 | 0 | 0 | 0.194826 | 0.087939 | 0 | 0 | 0 | 0 | 0.286207 | 1 | 0.055172 | false | 0.013793 | 0.027586 | 0 | 0.106897 | 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 |
30266e9aa728aa3846cf6e88fc6430da0d7b22fc | 3,086 | py | Python | movie/migrations/0001_initial.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | 1 | 2022-03-04T06:10:38.000Z | 2022-03-04T06:10:38.000Z | movie/migrations/0001_initial.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | null | null | null | movie/migrations/0001_initial.py | AnimeshRy/eraDB | 57dda0120ab67acbac7a796cf66ef883be40ea37 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.1 on 2021-05-05 15:09
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('actor', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Genre',
fields=[
... | 48.21875 | 117 | 0.567077 | 313 | 3,086 | 5.476038 | 0.28115 | 0.131272 | 0.233372 | 0.280047 | 0.645858 | 0.627188 | 0.507001 | 0.177363 | 0.177363 | 0.177363 | 0 | 0.033693 | 0.278678 | 3,086 | 63 | 118 | 48.984127 | 0.736298 | 0.014582 | 0 | 0.267857 | 1 | 0 | 0.094439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017857 | 0 | 0.089286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
302785ab18659ce03e5a8a219e32fb64dd5cde14 | 138 | py | Python | python/prac2x4.py | sourabh48/python | 5fbda23133dad1ca0b73d4600b4e00cb6b5e3331 | [
"Unlicense"
] | null | null | null | python/prac2x4.py | sourabh48/python | 5fbda23133dad1ca0b73d4600b4e00cb6b5e3331 | [
"Unlicense"
] | null | null | null | python/prac2x4.py | sourabh48/python | 5fbda23133dad1ca0b73d4600b4e00cb6b5e3331 | [
"Unlicense"
] | null | null | null | list = ['a','e','i','o','u']
a = input("Enter a character: ")
if a in list :
print(a, "is vowel")
else :
print(a, "is consonant") | 23 | 32 | 0.528986 | 24 | 138 | 3.041667 | 0.666667 | 0.164384 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 138 | 6 | 33 | 23 | 0.675926 | 0 | 0 | 0 | 0 | 0 | 0.316547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3037cd29cb0fec3108555337432f07f2ec491987 | 1,941 | py | Python | poketypes/basic.py | tzwenn/PokeDuino | 5b2d7f8fa64edb52d68b647e723f513405b391d4 | [
"BSD-2-Clause"
] | 17 | 2016-06-13T20:28:07.000Z | 2021-12-06T12:56:54.000Z | poketypes/basic.py | tzwenn/PokeDuino | 5b2d7f8fa64edb52d68b647e723f513405b391d4 | [
"BSD-2-Clause"
] | null | null | null | poketypes/basic.py | tzwenn/PokeDuino | 5b2d7f8fa64edb52d68b647e723f513405b391d4 | [
"BSD-2-Clause"
] | 3 | 2020-08-05T16:44:29.000Z | 2021-07-09T14:41:37.000Z | import ctypes
from . import encoding
class PokeMetaStructure(type(ctypes.BigEndianStructure)):
def __new__(metacls, name, bases, dct):
cls = super().__new__(metacls, name, bases, dct)
for member, adapter_type in cls._adapters_:
cls.buildProperty(member, adapter_type)
return cls
def buildProperty(cls, mem... | 23.385542 | 99 | 0.725399 | 254 | 1,941 | 5.413386 | 0.350394 | 0.048 | 0.037091 | 0.027636 | 0.088727 | 0.056727 | 0.056727 | 0 | 0 | 0 | 0 | 0.002446 | 0.157651 | 1,941 | 82 | 100 | 23.670732 | 0.838532 | 0.055126 | 0 | 0.155172 | 0 | 0 | 0.021858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.034483 | 0.12069 | 0.551724 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.