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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
767b028eb1faebc818fb5278f2250f1caa9c9134 | 779 | py | Python | xbaydnsweb/urls.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | 1 | 2019-01-16T05:20:51.000Z | 2019-01-16T05:20:51.000Z | xbaydnsweb/urls.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | null | null | null | xbaydnsweb/urls.py | bopopescu/xbaydns-2 | 606e8d9848d42fe5c0c5847a5a0e62044f58e486 | [
"BSD-2-Clause"
] | 3 | 2015-12-29T11:22:28.000Z | 2020-07-26T04:11:28.000Z | from django.conf.urls.defaults import *
urlpatterns = patterns('',
# Example:
# (r'^xbaydnsweb/', include('xbaydnsweb.foo.urls')),
# Uncomment this for admin:
#(r'^admin/', include('django.contrib.admin.urls')),
(r'admin/loadgen', 'xbaydnsweb.web.views.loadgenview'),
(r'admin/preview', 'xba... | 43.277778 | 95 | 0.6457 | 93 | 779 | 5.365591 | 0.322581 | 0.182365 | 0.252505 | 0.192385 | 0.482966 | 0.366733 | 0.354709 | 0.354709 | 0.354709 | 0 | 0 | 0 | 0.121951 | 779 | 17 | 96 | 45.823529 | 0.729532 | 0.32991 | 0 | 0 | 0 | 0 | 0.613592 | 0.533981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
768071cf9be66d04722a18052866d662605308da | 90 | py | Python | vmail/apps.py | Abhinaygunjal/V-mail | 43179dfd98302c5cc33019527f306ed7cce06e4d | [
"MIT"
] | null | null | null | vmail/apps.py | Abhinaygunjal/V-mail | 43179dfd98302c5cc33019527f306ed7cce06e4d | [
"MIT"
] | null | null | null | vmail/apps.py | Abhinaygunjal/V-mail | 43179dfd98302c5cc33019527f306ed7cce06e4d | [
"MIT"
] | 2 | 2020-02-02T15:45:52.000Z | 2020-03-25T09:50:50.000Z | from django.apps import AppConfig
class VmailConfig(AppConfig):
name = 'vmail'
| 15 | 34 | 0.7 | 10 | 90 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 90 | 5 | 35 | 18 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
76837f0cb6632eecff4458b577e54734acaa3106 | 59 | py | Python | code-everyday-challenge/n230_n_stairs.py | ved93/Deliberate-Practice-code-everyday-challenge | f32ced6452fa6b503b332df195e2b14791dd3094 | [
"MIT"
] | null | null | null | code-everyday-challenge/n230_n_stairs.py | ved93/Deliberate-Practice-code-everyday-challenge | f32ced6452fa6b503b332df195e2b14791dd3094 | [
"MIT"
] | null | null | null | code-everyday-challenge/n230_n_stairs.py | ved93/Deliberate-Practice-code-everyday-challenge | f32ced6452fa6b503b332df195e2b14791dd3094 | [
"MIT"
] | null | null | null | # https://www.geeksforgeeks.org/count-ways-reach-nth-stair/ | 59 | 59 | 0.779661 | 9 | 59 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 59 | 1 | 59 | 59 | 0.793103 | 0.966102 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76b811abcd1bef37d2249f3a0d6cb412d78dd56c | 356 | py | Python | Python/Mundo 1/ex018.py | henrique-tavares/Coisas | f740518b1bedec5b0ea8c12ae07a2cac21eb51ae | [
"MIT"
] | 1 | 2020-02-07T20:39:26.000Z | 2020-02-07T20:39:26.000Z | Python/Mundo 1/ex018.py | neptune076/Coisas | 85c064cc0e134465aaf6ef41acf747d47f108fc9 | [
"MIT"
] | null | null | null | Python/Mundo 1/ex018.py | neptune076/Coisas | 85c064cc0e134465aaf6ef41acf747d47f108fc9 | [
"MIT"
] | null | null | null | from math import sin, cos, tan, radians
angulo = float(input("Digite o ângulo que você deseja: "))
print("O ângulo de {}° tem o SENO de {:.2f}".format(angulo, sin(radians(angulo))))
print("O ângulo de {}° tem o COSSENO de {:.2f}".format(angulo, cos(radians(angulo))))
print("O ângulo de {}° tem a TANGENTE de {:.2f}".f... | 50.857143 | 86 | 0.676966 | 61 | 356 | 4 | 0.42623 | 0.213115 | 0.147541 | 0.172131 | 0.336066 | 0.336066 | 0.336066 | 0.254098 | 0 | 0 | 0 | 0.009709 | 0.132022 | 356 | 7 | 86 | 50.857143 | 0.770227 | 0 | 0 | 0 | 0 | 0 | 0.414566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 1 | 0 | 4 |
76bd28036ce94e9a35dd39c07242dbe8caef3101 | 35,264 | py | Python | musicbrainz/genrelist.py | yoshiask/PyZuneCatalogServer | b176155f89e3a990456248175b458ba309b808e0 | [
"MIT"
] | 7 | 2021-02-21T10:45:25.000Z | 2021-03-28T10:29:36.000Z | musicbrainz/genrelist.py | yoshiask/PyZuneCatalogServer | b176155f89e3a990456248175b458ba309b808e0 | [
"MIT"
] | 1 | 2022-02-16T08:18:36.000Z | 2022-02-20T04:17:02.000Z | musicbrainz/genrelist.py | yoshiask/PyZuneCatalogServer | b176155f89e3a990456248175b458ba309b808e0 | [
"MIT"
] | null | null | null | import urllib.parse
def get_zune_genre_id(genre_name: str) -> str:
"""
Returns the [original] Zune ID for the supplied genre.
"""
transformed: str = genre_name.replace("/", "_").replace("&", "!")
return "xm-" + urllib.parse.quote(transformed, safe="!")
def get_zune_genre_name(genre_id: str) -> s... | 56.512821 | 74 | 0.661836 | 3,769 | 35,264 | 6.189175 | 0.835235 | 0.002829 | 0.000857 | 0.001286 | 0.002401 | 0.002401 | 0 | 0 | 0 | 0 | 0 | 0.382636 | 0.174626 | 35,264 | 623 | 75 | 56.603531 | 0.418814 | 0.003346 | 0 | 0 | 0 | 0 | 0.729517 | 0.564887 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003367 | false | 0 | 0.001684 | 0 | 0.008418 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f1f6dd6020ecd021ea0ef7e60ffc5c499974c8f | 1,120 | py | Python | pypco/models/giving.py | andrew-rfc/pypco | d6d3cf66d1f2c794660badd7d8a4142d3440cd26 | [
"MIT"
] | null | null | null | pypco/models/giving.py | andrew-rfc/pypco | d6d3cf66d1f2c794660badd7d8a4142d3440cd26 | [
"MIT"
] | null | null | null | pypco/models/giving.py | andrew-rfc/pypco | d6d3cf66d1f2c794660badd7d8a4142d3440cd26 | [
"MIT"
] | null | null | null | """Models for PCO Giving.
To add additional models, simply add additional classes
subclassing the GivingModel class.
"""
#pylint: disable=C0321,R0903,C0111
from .base_model import BaseModel
# The base Giving model
class GivingModel(BaseModel): pass
# Giving models
class Batch(GivingModel): ENDPOINT_END='batches'
c... | 38.62069 | 95 | 0.834821 | 127 | 1,120 | 7.188976 | 0.417323 | 0.291347 | 0.337349 | 0.063527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01155 | 0.072321 | 1,120 | 28 | 96 | 40 | 0.86718 | 0.164286 | 0 | 0 | 0 | 0 | 0.188781 | 0.033441 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.0625 | 0 | 1.875 | 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 | 1 | 0 | 0 | 4 |
4f242179c0183079bae5df5d5ea615df66b82ff4 | 72 | py | Python | tests/__init__.py | felixonmars/rfc3339-validator | e6f70e2fc10f5383d2485340271be4f940113927 | [
"MIT"
] | 6 | 2019-10-29T13:10:54.000Z | 2022-01-19T00:22:57.000Z | tests/__init__.py | rmcgibbo/rfc3339-validator | 193ede1932729570de6df9514fc134b38b037512 | [
"MIT"
] | 3 | 2019-11-14T22:40:56.000Z | 2022-01-25T16:01:17.000Z | tests/__init__.py | rmcgibbo/rfc3339-validator | 193ede1932729570de6df9514fc134b38b037512 | [
"MIT"
] | 4 | 2019-11-14T11:48:23.000Z | 2021-09-03T08:58:13.000Z | # -*- coding: utf-8 -*-
"""Unit test package for rfc3339_validator."""
| 18 | 46 | 0.625 | 9 | 72 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0.152778 | 72 | 3 | 47 | 24 | 0.639344 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f459ca99d2ddc57e42687fe095e08da293937eb | 104 | py | Python | test/__init__.py | ZJCV/X3D | 1635fe4ade5ac5e0bd8f272262cec73c7a12f0fb | [
"Apache-2.0"
] | 10 | 2021-02-08T06:47:09.000Z | 2022-03-31T03:02:55.000Z | test/__init__.py | ZJCV/SlowFast | eb049e2d23d60c02b25f20c6ec438e3fd884db46 | [
"Apache-2.0"
] | 3 | 2021-05-17T10:19:23.000Z | 2021-07-22T05:57:17.000Z | test/__init__.py | ZJCV/SlowFast | eb049e2d23d60c02b25f20c6ec438e3fd884db46 | [
"Apache-2.0"
] | 2 | 2021-06-15T02:39:50.000Z | 2021-09-30T05:03:29.000Z | # -*- coding: utf-8 -*-
"""
@date: 2020/9/10 上午11:21
@file: __init__.py
@author: zj
@description:
"""
| 11.555556 | 24 | 0.576923 | 15 | 104 | 3.733333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.163462 | 104 | 8 | 25 | 13 | 0.505747 | 0.894231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f4715859fe9dc007b00ec3be5213aa5af27d3d6 | 230 | py | Python | apps/crawler/admin.py | AniPython/ani | 2536ac9ddae2b8396b634f982fb1083339b4a389 | [
"MIT"
] | null | null | null | apps/crawler/admin.py | AniPython/ani | 2536ac9ddae2b8396b634f982fb1083339b4a389 | [
"MIT"
] | null | null | null | apps/crawler/admin.py | AniPython/ani | 2536ac9ddae2b8396b634f982fb1083339b4a389 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import LearningResources
@admin.register(LearningResources)
class ArticleAdmin(admin.ModelAdmin):
list_display = ['title', 'order', 'url', 'desc']
list_editable = ['order']
| 23 | 52 | 0.73913 | 25 | 230 | 6.72 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134783 | 230 | 9 | 53 | 25.555556 | 0.844221 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 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 | 4 |
4f540c35b8fef6ecde9829b6620d5c25f3bc335a | 179 | py | Python | cargo/db/db.py | shipperizer/cargo | f56529b37a70ac5cdbc7bc7398b340796c49d404 | [
"MIT"
] | null | null | null | cargo/db/db.py | shipperizer/cargo | f56529b37a70ac5cdbc7bc7398b340796c49d404 | [
"MIT"
] | null | null | null | cargo/db/db.py | shipperizer/cargo | f56529b37a70ac5cdbc7bc7398b340796c49d404 | [
"MIT"
] | null | null | null | from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.migrate import Migrate
db = SQLAlchemy()
def init_database(app):
db.init_app(app)
migrate = Migrate(app, db)
| 17.9 | 43 | 0.743017 | 26 | 179 | 5.038462 | 0.423077 | 0.137405 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162011 | 179 | 9 | 44 | 19.888889 | 0.873333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4f62f0f97a4abc270aee7785c3f03ce62bd2ba2f | 1,041 | py | Python | 7/cvicenie/exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | null | null | null | 7/cvicenie/exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | 1 | 2020-03-25T13:04:56.000Z | 2020-03-25T15:24:06.000Z | 7/cvicenie/exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | null | null | null | from functools import reduce
from operator import add
# Uloha 1:
def square_generator(numbers):
pass
# Uloha 2:
def square_map(numbers):
pass
# Uloha 3:
def square_comprehension(numbers):
pass
# Uloha 4:
def cycle(list):
pass
# Uloha 5:
def factorial():
pass
# Uloha 6:
def digits(n, base... | 10.106796 | 55 | 0.639769 | 152 | 1,041 | 4.296053 | 0.460526 | 0.261868 | 0.073507 | 0.042879 | 0.070444 | 0.070444 | 0 | 0 | 0 | 0 | 0 | 0.044814 | 0.24976 | 1,041 | 102 | 56 | 10.205882 | 0.791293 | 0.182517 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47619 | false | 0.47619 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4f916aec2ed3c358041e84d6130d938f09eb63d2 | 141 | py | Python | reddit2telegram/channels/r_proseporn/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 187 | 2016-09-20T09:15:54.000Z | 2022-03-29T12:22:33.000Z | reddit2telegram/channels/r_proseporn/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 84 | 2016-09-22T14:25:07.000Z | 2022-03-19T01:26:17.000Z | reddit2telegram/channels/r_proseporn/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 172 | 2016-09-21T15:39:39.000Z | 2022-03-16T15:15:58.000Z | #encoding:utf-8
subreddit = 'ProsePorn'
t_channel = '@r_proseporn'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 15.666667 | 38 | 0.744681 | 19 | 141 | 5.315789 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.134752 | 141 | 8 | 39 | 17.625 | 0.803279 | 0.099291 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
4fa281a1bda3bba28724fb39b1344dc08077398f | 79,943 | py | Python | backend/pyrogram/raw/all.py | appheap/social-media-analyzer | 0f9da098bfb0b4f9eb38e0244aa3a168cf97d51c | [
"Apache-2.0"
] | 5 | 2021-09-11T22:01:15.000Z | 2022-03-16T21:33:42.000Z | backend/pyrogram/raw/all.py | iamatlasss/social-media-analyzer | 429d1d2bbd8bfce80c50c5f8edda58f87ace668d | [
"Apache-2.0"
] | null | null | null | backend/pyrogram/raw/all.py | iamatlasss/social-media-analyzer | 429d1d2bbd8bfce80c50c5f8edda58f87ace668d | [
"Apache-2.0"
] | 3 | 2022-01-18T11:06:22.000Z | 2022-02-26T13:39:28.000Z | # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free... | 60.33434 | 103 | 0.777879 | 7,138 | 79,943 | 8.711964 | 0.375035 | 0.229248 | 0.234394 | 0.059885 | 0.001608 | 0.001608 | 0.001093 | 0 | 0 | 0 | 0 | 0.107527 | 0.100747 | 79,943 | 1,324 | 104 | 60.379909 | 0.757501 | 0.011708 | 0 | 0 | 0 | 0 | 0.671778 | 0.671778 | 0 | 0 | 0.163338 | 0 | 0 | 1 | 0 | false | 0.021555 | 0.010778 | 0 | 0.010778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c0f77e03cdb93e3a5ec6fa08649a6327fe83778 | 1,144 | py | Python | stubs/micropython-v1_13-95-pyboard/logging.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_13-95-pyboard/logging.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_13-95-pyboard/logging.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'logging' on pyboard 1.13.0-95
"""
# MCU: (sysname='pyboard', nodename='pyboard', release='1.13.0', version='v1.13-95-g0fff2e03f on 2020-10-03', machine='PYBv1.1 with STM32F405RG')
# Stubber: 1.3.4 - updated
from typing import Any
CRITICAL = 50
DEBUG = 10
ERROR = 40
INFO = 20
class Logger:
""""""
... | 14.666667 | 145 | 0.560315 | 154 | 1,144 | 4.116883 | 0.38961 | 0.165615 | 0.260252 | 0.264984 | 0.328076 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063041 | 0.292832 | 1,144 | 77 | 146 | 14.857143 | 0.720643 | 0.181818 | 0 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.340909 | false | 0.340909 | 0.022727 | 0 | 0.409091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8c19382c2e35ee7b646bd9ee3e0c8280b2772bd3 | 1,573 | py | Python | maxsubarraysum.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | maxsubarraysum.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null | maxsubarraysum.py | mutakubwa/python_practice | 5fef46659ee162c3accfee44e2675eeb0e9c6e95 | [
"Apache-2.0"
] | null | null | null |
def get_subarray_sum_1(s_array): #O(n**2)
'''
Return max subarray and max subarray sum
'''
#initialise variables
max_sum = 0
max_sub_array = []
#get all items in array and go through them
for item in range(len(s_array)):
#get all possible sub arrays while maintaining their max... | 31.46 | 115 | 0.624921 | 251 | 1,573 | 3.749004 | 0.203187 | 0.089267 | 0.093518 | 0.05101 | 0.843783 | 0.831031 | 0.740701 | 0.650372 | 0.603613 | 0.603613 | 0 | 0.030357 | 0.287985 | 1,573 | 50 | 116 | 31.46 | 0.809821 | 0.39733 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
8c309c39c554950ac644da729739e693ee88ad73 | 209 | py | Python | ffta/pixel_utils/peakdetect.py | lindat18/ffta | f510a2068b7626e2984e54afc1a577450e560e97 | [
"MIT"
] | null | null | null | ffta/pixel_utils/peakdetect.py | lindat18/ffta | f510a2068b7626e2984e54afc1a577450e560e97 | [
"MIT"
] | null | null | null | ffta/pixel_utils/peakdetect.py | lindat18/ffta | f510a2068b7626e2984e54afc1a577450e560e97 | [
"MIT"
] | null | null | null | import numpy as np
from scipy.signal import argrelextrema
def get_peaks(x):
maxpeaks = argrelextrema(x, np.greater, order=2)
minpeaks = argrelextrema(x, np.less, order=2)
return maxpeaks[0], minpeaks[0] | 23.222222 | 49 | 0.751196 | 32 | 209 | 4.875 | 0.625 | 0.179487 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.138756 | 209 | 9 | 50 | 23.222222 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c5b9e224ddf3d596e3306885d3b9ac8abb869b8 | 78 | py | Python | src/masonite/facades/Queue.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | src/masonite/facades/Queue.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | src/masonite/facades/Queue.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | from .Facade import Facade
class Queue(metaclass=Facade):
key = "queue"
| 13 | 30 | 0.705128 | 10 | 78 | 5.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 5 | 31 | 15.6 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4fcb1b782c0b007e743c018ef5e00b03a66db7a1 | 129 | py | Python | dptpy/__init__.py | decave27/dptpy | d462c471c98208a0dc0aea8b0cf302fb06e09347 | [
"MIT"
] | 13 | 2021-01-07T04:41:33.000Z | 2021-02-21T10:50:37.000Z | dptpy/__init__.py | decave27/dptpy | d462c471c98208a0dc0aea8b0cf302fb06e09347 | [
"MIT"
] | null | null | null | dptpy/__init__.py | decave27/dptpy | d462c471c98208a0dc0aea8b0cf302fb06e09347 | [
"MIT"
] | null | null | null | from .template import Node_Ignore, Node_Docker, Python_Ignore, Python_Docker
from .__main__ import console
__version__ = "0.1.1"
| 32.25 | 76 | 0.813953 | 19 | 129 | 4.894737 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.108527 | 129 | 3 | 77 | 43 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b059bb7fef9f689a0bb4a72b17b7d00f5b1beec | 268 | py | Python | nablapps/interactive/models/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/interactive/models/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/interactive/models/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | from .advent import AdventCalendar, AdventDoor
from .quiz import Quiz, QuizQuestion, QuizReply
from .user_test import Test, TestResult, TestQuestion, TestQuestionAlternative
from .code_golf import CodeTask, Result
from .color_picker import ColorChoice, validate_color
| 44.666667 | 78 | 0.847015 | 32 | 268 | 6.96875 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 268 | 5 | 79 | 53.6 | 0.929167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b0f4aff215460cd5cd48c33c1a58312aa309c7e | 160 | py | Python | cowsay/lib/cows/owl.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | cowsay/lib/cows/owl.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | cowsay/lib/cows/owl.py | Ovlic/cowsay_py | 1ee8d11d6d895d7695d57e26003d71ce18379d3b | [
"MIT"
] | null | null | null | def Owl(thoughts, eyes, eye, tongue):
return f"""
{thoughts}
{thoughts}
___
(o o)
( V )
/--m-m-
""" | 17.777778 | 37 | 0.3625 | 15 | 160 | 3.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.48125 | 160 | 9 | 38 | 17.777778 | 0.662651 | 0 | 0 | 0.222222 | 0 | 0 | 0.658385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0.111111 | 0.222222 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8b31be76a266d67c6aca0fe606b5f78f6f1fbde4 | 825 | py | Python | mava/utils/debugging/scenarios/__init__.py | sash-a/Mava | 976d0863e058fd92f066d8a8fabe2f5e2f3f60ce | [
"Apache-2.0"
] | 337 | 2021-07-06T09:09:56.000Z | 2022-03-30T21:42:37.000Z | mava/utils/debugging/scenarios/__init__.py | sash-a/Mava | 976d0863e058fd92f066d8a8fabe2f5e2f3f60ce | [
"Apache-2.0"
] | 125 | 2021-07-12T11:38:37.000Z | 2022-03-30T19:22:53.000Z | mava/utils/debugging/scenarios/__init__.py | sash-a/Mava | 976d0863e058fd92f066d8a8fabe2f5e2f3f60ce | [
"Apache-2.0"
] | 43 | 2021-07-06T19:44:37.000Z | 2022-03-07T09:29:07.000Z | # python3
# Copyright 2021 InstaDeep Ltd. 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 applic... | 34.375 | 76 | 0.762424 | 124 | 825 | 5.064516 | 0.725806 | 0.095541 | 0.041401 | 0.050955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012931 | 0.156364 | 825 | 23 | 77 | 35.869565 | 0.889368 | 0.781818 | 0 | 0 | 0 | 0 | 0.22561 | 0.22561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.75 | 0.25 | 1.25 | 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 | 1 | 0 | 0 | 4 |
8b40a56dfbe2cb9bcddd077bc9b29d99e096eebe | 35 | py | Python | src/handler/__init__.py | HalbardHobby/git-LFS-for-Lambda | d19ba6fc4605d5dc2dba52acb4236c68787f8bde | [
"MIT"
] | null | null | null | src/handler/__init__.py | HalbardHobby/git-LFS-for-Lambda | d19ba6fc4605d5dc2dba52acb4236c68787f8bde | [
"MIT"
] | null | null | null | src/handler/__init__.py | HalbardHobby/git-LFS-for-Lambda | d19ba6fc4605d5dc2dba52acb4236c68787f8bde | [
"MIT"
] | null | null | null | """Package for Lambda handling."""
| 17.5 | 34 | 0.685714 | 4 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.774194 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c68c05c01069325a1c83ea95cda7035254e9477 | 200 | py | Python | Algorithms/Merge Strings Alternately/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | Algorithms/Merge Strings Alternately/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | Algorithms/Merge Strings Alternately/solution.py | rawat9/leetcode | 936ced4a447c3eab7485d00b9eea480100da1ddb | [
"MIT"
] | null | null | null | from itertools import zip_longest
class Solution:
def mergeAlternately(self, word1: str, word2: str) -> str:
return "".join(w1 + w2 for w1, w2 in zip_longest(word1, word2, fillvalue=""))
| 33.333333 | 85 | 0.69 | 28 | 200 | 4.857143 | 0.714286 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0.19 | 200 | 5 | 86 | 40 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8c8b6155bb31d5c802474b5a258bdcbd50045b48 | 313 | py | Python | parking_permits_app/pricing/value_added_tax.py | mingfeng/parking-permits | d0f5534bbf5a00dda07066d7b3a5dd68befedd59 | [
"MIT"
] | null | null | null | parking_permits_app/pricing/value_added_tax.py | mingfeng/parking-permits | d0f5534bbf5a00dda07066d7b3a5dd68befedd59 | [
"MIT"
] | null | null | null | parking_permits_app/pricing/value_added_tax.py | mingfeng/parking-permits | d0f5534bbf5a00dda07066d7b3a5dd68befedd59 | [
"MIT"
] | null | null | null | from decimal import Decimal
from parking_permits_app.constants import VAT_PERCENTAGE
def calculate_price_without_vat(price_with_vat):
vat_multiplier = Decimal("1") + (Decimal(VAT_PERCENTAGE) / Decimal("100"))
price_without_vat = price_with_vat / vat_multiplier
return round(price_without_vat, 2)
| 26.083333 | 78 | 0.789137 | 43 | 313 | 5.348837 | 0.465116 | 0.156522 | 0.195652 | 0.173913 | 0.347826 | 0.347826 | 0.347826 | 0.347826 | 0 | 0 | 0 | 0.01845 | 0.134185 | 313 | 11 | 79 | 28.454545 | 0.830258 | 0 | 0 | 0 | 0 | 0 | 0.01278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 4 |
8c955dc7641c6d020a64e87356af07f309ee9db5 | 221 | py | Python | src/random_survey/urls.py | shreyagupta995/random-survey | e5aa8dd9233a81b54716e534b7e2189be0edfd91 | [
"MIT"
] | null | null | null | src/random_survey/urls.py | shreyagupta995/random-survey | e5aa8dd9233a81b54716e534b7e2189be0edfd91 | [
"MIT"
] | null | null | null | src/random_survey/urls.py | shreyagupta995/random-survey | e5aa8dd9233a81b54716e534b7e2189be0edfd91 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from .admin import custom_admin
urlpatterns = [
path('', views.survey, name='survey'),
path('submit_response/', views.submit_response, name='submit_response'),
]
| 22.1 | 76 | 0.723982 | 28 | 221 | 5.571429 | 0.464286 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144796 | 221 | 9 | 77 | 24.555556 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
8c9ed7cd53b9722c510b8562cbed9db1f5efd02a | 87 | py | Python | PTGRIS/apps.py | Angel2113/Lenguaje_y_Razonamiento | 77ec8b759768d09d5b1ac5fe95847efe43ade1aa | [
"MIT"
] | null | null | null | PTGRIS/apps.py | Angel2113/Lenguaje_y_Razonamiento | 77ec8b759768d09d5b1ac5fe95847efe43ade1aa | [
"MIT"
] | null | null | null | PTGRIS/apps.py | Angel2113/Lenguaje_y_Razonamiento | 77ec8b759768d09d5b1ac5fe95847efe43ade1aa | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PtgrisConfig(AppConfig):
name = 'PTGRIS'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8cd6f5fc7fa327254728da9d1d3dc308a52fd81d | 166 | py | Python | ababe/cmdline/apps/model.py | shaobinqiu/pyabc | eefd322bdd0bb04ae6d42554d24140c6ffbd5c34 | [
"MIT"
] | null | null | null | ababe/cmdline/apps/model.py | shaobinqiu/pyabc | eefd322bdd0bb04ae6d42554d24140c6ffbd5c34 | [
"MIT"
] | null | null | null | ababe/cmdline/apps/model.py | shaobinqiu/pyabc | eefd322bdd0bb04ae6d42554d24140c6ffbd5c34 | [
"MIT"
] | null | null | null | # coding: utf-8
# Distributed under the terms of the MIT License.
class AppModel(object):
def __init__(self):
pass
def __run__(self):
pass
| 15.090909 | 49 | 0.63253 | 22 | 166 | 4.409091 | 0.818182 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.283133 | 166 | 10 | 50 | 16.6 | 0.806723 | 0.36747 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8ce17d327f83c578bb276dd274bb48726daea7ae | 5,274 | py | Python | Msgrpc/Handle/socks.py | evi1hack/viperpython | 04bf8e31e21385edb58ea9d25296df062197df39 | [
"BSD-3-Clause"
] | null | null | null | Msgrpc/Handle/socks.py | evi1hack/viperpython | 04bf8e31e21385edb58ea9d25296df062197df39 | [
"BSD-3-Clause"
] | null | null | null | Msgrpc/Handle/socks.py | evi1hack/viperpython | 04bf8e31e21385edb58ea9d25296df062197df39 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# @File : socks.py
# @Date : 2021/2/25
# @Desc :
from Lib.api import data_return
from Lib.configs import Socks_MSG_ZH, RPC_JOB_API_REQ, Socks_MSG_EN
from Lib.msfmodule import MSFModule
from Lib.notice import Notice
from Msgrpc.Handle.job import Job
class Socks(object):
"""socks代理"""
... | 49.28972 | 118 | 0.525787 | 617 | 5,274 | 4.259319 | 0.163695 | 0.079148 | 0.049467 | 0.059361 | 0.777778 | 0.74277 | 0.723744 | 0.680746 | 0.680746 | 0.680746 | 0 | 0.043375 | 0.361775 | 5,274 | 106 | 119 | 49.754717 | 0.737374 | 0.01441 | 0 | 0.702128 | 0 | 0 | 0.130854 | 0.02486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031915 | false | 0 | 0.053191 | 0 | 0.159574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 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 | 4 |
50756e01d6448605300aba9c368ffa90b0f3001a | 238 | py | Python | print-month.py | sorcerer-armani/hackerrank-solutions-advanced | 89f57f1aee52bf062008a78144e1dfac1e980911 | [
"MIT"
] | null | null | null | print-month.py | sorcerer-armani/hackerrank-solutions-advanced | 89f57f1aee52bf062008a78144e1dfac1e980911 | [
"MIT"
] | null | null | null | print-month.py | sorcerer-armani/hackerrank-solutions-advanced | 89f57f1aee52bf062008a78144e1dfac1e980911 | [
"MIT"
] | 4 | 2021-10-01T14:47:47.000Z | 2021-10-01T16:28:54.000Z | import calendar
year =int( input("Enter the year of the required calendar "))
month_no = int( input("Enter the month of the required calendar "))
print(calendar.month(year,month_no)) | 47.6 | 91 | 0.584034 | 29 | 238 | 4.724138 | 0.413793 | 0.116788 | 0.189781 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.331933 | 238 | 5 | 91 | 47.6 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0.338912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 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 | 4 |
50896d534e16c7fd6fc62bc3c13d9ca9ee2108fc | 370 | py | Python | python/matrix/matrix.py | rob93c/Exercism | 51e38b6559a5650a56d81e733be22b7ee349cedd | [
"MIT"
] | null | null | null | python/matrix/matrix.py | rob93c/Exercism | 51e38b6559a5650a56d81e733be22b7ee349cedd | [
"MIT"
] | null | null | null | python/matrix/matrix.py | rob93c/Exercism | 51e38b6559a5650a56d81e733be22b7ee349cedd | [
"MIT"
] | 1 | 2019-03-19T12:18:39.000Z | 2019-03-19T12:18:39.000Z | class Matrix(object):
def __init__(self, matrix_string):
self.matrix = []
rows = matrix_string.splitlines()
for row in rows:
self.matrix.append([int(num) for num in row.split()])
def row(self, index):
return self.matrix[index - 1]
def column(self, index):
... | 26.428571 | 65 | 0.594595 | 50 | 370 | 4.28 | 0.4 | 0.233645 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007547 | 0.283784 | 370 | 13 | 66 | 28.461538 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5092b6c4f412cc8aaade4199b595ea80a363f9f2 | 915 | py | Python | src/locations/models.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | 3 | 2021-09-27T00:45:42.000Z | 2021-09-28T16:42:05.000Z | src/locations/models.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | null | null | null | src/locations/models.py | hijal/event-management-system | 92fa74035bec846e3448bf210bb5d5088bbf639e | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
class City(models.Model):
name = models.CharField(max_length=30)
def __str__(self):
return self.name
class Place(models.Model):
city = models.ForeignKey(City, on_delete=models.CASCADE)
name = models.CharField(max_length=30)
def __str__(se... | 32.678571 | 81 | 0.662295 | 117 | 915 | 4.948718 | 0.239316 | 0.138169 | 0.120898 | 0.110535 | 0.739206 | 0.739206 | 0.739206 | 0.523316 | 0.523316 | 0.378238 | 0 | 0.008427 | 0.221858 | 915 | 28 | 82 | 32.678571 | 0.804775 | 0 | 0 | 0.47619 | 0 | 0 | 0.010917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.047619 | 0.190476 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 4 |
50d4e3a9485b2d1b309ebb576429596fc7cf62bb | 8,560 | py | Python | chess/game/piece.py | ryomakawakami/chess-ai | 61cd605c2bdba2cc568d028954e16379fa2dae73 | [
"MIT"
] | null | null | null | chess/game/piece.py | ryomakawakami/chess-ai | 61cd605c2bdba2cc568d028954e16379fa2dae73 | [
"MIT"
] | 2 | 2020-05-16T19:38:49.000Z | 2020-05-26T00:27:11.000Z | chess/game/piece.py | ryomakawakami/chess-ai | 61cd605c2bdba2cc568d028954e16379fa2dae73 | [
"MIT"
] | null | null | null | from chess.game.piece_type import PieceType
class Piece:
def __init__(self, pieceType, color):
self.pieceType = pieceType
self.color = color
self.moves = []
def updateMoves(self, squares, attacks, position):
self.moves = []
if self.pieceType == PieceType.PAWN:
... | 32.424242 | 101 | 0.456308 | 1,069 | 8,560 | 3.648269 | 0.073901 | 0.106154 | 0.138462 | 0.131282 | 0.809744 | 0.758974 | 0.747949 | 0.671026 | 0.650513 | 0.645128 | 0 | 0.038323 | 0.417757 | 8,560 | 264 | 102 | 32.424242 | 0.744181 | 0.033995 | 0 | 0.486631 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037433 | false | 0 | 0.005348 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
0fd2e9fb02b75f3f1e2694df6918435b26c2f4cf | 167 | py | Python | models/Agent.py | KevinJeon/The-Tragedy-of-the-commons | 7151faf25fd91732de19a843b39cd1f2614f34ca | [
"Apache-2.0"
] | 5 | 2021-03-21T15:04:36.000Z | 2021-06-22T14:09:00.000Z | models/Agent.py | KevinJeon/The-Tragedy-of-the-commons | 7151faf25fd91732de19a843b39cd1f2614f34ca | [
"Apache-2.0"
] | 5 | 2021-04-10T08:16:16.000Z | 2021-09-12T09:28:42.000Z | models/Agent.py | KevinJeon/The-Tragedy-of-the-commons | 7151faf25fd91732de19a843b39cd1f2614f34ca | [
"Apache-2.0"
] | 2 | 2021-04-26T22:33:19.000Z | 2021-06-08T18:13:49.000Z | class Agent(object):
def __init__(self):
pass
def act(self, obs):
pass
def train(self, replay_buffer, logger, step):
pass
| 15.181818 | 49 | 0.54491 | 20 | 167 | 4.3 | 0.7 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.359281 | 167 | 11 | 50 | 15.181818 | 0.803738 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0fdfac8b9b55a0f0082e186d98cadec47e3d6900 | 213 | py | Python | chuck-pyth/code/largest.py | KaiserPhemi/python-101 | 703facf41f1b47c486e5044696ce87b6d28a9ab3 | [
"MIT"
] | 41 | 2015-02-27T22:13:41.000Z | 2021-11-14T15:37:29.000Z | chuck-pyth/code/largest.py | KaiserPhemi/python-101 | 703facf41f1b47c486e5044696ce87b6d28a9ab3 | [
"MIT"
] | 2 | 2015-12-15T04:03:15.000Z | 2017-01-13T15:29:47.000Z | chuck-pyth/code/largest.py | KaiserPhemi/python-101 | 703facf41f1b47c486e5044696ce87b6d28a9ab3 | [
"MIT"
] | 45 | 2015-01-03T17:26:02.000Z | 2022-01-09T16:06:04.000Z | largest = None
print 'Before:', largest
for iterval in [3, 41, 12, 9, 74, 15]:
if largest == None or largest < iterval:
largest = iterval
print 'Loop:', iterval, largest
print 'Largest:', largest
| 23.666667 | 44 | 0.638498 | 29 | 213 | 4.689655 | 0.551724 | 0.161765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06135 | 0.234742 | 213 | 8 | 45 | 26.625 | 0.773006 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0ff05f1a4dd08d62846eff1b5c75bab43e56ee8d | 99 | py | Python | scripts/item/consume_2435199.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2435199.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2435199.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Black Mage Chat Ring Coupon
if sm.canHold(1115021):
sm.giveItem(1115021)
sm.consumeItem() | 24.75 | 29 | 0.717172 | 14 | 99 | 5.071429 | 0.785714 | 0.253521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0.171717 | 99 | 4 | 30 | 24.75 | 0.695122 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ff933e3270e8f1162064129fbec6b9f3261e451 | 51 | py | Python | 09 Lambda Functions/sumoftwonumbers.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 2 | 2020-05-30T20:31:17.000Z | 2020-07-07T15:15:43.000Z | 09 Lambda Functions/sumoftwonumbers.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | null | null | null | 09 Lambda Functions/sumoftwonumbers.py | Himanshu44626748/Learn-Python | f3a4d997f2d29b146e5f7434f4801ae94bc3483f | [
"MIT"
] | 1 | 2020-08-13T07:59:02.000Z | 2020-08-13T07:59:02.000Z | l = lambda a,b : a+b
print(l(10,20))
print(l(10,2)) | 17 | 20 | 0.588235 | 14 | 51 | 2.142857 | 0.571429 | 0.133333 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0.137255 | 51 | 3 | 21 | 17 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 4 |
ba097ec36e96b38243b00af5b7f4af9967ce066b | 289 | py | Python | Scripts/selected-glyphs/layers/mask.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/layers/mask.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | Scripts/selected-glyphs/layers/mask.py | miguelsousa/hTools2 | eab400677c1b21bb2519a7354a142e167c2b39ba | [
"BSD-3-Clause"
] | null | null | null | # [h] copy glyphs to mask
'''Copy selected glyphs from and to the mask layer.'''
# debug
import hTools2
reload(hTools2)
if hTools2.DEBUG:
import hTools2.dialogs.glyphs
reload(hTools2.dialogs.glyphs)
# import
from hTools2.dialogs.glyphs import maskDialog
# run
maskDialog()
| 13.761905 | 54 | 0.733564 | 39 | 289 | 5.435897 | 0.461538 | 0.198113 | 0.283019 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025105 | 0.17301 | 289 | 20 | 55 | 14.45 | 0.861925 | 0.311419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ba194f0a613a8ae30a3ccdc58fda4e015908ced2 | 106 | py | Python | api/website_analysis/apps.py | gpiechnik2/senter | 6f64f5410fe02a5215ba148553dec45feaadcc09 | [
"CC0-1.0"
] | 2 | 2021-12-08T19:38:33.000Z | 2022-01-26T15:02:57.000Z | api/website_analysis/apps.py | gpiechnik2/senter | 6f64f5410fe02a5215ba148553dec45feaadcc09 | [
"CC0-1.0"
] | null | null | null | api/website_analysis/apps.py | gpiechnik2/senter | 6f64f5410fe02a5215ba148553dec45feaadcc09 | [
"CC0-1.0"
] | 1 | 2021-12-08T19:38:39.000Z | 2021-12-08T19:38:39.000Z | from django.apps import AppConfig
class WebsiteAnalysisConfig(AppConfig):
name = 'website_analysis'
| 17.666667 | 39 | 0.792453 | 11 | 106 | 7.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 40 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e85a59a0e8c6505391131daf573bba0e80baf87f | 221 | py | Python | 02 - Bibliotecas/MeuArquivo.py | Ivoneideduarte/minicurso-de-python | 496dbe19ba696aecc91f3275c1c1c1092c8f9cf5 | [
"MIT"
] | null | null | null | 02 - Bibliotecas/MeuArquivo.py | Ivoneideduarte/minicurso-de-python | 496dbe19ba696aecc91f3275c1c1c1092c8f9cf5 | [
"MIT"
] | null | null | null | 02 - Bibliotecas/MeuArquivo.py | Ivoneideduarte/minicurso-de-python | 496dbe19ba696aecc91f3275c1c1c1092c8f9cf5 | [
"MIT"
] | null | null | null | import pandas as pd
# Importar a base de dados
# Visualizar a base de dados
# Faturamento por loja
# Quantidade de produtos vendidos por loja
# Ticket médio por produto em cada loja
# Enviar um email com o relatório | 17 | 42 | 0.760181 | 36 | 221 | 4.666667 | 0.75 | 0.059524 | 0.083333 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21267 | 221 | 13 | 43 | 17 | 0.965517 | 0.828054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e885ee274f0f15c38956f7c7d8514dcf9b08b47b | 90 | py | Python | src/flickr/secrets.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/flickr/secrets.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | src/flickr/secrets.py | dballesteros7/master-thesis-2015 | 8c0bf9a6eef172fc8167a30780ae0666f8ea2d88 | [
"MIT"
] | null | null | null | FLICKR_API_KEY = '1844fefcac361892270130124dd9862f'
FLICKR_API_SECRET = '2ed025843bc2daf3' | 45 | 51 | 0.877778 | 8 | 90 | 9.375 | 0.75 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376471 | 0.055556 | 90 | 2 | 52 | 45 | 0.505882 | 0 | 0 | 0 | 0 | 0 | 0.527473 | 0.351648 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2cd4c17ecd500e3edbe3fd44b8927b2ef3990f89 | 193 | py | Python | moodle/base/general/type_value.py | Hardikris/moodlepy | 8f5cb0cb4c2297e10f48396de681f6bb250f7751 | [
"MIT"
] | null | null | null | moodle/base/general/type_value.py | Hardikris/moodlepy | 8f5cb0cb4c2297e10f48396de681f6bb250f7751 | [
"MIT"
] | null | null | null | moodle/base/general/type_value.py | Hardikris/moodlepy | 8f5cb0cb4c2297e10f48396de681f6bb250f7751 | [
"MIT"
] | null | null | null | from moodle.attr import dataclass
@dataclass
class GeneralTypeValue:
"""GeneralTypeValue
Args:
type (str): ...
value (str): ...
"""
type: str
value: str
| 12.866667 | 33 | 0.564767 | 18 | 193 | 6.055556 | 0.611111 | 0.12844 | 0.220183 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.310881 | 193 | 14 | 34 | 13.785714 | 0.819549 | 0.331606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa0e7a67f0569d2c26a7dd955f3d3d886c6931aa | 117 | py | Python | dlflow/models/__init__.py | 12860/dlflow | 6fb974fd800649af82b20c5f4e40aea123559d10 | [
"Apache-2.0"
] | 156 | 2020-04-22T10:59:26.000Z | 2022-02-28T09:09:01.000Z | dlflow/models/__init__.py | 12860/dlflow | 6fb974fd800649af82b20c5f4e40aea123559d10 | [
"Apache-2.0"
] | 5 | 2020-07-10T05:39:48.000Z | 2022-03-15T14:38:23.000Z | dlflow/models/__init__.py | 12860/dlflow | 6fb974fd800649af82b20c5f4e40aea123559d10 | [
"Apache-2.0"
] | 31 | 2020-04-22T12:51:32.000Z | 2022-03-15T07:02:05.000Z | from .model_base import ModelBase
from .input_base import InputBase
__all__ = [
"ModelBase",
"InputBase"
]
| 13 | 33 | 0.709402 | 13 | 117 | 5.923077 | 0.615385 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 117 | 8 | 34 | 14.625 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
fa1c5cb1ba8b7a175512972df8f0bb479f236cc2 | 82 | py | Python | backend/src/helpers/status_code_model.py | nokia-wroclaw/innovativeproject-noticrawl | 2569dfe39492695cc33d0bbcbc675465b14756c0 | [
"MIT"
] | 5 | 2020-03-08T14:38:47.000Z | 2021-02-24T12:17:57.000Z | backend/src/helpers/status_code_model.py | nokia-wroclaw/innovativeproject-noticrawl | 2569dfe39492695cc33d0bbcbc675465b14756c0 | [
"MIT"
] | 35 | 2020-03-13T14:18:00.000Z | 2020-06-16T22:17:39.000Z | backend/src/helpers/status_code_model.py | nokia-wroclaw/innovativeproject-noticrawl | 2569dfe39492695cc33d0bbcbc675465b14756c0 | [
"MIT"
] | 2 | 2020-03-03T20:56:19.000Z | 2020-03-08T14:38:53.000Z | from pydantic import BaseModel
class StatusCodeBase(BaseModel):
detail: str
| 13.666667 | 32 | 0.780488 | 9 | 82 | 7.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 5 | 33 | 16.4 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fa32533b181c00601a990a4ea4a267807c1f599d | 59 | py | Python | sbot/vision/calibrations/__init__.py | sourcebots/sbot | 6d40c8ad989c52e30b26119fb0b56df88892ce3d | [
"MIT"
] | 2 | 2019-08-22T14:31:58.000Z | 2020-03-02T18:39:06.000Z | sbot/vision/calibrations/__init__.py | sourcebots/sbot | 6d40c8ad989c52e30b26119fb0b56df88892ce3d | [
"MIT"
] | 150 | 2019-05-19T11:15:33.000Z | 2022-03-25T12:24:02.000Z | sbot/vision/calibrations/__init__.py | sourcebots/sbot | 6d40c8ad989c52e30b26119fb0b56df88892ce3d | [
"MIT"
] | 1 | 2020-03-02T18:40:33.000Z | 2020-03-02T18:40:33.000Z | """This module houses OpenCV camera calibration files."""
| 29.5 | 58 | 0.745763 | 7 | 59 | 6.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 1 | 59 | 59 | 0.862745 | 0.864407 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fa390d17e08db98d4406a99dbba9fd498297765f | 350 | py | Python | ACME/utility/isfinite.py | mauriziokovacic/ACME | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | 3 | 2019-10-23T23:10:55.000Z | 2021-09-01T07:30:14.000Z | ACME/utility/isfinite.py | mauriziokovacic/ACME-Python | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | null | null | null | ACME/utility/isfinite.py | mauriziokovacic/ACME-Python | 2615b66dd4addfd5c03d9d91a24c7da414294308 | [
"MIT"
] | 1 | 2020-07-11T11:35:43.000Z | 2020-07-11T11:35:43.000Z | from .isnan import *
from .isinf import *
def isfinite(*obj):
"""
Returns whether or not the input is finite
Parameters
----------
*obj : object...
a sequence of objects
Returns
-------
bool
True if the inputs are finite, False otherwise
"""
return (not isnan... | 16.666667 | 54 | 0.56 | 42 | 350 | 4.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305714 | 350 | 20 | 55 | 17.5 | 0.806584 | 0.517143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa40f079d15fcf5ef97360a7e78ac79fde57161f | 85 | py | Python | APICanalLuciernaga/lugar/apps.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | null | null | null | APICanalLuciernaga/lugar/apps.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | 12 | 2020-02-12T01:04:09.000Z | 2022-02-10T12:22:14.000Z | APICanalLuciernaga/lugar/apps.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | 3 | 2019-07-04T19:51:17.000Z | 2019-07-30T17:23:13.000Z | from django.apps import AppConfig
class LugarConfig(AppConfig):
name = 'lugar'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fa6e9126fda1e0d8bf8be9e4ac02aa36240fa256 | 65 | py | Python | fundamentals/introduction/hello_world.py | ZhouSusan/CodingDojoPython | 8d89c9a94a3be18e79fbf24e25348eae8c96a338 | [
"MIT"
] | null | null | null | fundamentals/introduction/hello_world.py | ZhouSusan/CodingDojoPython | 8d89c9a94a3be18e79fbf24e25348eae8c96a338 | [
"MIT"
] | null | null | null | fundamentals/introduction/hello_world.py | ZhouSusan/CodingDojoPython | 8d89c9a94a3be18e79fbf24e25348eae8c96a338 | [
"MIT"
] | null | null | null | print("Hello World!")
x = "Hello World"
print(x)
y = 42
print(y) | 10.833333 | 21 | 0.630769 | 12 | 65 | 3.416667 | 0.5 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.169231 | 65 | 6 | 22 | 10.833333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 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 | 1 | 0 | 4 |
3afb9b6ef61c00eceba4efefe4772d211252bdf5 | 2,481 | py | Python | features/steps/ade/steps.py | unity-sds/unity-system-test | abb5d6b50e87f751fe65e534e0867820f9e20c4b | [
"Apache-2.0"
] | null | null | null | features/steps/ade/steps.py | unity-sds/unity-system-test | abb5d6b50e87f751fe65e534e0867820f9e20c4b | [
"Apache-2.0"
] | null | null | null | features/steps/ade/steps.py | unity-sds/unity-system-test | abb5d6b50e87f751fe65e534e0867820f9e20c4b | [
"Apache-2.0"
] | null | null | null | from behave import *
from behave.runner import Context
import json
@given(u'an algorithm binary in an accessible repository')
def step_impl(context):
raise NotImplementedError(u'STEP: Given an algorithm binary in an accessible repository')
@given(u'an algorithm descriptor')
def step_impl(context):
raise Not... | 32.220779 | 108 | 0.769448 | 359 | 2,481 | 5.278552 | 0.147632 | 0.126649 | 0.081266 | 0.132982 | 0.880211 | 0.842216 | 0.822164 | 0.699736 | 0.634301 | 0.45277 | 0 | 0.000949 | 0.150746 | 2,481 | 76 | 109 | 32.644737 | 0.898434 | 0 | 0 | 0.291667 | 0 | 0 | 0.534059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.291667 | false | 0 | 0.0625 | 0 | 0.354167 | 0.041667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3afd58c67adde8bc45e4dbc0eba3b2d77e157002 | 24 | py | Python | data/studio21_generated/introductory/2779/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2779/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2779/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def fib_rabbits(n, b):
| 12 | 22 | 0.666667 | 5 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 2 | 23 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d70ded6ce1f8ac7816555813f237588e0c379d9a | 168 | py | Python | tests/testing.py | akkana/python-mammoth | abc07c40f2a80468292b13ddb6714972bb73b7af | [
"BSD-2-Clause"
] | 1 | 2015-08-15T21:53:03.000Z | 2015-08-15T21:53:03.000Z | tests/testing.py | JoshBarr/python-mammoth | e24c3d90fee2bcc4c2c3ad47e38c0cbba42945d8 | [
"BSD-2-Clause"
] | null | null | null | tests/testing.py | JoshBarr/python-mammoth | e24c3d90fee2bcc4c2c3ad47e38c0cbba42945d8 | [
"BSD-2-Clause"
] | 1 | 2020-11-01T17:04:56.000Z | 2020-11-01T17:04:56.000Z | import os
from nose.tools import nottest
@nottest
def test_path(path):
this_dir = os.path.dirname(__file__)
return os.path.join(this_dir, "test-data", path)
| 16.8 | 52 | 0.72619 | 27 | 168 | 4.259259 | 0.592593 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 168 | 9 | 53 | 18.666667 | 0.815603 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d73192ba99f971cad7d28aa4a87973e5e66f9eb3 | 56 | py | Python | dpaw_utils/requests/__init__.py | xzzy/dpaw-utils | 043817b95271e951ca86c4b20b0d9ce587d4cc59 | [
"Apache-2.0"
] | null | null | null | dpaw_utils/requests/__init__.py | xzzy/dpaw-utils | 043817b95271e951ca86c4b20b0d9ce587d4cc59 | [
"Apache-2.0"
] | null | null | null | dpaw_utils/requests/__init__.py | xzzy/dpaw-utils | 043817b95271e951ca86c4b20b0d9ce587d4cc59 | [
"Apache-2.0"
] | 5 | 2016-01-15T03:01:23.000Z | 2017-03-10T06:01:46.000Z | from .api import get,options,head,post,put,patch,delete
| 28 | 55 | 0.803571 | 10 | 56 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d74959756733254db36bba1a1ce74fe4b76b1ffd | 255 | py | Python | src/capturing_device.py | vkhaydarov/vkhaydarov-planteye-vision | 9afe405d7985ec6aa660a972c159b2e1804a7073 | [
"MIT"
] | null | null | null | src/capturing_device.py | vkhaydarov/vkhaydarov-planteye-vision | 9afe405d7985ec6aa660a972c159b2e1804a7073 | [
"MIT"
] | null | null | null | src/capturing_device.py | vkhaydarov/vkhaydarov-planteye-vision | 9afe405d7985ec6aa660a972c159b2e1804a7073 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class CapturingDevice(ABC):
"""
This class describes generic capturing device
"""
@abstractmethod
def capture_frame(self):
pass
@abstractmethod
def get_status(self):
pass
| 15.9375 | 49 | 0.65098 | 26 | 255 | 6.307692 | 0.692308 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.278431 | 255 | 15 | 50 | 17 | 0.891304 | 0.176471 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d754613213235d448cb34f733e6c8134f93081e7 | 291 | py | Python | nmdc_runtime/api/boot/capabilities.py | elais/nmdc-runtime | 0c03684bc01fd1c0ce443aa271c234067d6d7c09 | [
"Apache-2.0"
] | 2 | 2021-09-14T16:24:58.000Z | 2022-02-22T21:45:08.000Z | nmdc_runtime/api/boot/capabilities.py | elais/nmdc-runtime | 0c03684bc01fd1c0ce443aa271c234067d6d7c09 | [
"Apache-2.0"
] | 79 | 2021-05-04T22:00:22.000Z | 2022-03-31T16:35:46.000Z | nmdc_runtime/api/boot/capabilities.py | elais/nmdc-runtime | 0c03684bc01fd1c0ce443aa271c234067d6d7c09 | [
"Apache-2.0"
] | 1 | 2021-04-21T16:07:21.000Z | 2021-04-21T16:07:21.000Z | from nmdc_runtime.api.models.capability import Capability
import nmdc_runtime.api.boot.workflows as workflows_boot
# Include 1-to-1 "I can run this workflow" capabilities.
_raw = [item for item in workflows_boot._raw]
def construct():
return [Capability(**kwargs) for kwargs in _raw]
| 29.1 | 57 | 0.780069 | 44 | 291 | 5 | 0.613636 | 0.1 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.134021 | 291 | 9 | 58 | 32.333333 | 0.865079 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d7560aadcd7afa57a20b073deeb471544fabc836 | 111 | py | Python | key_bot/imageFunctions/__init__.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | key_bot/imageFunctions/__init__.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | key_bot/imageFunctions/__init__.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | from win32_connectors.screenshotter import screenshot
if __name__ == '__main__':
#demo2()
screenshot() | 22.2 | 53 | 0.738739 | 11 | 111 | 6.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.162162 | 111 | 5 | 54 | 22.2 | 0.752688 | 0.063063 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d770b87d9f36ea7bab8fc03e00ebdd5cc96f8e0c | 106 | py | Python | faker/providers/ssn/ru_RU/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 12,077 | 2015-01-01T18:30:07.000Z | 2022-03-31T23:22:01.000Z | faker/providers/ssn/ru_RU/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 1,306 | 2015-01-03T05:18:55.000Z | 2022-03-31T02:43:04.000Z | faker/providers/ssn/ru_RU/__init__.py | StabbarN/faker | 57882ff73255cb248d8f995b2abfce5cfee45ab3 | [
"MIT"
] | 1,855 | 2015-01-08T14:20:10.000Z | 2022-03-25T17:23:32.000Z | from .. import Provider as SsnProvider
class Provider(SsnProvider):
ssn_formats = ("############",)
| 17.666667 | 38 | 0.622642 | 10 | 106 | 6.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 106 | 5 | 39 | 21.2 | 0.730337 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7762cddacfef5efda3259ac07ade7a46737278b | 288 | py | Python | server/vcr-server/api/v4/search/filters/credential.py | esune/indy-catalyst | 009e1113fc9761aad8742a70b0ab16832f7ee04d | [
"Apache-2.0"
] | 38 | 2019-01-07T02:49:55.000Z | 2020-01-27T17:26:09.000Z | server/vcr-server/api/v4/search/filters/credential.py | esune/indy-catalyst | 009e1113fc9761aad8742a70b0ab16832f7ee04d | [
"Apache-2.0"
] | 364 | 2019-01-07T20:22:15.000Z | 2020-03-10T21:59:23.000Z | server/vcr-server/api/v4/search/filters/credential.py | esune/indy-catalyst | 009e1113fc9761aad8742a70b0ab16832f7ee04d | [
"Apache-2.0"
] | 34 | 2019-01-04T19:16:04.000Z | 2020-02-20T19:24:25.000Z | from haystack.inputs import Clean, Exact, Raw
from api.v2.search.filters import CredNameFilter, CredNameFilterBuilder
class CredQueryFilterBuilder(CredNameFilterBuilder):
query_param = "q"
class CredQueryFilter(CredNameFilter):
query_builder_class = CredQueryFilterBuilder
| 20.571429 | 71 | 0.815972 | 28 | 288 | 8.285714 | 0.714286 | 0.232759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.125 | 288 | 13 | 72 | 22.153846 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
d77a454a59f2f8aa28421724793ffa4620414f39 | 177 | py | Python | tests/confused_math_bc/confused_math.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | tests/confused_math_bc/confused_math.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | tests/confused_math_bc/confused_math.py | aroberge/importhooks | 57483ce24d265d391587f6321954f2ed60f04afd | [
"MIT"
] | null | null | null | def add(a, b):
return a + b
def multiply(a, b):
return a * b
assert add(10, 10) == 100, "confused addition"
assert multiply(10, 10) == 20, "confused multiplication"
| 16.090909 | 56 | 0.627119 | 28 | 177 | 3.964286 | 0.464286 | 0.072072 | 0.144144 | 0.162162 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 0.225989 | 177 | 10 | 57 | 17.7 | 0.715328 | 0 | 0 | 0 | 0 | 0 | 0.225989 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
ad01cb404937e567ccc42f55f2771fc3066543ff | 199 | py | Python | Lib/site-packages/rest_framework/authtoken/apps.py | inging44/python3 | fcd8d9d2ee54b46b757ecf34f284b4e60a43097a | [
"bzip2-1.0.6"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | Lib/site-packages/rest_framework/authtoken/apps.py | inging44/python3 | fcd8d9d2ee54b46b757ecf34f284b4e60a43097a | [
"bzip2-1.0.6"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | Lib/site-packages/rest_framework/authtoken/apps.py | inging44/python3 | fcd8d9d2ee54b46b757ecf34f284b4e60a43097a | [
"bzip2-1.0.6"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class AuthTokenConfig(AppConfig):
name = 'rest_framework.authtoken'
verbose_name = _("Auth Token")
| 24.875 | 55 | 0.778894 | 24 | 199 | 6.25 | 0.791667 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145729 | 199 | 7 | 56 | 28.428571 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.170854 | 0.120603 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad30ca5d0210aaff48296f606f13d97a8916c0f6 | 30 | py | Python | data/studio21_generated/introductory/4036/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4036/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4036/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def days_represented(trips):
| 15 | 28 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 2 | 29 | 15 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8e760bf105831d0526c34bc816bb0ce0adb1f9c | 42 | py | Python | numpy_sugar/ma/__init__.py | glimix/numpy-sugar | d28ae23d0972cead9e9c83dd4c577678ed587f79 | [
"MIT"
] | 1 | 2017-07-25T17:28:54.000Z | 2017-07-25T17:28:54.000Z | numpy_sugar/ma/__init__.py | limix/numpy-sugar | d28ae23d0972cead9e9c83dd4c577678ed587f79 | [
"MIT"
] | null | null | null | numpy_sugar/ma/__init__.py | limix/numpy-sugar | d28ae23d0972cead9e9c83dd4c577678ed587f79 | [
"MIT"
] | null | null | null | from .dot import dotd
__all__ = ["dotd"]
| 10.5 | 21 | 0.666667 | 6 | 42 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 22 | 14 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
a8edbaef8a262aecababd26f5bd0c61753683566 | 864 | py | Python | rapidplugin/analysis/graph_query.py | Rheddes/quality-analyzer | 1bb8ec037c42c2c1ab202f961cebf5956f2a449b | [
"Apache-2.0"
] | null | null | null | rapidplugin/analysis/graph_query.py | Rheddes/quality-analyzer | 1bb8ec037c42c2c1ab202f961cebf5956f2a449b | [
"Apache-2.0"
] | 19 | 2020-08-20T13:36:28.000Z | 2021-12-06T21:01:32.000Z | rapidplugin/analysis/graph_query.py | Rheddes/quality-analyzer | 1bb8ec037c42c2c1ab202f961cebf5956f2a449b | [
"Apache-2.0"
] | 3 | 2020-08-20T08:29:27.000Z | 2021-10-19T04:33:34.000Z | # Copyright 2020 Software Improvement Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 27.870968 | 81 | 0.725694 | 127 | 864 | 4.874016 | 0.661417 | 0.096931 | 0.042003 | 0.051696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011611 | 0.202546 | 864 | 30 | 82 | 28.8 | 0.886792 | 0.747685 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
d1194b237dd3d38c89107aa438cbd69025836d47 | 1,391 | py | Python | azext_cdf/_help.py | ahelal/cdf | 0c0e50123a42d701ca5133383dd20d5eabf43e7c | [
"MIT"
] | 1 | 2021-11-25T11:45:47.000Z | 2021-11-25T11:45:47.000Z | azext_cdf/_help.py | ahelal/cdf | 0c0e50123a42d701ca5133383dd20d5eabf43e7c | [
"MIT"
] | null | null | null | azext_cdf/_help.py | ahelal/cdf | 0c0e50123a42d701ca5133383dd20d5eabf43e7c | [
"MIT"
] | null | null | null | """ Help commands """
from knack.help_files import helps # pylint: disable=unused-import
helps[
"cdf"
] = """
type: group
short-summary: Commands to manage CDF https://github.com/ahelal/cdf
"""
helps[
"cdf debug"
] = """
type: group
short-summary: Commands to help you debug your CDF deployment.
"""
helps[
... | 14.642105 | 80 | 0.652768 | 172 | 1,391 | 5.273256 | 0.377907 | 0.114664 | 0.194046 | 0.278942 | 0.068357 | 0.068357 | 0 | 0 | 0 | 0 | 0 | 0.000893 | 0.194824 | 1,391 | 94 | 81 | 14.797872 | 0.808929 | 0.032351 | 0 | 0.658228 | 0 | 0 | 0.718447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.012658 | 0 | 0.012658 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d11b0296d3c11b2bcc95dd9eabc4ae84ae825ba7 | 39 | py | Python | interview/main.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | null | null | null | interview/main.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | null | null | null | interview/main.py | jiz148/rift-projects | 59949f7dc9b217f1fc6c1a9558505d50287b008d | [
"MIT"
] | 2 | 2019-09-01T02:21:42.000Z | 2019-09-01T02:21:51.000Z | """
Main program to run interview.
"""
| 9.75 | 30 | 0.641026 | 5 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 3 | 31 | 13 | 0.78125 | 0.769231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f7971c394ac437648743e41ffa9ce9f4347a4c8 | 201 | py | Python | fontin/__init__.py | laxyapahuja/font-in | 4adf4ce2b2c6ca127ff96fe35c8085f59707e9c3 | [
"MIT"
] | 6 | 2020-09-28T18:34:31.000Z | 2021-07-17T10:55:51.000Z | fontin/__init__.py | laxyapahuja/font-in | 4adf4ce2b2c6ca127ff96fe35c8085f59707e9c3 | [
"MIT"
] | null | null | null | fontin/__init__.py | laxyapahuja/font-in | 4adf4ce2b2c6ca127ff96fe35c8085f59707e9c3 | [
"MIT"
] | null | null | null | import sys, os, ctypes
def clear():
os.system('cls' if os.name == 'nt' else 'clear')
def is_admin():
try:
return ctypes.windll.shell32.IsUserAnAdmin()
except:
return False | 20.1 | 52 | 0.616915 | 27 | 201 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.248756 | 201 | 10 | 53 | 20.1 | 0.801325 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0f8ca1f4359e39cdef20555de62e0af7766fe526 | 176 | py | Python | apps/www/od/wsgi-bin/web_cfg.py | Roy-Tuhin/maskrcnn_sophisticate- | a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3 | [
"Apache-2.0"
] | null | null | null | apps/www/od/wsgi-bin/web_cfg.py | Roy-Tuhin/maskrcnn_sophisticate- | a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3 | [
"Apache-2.0"
] | 14 | 2021-02-02T22:32:47.000Z | 2022-03-12T00:20:40.000Z | apps/www/od/wsgi-bin/web_cfg.py | Boyetuhin/maskrcnn_sophisticate- | a5a2300abbe2633d66847cdbfa7ed2bc2f901ec3 | [
"Apache-2.0"
] | 1 | 2021-05-03T22:48:36.000Z | 2021-05-03T22:48:36.000Z | import os
AI_CODE_BASE_PATH = '/codehub'
BASE_PATH_CONFIG = os.path.join(AI_CODE_BASE_PATH,'config')
APP_ROOT_DIR = os.path.join(AI_CODE_BASE_PATH,'apps')
WEB_APP_NAME = 'od'
| 25.142857 | 59 | 0.784091 | 33 | 176 | 3.727273 | 0.484848 | 0.260163 | 0.243902 | 0.341463 | 0.390244 | 0.390244 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 176 | 6 | 60 | 29.333333 | 0.763975 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
7e195db285484a4136432c767df9581adddf9fca | 1,037 | py | Python | src/compas/com/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/com/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/com/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | """
********************************************************************************
compas.com
********************************************************************************
.. module:: compas.com
:mod:`compas.com` provides functionality for communicating with external software.
Matlab
======
.. au... | 15.477612 | 83 | 0.52459 | 88 | 1,037 | 5.886364 | 0.5 | 0.052124 | 0.156371 | 0.225869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24783 | 1,037 | 66 | 84 | 15.712121 | 0.664103 | 0.689489 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.181818 | 0.545455 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
7e2cd48a084a5083964a25cad9c9d2af17ab1a24 | 96 | py | Python | CodeWars/7 Kyu/Basic Math (Add or Subtract).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Basic Math (Add or Subtract).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Basic Math (Add or Subtract).py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def calculate(s):
ret = eval(s.replace("plus","+").replace("minus","-"))
return str(ret) | 32 | 58 | 0.583333 | 13 | 96 | 4.307692 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 3 | 59 | 32 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7e33bc42054788a5995a22bef471ead7f6b37c31 | 78 | py | Python | lib/subl/__init__.py | mrmansano/sublime-ycmd | fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e | [
"MIT"
] | 12 | 2018-01-24T20:58:10.000Z | 2021-12-21T15:02:10.000Z | lib/subl/__init__.py | mrmansano/sublime-ycmd | fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e | [
"MIT"
] | 4 | 2018-01-13T14:39:45.000Z | 2020-11-25T00:05:27.000Z | lib/subl/__init__.py | mrmansano/sublime-ycmd | fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e | [
"MIT"
] | 2 | 2018-10-23T17:13:44.000Z | 2019-05-12T04:10:17.000Z | #!/usr/bin/env python3
'''
lib/subl
sublime-ycmd sublime utility module.
'''
| 11.142857 | 36 | 0.692308 | 11 | 78 | 4.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.128205 | 78 | 6 | 37 | 13 | 0.779412 | 0.858974 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e7c0ef2961fcf14822b06867a4995f061feba82 | 187 | py | Python | core/serializers.py | victor-s-santos/simple-django-ajax | 7a2e9cc832bdf54e39b0aac43fa08d6d587a916c | [
"MIT"
] | null | null | null | core/serializers.py | victor-s-santos/simple-django-ajax | 7a2e9cc832bdf54e39b0aac43fa08d6d587a916c | [
"MIT"
] | null | null | null | core/serializers.py | victor-s-santos/simple-django-ajax | 7a2e9cc832bdf54e39b0aac43fa08d6d587a916c | [
"MIT"
] | null | null | null | from rest_framework.serializers import ModelSerializer
from core.models import Perguntas
class PerguntasSerializer(ModelSerializer):
class Meta:
model = Perguntas
fields = '__all__' | 26.714286 | 54 | 0.823529 | 20 | 187 | 7.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122995 | 187 | 7 | 55 | 26.714286 | 0.908537 | 0 | 0 | 0 | 0 | 0 | 0.037234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7e8d7763d67b6636377c320a0cce716ab56a5abd | 224 | py | Python | core/__init__.py | ItsFabby/connect4 | 4bad1ce4f25e1533cebb890105fedbbbfcf51eb8 | [
"MIT"
] | null | null | null | core/__init__.py | ItsFabby/connect4 | 4bad1ce4f25e1533cebb890105fedbbbfcf51eb8 | [
"MIT"
] | null | null | null | core/__init__.py | ItsFabby/connect4 | 4bad1ce4f25e1533cebb890105fedbbbfcf51eb8 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
# from . import constants
# from . import db_connector
# from . import nnet
# from . import game
# from . import gui
# from . import trainer
| 20.363636 | 60 | 0.732143 | 33 | 224 | 4.818182 | 0.484848 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 10 | 61 | 22.4 | 0.845745 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7e8f8f8e74978abfd3cc0b920d053396add5a92e | 93 | pyw | Python | play.pyw | Tauseef-Hilal/Pong-Multiplayer | aee412fc9a25e75994a28302cad293fa80340cf6 | [
"MIT"
] | null | null | null | play.pyw | Tauseef-Hilal/Pong-Multiplayer | aee412fc9a25e75994a28302cad293fa80340cf6 | [
"MIT"
] | null | null | null | play.pyw | Tauseef-Hilal/Pong-Multiplayer | aee412fc9a25e75994a28302cad293fa80340cf6 | [
"MIT"
] | null | null | null | import os
if os.name == "nt":
os.system("python src")
else:
os.system("python3 src") | 15.5 | 28 | 0.612903 | 15 | 93 | 3.8 | 0.666667 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.204301 | 93 | 6 | 28 | 15.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.244681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7eaba175801c9347573b0828cc5b51b220808bed | 82 | py | Python | beagle/header/mpu_gyro_fsr_t.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | null | null | null | beagle/header/mpu_gyro_fsr_t.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | null | null | null | beagle/header/mpu_gyro_fsr_t.py | ts03408751/beagle | c9c2d37c081768e3fb6dbd88e563deb168c9e33b | [
"MIT"
] | 1 | 2018-10-06T09:01:45.000Z | 2018-10-06T09:01:45.000Z | GYRO_FSR_250DPS = 0
GYRO_FSR_500DPS = 1
GYRO_FSR_1000DPS = 2
GYRO_FSR_2000DPS = 3
| 16.4 | 20 | 0.804878 | 16 | 82 | 3.625 | 0.625 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257143 | 0.146341 | 82 | 4 | 21 | 20.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e2000dac55c0cddc1c8b24dc2ef305e55876e9b | 77 | py | Python | test/test_import_class/ClassC.py | songofhawk/simplerpa | 69491f3e9a84c106921be972242d05c5e3db5849 | [
"MIT"
] | 1 | 2022-02-16T08:37:25.000Z | 2022-02-16T08:37:25.000Z | test/test_import_class/ClassC.py | songofhawk/simplerpa | 69491f3e9a84c106921be972242d05c5e3db5849 | [
"MIT"
] | null | null | null | test/test_import_class/ClassC.py | songofhawk/simplerpa | 69491f3e9a84c106921be972242d05c5e3db5849 | [
"MIT"
] | null | null | null | from ClassA import A
class C(A):
def walk(self):
print(A.test)
| 11 | 21 | 0.584416 | 13 | 77 | 3.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298701 | 77 | 6 | 22 | 12.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0e5ab5fdaaa9f4983eea073e2695ac4ba67c08ce | 1,096 | py | Python | attic/testsuite/lrucache.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | 1 | 2022-02-11T21:46:40.000Z | 2022-02-11T21:46:40.000Z | attic/testsuite/lrucache.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | 20 | 2022-02-14T07:54:49.000Z | 2022-02-14T07:57:38.000Z | attic/testsuite/lrucache.py | AaronWebster/attic | be7e636b6de677776d57b788c9a435070063575d | [
"BSD-3-Clause"
] | null | null | null | from attic.lrucache import LRUCache
from attic.testsuite import AtticTestCase
class LRUCacheTestCase(AtticTestCase):
def test(self):
c = LRUCache(2)
self.assert_equal(len(c), 0)
for i, x in enumerate('abc'):
c[x] = i
self.assert_equal(len(c), 2)
self.assert_equal(set(c), set(['b', 'c']))
... | 26.731707 | 64 | 0.586679 | 185 | 1,096 | 3.367568 | 0.216216 | 0.304976 | 0.385233 | 0.179775 | 0.568218 | 0.410915 | 0.160514 | 0.160514 | 0.11236 | 0 | 0 | 0.032407 | 0.211679 | 1,096 | 40 | 65 | 27.4 | 0.688657 | 0 | 0 | 0.25 | 0 | 0 | 0.020985 | 0 | 0 | 0 | 0 | 0 | 0.527778 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.138889 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0e6b16aeef7a4ae3587ca3994e407cf135a70ce2 | 1,949 | py | Python | 3rdparty/huawei-lte-api/huawei_lte_api/api/OnlineUpdate.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | null | null | null | 3rdparty/huawei-lte-api/huawei_lte_api/api/OnlineUpdate.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 1 | 2020-06-21T20:35:27.000Z | 2020-07-14T20:08:55.000Z | 3rdparty/huawei-lte-api/huawei_lte_api/api/OnlineUpdate.py | tux1c0/plugin-huawei4g | af83ce6321db23fcfd51eb204e00c287d3ea2325 | [
"MIT"
] | 3 | 2020-02-27T11:35:55.000Z | 2021-03-25T08:51:51.000Z | from huawei_lte_api.ApiGroup import ApiGroup
from huawei_lte_api.Connection import GetResponseType, SetResponseType
class OnlineUpdate(ApiGroup):
def check_new_version(self) -> GetResponseType:
return self._connection.get('online-update/check-new-version')
def set_check_new_version(self) -> SetRespon... | 38.215686 | 78 | 0.715752 | 212 | 1,949 | 6.396226 | 0.226415 | 0.09587 | 0.19174 | 0.152655 | 0.568584 | 0.539086 | 0.486726 | 0.486726 | 0.128319 | 0 | 0 | 0.000624 | 0.177527 | 1,949 | 50 | 79 | 38.98 | 0.84529 | 0.031811 | 0 | 0.060606 | 0 | 0 | 0.215781 | 0.190553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.393939 | false | 0 | 0.060606 | 0.363636 | 0.878788 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0ea12adb9722703e9c104a984270ca74a2bb8d59 | 85 | py | Python | backend/app_esp/models/__init__.py | waltercassiano/micropython-spa-react | 110fcd88c170251adad2b7e2e14dbdad94657370 | [
"MIT"
] | 6 | 2020-05-29T01:39:21.000Z | 2022-03-08T02:29:29.000Z | backend/app_esp/models/__init__.py | waltercassiano/micropython-spa-react | 110fcd88c170251adad2b7e2e14dbdad94657370 | [
"MIT"
] | 2 | 2022-02-13T11:59:34.000Z | 2022-02-27T03:49:49.000Z | backend/app_esp/models/__init__.py | waltercassiano/micropython-spa-react | 110fcd88c170251adad2b7e2e14dbdad94657370 | [
"MIT"
] | null | null | null | from .config import ConfigModel
from .model import Model
from .user import UserModel
| 21.25 | 31 | 0.823529 | 12 | 85 | 5.833333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 32 | 28.333333 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7d02af496397b9cb9f0d7faabf0a2d1ce67c288d | 401 | py | Python | library/source1/game_model/parts/mesh.py | anderlli0053/SourceIO | 3c0c4839939ce698439987ac52154f89ee2f5341 | [
"MIT"
] | 199 | 2019-04-02T02:30:58.000Z | 2022-03-30T21:29:49.000Z | source1/game_model/parts/mesh.py | syborg64/SourceIO | e4ba86d801f518e192260af08ef533759c2e1cc3 | [
"MIT"
] | 113 | 2019-03-03T19:36:25.000Z | 2022-03-31T19:44:05.000Z | source1/game_model/parts/mesh.py | syborg64/SourceIO | e4ba86d801f518e192260af08ef533759c2e1cc3 | [
"MIT"
] | 38 | 2019-05-15T16:49:30.000Z | 2022-03-22T03:40:43.000Z | from abc import ABC
class SourceMesh(ABC):
@property
def vertices(self):
raise NotImplementedError
@property
def indices(self):
raise NotImplementedError
@property
def normals(self):
raise NotImplementedError
@property
def weights(self):
raise NotImp... | 16.04 | 33 | 0.648379 | 37 | 401 | 7.027027 | 0.405405 | 0.211538 | 0.538462 | 0.553846 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294264 | 401 | 24 | 34 | 16.708333 | 0.918728 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0 | 0.411765 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7d03080a049d4ccf582ad4dbb85f32f92ea44aeb | 1,495 | py | Python | pennylane/interfaces/__init__.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 539 | 2018-11-13T08:45:42.000Z | 2020-07-27T18:17:16.000Z | pennylane/interfaces/__init__.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 588 | 2018-11-14T10:21:47.000Z | 2020-07-28T06:27:14.000Z | pennylane/interfaces/__init__.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 165 | 2018-11-13T18:58:56.000Z | 2020-07-27T17:18:17.000Z | # Copyright 2018-2021 Xanadu Quantum Technologies Inc.
# 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 applicabl... | 29.313725 | 83 | 0.713043 | 175 | 1,495 | 6.04 | 0.628571 | 0.056764 | 0.024598 | 0.030274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009909 | 0.189967 | 1,495 | 50 | 84 | 29.9 | 0.862923 | 0.820736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7d4e177821f684dfde5e42d0b9326f33cd29e78b | 96 | py | Python | openmaps_auth/settings/dev.py | radiant-maxar/openmaps-auth | 3c4205deae85815ee8a7bfec0a21b1511fbe8640 | [
"Apache-2.0"
] | null | null | null | openmaps_auth/settings/dev.py | radiant-maxar/openmaps-auth | 3c4205deae85815ee8a7bfec0a21b1511fbe8640 | [
"Apache-2.0"
] | null | null | null | openmaps_auth/settings/dev.py | radiant-maxar/openmaps-auth | 3c4205deae85815ee8a7bfec0a21b1511fbe8640 | [
"Apache-2.0"
] | null | null | null | from .common import *
DEBUG = True
INSTALLED_APPS = ("django.contrib.admin",) + INSTALLED_APPS
| 19.2 | 59 | 0.739583 | 12 | 96 | 5.75 | 0.833333 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 60 | 24 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
adb5fa873bc763b8905967ae23bab7153d4ed887 | 158 | py | Python | vizdoomaze/envs/vizdoomazeone7.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 3 | 2020-09-25T16:00:49.000Z | 2020-10-29T10:32:30.000Z | vizdoomaze/envs/vizdoomazeone7.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | null | null | null | vizdoomaze/envs/vizdoomazeone7.py | fanyuzeng/Vizdoomaze | 5b444f2d861c908c4d96ae374bcce660d364f22e | [
"MIT"
] | 1 | 2021-12-17T07:50:47.000Z | 2021-12-17T07:50:47.000Z | from vizdoomaze.envs.vizdoomenv import VizdoomEnv
class vizdoomazeOne7(VizdoomEnv):
def __init__(self):
super(vizdoomazeOne7, self).__init__(20) | 26.333333 | 49 | 0.765823 | 17 | 158 | 6.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02963 | 0.14557 | 158 | 6 | 50 | 26.333333 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
adec483755cd5577f9d85117bdd804f89bd9e557 | 1,278 | py | Python | openiPrototype/appUI/jsonModel.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/appUI/jsonModel.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | openiPrototype/appUI/jsonModel.py | OPENi-ict/ntua_demo | 104118fbe1f54db35386ca96286317ceb64cb658 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class Responses(models.Model):
requests = models.ForeignKey("Requests", blank=True)
responses = models.CharField(max_length=255, blank=True)
class Requests(models.Model):
data_mode = models.CharField(max_length=255, blank=True)
name = models.CharField(max_length=255, blank=True)
met... | 34.540541 | 61 | 0.77856 | 175 | 1,278 | 5.588571 | 0.188571 | 0.184049 | 0.239264 | 0.319018 | 0.786299 | 0.725971 | 0.652352 | 0.440695 | 0.203476 | 0.203476 | 0 | 0.033708 | 0.094679 | 1,278 | 36 | 62 | 35.5 | 0.811582 | 0 | 0 | 0.307692 | 0 | 0 | 0.031323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038462 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc1f69f17c523e90a9ca90168599771e39f2f7ca | 100 | py | Python | Python/Canvas/Commands/__init__.py | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null | Python/Canvas/Commands/__init__.py | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null | Python/Canvas/Commands/__init__.py | yoann01/FabricUI | d4d24f25245b8ccd2d206aded2b6c5f2aca09155 | [
"BSD-3-Clause"
] | null | null | null | __all__ = [
'CommandHelpers',
'CommandManager',
'CommandRegistry',
'CommandManagerCallback'
]
| 14.285714 | 26 | 0.72 | 5 | 100 | 13.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 6 | 27 | 16.666667 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.65 | 0.22 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc2d68df4383c7dc796252b31cac6c875f1353b3 | 29,162 | py | Python | dlra/algorithms.py | cohenjer/dlra | 043daa9a626fa52ef95a6d54d4bf790830cecf92 | [
"MIT"
] | null | null | null | dlra/algorithms.py | cohenjer/dlra | 043daa9a626fa52ef95a6d54d4bf790830cecf92 | [
"MIT"
] | null | null | null | dlra/algorithms.py | cohenjer/dlra | 043daa9a626fa52ef95a6d54d4bf790830cecf92 | [
"MIT"
] | null | null | null | import numpy as np
from numpy.linalg import lstsq, solve
import warnings
from mscode.methods.algorithms import ista, homp, iht_mix, ista_nn
from mscode.methods.proxs import SoftT, HardT
from matplotlib import pyplot as plt
import tensorly as tl
from tensorly.random import random_cp
from tensorly.base import unfold
fro... | 38.830892 | 294 | 0.584185 | 3,892 | 29,162 | 4.256937 | 0.1074 | 0.035732 | 0.013279 | 0.013037 | 0.773177 | 0.750302 | 0.728151 | 0.70099 | 0.670087 | 0.655541 | 0 | 0.013139 | 0.316199 | 29,162 | 750 | 295 | 38.882667 | 0.817712 | 0.36311 | 0 | 0.635593 | 0 | 0.002825 | 0.064919 | 0 | 0 | 0 | 0 | 0.001333 | 0 | 1 | 0.011299 | false | 0 | 0.039548 | 0 | 0.070621 | 0.059322 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
70cad4dae4d1a30bba201be5ed21c439ae1a279e | 153 | py | Python | sympy/3sympy_square_root.py | chenliangold4j/MyPyDictionnary | 3428333f42249f33732da71e420bdc41a412f594 | [
"Apache-2.0"
] | null | null | null | sympy/3sympy_square_root.py | chenliangold4j/MyPyDictionnary | 3428333f42249f33732da71e420bdc41a412f594 | [
"Apache-2.0"
] | null | null | null | sympy/3sympy_square_root.py | chenliangold4j/MyPyDictionnary | 3428333f42249f33732da71e420bdc41a412f594 | [
"Apache-2.0"
] | null | null | null | # 平方根是一个数字,乘以它会产生指定的数量。
from sympy import sqrt, pprint, Mul
x = sqrt(2)
y = sqrt(2)
pprint(Mul(x, y, evaluate=False))
print('equals to ')
print(x * y)
| 15.3 | 35 | 0.673203 | 26 | 153 | 3.961538 | 0.615385 | 0.174757 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.163399 | 153 | 9 | 36 | 17 | 0.789063 | 0.137255 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 0 | 4 |
70d14a26d237ffc7eaeffb5aca944d2a69e5e54c | 11,228 | py | Python | crystalpy/tests/polarization/MuellerMatrixTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/tests/polarization/MuellerMatrixTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | crystalpy/tests/polarization/MuellerMatrixTest.py | oasys-kit/crystalpy | 4852851c622ef914844178577dea4075e92cd8dd | [
"MIT"
] | null | null | null | """
Unittest for MuellerMatrix class.
"""
import unittest
import numpy as np
from numpy.testing import assert_array_almost_equal
from crystalpy.polarization.MuellerMatrix import MuellerMatrix
def _generate_matrix():
matrix = np.asarray([[0.3259811941363535, 0.47517601596586845, 0.5518825026595213, 0.3096975897... | 58.176166 | 118 | 0.544532 | 1,201 | 11,228 | 4.926728 | 0.121565 | 0.07301 | 0.095319 | 0.108163 | 0.790096 | 0.777928 | 0.746155 | 0.710326 | 0.636978 | 0.566672 | 0 | 0.283119 | 0.34316 | 11,228 | 192 | 119 | 58.479167 | 0.519186 | 0.019772 | 0 | 0.424837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261438 | 1 | 0.084967 | false | 0 | 0.026144 | 0 | 0.124183 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 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 | 4 |
70f5fc0ad1fdf41a1b0d9567d0437481b924a528 | 314,743 | py | Python | resources.py | halils70/CustomerManagement | 5c65d5ccf9d200506fe6f23214948da508460f54 | [
"MIT"
] | null | null | null | resources.py | halils70/CustomerManagement | 5c65d5ccf9d200506fe6f23214948da508460f54 | [
"MIT"
] | null | null | null | resources.py | halils70/CustomerManagement | 5c65d5ccf9d200506fe6f23214948da508460f54 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\x64\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x... | 64.207058 | 129 | 0.726799 | 76,167 | 314,743 | 3.002836 | 0.004004 | 0.030824 | 0.028568 | 0.023138 | 0.077887 | 0.073716 | 0.07017 | 0.068255 | 0.066458 | 0.065225 | 0 | 0.325425 | 0.015838 | 314,743 | 4,901 | 130 | 64.220159 | 0.412948 | 0.000483 | 0 | 0.044626 | 0 | 0.96479 | 0.000013 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000409 | false | 0 | 0.000205 | 0 | 0.000614 | 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 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb2716e581d42ca1bb32ab961d38018fc0cec55a | 30 | py | Python | homeassistant/components/fail2ban/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/fail2ban/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/fail2ban/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The fail2ban component."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.1 | 30 | 1 | 30 | 30 | 0.703704 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb47ba8247b93991f65b4147270a52759015ee13 | 168 | py | Python | localshop/templatetags/permission_tags.py | agoragames/localshop | c677da85b063d8d794db498ca6b5222c50290a44 | [
"BSD-3-Clause"
] | 162 | 2015-01-03T07:59:18.000Z | 2022-02-04T12:37:14.000Z | localshop/templatetags/permission_tags.py | agoragames/localshop | c677da85b063d8d794db498ca6b5222c50290a44 | [
"BSD-3-Clause"
] | 110 | 2015-01-06T00:58:21.000Z | 2022-02-10T07:16:54.000Z | localshop/templatetags/permission_tags.py | agoragames/localshop | c677da85b063d8d794db498ca6b5222c50290a44 | [
"BSD-3-Clause"
] | 67 | 2015-01-15T18:12:18.000Z | 2021-09-27T09:45:55.000Z | from django import template
register = template.Library()
@register.filter
def is_owner_of(user, repository):
return repository.check_user_role(user, ['owner'])
| 18.666667 | 54 | 0.767857 | 22 | 168 | 5.681818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 8 | 55 | 21 | 0.85034 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cb5af0651756d0821507db30cb1957baf0384d82 | 74 | py | Python | abc/predict/fixed.py | hexin010101/NAM-genomes | 778ebb94c3451614e1037eaddbadf9fe6c0baf54 | [
"MIT"
] | null | null | null | abc/predict/fixed.py | hexin010101/NAM-genomes | 778ebb94c3451614e1037eaddbadf9fe6c0baf54 | [
"MIT"
] | null | null | null | abc/predict/fixed.py | hexin010101/NAM-genomes | 778ebb94c3451614e1037eaddbadf9fe6c0baf54 | [
"MIT"
] | 1 | 2022-02-11T13:33:10.000Z | 2022-02-11T13:33:10.000Z | loci = 20000000 #!!!
sample = 26
mu = 2e-6
rr = 1.05e-6
Na = 1000
Bt = 67
| 10.571429 | 20 | 0.567568 | 15 | 74 | 2.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.256757 | 74 | 6 | 21 | 12.333333 | 0.363636 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cb5e675c4b3a09573944dca2e879b37c7b882ae9 | 115 | py | Python | jserrorlogging/signals.py | moqada/django-js-error-logging | c9ac21051a4e598b5f9b37585c671fd834fbe46e | [
"BSD-3-Clause"
] | 1 | 2015-12-03T06:53:29.000Z | 2015-12-03T06:53:29.000Z | jserrorlogging/signals.py | moqada/django-js-error-logging | c9ac21051a4e598b5f9b37585c671fd834fbe46e | [
"BSD-3-Clause"
] | null | null | null | jserrorlogging/signals.py | moqada/django-js-error-logging | c9ac21051a4e598b5f9b37585c671fd834fbe46e | [
"BSD-3-Clause"
] | 4 | 2015-04-16T07:19:17.000Z | 2020-03-19T14:24:42.000Z | # -*- coding: utf-8 -*-
import django.dispatch
add_log = django.dispatch.Signal(providing_args=['data', 'meta'])
| 19.166667 | 65 | 0.686957 | 15 | 115 | 5.133333 | 0.866667 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.113043 | 115 | 5 | 66 | 23 | 0.745098 | 0.182609 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 4 |
cbbcedaad45f89e280f6e506af6994fbcbadbb69 | 5,407 | py | Python | paralleldomain/model/unordered_scene.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 10 | 2021-11-17T17:23:49.000Z | 2022-03-18T09:51:23.000Z | paralleldomain/model/unordered_scene.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 3 | 2021-12-02T17:16:20.000Z | 2022-01-07T12:47:13.000Z | paralleldomain/model/unordered_scene.py | parallel-domain/pd-sdk | 20e3d052a5cb612a2dd84bda7b1b5487a6a60edc | [
"Apache-2.0"
] | 2 | 2022-03-09T07:03:54.000Z | 2022-03-23T15:53:48.000Z | from datetime import datetime
from itertools import chain
from typing import Any, Dict, Generator, Generic, List, Optional, Set, Type, TypeVar, Union
from paralleldomain.model.annotation import AnnotationType
from paralleldomain.model.class_mapping import ClassMap
from paralleldomain.model.map.map import Map
try:
... | 34.883871 | 108 | 0.714074 | 681 | 5,407 | 5.433186 | 0.142438 | 0.053514 | 0.038649 | 0.065405 | 0.377027 | 0.171351 | 0.119459 | 0.064865 | 0.035676 | 0.035676 | 0 | 0 | 0.194193 | 5,407 | 154 | 109 | 35.11039 | 0.849208 | 0.054374 | 0 | 0.247706 | 0 | 0 | 0.014353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.284404 | false | 0.100917 | 0.110092 | 0.155963 | 0.59633 | 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 | 1 | 0 | 0 | 4 |
cbd2382b6bbff8a4fc652563b62a360d12df8067 | 197 | py | Python | handler.py | JinhuiLee/miniPyserver | fef99f40c6a6de04a2d3f3c7b12cace68d82fa41 | [
"MIT"
] | 2 | 2017-03-05T01:24:11.000Z | 2017-07-04T23:51:04.000Z | handler.py | JinhuiLee/miniPyserver | fef99f40c6a6de04a2d3f3c7b12cace68d82fa41 | [
"MIT"
] | null | null | null | handler.py | JinhuiLee/miniPyserver | fef99f40c6a6de04a2d3f3c7b12cace68d82fa41 | [
"MIT"
] | null | null | null |
def hello(verb, path, query):
return "Server received your " + verb + " request" + str(query) + "\r\n"
def register(urlMapper):
urlMapper["/hello"] = hello
| 10.944444 | 76 | 0.532995 | 21 | 197 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324873 | 197 | 17 | 77 | 11.588235 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.201031 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1db4a02ef92f84dde4db38dd1b2c355586945b56 | 50 | py | Python | apps/process/models/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/process/models/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | apps/process/models/__init__.py | kane-zh/MES_server | d8d28768a054eee6433e3900908afd331fd92281 | [
"Apache-2.0"
] | null | null | null | from apps.process.models.basicinfor_model import * | 50 | 50 | 0.86 | 7 | 50 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1db7b177fc793700fdc4b2e8e3e02966e66834ae | 98 | py | Python | ward_mapping/apps.py | Suraj1127/ward-mapping-application | 53fa39bab875ca47fdab814fd28ea0b7d2086c15 | [
"MIT"
] | 1 | 2019-05-16T04:08:40.000Z | 2019-05-16T04:08:40.000Z | ward_mapping/apps.py | Suraj1127/ward-mapping-application | 53fa39bab875ca47fdab814fd28ea0b7d2086c15 | [
"MIT"
] | null | null | null | ward_mapping/apps.py | Suraj1127/ward-mapping-application | 53fa39bab875ca47fdab814fd28ea0b7d2086c15 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WardMappingConfig(AppConfig):
name = 'ward_mapping'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1db974d907dbe9b027ecb01e852faab3e95b023d | 690 | py | Python | src/experimentator/__init__.py | hsharrison/experimentator | 91fabd4e394ebd80d7e91e9b29569ebabbc0ede3 | [
"MIT"
] | 17 | 2015-03-26T20:48:30.000Z | 2021-11-10T19:43:56.000Z | src/experimentator/__init__.py | hsharrison/experimentator | 91fabd4e394ebd80d7e91e9b29569ebabbc0ede3 | [
"MIT"
] | 5 | 2015-02-25T14:53:11.000Z | 2019-04-10T20:32:09.000Z | src/experimentator/__init__.py | hsharrison/experimentator | 91fabd4e394ebd80d7e91e9b29569ebabbc0ede3 | [
"MIT"
] | 3 | 2016-10-17T21:23:46.000Z | 2021-07-13T08:04:16.000Z | from experimentator._patched_yaml import yaml
from experimentator.__version__ import __version__
from experimentator.experiment import Experiment, run_experiment_section, export_experiment_data
from experimentator.design import Design, DesignTree
class QuitSession(BaseException):
"""
An Exception indicating a... | 27.6 | 96 | 0.727536 | 82 | 690 | 5.853659 | 0.585366 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204348 | 690 | 24 | 97 | 28.75 | 0.874317 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
1db9c4de327cf184c90605c81b74ee731f7fa101 | 472 | py | Python | days/day010/bite_107_Filter_numbers_with_a_list_comprehension/test_bite_107.py | alex-vegan/100daysofcode-with-python-course | b6c12316abe18274b7963371b8f0ed2fd549ef07 | [
"MIT"
] | 2 | 2018-10-28T17:12:37.000Z | 2018-10-28T17:12:39.000Z | days/day010/bite_107_Filter_numbers_with_a_list_comprehension/test_bite_107.py | alex-vegan/100daysofcode-with-python-course | b6c12316abe18274b7963371b8f0ed2fd549ef07 | [
"MIT"
] | 3 | 2018-10-28T17:11:04.000Z | 2018-10-29T22:36:36.000Z | days/day010/bite_107_Filter_numbers_with_a_list_comprehension/test_bite_107.py | alex-vegan/100daysofcode-with-python-course | b6c12316abe18274b7963371b8f0ed2fd549ef07 | [
"MIT"
] | null | null | null | from bite_107 import filter_positive_even_numbers
def test_filter_positive_and_negatives():
numbers = list(range(-10, 11))
assert filter_positive_even_numbers(numbers) == [2, 4, 6, 8, 10]
def test_only_positives():
numbers = [2, 4, 51, 44, 47, 10]
assert filter_positive_even_numbers(number... | 27.764706 | 69 | 0.680085 | 68 | 472 | 4.382353 | 0.455882 | 0.234899 | 0.241611 | 0.33557 | 0.395973 | 0.395973 | 0.268456 | 0.268456 | 0 | 0 | 0 | 0.087071 | 0.197034 | 472 | 16 | 70 | 29.5 | 0.699208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1dd36b84643a7459fd8cba46fd5706dcbfbebf86 | 115 | py | Python | prl/environments/__init__.py | sliwy/prl | 0e4bfa5578d11890d21932f535b095f2657ed4ff | [
"MIT"
] | 51 | 2020-02-12T08:57:50.000Z | 2022-03-14T13:27:40.000Z | prl/environments/__init__.py | sliwy/prl | 0e4bfa5578d11890d21932f535b095f2657ed4ff | [
"MIT"
] | 4 | 2021-03-19T10:47:07.000Z | 2022-03-12T00:14:39.000Z | prl/environments/__init__.py | sliwy/prl | 0e4bfa5578d11890d21932f535b095f2657ed4ff | [
"MIT"
] | 4 | 2020-03-04T07:03:24.000Z | 2022-03-14T13:27:43.000Z | from prl.environments.environments import (
Environment,
FrameSkipEnvironment,
TimeShiftEnvironment,
)
| 19.166667 | 43 | 0.765217 | 8 | 115 | 11 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 5 | 44 | 23 | 0.926316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | 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 | 4 |
1df320c6832b39c8b35bebd6ca8c771e49ce0d2e | 38 | py | Python | tea/helpers/constants/default_values.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 218 | 2019-04-10T18:30:19.000Z | 2020-07-02T02:13:41.000Z | tea/helpers/constants/default_values.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 45 | 2019-04-12T04:01:12.000Z | 2020-07-11T16:15:26.000Z | tea/helpers/constants/default_values.py | corinneherzog/tea-lang | 48ef37111c14310ca648eb96f625ea9800f428a2 | [
"Apache-2.0"
] | 24 | 2019-04-15T03:35:37.000Z | 2020-05-27T04:35:10.000Z | DEFAULT_ALPHA_PARAMETER: float = 0.05
| 19 | 37 | 0.815789 | 6 | 38 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.105263 | 38 | 1 | 38 | 38 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
380e6096aed9587ffa1e9d1b0ff0a4302b5acc4f | 243 | py | Python | schemaless/guid.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 58 | 2015-04-30T07:36:45.000Z | 2022-01-20T03:37:09.000Z | schemaless/guid.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 1 | 2016-01-19T05:28:15.000Z | 2016-01-19T05:28:15.000Z | schemaless/guid.py | eklitzke/schemaless | eb2ca453a69e8af36980c53fcc66725116ae7971 | [
"0BSD"
] | 14 | 2015-04-14T09:10:53.000Z | 2020-05-09T01:53:17.000Z | import os
GUID_SIZE = 16
def raw_guid(size=GUID_SIZE):
return os.urandom(size)
def guid(size=GUID_SIZE):
return raw_guid(size=size).encode('hex')
def to_raw(s):
return s.decode('hex')
def to_str(r):
return r.encode('hex')
| 15.1875 | 44 | 0.679012 | 43 | 243 | 3.674419 | 0.372093 | 0.303797 | 0.139241 | 0.202532 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00995 | 0.17284 | 243 | 15 | 45 | 16.2 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
383ca5f3eabe57976e154663ed03a9d6f411956c | 213 | py | Python | run-rest-api.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | null | null | null | run-rest-api.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | 2 | 2020-09-24T19:01:18.000Z | 2020-09-24T19:31:55.000Z | run-rest-api.py | Trapov/osu-recognition | 703822f6700896f6d3e36b9fa005609f113fef73 | [
"MIT"
] | 1 | 2020-03-28T16:04:00.000Z | 2020-03-28T16:04:00.000Z | import uvicorn
RUNNABLE_PACKAGES_DIRECTORY = 'runnable_packages'
REST_MODULE = 'rest.api'
what_package_to_run = f'{RUNNABLE_PACKAGES_DIRECTORY}.{REST_MODULE}:app'
uvicorn.run(what_package_to_run, host="0.0.0.0") | 30.428571 | 72 | 0.812207 | 33 | 213 | 4.848485 | 0.484848 | 0.3 | 0.3125 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020101 | 0.065728 | 213 | 7 | 73 | 30.428571 | 0.78392 | 0 | 0 | 0 | 0 | 0 | 0.369159 | 0.219626 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.