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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
070c96ae41d7974201f571dcc5e780e6af5e059b | 23,694 | py | Python | assessment/vulnerabilities/xss.py | SumanthTirumale/WebAssessment | 9d3ee84f447518fa2560ae6b25c951d9be3654a7 | [
"MIT"
] | null | null | null | assessment/vulnerabilities/xss.py | SumanthTirumale/WebAssessment | 9d3ee84f447518fa2560ae6b25c951d9be3654a7 | [
"MIT"
] | null | null | null | assessment/vulnerabilities/xss.py | SumanthTirumale/WebAssessment | 9d3ee84f447518fa2560ae6b25c951d9be3654a7 | [
"MIT"
] | null | null | null | from assessment.helpers import get_payloads, change_exclusion_header_format, insert_data, inject_payload, analyze_data,\
filter_url, print_message, print_status_code
import re
import copy
from colorama import init
from termcolor import colored
VEP = "vep"
SOL = "sol"
SIRIUS_CLASSIC = 'siriusclassic'
... | 42.235294 | 121 | 0.491812 | 2,239 | 23,694 | 4.916481 | 0.074587 | 0.073038 | 0.047057 | 0.041969 | 0.746548 | 0.733012 | 0.711664 | 0.685229 | 0.6746 | 0.671421 | 0 | 0.004466 | 0.423567 | 23,694 | 560 | 122 | 42.310714 | 0.801508 | 0.027686 | 0 | 0.560606 | 0 | 0 | 0.08197 | 0.012302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017677 | false | 0 | 0.012626 | 0 | 0.032828 | 0.045455 | 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 |
073f8503bcc245c8ab48f47da104dc11b3942cd2 | 1,780 | py | Python | kolejka/judge/commands/run/java.py | zielinskit/kolejka-judge | 571df05b12c5a4748d7a2ca4c217b0042acf6b48 | [
"MIT"
] | null | null | null | kolejka/judge/commands/run/java.py | zielinskit/kolejka-judge | 571df05b12c5a4748d7a2ca4c217b0042acf6b48 | [
"MIT"
] | null | null | null | kolejka/judge/commands/run/java.py | zielinskit/kolejka-judge | 571df05b12c5a4748d7a2ca4c217b0042acf6b48 | [
"MIT"
] | null | null | null | from kolejka.judge.commands.mixins import SolutionMixin
from kolejka.judge.commands.run.base import Run
from kolejka.judge.validators import FileExistsPrerequisite
class RunJavaClass(Run):
def __init__(self, class_name, interpreter_options=None, cmdline_options=None,
stdin=None, stdout=None, stde... | 37.87234 | 108 | 0.703933 | 189 | 1,780 | 6.396825 | 0.216931 | 0.119107 | 0.043011 | 0.039702 | 0.638544 | 0.638544 | 0.638544 | 0.638544 | 0.638544 | 0.638544 | 0 | 0 | 0.196629 | 1,780 | 46 | 109 | 38.695652 | 0.845455 | 0 | 0 | 0.545455 | 0 | 0 | 0.016301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.060606 | 0.090909 | 0.060606 | 0.515152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
074ad772c3dde60512e21e046b5490778b22462c | 2,032 | py | Python | aiotdlib/api/types/basic_group_full_info.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/types/basic_group_full_info.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/types/basic_group_full_info.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 37.62963 | 193 | 0.610236 | 216 | 2,032 | 5.615741 | 0.393519 | 0.04122 | 0.032152 | 0.029678 | 0.061006 | 0.061006 | 0.061006 | 0.061006 | 0 | 0 | 0 | 0.000654 | 0.247539 | 2,032 | 53 | 194 | 38.339623 | 0.792675 | 0.600394 | 0 | 0 | 1 | 0 | 0.03244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.421053 | 0.052632 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
07519b5528597db8b8452b81307bb0520544adaa | 1,306 | py | Python | run_template.py | steve-levesque/Portfolio-ML-KaggleComp | f4506471b525e045402ddf81d9979cbd278f02ca | [
"MIT"
] | null | null | null | run_template.py | steve-levesque/Portfolio-ML-KaggleComp | f4506471b525e045402ddf81d9979cbd278f02ca | [
"MIT"
] | null | null | null | run_template.py | steve-levesque/Portfolio-ML-KaggleComp | f4506471b525e045402ddf81d9979cbd278f02ca | [
"MIT"
] | null | null | null | # All your imports necessary.
import numpy as np
# ======================================================================================================================
# Data augmentation functions.
# ...
# =============================================================================================================... | 33.487179 | 120 | 0.417305 | 108 | 1,306 | 4.861111 | 0.712963 | 0.060952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002715 | 0.153905 | 1,306 | 38 | 121 | 34.368421 | 0.472398 | 0.643951 | 0 | 0 | 0 | 0 | 0.482143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0756f4028518921903d09662f14eb3768bcca077 | 643 | py | Python | niltype/_niltype.py | nikitanovosibirsk/niltype | 7372f6475fe7ec8741f20d2e340576535e2d73fa | [
"MIT"
] | null | null | null | niltype/_niltype.py | nikitanovosibirsk/niltype | 7372f6475fe7ec8741f20d2e340576535e2d73fa | [
"MIT"
] | 1 | 2020-12-10T13:29:15.000Z | 2020-12-10T13:29:15.000Z | niltype/_niltype.py | nikitanovosibirsk/niltype | 7372f6475fe7ec8741f20d2e340576535e2d73fa | [
"MIT"
] | null | null | null | from enum import Enum
from typing import Any
__all__ = ("NilType",)
class _Nil:
def __str__(self) -> str:
return "Nil"
def __repr__(self) -> str:
return str(self)
class NilType(Enum):
_nil = _Nil()
def __str__(self) -> str:
return str(self.value)
def __repr__(self) ->... | 20.741935 | 96 | 0.603421 | 81 | 643 | 4.246914 | 0.407407 | 0.081395 | 0.151163 | 0.075581 | 0.284884 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270607 | 643 | 30 | 97 | 21.433333 | 0.733475 | 0 | 0 | 0.2 | 0 | 0 | 0.108865 | 0.041991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.25 | 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 |
4acaece6ccfd4df2c0a629e6620f6d886193b6bc | 17,932 | py | Python | stock-filters/ChirpVillage/Builder.py | JeremyButt/GDMC | 57c288fea35410b997b38aed5ef294dffb266b76 | [
"ISC"
] | 1 | 2020-04-12T01:09:30.000Z | 2020-04-12T01:09:30.000Z | stock-filters/ChirpVillage/Builder.py | JeremyButt/GDMC | 57c288fea35410b997b38aed5ef294dffb266b76 | [
"ISC"
] | 8 | 2020-04-11T16:52:46.000Z | 2020-04-17T04:07:55.000Z | stock-filters/ChirpVillage/Builder.py | JeremyButt/GDMC | 57c288fea35410b997b38aed5ef294dffb266b76 | [
"ISC"
] | 1 | 2020-04-11T15:00:41.000Z | 2020-04-11T15:00:41.000Z | import utilityFunctions
import RandUtils
from Biomes import BlockUtils
from Biomes.BlockTypes import blocks
from Surface import surface_blocks
"""Utils for buildings"""
def get_coords(coords):
return coords[0][0], coords[0][1], coords[0][2], coords[1][0], coords[1][1]
def shrink_building_lot(coords, height):... | 41.509259 | 122 | 0.59352 | 2,369 | 17,932 | 4.314479 | 0.060785 | 0.054887 | 0.133353 | 0.047256 | 0.816848 | 0.775658 | 0.736034 | 0.657079 | 0.607475 | 0.588103 | 0 | 0.024177 | 0.29188 | 17,932 | 431 | 123 | 41.605568 | 0.780753 | 0.02002 | 0 | 0.631728 | 0 | 0 | 0.007154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056657 | false | 0 | 0.014164 | 0.005666 | 0.090652 | 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 |
4ad161f606c7b4808a7491aac374bc3cc4a4b132 | 527 | py | Python | app/errors.py | prasantmahato/NoteOnTheGo | 08b3cb9504b34b1b606a961a3d60d8bd68065957 | [
"MIT"
] | null | null | null | app/errors.py | prasantmahato/NoteOnTheGo | 08b3cb9504b34b1b606a961a3d60d8bd68065957 | [
"MIT"
] | 2 | 2022-01-17T08:13:17.000Z | 2022-01-22T07:37:21.000Z | app/errors.py | prasantmahato/NoteOnTheGo | 08b3cb9504b34b1b606a961a3d60d8bd68065957 | [
"MIT"
] | null | null | null | from flask import render_template
from app import app, db
# Not found error template
@app.errorhandler(404)
def not_found_error(error):
return render_template('404.html'), 404
# Invoked after a database/Internal server error
@app.errorhandler(500)
def internal_error(error):
''' Database rollback, so that fa... | 26.35 | 60 | 0.747628 | 74 | 527 | 5.243243 | 0.540541 | 0.108247 | 0.06701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041284 | 0.172676 | 527 | 19 | 61 | 27.736842 | 0.848624 | 0.42315 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 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 |
4adcb3aef7603fed45936a66db2f9d2383b61ed9 | 308 | py | Python | config/urls.py | mikeleg/crm-headless | a5ccbb05f0cb4dcf9926d0a3155305fb02b6b06e | [
"MIT"
] | 5 | 2020-10-08T12:59:34.000Z | 2022-03-14T07:19:33.000Z | config/urls.py | mikeleg/crm-headless | a5ccbb05f0cb4dcf9926d0a3155305fb02b6b06e | [
"MIT"
] | null | null | null | config/urls.py | mikeleg/crm-headless | a5ccbb05f0cb4dcf9926d0a3155305fb02b6b06e | [
"MIT"
] | null | null | null | """crmless URL Configuration"""
# from django.contrib import admin
from django.urls import path, include
import account.urls
import contact.urls
import note.urls
urlpatterns = [
path("api/", include("account.urls")),
path("api/", include("contact.urls")),
path("api/", include("note.urls")),
]
| 22 | 42 | 0.691558 | 39 | 308 | 5.461538 | 0.410256 | 0.140845 | 0.197183 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13961 | 308 | 13 | 43 | 23.692308 | 0.803774 | 0.191558 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4adf816ed5aaf4ded0bca9a2182ee4b76ef58262 | 194 | py | Python | Array/moveneg.py | goigarg/Algorithm-Practice | aef93dd1ff3d9a476aae72e8dfcae209ebddd4f6 | [
"MIT"
] | null | null | null | Array/moveneg.py | goigarg/Algorithm-Practice | aef93dd1ff3d9a476aae72e8dfcae209ebddd4f6 | [
"MIT"
] | null | null | null | Array/moveneg.py | goigarg/Algorithm-Practice | aef93dd1ff3d9a476aae72e8dfcae209ebddd4f6 | [
"MIT"
] | null | null | null | arr = [-3, 4, 8, -2, -1, 5, 4, 8]
for i in range(0, len(arr)-1):
if(arr[i] > 0):
#num is positive
temp = arr[i]
arr[i] = arr[i+1]
arr[i+1] = temp
print(arr)
| 19.4 | 33 | 0.43299 | 38 | 194 | 2.210526 | 0.5 | 0.238095 | 0.166667 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 0.350515 | 194 | 9 | 34 | 21.555556 | 0.563492 | 0.07732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4af99da84d916127dba76040c05201ee16182dd1 | 352 | py | Python | src/score/ScoreBonusCalculator.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | 2 | 2022-01-16T20:44:08.000Z | 2022-01-18T13:41:32.000Z | src/score/ScoreBonusCalculator.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | null | null | null | src/score/ScoreBonusCalculator.py | DaDudek/Tetris | b3848132fd315e883e714e1882ec4bfd38b890e1 | [
"MIT"
] | null | null | null | from src.Speed.Speed import Speed
from src.gameSettings.BonusPointsConstants import *
def add_points_for_speed(speed: Speed) -> int:
return speed.get_number_of_increases() * SPEED_FALLING_BONUS
def add_points_for_row_numbers(number_of_destroyed_rows_in_move: int) -> int:
return number_of_destroyed_rows_in_m... | 32 | 77 | 0.829545 | 55 | 352 | 4.818182 | 0.454545 | 0.113208 | 0.090566 | 0.113208 | 0.203774 | 0.203774 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107955 | 352 | 10 | 78 | 35.2 | 0.843949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
ab072c01ef2b7d34283f742b4c22fc5c08fe390d | 327 | py | Python | pysat/constellations/de2.py | scivision/pysat | 2916ff7c77ad4201c537acca91b7c0b46b542e82 | [
"BSD-3-Clause"
] | null | null | null | pysat/constellations/de2.py | scivision/pysat | 2916ff7c77ad4201c537acca91b7c0b46b542e82 | [
"BSD-3-Clause"
] | null | null | null | pysat/constellations/de2.py | scivision/pysat | 2916ff7c77ad4201c537acca91b7c0b46b542e82 | [
"BSD-3-Clause"
] | 1 | 2018-10-26T02:42:50.000Z | 2018-10-26T02:42:50.000Z | import pysat
"""
Creates a constellation from NASA ICON instrumentation
"""
lang = pysat.Instrument(platform='de2', name='lang')
nacs = pysat.Instrument(platform='de2', name='nacs')
rpa = pysat.Instrument(platform='de2', name='rpa')
wats = pysat.Instrument(platform='de2', name='wats')
instruments = [lang, nacs, rpa,... | 25.153846 | 54 | 0.718654 | 42 | 327 | 5.595238 | 0.428571 | 0.255319 | 0.391489 | 0.442553 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013746 | 0.110092 | 327 | 12 | 55 | 27.25 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.101887 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
ab2535db8fe293d46945f1f83bfa1c60d4413c15 | 225 | py | Python | tests/extmod/uctypes_byteat.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 198 | 2017-03-24T23:23:54.000Z | 2022-01-07T07:14:00.000Z | tests/extmod/uctypes_byteat.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 509 | 2017-03-28T19:37:18.000Z | 2022-03-31T20:31:43.000Z | tests/extmod/uctypes_byteat.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 187 | 2017-03-24T23:23:58.000Z | 2022-02-25T01:48:45.000Z | try:
import uctypes
except ImportError:
print("SKIP")
raise SystemExit
data = bytearray(b'01234567')
print(uctypes.bytes_at(uctypes.addressof(data), 4))
print(uctypes.bytearray_at(uctypes.addressof(data), 4))
| 20.454545 | 56 | 0.733333 | 29 | 225 | 5.62069 | 0.586207 | 0.147239 | 0.220859 | 0.269939 | 0.282209 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0.137778 | 225 | 10 | 57 | 22.5 | 0.78866 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.375 | 1 | 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 | 0 | 0 | 3 |
ab35a4dee209080de5f270843e025e571374274c | 316 | py | Python | chemreg/common/apps.py | Chemical-Curation/chemcurator | bcd7fab84e407f06502e6873c38820724d4e54e7 | [
"MIT"
] | 1 | 2020-10-05T18:02:24.000Z | 2020-10-05T18:02:24.000Z | chemreg/common/apps.py | Chemical-Curation/chemcurator_django | bcd7fab84e407f06502e6873c38820724d4e54e7 | [
"MIT"
] | 207 | 2020-01-30T19:17:44.000Z | 2021-02-24T19:45:29.000Z | chemreg/common/apps.py | Chemical-Curation/chemcurator_django | bcd7fab84e407f06502e6873c38820724d4e54e7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CommonConfig(AppConfig):
name = "chemreg.common"
verbose_name = _("Common")
def ready(self):
try:
import chemreg.common.signals # noqa F401
except ImportError:
pass
| 22.571429 | 54 | 0.658228 | 35 | 316 | 5.828571 | 0.742857 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.268987 | 316 | 13 | 55 | 24.307692 | 0.87013 | 0.028481 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 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 |
ab616cfd1c725727792129072313f72057b6167e | 9,718 | py | Python | Hessian/BigGAN_control_Hessian.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | 2 | 2020-02-03T18:16:26.000Z | 2020-05-01T18:27:01.000Z | Hessian/BigGAN_control_Hessian.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | null | null | null | Hessian/BigGAN_control_Hessian.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | 2 | 2020-01-24T17:27:33.000Z | 2020-08-30T02:54:13.000Z | import torch
import torch.nn.functional as F
import numpy as np
import matplotlib.pylab as plt
from matplotlib import cm
from tqdm import tqdm
from time import time
from os.path import join
import os
import sys
from Hessian.GAN_hessian_compute import hessian_compute, get_full_hessian
from torchvision.transforms import ... | 50.614583 | 172 | 0.702717 | 1,446 | 9,718 | 4.504841 | 0.160443 | 0.02794 | 0.020264 | 0.021492 | 0.749616 | 0.72751 | 0.701566 | 0.692355 | 0.692355 | 0.677617 | 0 | 0.027449 | 0.156514 | 9,718 | 192 | 173 | 50.614583 | 0.767232 | 0.047232 | 0 | 0.51875 | 0 | 0 | 0.147771 | 0.059043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00625 | false | 0 | 0.1125 | 0 | 0.125 | 0.0375 | 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 |
db3e7fb21edb525355984687603bc7e1d136476e | 2,730 | py | Python | Python/tdw/FBOutput/EnvironmentCollision.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | 307 | 2020-05-20T18:08:49.000Z | 2022-03-21T19:55:08.000Z | Python/tdw/FBOutput/EnvironmentCollision.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | 92 | 2020-07-21T18:29:13.000Z | 2022-03-28T07:25:54.000Z | Python/tdw/FBOutput/EnvironmentCollision.py | felixbinder/tdw | eb2b00b74b9fcf8ef2dcba1baa62424640c520b1 | [
"BSD-2-Clause"
] | 53 | 2020-07-14T15:55:17.000Z | 2022-03-20T16:20:01.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: FBOutput
import tdw.flatbuffers
class EnvironmentCollision(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsEnvironmentCollision(cls, buf, offset):
n = tdw.flatbuffers.encode.Get(tdw.flatbuffers.p... | 40.147059 | 160 | 0.679121 | 304 | 2,730 | 5.976974 | 0.279605 | 0.057788 | 0.110072 | 0.137589 | 0.326362 | 0.298294 | 0.291139 | 0.223445 | 0.223445 | 0.223445 | 0 | 0.016015 | 0.222344 | 2,730 | 67 | 161 | 40.746269 | 0.839849 | 0.077656 | 0 | 0.1875 | 1 | 0 | 0.001638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.041667 | 0.041667 | 0.604167 | 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 |
db40d5852b23f999f0f0f9833a963c857d48f813 | 32,748 | py | Python | MicropolisCore/src/CellEngine/objs/cellengine.py | smearle/micropolis-4bots | 84ed45cd8c774f2ca3fb8c1102a3890058b56bc5 | [
"TCL"
] | 1 | 2021-01-28T00:24:35.000Z | 2021-01-28T00:24:35.000Z | MicropolisCore/src/CellEngine/objs/cellengine.py | smearle/micropolis-4bots | 84ed45cd8c774f2ca3fb8c1102a3890058b56bc5 | [
"TCL"
] | null | null | null | MicropolisCore/src/CellEngine/objs/cellengine.py | smearle/micropolis-4bots | 84ed45cd8c774f2ca3fb8c1102a3890058b56bc5 | [
"TCL"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 44.798906 | 125 | 0.767161 | 3,558 | 32,748 | 6.349354 | 0.090219 | 0.337302 | 0.094374 | 0.104821 | 0.366828 | 0.059271 | 0.040547 | 0.032137 | 0.017883 | 0.017883 | 0 | 0.001918 | 0.155979 | 32,748 | 730 | 126 | 44.860274 | 0.815412 | 0.009008 | 0 | 0.206785 | 1 | 0 | 0.037358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153473 | false | 0.003231 | 0.030695 | 0.142165 | 0.369952 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
db53a58cf43dc9a47167a1d8dea6a59688936c4f | 236 | py | Python | sklearn/1_Supervised_learning/Ensemble_Methods.py | zyf668/ml_code | fdd2d6c48550860fd481f7d128d41d95d946539b | [
"Apache-2.0"
] | 98 | 2017-12-29T13:14:29.000Z | 2021-12-19T06:00:11.000Z | sklearn/1_Supervised_learning/Ensemble_Methods.py | zyf668/ml_code | fdd2d6c48550860fd481f7d128d41d95d946539b | [
"Apache-2.0"
] | 2 | 2017-12-06T06:20:35.000Z | 2021-09-29T09:03:49.000Z | sklearn/1_Supervised_learning/Ensemble_Methods.py | zyf668/ml_code | fdd2d6c48550860fd481f7d128d41d95d946539b | [
"Apache-2.0"
] | 55 | 2018-01-08T04:00:18.000Z | 2022-03-25T02:45:56.000Z | # -*- coding: utf-8 -*-
from sklearn.ensemble import BaggingClassifier
from sklearn.neighbors import KNeighborsClassifier
clf_bagging = BaggingClassifier(KNeighborsClassifier(), max_samples=0.5, max_features=0.5)
clf_bagging.predict() | 33.714286 | 90 | 0.809322 | 28 | 236 | 6.678571 | 0.642857 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023148 | 0.084746 | 236 | 7 | 91 | 33.714286 | 0.842593 | 0.088983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
db5fb036c4b47667525d2cf845399bf2af12fa41 | 1,732 | py | Python | test/test_cluster_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2021-09-29T11:57:07.000Z | 2021-09-29T11:57:07.000Z | test/test_cluster_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 1 | 2020-09-09T00:28:57.000Z | 2020-09-09T00:28:57.000Z | test/test_cluster_service_api.py | thepabloaguilar/argocd-client | a6c4ff268a63ee6715f9f837b9225b798aa6bde2 | [
"BSD-3-Clause"
] | 2 | 2020-10-13T18:31:59.000Z | 2021-02-15T12:52:33.000Z | # coding: utf-8
"""
Consolidate Services
Description of all APIs # noqa: E501
The version of the OpenAPI document: version not set
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unittest
import argocd_client
from argocd_client.api.cluster_service_a... | 20.86747 | 90 | 0.624134 | 204 | 1,732 | 5.132353 | 0.372549 | 0.076409 | 0.073543 | 0.100287 | 0.212034 | 0.138491 | 0.077364 | 0 | 0 | 0 | 0 | 0.027183 | 0.299076 | 1,732 | 82 | 91 | 21.121951 | 0.835255 | 0.427252 | 0 | 0.307692 | 1 | 0 | 0.009913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0.307692 | 0.192308 | 0 | 0.576923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
db652595677ae30195269534bed1d80ebff382f8 | 63 | py | Python | sparnn/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | __author__ = 'zhenyang'
import sys
sys.setrecursionlimit(15000) | 21 | 28 | 0.825397 | 7 | 63 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0.079365 | 63 | 3 | 28 | 21 | 0.741379 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
db6a62e1a35182f5a2b8880922ead36f441c7dd1 | 1,585 | py | Python | backend/src/auth.py | theaarondev/mealgo | 8ee59627cfd5b55bd5cf41a991ea09191e8cde0e | [
"MIT"
] | null | null | null | backend/src/auth.py | theaarondev/mealgo | 8ee59627cfd5b55bd5cf41a991ea09191e8cde0e | [
"MIT"
] | 4 | 2021-09-02T03:38:53.000Z | 2022-02-26T21:13:51.000Z | backend/src/auth.py | theaarondev/mealgo | 8ee59627cfd5b55bd5cf41a991ea09191e8cde0e | [
"MIT"
] | null | null | null | import base64
import os
import bcrypt
from flask import g
from flask.sessions import SecureCookieSessionInterface
from flask_login import LoginManager, user_loaded_from_header
def verify_password(raw_password: str, stored_password: bytes):
pw = bytes(raw_password,'utf-8')
return bcrypt.checkpw(pw, stored_pas... | 28.303571 | 63 | 0.709148 | 213 | 1,585 | 5.014085 | 0.361502 | 0.037453 | 0.039326 | 0.05618 | 0.174157 | 0.06367 | 0.06367 | 0.06367 | 0 | 0 | 0 | 0.008696 | 0.201893 | 1,585 | 55 | 64 | 28.818182 | 0.835573 | 0.120505 | 0 | 0.055556 | 0 | 0 | 0.025271 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.138889 | 0.194444 | 0.083333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
db724826b19984a1a0f497e268f032fb84435999 | 1,568 | py | Python | modules/server/hsts_preloading.py | matteounitn/tlsassistant | 5b05bcdd95f20b302c5b42709b1ffee35920d949 | [
"Apache-2.0"
] | null | null | null | modules/server/hsts_preloading.py | matteounitn/tlsassistant | 5b05bcdd95f20b302c5b42709b1ffee35920d949 | [
"Apache-2.0"
] | null | null | null | modules/server/hsts_preloading.py | matteounitn/tlsassistant | 5b05bcdd95f20b302c5b42709b1ffee35920d949 | [
"Apache-2.0"
] | null | null | null | from modules.server.hsts_base import Hsts_base
from utils.logger import Logger
from utils.mitigations import load_mitigation
class Hsts_preloading(Hsts_base):
"""
Analysis of the HSTS Preloading status
"""
def _get_logger(self):
"""
Logger for the module.
:return: Logger
... | 27.508772 | 80 | 0.60523 | 177 | 1,568 | 5.248588 | 0.350282 | 0.032293 | 0.025834 | 0.023681 | 0.062433 | 0.062433 | 0.062433 | 0 | 0 | 0 | 0 | 0 | 0.31824 | 1,568 | 56 | 81 | 28 | 0.869036 | 0.401148 | 0 | 0 | 0 | 0 | 0.064156 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
db988c3fd33e5695aab6b2ea806907f67338d523 | 241 | py | Python | sentry/views/__init__.py | Kronuz/django-sentry | 31996f37fd866bd91172c6089830671e4d4634ac | [
"BSD-3-Clause"
] | null | null | null | sentry/views/__init__.py | Kronuz/django-sentry | 31996f37fd866bd91172c6089830671e4d4634ac | [
"BSD-3-Clause"
] | null | null | null | sentry/views/__init__.py | Kronuz/django-sentry | 31996f37fd866bd91172c6089830671e4d4634ac | [
"BSD-3-Clause"
] | null | null | null | """
sentry.views
~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from .base import *
from .exception import *
from .message import *
from .query import *
| 18.538462 | 70 | 0.676349 | 33 | 241 | 4.939394 | 0.636364 | 0.184049 | 0.171779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.170124 | 241 | 12 | 71 | 20.083333 | 0.795 | 0.589212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
db99ed43a19990ce801e238934e48a99bc9c2035 | 974 | py | Python | vocab/vocabexam/migrations/0003_auto_20200728_1033.py | qinzhaofei2177-2/vocab_repo | f84132e0bc10e303d9e2231750fbb1c9eba72af3 | [
"Apache-2.0"
] | null | null | null | vocab/vocabexam/migrations/0003_auto_20200728_1033.py | qinzhaofei2177-2/vocab_repo | f84132e0bc10e303d9e2231750fbb1c9eba72af3 | [
"Apache-2.0"
] | null | null | null | vocab/vocabexam/migrations/0003_auto_20200728_1033.py | qinzhaofei2177-2/vocab_repo | f84132e0bc10e303d9e2231750fbb1c9eba72af3 | [
"Apache-2.0"
] | 1 | 2020-08-27T06:56:18.000Z | 2020-08-27T06:56:18.000Z | # Generated by Django 3.0.8 on 2020-07-28 02:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vocabexam', '0002_userprofile'),
]
operations = [
migrations.AlterField(
model_name='userprofile',
name='gender',
... | 28.647059 | 124 | 0.575975 | 95 | 974 | 5.778947 | 0.494737 | 0.145719 | 0.182149 | 0.211293 | 0.491803 | 0.491803 | 0.331512 | 0.149362 | 0 | 0 | 0 | 0.045322 | 0.297741 | 974 | 33 | 125 | 29.515152 | 0.75731 | 0.046201 | 0 | 0.518519 | 1 | 0 | 0.132686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 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 |
dba9740b9862333e867f16ba259ec680bfbbca12 | 223 | py | Python | N.py | Ashokkommi0001/Python-Patterns-Alphabets-Upper_case | 0735bb1d7333ea850b91b1a3cf37be659885267b | [
"MIT"
] | null | null | null | N.py | Ashokkommi0001/Python-Patterns-Alphabets-Upper_case | 0735bb1d7333ea850b91b1a3cf37be659885267b | [
"MIT"
] | null | null | null | N.py | Ashokkommi0001/Python-Patterns-Alphabets-Upper_case | 0735bb1d7333ea850b91b1a3cf37be659885267b | [
"MIT"
] | 1 | 2021-03-08T04:44:56.000Z | 2021-03-08T04:44:56.000Z | def N():
for row in range(7):
for col in range(7):
if (col==0 or col==6) or row-col==0:
print("*",end=" ")
else:
print(end=" ")
print()
| 24.777778 | 49 | 0.349776 | 28 | 223 | 2.785714 | 0.535714 | 0.179487 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0.488789 | 223 | 8 | 50 | 27.875 | 0.640351 | 0 | 0 | 0 | 0 | 0 | 0.027907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.375 | 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 |
916ebbacb990f0b9c2112106badb7182eac87797 | 138 | py | Python | browser2048/__init__.py | obs145628/2048 | 0d22555f6a43cdc26f43b19a9b4594c88e81d06c | [
"MIT"
] | null | null | null | browser2048/__init__.py | obs145628/2048 | 0d22555f6a43cdc26f43b19a9b4594c88e81d06c | [
"MIT"
] | null | null | null | browser2048/__init__.py | obs145628/2048 | 0d22555f6a43cdc26f43b19a9b4594c88e81d06c | [
"MIT"
] | null | null | null | from gym.envs.registration import register
register(
id='Browser2048-v0',
entry_point='browser2048.browser2048:Browser2048Env'
)
| 19.714286 | 56 | 0.775362 | 15 | 138 | 7.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140496 | 0.123188 | 138 | 6 | 57 | 23 | 0.735537 | 0 | 0 | 0 | 0 | 0 | 0.376812 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
91772eacf4da2a178393932100cfe1b5ddd07133 | 1,059 | py | Python | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/issuevalue/Value.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | 1 | 2022-02-17T19:14:46.000Z | 2022-02-17T19:14:46.000Z | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/issuevalue/Value.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/issuevalue/Value.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | from _decimal import Decimal
from abc import ABC
from pyson.JsonDeserialize import JsonDeserialize
from pyson.JsonSubTypes import JsonSubTypes
from pyson.JsonValue import JsonValue
@JsonDeserialize("geniusweb.issuevalue.ValueDeserializer.ValueDeserializer")
@JsonSubTypes(["geniusweb.issuevalue.NumberValue.NumberVal... | 29.416667 | 78 | 0.765817 | 140 | 1,059 | 5.6 | 0.478571 | 0.068878 | 0.030612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002203 | 0.142587 | 1,059 | 36 | 79 | 29.416667 | 0.861233 | 0.305005 | 0 | 0 | 0 | 0 | 0.204986 | 0.204986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.2 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
919a3aa8f6e49a87c26c6b2b4a1cf4bc9fe2ff89 | 85 | py | Python | predictions/pred_constants.py | bfortuner/VOCdetect | f11e363d60b1d91bd36bc98d69496f847287ad28 | [
"MIT"
] | 336 | 2017-08-22T18:54:19.000Z | 2022-03-22T04:07:08.000Z | predictions/pred_constants.py | emeraldic/kaggle-starter | 7f993161afca8809e8a6ea46bffe76b4d6163082 | [
"MIT"
] | 1 | 2020-02-14T14:12:15.000Z | 2020-02-14T14:12:15.000Z | predictions/pred_constants.py | emeraldic/kaggle-starter | 7f993161afca8809e8a6ea46bffe76b4d6163082 | [
"MIT"
] | 73 | 2017-08-26T22:09:58.000Z | 2022-03-29T13:00:02.000Z | PRED_TYPE = 'Basic'
TTA_PRED_TYPE = 'TTA'
ENS_TYPE = 'Ens'
MEGA_ENS_TYPE = 'MegaEns'
| 17 | 25 | 0.717647 | 14 | 85 | 3.928571 | 0.5 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 4 | 26 | 21.25 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
919d4a52282ae85f639823255023cc4e177b2d0b | 432 | py | Python | Code/Chenglong/gen_best_ensemble_model.py | ChenglongChen/Kaggle_Homedepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 465 | 2016-04-27T13:17:36.000Z | 2020-05-15T11:05:13.000Z | Code/Chenglong/gen_best_ensemble_model.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 1 | 2016-10-15T04:33:54.000Z | 2016-10-15T04:33:54.000Z | Code/Chenglong/gen_best_ensemble_model.py | CharlotteSean/Kaggle_HomeDepot | 55c1033d0af3b6cf2f033fe4bcf3e1e0ffda3445 | [
"MIT"
] | 230 | 2016-04-30T06:35:17.000Z | 2019-12-04T08:23:22.000Z | # -*- coding: utf-8 -*-
"""
@author: Chenglong Chen <c.chenglong@gmail.com>
@brief: script for generating the best ensemble model from Chenglong's side
@note: 1. make sure you have run `python run_data.py` first
2. make sure you have built `some diverse` 1st level models first (see `./Log/level1_models` for example... | 28.8 | 109 | 0.703704 | 75 | 432 | 3.986667 | 0.733333 | 0.053512 | 0.073579 | 0.100334 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0.171296 | 432 | 14 | 110 | 30.857143 | 0.807263 | 0.747685 | 0 | 0 | 0 | 0.333333 | 0.635514 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
919e69f7680c8c84150de96ccfb7aaaae6b2dc13 | 488 | py | Python | src/sentry/exceptions.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | 1 | 2017-08-30T06:55:25.000Z | 2017-08-30T06:55:25.000Z | src/sentry/exceptions.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | null | null | null | src/sentry/exceptions.py | tobetterman/sentry | fe85d3aee19dcdbfdd27921c4fb04529fc995a79 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
class InvalidData(Exception):
pass
class InvalidInterface(InvalidData):
pass
class InvalidRequest(Exception):
pass
class InvalidOrigin(InvalidRequest):
def __init__(self, origin):
self.origin = origin
def __str__(self):
return "Invalid ... | 14.352941 | 51 | 0.715164 | 48 | 488 | 7 | 0.458333 | 0.193452 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206967 | 488 | 33 | 52 | 14.787879 | 0.868217 | 0 | 0 | 0.333333 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.333333 | 0.055556 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
91ae95201a6b7221472e0b11b8230fc1746feeaf | 4,556 | py | Python | Classes/Tuple_tools.py | Ramin-RX7/RX7-Lib | 28d2c4bc316b031bb05700c72e5119a7ff2d0ae7 | [
"MIT"
] | 6 | 2020-03-18T13:30:12.000Z | 2020-09-23T21:27:42.000Z | Classes/Tuple_tools.py | Ramin-RX7/RX7-Lib | 28d2c4bc316b031bb05700c72e5119a7ff2d0ae7 | [
"MIT"
] | null | null | null | Classes/Tuple_tools.py | Ramin-RX7/RX7-Lib | 28d2c4bc316b031bb05700c72e5119a7ff2d0ae7 | [
"MIT"
] | null | null | null | '''
This Module includes Tuple object and tuple functions.
All of the functions are in rx7 module so I recommend to use rx7.FUNCTION
instead of rx7.tuple_obj.FUNCTION to ease.
'''
from typing import Any
from typing import Union
######################
# FUNCSTIONS #
######################
def force(tpl:... | 29.584416 | 76 | 0.532265 | 586 | 4,556 | 3.986348 | 0.21843 | 0.108305 | 0.017123 | 0.023973 | 0.318065 | 0.293236 | 0.235017 | 0.221318 | 0.221318 | 0.179795 | 0 | 0.001834 | 0.282046 | 4,556 | 153 | 77 | 29.777778 | 0.71232 | 0.291923 | 0 | 0.306667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253333 | false | 0 | 0.026667 | 0.12 | 0.506667 | 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 |
91bf9d0a323d977a18640dfcd0b5379c7263d5cf | 15,984 | py | Python | sdk/python/pulumi_aws/sns/platform_application.py | sibuthomasmathew/pulumi-aws | 6351f2182eb6f693d4e09e4136c385adfa0ab674 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/sns/platform_application.py | sibuthomasmathew/pulumi-aws | 6351f2182eb6f693d4e09e4136c385adfa0ab674 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/sns/platform_application.py | sibuthomasmathew/pulumi-aws | 6351f2182eb6f693d4e09e4136c385adfa0ab674 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | 58.123636 | 394 | 0.705518 | 1,976 | 15,984 | 5.459514 | 0.112348 | 0.048943 | 0.062291 | 0.042269 | 0.771783 | 0.733686 | 0.697905 | 0.694105 | 0.661939 | 0.658973 | 0 | 0.00215 | 0.214214 | 15,984 | 274 | 395 | 58.335766 | 0.856768 | 0.447948 | 0 | 0.270833 | 1 | 0 | 0.174586 | 0.107275 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.006944 | 0.034722 | 0.013889 | 0.256944 | 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 |
91ce56ae3d9e84dec927bd51539fe89c0a67e182 | 197 | py | Python | src/dev.py | Endibra90/Flask-Dektop | 8b775edff48f2d94b76baada1d35dac1e85e50ca | [
"MIT"
] | null | null | null | src/dev.py | Endibra90/Flask-Dektop | 8b775edff48f2d94b76baada1d35dac1e85e50ca | [
"MIT"
] | null | null | null | src/dev.py | Endibra90/Flask-Dektop | 8b775edff48f2d94b76baada1d35dac1e85e50ca | [
"MIT"
] | null | null | null |
if __name__ == '__main__':
from dotenv import load_dotenv
load_dotenv()
from config import StageConfig
from util.mixin import route
app = route(config_object=StageConfig, name=__name__)
| 19.7 | 53 | 0.766497 | 26 | 197 | 5.230769 | 0.538462 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162437 | 197 | 9 | 54 | 21.888889 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 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 |
91d5f68789eddb9f6887218a2afe11cb8be92f2c | 217 | py | Python | FMPGenerator/Generate.py | thayakawa-gh/ADAPT-FMP | d39a812472a0f0809c69048064248d464c4e2977 | [
"MIT"
] | 4 | 2021-12-14T00:40:56.000Z | 2022-03-16T02:50:53.000Z | FMPGenerator/Generate.py | thayakawa-gh/ADAPT-FMP | d39a812472a0f0809c69048064248d464c4e2977 | [
"MIT"
] | null | null | null | FMPGenerator/Generate.py | thayakawa-gh/ADAPT-FMP | d39a812472a0f0809c69048064248d464c4e2977 | [
"MIT"
] | null | null | null | import GenerateFuncImpl as fi
import GenerateNodeFunc as nf
import GenerateLemonCode as lc
import os
import sys
args = sys.argv
fi.GenerateFuncImpl(args[1])
nf.GenerateNodeFunc(args[1])
lc.GenerateLemonCode(args[2]) | 19.727273 | 30 | 0.815668 | 31 | 217 | 5.709677 | 0.451613 | 0.056497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.105991 | 217 | 11 | 31 | 19.727273 | 0.896907 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.555556 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
91dad984586b560f56cec744228ceb630e2ae9a2 | 362 | py | Python | app/touch.py | Karaaslan29/gooz-operating-system-esp32 | 044300251027827af50f47b53f5d4a3e7304d535 | [
"MIT"
] | 2 | 2021-12-11T23:50:48.000Z | 2021-12-20T11:21:25.000Z | app/touch.py | Karaaslan29/gooz-operating-system-esp32 | 044300251027827af50f47b53f5d4a3e7304d535 | [
"MIT"
] | null | null | null | app/touch.py | Karaaslan29/gooz-operating-system-esp32 | 044300251027827af50f47b53f5d4a3e7304d535 | [
"MIT"
] | 1 | 2021-12-11T23:50:50.000Z | 2021-12-11T23:50:50.000Z | import os
def create(name,path=os.getcwd(),_type=".txt"):
name_txt = path+name+_type
with open(name_txt,'w',encoding='utf-8') as f:
f.write("")
f.close()
def input_create(name,path=os.getcwd(),_type=".txt",data=""):
name_txt = path+name+_type
with open(name_txt,'w',encoding='utf-8') as ... | 30.166667 | 61 | 0.60221 | 59 | 362 | 3.542373 | 0.355932 | 0.133971 | 0.133971 | 0.15311 | 0.813397 | 0.813397 | 0.813397 | 0.535885 | 0.535885 | 0.535885 | 0 | 0.006897 | 0.198895 | 362 | 12 | 62 | 30.166667 | 0.713793 | 0 | 0 | 0.545455 | 0 | 0 | 0.055096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 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 |
91ecc3054295ecf5366a6094ba55c464df044297 | 22 | py | Python | abilities/__init__.py | urban48/JBot | 191ea26969fda5a7d0a918fcc7d161e40b9e46fe | [
"MIT"
] | 12 | 2015-08-22T10:35:58.000Z | 2021-08-04T03:34:03.000Z | abilities/__init__.py | urban48/JBot | 191ea26969fda5a7d0a918fcc7d161e40b9e46fe | [
"MIT"
] | null | null | null | abilities/__init__.py | urban48/JBot | 191ea26969fda5a7d0a918fcc7d161e40b9e46fe | [
"MIT"
] | 5 | 2015-08-22T10:36:11.000Z | 2020-02-25T11:08:44.000Z | __author__ = 'Urban'
| 11 | 21 | 0.681818 | 2 | 22 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
37d111c9594806ed299f38bfb9eb81fe21337802 | 100 | py | Python | comfospot40/__init__.py | rubenbe/comfospottwin40 | fa4bcc8b2114e1565ed4d94a00ff35c14b9a25ab | [
"MIT"
] | 3 | 2020-04-20T21:05:14.000Z | 2021-03-25T06:18:55.000Z | comfospot40/__init__.py | rubenbe/comfospottwin40 | fa4bcc8b2114e1565ed4d94a00ff35c14b9a25ab | [
"MIT"
] | null | null | null | comfospot40/__init__.py | rubenbe/comfospottwin40 | fa4bcc8b2114e1565ed4d94a00ff35c14b9a25ab | [
"MIT"
] | null | null | null | from .packet import Packet
from .state import State
from .parser import Parser
name = "comfospot40"
| 20 | 26 | 0.79 | 14 | 100 | 5.642857 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.15 | 100 | 4 | 27 | 25 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.11 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
37d77abbbbde377c65997df3fadefa2782bd2884 | 224 | py | Python | website/urls.py | RAGNAROSaa/- | 833688d556ecc70570a9b464160271ace07380d9 | [
"Apache-2.0"
] | 5 | 2016-09-25T02:59:13.000Z | 2018-07-18T05:20:58.000Z | website/urls.py | RAGNAROSaa/- | 833688d556ecc70570a9b464160271ace07380d9 | [
"Apache-2.0"
] | 1 | 2016-12-01T01:11:53.000Z | 2016-12-01T01:11:53.000Z | website/urls.py | RAGNAROSaa/- | 833688d556ecc70570a9b464160271ace07380d9 | [
"Apache-2.0"
] | 6 | 2016-09-24T02:42:57.000Z | 2016-11-10T13:35:13.000Z | from django.conf.urls import url
from website import views
urlpatterns = [
url(r'^dashboard/$', views.DashboardOverviewView.as_view(), name='dashboard'),
url(r'^$', views.HomepageView.as_view(), name='homepage'),
]
| 28 | 82 | 0.709821 | 28 | 224 | 5.607143 | 0.607143 | 0.050955 | 0.127389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120536 | 224 | 7 | 83 | 32 | 0.796954 | 0 | 0 | 0 | 0 | 0 | 0.138393 | 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 |
37e912ce87ee8c5913f42ac0adcd81c81f7ac03a | 204 | py | Python | 0-notes/job-search/Cracking the Coding Interview/C10SortingSearching/questions/10.9-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C10SortingSearching/questions/10.9-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 0-notes/job-search/Cracking the Coding Interview/C10SortingSearching/questions/10.9-question.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | # Sorted Matrix Search
# Given a M x N matrix in which each row and each column is sorted in
# ascending order, write a method to find an element.
# time complexity: O()
# space complexity: O()
| 22.666667 | 70 | 0.696078 | 34 | 204 | 4.176471 | 0.794118 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240196 | 204 | 8 | 71 | 25.5 | 0.916129 | 0.911765 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
530ad7dce6e811503d9bd89a655b8b099a05c492 | 761 | py | Python | plim/extensions.py | spollard/Plim | 7689de85364691063ed5c43a891c433f9ebef5b9 | [
"MIT"
] | 85 | 2015-01-08T20:15:54.000Z | 2022-03-12T21:51:27.000Z | plim/extensions.py | spollard/Plim | 7689de85364691063ed5c43a891c433f9ebef5b9 | [
"MIT"
] | 18 | 2015-02-27T14:59:08.000Z | 2021-09-24T10:27:19.000Z | plim/extensions.py | spollard/Plim | 7689de85364691063ed5c43a891c433f9ebef5b9 | [
"MIT"
] | 14 | 2015-02-26T07:20:42.000Z | 2022-02-01T17:52:16.000Z | from docutils.core import publish_parts
import coffeescript
from scss import Scss
from stylus import Stylus
from .util import u
def rst_to_html(source):
# This code was taken from http://wiki.python.org/moin/ReStructuredText
# You may also be interested in http://www.tele3.cz/jbar/rest/about.html
html =... | 26.241379 | 81 | 0.717477 | 113 | 761 | 4.725664 | 0.451327 | 0.039326 | 0.041199 | 0.05618 | 0.108614 | 0.108614 | 0.108614 | 0 | 0 | 0 | 0 | 0.001524 | 0.137976 | 761 | 28 | 82 | 27.178571 | 0.8125 | 0.183968 | 0 | 0 | 0 | 0 | 0.119741 | 0.033981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.3125 | 0.0625 | 0.8125 | 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 |
530c522ca408a9e6fe7a504c7bf97f645d4570ef | 98 | py | Python | python/testData/typesFromAttributes/cyclicInheritance/main.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/typesFromAttributes/cyclicInheritance/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/typesFromAttributes/cyclicInheritance/main.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from module import A
class B(A):
def unique(self):
pass
x = undefined()
x.unique()
x | 10.888889 | 21 | 0.602041 | 16 | 98 | 3.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27551 | 98 | 9 | 22 | 10.888889 | 0.830986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.142857 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
532bff2129515e90f5f9f0a309d19f5da0da8847 | 481 | py | Python | src/stack.py | oskarjiang/data-structures-training | 417308fc3ae0b2d74555a9daab0f02b6d57159fe | [
"MIT"
] | null | null | null | src/stack.py | oskarjiang/data-structures-training | 417308fc3ae0b2d74555a9daab0f02b6d57159fe | [
"MIT"
] | null | null | null | src/stack.py | oskarjiang/data-structures-training | 417308fc3ae0b2d74555a9daab0f02b6d57159fe | [
"MIT"
] | null | null | null | class Stack:
topIndex = 0
items = [None] * 64
def push(self, item):
self.topIndex += 1
self.items[self.topIndex] = item
def pop(self):
if self.topIndex == 0:
return None
else:
itemToReturn = self.items[self.topIndex]
self.topIndex -= 1
... | 26.722222 | 52 | 0.525988 | 54 | 481 | 4.685185 | 0.333333 | 0.332016 | 0.15415 | 0.249012 | 0.26087 | 0.26087 | 0.26087 | 0.26087 | 0 | 0 | 0 | 0.023411 | 0.378378 | 481 | 18 | 53 | 26.722222 | 0.822742 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
533ed27a68028df7738a67921af5fb0e950c1b53 | 3,968 | py | Python | gulpy/inputs/tests/test_writer.py | learningmatter-mit/gulpy | a1894a40392fd9fa95cdee06b0253b340add8f49 | [
"MIT"
] | 1 | 2021-05-27T18:39:45.000Z | 2021-05-27T18:39:45.000Z | gulpy/inputs/tests/test_writer.py | learningmatter-mit/gulpy | a1894a40392fd9fa95cdee06b0253b340add8f49 | [
"MIT"
] | null | null | null | gulpy/inputs/tests/test_writer.py | learningmatter-mit/gulpy | a1894a40392fd9fa95cdee06b0253b340add8f49 | [
"MIT"
] | 1 | 2022-01-16T19:15:29.000Z | 2022-01-16T19:15:29.000Z | import os
import unittest as ut
from gulpy.inputs import InputWriter
from gulpy.structure import GulpCrystal
from gulpy.structure.labels import CatlowLabels
from gulpy.tests.test_files import load_structure
from gulpy.inputs.tests.test_library import ExampleLibrary
class TestInputWriter(ut.TestCase):
def setUp(... | 80.979592 | 1,872 | 0.653478 | 663 | 3,968 | 3.819005 | 0.168929 | 0.052133 | 0.050553 | 0.031596 | 0.469984 | 0.393365 | 0.35624 | 0.280411 | 0.019747 | 0 | 0 | 0.31229 | 0.249496 | 3,968 | 48 | 1,873 | 82.666667 | 0.537945 | 0 | 0 | 0 | 0 | 0.088235 | 0.689012 | 0.005292 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.176471 | false | 0 | 0.205882 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
534fde6bc990ac84ff15c9bd6b1bd85a446c0398 | 4,853 | py | Python | test/unit/analytics/test_get_modelling_results.py | nccr-itmo/FEDOT.Web | 9b6f7b66de277ea34d6d5ed621b99a3f938db61b | [
"BSD-3-Clause"
] | 23 | 2020-12-24T11:05:01.000Z | 2022-03-31T20:29:12.000Z | test/unit/analytics/test_get_modelling_results.py | nccr-itmo/FedotWeb | 763fb1f39ad2b69104b6568e6f941c4c67762e34 | [
"BSD-3-Clause"
] | 42 | 2021-01-11T09:38:31.000Z | 2022-03-25T17:19:05.000Z | test/unit/analytics/test_get_modelling_results.py | nccr-itmo/FedotWeb | 763fb1f39ad2b69104b6568e6f941c4c67762e34 | [
"BSD-3-Clause"
] | 5 | 2021-03-31T04:38:31.000Z | 2022-03-31T20:29:26.000Z | import pytest
from app.api.analytics.service import get_modelling_results
from pandas import Series
from pandas.testing import assert_series_equal
from ..dataclasses.analytics_service_dataclasses import ModelResultsTestCase
from ..fixtures.analytics_service_fixtures import (make_chart_dicts_fixture,
... | 31.927632 | 90 | 0.616732 | 492 | 4,853 | 5.800813 | 0.172764 | 0.106517 | 0.156973 | 0.056062 | 0.750876 | 0.750876 | 0.72705 | 0.694814 | 0.653819 | 0.556062 | 0 | 0.027857 | 0.275088 | 4,853 | 151 | 91 | 32.139073 | 0.7834 | 0 | 0 | 0.791667 | 0 | 0 | 0.04183 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 1 | 0.006944 | false | 0 | 0.048611 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
535198fb83749b968e7be73bf7e0faf88f11c56a | 3,446 | py | Python | venv/Lib/site-packages/torch/distributions/normal.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | venv/Lib/site-packages/torch/distributions/normal.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/torch/distributions/normal.py | Westlanderz/AI-Plat1 | 1187c22819e5135e8e8189c99b86a93a0d66b8d8 | [
"MIT"
] | null | null | null | import math
from numbers import Real
from numbers import Number
import torch
from torch.distributions import constraints
from torch.distributions.exp_family import ExponentialFamily
from torch.distributions.utils import _standard_normal, broadcast_all
class Normal(ExponentialFamily):
r"""
Creates... | 35.895833 | 101 | 0.629135 | 449 | 3,446 | 4.672606 | 0.249443 | 0.060057 | 0.026692 | 0.030505 | 0.180172 | 0.134414 | 0.134414 | 0.102002 | 0.102002 | 0.102002 | 0 | 0.015199 | 0.255369 | 3,446 | 95 | 102 | 36.273684 | 0.802416 | 0.137261 | 0 | 0.15625 | 0 | 0 | 0.002831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203125 | false | 0 | 0.109375 | 0.109375 | 0.578125 | 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 |
5358e52c9a979585d52badcd7ca183df2350f7b5 | 6,332 | py | Python | src/onapsdk/utils/headers_creator.py | Orange-OpenSource/python-onapsdk | 5b2dad4739b534b9a7159802c18cf486053b9353 | [
"Apache-2.0"
] | 4 | 2020-06-13T04:51:27.000Z | 2021-01-06T15:00:51.000Z | src/onapsdk/utils/headers_creator.py | Orange-OpenSource/python-onapsdk | 5b2dad4739b534b9a7159802c18cf486053b9353 | [
"Apache-2.0"
] | 5 | 2019-11-26T16:15:15.000Z | 2021-04-08T08:03:18.000Z | src/onapsdk/utils/headers_creator.py | Orange-OpenSource/python-onapsdk | 5b2dad4739b534b9a7159802c18cf486053b9353 | [
"Apache-2.0"
] | 8 | 2020-08-28T10:56:02.000Z | 2022-02-11T17:06:03.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: Apache-2.0
"""Header creator package."""
from typing import Dict
from uuid import uuid4
import base64
import hashlib
from onapsdk.configuration import settings
def headers_sdc_creator(base_header: Dict[str, str],
user: ... | 28.913242 | 78 | 0.614972 | 776 | 6,332 | 4.925258 | 0.136598 | 0.115123 | 0.086342 | 0.097855 | 0.77237 | 0.765306 | 0.742282 | 0.70696 | 0.682365 | 0.59707 | 0 | 0.016462 | 0.28048 | 6,332 | 218 | 79 | 29.045872 | 0.822432 | 0.447884 | 0 | 0.469697 | 0 | 0 | 0.149089 | 0.011719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.075758 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
535ac8be209931d032d8b90297d18f327fc0a462 | 516 | py | Python | otokon_homework/contact/forms.py | bilbeyt/otokon-homework | 60b456b5ce3c36b4afae2573e4af14c0eceab42a | [
"MIT"
] | null | null | null | otokon_homework/contact/forms.py | bilbeyt/otokon-homework | 60b456b5ce3c36b4afae2573e4af14c0eceab42a | [
"MIT"
] | null | null | null | otokon_homework/contact/forms.py | bilbeyt/otokon-homework | 60b456b5ce3c36b4afae2573e4af14c0eceab42a | [
"MIT"
] | null | null | null | from django import forms
from contact.models import Message
class MessageCreateForm(forms.ModelForm):
class Meta:
model = Message
exclude = ["send_user", "to_user", "slug", "answer", "is_answered"]
class MessageUpdateForm(forms.ModelForm):
class Meta:
model = Message
exclude ... | 24.571429 | 75 | 0.653101 | 57 | 516 | 5.77193 | 0.385965 | 0.12766 | 0.173252 | 0.209726 | 0.674772 | 0.674772 | 0.674772 | 0.674772 | 0.674772 | 0.674772 | 0 | 0 | 0.22093 | 516 | 20 | 76 | 25.8 | 0.818408 | 0 | 0 | 0.571429 | 0 | 0 | 0.182171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7254e50c5fd965ceae9f0885f14338626ab5a945 | 235 | py | Python | src/the_tale/the_tale/game/places/management/commands/places_update_nearest_cells.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/the_tale/the_tale/game/places/management/commands/places_update_nearest_cells.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/places/management/commands/places_update_nearest_cells.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
class Command(django_management.BaseCommand):
help = 'for each place calculate nearest map cells'
def handle(self, *args, **options):
nearest_cells.update_nearest_cells()
| 16.785714 | 55 | 0.731915 | 29 | 235 | 5.724138 | 0.793103 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178723 | 235 | 13 | 56 | 18.076923 | 0.860104 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
725711e992aaa7ea022cda3a5824c7950ff6cbd2 | 263 | py | Python | BaseStation/src/ui/console_message_listener.py | ul-gaul/Avionique_Software | e131936de4878d6b71a7168de2212bd9a3a507c7 | [
"MIT"
] | 3 | 2017-10-17T22:56:17.000Z | 2019-02-04T17:23:07.000Z | BaseStation/src/ui/console_message_listener.py | ul-gaul/Avionique_Software | e131936de4878d6b71a7168de2212bd9a3a507c7 | [
"MIT"
] | 64 | 2016-12-05T23:34:20.000Z | 2020-10-05T23:57:43.000Z | BaseStation/src/ui/console_message_listener.py | ul-gaul/Avionique_Software | e131936de4878d6b71a7168de2212bd9a3a507c7 | [
"MIT"
] | 3 | 2017-01-11T06:14:14.000Z | 2020-10-05T20:57:37.000Z | from src.message_listener import MessageListener
from src.message_type import MessageType
class ConsoleMessageListener(MessageListener):
def notify(self, message: str, message_type: MessageType):
print("[{}] {}".format(message_type.name, message))
| 29.222222 | 62 | 0.768061 | 29 | 263 | 6.827586 | 0.586207 | 0.166667 | 0.141414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129278 | 263 | 8 | 63 | 32.875 | 0.864629 | 0 | 0 | 0 | 0 | 0 | 0.026616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
7258afb8cc46f016e351ad38ce319e6aa93d5573 | 1,367 | py | Python | algoexpert.io/python/Find_Three_Largest_Number.py | its-sushant/coding-interview-gym | 140c19cbfe29e0941a6b6e3882d5bfdc5d36589e | [
"MIT"
] | 713 | 2019-11-19T16:11:25.000Z | 2022-03-31T02:27:52.000Z | algoexpert.io/python/Find_Three_Largest_Number.py | arunsank/coding-interview-gym | 8131e3a82795707e144fe55d765b6c15bdb97306 | [
"MIT"
] | 7 | 2020-01-16T17:07:18.000Z | 2021-11-15T18:24:39.000Z | algoexpert.io/python/Find_Three_Largest_Number.py | arunsank/coding-interview-gym | 8131e3a82795707e144fe55d765b6c15bdb97306 | [
"MIT"
] | 393 | 2019-11-18T17:55:45.000Z | 2022-03-28T20:26:32.000Z | # My solution using Hepa
import heapq
def findThreeLargestNumbers(array):
hp = []
for num in array:
if len(hp) < 3:
heapq.heappush(hp, num)
else:
if hp[0] < num:
heapq.heappop(hp)
heapq.heappush(hp, num)
return sorted(hp)
# Solution providd by Algoexpert
# O(n) time | O(1) space
def find_three_... | 30.377778 | 77 | 0.706657 | 203 | 1,367 | 4.492611 | 0.275862 | 0.285088 | 0.375 | 0.105263 | 0.27193 | 0.27193 | 0.27193 | 0 | 0 | 0 | 0 | 0.030109 | 0.198244 | 1,367 | 44 | 78 | 31.068182 | 0.802007 | 0.055596 | 0 | 0.1875 | 0 | 0 | 0.016342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03125 | null | null | 0.03125 | 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 |
725e075b7c517602bdf314ab668e2fd1ea8a6a9a | 1,841 | py | Python | test/llc/low-level/Expected/AcceptanceTests/LLCServiceDrivenUpdateOneLowLevel/llcservicedrivenupdateonelowlevel/rest/params/__init__.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/llc/low-level/Expected/AcceptanceTests/LLCServiceDrivenUpdateOneLowLevel/llcservicedrivenupdateonelowlevel/rest/params/__init__.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | test/llc/low-level/Expected/AcceptanceTests/LLCServiceDrivenUpdateOneLowLevel/llcservicedrivenupdateonelowlevel/rest/params/__init__.py | changlong-liu/autorest.python | 1f03e4c6a11934d385fab050dc44041f1e91e9ff | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 52.6 | 94 | 0.748506 | 222 | 1,841 | 5.707207 | 0.288288 | 0.121547 | 0.209945 | 0.121547 | 0.692186 | 0.584057 | 0.483031 | 0.45146 | 0.220994 | 0 | 0 | 0.004991 | 0.129278 | 1,841 | 34 | 95 | 54.147059 | 0.785402 | 0.294948 | 0 | 0 | 0 | 0 | 0.160561 | 0.160561 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
726bc983ab4ac0e7961cfe3a5f1ff554de9d0ca2 | 595 | py | Python | bnbad2/meta.py | timm/bnbad2 | 942792b2850b39fd38c3612fcff4613b7d8ef0c7 | [
"MIT"
] | 1 | 2021-03-16T01:15:49.000Z | 2021-03-16T01:15:49.000Z | bnbad2/meta.py | timm/bnbad2 | 942792b2850b39fd38c3612fcff4613b7d8ef0c7 | [
"MIT"
] | 1 | 2021-01-20T15:09:35.000Z | 2021-01-20T15:09:35.000Z | bnbad2/meta.py | timm/bnbad2 | 942792b2850b39fd38c3612fcff4613b7d8ef0c7 | [
"MIT"
] | null | null | null | def _method(f): return lambda *l, **d: f(i, *l, **d)
class o:
def __init__(i, **d): i.__dict__.update(**d)
def __repr__(i): return str(
{k: (v.__name__ + "()" if callable(v) else v)
for k, v in sorted(i.__dict__.items()) if k[0] != "_"})
def of(i, **methods):
for k, f in methods.items():
i.__di... | 22.884615 | 62 | 0.566387 | 117 | 595 | 2.649573 | 0.376068 | 0.048387 | 0.083871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072034 | 0.206723 | 595 | 25 | 63 | 23.8 | 0.584746 | 0.068908 | 0 | 0 | 0 | 0 | 0.005455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.235294 | 0.588235 | 0.117647 | 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 |
726eaa10f5dbf98784c84f7b581963e40bc88413 | 769 | py | Python | social/apps/django_app/__init__.py | Nikolay232/python-social-auth | bb2f08127005091544a69208e9adf0aeccce9479 | [
"BSD-3-Clause"
] | 1 | 2016-03-12T15:35:44.000Z | 2016-03-12T15:35:44.000Z | social/apps/django_app/__init__.py | Nikolay232/python-social-auth | bb2f08127005091544a69208e9adf0aeccce9479 | [
"BSD-3-Clause"
] | null | null | null | social/apps/django_app/__init__.py | Nikolay232/python-social-auth | bb2f08127005091544a69208e9adf0aeccce9479 | [
"BSD-3-Clause"
] | 1 | 2020-10-26T04:57:36.000Z | 2020-10-26T04:57:36.000Z | """
Django framework support.
To use this:
* Add 'social.apps.django_app.default' if using default ORM,
or 'social.apps.django_app.me' if using mongoengine
* Add url('', 'social.apps.django_app.urls') to urls.py
* Define SOCIAL_AUTH_STORAGE and SOCIAL_AUTH_STRATEGY, default values:
SOCIAL_AUTH_STRATEGY =... | 40.473684 | 79 | 0.803641 | 108 | 769 | 5.509259 | 0.453704 | 0.084034 | 0.134454 | 0.159664 | 0.087395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118336 | 769 | 18 | 80 | 42.722222 | 0.877581 | 0.771131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
727404d3d83295f8d80f92a9535d71086ac527d4 | 378 | py | Python | inovonics/cloud/datastore/__init__.py | inovonics/cloud-datastore | feea05097fdac59cc35af89b9ea477e1d2074de8 | [
"MIT"
] | 1 | 2017-10-19T19:23:48.000Z | 2017-10-19T19:23:48.000Z | inovonics/cloud/datastore/__init__.py | inovonics/cloud-datastore | feea05097fdac59cc35af89b9ea477e1d2074de8 | [
"MIT"
] | 1 | 2017-12-04T17:17:30.000Z | 2017-12-04T17:17:30.000Z | inovonics/cloud/datastore/__init__.py | inovonics/cloud-datastore | feea05097fdac59cc35af89b9ea477e1d2074de8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# === IMPORTS ===
from .__version__ import __version__
from .exceptions import DuplicateException, ExistsException, InvalidDataException, NotExistsException, UnauthorizedException, ForbiddenException
from .inoredis import InoRedis
from .bases import InoModelBase, InoObjectBase
# === GLOBALS ==... | 22.235294 | 144 | 0.73545 | 31 | 378 | 8.709677 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003049 | 0.132275 | 378 | 16 | 145 | 23.625 | 0.820122 | 0.26455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7280a93622a44c19700b8d8c11b5457409b6ca53 | 3,615 | py | Python | docs/gdscript-docs-maker/src/gdscript_docs_maker/make_markdown.py | 3ddelano/mongo-driver-godot | 3afb693df19f103d7146f7944d6dfaf0b0a0148b | [
"MIT"
] | 6 | 2022-03-09T17:13:18.000Z | 2022-03-21T13:18:05.000Z | docs/gdscript-docs-maker/src/gdscript_docs_maker/make_markdown.py | 3ddelano/mongo-driver-godot | 3afb693df19f103d7146f7944d6dfaf0b0a0148b | [
"MIT"
] | null | null | null | docs/gdscript-docs-maker/src/gdscript_docs_maker/make_markdown.py | 3ddelano/mongo-driver-godot | 3afb693df19f103d7146f7944d6dfaf0b0a0148b | [
"MIT"
] | 1 | 2022-03-09T19:36:50.000Z | 2022-03-09T19:36:50.000Z | """General functions and utilities to write markdown documents.
"""
import re
from dataclasses import dataclass, field
from typing import List
@dataclass
class MarkdownDocument:
title: str
content: List[str]
sub_documents: List["MarkdownDocument"] = field(default_factory=[])
def get_filename(self):
... | 26.386861 | 87 | 0.595297 | 441 | 3,615 | 4.750567 | 0.269841 | 0.046778 | 0.031026 | 0.032458 | 0.150835 | 0.131742 | 0.131742 | 0.115036 | 0.079714 | 0.079714 | 0 | 0.002573 | 0.247303 | 3,615 | 136 | 88 | 26.580882 | 0.767365 | 0.168741 | 0 | 0.030303 | 0 | 0 | 0.065318 | 0.00923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0 | 0.045455 | 0.151515 | 0.712121 | 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 |
728625f64225a556e38469fb60cae64d04e40465 | 57,013 | py | Python | reviewboard/hostingsvcs/tests/test_bitbucket.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 921 | 2015-01-01T15:26:28.000Z | 2022-03-29T11:30:38.000Z | reviewboard/hostingsvcs/tests/test_bitbucket.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 5 | 2015-03-17T18:57:47.000Z | 2020-10-02T13:24:31.000Z | reviewboard/hostingsvcs/tests/test_bitbucket.py | seekingalpha/reviewboard | 191bf21347f4272fad6ce6366d2e110025c62fd1 | [
"MIT"
] | 285 | 2015-01-12T06:24:36.000Z | 2022-03-29T11:03:50.000Z | """Unit tests for the Bitbucket hosting service."""
from __future__ import unicode_literals
import logging
from django.contrib.auth.models import User
from django.test.client import RequestFactory
from django.utils.safestring import SafeText
from djblets.testing.decorators import add_fixtures
from reviewboard.hosti... | 40.840258 | 79 | 0.524337 | 5,003 | 57,013 | 5.746552 | 0.079952 | 0.039791 | 0.025043 | 0.013009 | 0.76647 | 0.737217 | 0.709461 | 0.682609 | 0.641843 | 0.611583 | 0 | 0.061654 | 0.383509 | 57,013 | 1,395 | 80 | 40.869534 | 0.756316 | 0.083455 | 0 | 0.619963 | 0 | 0 | 0.194662 | 0.083715 | 0 | 0 | 0 | 0 | 0.117216 | 1 | 0.038462 | false | 0.014652 | 0.013736 | 0 | 0.062271 | 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 |
72a8dc67275b9a5f344c7b9fa81dbb1400a28099 | 15,602 | py | Python | training_and_testing/FSANET_test.py | zsscode/FSA-Net | e4d7a452e60b17ad989d182d10280e3e69a8bf30 | [
"Apache-2.0"
] | 1 | 2019-04-28T10:01:54.000Z | 2019-04-28T10:01:54.000Z | training_and_testing/FSANET_test.py | zsscode/FSA-Net | e4d7a452e60b17ad989d182d10280e3e69a8bf30 | [
"Apache-2.0"
] | null | null | null | training_and_testing/FSANET_test.py | zsscode/FSA-Net | e4d7a452e60b17ad989d182d10280e3e69a8bf30 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import logging
import argparse
import os
from keras.callbacks import LearningRateScheduler, ModelCheckpoint
from keras.optimizers import SGD, Adam
from keras.utils import np_utils
from FSANET_model import *
import sys
import numpy as np
from keras.preprocessing.image import ImageDataGenerator
import... | 35.702517 | 146 | 0.561979 | 2,148 | 15,602 | 3.69041 | 0.088454 | 0.063076 | 0.044153 | 0.058282 | 0.763088 | 0.745553 | 0.719944 | 0.697742 | 0.667466 | 0.667466 | 0 | 0.031665 | 0.33406 | 15,602 | 436 | 147 | 35.784404 | 0.73128 | 0.006217 | 0 | 0.536023 | 0 | 0.002882 | 0.069092 | 0.028966 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011527 | false | 0.002882 | 0.048991 | 0 | 0.066282 | 0.008646 | 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 |
72aab2a97fa8670d7f1061f6a75550351253b516 | 996 | py | Python | S4/S4 Library/simulation/situations/complex/restaurant_event_situation.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/situations/complex/restaurant_event_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | S4/S4 Library/simulation/situations/complex/restaurant_event_situation.py | NeonOcean/Environment | ca658cf66e8fd6866c22a4a0136d415705b36d26 | [
"CC-BY-4.0"
] | null | null | null | from situations.situation import Situation
from situations.situation_complex import SituationComplexCommon, CommonSituationState, SituationStateData
class _SimpleState(CommonSituationState):
pass
class RestaurantEventSituation(SituationComplexCommon):
INSTANCE_TUNABLES = {'simple_state': _SimpleState.TunableF... | 38.307692 | 207 | 0.752008 | 108 | 996 | 6.62037 | 0.490741 | 0.061538 | 0.064336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001221 | 0.177711 | 996 | 25 | 208 | 39.84 | 0.871795 | 0 | 0 | 0.263158 | 0 | 0.052632 | 0.134538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.105263 | 0.105263 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
72cab143946da915ecaea6f55a34dbb8467c395e | 1,954 | py | Python | core/modules/modules.py | WoojuLee24/spvnas | a2d820a494bfb5c39dbc2987c71f1ce226e76fec | [
"MIT"
] | 149 | 2021-03-20T17:51:30.000Z | 2022-03-29T09:24:26.000Z | core/modules/modules.py | Allianc-rgb/spvnas | 3054cc1f166a668d0f53fe0cab3bfaf7a28fbb69 | [
"MIT"
] | 43 | 2021-03-20T01:08:59.000Z | 2022-03-18T04:24:28.000Z | core/modules/modules.py | Allianc-rgb/spvnas | 3054cc1f166a668d0f53fe0cab3bfaf7a28fbb69 | [
"MIT"
] | 35 | 2021-04-01T08:29:02.000Z | 2022-03-29T09:24:32.000Z | import random
from abc import abstractmethod
import torch.nn as nn
__all__ = ['RandomModule', 'RandomChoice', 'RandomDepth']
class RandomModule(nn.Module):
@abstractmethod
def random_sample(self):
pass
@abstractmethod
def clear_sample(self):
pass
@abstractmethod
def manual... | 21.711111 | 64 | 0.618219 | 236 | 1,954 | 4.927966 | 0.228814 | 0.108341 | 0.038693 | 0.049011 | 0.091144 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002149 | 0.285568 | 1,954 | 89 | 65 | 21.955056 | 0.830946 | 0.015353 | 0 | 0.377049 | 0 | 0 | 0.01821 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 1 | 0.278689 | false | 0.065574 | 0.04918 | 0.065574 | 0.491803 | 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 |
72d1042e2a3a92c78e813d43d02b154da90c4a60 | 791 | py | Python | Desafio26.py | sergioboff/Desafios-Curso-em-Video | f876396635b12c00bdd9523758364bbebfd70ae0 | [
"MIT"
] | null | null | null | Desafio26.py | sergioboff/Desafios-Curso-em-Video | f876396635b12c00bdd9523758364bbebfd70ae0 | [
"MIT"
] | null | null | null | Desafio26.py | sergioboff/Desafios-Curso-em-Video | f876396635b12c00bdd9523758364bbebfd70ae0 | [
"MIT"
] | null | null | null | frase = str(input('Digite uma frase : ')).strip()
lower=frase.lower()
print('##########################################################################')
print('################# A N A L I Z A N D O A F R A S E #################')
print('##########################################################################'... | 71.909091 | 100 | 0.432364 | 88 | 791 | 3.886364 | 0.443182 | 0.105263 | 0.096491 | 0.105263 | 0.336257 | 0.116959 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108723 | 791 | 11 | 101 | 71.909091 | 0.485106 | 0 | 0 | 0.181818 | 0 | 0 | 0.655303 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
72d11560157ae393cd224426e5ee606b47ad02e6 | 366 | py | Python | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/gpu_program4.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/gpu_program4.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | Cartwheel/lib/Python26/Lib/site-packages/OpenGL/GL/NV/gpu_program4.py | MontyThibault/centre-of-mass-awareness | 58778f148e65749e1dfc443043e9fc054ca3ff4d | [
"MIT"
] | null | null | null | '''OpenGL extension NV.gpu_program4
This module customises the behaviour of the
OpenGL.raw.GL.NV.gpu_program4 to provide a more
Python-friendly API
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.NV.gpu_p... | 30.5 | 56 | 0.806011 | 55 | 366 | 5.309091 | 0.6 | 0.136986 | 0.133562 | 0.089041 | 0.164384 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0.009375 | 0.125683 | 366 | 12 | 57 | 30.5 | 0.903125 | 0.47541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
72d1d39d5ca69944983f5b8735c61801dd3bb4c8 | 363 | py | Python | mods/mcpython/Blocks/melon.py | uuk0/mcpython-a-minecraft-clone-in-python | c16cd66f319efdeec4130e1a43f5a857caf1ea13 | [
"MIT"
] | 2 | 2020-04-23T16:25:51.000Z | 2020-08-27T17:56:16.000Z | mods/mcpython/Blocks/melon.py | uuk0/mcpython-a-minecraft-clone-in-python | c16cd66f319efdeec4130e1a43f5a857caf1ea13 | [
"MIT"
] | null | null | null | mods/mcpython/Blocks/melon.py | uuk0/mcpython-a-minecraft-clone-in-python | c16cd66f319efdeec4130e1a43f5a857caf1ea13 | [
"MIT"
] | null | null | null | from .Block import *
import random
class Melon(Block):
def getTex(self):
return tex_coords((4, 3), (4, 3), (4, 2))
def getName(self):
return "minecraft:melon_block"
def getDropAmount(self, item):
return random.randint(1, 3)
drops = ["minecraft:melon"]
destroygroups = [de... | 18.15 | 49 | 0.633609 | 45 | 363 | 5.066667 | 0.577778 | 0.087719 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028777 | 0.23416 | 363 | 19 | 50 | 19.105263 | 0.791367 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 0.057851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.25 | 0.916667 | 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 |
72db018811b113fd422b5c0335dfb0cf895cde0c | 440 | py | Python | py/axonchisel/metrics/io/emfetch/plugins/__init__.py | axonchisel/ax_metrics | a2db75c9ef9a9752997ccb112e8db68c1c8584a0 | [
"MIT"
] | 10 | 2016-08-26T18:57:28.000Z | 2021-09-19T19:21:16.000Z | py/axonchisel/metrics/io/emfetch/plugins/__init__.py | axonchisel/ax_metrics | a2db75c9ef9a9752997ccb112e8db68c1c8584a0 | [
"MIT"
] | 1 | 2015-01-08T19:54:54.000Z | 2015-01-09T01:24:17.000Z | py/axonchisel/metrics/io/emfetch/plugins/__init__.py | axonchisel/ax_metrics | a2db75c9ef9a9752997ccb112e8db68c1c8584a0 | [
"MIT"
] | 3 | 2015-01-08T23:32:58.000Z | 2016-09-23T02:38:26.000Z | """
Ax_Metrics - Default EMFetcher plugin class aggregation
------------------------------------------------------------------------------
Author: Dan Kamins <dos at axonchisel dot net>
Copyright (c) 2014 Dan Kamins, AxonChisel.net
"""
# ----------------------------------------------------------------------------
#... | 22 | 78 | 0.459091 | 36 | 440 | 5.472222 | 0.666667 | 0.091371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.145455 | 440 | 19 | 79 | 23.157895 | 0.513298 | 0.731818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f400b21d8129b7f4dd2d14315c2b168d889a2fa7 | 194 | py | Python | anchors/__init__.py | Fantomas42/django-anchors | 1cedc947dd3f1ed5197e55bb96cf0c6d2e2cf430 | [
"BSD-3-Clause"
] | null | null | null | anchors/__init__.py | Fantomas42/django-anchors | 1cedc947dd3f1ed5197e55bb96cf0c6d2e2cf430 | [
"BSD-3-Clause"
] | null | null | null | anchors/__init__.py | Fantomas42/django-anchors | 1cedc947dd3f1ed5197e55bb96cf0c6d2e2cf430 | [
"BSD-3-Clause"
] | null | null | null | """django-anchors"""
__version__ = '0.1.dev0'
__license__ = 'BSD License'
__author__ = 'Fantomas42'
__email__ = 'fantomas42@gmail.com'
__url__ = 'https://github.com/Fantomas42/django-anchors'
| 21.555556 | 56 | 0.731959 | 22 | 194 | 5.545455 | 0.727273 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051429 | 0.097938 | 194 | 8 | 57 | 24.25 | 0.645714 | 0.072165 | 0 | 0 | 0 | 0 | 0.534483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f4304e62dac682864dd760a1a359a11872c3f24c | 298 | py | Python | maximum-integer-value/test_maximum_integer_value.py | joaojunior/hackerrank | a5ee0449e791535930b8659dfb7dddcf9e1237de | [
"MIT"
] | null | null | null | maximum-integer-value/test_maximum_integer_value.py | joaojunior/hackerrank | a5ee0449e791535930b8659dfb7dddcf9e1237de | [
"MIT"
] | null | null | null | maximum-integer-value/test_maximum_integer_value.py | joaojunior/hackerrank | a5ee0449e791535930b8659dfb7dddcf9e1237de | [
"MIT"
] | 1 | 2019-06-19T00:51:02.000Z | 2019-06-19T00:51:02.000Z | import unittest
from maximum_integer_value import maximum_integer_value
class MaximumIntegerValue(unittest.TestCase):
def test_pass_01230_return_9(self):
expected = 9
self.assertEqual(expected, maximum_integer_value('01230'))
if __name__ == '__main__':
unittest.main()
| 21.285714 | 66 | 0.755034 | 35 | 298 | 5.914286 | 0.6 | 0.202899 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.16443 | 298 | 13 | 67 | 22.923077 | 0.783133 | 0 | 0 | 0 | 0 | 0 | 0.043624 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0.125 | 0.25 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f4428f1ca7a6f9abd29626fc794a1ee9c276fbfc | 10,657 | py | Python | tripleo_common/tests/utils/test_ansible.py | openstack/tripleo-common | 7e8942329a453142155763851a3b19251bbe662b | [
"Apache-2.0"
] | 52 | 2015-04-17T12:06:09.000Z | 2021-11-23T09:46:30.000Z | tripleo_common/tests/utils/test_ansible.py | openstack/tripleo-common | 7e8942329a453142155763851a3b19251bbe662b | [
"Apache-2.0"
] | null | null | null | tripleo_common/tests/utils/test_ansible.py | openstack/tripleo-common | 7e8942329a453142155763851a3b19251bbe662b | [
"Apache-2.0"
] | 47 | 2015-10-09T15:22:38.000Z | 2021-04-22T04:35:57.000Z | # Copyright 2017 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 42.458167 | 79 | 0.631604 | 1,235 | 10,657 | 5.136032 | 0.17085 | 0.083557 | 0.036418 | 0.028378 | 0.718903 | 0.702822 | 0.700773 | 0.685007 | 0.679805 | 0.679805 | 0 | 0.004413 | 0.277095 | 10,657 | 250 | 80 | 42.628 | 0.818925 | 0.084452 | 0 | 0.608466 | 0 | 0 | 0.149651 | 0.077855 | 0 | 0 | 0 | 0 | 0.063492 | 1 | 0.042328 | false | 0 | 0.047619 | 0 | 0.100529 | 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 |
f443c0df7e81b4529c4e83804751413d077dbefc | 45 | py | Python | custom_components/dwains_dashboard/const.py | QziP22/HomeAssistantConfig | 6b05fa20c8267222dc66f90e94f03f5d865c57a9 | [
"Unlicense"
] | 1 | 2020-08-20T01:54:05.000Z | 2020-08-20T01:54:05.000Z | custom_components/dwains_dashboard/const.py | QziP22/HomeAssistantConfig | 6b05fa20c8267222dc66f90e94f03f5d865c57a9 | [
"Unlicense"
] | 4 | 2021-01-24T16:00:53.000Z | 2022-01-14T16:07:07.000Z | custom_components/dwains_dashboard/const.py | QziP22/HomeAssistantConfig | 6b05fa20c8267222dc66f90e94f03f5d865c57a9 | [
"Unlicense"
] | 2 | 2020-05-06T23:09:11.000Z | 2021-09-10T20:49:10.000Z | DOMAIN = "dwains_dashboard"
VERSION = "2.0.3" | 22.5 | 27 | 0.711111 | 7 | 45 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.111111 | 45 | 2 | 28 | 22.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.456522 | 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 |
f453ea7d43ccde39512f8cc520ed509435c1456c | 2,137 | py | Python | authentication/tests/test_views.py | Mihai925/EduCoding-Legacy | 7c6de105deb186c3442f8d7f9f1b9f99708f8fb6 | [
"MIT"
] | null | null | null | authentication/tests/test_views.py | Mihai925/EduCoding-Legacy | 7c6de105deb186c3442f8d7f9f1b9f99708f8fb6 | [
"MIT"
] | null | null | null | authentication/tests/test_views.py | Mihai925/EduCoding-Legacy | 7c6de105deb186c3442f8d7f9f1b9f99708f8fb6 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User, Group
from django.test import TestCase
from django.test.utils import setup_test_environment
from autofixture import AutoFixture
from authentication.authenticate import TestClient
from authentication.models import Invitation
class TeacherRegistrationTestCase(TestCase):
... | 46.456522 | 110 | 0.692092 | 240 | 2,137 | 5.966667 | 0.279167 | 0.146648 | 0.087989 | 0.101257 | 0.392458 | 0.392458 | 0.392458 | 0.361732 | 0.201816 | 0.201816 | 0 | 0.015108 | 0.194665 | 2,137 | 45 | 111 | 47.488889 | 0.816967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.090909 | false | 0 | 0.545455 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f46cf84d53f745a9c08d8011f987db33ee8ebab1 | 103 | py | Python | mundo 1/ex022.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/ex022.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | mundo 1/ex022.py | jorgeduartejr/Ex-PYTHON | 266b656ad94065e77ece7cdbc9e09062c5933100 | [
"MIT"
] | null | null | null | nome = input('Digite qual é o seu nome completo: ')
print(nome.upper(), nome.lower())
print(len(nome))
| 25.75 | 51 | 0.68932 | 17 | 103 | 4.176471 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 3 | 52 | 34.333333 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0.339806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f48c7b71ab7ed6f1255f30ee8303286af1a614d6 | 204 | py | Python | dpgs_sandbox/app_blog/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 85 | 2019-01-03T02:22:03.000Z | 2022-03-09T23:15:56.000Z | dpgs_sandbox/app_blog/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 52 | 2019-02-12T21:04:43.000Z | 2022-03-05T15:20:16.000Z | dpgs_sandbox/app_blog/models.py | ktowen/django-pgschemas | 5487c82d7a44297e12b80ef899a9aee0b6879bc5 | [
"MIT"
] | 12 | 2019-01-31T02:36:06.000Z | 2021-06-15T22:06:12.000Z | from django.contrib.auth import get_user_model
from django.db import models
class BlogEntry(models.Model):
user = models.ForeignKey(get_user_model(), on_delete=models.CASCADE, related_name="blogs")
| 29.142857 | 94 | 0.79902 | 30 | 204 | 5.233333 | 0.633333 | 0.127389 | 0.152866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 6 | 95 | 34 | 0.857924 | 0 | 0 | 0 | 0 | 0 | 0.02451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be351a83ab7f17e5688fefdf8da592f8f2e3e877 | 382 | py | Python | avg.py | euikook/python-moving-average-examples | d721fdb8a49faa6e9cf84ded3510185b42e7d8dc | [
"MIT"
] | null | null | null | avg.py | euikook/python-moving-average-examples | d721fdb8a49faa6e9cf84ded3510185b42e7d8dc | [
"MIT"
] | null | null | null | avg.py | euikook/python-moving-average-examples | d721fdb8a49faa6e9cf84ded3510185b42e7d8dc | [
"MIT"
] | null | null | null | import numpy as np
def do_cma(s):
return s.expanding().mean()
def do_sma(s, N=15):
return s.rolling(N, min_periods=1).mean()
def do_ema(s, N=15):
return s.ewm(alpha=2/(N+1)).mean()
w = lambda x: np.arange(1, len(x) + 1)
def do_wma(s, N=15):
# w = np.arange(1, N + 1)
return s.rolling(N, min_per... | 21.222222 | 92 | 0.602094 | 81 | 382 | 2.765432 | 0.407407 | 0.089286 | 0.053571 | 0.089286 | 0.290179 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0.183246 | 382 | 17 | 93 | 22.470588 | 0.673077 | 0.060209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 0.9 | 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 |
be3eef27c230d9996d273d23a3b6c37e4f0e5f46 | 17,927 | py | Python | custom/hope/models.py | dannyroberts/commcare-hq | 4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598 | [
"BSD-3-Clause"
] | null | null | null | custom/hope/models.py | dannyroberts/commcare-hq | 4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598 | [
"BSD-3-Clause"
] | null | null | null | custom/hope/models.py | dannyroberts/commcare-hq | 4b0b8ecbe851e46307d3a0e635d6d5d6e31c3598 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from __future__ import unicode_literals
from couchdbkit import ResourceNotFound
from memoized import memoized
from casexml.apps.case.models import CommCareCase
from corehq.apps.users.models import CommCareUser
from custom.hope.const import MOTHER_OTHER_PROPERTIES, CHILD_OTHER_PRO... | 28.867955 | 177 | 0.65538 | 2,323 | 17,927 | 4.662936 | 0.097718 | 0.07921 | 0.105244 | 0.077179 | 0.639402 | 0.528896 | 0.423929 | 0.36106 | 0.228859 | 0.206979 | 0 | 0.006813 | 0.263123 | 17,927 | 620 | 178 | 28.914516 | 0.813172 | 0.025158 | 0 | 0.412664 | 0 | 0 | 0.071707 | 0.001377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.200873 | false | 0 | 0.017467 | 0.117904 | 0.50655 | 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 |
be6da451ec1b90e63f97b02ba84dcc51aa93cc15 | 264 | py | Python | Condicionais/ordenacao.py | caiojjj/python_1_USP_coursera | 1ac03cc0d50f505f8a7ef364cb04b90d41235b9b | [
"MIT"
] | null | null | null | Condicionais/ordenacao.py | caiojjj/python_1_USP_coursera | 1ac03cc0d50f505f8a7ef364cb04b90d41235b9b | [
"MIT"
] | 1 | 2020-10-13T05:00:06.000Z | 2020-10-17T00:49:17.000Z | Condicionais/ordenacao.py | caiojjj/python_1_USP_coursera | 1ac03cc0d50f505f8a7ef364cb04b90d41235b9b | [
"MIT"
] | null | null | null | numOne = int(input("Digite o primero número: "))
numTwo = int (input("Digite o segundo número: "))
numThree = int(input("Digite o terceiro número: "))
if numOne < numTwo and numTwo < numThree :
print("crescente")
else:
print("não está em ordem crescente") | 33 | 51 | 0.689394 | 36 | 264 | 5.055556 | 0.555556 | 0.131868 | 0.230769 | 0.247253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 264 | 8 | 52 | 33 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.422642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 |
be7ad98f6ba784393302d5cb31c483ce0e491d15 | 1,022 | py | Python | nanome/_internal/_util/_serializers/_vector3_serializer.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_util/_serializers/_vector3_serializer.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | nanome/_internal/_util/_serializers/_vector3_serializer.py | rramji/nanome-lib | 2806598af31cfb4bb6e16366f0b300d2ddcc9c13 | [
"MIT"
] | null | null | null | from nanome.util import Vector3
from nanome._internal._util._serializers import _TypeSerializer
class _Vector3Serializer(_TypeSerializer):
def __init__(self):
pass
def version(self):
return 0
def name(self):
return "Vector3"
def serialize(self, version, value, context):
... | 25.55 | 63 | 0.670254 | 116 | 1,022 | 5.646552 | 0.284483 | 0.061069 | 0.077863 | 0.100763 | 0.357252 | 0.259542 | 0.259542 | 0.259542 | 0.116031 | 0 | 0 | 0.012821 | 0.236791 | 1,022 | 40 | 64 | 25.55 | 0.826923 | 0 | 0 | 0.413793 | 0 | 0 | 0.01955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0.034483 | 0.068966 | 0.172414 | 0.689655 | 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 |
be8b554bf7560e9da83865134acff100219d2cd6 | 957 | py | Python | ggpy/cruft/autocode/GamerSelectedMoveEvent.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | 1 | 2015-01-26T19:07:45.000Z | 2015-01-26T19:07:45.000Z | ggpy/cruft/autocode/GamerSelectedMoveEvent.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | ggpy/cruft/autocode/GamerSelectedMoveEvent.py | hobson/ggpy | 4e6e6e876c3a4294cd711647051da2d9c1836b60 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
""" generated source for module GamerSelectedMoveEvent """
# package: org.ggp.base.player.gamer.event
import java.util.List
import org.ggp.base.util.observer.Event
import org.ggp.base.util.statemachine.Move
class GamerSelectedMoveEvent(Event):
""" generated source for class GamerSelectedMov... | 27.342857 | 61 | 0.663532 | 105 | 957 | 5.933333 | 0.352381 | 0.144462 | 0.173355 | 0.154093 | 0.199037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229885 | 957 | 34 | 62 | 28.147059 | 0.845319 | 0.333333 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.166667 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
be91ee53beb1c89f2ea4047fa3cc311b3957a005 | 317 | py | Python | backend/app/app/repositories/permissions.py | bigSAS/fast-api-backend-starter | 21d92632e9c9668de461dd7f40156ae098765242 | [
"MIT"
] | 1 | 2021-06-23T14:38:24.000Z | 2021-06-23T14:38:24.000Z | backend/app/app/repositories/permissions.py | bigSAS/fast-api-backend-starter | 21d92632e9c9668de461dd7f40156ae098765242 | [
"MIT"
] | null | null | null | backend/app/app/repositories/permissions.py | bigSAS/fast-api-backend-starter | 21d92632e9c9668de461dd7f40156ae098765242 | [
"MIT"
] | null | null | null | from app.database.models.permission import Permission as PermissionEntity
from app.repositories import Repository
# todo: repositories rename as not plural ex UserRepository (not UsersRepository) ect
class PermissionsRepository(Repository):
"""
Permissions repository.
"""
entity = PermissionEntity
| 28.818182 | 85 | 0.785489 | 32 | 317 | 7.78125 | 0.6875 | 0.056225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154574 | 317 | 10 | 86 | 31.7 | 0.929104 | 0.340694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
bea2d2730f3f09126c4f89c0eafe232937e54677 | 15,011 | py | Python | bcbio/hla/groups.py | a113n/bcbio-nextgen | 1d4afef27ad2e84a4ecb6145ccc5058f2abb4616 | [
"MIT"
] | 418 | 2015-01-01T18:21:17.000Z | 2018-03-02T07:26:28.000Z | bcbio/hla/groups.py | ahmedelhosseiny/bcbio-nextgen | b5618f3c100a1a5c04bd5c8acad8f96d0587e41c | [
"MIT"
] | 1,634 | 2015-01-04T11:43:43.000Z | 2018-03-05T18:06:39.000Z | bcbio/hla/groups.py | ahmedelhosseiny/bcbio-nextgen | b5618f3c100a1a5c04bd5c8acad8f96d0587e41c | [
"MIT"
] | 218 | 2015-01-26T05:58:18.000Z | 2018-03-03T05:50:05.000Z | """Place HLA calls into group for validation and presentation.
Uses p-groups with identical protein sequences in the antigen binding domains:
http://hla.alleles.org/alleles/p_groups.html
HLA allele nomenclature:
https://www.ebi.ac.uk/ipd/imgt/hla/
https://github.com/jrob119/IMGTHLA
HLA sequences are from the 1000 ... | 26.568142 | 85 | 0.510159 | 3,316 | 15,011 | 2.306393 | 0.081122 | 0.092573 | 0.046679 | 0.010591 | 0.441423 | 0.24647 | 0.155465 | 0.013075 | 0.004707 | 0 | 0 | 0.329438 | 0.116315 | 15,011 | 564 | 86 | 26.615248 | 0.247116 | 0.041236 | 0 | 0 | 0 | 0 | 0.647595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003717 | false | 0 | 0.001859 | 0 | 0.009294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
beb16193aa21b2b0a5ea1a08a01a6e3448e922d8 | 495 | py | Python | peregrinearb/utils/__init__.py | kecheon/peregrine | 3d308ff3134bc00900421b248f9f93d7ad31ddb6 | [
"MIT"
] | 954 | 2018-02-19T23:20:08.000Z | 2022-03-28T16:37:43.000Z | peregrinearb/utils/__init__.py | edouardkombo/peregrine | a3346e937d417acd91468884ee1fc14586cf317d | [
"MIT"
] | 55 | 2018-02-17T00:12:03.000Z | 2021-11-09T03:57:34.000Z | peregrinearb/utils/__init__.py | edouardkombo/peregrine | a3346e937d417acd91468884ee1fc14586cf317d | [
"MIT"
] | 307 | 2018-02-24T06:00:13.000Z | 2022-03-30T01:28:32.000Z | from .drawing import *
from .general import *
from .multi_exchange import create_multi_exchange_graph, create_weighted_multi_exchange_digraph, \
multi_graph_to_log_graph
from .single_exchange import load_exchange_graph, create_exchange_graph, FeesNotAvailable
from .misc import last_index_in_list, next_to_each_other... | 49.5 | 98 | 0.868687 | 72 | 495 | 5.486111 | 0.5 | 0.098734 | 0.096203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 495 | 9 | 99 | 55 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
bebad419202d998b90cefd170776f0a03acfc34c | 126 | py | Python | workon/contrib/tracking/signals.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/tracking/signals.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/contrib/tracking/signals.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | from django.dispatch import Signal
tracking_event_created = Signal(providing_args=['sender', 'instance', 'event', 'action'])
| 31.5 | 89 | 0.769841 | 15 | 126 | 6.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087302 | 126 | 3 | 90 | 42 | 0.817391 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 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 |
fe24869733e91273410106aa4f5fe58a1793458d | 356 | py | Python | tests/test_possibleCombos.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | null | null | null | tests/test_possibleCombos.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 6 | 2020-08-08T16:58:01.000Z | 2020-09-03T02:01:45.000Z | tests/test_possibleCombos.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 1 | 2020-07-24T20:29:41.000Z | 2020-07-24T20:29:41.000Z | import unittest
import possible_combinations
class TestPossibleCombos(unittest.TestCase):
def test_findAll(self):
result = possible_combinations.findAll(('a',), ('1',))
self.assertEqual(result, {'1a', 'a1'})
result = possible_combinations.findAll(('a', 'b'), ('1',))
self.assertEqua... | 32.363636 | 66 | 0.634831 | 38 | 356 | 5.842105 | 0.526316 | 0.27027 | 0.234234 | 0.297297 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027304 | 0.176966 | 356 | 10 | 67 | 35.6 | 0.730375 | 0 | 0 | 0 | 0 | 0 | 0.047753 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 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 |
fe29ff54100358157a09d98af5eac85fbc6e3339 | 66 | py | Python | chap3/3.4.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap3/3.4.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | null | null | null | chap3/3.4.py | wikilike7/python-crash-course | 85cd7a2ab6e43a554c282b6e0c1c44c415cca3a3 | [
"MIT"
] | 1 | 2019-03-05T09:31:27.000Z | 2019-03-05T09:31:27.000Z | motorcycles = ['Honda', 'Suzuki', 'Yamaha']
print(motorcycles[-1]) | 33 | 43 | 0.681818 | 7 | 66 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.075758 | 66 | 2 | 44 | 33 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
fe2c87873a450d3d3126419501e065b0e319aa24 | 93 | py | Python | coord_convert/__init__.py | brandonxiang/example-pyQGIS | a61d0321d223d0b82e44bb809521965858fde857 | [
"MIT"
] | 3 | 2017-02-23T08:35:30.000Z | 2018-12-11T05:50:54.000Z | coord_convert/__init__.py | brandonxiang/example-pyQGIS | a61d0321d223d0b82e44bb809521965858fde857 | [
"MIT"
] | null | null | null | coord_convert/__init__.py | brandonxiang/example-pyQGIS | a61d0321d223d0b82e44bb809521965858fde857 | [
"MIT"
] | 2 | 2019-10-22T02:16:50.000Z | 2020-09-28T11:37:48.000Z | __author__ = 'brandonxiang'
__data__ = 'May 2016'
from geojson_utils import wgs2gcj, gcj2bd
| 18.6 | 41 | 0.784946 | 11 | 93 | 5.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.139785 | 93 | 4 | 42 | 23.25 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 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 |
fe444ed69dca8ef05260b3bd7e67c8833bc0908e | 163 | py | Python | URI/1-Beginner/1079.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1079.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | URI/1-Beginner/1079.py | vicenteneto/online-judge-solutions | 4176e2387658f083b980d7b49bc98300a4c28411 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
for i in range(int(raw_input())):
a, b, c = [float(x) for x in raw_input().split()]
print '%.1f' % ((a * 2 + b * 3 + c * 5) / 10)
| 27.166667 | 53 | 0.472393 | 30 | 163 | 2.5 | 0.733333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 0.263804 | 163 | 5 | 54 | 32.6 | 0.566667 | 0.128834 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe483082cace9488658fe37f1bd1c1a1e8d0d29f | 290 | py | Python | src/dsacli/cmdhandler.py | bharkreader/cli-dslink-python | 8debd1cc2db59b67fb59244673c3ed111dff9de8 | [
"Apache-2.0"
] | null | null | null | src/dsacli/cmdhandler.py | bharkreader/cli-dslink-python | 8debd1cc2db59b67fb59244673c3ed111dff9de8 | [
"Apache-2.0"
] | null | null | null | src/dsacli/cmdhandler.py | bharkreader/cli-dslink-python | 8debd1cc2db59b67fb59244673c3ed111dff9de8 | [
"Apache-2.0"
] | null | null | null | import cmd
class CmdHandler(cmd.Cmd, object):
def __init__(self, requester):
super(CmdHandler, self).__init__("tab", None, None)
self._requester = requester
def do_greet(self, line):
print("hello " + line)
def do_exit(self, line):
return True | 22.307692 | 59 | 0.627586 | 36 | 290 | 4.75 | 0.555556 | 0.152047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255172 | 290 | 13 | 60 | 22.307692 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fe5f5d6150be5bc3c22f47a05ed2734d6356e796 | 207 | py | Python | ocfweb/docs/views/account_policies.py | TonyLianLong/ocfweb | 8e6db52e726017e44f36ba2176652a5c21cc8840 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | ocfweb/docs/views/account_policies.py | TonyLianLong/ocfweb | 8e6db52e726017e44f36ba2176652a5c21cc8840 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | ocfweb/docs/views/account_policies.py | TonyLianLong/ocfweb | 8e6db52e726017e44f36ba2176652a5c21cc8840 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | from django.shortcuts import render
def account_policies(doc, request):
return render(
request,
'docs/account_policies.html',
{
'title': doc.title,
},
)
| 17.25 | 37 | 0.560386 | 20 | 207 | 5.7 | 0.7 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.338164 | 207 | 11 | 38 | 18.818182 | 0.832117 | 0 | 0 | 0 | 0 | 0 | 0.149758 | 0.125604 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
fe709a8d5fd03a579dbad78158bd80c5d57b1ae9 | 198 | py | Python | 30 Recursion Assignment/05 countZeros.py | Saidul-M-Khan/Coding-Ninjas---Data-Structures-and-Algorithms-in-Python | af6f5eed8dfd761f4cdfe40252e39a85bae46c42 | [
"Unlicense"
] | 2 | 2021-06-26T07:26:39.000Z | 2021-07-09T16:05:56.000Z | 30 Recursion Assignment/05 countZeros.py | rishitbhojak/Coding-Ninjas---Data-Structures-and-Algorithms-in-Python | 3b5625df60f7ac554fae58dc8ea9fd42012cbfae | [
"Unlicense"
] | null | null | null | 30 Recursion Assignment/05 countZeros.py | rishitbhojak/Coding-Ninjas---Data-Structures-and-Algorithms-in-Python | 3b5625df60f7ac554fae58dc8ea9fd42012cbfae | [
"Unlicense"
] | 1 | 2021-07-05T05:58:35.000Z | 2021-07-05T05:58:35.000Z | def zeroes(n, cnt):
if n == 0:
return cnt
elif n % 10 == 0:
return zeroes(n//10, cnt+1)
else:
return zeroes(n//10, cnt)
n = int(input())
print(zeroes(n, 0))
| 13.2 | 35 | 0.489899 | 32 | 198 | 3.03125 | 0.4375 | 0.28866 | 0.268041 | 0.309278 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.343434 | 198 | 14 | 36 | 14.142857 | 0.669231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.444444 | 0.111111 | 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 |
fe76023c0b62b477c298fb0e72728d5d31f50d57 | 161 | py | Python | FictionTools/amitools/test/suite/exec_rawdofmt.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | FictionTools/amitools/test/suite/exec_rawdofmt.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | FictionTools/amitools/test/suite/exec_rawdofmt.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | import pytest
def exec_rawdofmt_test(vamos):
if vamos.flavor == "agcc":
pytest.skip("bstr problem")
vamos.run_prog_check_data("exec_rawdofmt")
| 20.125 | 46 | 0.701863 | 22 | 161 | 4.863636 | 0.772727 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 161 | 7 | 47 | 23 | 0.810606 | 0 | 0 | 0 | 0 | 0 | 0.180124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe78921a1876d8048c56a947886b8d9811a5d41b | 134 | py | Python | obi/pyobi/pyobi/__init__.py | tansawit/bandchain | f6e6b0e5f2b12d7539a3f7b3651b95056cae33a4 | [
"Apache-2.0"
] | 1 | 2021-06-29T04:20:50.000Z | 2021-06-29T04:20:50.000Z | obi/pyobi/pyobi/__init__.py | Sherwana/bandchain | 7e9c9b72a642461e88a8c5b98dc5e69d30f6c42b | [
"Apache-2.0"
] | 2 | 2020-07-07T12:40:17.000Z | 2020-07-20T01:51:55.000Z | obi/pyobi/pyobi/__init__.py | Sherwana/bandchain | 7e9c9b72a642461e88a8c5b98dc5e69d30f6c42b | [
"Apache-2.0"
] | null | null | null | from .pyobi import (
PyObi,
PyObiSpec,
PyObiInteger,
PyObiVector,
PyObiStruct,
PyObiString,
PyObiBytes,
)
| 13.4 | 20 | 0.626866 | 10 | 134 | 8.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298507 | 134 | 9 | 21 | 14.888889 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fe79873fbca27ccda075f374591d80248143734a | 191 | py | Python | __init__.py | elezar/dcos-commons | b7b3aeec1d5b6dc9073ba07000d4e48784143846 | [
"Apache-2.0"
] | 7 | 2017-11-02T05:26:40.000Z | 2020-01-27T19:33:52.000Z | __init__.py | elezar/dcos-commons | b7b3aeec1d5b6dc9073ba07000d4e48784143846 | [
"Apache-2.0"
] | 14 | 2017-09-20T22:47:48.000Z | 2020-09-11T19:54:25.000Z | __init__.py | AlexRogalskiy/dcos-commons | 85711f05bc94172aabb6837f9ff529721437d20c | [
"Apache-2.0"
] | 9 | 2017-11-14T19:43:07.000Z | 2022-01-06T12:44:49.000Z | import sys
import os.path
# Add /testing/ to PYTHONPATH:
this_file_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.normpath(os.path.join(this_file_dir, 'testing')))
| 27.285714 | 73 | 0.769634 | 32 | 191 | 4.34375 | 0.5 | 0.215827 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 6 | 74 | 31.833333 | 0.789773 | 0.146597 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fe8bb3a68bcfdacfe96f78d375732c43e9724eb8 | 171 | py | Python | core/utils.py | Catstyle/flask-template | 52da8586372834fd48f42d94b62a7bbc0898060a | [
"MIT"
] | 1 | 2016-10-21T11:17:36.000Z | 2016-10-21T11:17:36.000Z | core/utils.py | Catstyle/flask-template | 52da8586372834fd48f42d94b62a7bbc0898060a | [
"MIT"
] | null | null | null | core/utils.py | Catstyle/flask-template | 52da8586372834fd48f42d94b62a7bbc0898060a | [
"MIT"
] | null | null | null | from .const import messages
def make_response(data=None, status=0):
return {
"code": status,
"data": data,
"msg": messages.get(status)
}
| 17.1 | 39 | 0.573099 | 20 | 171 | 4.85 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.292398 | 171 | 9 | 40 | 19 | 0.793388 | 0 | 0 | 0 | 0 | 0 | 0.064327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
fea2f51c0765deef2a01518b61e7eb7b108c2049 | 316 | py | Python | tests/basics/except_match_tuple.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/except_match_tuple.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/except_match_tuple.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test exception matching against a tuple
try:
fail
except (Exception,):
print('except 1')
try:
fail
except (Exception, Exception):
print('except 2')
try:
fail
except (TypeError, NameError):
print('except 3')
try:
fail
except (TypeError, ValueError, Exception):
print('except 4')
| 14.363636 | 42 | 0.655063 | 38 | 316 | 5.447368 | 0.447368 | 0.135266 | 0.251208 | 0.21256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016327 | 0.224684 | 316 | 21 | 43 | 15.047619 | 0.828571 | 0.123418 | 0 | 0.5 | 0 | 0 | 0.116364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 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 |
2282901bfa4e5ff5d3df3b14d2b7c963630622b2 | 296 | py | Python | norm/cached_property.py | justinvanwinkle/Norm | 6213c491bd06567a6375aebcbf07e4e2628a6fb2 | [
"BSD-3-Clause"
] | 11 | 2019-10-04T18:28:27.000Z | 2021-08-12T01:27:11.000Z | norm/cached_property.py | justinvanwinkle/Norm | 6213c491bd06567a6375aebcbf07e4e2628a6fb2 | [
"BSD-3-Clause"
] | null | null | null | norm/cached_property.py | justinvanwinkle/Norm | 6213c491bd06567a6375aebcbf07e4e2628a6fb2 | [
"BSD-3-Clause"
] | 3 | 2017-05-21T17:13:21.000Z | 2020-07-06T08:54:01.000Z | class cached_property:
def __init__(self, func):
self.__doc__ = getattr(func, "__doc__")
self.func = func
def __get__(self, obj, cls):
if obj is None:
return self
value = obj.__dict__[self.func.__name__] = self.func(obj)
return value
| 24.666667 | 65 | 0.591216 | 37 | 296 | 4.054054 | 0.513514 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307432 | 296 | 11 | 66 | 26.909091 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0.023649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
228cc95969b3ea65059c073b497c9598682abb61 | 122 | py | Python | src/imurl/__init__.py | thesketh/imurl | ae0633cff1a61c8950f6a2fbd2fa1cea3509f053 | [
"MIT"
] | null | null | null | src/imurl/__init__.py | thesketh/imurl | ae0633cff1a61c8950f6a2fbd2fa1cea3509f053 | [
"MIT"
] | null | null | null | src/imurl/__init__.py | thesketh/imurl | ae0633cff1a61c8950f6a2fbd2fa1cea3509f053 | [
"MIT"
] | null | null | null | """
.. include:: ../../README.md
"""
from imurl.url import URL
__docformat__ = "restructuredText"
__version__ = "0.2.1"
| 13.555556 | 34 | 0.647541 | 14 | 122 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.139344 | 122 | 8 | 35 | 15.25 | 0.647619 | 0.229508 | 0 | 0 | 0 | 0 | 0.247059 | 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 |
2292ce2a287ed95a7edd6e3a820047127b6e3f23 | 869 | py | Python | mongoshapes/fields/point/field.py | phuntimes/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | 1 | 2020-11-26T05:58:23.000Z | 2020-11-26T05:58:23.000Z | mongoshapes/fields/point/field.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | mongoshapes/fields/point/field.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .. import ShapelyField
from .pep484 import *
class PointField(ShapelyField):
"""
Substitution for :class:`mongoengine.PointField`
utilizing :class:`Point` geometry type.
Instead of storing GeoJSON-like mapping as a value, a
`shapely`__ geometry ... | 26.333333 | 57 | 0.678941 | 104 | 869 | 5.509615 | 0.567308 | 0.04712 | 0.099476 | 0.08726 | 0.094241 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015896 | 0.203682 | 869 | 32 | 58 | 27.15625 | 0.812139 | 0.417722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.25 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2295932be14f27384cea43d8054b4d493cd075af | 197 | py | Python | examples/modal_component/app.py | adamlwgriffiths/vue.py | f4256454256ddfe54a8be6dea493d3fc915ef1a2 | [
"MIT"
] | 274 | 2018-07-07T00:57:17.000Z | 2022-03-22T23:49:53.000Z | examples/modal_component/app.py | adamlwgriffiths/vue.py | f4256454256ddfe54a8be6dea493d3fc915ef1a2 | [
"MIT"
] | 25 | 2018-11-24T17:19:44.000Z | 2022-03-23T22:30:18.000Z | examples/modal_component/app.py | adamlwgriffiths/vue.py | f4256454256ddfe54a8be6dea493d3fc915ef1a2 | [
"MIT"
] | 18 | 2019-07-04T07:18:18.000Z | 2022-03-22T23:49:55.000Z | from vue import VueComponent
class Modal(VueComponent):
template = "#modal-template"
Modal.register()
class App(VueComponent):
template = "#main"
show_modal = False
App("#app")
| 11.588235 | 32 | 0.680203 | 22 | 197 | 6.045455 | 0.545455 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19797 | 197 | 16 | 33 | 12.3125 | 0.841772 | 0 | 0 | 0 | 0 | 0 | 0.121827 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
22a659a330aa51abf44dc2d92f08f0f29ee6700f | 513 | py | Python | src/onegov/fsi/views/search.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/fsi/views/search.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | src/onegov/fsi/views/search.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | from onegov.core.security import Personal
from onegov.fsi import FsiApp
from onegov.org.models import Search
from onegov.org.views.search import search as search_view
from onegov.org.views.search import suggestions as suggestions_view
@FsiApp.html(model=Search, template='search.pt', permission=Personal)
def search(se... | 32.0625 | 69 | 0.80117 | 72 | 513 | 5.652778 | 0.375 | 0.12285 | 0.095823 | 0.088452 | 0.14742 | 0.14742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 513 | 15 | 70 | 34.2 | 0.88671 | 0 | 0 | 0 | 0 | 0 | 0.031189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.454545 | 0.181818 | 0.818182 | 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 |
22b12857aff54b39fa9f2a81caa1865ef1c587c0 | 509 | py | Python | tests/unit/transport/http/gitlab/conftest.py | TinkoffCreditSystems/overhave | b0ab705ef5c5c5a65fa0b14b173b64fd7310e187 | [
"Apache-2.0"
] | 33 | 2021-02-01T15:49:37.000Z | 2021-12-20T00:44:43.000Z | tests/unit/transport/http/gitlab/conftest.py | TinkoffCreditSystems/overhave | b0ab705ef5c5c5a65fa0b14b173b64fd7310e187 | [
"Apache-2.0"
] | 46 | 2021-02-03T12:56:52.000Z | 2021-12-19T18:50:27.000Z | tests/unit/transport/http/gitlab/conftest.py | TinkoffCreditSystems/overhave | b0ab705ef5c5c5a65fa0b14b173b64fd7310e187 | [
"Apache-2.0"
] | 1 | 2021-12-07T09:02:44.000Z | 2021-12-07T09:02:44.000Z | from typing import Callable
import gitlab
import pytest
from faker import Faker
from overhave.transport.http.gitlab_client import TokenType, get_gitlab_python_client
@pytest.fixture()
def test_gitlab_python_client_factory(faker: Faker, token_type: TokenType, token: str) -> Callable[[], gitlab.Gitlab]:
def test_... | 31.8125 | 118 | 0.789784 | 71 | 509 | 5.380282 | 0.366197 | 0.157068 | 0.235602 | 0.172775 | 0.13089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115914 | 509 | 15 | 119 | 33.933333 | 0.848889 | 0 | 0 | 0 | 0 | 0 | 0.049116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.5 | 0.1 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
22f358e9a38ff117fb1cd523a9298cb5c7234af1 | 626 | py | Python | autonotion/models/blocks.py | minrock/autonotion | 91fded5f53690e50bfc3c3474fddf6ed88c7a518 | [
"MIT"
] | null | null | null | autonotion/models/blocks.py | minrock/autonotion | 91fded5f53690e50bfc3c3474fddf6ed88c7a518 | [
"MIT"
] | 8 | 2021-12-23T04:58:43.000Z | 2021-12-27T00:27:28.000Z | autonotion/models/blocks.py | minrock/autonotion | 91fded5f53690e50bfc3c3474fddf6ed88c7a518 | [
"MIT"
] | 1 | 2021-12-07T05:33:52.000Z | 2021-12-07T05:33:52.000Z | from typing import Optional
from pydantic import BaseModel
import pydantic
class Annotation(BaseModel):
bold: Optional[bool] = False
italic: Optional[bool] = False
underline: Optional[bool] = False
strikethrough: Optional[bool] = False
code: Optional[bool] = False
color: Optional[str] = "defau... | 24.076923 | 44 | 0.707668 | 68 | 626 | 6.5 | 0.426471 | 0.135747 | 0.192308 | 0.122172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194888 | 626 | 25 | 45 | 25.04 | 0.876984 | 0 | 0 | 0 | 0 | 0 | 0.017572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.157895 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a3b821a704e1900dda4d45a4232672d8f7817266 | 234 | py | Python | overlays/holo-nixpkgs/hpos-init/setup.py | JettTech/holo-nixpkgs | b7b2ecfefe30443db64576c337198f538a207f7d | [
"MIT"
] | 33 | 2019-09-10T12:13:23.000Z | 2021-12-26T19:01:43.000Z | overlays/holo-nixpkgs/hpos-init/setup.py | JettTech/holo-nixpkgs | b7b2ecfefe30443db64576c337198f538a207f7d | [
"MIT"
] | 517 | 2019-08-27T23:25:12.000Z | 2022-03-28T12:44:08.000Z | overlays/holo-nixpkgs/hpos-init/setup.py | JettTech/holo-nixpkgs | b7b2ecfefe30443db64576c337198f538a207f7d | [
"MIT"
] | 14 | 2019-12-28T17:47:03.000Z | 2021-11-19T19:55:58.000Z | from setuptools import setup
setup(
name='hpos-init',
packages=['hpos_init'],
entry_points={
'console_scripts': [
'hpos-init=hpos_init.main:main'
],
},
install_requires=['hpos-seed']
)
| 18 | 43 | 0.576923 | 25 | 234 | 5.2 | 0.64 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273504 | 234 | 12 | 44 | 19.5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.303419 | 0.123932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a3beb8d90e2861ea781db307a8a49502784c26dc | 488 | py | Python | src/kgmk/dsa/algebra/modular/inverse_table/normal/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/algebra/modular/inverse_table/normal/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/algebra/modular/inverse_table/normal/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | from kgmk.dsa.algebra.modular.factorial import (
ModFactorial,
)
# TODO cut below
import typing
class ModInverseTable():
def __call__(self, i: int) -> int: return self[i]
def __getitem__(self, i: int) -> int: return self.__a[i]
def __repr__(self) -> str: return str(self.__a)
def __init__(self, n: int, ... | 21.217391 | 61 | 0.616803 | 79 | 488 | 3.531646 | 0.443038 | 0.053763 | 0.057348 | 0.078853 | 0.150538 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.22541 | 488 | 22 | 62 | 22.181818 | 0.730159 | 0.028689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.214286 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
a3d38dbaac38ab9894546cd194bb7d3b1a734bdb | 3,936 | py | Python | item.py | Zellazoom/MMO-Python | cc089d3e4a806212da30c4f9445b764a9c7a1385 | [
"MIT"
] | null | null | null | item.py | Zellazoom/MMO-Python | cc089d3e4a806212da30c4f9445b764a9c7a1385 | [
"MIT"
] | 1 | 2020-10-25T02:31:26.000Z | 2020-10-26T01:05:14.000Z | item.py | Zellazoom/MMO-Python | cc089d3e4a806212da30c4f9445b764a9c7a1385 | [
"MIT"
] | null | null | null | import pygame
class Item(pygame.sprite.Sprite):
def __init__(self, name, item_type, damage, defense, health, speed, length, hit_chance, is_on_ground, image, player_image, position, magic):
pygame.sprite.Sprite.__init__(self)
self.name = name
self.item_type = item_type # Can be weap... | 29.593985 | 145 | 0.577998 | 505 | 3,936 | 4.316832 | 0.09901 | 0.094954 | 0.06422 | 0.029817 | 0.288073 | 0.194954 | 0.157339 | 0.157339 | 0.157339 | 0.157339 | 0 | 0.018318 | 0.320376 | 3,936 | 132 | 146 | 29.818182 | 0.796636 | 0.113313 | 0 | 0.255556 | 0 | 0 | 0.019144 | 0.011965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311111 | false | 0 | 0.011111 | 0.111111 | 0.511111 | 0.011111 | 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.