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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0bba5475db829e8b08838f7efa5a6f64cda08aef | 86 | py | Python | examples/failure.py | KevinColemanInc/Testify | bd2fabfac64c99da22d078130b8061a773d6457f | [
"Apache-2.0"
] | null | null | null | examples/failure.py | KevinColemanInc/Testify | bd2fabfac64c99da22d078130b8061a773d6457f | [
"Apache-2.0"
] | null | null | null | examples/failure.py | KevinColemanInc/Testify | bd2fabfac64c99da22d078130b8061a773d6457f | [
"Apache-2.0"
] | null | null | null | import testify as T
class Test(T.TestCase):
def test(self):
assert False
| 14.333333 | 23 | 0.651163 | 13 | 86 | 4.307692 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267442 | 86 | 5 | 24 | 17.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 |
e7f1444ffdc0aff766c42d2f3ce4aeb0daf4597c | 1,339 | py | Python | search/service/api.py | Bennu-Li/phantoscope | 64445b83d155c9c4dc81d435ee1387c5ff1d2ee9 | [
"Apache-2.0"
] | null | null | null | search/service/api.py | Bennu-Li/phantoscope | 64445b83d155c9c4dc81d435ee1387c5ff1d2ee9 | [
"Apache-2.0"
] | null | null | null | search/service/api.py | Bennu-Li/phantoscope | 64445b83d155c9c4dc81d435ee1387c5ff1d2ee9 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2019-2020 Zilliz. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 46.172414 | 112 | 0.806572 | 196 | 1,339 | 5.403061 | 0.438776 | 0.05949 | 0.1322 | 0.030217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0159 | 0.107543 | 1,339 | 28 | 113 | 47.821429 | 0.870293 | 0.634802 | 0 | 0 | 0 | 0 | 0.108051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 4 |
e7f557cfec620a91ee9b7797bff390d2d28c4998 | 2,502 | py | Python | Blender/blender_tools/lights.py | gregnordin/python-notes_to_self | 6458271d585f5beabfd18577290de64b82666018 | [
"MIT"
] | 2 | 2017-04-18T18:41:44.000Z | 2022-03-19T20:18:25.000Z | Blender/blender_tools/lights.py | gregnordin/python-notes_to_self | 6458271d585f5beabfd18577290de64b82666018 | [
"MIT"
] | 10 | 2021-03-30T13:50:55.000Z | 2022-01-13T02:54:45.000Z | Blender/blender_tools/lights.py | gregnordin/python-notes_to_self | 6458271d585f5beabfd18577290de64b82666018 | [
"MIT"
] | 2 | 2021-05-07T19:20:08.000Z | 2021-11-11T20:37:57.000Z | import bpy
from math import pi
def point_light(location, rotation, power=1000.0, name="Light_pt"):
"""Point light.
Args:
power (float, optional): [description]. Defaults to 1000.0.
name (str, optional): [description]. Defaults to "Light_pt".
location ([type], optional): [description].... | 32.493506 | 79 | 0.657874 | 309 | 2,502 | 5.242718 | 0.161812 | 0.164198 | 0.233333 | 0.250617 | 0.783951 | 0.723457 | 0.723457 | 0.698148 | 0.587037 | 0.587037 | 0 | 0.019329 | 0.214229 | 2,502 | 76 | 80 | 32.921053 | 0.80468 | 0.446843 | 0 | 0.571429 | 0 | 0 | 0.035686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.057143 | 0 | 0.228571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 4 |
e7f7bcbd1d15ef59be62d066ea2bb553f80ad81b | 77 | py | Python | py2app/setup.py | ezgranet/mmp-calc | 739ee7bbeec47cb28988903fca9da00ff08b2df3 | [
"MIT"
] | 2 | 2020-08-24T05:46:35.000Z | 2021-03-11T22:20:36.000Z | py2app/setup.py | ezgranet/mmp-calc | 739ee7bbeec47cb28988903fca9da00ff08b2df3 | [
"MIT"
] | 1 | 2022-01-05T12:06:06.000Z | 2022-01-05T12:06:06.000Z | py2app/setup.py | ezgranet/mmp-calc | 739ee7bbeec47cb28988903fca9da00ff08b2df3 | [
"MIT"
] | null | null | null | from distutils.core import setup
import py2exe
setup(console=['mmp-calc.py']) | 25.666667 | 32 | 0.792208 | 12 | 77 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.077922 | 77 | 3 | 33 | 25.666667 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e7f9b5c82e7a298550142053fdc39f4f21ceb362 | 1,455 | py | Python | python/tests/t_request_header.py | viveksinghggits/ambassador | 76395e903bbc0040a6169e16641fe04acf0d2702 | [
"Apache-2.0"
] | 1 | 2021-01-05T18:27:18.000Z | 2021-01-05T18:27:18.000Z | python/tests/t_request_header.py | viveksinghggits/ambassador | 76395e903bbc0040a6169e16641fe04acf0d2702 | [
"Apache-2.0"
] | 1 | 2021-03-04T10:33:23.000Z | 2021-05-03T12:27:51.000Z | python/tests/t_request_header.py | viveksinghggits/ambassador | 76395e903bbc0040a6169e16641fe04acf0d2702 | [
"Apache-2.0"
] | 2 | 2020-10-01T18:59:27.000Z | 2021-02-04T06:23:18.000Z | from kat.harness import variants, Query
from abstract_tests import AmbassadorTest, ServiceType, HTTP
class XRequestIdHeaderPreserveTest(AmbassadorTest):
target: ServiceType
def init(self):
self.target = HTTP(name="target")
def config(self):
yield self.target, self.format("""
---
apiVersio... | 24.661017 | 94 | 0.682474 | 176 | 1,455 | 5.619318 | 0.323864 | 0.060667 | 0.060667 | 0.068756 | 0.746208 | 0.746208 | 0.746208 | 0.65723 | 0.65723 | 0.65723 | 0 | 0.004979 | 0.171821 | 1,455 | 58 | 95 | 25.086207 | 0.815768 | 0 | 0 | 0.765957 | 0 | 0 | 0.40756 | 0.019931 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.170213 | false | 0.021277 | 0.042553 | 0 | 0.297872 | 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 |
e7fd15652284d67fbab0bf095ba8621fbd654fb7 | 409 | py | Python | indoorair/profilebyjimmy/views.py | Jimmyjtc001/indoorair-webapp-a | e82da0512ac124fd0d5d9c31d8f537d55169cd02 | [
"BSD-3-Clause"
] | null | null | null | indoorair/profilebyjimmy/views.py | Jimmyjtc001/indoorair-webapp-a | e82da0512ac124fd0d5d9c31d8f537d55169cd02 | [
"BSD-3-Clause"
] | null | null | null | indoorair/profilebyjimmy/views.py | Jimmyjtc001/indoorair-webapp-a | e82da0512ac124fd0d5d9c31d8f537d55169cd02 | [
"BSD-3-Clause"
] | null | null | null | from django.shortcuts import render
from django.http import JsonResponse
def retrieve_profile_page(request):
return render(request, "profilebyjimmy/retrieve.html",{},)
def update_profile_page(request):
return render(request, "profilebyjimmy/update.html",{},)
def update_profile_api(request):
return JsonResp... | 21.526316 | 62 | 0.745721 | 46 | 409 | 6.456522 | 0.369565 | 0.175084 | 0.154882 | 0.20202 | 0.579125 | 0.343434 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0.146699 | 409 | 18 | 63 | 22.722222 | 0.851003 | 0 | 0 | 0.333333 | 0 | 0 | 0.132029 | 0.132029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f019655a6c19b2638e72bba2b8bb707f5ad6af82 | 87 | py | Python | capstone/capweb/apps.py | jcushman/capstone | ef3ced77f69aabe14c89ab67003a6e88736bf777 | [
"MIT"
] | null | null | null | capstone/capweb/apps.py | jcushman/capstone | ef3ced77f69aabe14c89ab67003a6e88736bf777 | [
"MIT"
] | 4 | 2021-09-02T20:54:31.000Z | 2022-02-27T14:04:06.000Z | capstone/capweb/apps.py | jcushman/capstone | ef3ced77f69aabe14c89ab67003a6e88736bf777 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CapwebConfig(AppConfig):
name = 'capweb'
| 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 |
f022a1ce2fa50d5cabda96e4a19bdbe183089ea6 | 9,382 | py | Python | src/model/ch20p1305_test.py | secworks/ChaCha20-Poly1305 | f9cb373191d1f73d3be3eee4e537be60df74c42f | [
"BSD-2-Clause"
] | 10 | 2016-08-22T20:18:16.000Z | 2022-01-29T23:28:19.000Z | src/model/ch20p1305_test.py | secworks/ChaCha20-Poly1305 | f9cb373191d1f73d3be3eee4e537be60df74c42f | [
"BSD-2-Clause"
] | 1 | 2017-08-24T17:07:06.000Z | 2017-08-25T10:21:40.000Z | src/model/ch20p1305_test.py | secworks/ChaCha20-Poly1305 | f9cb373191d1f73d3be3eee4e537be60df74c42f | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#=======================================================================
#
# ch20p1305_test.py
# -----------------
# Simple model of the Chacha20-Poly1305 construction as specified
# in RFC 7539 (https://tools.ietf.org/html/rfc7539). The model
# uses the test vectors in th... | 43.841121 | 83 | 0.520358 | 1,065 | 9,382 | 4.537089 | 0.347418 | 0.173841 | 0.235927 | 0.281457 | 0.425083 | 0.371689 | 0.371689 | 0.354305 | 0.354305 | 0.354305 | 0 | 0.231088 | 0.254637 | 9,382 | 213 | 84 | 44.046948 | 0.459888 | 0.367619 | 0 | 0.396226 | 0 | 0 | 0.029211 | 0 | 0 | 0 | 0.399727 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.037736 | 0 | 0.075472 | 0.103774 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f026b90cddbad4a242a2dc6f4d32ab0590dc7568 | 133 | py | Python | firstlanguage_python/controllers/__init__.py | FirstLanguage/fl-python | 1db77bbf41a78159451abb91e4e0cf3fd519ec54 | [
"MIT"
] | null | null | null | firstlanguage_python/controllers/__init__.py | FirstLanguage/fl-python | 1db77bbf41a78159451abb91e4e0cf3fd519ec54 | [
"MIT"
] | null | null | null | firstlanguage_python/controllers/__init__.py | FirstLanguage/fl-python | 1db77bbf41a78159451abb91e4e0cf3fd519ec54 | [
"MIT"
] | null | null | null | __all__ = [
'base_controller',
'basic_api_controller',
'advanced_api_controller',
'enterprise_only_controller',
]
| 19 | 33 | 0.684211 | 12 | 133 | 6.666667 | 0.666667 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 133 | 6 | 34 | 22.166667 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0.646154 | 0.376923 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f03c7c3709d218b89a925eeb8a6fa52a2dfc029e | 342 | py | Python | api/python/arrus/exceptions.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 11 | 2021-02-04T19:56:08.000Z | 2022-02-18T09:41:51.000Z | api/python/arrus/exceptions.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 60 | 2020-11-06T04:59:06.000Z | 2022-03-12T17:39:06.000Z | api/python/arrus/exceptions.py | us4useu/arrus | 10487b09f556e327ddb1bec28fbaccf3b8b08064 | [
"BSL-1.0",
"MIT"
] | 4 | 2021-07-22T16:13:06.000Z | 2021-12-13T08:53:31.000Z | """
Definition of exceptions thrown by arrus functions.
"""
class ArrusError(Exception):
pass
class IllegalArgumentError(ArrusError, ValueError):
pass
class DeviceNotFoundError(ArrusError, ValueError):
pass
class IllegalStateError(ArrusError, RuntimeError):
pass
class TimeoutError(ArrusError, T... | 15.545455 | 51 | 0.760234 | 31 | 342 | 8.387097 | 0.548387 | 0.138462 | 0.184615 | 0.223077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163743 | 342 | 22 | 52 | 15.545455 | 0.909091 | 0.149123 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f04067aa4244c1edd7dcd0e3d35eb4b84b236ae9 | 28,430 | py | Python | controller/api/south_migrations/0007_auto__del_flavor__del_unique_flavor_owner_id__del_layer__del_unique_la.py | yun-an/deis | de27c11475bb7ca24816f288aa115699a1c37e26 | [
"Apache-2.0"
] | 3,375 | 2015-01-01T04:03:45.000Z | 2022-02-08T14:53:45.000Z | controller/api/south_migrations/0007_auto__del_flavor__del_unique_flavor_owner_id__del_layer__del_unique_la.py | yun-an/deis | de27c11475bb7ca24816f288aa115699a1c37e26 | [
"Apache-2.0"
] | 2,422 | 2015-01-01T02:40:01.000Z | 2021-11-30T07:50:32.000Z | controller/api/south_migrations/0007_auto__del_flavor__del_unique_flavor_owner_id__del_layer__del_unique_la.py | yun-an/deis | de27c11475bb7ca24816f288aa115699a1c37e26 | [
"Apache-2.0"
] | 688 | 2015-01-01T00:36:48.000Z | 2022-01-22T00:32:07.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Removing unique constraint on 'Container', fields ['formation', 'port']
... | 59.106029 | 195 | 0.589518 | 3,323 | 28,430 | 4.927174 | 0.06139 | 0.067917 | 0.117999 | 0.16857 | 0.855433 | 0.806755 | 0.726379 | 0.672876 | 0.55787 | 0.512551 | 0 | 0.009064 | 0.212241 | 28,430 | 481 | 196 | 59.106029 | 0.722004 | 0.12733 | 0 | 0.335443 | 0 | 0 | 0.464432 | 0.235128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006329 | false | 0.003165 | 0.012658 | 0 | 0.028481 | 0.003165 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f04c613baa1c6a4b96b5e7f7576756130af354f9 | 619 | py | Python | util/colorlog.py | spWang/gitHooks | b98ccb25c2d683a3cec293a7b93458961d9b9dab | [
"MIT"
] | 11 | 2017-08-09T08:05:09.000Z | 2018-04-10T01:49:24.000Z | util/colorlog.py | spWang/gitHooks | b98ccb25c2d683a3cec293a7b93458961d9b9dab | [
"MIT"
] | null | null | null | util/colorlog.py | spWang/gitHooks | b98ccb25c2d683a3cec293a7b93458961d9b9dab | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
import re, os, sys
def logblack(msg):
print "\033[1;30;1m%s\033[0m" % msg;
pass
def logred(msg):
print "\033[1;31;1m%s\033[0m" % msg;
pass
def loggreen(msg):
print "\033[1;32;1m%s\033[0m" % msg;
pass
def logyellow(msg):
print "\033[1;33;1m%s\033[0m" ... | 17.194444 | 40 | 0.583199 | 116 | 619 | 3.103448 | 0.318966 | 0.177778 | 0.244444 | 0.266667 | 0.391667 | 0.391667 | 0.35 | 0 | 0 | 0 | 0 | 0.184265 | 0.219709 | 619 | 36 | 41 | 17.194444 | 0.561077 | 0.053312 | 0 | 0.32 | 0 | 0 | 0.287179 | 0.287179 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.32 | 0.04 | null | null | 0.32 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f05bf85f9be16c1041151e2b829c58fffedac804 | 162 | py | Python | virtualenv-test.py | vanbelle/CMPUT404--Lab1 | 9b77f9547b6db8b97b1ca1d96935522f63c30975 | [
"Apache-2.0"
] | null | null | null | virtualenv-test.py | vanbelle/CMPUT404--Lab1 | 9b77f9547b6db8b97b1ca1d96935522f63c30975 | [
"Apache-2.0"
] | null | null | null | virtualenv-test.py | vanbelle/CMPUT404--Lab1 | 9b77f9547b6db8b97b1ca1d96935522f63c30975 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import requests
print requests.__version__
response = requests.get('http://google.com/')
print response.status_code
print response.text
| 14.727273 | 45 | 0.777778 | 22 | 162 | 5.5 | 0.727273 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 162 | 10 | 46 | 16.2 | 0.834483 | 0.123457 | 0 | 0 | 0 | 0 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f073b6b80fdd7fb7f5c4362d00b7264d9a573588 | 397 | py | Python | mini-programs/memoization.py | fhansmann/coding-local | 6cb8e8fb8ad7ac619dfdd068cfd70559b04e4b6a | [
"MIT"
] | null | null | null | mini-programs/memoization.py | fhansmann/coding-local | 6cb8e8fb8ad7ac619dfdd068cfd70559b04e4b6a | [
"MIT"
] | null | null | null | mini-programs/memoization.py | fhansmann/coding-local | 6cb8e8fb8ad7ac619dfdd068cfd70559b04e4b6a | [
"MIT"
] | null | null | null | import time
ef_cache = {}
def expensive_func(num):
if num in ef_cache:
return ef_cache[num]
print "Computing {}...".format(num)
time.sleep(1)
result = num*num
ef_cache[num] = result
return result
result = expensive_func(4)
print result
result = expensive_func(10)
print result
resul... | 15.269231 | 39 | 0.690176 | 57 | 397 | 4.649123 | 0.333333 | 0.245283 | 0.316981 | 0.377358 | 0.498113 | 0.498113 | 0.498113 | 0.498113 | 0.498113 | 0.498113 | 0 | 0.022364 | 0.211587 | 397 | 25 | 40 | 15.88 | 0.824281 | 0 | 0 | 0.444444 | 0 | 0 | 0.037783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.277778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f079c2d3b02cb61a8f6cfd3829485422547df85c | 1,514 | py | Python | src/estacao.py | JnCM/TP_redes | 63cd8dc5814bb3e76b9ca4d75c2cd04da67db5a6 | [
"MIT"
] | null | null | null | src/estacao.py | JnCM/TP_redes | 63cd8dc5814bb3e76b9ca4d75c2cd04da67db5a6 | [
"MIT"
] | null | null | null | src/estacao.py | JnCM/TP_redes | 63cd8dc5814bb3e76b9ca4d75c2cd04da67db5a6 | [
"MIT"
] | null | null | null | #coding: utf-8
#Classe que define uma estação da simulação
class Estacao:
#Construtor da classe
def __init__(self, idEstacao):
#Atributo responsável por armazenar o identificador de uma estação
self.idEstacao = idEstacao
#Atributo responsável por armazenar o slot de transmissã... | 34.409091 | 96 | 0.67107 | 189 | 1,514 | 5.354497 | 0.301587 | 0.118577 | 0.106719 | 0.088933 | 0.332016 | 0.202569 | 0.121542 | 0.121542 | 0.083004 | 0 | 0 | 0.005566 | 0.287979 | 1,514 | 43 | 97 | 35.209302 | 0.93321 | 0.515192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
b2ea9d5f31c76e9dd14529f3cd49285a03a5fde6 | 25,967 | py | Python | tests/fixtures/authenticate.py | rackmetzler/pitchfork | af0ff8284214b53d6331c55ac38711c449e562a3 | [
"Apache-2.0"
] | 17 | 2015-11-05T10:55:05.000Z | 2020-05-14T15:51:33.000Z | tests/fixtures/authenticate.py | rackmetzler/pitchfork | af0ff8284214b53d6331c55ac38711c449e562a3 | [
"Apache-2.0"
] | 7 | 2015-12-29T20:15:28.000Z | 2018-10-17T18:17:26.000Z | tests/fixtures/authenticate.py | rackmetzler/pitchfork | af0ff8284214b53d6331c55ac38711c449e562a3 | [
"Apache-2.0"
] | 6 | 2016-01-21T19:09:14.000Z | 2018-09-22T03:04:32.000Z | # Copyright 2014 Dave Kludt
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 39.523592 | 79 | 0.290484 | 1,284 | 25,967 | 5.857477 | 0.145639 | 0.146922 | 0.172849 | 0.114081 | 0.808004 | 0.783141 | 0.684749 | 0.597926 | 0.517351 | 0.348358 | 0 | 0.093994 | 0.596026 | 25,967 | 656 | 80 | 39.583841 | 0.622974 | 0.021065 | 0 | 0.708723 | 0 | 0 | 0.310438 | 0.006967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
65143537e2432949fd571b54a12c562b05efe48a | 185 | py | Python | chat/forms.py | oussama4/sn | bf83a9caba0b1816119b572e4d511e8111152306 | [
"MIT"
] | 4 | 2018-09-08T16:39:09.000Z | 2021-12-17T16:24:37.000Z | chat/forms.py | oussama4/sn | bf83a9caba0b1816119b572e4d511e8111152306 | [
"MIT"
] | 3 | 2020-06-05T19:06:04.000Z | 2021-07-06T20:17:34.000Z | chat/forms.py | oussama4/sn | bf83a9caba0b1816119b572e4d511e8111152306 | [
"MIT"
] | 1 | 2018-09-08T16:39:09.000Z | 2018-09-08T16:39:09.000Z | from django.forms import ModelForm
from .models import Room
class RoomForm(ModelForm):
class Meta:
model = Room
fields = ('name', 'description', 'public')
| 20.555556 | 50 | 0.632432 | 20 | 185 | 5.85 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 185 | 9 | 51 | 20.555556 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 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 |
6523c3f3008aaa7f593e5377a1bbf81f1c15750d | 284 | py | Python | angora/text/__init__.py | MacHu-GWU/angora-project | 689a60da51cd88680ddbe26e28dbe81e6b01d275 | [
"MIT"
] | null | null | null | angora/text/__init__.py | MacHu-GWU/angora-project | 689a60da51cd88680ddbe26e28dbe81e6b01d275 | [
"MIT"
] | null | null | null | angora/text/__init__.py | MacHu-GWU/angora-project | 689a60da51cd88680ddbe26e28dbe81e6b01d275 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .formatter import fmt_title, fmt_sentence, fmt_name
from .rnd import (rand_str, rand_pwd, rand_phone, rand_ssn, rand_email,
rand_article)
from .rerecipe import ReParser as reparser
from .strtemplate import StrTemplate as strtpl | 35.5 | 72 | 0.767606 | 43 | 284 | 4.860465 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004082 | 0.137324 | 284 | 8 | 73 | 35.5 | 0.84898 | 0.147887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e8fdfb8b9afc19c4c7d4820341aa6575c0b2651b | 16,383 | py | Python | zvmsdk/tests/unit/test_database.py | jichenjc/python-zvm-sdk | c081805c6079107b4823af898babdf92cf5577ee | [
"Apache-2.0"
] | null | null | null | zvmsdk/tests/unit/test_database.py | jichenjc/python-zvm-sdk | c081805c6079107b4823af898babdf92cf5577ee | [
"Apache-2.0"
] | null | null | null | zvmsdk/tests/unit/test_database.py | jichenjc/python-zvm-sdk | c081805c6079107b4823af898babdf92cf5577ee | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 39.764563 | 78 | 0.624428 | 1,986 | 16,383 | 4.89577 | 0.113293 | 0.019336 | 0.037848 | 0.096267 | 0.793788 | 0.770544 | 0.73537 | 0.718503 | 0.695876 | 0.659262 | 0 | 0.055644 | 0.268327 | 16,383 | 411 | 79 | 39.861314 | 0.755485 | 0.078252 | 0 | 0.623762 | 0 | 0 | 0.179141 | 0.097381 | 0 | 0 | 0 | 0 | 0.122112 | 1 | 0.105611 | false | 0 | 0.029703 | 0 | 0.145215 | 0 | 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 |
3319662d073c7e1745cd2b80b5629faf51a74230 | 130 | py | Python | ckan/ckanext-ldap/ckanext/ldap/lib/__init__.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-ldap/ckanext/ldap/lib/__init__.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | ckan/ckanext-ldap/ckanext/ldap/lib/__init__.py | lorenzoeusepi77/ckan | 3a620e9c81ba1750d12941c02184092d507f71df | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
"""
Created by 'bens3' on 2013-06-21.
Copyright (c) 2013 'bens3'. All rights reserved.
""" | 21.666667 | 48 | 0.669231 | 21 | 130 | 4.142857 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 0.138462 | 130 | 6 | 49 | 21.666667 | 0.642857 | 0.915385 | 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 |
332be8f7261f83205655b2acb7d4527fbd9cdd92 | 1,315 | py | Python | data/test_main.py | Balaji-Gowda/backend-engineer | 2bcba2e23dc800cccc4e7a5fa1b38c8b9818640e | [
"MIT"
] | null | null | null | data/test_main.py | Balaji-Gowda/backend-engineer | 2bcba2e23dc800cccc4e7a5fa1b38c8b9818640e | [
"MIT"
] | null | null | null | data/test_main.py | Balaji-Gowda/backend-engineer | 2bcba2e23dc800cccc4e7a5fa1b38c8b9818640e | [
"MIT"
] | null | null | null | from main import *
def test_days():
assert days(flights)== 365
def test_cities():
assert cities(flights,airports) == ['Newark', 'New York']
def test_relationship():
assert relationship(flights,planes) == "one-to-many relationship"
def test_most_delays_manf():
assert most_delays_manf(flights) == ['EM... | 38.676471 | 154 | 0.429658 | 120 | 1,315 | 4.583333 | 0.558333 | 0.063636 | 0.050909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.286692 | 1,315 | 34 | 155 | 38.676471 | 0.541578 | 0.004563 | 0 | 0 | 0 | 0 | 0.142222 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.454545 | true | 0 | 0.090909 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
333299e8caf1daf633dde8e50447db0eaf0a861b | 148 | py | Python | Servidor/app_folder/run_app.py | alejandrosanchezm/SNPTool | 8bcfcf29bd5cb8a47870625a9eb4b0e2b9a75ee5 | [
"Apache-2.0"
] | null | null | null | Servidor/app_folder/run_app.py | alejandrosanchezm/SNPTool | 8bcfcf29bd5cb8a47870625a9eb4b0e2b9a75ee5 | [
"Apache-2.0"
] | null | null | null | Servidor/app_folder/run_app.py | alejandrosanchezm/SNPTool | 8bcfcf29bd5cb8a47870625a9eb4b0e2b9a75ee5 | [
"Apache-2.0"
] | null | null | null | from app import app
"""
Se encarga de ejecutar la aplicación de Flask.
"""
if __name__ == "__main__":
app.run(host="192.168.1.67", debug=True) | 18.5 | 46 | 0.675676 | 24 | 148 | 3.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.168919 | 148 | 8 | 47 | 18.5 | 0.674797 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 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 |
333966a9356773b21b65b5ed07b3400ab47faa86 | 85 | py | Python | wikis/apps.py | aristo-master/uzuwiki | 3149253765c14edc1637e589d904bb950f04e193 | [
"MIT"
] | null | null | null | wikis/apps.py | aristo-master/uzuwiki | 3149253765c14edc1637e589d904bb950f04e193 | [
"MIT"
] | null | null | null | wikis/apps.py | aristo-master/uzuwiki | 3149253765c14edc1637e589d904bb950f04e193 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WikisConfig(AppConfig):
name = 'wikis'
| 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 |
3352c1c53acc833a3f39a887dd3bdb3af22b860e | 142 | py | Python | atcoder/abc159A_the_number_of_even_pairs.py | da-edra/kyopro | ad531d15bcccf6aafdaaef3cc69db850b0f7c471 | [
"BSD-3-Clause"
] | 2 | 2020-08-31T17:19:07.000Z | 2021-01-08T21:35:48.000Z | atcoder/abc159A_the_number_of_even_pairs.py | edglaz/kyopro | b8ac4f6873418ad20ad417e46d731c35a8062c0d | [
"BSD-3-Clause"
] | null | null | null | atcoder/abc159A_the_number_of_even_pairs.py | edglaz/kyopro | b8ac4f6873418ad20ad417e46d731c35a8062c0d | [
"BSD-3-Clause"
] | null | null | null | # unihernandez22
# https://atcoder.jp/contests/abc159/tasks/abc159_a
# math
print(sum(map(lambda i: int(i)*(int(i)-1)//2, input().split())))
| 23.666667 | 64 | 0.683099 | 23 | 142 | 4.173913 | 0.826087 | 0.083333 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 0.077465 | 142 | 5 | 65 | 28.4 | 0.656489 | 0.485915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
33580c550f3b3b467e54b29463c8d8f59f2d07a5 | 416 | py | Python | swcms_social/faq/serializers.py | ivanff/swcms | 20d121003243abcc26e41409bc44f1c0ef3c6c2a | [
"MIT"
] | null | null | null | swcms_social/faq/serializers.py | ivanff/swcms | 20d121003243abcc26e41409bc44f1c0ef3c6c2a | [
"MIT"
] | 1 | 2019-06-25T11:17:35.000Z | 2019-06-25T11:17:54.000Z | swcms_social/faq/serializers.py | ivanff/swcms-social | 20d121003243abcc26e41409bc44f1c0ef3c6c2a | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Faq
class FaqSerList(serializers.ModelSerializer):
subject = serializers.ReadOnlyField(source='subject.h1')
class Meta:
model = Faq
exclude = ('text',)
class FaqSerRetrieve(serializers.ModelSerializer):
subject = serializers.Rea... | 21.894737 | 60 | 0.697115 | 41 | 416 | 6.95122 | 0.512195 | 0.182456 | 0.231579 | 0.308772 | 0.624561 | 0.624561 | 0.624561 | 0.624561 | 0.624561 | 0.624561 | 0 | 0.006098 | 0.211538 | 416 | 18 | 61 | 23.111111 | 0.862805 | 0 | 0 | 0.5 | 0 | 0 | 0.074519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6822cd5a749f13d778ceb96330739dbbec6ece1a | 256 | py | Python | NoteBooks/Curso de Python/Python/Modulos/os/OS_concepts.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | 1 | 2021-02-26T13:12:22.000Z | 2021-02-26T13:12:22.000Z | NoteBooks/Curso de Python/Python/Modulos/os/OS_concepts.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | NoteBooks/Curso de Python/Python/Modulos/os/OS_concepts.py | Alejandro-sin/Learning_Notebooks | 161d6bed4c7b1d171b45f61c0cc6fa91e9894aad | [
"MIT"
] | null | null | null | import os
cwd = os.getcwd()
print(os.path)
print(cwd) # Me trae todo lo que tiene que ver con el ditrectorio de trbajo.
print(os.listdir(cwd)) # Me traer el contenido.
print(os.path.isdir('projects')) # True
print(os.path.isdir('false_projects')) # False | 28.444444 | 76 | 0.726563 | 44 | 256 | 4.204545 | 0.568182 | 0.151351 | 0.178378 | 0.172973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 256 | 9 | 77 | 28.444444 | 0.833333 | 0.378906 | 0 | 0 | 0 | 0 | 0.141935 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
682450a2090ee98e8a46d495997db1f713080e6b | 157 | py | Python | handler.py | vincentsarago/threadbench | 6b67b9e882d368b4264d99312480cefd38a768be | [
"MIT"
] | 3 | 2020-06-29T21:31:59.000Z | 2020-08-09T01:13:25.000Z | handler.py | vincentsarago/threadbench | 6b67b9e882d368b4264d99312480cefd38a768be | [
"MIT"
] | null | null | null | handler.py | vincentsarago/threadbench | 6b67b9e882d368b4264d99312480cefd38a768be | [
"MIT"
] | null | null | null | """handler."""
import pytest
def handler(event, context):
"""handler."""
pytest.main(["tests/test_benchmarks.py"], ["benchmark"])
return True
| 15.7 | 60 | 0.630573 | 17 | 157 | 5.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 157 | 9 | 61 | 17.444444 | 0.748092 | 0.10828 | 0 | 0 | 0 | 0 | 0.255814 | 0.186047 | 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 |
68547a1d56739ee0e0ec6352711edc6cfcc59800 | 127 | py | Python | stage/event/test_local_fs_destination.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | null | null | null | stage/event/test_local_fs_destination.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | 1 | 2019-04-24T11:06:38.000Z | 2019-04-24T11:06:38.000Z | stage/event/test_local_fs_destination.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 2 | 2019-05-24T06:34:37.000Z | 2020-03-30T11:48:18.000Z | from streamsets.testframework.decorators import stub
@stub
def test_whole_file_processed(sdc_builder, sdc_executor):
pass
| 21.166667 | 57 | 0.834646 | 17 | 127 | 5.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 5 | 58 | 25.4 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
686cbb3a2fa541f8b0c8c0293a599d4e4b030550 | 145 | py | Python | fwl-automation-decisions/application/src/application/zone_connection/ZoneConnectionDTO.py | aherculano/fwl-project | 6d4c4d40393b76d45cf13b572b5aabc0696e9285 | [
"MIT"
] | null | null | null | fwl-automation-decisions/application/src/application/zone_connection/ZoneConnectionDTO.py | aherculano/fwl-project | 6d4c4d40393b76d45cf13b572b5aabc0696e9285 | [
"MIT"
] | null | null | null | fwl-automation-decisions/application/src/application/zone_connection/ZoneConnectionDTO.py | aherculano/fwl-project | 6d4c4d40393b76d45cf13b572b5aabc0696e9285 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class ZoneConnectionDTO(ABC):
@abstractmethod
def to_dict(self):
raise NotImplementedError
| 18.125 | 35 | 0.737931 | 15 | 145 | 7.066667 | 0.8 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 145 | 7 | 36 | 20.714286 | 0.921739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
686dda9873ace7b697e4d7cda5dbc09016d0b005 | 100 | py | Python | boot/payload/usr/lib/cgi-bin/test.py | rshom/DEEPi-OS | 80fdb9638b241c22471fc7e108fe2f24c577bfca | [
"MIT"
] | null | null | null | boot/payload/usr/lib/cgi-bin/test.py | rshom/DEEPi-OS | 80fdb9638b241c22471fc7e108fe2f24c577bfca | [
"MIT"
] | null | null | null | boot/payload/usr/lib/cgi-bin/test.py | rshom/DEEPi-OS | 80fdb9638b241c22471fc7e108fe2f24c577bfca | [
"MIT"
] | 1 | 2020-11-12T22:18:42.000Z | 2020-11-12T22:18:42.000Z | #!/bin/python3
print("Status: 200")
print("Content-Type: text/plain")
print()
print("Hello World!")
| 16.666667 | 33 | 0.69 | 14 | 100 | 4.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.08 | 100 | 5 | 34 | 20 | 0.706522 | 0.13 | 0 | 0 | 0 | 0 | 0.546512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
68a03e62b3a0eb667279637660f85c775cd4723c | 146 | py | Python | src/anilius/core/permission.py | sadegh-moayedizadeh/Anilius | 669cb9a7af72ae251a979a88f6556d14ccb63c2f | [
"MIT"
] | 3 | 2020-02-07T11:54:36.000Z | 2020-02-09T11:53:26.000Z | src/anilius/core/permission.py | TomanPay/Anilius | 24a7ff3ae8bd21901e46b475feadf72e46516481 | [
"MIT"
] | null | null | null | src/anilius/core/permission.py | TomanPay/Anilius | 24a7ff3ae8bd21901e46b475feadf72e46516481 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Permission(ABC):
@abstractmethod
def has_perm(self, controller):
raise NotImplemented
| 18.25 | 35 | 0.726027 | 16 | 146 | 6.5625 | 0.8125 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212329 | 146 | 7 | 36 | 20.857143 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
68a51f7f8827c1c13feaf009b8c226c9200360e0 | 91 | py | Python | shipping/apps.py | kevin-ci/janeric2 | df07508a76ad8194a63be7786d8b84a905b3d2e9 | [
"MIT"
] | 1 | 2021-02-28T11:54:14.000Z | 2021-02-28T11:54:14.000Z | shipping/apps.py | kevin-ci/janeric2 | df07508a76ad8194a63be7786d8b84a905b3d2e9 | [
"MIT"
] | 17 | 2019-01-04T00:36:31.000Z | 2019-01-24T14:01:08.000Z | bookstore/apps/shipping/apps.py | jgmartinss/bookstore | e629d5b58ed8f59f7b33b7a76da97a014f196f72 | [
"MIT"
] | 1 | 2021-12-21T16:20:49.000Z | 2021-12-21T16:20:49.000Z | from django.apps import AppConfig
class ShippingConfig(AppConfig):
name = 'shipping'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
d7c0a94a821433e5966176a04d5c7407853c2b63 | 436 | py | Python | alive_progress/utils/terminal/void.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 3,304 | 2019-08-05T07:16:40.000Z | 2022-03-31T11:50:57.000Z | alive_progress/utils/terminal/void.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 126 | 2019-08-07T09:08:32.000Z | 2022-03-31T14:27:17.000Z | alive_progress/utils/terminal/void.py | Shinyh29/alive-progress | 767445917e7cb384981c0dc29b3b3204384353b1 | [
"MIT"
] | 151 | 2019-08-12T19:14:15.000Z | 2022-03-31T07:17:48.000Z | def write(_text):
return 0
def flush():
pass
def _emit_ansi_escape(_=''):
def inner(_=None):
pass
return inner
clear_line = _emit_ansi_escape()
clear_end = _emit_ansi_escape()
hide_cursor = _emit_ansi_escape()
show_cursor = _emit_ansi_escape()
factory_cursor_up = lambda _: _emit_ansi_esca... | 15.571429 | 73 | 0.706422 | 59 | 436 | 4.711864 | 0.525424 | 0.172662 | 0.302158 | 0.122302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005666 | 0.190367 | 436 | 27 | 74 | 16.148148 | 0.78187 | 0.12844 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.125 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
d7c947bffaf8fe8b1287d60dc7d068f796a98c38 | 333 | py | Python | pyfor/__init__.py | jtpils/pyfor | 2277f3604d650c89205cd477544bf50c1f91b46c | [
"MIT"
] | 1 | 2019-06-23T05:17:52.000Z | 2019-06-23T05:17:52.000Z | pyfor/__init__.py | jtpils/pyfor | 2277f3604d650c89205cd477544bf50c1f91b46c | [
"MIT"
] | null | null | null | pyfor/__init__.py | jtpils/pyfor | 2277f3604d650c89205cd477544bf50c1f91b46c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
__version__ = '0.3.3'
from pyfor import cloud
from pyfor import rasterizer
from pyfor import gisexport
from pyfor import clip
from pyfor import ground_filter
from pyfor import plot
from pyfor import collection
from pyfor import voxelizer
from pyfor import detection
from pyfor im... | 22.2 | 38 | 0.837838 | 50 | 333 | 5.38 | 0.38 | 0.334572 | 0.557621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010563 | 0.147147 | 333 | 14 | 39 | 23.785714 | 0.93662 | 0 | 0 | 0 | 0 | 0 | 0.015015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.916667 | 0 | 0.916667 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d7fd379437e9aa016591bad82cf976e009ec2c19 | 1,735 | py | Python | loadbalancer/validator.py | angelbarrera92/simple-python-load-balancer | d17c3a9ef7fb9b2400e9a547143ec9a240699d5e | [
"MIT"
] | 1 | 2020-04-10T19:22:27.000Z | 2020-04-10T19:22:27.000Z | loadbalancer/validator.py | angelbarrera92/simple-python-load-balancer | d17c3a9ef7fb9b2400e9a547143ec9a240699d5e | [
"MIT"
] | null | null | null | loadbalancer/validator.py | angelbarrera92/simple-python-load-balancer | d17c3a9ef7fb9b2400e9a547143ec9a240699d5e | [
"MIT"
] | null | null | null | from jsonschema import validate
import jsonschema, sys
user_schema = {
"type": "object",
"properties": {
"email": {"type": "string", "pattern": "(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)"},
"password": {"type": "string", "minLength": 6, "maxLength": 30},
},
"required": ["email"... | 28.916667 | 101 | 0.588473 | 199 | 1,735 | 4.969849 | 0.271357 | 0.048534 | 0.084934 | 0.078868 | 0.71183 | 0.71183 | 0.71183 | 0.71183 | 0.69363 | 0.69363 | 0 | 0.01566 | 0.227089 | 1,735 | 60 | 102 | 28.916667 | 0.721849 | 0.097983 | 0 | 0.479167 | 0 | 0.020833 | 0.21859 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.041667 | 0.041667 | 0 | 0.229167 | 0 | 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 |
cc0d2abcbbb87596961d91592ef0202b0be24f98 | 217 | py | Python | src/waldur_mastermind/marketplace_rancher/registrators.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_mastermind/marketplace_rancher/registrators.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_mastermind/marketplace_rancher/registrators.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | from waldur_mastermind.marketplace import registrators as marketplace_registrators
from . import PLUGIN_NAME
class RancherRegistrator(marketplace_registrators.MarketplaceRegistrator):
plugin_name = PLUGIN_NAME
| 27.125 | 82 | 0.866359 | 22 | 217 | 8.272727 | 0.545455 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101382 | 217 | 7 | 83 | 31 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
cc1bfd0a4e9ddefb109574d3f8383722d87ecde5 | 174 | py | Python | app/t1health_app/data_entry.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | null | null | null | app/t1health_app/data_entry.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | 3 | 2020-02-11T23:48:20.000Z | 2021-06-10T21:22:43.000Z | app/t1health_app/data_entry.py | siyaochen/Tier1Health | 536591a7534bbb3fb27fe889bfed9de152ec1864 | [
"MIT"
] | 3 | 2019-01-13T19:51:42.000Z | 2019-01-19T16:52:50.000Z | from django import forms
from .models import Statistic
class StatisticForm(forms.ModelForm):
class Meta:
model = Statistic
fields = ('title', 'text',)
| 17.4 | 37 | 0.666667 | 19 | 174 | 6.105263 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 174 | 9 | 38 | 19.333333 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 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 |
cc26763886ae67934fd6f64562b64bae04201b0a | 3,546 | py | Python | ST7735/Fonts.py | Hafnernuss/ESP8266Libraries | 7d4f3b7f3d7e99a42b4963583254271060f41626 | [
"Apache-2.0"
] | null | null | null | ST7735/Fonts.py | Hafnernuss/ESP8266Libraries | 7d4f3b7f3d7e99a42b4963583254271060f41626 | [
"Apache-2.0"
] | null | null | null | ST7735/Fonts.py | Hafnernuss/ESP8266Libraries | 7d4f3b7f3d7e99a42b4963583254271060f41626 | [
"Apache-2.0"
] | null | null | null | terminalfont = {
"width": 6,
"height": 8,
"start": 32,
"end": 127,
"data": bytearray([
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x06, 0x5F, 0x06, 0x00,
0x00, 0x07, 0x03, 0x00, 0x07, 0x03,
0x00, 0x24, 0x7E, 0x24, 0x7E, 0x24,
0x00, 0x24, 0x2B, 0x6A, 0x12, 0x00,
0x00, 0x63, 0x13, 0x08, 0x64, 0x63,
0x00, 0x36, 0x49,... | 34.096154 | 35 | 0.664129 | 587 | 3,546 | 4.011925 | 0.156729 | 0.227601 | 0.132484 | 0.081529 | 0.261571 | 0.064544 | 0.044161 | 0.030573 | 0.030573 | 0 | 0 | 0.553451 | 0.166385 | 3,546 | 103 | 36 | 34.427184 | 0.243234 | 0 | 0 | 0 | 0 | 0 | 0.006486 | 0 | 0 | 0 | 0.649746 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cc331f2e5da8cad262ec904564c7128e19b7edc3 | 96 | py | Python | import_data/apps.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 17 | 2020-03-24T18:51:08.000Z | 2022-03-18T21:39:43.000Z | import_data/apps.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 39 | 2020-03-25T09:17:52.000Z | 2020-07-23T08:06:42.000Z | import_data/apps.py | cjb/quantified-flu | c925c95704de846aab16273807ebc75f52024816 | [
"MIT"
] | 3 | 2020-03-25T12:18:23.000Z | 2020-05-16T11:03:07.000Z | from django.apps import AppConfig
class ImportDataConfig(AppConfig):
name = "import_data"
| 16 | 34 | 0.770833 | 11 | 96 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 35 | 19.2 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1.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 |
0bdfa1b239a962dd2b1f2b4ed85eb0a7005381f9 | 92 | py | Python | src/geneagrapher/graph/__init__.py | d-torrance/Geneagrapher | 036bec11ac63771ec5dab6a22f3175853a5b2bfe | [
"MIT"
] | null | null | null | src/geneagrapher/graph/__init__.py | d-torrance/Geneagrapher | 036bec11ac63771ec5dab6a22f3175853a5b2bfe | [
"MIT"
] | null | null | null | src/geneagrapher/graph/__init__.py | d-torrance/Geneagrapher | 036bec11ac63771ec5dab6a22f3175853a5b2bfe | [
"MIT"
] | null | null | null | from graph import DuplicateNodeError, Graph
from node import Node
from record import Record
| 23 | 43 | 0.847826 | 13 | 92 | 6 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 3 | 44 | 30.666667 | 0.987342 | 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 |
04018c94fbbbbcce6eef08ce32f4e048cc8378ed | 121 | py | Python | ev3sim/events.py | LEGO-Robotics/EV3Sim | 3a194bc5de05d80ed867a4d2bb282b7a864462d5 | [
"BSD-3-Clause"
] | 11 | 2020-08-15T18:28:02.000Z | 2022-03-10T05:07:08.000Z | ev3sim/events.py | LEGO-Robotics/EV3Sim | 3a194bc5de05d80ed867a4d2bb282b7a864462d5 | [
"BSD-3-Clause"
] | 153 | 2020-08-15T14:54:04.000Z | 2021-12-04T23:15:17.000Z | ev3sim/events.py | LEGO-Robotics/EV3Sim | 3a194bc5de05d80ed867a4d2bb282b7a864462d5 | [
"BSD-3-Clause"
] | 13 | 2020-08-15T14:09:16.000Z | 2021-12-03T05:54:41.000Z | GAME_RESET = "on_reset"
GOAL_SCORED = "on_goal_scored"
START_PENALTY = "on_penalty_start"
END_PENALTY = "on_penalty_end"
| 24.2 | 34 | 0.801653 | 19 | 121 | 4.526316 | 0.421053 | 0.232558 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 4 | 35 | 30.25 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0.429752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0422cc1e92451d65223de5eb78e2b269ae8c06fb | 133 | py | Python | srcs/ast/nodes/leaves/complex_number_node.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/ast/nodes/leaves/complex_number_node.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/ast/nodes/leaves/complex_number_node.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | from srcs.ast.nodes.leaves.abstract_leave_node import AbstractLeaveNode
class ComplexNumberNode(AbstractLeaveNode):
name = '5'
| 22.166667 | 71 | 0.81203 | 15 | 133 | 7.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.112782 | 133 | 5 | 72 | 26.6 | 0.889831 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 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 |
0423bc033c3378c739e32e7e7f051ab3a0350e41 | 727 | py | Python | tests/unit/test_api_tools.py | cglewis/vent | 73723271cea018afd5345baa782cc903ebf6825a | [
"Apache-2.0"
] | 75 | 2016-07-02T21:50:32.000Z | 2022-02-04T12:39:00.000Z | tests/unit/test_api_tools.py | CyberReboot/vent | 5ca8baf82b4198f38609e1fc471ebd278335536f | [
"Apache-2.0"
] | 1,317 | 2016-07-03T21:57:15.000Z | 2019-12-24T21:49:20.000Z | tests/unit/test_api_tools.py | cglewis/vent | 73723271cea018afd5345baa782cc903ebf6825a | [
"Apache-2.0"
] | 75 | 2016-07-02T21:50:41.000Z | 2020-11-26T14:38:28.000Z | from vent.api.tools import Tools
def test_configure():
""" Test the configure function """
tools = Tools()
tools.configure('foo')
def test_new():
""" Test the new function """
tools = Tools()
tools.new('image', 'redis')
tools.new('core', '')
tools.new('repo', 'https://github.com/cybe... | 21.382353 | 67 | 0.618982 | 87 | 727 | 5.114943 | 0.275862 | 0.224719 | 0.202247 | 0.258427 | 0.231461 | 0.166292 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204952 | 727 | 33 | 68 | 22.030303 | 0.769896 | 0.177442 | 0 | 0.277778 | 0 | 0 | 0.250883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0 | 0.333333 | 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 |
0424bed5a3cc93db1a2e369f7f3bb60054dd6e19 | 97 | py | Python | attendances/apps.py | wilmoz/attendance-django | c08405079406d8b2a7307643c48d173e5d8d57b8 | [
"MIT"
] | 4 | 2016-11-02T20:38:22.000Z | 2022-02-11T11:39:01.000Z | attendances/apps.py | wilmoz/attendance-django | c08405079406d8b2a7307643c48d173e5d8d57b8 | [
"MIT"
] | null | null | null | attendances/apps.py | wilmoz/attendance-django | c08405079406d8b2a7307643c48d173e5d8d57b8 | [
"MIT"
] | 1 | 2018-05-22T01:44:52.000Z | 2018-05-22T01:44:52.000Z | from django.apps import AppConfig
class AttendancesConfig(AppConfig):
name = 'attendances'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
043a8a6a527090bfc550139a3c4f7ccd02cf2312 | 99 | py | Python | escolaridade/apps.py | Bleno/sisgestor-django | c35f76eafc3e51afb99c84245e01881cef43aa5b | [
"MIT"
] | 1 | 2017-04-27T19:26:49.000Z | 2017-04-27T19:26:49.000Z | escolaridade/apps.py | Bleno/sisgestor-django | c35f76eafc3e51afb99c84245e01881cef43aa5b | [
"MIT"
] | null | null | null | escolaridade/apps.py | Bleno/sisgestor-django | c35f76eafc3e51afb99c84245e01881cef43aa5b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EscolaridadeConfig(AppConfig):
name = 'escolaridade'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
045d2fcfd1ee2227bf5832e324bcc245aaaa3e77 | 3,432 | py | Python | etl/parsers/etw/Microsoft_Windows_International_RegionalOptionsControlPanel.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 104 | 2020-03-04T14:31:31.000Z | 2022-03-28T02:59:36.000Z | etl/parsers/etw/Microsoft_Windows_International_RegionalOptionsControlPanel.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 7 | 2020-04-20T09:18:39.000Z | 2022-03-19T17:06:19.000Z | etl/parsers/etw/Microsoft_Windows_International_RegionalOptionsControlPanel.py | IMULMUL/etl-parser | 76b7c046866ce0469cd129ee3f7bb3799b34e271 | [
"Apache-2.0"
] | 16 | 2020-03-05T18:55:59.000Z | 2022-03-01T10:19:28.000Z | # -*- coding: utf-8 -*-
"""
Microsoft-Windows-International-RegionalOptionsControlPanel
GUID : c6bf6832-f7bd-4151-ac21-753ce4707453
"""
from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct
from etl.utils import WString, CString, SystemTime, Guid
fro... | 32.685714 | 123 | 0.752914 | 381 | 3,432 | 6.577428 | 0.167979 | 0.089385 | 0.162011 | 0.312849 | 0.817638 | 0.817638 | 0.789705 | 0.431764 | 0.431764 | 0.431764 | 0 | 0.16425 | 0.136072 | 3,432 | 104 | 124 | 33 | 0.680944 | 0.036713 | 0 | 0.361111 | 0 | 0 | 0.1835 | 0.141947 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f091f0911acf849365a51db21113cd3c63d6a854 | 176 | py | Python | python_modules/dagster/dagster/core/storage/schedules/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/dagster/dagster/core/storage/schedules/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/dagster/dagster/core/storage/schedules/__init__.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | from .base import ScheduleStorage
from .schema import ScheduleStorageSqlMetadata
from .sql_schedule_storage import SqlScheduleStorage
from .sqlite import SqliteScheduleStorage
| 35.2 | 52 | 0.886364 | 18 | 176 | 8.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 176 | 4 | 53 | 44 | 0.9625 | 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 |
f0b898d85cae838163f11406e507ed4062da986f | 75 | py | Python | tests/strings/lstrip1.py | treeform/pystorm | 3a2224bcdaccc5a2abf6a820c0bcf7afa3e6fed4 | [
"MIT"
] | 50 | 2015-03-24T19:45:34.000Z | 2022-02-20T04:34:26.000Z | tests/strings/lstrip1.py | dusty-phillips/pyjaco | 066895ae38d1828498e529c1875cb88df6cbc54d | [
"MIT"
] | 2 | 2017-02-26T09:43:07.000Z | 2017-03-06T20:04:24.000Z | tests/strings/lstrip1.py | Slater-Victoroff/pyjaco | 89c4e3c46399c5023b0e160005d855a01241c58a | [
"MIT"
] | 12 | 2016-03-07T09:30:49.000Z | 2021-09-05T20:38:47.000Z |
s = "abcxyz"
print "original("+s+")"
print "strip("+s.lstrip("cba")+")"
| 10.714286 | 34 | 0.546667 | 10 | 75 | 4.1 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 6 | 35 | 12.5 | 0.630769 | 0 | 0 | 0 | 0 | 0 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f0d52113ac6472c2476145c52fb301284e0e32e4 | 99 | py | Python | cride/circles/models/__init__.py | jpablocardona/platzi-django-advance | 591fbfbb318ba235933544e585a6866ede829d63 | [
"MIT"
] | null | null | null | cride/circles/models/__init__.py | jpablocardona/platzi-django-advance | 591fbfbb318ba235933544e585a6866ede829d63 | [
"MIT"
] | 6 | 2020-06-06T01:34:33.000Z | 2022-03-12T00:21:34.000Z | cride/circles/models/__init__.py | jpablocardona/platzi-django-advance | 591fbfbb318ba235933544e585a6866ede829d63 | [
"MIT"
] | null | null | null | from .cicles import Circle
from .memberships import Membership
from .invitations import Invitation
| 24.75 | 35 | 0.848485 | 12 | 99 | 7 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 99 | 3 | 36 | 33 | 0.965517 | 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 |
9bcccdd9968a76b96630888a7794fc6481e14f03 | 63 | py | Python | tests/syntax/unicode_quote3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 45 | 2021-07-06T03:30:20.000Z | 2022-03-16T17:30:58.000Z | tests/syntax/unicode_quote3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 110 | 2021-06-28T11:48:46.000Z | 2022-03-25T20:41:25.000Z | tests/syntax/unicode_quote3.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 4 | 2021-07-05T20:56:39.000Z | 2021-11-11T20:24:34.000Z | # unicode quote not in pair; mistaken <
if a ‹ hello:
pass
| 15.75 | 39 | 0.650794 | 11 | 63 | 3.818182 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 63 | 3 | 40 | 21 | 0.891304 | 0.587302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9bccf966a88fcfd2112c52286f3a624c5615246b | 137 | py | Python | sct4.py | PythonProgramming/MPI4Py-Parallel-Computing-tutorial | 3cb408738fd4306d33757d640c2757686f22bb79 | [
"MIT"
] | 4 | 2017-09-15T17:01:27.000Z | 2021-11-15T06:35:01.000Z | sct4.py | PythonProgramming/MPI4Py-Parallel-Computing-tutorial | 3cb408738fd4306d33757d640c2757686f22bb79 | [
"MIT"
] | null | null | null | sct4.py | PythonProgramming/MPI4Py-Parallel-Computing-tutorial | 3cb408738fd4306d33757d640c2757686f22bb79 | [
"MIT"
] | 5 | 2018-07-14T11:47:14.000Z | 2021-05-31T02:21:10.000Z | from mpi4py import MPI
comm = MPI.COMM_WORLD
rank=comm.rank
size=comm.size
print 'Rank:',rank
print 'Node Count:',size
print 9**(rank+3)
| 17.125 | 24 | 0.744526 | 25 | 137 | 4.04 | 0.52 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.116788 | 137 | 7 | 25 | 19.571429 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | 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 |
9bcf3004437c13a1ac677a23048dbbec19e28cec | 164 | py | Python | tests/mdown/examples/code/code.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | 1 | 2020-10-09T22:57:20.000Z | 2020-10-09T22:57:20.000Z | tests/mdown/examples/code/code.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | null | null | null | tests/mdown/examples/code/code.py | looking-for-a-job/mdown.py | 75733ceaf4c6970d0e631b6efdfcd422098cea65 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import mdown
string = """```bash
$ [sudo] pip install readme-md
```"""
assert string == mdown.code("$ [sudo] pip install readme-md", "bash")
| 20.5 | 69 | 0.640244 | 23 | 164 | 4.565217 | 0.652174 | 0.133333 | 0.266667 | 0.380952 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 7 | 70 | 23.428571 | 0.744681 | 0.121951 | 0 | 0 | 0 | 0 | 0.531469 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 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 |
9bd3bb538686f839606627f6c046e212211a3be3 | 158 | py | Python | Python/driver.py | stivenramireza/uber-oop | 56f9f78d2c01d59f62cb59671d90a90c69e8b099 | [
"MIT"
] | null | null | null | Python/driver.py | stivenramireza/uber-oop | 56f9f78d2c01d59f62cb59671d90a90c69e8b099 | [
"MIT"
] | null | null | null | Python/driver.py | stivenramireza/uber-oop | 56f9f78d2c01d59f62cb59671d90a90c69e8b099 | [
"MIT"
] | null | null | null | from account import Account
class Driver(Account):
def __init__(self, name: str, document: str) -> None:
super().__init__(name, document)
| 22.571429 | 58 | 0.658228 | 19 | 158 | 5.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227848 | 158 | 6 | 59 | 26.333333 | 0.786885 | 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 |
9bda365c251254dfaa4696ab32f3a444723fcf98 | 620 | py | Python | codigo/Live32/myfunctor.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 572 | 2018-04-03T03:17:08.000Z | 2022-03-31T19:05:32.000Z | codigo/Live32/myfunctor.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 176 | 2018-05-18T15:56:16.000Z | 2022-03-28T20:39:07.000Z | codigo/Live32/myfunctor.py | cassiasamp/live-de-python | 00b5e51793097544ba9b75c97a0d30e63970bf45 | [
"MIT"
] | 140 | 2018-04-18T13:59:11.000Z | 2022-03-29T00:43:49.000Z | from myABC import Functor
class MyFunctor(Functor):
def __init__(self, list_):
self._d = list_
def __getitem__(self, pos):
return self._d[pos]
def __len__(self):
return len(self._d)
def fmap(self, function):
return MyFunctor([function(x) for x in self._d])
def _... | 23.846154 | 79 | 0.569355 | 76 | 620 | 4.276316 | 0.460526 | 0.092308 | 0.073846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312903 | 620 | 25 | 80 | 24.8 | 0.762911 | 0.256452 | 0 | 0 | 0 | 0 | 0.004415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.071429 | 0.071429 | 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 |
9bf72099effa527bd842e9401b1f9011e79fe59c | 81 | py | Python | setup.py | uzh-rpg/aegnn | d96e13b2f80f3c7515a65baf966544e0914d068d | [
"MIT"
] | null | null | null | setup.py | uzh-rpg/aegnn | d96e13b2f80f3c7515a65baf966544e0914d068d | [
"MIT"
] | null | null | null | setup.py | uzh-rpg/aegnn | d96e13b2f80f3c7515a65baf966544e0914d068d | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(name='aegnn',
packages=['aegnn'])
| 13.5 | 32 | 0.679012 | 10 | 81 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 5 | 33 | 16.2 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
500707b11eb495336f3c8b3bf25d04849fe74b2d | 168 | py | Python | LR2Server/__init__.py | sjb9703/LR2Server | 51d2684d8cc19f92799fb75053e942324c35be7e | [
"MIT"
] | 1 | 2016-09-01T15:48:42.000Z | 2016-09-01T15:48:42.000Z | LR2Server/__init__.py | kuna/LR2Server | 51d2684d8cc19f92799fb75053e942324c35be7e | [
"MIT"
] | null | null | null | LR2Server/__init__.py | kuna/LR2Server | 51d2684d8cc19f92799fb75053e942324c35be7e | [
"MIT"
] | null | null | null | # check - http://stackoverflow.com/questions/12881294/django-create-a-zip-of-multiple-files-and-make-it-downloadable
# http://blog.hannal.net/07-python_django_lecture/
| 56 | 116 | 0.797619 | 25 | 168 | 5.28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0.035714 | 168 | 2 | 117 | 84 | 0.753086 | 0.970238 | 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 |
50279a48d3ec656c2f0edc245ab0938810c0e428 | 1,203 | py | Python | tests/unit/test_abstract_base.py | xolynrac/examen_final_4c | dfa19b44fee6a17b7efc5630f1c8580aabc549e9 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_abstract_base.py | xolynrac/examen_final_4c | dfa19b44fee6a17b7efc5630f1c8580aabc549e9 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_abstract_base.py | xolynrac/examen_final_4c | dfa19b44fee6a17b7efc5630f1c8580aabc549e9 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2020, Moritz E. Beber.
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 29.341463 | 74 | 0.731505 | 167 | 1,203 | 5.227545 | 0.610778 | 0.068729 | 0.04811 | 0.036655 | 0.054983 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011089 | 0.175395 | 1,203 | 40 | 75 | 30.075 | 0.868952 | 0.689942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | true | 0.111111 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
503f2efc6cc82e9ee7de6b584f03bc9aaaad90df | 209 | py | Python | arguments.py | arshadkazmi42/py-redirect | 410a8f08be03ce65e1e9224bba9a3aafd85030db | [
"MIT"
] | 1 | 2021-09-26T10:35:24.000Z | 2021-09-26T10:35:24.000Z | arguments.py | arshadkazmi42/py-redirect | 410a8f08be03ce65e1e9224bba9a3aafd85030db | [
"MIT"
] | null | null | null | arguments.py | arshadkazmi42/py-redirect | 410a8f08be03ce65e1e9224bba9a3aafd85030db | [
"MIT"
] | null | null | null | import sys
class Arguments:
def __init__(self):
self.args = sys.argv
def get_filename(self):
if len(self.args) < 2:
return False
return self.args[1]
| 12.294118 | 30 | 0.535885 | 26 | 209 | 4.115385 | 0.653846 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.37799 | 209 | 16 | 31 | 13.0625 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
504a26feba642a89a4b72171364831e458121437 | 105 | py | Python | weather/forms.py | kiwiheretic/logos-v2 | 22739221a6d431322c809b7e17aba54f37eb9617 | [
"Apache-2.0"
] | 4 | 2015-02-20T08:11:59.000Z | 2019-05-15T23:48:11.000Z | weather/forms.py | kiwiheretic/logos-v2 | 22739221a6d431322c809b7e17aba54f37eb9617 | [
"Apache-2.0"
] | 58 | 2015-01-11T02:10:09.000Z | 2022-03-20T01:20:15.000Z | weather/forms.py | kiwiheretic/logos-v2 | 22739221a6d431322c809b7e17aba54f37eb9617 | [
"Apache-2.0"
] | 1 | 2016-06-15T00:49:44.000Z | 2016-06-15T00:49:44.000Z | from django import forms
class SiteSetupForm(forms.Form):
api_key = forms.CharField(max_length=200)
| 21 | 45 | 0.780952 | 15 | 105 | 5.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.133333 | 105 | 4 | 46 | 26.25 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ac9af217bb1665509e5894c600f4b88b95c74389 | 22,426 | py | Python | ili9341/fonts/etypo_23.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | 2 | 2021-09-28T07:56:50.000Z | 2022-02-08T07:26:13.000Z | ili9341/fonts/etypo_23.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | null | null | null | ili9341/fonts/etypo_23.py | HadrienLG/micropython-ili9341 | 975101949a722570c76b7bda72d8b292d2a9fd8d | [
"MIT"
] | 3 | 2021-06-15T03:48:10.000Z | 2022-02-28T02:52:18.000Z | # Created from ttf-fonts/Entypo.otf with freetype-generator.
# freetype-generator created by Meurisse D ( MCHobby.be ).
Entypo_23 = {
'width' : 0x16,
'height' : 0x17,
33:( 0x800000, 0x980000, 0xbc0000, 0xbe0000, 0xbe0000, 0xbc0000, 0xbc0000, 0x9c0000, 0x9e0000, 0x8f0000, 0x8f8000, 0x87c600, 0x83ef00, 0x81ff80, 0x807f8... | 172.507692 | 226 | 0.784625 | 2,292 | 22,426 | 7.676702 | 0.371291 | 0.020006 | 0.025916 | 0.030918 | 0.170048 | 0.120034 | 0.080477 | 0.047741 | 0.044103 | 0.03501 | 0 | 0.545378 | 0.102337 | 22,426 | 129 | 227 | 173.844961 | 0.328647 | 0.005128 | 0 | 0 | 0 | 0 | 0.000493 | 0 | 0 | 0 | 0.770307 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
acca3bfb192faee9239223eac33783d5ec4ed845 | 26 | py | Python | myenv/lib/python3.7/site-packages/grpc/_grpcio_metadata.py | theCydonian/AudioEyes | 3dece4529b31e6c63771c4358457962999bda3b4 | [
"MIT"
] | 2 | 2021-04-19T13:50:55.000Z | 2022-02-04T13:29:35.000Z | myenv/lib/python3.7/site-packages/grpc/_grpcio_metadata.py | theCydonian/AudioEyes | 3dece4529b31e6c63771c4358457962999bda3b4 | [
"MIT"
] | null | null | null | myenv/lib/python3.7/site-packages/grpc/_grpcio_metadata.py | theCydonian/AudioEyes | 3dece4529b31e6c63771c4358457962999bda3b4 | [
"MIT"
] | 3 | 2020-06-19T03:21:35.000Z | 2022-02-04T13:29:39.000Z | __version__ = """1.29.0""" | 26 | 26 | 0.576923 | 4 | 26 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.076923 | 26 | 1 | 26 | 26 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
acf5be7253dfb2f29d5de2566b1d05d772c4fbf1 | 307 | py | Python | feedback_form/app_settings.py | joebos/django-feedback-form | 522dd907c06b231b2c663ee9abe2d2c003ea10e1 | [
"MIT"
] | 4 | 2017-04-25T23:03:36.000Z | 2021-07-27T06:55:13.000Z | feedback_form/app_settings.py | joebos/django-feedback-form | 522dd907c06b231b2c663ee9abe2d2c003ea10e1 | [
"MIT"
] | 1 | 2021-06-10T23:15:16.000Z | 2021-06-10T23:15:16.000Z | feedback_form/app_settings.py | joebos/django-feedback-form | 522dd907c06b231b2c663ee9abe2d2c003ea10e1 | [
"MIT"
] | 3 | 2015-02-09T09:32:42.000Z | 2016-09-30T14:43:16.000Z | """Settings of the ``feedback_form``` application."""
from django.conf import settings
FEEDBACK_FORM_COLOR = getattr(settings, 'FEEDBACK_FORM_COLOR', '#6caec9')
FEEDBACK_FORM_TEXTCOLOR = getattr(settings, 'FEEDBACK_FORM_TEXTCOLOR', '#fff')
FEEDBACK_FORM_TEXT = getattr(settings, 'FEEDBACK_FORM_TEXT', '')
| 38.375 | 78 | 0.778502 | 37 | 307 | 6.108108 | 0.432432 | 0.371681 | 0.353982 | 0.358407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007117 | 0.084691 | 307 | 7 | 79 | 43.857143 | 0.797153 | 0.153094 | 0 | 0 | 0 | 0 | 0.279528 | 0.090551 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
c57cb2ac50f1f69f8e7956f020862a4ce296f551 | 80 | py | Python | signac/src/wsgi.py | berceanu/signac-driven-fbpic | 49567e6fd59bd6d097a1ded8b14890ceb9ee47c3 | [
"BSD-3-Clause"
] | 1 | 2021-07-18T11:37:49.000Z | 2021-07-18T11:37:49.000Z | signac/src/wsgi.py | berceanu/signac-driven-fbpic | 49567e6fd59bd6d097a1ded8b14890ceb9ee47c3 | [
"BSD-3-Clause"
] | 7 | 2019-06-19T08:55:00.000Z | 2019-10-17T17:03:05.000Z | signac/src/wsgi.py | berceanu/signac-driven-fbpic | 49567e6fd59bd6d097a1ded8b14890ceb9ee47c3 | [
"BSD-3-Clause"
] | 2 | 2020-07-03T03:05:40.000Z | 2021-07-16T11:57:51.000Z | from dashboard import dashboard
if __name__ == "__main__":
dashboard.run()
| 16 | 31 | 0.725 | 9 | 80 | 5.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 4 | 32 | 20 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.1 | 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 |
c5976595eacedd1228b6369c1017d6db64d0a877 | 359 | py | Python | microbiome_analyzer/__init__.py | FranckLejzerowicz/microbiome_analyzer | 7d48f69eac85fecc0016efba52ea23d846cdcaa2 | [
"BSD-3-Clause"
] | null | null | null | microbiome_analyzer/__init__.py | FranckLejzerowicz/microbiome_analyzer | 7d48f69eac85fecc0016efba52ea23d846cdcaa2 | [
"BSD-3-Clause"
] | null | null | null | microbiome_analyzer/__init__.py | FranckLejzerowicz/microbiome_analyzer | 7d48f69eac85fecc0016efba52ea23d846cdcaa2 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2022, Franck Lejzerowicz.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------... | 35.9 | 78 | 0.417827 | 29 | 359 | 5.034483 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01875 | 0.108635 | 359 | 9 | 79 | 39.888889 | 0.4375 | 0.899721 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c59fa74f10c5ad94d318e5d7b1e2c0bd3de2763b | 36,157 | py | Python | tests/snc/environments/test_rl_environment_wrapper.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | null | null | null | tests/snc/environments/test_rl_environment_wrapper.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | null | null | null | tests/snc/environments/test_rl_environment_wrapper.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | null | null | null | import pytest
import numpy as np
import tensorflow as tf
from gym import spaces as gym_spaces
from tf_agents.environments.gym_wrapper import GymWrapper
from tf_agents.environments.tf_py_environment import TFPyEnvironment
import snc.utils.snc_tools as snc
from snc.environments.rl_environment_wrapper \
import RLCon... | 43.405762 | 100 | 0.672207 | 4,722 | 36,157 | 4.91529 | 0.081957 | 0.015683 | 0.014218 | 0.010857 | 0.794787 | 0.766437 | 0.733003 | 0.702973 | 0.681646 | 0.662904 | 0 | 0.037554 | 0.234809 | 36,157 | 832 | 101 | 43.457933 | 0.801352 | 0.24507 | 0 | 0.646035 | 0 | 0 | 0.004609 | 0.003672 | 0 | 0 | 0 | 0 | 0.121857 | 1 | 0.046422 | false | 0 | 0.023211 | 0 | 0.069633 | 0 | 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 |
c5a725625349105f46d31145bb645e4af9c65a8b | 153 | py | Python | .history/ClassFiles/OOP/ClassCreation_20210103124307.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/OOP/ClassCreation_20210103124307.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/OOP/ClassCreation_20210103124307.py | minefarmer/Comprehensive-Python | f97b9b83ec328fc4e4815607e6a65de90bb8de66 | [
"Unlicense"
] | null | null | null | ''' Creating a class
Created with the keyword class followed by a name,
Common practice is to make the names Pascal Casing: Example
''' | 30.6 | 60 | 0.679739 | 22 | 153 | 4.727273 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267974 | 153 | 5 | 61 | 30.6 | 0.928571 | 0.836601 | 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 |
c5d7cab0c05e5faebf8ea37da7a5e16936c8bdda | 453 | py | Python | error.py | excelsia/pyvee | 9d1d7a03df8bf562f5e8f40f83fc618439a45b60 | [
"MIT"
] | 1 | 2018-10-09T07:32:46.000Z | 2018-10-09T07:32:46.000Z | error.py | excelsia/pyvee | 9d1d7a03df8bf562f5e8f40f83fc618439a45b60 | [
"MIT"
] | 1 | 2018-11-15T12:07:28.000Z | 2018-11-16T07:31:30.000Z | error.py | excelsia/pyvee | 9d1d7a03df8bf562f5e8f40f83fc618439a45b60 | [
"MIT"
] | null | null | null | class PyVeeException(Exception):
pass
class InvalidAddressException(PyVeeException):
pass
class InvalidParameterException(PyVeeException):
pass
class MissingPrivateKeyException(PyVeeException):
pass
class MissingPublicKeyException(PyVeeException):
pass
class MissingAddressException(PyVeeEx... | 14.612903 | 51 | 0.792494 | 32 | 453 | 11.21875 | 0.34375 | 0.175487 | 0.384401 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154525 | 453 | 30 | 52 | 15.1 | 0.937337 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c5fb36626cc0a6a34722552b7589b3a8f532c37e | 492 | py | Python | tests/basics/builtin_type.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/builtin_type.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/builtin_type.py | MakeItZone/circuitpython | 7f803c0b51c333210ed267502422ed7bb28b9be7 | [
"Unlicense",
"BSD-3-Clause",
"MIT-0",
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test builtin type
print(type(int))
try:
type()
except TypeError:
print('TypeError')
try:
type(1, 2)
except TypeError:
print('TypeError')
# second arg should be a tuple
try:
type('abc', None, None)
except TypeError:
print('TypeError')
# third arg should be a dict
try:
type('abc', (), N... | 15.375 | 52 | 0.640244 | 66 | 492 | 4.772727 | 0.378788 | 0.111111 | 0.31746 | 0.460317 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007792 | 0.21748 | 492 | 31 | 53 | 15.870968 | 0.81039 | 0.252033 | 0 | 0.714286 | 0 | 0 | 0.14876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a842da1ad430a1b68766e502b849746c4ef30354 | 54 | py | Python | backend/wsgi.py | pecimuth/synthia | a54265ca6f772959d395de789bfe16bf054d97ad | [
"MIT"
] | null | null | null | backend/wsgi.py | pecimuth/synthia | a54265ca6f772959d395de789bfe16bf054d97ad | [
"MIT"
] | null | null | null | backend/wsgi.py | pecimuth/synthia | a54265ca6f772959d395de789bfe16bf054d97ad | [
"MIT"
] | null | null | null | from web import create_app
application = create_app()
| 18 | 26 | 0.814815 | 8 | 54 | 5.25 | 0.75 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 27 | 27 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
a8603e04e5e01f2dbb61598035942ff94cc3185d | 304 | py | Python | linkedin/web-scraping/user-details/src/main.py | GuillaumeFalourd/formulas-python | 8fb299598f6d63d42ceb39d2a64f65485aa39428 | [
"Apache-2.0"
] | 16 | 2021-02-17T14:40:07.000Z | 2022-01-14T23:44:43.000Z | linkedin/web-scraping/user-details/src/main.py | ErosMLima/formulas-python | 15f1f56630131a2d3202ca7a1f685c2708a4815b | [
"Apache-2.0"
] | 1 | 2021-03-08T16:06:17.000Z | 2021-03-08T16:06:17.000Z | linkedin/web-scraping/user-details/src/main.py | ErosMLima/formulas-python | 15f1f56630131a2d3202ca7a1f685c2708a4815b | [
"Apache-2.0"
] | 4 | 2021-02-04T16:31:42.000Z | 2021-04-09T04:16:44.000Z | #!/usr/bin/python3
import os
import re
from formula import formula
email = os.environ.get("LINKEDIN_EMAIL")
password = os.environ.get("LINKEDIN_PASSWORD")
profiles = os.environ.get("RIT_PROFILES")
names = profiles.split('|')
path = os.environ.get("RIT_PATH")
formula.run(email, password, names, path)
| 21.714286 | 46 | 0.746711 | 44 | 304 | 5.068182 | 0.431818 | 0.161435 | 0.215247 | 0.179372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003663 | 0.101974 | 304 | 13 | 47 | 23.384615 | 0.813187 | 0.055921 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
a8a8dbc80c874444264b6aa4d4595015d156630d | 27 | py | Python | ibranch/__init__.py | iBranch-DataScience/scraping_scheduler | 721b237f71c43a7f4922f19dcc9c15de7a19b4e5 | [
"CC-BY-4.0"
] | null | null | null | ibranch/__init__.py | iBranch-DataScience/scraping_scheduler | 721b237f71c43a7f4922f19dcc9c15de7a19b4e5 | [
"CC-BY-4.0"
] | null | null | null | ibranch/__init__.py | iBranch-DataScience/scraping_scheduler | 721b237f71c43a7f4922f19dcc9c15de7a19b4e5 | [
"CC-BY-4.0"
] | null | null | null | name = "scraping_scheduler" | 27 | 27 | 0.814815 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a8cb99b3d3c9b06b23479700a9f5f47d26283a25 | 299 | py | Python | torch_pipeline/autotorch/auto/utils/__init__.py | Fanxingye/AutoDL | 6f409aefc8b81e5fe47df57b82332c8df427875d | [
"Apache-2.0"
] | 1 | 2021-11-04T09:19:14.000Z | 2021-11-04T09:19:14.000Z | torch_pipeline/autotorch/auto/utils/__init__.py | Fanxingye/AutoDL | 6f409aefc8b81e5fe47df57b82332c8df427875d | [
"Apache-2.0"
] | null | null | null | torch_pipeline/autotorch/auto/utils/__init__.py | Fanxingye/AutoDL | 6f409aefc8b81e5fe47df57b82332c8df427875d | [
"Apache-2.0"
] | null | null | null | from .early_stopper import _suggest_load_context
from .early_stopper import EarlyStopperOnPlateau
from .error_handler import TorchErrorCatcher
from .space_sanitizer import sanitize_batch_size
__all__ = ['_suggest_load_context', 'EarlyStopperOnPlateau', 'TorchErrorCatcher', 'sanitize_batch_size']
| 37.375 | 104 | 0.859532 | 33 | 299 | 7.242424 | 0.515152 | 0.075314 | 0.133891 | 0.1841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080268 | 299 | 7 | 105 | 42.714286 | 0.869091 | 0 | 0 | 0 | 0 | 0 | 0.261745 | 0.14094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
76500873cc71319d91e0707b891b64af87c3e90b | 8,186 | py | Python | relation_extraction_yelp.py | panda0881/Selectional_Preference | e48c5ff3feade82fd7f6963bca8135989ce148fe | [
"MIT"
] | null | null | null | relation_extraction_yelp.py | panda0881/Selectional_Preference | e48c5ff3feade82fd7f6963bca8135989ce148fe | [
"MIT"
] | null | null | null | relation_extraction_yelp.py | panda0881/Selectional_Preference | e48c5ff3feade82fd7f6963bca8135989ce148fe | [
"MIT"
] | null | null | null | import json
import os
import pandas
def filter_word(input_word):
tmp_output = ''
for c in input_word:
if c in 'zxcvbnmasdfghjklqwertyuiopZXCVBNMASDFGHJKLQWERTYUIOP':
tmp_output += c
return tmp_output
def counting_pairs_from_yelp_parsed_data(parsed_data, verb_nsubj_amod_dict, verb_dobj... | 45.477778 | 114 | 0.563157 | 1,147 | 8,186 | 3.644289 | 0.073235 | 0.109091 | 0.084211 | 0.077273 | 0.801675 | 0.774402 | 0.733254 | 0.693541 | 0.645933 | 0.631818 | 0 | 0.01797 | 0.340581 | 8,186 | 179 | 115 | 45.731844 | 0.756391 | 0.024798 | 0 | 0.571429 | 0 | 0 | 0.092767 | 0.07133 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019481 | false | 0 | 0.019481 | 0 | 0.045455 | 0.038961 | 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 |
7652fdbfaab633df1240fedd9342349f8ab364e1 | 385 | py | Python | tests/unit/utils/test_net_utils.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_net_utils.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/test_net_utils.py | matt-mercer/localstack | b69ba25e495c6ef889d33a050b216d0cd1035041 | [
"Apache-2.0"
] | null | null | null | import pytest as pytest
from localstack.constants import LOCALHOST
from localstack.utils.common import short_uid
from localstack.utils.net import resolve_hostname
@pytest.mark.skip_offline
def test_resolve_hostname():
assert "127." in resolve_hostname(LOCALHOST)
assert resolve_hostname("example.com")
ass... | 29.615385 | 71 | 0.802597 | 53 | 385 | 5.660377 | 0.566038 | 0.25 | 0.126667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008798 | 0.114286 | 385 | 12 | 72 | 32.083333 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0.119481 | 0.080519 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
76558a2ca0fdf4809da7284ec77390844da20f4f | 95 | py | Python | srim/__init__.py | agoose77/pysrim | 9b8e1b7e91fe65bf17e9366e1fd9b9406ad125d2 | [
"MIT"
] | 17 | 2018-07-06T00:23:58.000Z | 2022-03-09T20:48:14.000Z | srim/__init__.py | Yobmod/srimpy | 3071a9d48fb2201810a863fb3d881248b365d2cf | [
"MIT"
] | 5 | 2016-05-11T10:05:30.000Z | 2022-03-01T02:09:37.000Z | srim/__init__.py | Yobmod/srimpy | 3071a9d48fb2201810a863fb3d881248b365d2cf | [
"MIT"
] | 15 | 2017-04-20T00:44:42.000Z | 2022-02-22T14:10:48.000Z | from .srim import TRIM, SR
from .core import ElementDB, Element, Material, Ion, Layer, Target
| 23.75 | 66 | 0.757895 | 14 | 95 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 3 | 67 | 31.666667 | 0.9 | 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 |
7678e4aac87550a1204894aba84c787f1f6bbdca | 87 | py | Python | binset/apps.py | skyydq/GreaterWMS | e14014a73b36ec0f0df03712a229b0931cb388fb | [
"Apache-2.0"
] | 1 | 2021-02-17T14:04:29.000Z | 2021-02-17T14:04:29.000Z | binset/apps.py | skyydq/GreaterWMS | e14014a73b36ec0f0df03712a229b0931cb388fb | [
"Apache-2.0"
] | null | null | null | binset/apps.py | skyydq/GreaterWMS | e14014a73b36ec0f0df03712a229b0931cb388fb | [
"Apache-2.0"
] | 1 | 2021-07-01T03:05:21.000Z | 2021-07-01T03:05:21.000Z | from django.apps import AppConfig
class BinsetConfig(AppConfig):
name = 'binset'
| 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 |
7683d41d34eac06c3450c23560b0f32024eea82d | 20 | py | Python | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/streams/__init__.py | kaka-lin/azure-intelligent-edge-patterns | 766833c7c25d2458cec697937be288202d1763bc | [
"MIT"
] | 176 | 2019-07-03T00:20:15.000Z | 2022-03-14T07:51:22.000Z | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/streams/__init__.py | kaka-lin/azure-intelligent-edge-patterns | 766833c7c25d2458cec697937be288202d1763bc | [
"MIT"
] | 121 | 2019-06-24T20:47:27.000Z | 2022-03-28T02:16:18.000Z | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/streams/__init__.py | kaka-lin/azure-intelligent-edge-patterns | 766833c7c25d2458cec697937be288202d1763bc | [
"MIT"
] | 144 | 2019-06-18T18:48:43.000Z | 2022-03-31T12:14:46.000Z | """Streams App.
"""
| 6.666667 | 15 | 0.5 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 2 | 16 | 10 | 0.588235 | 0.6 | 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 |
76933fd4fb91e8af58211c82aed2ee218cfe297d | 188 | py | Python | dashboard/views/rest.py | davidmoremad/clouder | 5ad0e036a5665f749297a5f336b04aeecff57112 | [
"Apache-2.0"
] | null | null | null | dashboard/views/rest.py | davidmoremad/clouder | 5ad0e036a5665f749297a5f336b04aeecff57112 | [
"Apache-2.0"
] | null | null | null | dashboard/views/rest.py | davidmoremad/clouder | 5ad0e036a5665f749297a5f336b04aeecff57112 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def my_view(request):
output = "Welcome to my site."
return HttpResponse(output) | 26.857143 | 36 | 0.765957 | 26 | 188 | 5.5 | 0.769231 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164894 | 188 | 7 | 37 | 26.857143 | 0.910828 | 0.12234 | 0 | 0 | 0 | 0 | 0.115854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4f2985f0b6721235cf21ba3687399d2fc4948c0a | 207 | py | Python | 1 - Sequenciais/sequenciais1.py | igor1043/logica-de-programacao | 20e8a8cd802573e6547d551da93ba7390774a5db | [
"MIT"
] | null | null | null | 1 - Sequenciais/sequenciais1.py | igor1043/logica-de-programacao | 20e8a8cd802573e6547d551da93ba7390774a5db | [
"MIT"
] | null | null | null | 1 - Sequenciais/sequenciais1.py | igor1043/logica-de-programacao | 20e8a8cd802573e6547d551da93ba7390774a5db | [
"MIT"
] | null | null | null | # Author: Igor Vinicius Freitas de Souza
# GitHub: https://github.com/igor1043
# E-mail: igorviniciusfreitasouza@gmail.com
#Faça um programa que mostre a mensagem "Alo mundo" na tela.
print("Alo mundo")
| 23 | 60 | 0.748792 | 30 | 207 | 5.166667 | 0.866667 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0.144928 | 207 | 8 | 61 | 25.875 | 0.853107 | 0.850242 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4f6c816ffa68b0f64a27b8da2bb5162fdb49fd95 | 1,393 | py | Python | projetos/campo_minado.py | Guilherme-Cruz-Ferreira/My_repository | a1841cd2fb828d405bfd639a884d9fa79830743e | [
"MIT"
] | null | null | null | projetos/campo_minado.py | Guilherme-Cruz-Ferreira/My_repository | a1841cd2fb828d405bfd639a884d9fa79830743e | [
"MIT"
] | null | null | null | projetos/campo_minado.py | Guilherme-Cruz-Ferreira/My_repository | a1841cd2fb828d405bfd639a884d9fa79830743e | [
"MIT"
] | null | null | null | #campo minado
global tabuleiro
tabuleiro = [
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•', '•'],
['•', '•', '•', '•', '•', '•', '•', '•',... | 30.282609 | 87 | 0.325915 | 201 | 1,393 | 2.661692 | 0.263682 | 0.299065 | 0.442991 | 0.583178 | 0.24486 | 0.24486 | 0.151402 | 0.151402 | 0.151402 | 0.151402 | 0 | 0.017472 | 0.301508 | 1,393 | 45 | 88 | 30.955556 | 0.449126 | 0.020818 | 0 | 0.25641 | 0 | 0 | 0.108744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0 | 0 | 0.051282 | 0.153846 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4f7a113aff373cfcc59c85575d0a208ad693db84 | 253 | py | Python | src/compas/datastructures/network/core/operations/__init__.py | XingxinHE/compas | d2901dbbacdaf4694e5adae78ba8f093f10532bf | [
"MIT"
] | 235 | 2017-11-07T07:33:22.000Z | 2022-03-25T16:20:00.000Z | src/compas/datastructures/network/core/operations/__init__.py | XingxinHE/compas | d2901dbbacdaf4694e5adae78ba8f093f10532bf | [
"MIT"
] | 770 | 2017-09-22T13:42:06.000Z | 2022-03-31T21:26:45.000Z | src/compas/datastructures/network/core/operations/__init__.py | XingxinHE/compas | d2901dbbacdaf4694e5adae78ba8f093f10532bf | [
"MIT"
] | 99 | 2017-11-06T23:15:28.000Z | 2022-03-25T16:05:36.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .split import * # noqa: F401 F403
from .join import * # noqa: F401 F403
__all__ = [name for name in dir() if not name.startswith('_')]
| 28.111111 | 62 | 0.762846 | 36 | 253 | 4.833333 | 0.555556 | 0.172414 | 0.275862 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056872 | 0.166008 | 253 | 8 | 63 | 31.625 | 0.767773 | 0.12253 | 0 | 0 | 0 | 0 | 0.004566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4f869ca96872ebcab32bc1b1dec79d60360b1572 | 226 | py | Python | src/globus_cli/commands/group/member/__init__.py | rudyardrichter/globus-cli | 35c5fbfbca7599566ab7995f782306d1f1378ed7 | [
"Apache-2.0"
] | 47 | 2016-04-21T19:51:17.000Z | 2022-02-25T14:13:30.000Z | src/globus_cli/commands/group/member/__init__.py | rudyardrichter/globus-cli | 35c5fbfbca7599566ab7995f782306d1f1378ed7 | [
"Apache-2.0"
] | 421 | 2016-04-20T18:45:24.000Z | 2022-03-14T14:50:41.000Z | src/globus_cli/commands/group/member/__init__.py | rudyardrichter/globus-cli | 35c5fbfbca7599566ab7995f782306d1f1378ed7 | [
"Apache-2.0"
] | 20 | 2016-09-10T20:25:27.000Z | 2021-10-06T16:02:47.000Z | from globus_cli.commands.group.member.add import member_add
from globus_cli.parsing import group
@group("member")
def group_member() -> None:
"""Manage members in a Globus Group"""
group_member.add_command(member_add)
| 20.545455 | 59 | 0.769912 | 34 | 226 | 4.911765 | 0.470588 | 0.263473 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 226 | 10 | 60 | 22.6 | 0.843434 | 0.141593 | 0 | 0 | 0 | 0 | 0.031915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4fa281e3503a05ed4526dcfbbfce77a62dda0c14 | 100 | py | Python | Deployment/test2/login_example/apps.py | meddhafer97/Telecommunication-project | 30a732f817c6573b596806470e54f0e2e9cd0c59 | [
"MIT"
] | null | null | null | Deployment/test2/login_example/apps.py | meddhafer97/Telecommunication-project | 30a732f817c6573b596806470e54f0e2e9cd0c59 | [
"MIT"
] | null | null | null | Deployment/test2/login_example/apps.py | meddhafer97/Telecommunication-project | 30a732f817c6573b596806470e54f0e2e9cd0c59 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LoginExampleConfig(AppConfig):
name = 'login_example'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 |
4fa28a27b824954dcbee2a702f75acdbcedbacb6 | 254 | py | Python | travel_distance_map/cache/cache.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | 1 | 2020-07-02T20:13:21.000Z | 2020-07-02T20:13:21.000Z | travel_distance_map/cache/cache.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | null | null | null | travel_distance_map/cache/cache.py | pdyban/travel_distance_map | 4e36fcee5fcb6a1682001aaff93912482deb05e7 | [
"MIT"
] | null | null | null | """
Cache interface.
"""
class Cache:
def __contains__(self, key):
raise NotImplementedError()
def __getitem__(self, key):
raise NotImplementedError()
def __setitem__(self, key, value):
raise NotImplementedError()
| 16.933333 | 38 | 0.649606 | 23 | 254 | 6.652174 | 0.521739 | 0.137255 | 0.156863 | 0.405229 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244094 | 254 | 14 | 39 | 18.142857 | 0.796875 | 0.062992 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 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 | 0 | 1 | 0 | 0 | 4 |
96efcdb78a5446cfaec608be6d8c01b7d932a343 | 19,428 | py | Python | scalyr_agent/third_party/pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | 67 | 2015-02-03T00:35:33.000Z | 2022-03-23T10:14:26.000Z | scalyr_agent/third_party/pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | 578 | 2015-04-09T08:58:56.000Z | 2022-03-30T12:13:21.000Z | scalyr_agent/third_party/pysnmp/smi/mibs/SNMP-NOTIFICATION-MIB.py | code-sauce/scalyr-agent-2 | 41023d5c1272186193dd02900782b150dda5f38e | [
"Apache-2.0"
] | 58 | 2015-01-15T22:00:43.000Z | 2022-02-18T15:48:31.000Z | #
# PySNMP MIB module SNMP-NOTIFICATION-MIB (http://pysnmp.sf.net)
# ASN.1 source file:///usr/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
# Produced by pysmi-0.0.5 at Sat Sep 19 23:00:18 2015
# On host grommit.local platform Darwin version 14.4.0 by user ilya
# Using Python version 2.7.6 (default, Sep 9 2014, 15:04:36) ... | 262.540541 | 2,139 | 0.730132 | 2,376 | 19,428 | 5.968855 | 0.198653 | 0.005641 | 0.006135 | 0.008179 | 0.360245 | 0.294669 | 0.255112 | 0.244817 | 0.199831 | 0.167889 | 0 | 0.036039 | 0.173049 | 19,428 | 73 | 2,140 | 266.136986 | 0.846695 | 0.015802 | 0 | 0 | 0 | 0.348485 | 0.606216 | 0.065979 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.121212 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8c3509cac349dcd5ad849c4d6cf9a8723d045c81 | 141 | py | Python | reddit2telegram/channels/r_windows10/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | null | null | null | reddit2telegram/channels/r_windows10/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | null | null | null | reddit2telegram/channels/r_windows10/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | null | null | null | #encoding:utf-8
subreddit = 'Windows10'
t_channel = '@r_Windows10'
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.057377 | 0.134752 | 141 | 8 | 39 | 17.625 | 0.770492 | 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 |
8c3b081ea6a32101801acd268cd0ed4f347fa770 | 656 | py | Python | twitter_dashboard.py | diegogonzalezmaneyro/twitter_app | e4df875f47049bd1ce7cc1379e297ab4c4493033 | [
"MIT"
] | null | null | null | twitter_dashboard.py | diegogonzalezmaneyro/twitter_app | e4df875f47049bd1ce7cc1379e297ab4c4493033 | [
"MIT"
] | 8 | 2020-04-10T20:13:40.000Z | 2020-04-10T20:13:42.000Z | twitter_dashboard.py | diegogonzalezmaneyro/twitter_app | e4df875f47049bd1ce7cc1379e297ab4c4493033 | [
"MIT"
] | null | null | null | #Start the code here
#import libs
from flask import Flask, render_template, make_response
#init app
app = Flask(__name__)
#define differents pages to work
@app.route('/')
def home():
return render_template('home.html')
@app.route('/about')
def about():
return render_template('about.html')
@app.route('/regi... | 19.294118 | 64 | 0.707317 | 89 | 656 | 4.955056 | 0.41573 | 0.190476 | 0.181406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005329 | 0.141768 | 656 | 33 | 65 | 19.878788 | 0.777975 | 0.105183 | 0 | 0 | 0 | 0 | 0.161235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.05 | 0.2 | 0.55 | 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 |
4fcdd2b84575bb4ef18617bd03aba0131d9a1af2 | 127 | py | Python | F_Machine_learning/1_Unsupervised-Learning/solutions/ex2_5.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | F_Machine_learning/1_Unsupervised-Learning/solutions/ex2_5.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | F_Machine_learning/1_Unsupervised-Learning/solutions/ex2_5.py | oercompbiomed/CBM101 | 20010dcb99fbf218c4789eb5918dcff8ceb94898 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z |
# ANSWER:
# a few values that work together for (color_threshold, t) pairs are
# (20, 1); (15,2); (8,3); (6,4); (5,5); (3,11)
| 25.4 | 68 | 0.582677 | 25 | 127 | 2.92 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0.181102 | 127 | 4 | 69 | 31.75 | 0.557692 | 0.937008 | 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 |
4fcfcea886eb98be22aae151c9fab71e74e94466 | 53 | py | Python | tests/conftest.py | mullinix/afwerx-datathon | 22cc0f0d14b71c1035d678f2dd2efcaeeec7b102 | [
"MIT"
] | null | null | null | tests/conftest.py | mullinix/afwerx-datathon | 22cc0f0d14b71c1035d678f2dd2efcaeeec7b102 | [
"MIT"
] | 5 | 2021-10-01T15:20:51.000Z | 2021-10-09T13:15:06.000Z | tests/conftest.py | mullinix/afwerx-datathon | 22cc0f0d14b71c1035d678f2dd2efcaeeec7b102 | [
"MIT"
] | null | null | null | """Resuable testing fixtures for afwerx-datathon."""
| 26.5 | 52 | 0.754717 | 6 | 53 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.833333 | 0.867925 | 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 |
8b0fb30e73506062885829e58005feedc45de893 | 476 | py | Python | aldryn_forms/admin/formsubmission.py | protoroto/aldryn-forms | 076365f391c096805c5ffea26f40ab728a6fcd2a | [
"BSD-3-Clause"
] | null | null | null | aldryn_forms/admin/formsubmission.py | protoroto/aldryn-forms | 076365f391c096805c5ffea26f40ab728a6fcd2a | [
"BSD-3-Clause"
] | null | null | null | aldryn_forms/admin/formsubmission.py | protoroto/aldryn-forms | 076365f391c096805c5ffea26f40ab728a6fcd2a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.contrib import admin
from .base import BaseFormSubmissionAdmin
from .views import FormExportWizardView
from ..models import FormSubmission
class FormSubmissionAdmin(BaseFormSubmissionAdmin):
readonly_fields = BaseFormSubmissionAdmin.readonly_fields + ['form_url']
def get_... | 28 | 76 | 0.796218 | 50 | 476 | 7.42 | 0.64 | 0.167116 | 0.199461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002387 | 0.119748 | 476 | 16 | 77 | 29.75 | 0.883055 | 0.044118 | 0 | 0 | 0 | 0 | 0.024283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
8b36296b09c61949630fc31d586cc538dc2007db | 95 | py | Python | compounddb/apps.py | xingyifei2016/clusterCAD | fb139edc90e3b963ac6bfc9f6890f0a4e4f356d6 | [
"BSD-3-Clause-LBNL"
] | 7 | 2018-11-06T00:04:47.000Z | 2021-08-05T04:37:12.000Z | compounddb/apps.py | xingyifei2016/clusterCAD | fb139edc90e3b963ac6bfc9f6890f0a4e4f356d6 | [
"BSD-3-Clause-LBNL"
] | 26 | 2017-08-11T21:51:46.000Z | 2022-03-11T23:18:25.000Z | compounddb/apps.py | xingyifei2016/clusterCAD | fb139edc90e3b963ac6bfc9f6890f0a4e4f356d6 | [
"BSD-3-Clause-LBNL"
] | 7 | 2017-08-16T17:28:40.000Z | 2022-03-02T00:07:00.000Z | from django.apps import AppConfig
class CompounddbConfig(AppConfig):
name = 'compounddb'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b456ce328426c4c161d32177f6054f386366284 | 473 | py | Python | distillation/datasets/__init__.py | valeoai/QuEST | 02a23d2d8e0d059b4a30433f92eec5db146467f4 | [
"Apache-2.0"
] | 3 | 2021-06-03T22:45:47.000Z | 2022-03-27T18:50:06.000Z | distillation/datasets/__init__.py | valeoai/QuEST | 02a23d2d8e0d059b4a30433f92eec5db146467f4 | [
"Apache-2.0"
] | null | null | null | distillation/datasets/__init__.py | valeoai/QuEST | 02a23d2d8e0d059b4a30433f92eec5db146467f4 | [
"Apache-2.0"
] | 1 | 2021-08-20T15:39:40.000Z | 2021-08-20T15:39:40.000Z | from distillation.datasets.imagenet_dataset import ImageNet
from distillation.datasets.cifar_dataset import CIFAR100
from distillation.datasets.mit67_datasets import MITScenes
def dataset_factory(dataset_name, *args, **kwargs):
datasets_collection = {}
datasets_collection['ImageNet'] = ImageNet
data... | 43 | 62 | 0.784355 | 49 | 473 | 7.346939 | 0.346939 | 0.25 | 0.2 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026764 | 0.131078 | 473 | 10 | 63 | 47.3 | 0.849148 | 0 | 0 | 0 | 0 | 0 | 0.053996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8c8cd31caa8539291519297b9ec64699680f1e65 | 412 | py | Python | extract_gear/preprocess_factory.py | kamerons/dde-extract-gear | 44464ae470bd5de6279d32e3587b469ce006ea42 | [
"Apache-2.0"
] | null | null | null | extract_gear/preprocess_factory.py | kamerons/dde-extract-gear | 44464ae470bd5de6279d32e3587b469ce006ea42 | [
"Apache-2.0"
] | null | null | null | extract_gear/preprocess_factory.py | kamerons/dde-extract-gear | 44464ae470bd5de6279d32e3587b469ce006ea42 | [
"Apache-2.0"
] | null | null | null | from extract_gear.preprocess_level import PreProcessLevel
from extract_gear.preprocess_set import PreProcessSet
from extract_gear.preprocess_stat import PreProcessStat
class PreprocessFactory:
def get_set_preprocessor(self, img):
return PreProcessSet(img)
def get_stat_preprocessor(self, img):
return Pre... | 24.235294 | 57 | 0.817961 | 50 | 412 | 6.5 | 0.38 | 0.101538 | 0.138462 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128641 | 412 | 16 | 58 | 25.75 | 0.905292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.3 | 0.3 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8ca1d282ad0cf51ab1e6cbc824e72caef231af32 | 151 | py | Python | pathexclusion/__init__.py | mr-tl/project-checker | f919dc274aa10b3cef9bc18805d61683a7919e56 | [
"MIT"
] | null | null | null | pathexclusion/__init__.py | mr-tl/project-checker | f919dc274aa10b3cef9bc18805d61683a7919e56 | [
"MIT"
] | null | null | null | pathexclusion/__init__.py | mr-tl/project-checker | f919dc274aa10b3cef9bc18805d61683a7919e56 | [
"MIT"
] | 1 | 2020-01-28T12:54:53.000Z | 2020-01-28T12:54:53.000Z | """Provide functionality for file system operations."""
from pathexclusion.pathexclusion_ import exclude_file_paths
__all__ = ["exclude_file_paths"]
| 25.166667 | 59 | 0.81457 | 17 | 151 | 6.705882 | 0.705882 | 0.192982 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099338 | 151 | 5 | 60 | 30.2 | 0.838235 | 0.324503 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 |
8cc5a56b612cbe006c424f670775180e12c2c00d | 228 | py | Python | learning_racer/robot/donkey_sim/core/simple_client.py | tikisi/airc-rl-agent | 280ae6e1f30fff991ccf78e1075c5c25edab6866 | [
"MIT"
] | 69 | 2020-03-27T03:02:20.000Z | 2022-03-03T10:08:09.000Z | learning_racer/robot/donkey_sim/core/simple_client.py | rl-jetbot/airc-rl-agent | b8266f5b09a81fe2d1fdeeb72e48f4bb24273049 | [
"MIT"
] | 46 | 2020-02-28T13:42:40.000Z | 2022-01-26T23:47:12.000Z | learning_racer/robot/donkey_sim/core/simple_client.py | rl-jetbot/airc-rl-agent | b8266f5b09a81fe2d1fdeeb72e48f4bb24273049 | [
"MIT"
] | 22 | 2020-03-16T17:32:05.000Z | 2022-02-15T23:50:10.000Z | import gym
import gym_donkeycar
def create_simulator_agent(donkey_sim_path="remote", host="127.0.0,1", port=9091):
env = gym.make('donkey-generated-track-v0', exe_path=donkey_sim_path, host=host, port=port)
return env
| 28.5 | 95 | 0.754386 | 38 | 228 | 4.315789 | 0.631579 | 0.109756 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054455 | 0.114035 | 228 | 7 | 96 | 32.571429 | 0.757426 | 0 | 0 | 0 | 1 | 0 | 0.175439 | 0.109649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8cc63d0d37d018137751c29aa35c95c0801b66c3 | 125 | py | Python | .history/main_20171106171028.py | reecebenson/DADSA-Tennis-PartA | d0763f819b300fcd0ce27041f5bc4ef0519c00bf | [
"MIT"
] | null | null | null | .history/main_20171106171028.py | reecebenson/DADSA-Tennis-PartA | d0763f819b300fcd0ce27041f5bc4ef0519c00bf | [
"MIT"
] | null | null | null | .history/main_20171106171028.py | reecebenson/DADSA-Tennis-PartA | d0763f819b300fcd0ce27041f5bc4ef0519c00bf | [
"MIT"
] | null | null | null | # DADSA - Assignment 1
# Reece Benson
from classes import *
def __main__():
handler = Handler.Handler()
__main__() | 13.888889 | 31 | 0.672 | 14 | 125 | 5.428571 | 0.785714 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.224 | 125 | 9 | 32 | 13.888889 | 0.773196 | 0.264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cc6a15d1c923b68a84a8eb4a5dd0fbada5ce7f7 | 99 | py | Python | examples/arrayFunctions/arf.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | 5 | 2021-02-22T14:22:17.000Z | 2021-10-31T23:54:45.000Z | examples/arrayFunctions/arf.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | null | null | null | examples/arrayFunctions/arf.py | Nemika-Haj/PyJS | 5a67164f8b8d445467edb304c0728ca7a0463be6 | [
"MIT"
] | null | null | null | from PyJS import *
_list = [1,2,3,4]
console.log(_list.toString())
console.log(_list.join(" * ")) | 16.5 | 30 | 0.656566 | 16 | 99 | 3.875 | 0.75 | 0.322581 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.121212 | 99 | 6 | 30 | 16.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8cdbb1073ba10f3d8df00e40c566fc575f0207ad | 377 | py | Python | rest-framework-tutorial/services/serializer.py | josip-milic/asc_qwerty_test | 90a8a7ed009822c03054303828fde1e55a71fd15 | [
"Apache-2.0"
] | null | null | null | rest-framework-tutorial/services/serializer.py | josip-milic/asc_qwerty_test | 90a8a7ed009822c03054303828fde1e55a71fd15 | [
"Apache-2.0"
] | null | null | null | rest-framework-tutorial/services/serializer.py | josip-milic/asc_qwerty_test | 90a8a7ed009822c03054303828fde1e55a71fd15 | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import Event
class EventSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Event
fields = ('id','title','date','location_lat','location_lng','marker_type',)
class EventDetailSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
... | 31.416667 | 77 | 0.774536 | 39 | 377 | 7.384615 | 0.615385 | 0.256944 | 0.291667 | 0.319444 | 0.444444 | 0.444444 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0.103448 | 377 | 12 | 78 | 31.416667 | 0.852071 | 0 | 0 | 0.4 | 0 | 0 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8cfd1de3bb13f50d526a35dfe69693637e816505 | 175 | py | Python | simple_captcha_type/main.py | samorojy/captcha_solver | 6e210a01efdb8515a0326c7920975f66e3c64c0c | [
"Apache-2.0"
] | null | null | null | simple_captcha_type/main.py | samorojy/captcha_solver | 6e210a01efdb8515a0326c7920975f66e3c64c0c | [
"Apache-2.0"
] | null | null | null | simple_captcha_type/main.py | samorojy/captcha_solver | 6e210a01efdb8515a0326c7920975f66e3c64c0c | [
"Apache-2.0"
] | null | null | null | import captcha_algo_decoder
if __name__ == '__main__':
print(captcha_algo_decoder.decoder(
'captcha_dataset\\evergreen\\evergreen_00081102082021Z3Kehezt9s.png'))
| 29.166667 | 78 | 0.782857 | 18 | 175 | 6.833333 | 0.666667 | 0.178862 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0.12 | 175 | 5 | 79 | 35 | 0.694805 | 0 | 0 | 0 | 0 | 0 | 0.422857 | 0.377143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
509c52158169f1df1144985735e1e500c0269c41 | 66 | py | Python | python/testData/completion/qualifiedAssignmentPatternStringPath/a.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/qualifiedAssignmentPatternStringPath/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/completion/qualifiedAssignmentPatternStringPath/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def __init__(self):
self.path = "foo<caret>"
| 16.5 | 32 | 0.560606 | 9 | 66 | 3.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287879 | 66 | 3 | 33 | 22 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.