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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d77d9ad67c45657f3eb6d53033b9e7c141325063 | 184 | py | Python | feder/domains/__init__.py | efefre/feder | fdfe2f213266548fc40cea68ac72f739c8394b8e | [
"MIT"
] | null | null | null | feder/domains/__init__.py | efefre/feder | fdfe2f213266548fc40cea68ac72f739c8394b8e | [
"MIT"
] | null | null | null | feder/domains/__init__.py | efefre/feder | fdfe2f213266548fc40cea68ac72f739c8394b8e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class DomainsConfig(AppConfig):
name = "feder.domains"
verbose_name = _("Domains")
| 20.444444 | 55 | 0.76087 | 22 | 184 | 6.181818 | 0.727273 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157609 | 184 | 8 | 56 | 23 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
d7900761da8f24caa63ae8739ff194ddbf11bc9c | 157 | py | Python | pygmy/rest/wsgi.py | ParikhKadam/pygmy | eecab36204d41f2c446b86e1e71d9e768b54dd1d | [
"MIT"
] | 571 | 2017-11-17T06:12:21.000Z | 2022-03-04T11:58:23.000Z | pygmy/rest/wsgi.py | ParikhKadam/pygmy | eecab36204d41f2c446b86e1e71d9e768b54dd1d | [
"MIT"
] | 49 | 2019-05-02T08:41:35.000Z | 2021-03-10T05:22:39.000Z | pygmy/rest/wsgi.py | ParikhKadam/pygmy | eecab36204d41f2c446b86e1e71d9e768b54dd1d | [
"MIT"
] | 104 | 2018-01-11T20:47:42.000Z | 2022-02-27T17:35:48.000Z | #!/usr/bin/env python3
from pygmy.core.initialize import initialize
initialize()
from pygmy.rest.manage import app
if __name__ == '__main__':
app.run()
| 19.625 | 44 | 0.745223 | 22 | 157 | 4.954545 | 0.727273 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.133758 | 157 | 7 | 45 | 22.428571 | 0.794118 | 0.133758 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d79588cb6af171f41a9a0a6668eeedb45b2eb53c | 66 | py | Python | tuiuiu/tuiuiudocs/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 3 | 2019-08-08T09:09:35.000Z | 2020-12-15T18:04:17.000Z | tuiuiu/tuiuiudocs/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | null | null | null | tuiuiu/tuiuiudocs/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T20:10:40.000Z | 2017-09-09T20:10:40.000Z | default_app_config = 'tuiuiu.tuiuiudocs.apps.TuiuiuDocsAppConfig'
| 33 | 65 | 0.863636 | 7 | 66 | 7.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 66 | 1 | 66 | 66 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad322e803d4817fd98a72f0e5bd12e505a41fe0f | 62 | py | Python | newStuff.py | mts5qd/cs3240-labdemo | bf6815b9512536c78186c73a052e87f1c2a39e20 | [
"MIT"
] | null | null | null | newStuff.py | mts5qd/cs3240-labdemo | bf6815b9512536c78186c73a052e87f1c2a39e20 | [
"MIT"
] | 1 | 2015-10-12T22:06:00.000Z | 2015-10-12T22:06:31.000Z | newStuff.py | mts5qd/cs3240-labdemo | bf6815b9512536c78186c73a052e87f1c2a39e20 | [
"MIT"
] | null | null | null | def main():
print(hi)
if __name__ == '__main__': main()
| 10.333333 | 33 | 0.580645 | 8 | 62 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 5 | 34 | 12.4 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad3383a0a6daac2f11675bc729049a1b96f4f3bd | 202 | py | Python | src/openprocurement/api/interfaces.py | EBRD-ProzorroSale/openprocurement.api | f92849a3f6e4ccfae3258d8c51b56920faedda33 | [
"Apache-2.0"
] | 102 | 2015-04-27T21:02:50.000Z | 2022-03-08T19:51:57.000Z | src/openprocurement/api/interfaces.py | EBRD-ProzorroSale/openprocurement.api | f92849a3f6e4ccfae3258d8c51b56920faedda33 | [
"Apache-2.0"
] | 353 | 2015-01-02T13:03:06.000Z | 2022-03-21T22:16:27.000Z | src/openprocurement/api/interfaces.py | EBRD-ProzorroSale/openprocurement.api | f92849a3f6e4ccfae3258d8c51b56920faedda33 | [
"Apache-2.0"
] | 77 | 2015-04-10T14:43:30.000Z | 2021-06-08T06:50:22.000Z | # -*- coding: utf-8 -*-
from zope.interface import Interface
class IOPContent(Interface):
""" Openprocurement Content """
class IContentConfigurator(Interface):
""" Content configurator """
| 18.363636 | 38 | 0.69802 | 18 | 202 | 7.833333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.163366 | 202 | 10 | 39 | 20.2 | 0.828402 | 0.341584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
ad4c5891b00e13455b360e5ecf232c3fc071891c | 1,575 | py | Python | insights/parsers/tests/test_neutron_server_log.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/tests/test_neutron_server_log.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/tests/test_neutron_server_log.py | lhuett/insights-core | 1c84eeffc037f85e2bbf60c9a302c83aa1a50cf8 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | from insights.parsers.neutron_server_log import NeutronServerLog
from insights.tests import context_wrap
NEUTRON_LOG = """
2016-09-13 05:56:45.155 30586 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: b45405915eb44e608885f894028d37b9", "code": 404, "title": "No... | 75 | 206 | 0.768254 | 213 | 1,575 | 5.586854 | 0.267606 | 0.040336 | 0.053782 | 0.228571 | 0.730252 | 0.705042 | 0.684874 | 0.684874 | 0.590756 | 0.535294 | 0 | 0.174344 | 0.104127 | 1,575 | 20 | 207 | 78.75 | 0.669029 | 0 | 0 | 0 | 0 | 0.470588 | 0.768254 | 0.212063 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad50864d5115d4e0fc3b773da85cb402761ef656 | 1,707 | py | Python | tests/test_core.py | mathbou/seed_intersphinx_mapping | 914d669899ad19f239d6b694b5c4fce3c8bd5e9b | [
"MIT"
] | 3 | 2021-03-21T00:53:22.000Z | 2022-01-31T20:45:33.000Z | tests/test_core.py | mathbou/seed_intersphinx_mapping | 914d669899ad19f239d6b694b5c4fce3c8bd5e9b | [
"MIT"
] | 26 | 2020-12-26T10:55:22.000Z | 2022-03-15T00:16:50.000Z | tests/test_core.py | mathbou/seed_intersphinx_mapping | 914d669899ad19f239d6b694b5c4fce3c8bd5e9b | [
"MIT"
] | 1 | 2022-01-31T15:00:31.000Z | 2022-01-31T15:00:31.000Z | # stdlib
from typing import get_type_hints
# 3rd party
import packaging.requirements
import pytest
from coincidence import PEP_563
# this package
from seed_intersphinx_mapping import cache, get_sphinx_doc_url
def test_get_sphinx_doc_url():
assert cache.clear(get_sphinx_doc_url)
assert get_sphinx_doc_url("domdf_p... | 35.5625 | 112 | 0.790275 | 259 | 1,707 | 4.799228 | 0.312741 | 0.144811 | 0.193081 | 0.241352 | 0.572808 | 0.48753 | 0.431215 | 0.400644 | 0.345937 | 0.345937 | 0 | 0.006527 | 0.102519 | 1,707 | 47 | 113 | 36.319149 | 0.80483 | 0.016989 | 0 | 0.137931 | 0 | 0 | 0.308244 | 0.026284 | 0 | 0 | 0 | 0 | 0.413793 | 1 | 0.068966 | true | 0 | 0.172414 | 0 | 0.241379 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ad5129f9f36e077255f81ad59695aea49d06f25a | 709 | py | Python | FairTest/users/models.py | RexWangSida/FairTest | 650d11e6582f20a81b300408b0dd332dd65c4dc1 | [
"MIT"
] | 3 | 2020-07-26T18:05:58.000Z | 2020-07-28T02:08:51.000Z | FairTest/users/models.py | RexWangSida/FairTest | 650d11e6582f20a81b300408b0dd332dd65c4dc1 | [
"MIT"
] | null | null | null | FairTest/users/models.py | RexWangSida/FairTest | 650d11e6582f20a81b300408b0dd332dd65c4dc1 | [
"MIT"
] | 2 | 2020-07-22T21:28:18.000Z | 2020-07-27T00:00:23.000Z | from django.db import models
from django_mysql.models import ListCharField
# Create your models here.
class User(models.Model):
email = models.CharField(max_length = 60, unique=True)
uid = models.CharField(max_length = 10, unique=True, primary_key=True)
school = models.CharField(max_length = 30)
passwo... | 35.45 | 74 | 0.695346 | 91 | 709 | 5.252747 | 0.472527 | 0.150628 | 0.263598 | 0.351464 | 0.271967 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039007 | 0.204513 | 709 | 19 | 75 | 37.315789 | 0.808511 | 0.088858 | 0 | 0 | 0 | 0 | 0.001555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.125 | 0.0625 | 0.75 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
ad6e5b66b34ef2178e3d7dd8155045e442a33aac | 257 | py | Python | uscensus/tests/errors.py | nkrishnaswami/census | 1f3ae91b74416c8c1c336251b0ee9e0838973603 | [
"Apache-2.0"
] | 4 | 2017-03-30T15:40:09.000Z | 2017-06-21T18:59:38.000Z | uscensus/tests/errors.py | nkrishnaswami/census | 1f3ae91b74416c8c1c336251b0ee9e0838973603 | [
"Apache-2.0"
] | 3 | 2017-07-18T14:25:37.000Z | 2018-02-01T14:48:53.000Z | uscensus/tests/errors.py | nkrishnaswami/census | 1f3ae91b74416c8c1c336251b0ee9e0838973603 | [
"Apache-2.0"
] | 1 | 2017-04-13T15:39:50.000Z | 2017-04-13T15:39:50.000Z | from ..util.errors import CensusError, DBError
def CensusError_test():
e = CensusError("test")
assert isinstance(e, Exception)
def DBError_test():
e = DBError("test")
assert isinstance(e, CensusError)
assert isinstance(e, Exception)
| 19.769231 | 46 | 0.700389 | 30 | 257 | 5.933333 | 0.4 | 0.269663 | 0.286517 | 0.235955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18677 | 257 | 12 | 47 | 21.416667 | 0.851675 | 0 | 0 | 0.25 | 0 | 0 | 0.031128 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.375 | 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 |
ad720585d5cab19ccf4e14cc69a59942aee29809 | 580 | py | Python | werkit/compute/__init__.py | metabolize/werk | 8e5a60a5d8f3f3790375aa03dcfcee14ba119d10 | [
"MIT"
] | 2 | 2021-03-21T05:50:48.000Z | 2021-08-09T09:01:59.000Z | werkit/compute/__init__.py | metabolize/werk | 8e5a60a5d8f3f3790375aa03dcfcee14ba119d10 | [
"MIT"
] | 77 | 2019-07-26T18:02:45.000Z | 2022-03-23T18:05:09.000Z | werkit/compute/__init__.py | metabolize/werk | 8e5a60a5d8f3f3790375aa03dcfcee14ba119d10 | [
"MIT"
] | 2 | 2020-03-25T02:05:04.000Z | 2020-03-25T02:05:24.000Z | """
Werkit's compute wrapper provides a structured, framework-agnostic execution
environment for running any Python code and validating its result using
[1schema][] (or plain JSON Schema). It automatically catches and serializes
errors, too.
By plugging in a werkit.compute.Destination object, you can upon completion s... | 36.25 | 80 | 0.777586 | 82 | 580 | 5.463415 | 0.707317 | 0.053571 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026263 | 0.146552 | 580 | 15 | 81 | 38.666667 | 0.878788 | 0.803448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad741f5d689c1dce399c9a0cb36cca75030b5ee4 | 177 | py | Python | v2/espacioVacio.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | v2/espacioVacio.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | v2/espacioVacio.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | import tkinter
from tkinter import *
class espacioVacio(Canvas):
def __init__(self, master=None):
Canvas.__init__(self)
self.configure(width=150, height=10) | 25.285714 | 44 | 0.706215 | 22 | 177 | 5.318182 | 0.727273 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034965 | 0.19209 | 177 | 7 | 44 | 25.285714 | 0.783217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ad9e24847a108826db1e7124c7bff6f6f1a3fd5c | 216 | py | Python | common/security-features/subresource/referrer.py | FarooqAR/wpt | b3ec19cc197ab727dcfea1c03f8af1e37e6a8007 | [
"BSD-3-Clause"
] | 1 | 2021-06-07T12:19:31.000Z | 2021-06-07T12:19:31.000Z | common/security-features/subresource/referrer.py | FarooqAR/wpt | b3ec19cc197ab727dcfea1c03f8af1e37e6a8007 | [
"BSD-3-Clause"
] | 21 | 2021-03-31T19:48:22.000Z | 2022-03-12T00:24:53.000Z | common/security-features/subresource/referrer.py | FarooqAR/wpt | b3ec19cc197ab727dcfea1c03f8af1e37e6a8007 | [
"BSD-3-Clause"
] | 1 | 2020-07-17T13:06:00.000Z | 2020-07-17T13:06:00.000Z | def main(request, response):
referrer = request.headers.get("referer", "")
response_headers = [("Content-Type", "text/javascript")];
return (200, response_headers, "window.referrer = '" + referrer + "'")
| 43.2 | 74 | 0.657407 | 22 | 216 | 6.363636 | 0.681818 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 216 | 4 | 75 | 54 | 0.748634 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
a8e90033cec9a40e23c98c0ecd41ad9fc34fd257 | 48 | py | Python | constants.py | Ares513/DetectingTrollsApi | e37f731a090423c4a973d0d56319db49ed59a906 | [
"MIT"
] | 4 | 2018-11-26T07:58:02.000Z | 2020-10-20T07:02:31.000Z | constants.py | Ares513/DetectingTrollsApi | e37f731a090423c4a973d0d56319db49ed59a906 | [
"MIT"
] | null | null | null | constants.py | Ares513/DetectingTrollsApi | e37f731a090423c4a973d0d56319db49ed59a906 | [
"MIT"
] | null | null | null | MAX_VECTOR_COUNT = 40*300
LEARNING_RATE = 0.001 | 24 | 26 | 0.791667 | 9 | 48 | 3.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.125 | 48 | 2 | 27 | 24 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d10752e621325aedcceee34282a64d00ee0773a0 | 7,318 | py | Python | moogle/profiles/migrations/0003_auto__add_driveprofile.py | nimiq/moogle-project | f1fcac13fba43a6e93baf172571003359f4b725c | [
"Apache-2.0"
] | 4 | 2018-06-25T15:57:26.000Z | 2021-06-07T23:53:31.000Z | moogle/profiles/migrations/0003_auto__add_driveprofile.py | puntonim/moogle-project | f1fcac13fba43a6e93baf172571003359f4b725c | [
"Apache-2.0"
] | null | null | null | moogle/profiles/migrations/0003_auto__add_driveprofile.py | puntonim/moogle-project | f1fcac13fba43a6e93baf172571003359f4b725c | [
"Apache-2.0"
] | 1 | 2017-06-17T09:53:21.000Z | 2017-06-17T09:53:21.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):
# Adding model 'DriveProfile'
db.create_table('profiles_driveprofile', (
... | 73.18 | 193 | 0.57502 | 782 | 7,318 | 5.258312 | 0.138107 | 0.11284 | 0.194066 | 0.277237 | 0.750973 | 0.750973 | 0.729572 | 0.675584 | 0.593628 | 0.501946 | 0 | 0.013421 | 0.185433 | 7,318 | 100 | 194 | 73.18 | 0.676397 | 0.010795 | 0 | 0.303371 | 0 | 0 | 0.544085 | 0.316888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0.011236 | 0.044944 | 0 | 0.101124 | 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 |
d1291b97bbf578ec6b43eacae2a61b1b447fc7d1 | 304 | py | Python | netezza/pyodbc/operations.py | GuidoE/django-netezza | e9bf1888b37b20d8964efe8b231d77d327284acb | [
"BSD-3-Clause"
] | null | null | null | netezza/pyodbc/operations.py | GuidoE/django-netezza | e9bf1888b37b20d8964efe8b231d77d327284acb | [
"BSD-3-Clause"
] | null | null | null | netezza/pyodbc/operations.py | GuidoE/django-netezza | e9bf1888b37b20d8964efe8b231d77d327284acb | [
"BSD-3-Clause"
] | null | null | null | try:
from django.db.backends.base.operations import BaseDatabaseOperations
except ImportError:
from django.db.backends import BaseDatabaseOperations
class DatabaseOperations(BaseDatabaseOperations):
def quote_name(self, name):
return name # Netezza doesn't seem to like quoted names
| 33.777778 | 73 | 0.789474 | 35 | 304 | 6.828571 | 0.742857 | 0.083682 | 0.100418 | 0.167364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154605 | 304 | 8 | 74 | 38 | 0.929961 | 0.134868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.857143 | 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 | 1 | 0 | 0 | 0 | 4 |
d13d2b0486c5adca425f7fe979bccc0254a485ad | 181 | py | Python | mmdet3d/models/model_utils/__init__.py | wangguojun2018/CenterNet3d | 5ddee6be104a9a22ee80fdeddc6f2627e36966d2 | [
"Apache-2.0"
] | 91 | 2020-08-07T09:38:32.000Z | 2022-02-12T08:11:08.000Z | mmdet3d/models/model_utils/__init__.py | wangguojun2018/CenterNet3d | 5ddee6be104a9a22ee80fdeddc6f2627e36966d2 | [
"Apache-2.0"
] | 12 | 2020-08-17T08:57:41.000Z | 2021-12-08T09:25:12.000Z | mmdet3d/models/model_utils/__init__.py | wangguojun2018/CenterNet3d | 5ddee6be104a9a22ee80fdeddc6f2627e36966d2 | [
"Apache-2.0"
] | 14 | 2020-08-12T13:14:32.000Z | 2022-01-28T16:34:21.000Z | from .vote_module import VoteModule
from .deform_conv_layers import DeformConvBlock,ModulatedDeformConvBlock
__all__ = ['VoteModule','DeformConvBlock','ModulatedDeformConvBlock']
| 30.166667 | 72 | 0.850829 | 16 | 181 | 9.1875 | 0.6875 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071823 | 181 | 5 | 73 | 36.2 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.270718 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
d1696143fd4b119959d1d05be87a8c159434831c | 2,114 | py | Python | codigo/setup.py | mattyws/desafio-iafront | 72514b162acc9e13c2d0c8f0edcac652254ef2ce | [
"MIT"
] | null | null | null | codigo/setup.py | mattyws/desafio-iafront | 72514b162acc9e13c2d0c8f0edcac652254ef2ce | [
"MIT"
] | null | null | null | codigo/setup.py | mattyws/desafio-iafront | 72514b162acc9e13c2d0c8f0edcac652254ef2ce | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='desafio_iafront',
version='',
packages=find_packages(),
url='',
license='',
author='Time IA-FRONT',
author_email='',
description='',
install_requires=[
"scikit-learn==0.23.1",
"click==7.1.2",
"bokeh==2.... | 42.28 | 109 | 0.687323 | 223 | 2,114 | 6.295964 | 0.363229 | 0.19943 | 0.24359 | 0.159544 | 0.32265 | 0.117521 | 0.058405 | 0 | 0 | 0 | 0 | 0.011131 | 0.192526 | 2,114 | 49 | 110 | 43.142857 | 0.811365 | 0 | 0 | 0 | 0 | 0 | 0.684011 | 0.62157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.02381 | 0 | 0.02381 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
66f33328e0068e7238900c0838ea8d7e8861c5e2 | 1,538 | py | Python | Tracked.py | FLUX-SE/TrackedHQ_python_wrapper | d35f868698d0ba0cb2fdb820317f7460b154a6d0 | [
"MIT"
] | null | null | null | Tracked.py | FLUX-SE/TrackedHQ_python_wrapper | d35f868698d0ba0cb2fdb820317f7460b154a6d0 | [
"MIT"
] | null | null | null | Tracked.py | FLUX-SE/TrackedHQ_python_wrapper | d35f868698d0ba0cb2fdb820317f7460b154a6d0 | [
"MIT"
] | null | null | null | import requests
from endpoints.projects import Projects
from endpoints.lists import Lists
from endpoints.todos import Todos
from endpoints.labels import Labels
class Tracked:
def __init__(self, email_address: str, api_token: str, basecamp_account_id: int):
self.email_address = email_address
self.... | 22.617647 | 85 | 0.625488 | 185 | 1,538 | 5.037838 | 0.254054 | 0.067597 | 0.054721 | 0.038627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00157 | 0.171652 | 1,538 | 67 | 86 | 22.955224 | 0.729984 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 1 | 0.217391 | false | 0 | 0.217391 | 0.173913 | 0.652174 | 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 |
0f032521e184f1fa8a0a86a13faacc211610b88e | 98 | py | Python | codes_auto/617.merge-two-binary-trees.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/617.merge-two-binary-trees.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/617.merge-two-binary-trees.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=617 lang=python3
#
# [617] merge-two-binary-trees
#
None
# @lc code=end | 14 | 41 | 0.673469 | 17 | 98 | 3.882353 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 98 | 7 | 42 | 14 | 0.702381 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0f1419ef7258e0dcad418741962b2f3ca06ef45e | 407 | py | Python | sancho/dglload.py | el-assistant/sancho | 8d22429f144573a961b97d4e713ec0763b2d5b1e | [
"Apache-2.0"
] | null | null | null | sancho/dglload.py | el-assistant/sancho | 8d22429f144573a961b97d4e713ec0763b2d5b1e | [
"Apache-2.0"
] | null | null | null | sancho/dglload.py | el-assistant/sancho | 8d22429f144573a961b97d4e713ec0763b2d5b1e | [
"Apache-2.0"
] | null | null | null | """
This module implents data loading into DGL library
"""
from defaults import *
import dgl
import torch as th
from parsing import ParsedText
from neo4jschema import ASTnode as N4node
def get_coo(node: N4Node):
assert node.kind == "module"
visited = {}
# TODO: tag nodes by file name to improve query
d... | 19.380952 | 55 | 0.724816 | 58 | 407 | 5.034483 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.203931 | 407 | 20 | 56 | 20.35 | 0.891975 | 0.238329 | 0 | 0 | 0 | 0 | 0.019868 | 0 | 0 | 0 | 0 | 0.05 | 0.181818 | 1 | 0.181818 | false | 0.090909 | 0.454545 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
0f1f49dd40b5ff0e3a533581da397dbcacf950ec | 91 | py | Python | server/yubikeys/apps.py | msdrigg/DuoAutoFiller | 16245bfc1caa4fd5e0fe15e65e1392beb4d62ddb | [
"Apache-2.0",
"MIT"
] | null | null | null | server/yubikeys/apps.py | msdrigg/DuoAutoFiller | 16245bfc1caa4fd5e0fe15e65e1392beb4d62ddb | [
"Apache-2.0",
"MIT"
] | 2 | 2021-06-09T18:39:48.000Z | 2021-06-10T20:37:06.000Z | server/yubikeys/apps.py | msdrigg/DuoAutoFiller | 16245bfc1caa4fd5e0fe15e65e1392beb4d62ddb | [
"Apache-2.0",
"MIT"
] | null | null | null | from django.apps import AppConfig
class YubikeysConfig(AppConfig):
name = 'yubikeys'
| 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 |
0f4047c6ee261d9a09cf6b01b1565f2cb3552706 | 160 | py | Python | 2 - Tipos de dados/2.7 - Binário/bytes.py | SamuelHDieterich/Walkthrough-Python | 22ca407d55af33f1aeb3f78a5b5019d76d2d3cd9 | [
"MIT"
] | 3 | 2021-06-09T23:04:34.000Z | 2021-06-10T16:54:58.000Z | 2 - Tipos de dados/2.7 - Binário/bytes.py | SamuelHDieterich/Walkthrough-Python | 22ca407d55af33f1aeb3f78a5b5019d76d2d3cd9 | [
"MIT"
] | null | null | null | 2 - Tipos de dados/2.7 - Binário/bytes.py | SamuelHDieterich/Walkthrough-Python | 22ca407d55af33f1aeb3f78a5b5019d76d2d3cd9 | [
"MIT"
] | null | null | null | # A variável "oi" recebe o valor "Hi" em bytes
oi = b'Hi'
# Retorna o valor da variável
print(oi) # b'Hi'
# Retorna o tipo
print(type(oi)) # <class 'bytes'> | 20 | 46 | 0.64375 | 29 | 160 | 3.551724 | 0.551724 | 0.116505 | 0.097087 | 0.23301 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20625 | 160 | 8 | 47 | 20 | 0.811024 | 0.68125 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0f7002d1a07a5ef1736bf4250c8507b2fa3a3644 | 102 | py | Python | code/AST/PrintAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/AST/PrintAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/AST/PrintAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | 1 | 2021-12-05T14:00:39.000Z | 2021-12-05T14:00:39.000Z | from .AST import AST
class PrintAST(AST):
def __init__(self, value):
self.value = value
| 14.571429 | 30 | 0.647059 | 14 | 102 | 4.428571 | 0.642857 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254902 | 102 | 6 | 31 | 17 | 0.815789 | 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 | 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 |
0f74cb4ef6e5129ba3d19e0c59e4a70404de6483 | 53 | py | Python | grr/server/grr_response_server/bin/__init__.py | nkrios/grr | 399e078ed522bf0555a2666fb086aa7809d54971 | [
"Apache-2.0"
] | 4,238 | 2015-01-01T15:34:50.000Z | 2022-03-31T08:18:05.000Z | grr/server/grr_response_server/bin/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 787 | 2015-01-02T21:34:24.000Z | 2022-03-02T13:26:38.000Z | grr/server/grr_response_server/bin/__init__.py | tomchop/grr | 27ba38dc0f5ad4f3e0cdbfb146a0a789e3b0d27b | [
"Apache-2.0"
] | 856 | 2015-01-02T02:50:11.000Z | 2022-03-31T11:11:53.000Z | #!/usr/bin/env python
"""GRR server entry points."""
| 17.666667 | 30 | 0.660377 | 8 | 53 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 31 | 26.5 | 0.744681 | 0.849057 | 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 |
7e1fa6ba23a12ed95b1198dde51a163b560e06a6 | 43 | py | Python | modules/2.79/bpy/types/WoodTexture.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/WoodTexture.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/WoodTexture.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | WoodTexture.users_object_modifier = None
| 10.75 | 40 | 0.837209 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 3 | 41 | 14.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e27d98a1d76cc7cadfdd5e163804bddcee6eb26 | 166 | py | Python | Chapter 04/4.01/model.py | ACsBlack/Tkinter-GUI-Application-Development-Blueprints-Second-Edition | c6a045fbf5ba3ece5e8a02bbe33ac13bb57b2b8e | [
"MIT"
] | 120 | 2018-03-04T07:17:00.000Z | 2022-01-25T08:09:57.000Z | Chapter 04/4.01/model.py | ACsBlack/Tkinter-GUI-Application-Development-Blueprints-Second-Edition | c6a045fbf5ba3ece5e8a02bbe33ac13bb57b2b8e | [
"MIT"
] | 3 | 2019-03-24T09:32:43.000Z | 2020-07-28T07:35:49.000Z | Chapter 04/4.01/model.py | ACsBlack/Tkinter-GUI-Application-Development-Blueprints-Second-Edition | c6a045fbf5ba3ece5e8a02bbe33ac13bb57b2b8e | [
"MIT"
] | 81 | 2018-04-18T06:51:46.000Z | 2022-03-30T01:31:35.000Z | """
Code illustration: 4.01
@ Tkinter GUI Application Development Blueprints
"""
from configurations import *
class Model():
def __init__(self):
pass
| 12.769231 | 48 | 0.686747 | 18 | 166 | 6.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023077 | 0.216867 | 166 | 12 | 49 | 13.833333 | 0.823077 | 0.439759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
7e8b924c4ad78e3c166eabfc80233313caf6f1ff | 43 | py | Python | bob/db/swan/config_protocol_grandtest0_voice_bio.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | bob/db/swan/config_protocol_grandtest0_voice_bio.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | bob/db/swan/config_protocol_grandtest0_voice_bio.py | bioidiap/bob.db.swan | 676510d47cb08b65be04f51d45746127c36bf2ce | [
"BSD-3-Clause"
] | null | null | null | database.protocol = 'grandtest0-voice-bio'
| 21.5 | 42 | 0.790698 | 5 | 43 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.069767 | 43 | 1 | 43 | 43 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7e94eba084103344fd75f2dbb7d1b4473b585bb4 | 303 | py | Python | djangocms_baseplugins/baseplugin/templatetags/baseplugin_tags.py | benzkji/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | 2 | 2019-04-14T01:31:22.000Z | 2020-03-05T13:06:57.000Z | djangocms_baseplugins/baseplugin/templatetags/baseplugin_tags.py | benzkji/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | 32 | 2017-04-04T09:28:06.000Z | 2021-08-18T16:23:02.000Z | djangocms_baseplugins/baseplugin/templatetags/baseplugin_tags.py | bnzk/djangocms-baseplugins | 7f041a030ed93dcdec70e4ca777b841846b8f2f2 | [
"MIT"
] | null | null | null | from django import template
from ..utils import sanitize_richtext
register = template.Library()
@register.filter
def baseplugin_pluginid(plugin_object):
return 'data-plugin-id="%s"' % plugin_object.pk
@register.filter
def baseplugin_sanitize_richtext(text):
return sanitize_richtext(text)
| 18.9375 | 51 | 0.785479 | 38 | 303 | 6.078947 | 0.552632 | 0.207792 | 0.147186 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122112 | 303 | 15 | 52 | 20.2 | 0.868421 | 0 | 0 | 0.222222 | 0 | 0 | 0.062706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
0e2379e575c7d774109c782d7f2dc0362537a379 | 156 | py | Python | 4-2/race.py | mttaggart/everlive-python-intro | f3502d035c56d2eec7a738b9cdc8445e07ca14f9 | [
"MIT"
] | null | null | null | 4-2/race.py | mttaggart/everlive-python-intro | f3502d035c56d2eec7a738b9cdc8445e07ca14f9 | [
"MIT"
] | null | null | null | 4-2/race.py | mttaggart/everlive-python-intro | f3502d035c56d2eec7a738b9cdc8445e07ca14f9 | [
"MIT"
] | null | null | null | from car import Car
class Race:
def __init__(self, racers, distance):
pass
def tick(self):
pass
def run(self):
pass
| 12 | 41 | 0.557692 | 20 | 156 | 4.15 | 0.65 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365385 | 156 | 12 | 42 | 13 | 0.838384 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0e363f768ee327e8f4a3c49cf1069d489693080e | 148 | py | Python | data_analyse_nba.py | xingangzhang/PythonTest | 998befde88aeb59d36ee6e9cbd2d1f6b1eda5252 | [
"Apache-2.0"
] | null | null | null | data_analyse_nba.py | xingangzhang/PythonTest | 998befde88aeb59d36ee6e9cbd2d1f6b1eda5252 | [
"Apache-2.0"
] | null | null | null | data_analyse_nba.py | xingangzhang/PythonTest | 998befde88aeb59d36ee6e9cbd2d1f6b1eda5252 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*-coding:utf-8-*-
"""
@author: smartgang
@contact: zhangxingang92@qq.com
@file: data_analyse_nba.py
@time: 2017/12/5 11:02
""" | 16.444444 | 31 | 0.675676 | 23 | 148 | 4.26087 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0.094595 | 148 | 9 | 32 | 16.444444 | 0.626866 | 0.918919 | 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 |
0e3d794d4010eb99851c33b9034b01e9b415c08c | 117 | py | Python | safe_relay_service/relay/tests/test_safe_creation_tx.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 5 | 2021-06-07T14:07:32.000Z | 2022-03-26T19:42:45.000Z | safe_relay_service/relay/tests/test_safe_creation_tx.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 24 | 2019-12-11T14:43:38.000Z | 2022-03-01T12:37:24.000Z | safe_relay_service/relay/tests/test_safe_creation_tx.py | vaporyorg/safe-relay-service | 1289c3d31639f83aa2c0110ff3b84a69212b81f5 | [
"MIT"
] | 4 | 2020-05-25T03:30:53.000Z | 2021-11-22T06:51:12.000Z | from gnosis.safe.tests.test_safe_creation_tx import \
TestSafeCreationTx # noqa # pylint: disable=unused-import
| 39 | 62 | 0.794872 | 15 | 117 | 6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 117 | 2 | 63 | 58.5 | 0.882353 | 0.299145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0e5cfbbc20c744656a53e22090b0176389ad79ee | 145 | py | Python | test/test_vision/test_cutout.py | Fragile-azalea/homura | 900d1d63affb9c8af3accd9b196b5276cb2e14b6 | [
"Apache-2.0"
] | 1 | 2020-06-30T01:55:41.000Z | 2020-06-30T01:55:41.000Z | test/test_vision/test_cutout.py | Fragile-azalea/homura | 900d1d63affb9c8af3accd9b196b5276cb2e14b6 | [
"Apache-2.0"
] | null | null | null | test/test_vision/test_cutout.py | Fragile-azalea/homura | 900d1d63affb9c8af3accd9b196b5276cb2e14b6 | [
"Apache-2.0"
] | null | null | null | import torch
from homura.vision import CutOut
def test_cutout():
input = torch.randn(3, 32, 32)
cutout = CutOut(16)
cutout(input)
| 14.5 | 34 | 0.675862 | 21 | 145 | 4.619048 | 0.619048 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 0.22069 | 145 | 9 | 35 | 16.111111 | 0.79646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
0e72b3d3b260698cfad9e14c896a016dedae77ab | 186 | py | Python | authors/apps/articles/apps.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/articles/apps.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 26 | 2019-01-07T14:22:05.000Z | 2019-02-28T17:11:48.000Z | authors/apps/articles/apps.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T22:16:09.000Z | 2019-10-16T21:16:16.000Z | from django.apps import AppConfig
class ArticlesConfig(AppConfig):
name = 'authors.apps.articles'
def ready(self):
from authors.apps.usernotifications import handlers
| 20.666667 | 59 | 0.741935 | 21 | 186 | 6.571429 | 0.714286 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 186 | 8 | 60 | 23.25 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0e880379044f9b6c32566be3e279747a88460f22 | 65 | py | Python | python/geo_calculator/src/planets.py | JEsperancinhaOrg/geo-calculator | 1915a2368ec061b71a0925961afa07e36a682f77 | [
"Apache-2.0"
] | null | null | null | python/geo_calculator/src/planets.py | JEsperancinhaOrg/geo-calculator | 1915a2368ec061b71a0925961afa07e36a682f77 | [
"Apache-2.0"
] | null | null | null | python/geo_calculator/src/planets.py | JEsperancinhaOrg/geo-calculator | 1915a2368ec061b71a0925961afa07e36a682f77 | [
"Apache-2.0"
] | null | null | null | EARTH = 6371000
MOON = 1737100
MARS = 3389500
JUPITER = 69911000
| 13 | 18 | 0.753846 | 8 | 65 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.54717 | 0.184615 | 65 | 4 | 19 | 16.25 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7ec62743bc463258d844adff8152a84a0704c8e4 | 151 | py | Python | postgrest/constants.py | bariqhibat/postgrest-py | f30e6880f3a6dd125557aa67a631ef56120605f4 | [
"MIT"
] | 34 | 2021-09-14T05:17:09.000Z | 2022-03-29T18:20:59.000Z | postgrest/constants.py | bariqhibat/postgrest-py | f30e6880f3a6dd125557aa67a631ef56120605f4 | [
"MIT"
] | 77 | 2021-09-14T04:57:58.000Z | 2022-03-25T14:25:08.000Z | postgrest/constants.py | bariqhibat/postgrest-py | f30e6880f3a6dd125557aa67a631ef56120605f4 | [
"MIT"
] | 7 | 2021-09-21T01:30:08.000Z | 2022-03-12T21:16:07.000Z | DEFAULT_POSTGREST_CLIENT_HEADERS = {
"Accept": "application/json",
"Content-Type": "application/json",
}
DEFAULT_POSTGREST_CLIENT_TIMEOUT = 5
| 21.571429 | 39 | 0.741722 | 16 | 151 | 6.625 | 0.6875 | 0.301887 | 0.415094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.13245 | 151 | 6 | 40 | 25.166667 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0.331126 | 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 |
7d1bfb161eb50cebb203a7fcb6dacbe461c4aaed | 2,304 | py | Python | utils/test_images_generator/random_image_generator.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | 2 | 2021-03-23T16:14:03.000Z | 2021-04-03T19:21:26.000Z | utils/test_images_generator/random_image_generator.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | null | null | null | utils/test_images_generator/random_image_generator.py | pgolab/mosaic-maker-opencv-python | 348597747dba7133abe3836d79cf062be6d34646 | [
"MIT"
] | 4 | 2018-04-10T12:30:51.000Z | 2021-04-13T12:48:43.000Z | import cv2
import numpy as np
from utils.test_images_generator.generator_config import AVAILABLE_SHAPES_DICT
from utils.test_images_generator.generator_utils import generate_random_color, generate_random_image_points
def generate_random_image(width, height):
# ToDo generate white image
# https://numpy.org/do... | 41.142857 | 107 | 0.766493 | 313 | 2,304 | 5.306709 | 0.236422 | 0.072246 | 0.068633 | 0.075256 | 0.695364 | 0.579169 | 0.534618 | 0.437688 | 0.437688 | 0.387116 | 0 | 0.025329 | 0.143229 | 2,304 | 55 | 108 | 41.890909 | 0.816109 | 0.498698 | 0 | 0.16 | 1 | 0 | 0.023747 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 0.2 | false | 0 | 0.16 | 0.16 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7d3dc4e9497edb67977384852788b89b58c4a30e | 345 | py | Python | bii_webapp/apps/accounts/models.py | ISA-tools/bii-webapp | 3c14be8abaf1694b8114c278538c8a63b6fecdc8 | [
"MIT"
] | 2 | 2015-02-10T12:07:13.000Z | 2020-03-21T17:41:13.000Z | bii_webapp/apps/accounts/models.py | TGAC/bii-webapp | 3c14be8abaf1694b8114c278538c8a63b6fecdc8 | [
"MIT"
] | 1 | 2017-06-13T15:55:56.000Z | 2017-06-13T15:55:56.000Z | bii_webapp/apps/accounts/models.py | TGAC/bii-webapp | 3c14be8abaf1694b8114c278538c8a63b6fecdc8 | [
"MIT"
] | 1 | 2017-04-10T19:09:11.000Z | 2017-04-10T19:09:11.000Z | from django.db import models
from django.contrib.auth.models import User
# class B(models.Model):
# b1=models.CharField(max_length=200)
#
class UserProfile(models.Model):
user = models.ForeignKey(User, unique=True)
website = models.URLField("Website", blank=True)
company = models.CharField(max... | 34.5 | 58 | 0.721739 | 46 | 345 | 5.369565 | 0.543478 | 0.080972 | 0.145749 | 0.194332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.15942 | 345 | 9 | 59 | 38.333333 | 0.831034 | 0.17971 | 0 | 0 | 0 | 0 | 0.026119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
adf04551b34cf652588e9fefb60cb0f36ea23223 | 141 | py | Python | .history/blog/urls_20200416031229.py | abhinavmarwaha/demo-django-blog | c80a7d825e44d7e1589d9272c3583764562a2515 | [
"MIT"
] | null | null | null | .history/blog/urls_20200416031229.py | abhinavmarwaha/demo-django-blog | c80a7d825e44d7e1589d9272c3583764562a2515 | [
"MIT"
] | null | null | null | .history/blog/urls_20200416031229.py | abhinavmarwaha/demo-django-blog | c80a7d825e44d7e1589d9272c3583764562a2515 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from django.contrib import admin
from djangoo.u
urlpatterns = [
path(r'^admin/', admin.site.urls),
]
| 14.1 | 38 | 0.716312 | 21 | 141 | 4.809524 | 0.666667 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 141 | 9 | 39 | 15.666667 | 0.855932 | 0 | 0 | 0 | 0 | 0 | 0.049645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
adf11251642683e833c199f47a01fced29cb78ac | 347 | py | Python | src/_set_import_paths.py | gordonsilvera/project-implicit | ded78d5ab57c6a4f418200f8590dba92a866980e | [
"Apache-2.0"
] | null | null | null | src/_set_import_paths.py | gordonsilvera/project-implicit | ded78d5ab57c6a4f418200f8590dba92a866980e | [
"Apache-2.0"
] | null | null | null | src/_set_import_paths.py | gordonsilvera/project-implicit | ded78d5ab57c6a4f418200f8590dba92a866980e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import site
import configs
SOURCE_CODE_FILEPATH = '/home/jovyan/work/src'
def set_import_path(import_path=configs.SOURCE_CODE_FILEPATH):
site.addsitedir(import_path)
print("Added the following path to the import paths "
"list:\n{}".format(import_path))
if __name__ == '__mai... | 23.133333 | 62 | 0.731988 | 49 | 347 | 4.795918 | 0.612245 | 0.212766 | 0.144681 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 0.152738 | 347 | 15 | 63 | 23.133333 | 0.795918 | 0.060519 | 0 | 0 | 0 | 0 | 0.254601 | 0.064417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.777778 | 0 | 0.888889 | 0.111111 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc0190204f12bd073eb762979508b77e40dc34a2 | 5,553 | py | Python | tests/fixtures/test_body_block_content_render/content_11_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-04-16T08:13:31.000Z | 2020-05-18T14:03:06.000Z | tests/fixtures/test_body_block_content_render/content_11_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 310 | 2015-02-11T00:30:09.000Z | 2021-07-14T23:58:50.000Z | tests/fixtures/test_body_block_content_render/content_11_expected.py | elifesciences/elife-tools | ee345bf0e6703ef0f7e718355e85730abbdfd117 | [
"MIT"
] | 9 | 2015-02-04T01:21:28.000Z | 2021-06-15T12:50:47.000Z | from collections import OrderedDict
expected = [
OrderedDict(
[
(
"content",
[
OrderedDict(
[
("type", "paragraph"),
(
"text",
... | 50.944954 | 96 | 0.103728 | 128 | 5,553 | 4.5 | 0.414063 | 0.260417 | 0.208333 | 0.243056 | 0.368056 | 0.243056 | 0.243056 | 0.243056 | 0.163194 | 0 | 0 | 0.031959 | 0.82532 | 5,553 | 108 | 97 | 51.416667 | 0.561856 | 0 | 0 | 0.401869 | 0 | 0 | 0.0859 | 0.008284 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009346 | 0 | 0.009346 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bc189266b9ad40fed482a7d7cbc869ef30a1f486 | 629 | py | Python | release/stubs.min/System/Windows/Forms/__init___parts/ToolStripItemEventArgs.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/System/Windows/Forms/__init___parts/ToolStripItemEventArgs.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/System/Windows/Forms/__init___parts/ToolStripItemEventArgs.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class ToolStripItemEventArgs(EventArgs):
"""
Provides data for System.Windows.Forms.ToolStripItem events.
ToolStripItemEventArgs(item: ToolStripItem)
"""
def __getitem__(self, *args):
""" x.__getitem__(y) <==> x[y] """
pass
@staticmethod
def __new__(self, item):
... | 21.689655 | 84 | 0.626391 | 63 | 629 | 6 | 0.539683 | 0.079365 | 0.095238 | 0.164021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248013 | 629 | 28 | 85 | 22.464286 | 0.799154 | 0.27663 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
bc2cc43aad8b3a97e33ecdc9ff29e74035ee093e | 255 | py | Python | funnel/views/__init__.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | funnel/views/__init__.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | funnel/views/__init__.py | jace/goafunnel | 5ff25f0e6a247ff1f6e87fce2a793d1775476cc0 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from .index import *
from .login import *
from .space import *
from .section import *
from .usergroup import *
from .proposal import *
from .commentvote import *
from .venue import *
from .schedule import *
from .session import *
| 19.615385 | 26 | 0.705882 | 33 | 255 | 5.454545 | 0.454545 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.180392 | 255 | 12 | 27 | 21.25 | 0.856459 | 0.082353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
70bed9db62493aa137cdab2c1289db76fb1f5bd5 | 9,816 | py | Python | Software/dsmr.py | AvansETI/SmartMeterDIY_schematics | ea8c4733666dd21f8a131359a2c4df9ec834e334 | [
"MIT"
] | null | null | null | Software/dsmr.py | AvansETI/SmartMeterDIY_schematics | ea8c4733666dd21f8a131359a2c4df9ec834e334 | [
"MIT"
] | null | null | null | Software/dsmr.py | AvansETI/SmartMeterDIY_schematics | ea8c4733666dd21f8a131359a2c4df9ec834e334 | [
"MIT"
] | null | null | null | from __future__ import annotations
from abc import ABC, abstractmethod
import re
import json
class DSMR_Parser(object):
"""
P1 datagram parser for Dutch Smart Meter Readings
"""
def __init__(self, datagram) -> None:
self._strategy = DSMR_UNKNOWN()
self._datagram = datagram
if re... | 41.948718 | 955 | 0.523635 | 1,459 | 9,816 | 3.417409 | 0.104866 | 0.019254 | 0.059567 | 0.044124 | 0.773165 | 0.752507 | 0.716005 | 0.70718 | 0.69635 | 0.688728 | 0 | 0.129129 | 0.253667 | 9,816 | 233 | 956 | 42.128755 | 0.551461 | 0.20487 | 0 | 0.65493 | 0 | 0.105634 | 0.219468 | 0.136974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06338 | false | 0.007042 | 0.028169 | 0.021127 | 0.176056 | 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 |
70ddecedf86a92b8a6b82479505838e781c6f09f | 24 | py | Python | ext/opentelemetry-ext-testutil/src/opentelemetry/ext/testutil/version.py | lzchen/opentelemetry-python | d3bb2280daed284e7adf530a978903a1bbf503c9 | [
"Apache-2.0"
] | null | null | null | ext/opentelemetry-ext-testutil/src/opentelemetry/ext/testutil/version.py | lzchen/opentelemetry-python | d3bb2280daed284e7adf530a978903a1bbf503c9 | [
"Apache-2.0"
] | null | null | null | ext/opentelemetry-ext-testutil/src/opentelemetry/ext/testutil/version.py | lzchen/opentelemetry-python | d3bb2280daed284e7adf530a978903a1bbf503c9 | [
"Apache-2.0"
] | null | null | null | __version__ = "0.3dev0"
| 12 | 23 | 0.708333 | 3 | 24 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.125 | 24 | 1 | 24 | 24 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 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 |
cb249856774fd42eb77241503976813dc826dc42 | 69 | py | Python | mmpose/core/optimizer/registry.py | chaowentao/mmpose | b528c60ef4fab56d35d1ed7e187023794639be26 | [
"Apache-2.0"
] | 367 | 2022-01-14T03:32:25.000Z | 2022-03-31T04:48:20.000Z | mmpose/core/optimizer/registry.py | chaowentao/mmpose | b528c60ef4fab56d35d1ed7e187023794639be26 | [
"Apache-2.0"
] | 27 | 2022-01-27T07:12:49.000Z | 2022-03-31T04:31:13.000Z | mmpose/core/optimizer/registry.py | chaowentao/mmpose | b528c60ef4fab56d35d1ed7e187023794639be26 | [
"Apache-2.0"
] | 53 | 2022-01-18T11:21:43.000Z | 2022-03-31T06:42:41.000Z | from mmcv.utils import Registry
OPTIMIZERS = Registry('optimizers')
| 17.25 | 35 | 0.797101 | 8 | 69 | 6.875 | 0.75 | 0.654545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 3 | 36 | 23 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 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 |
cb26c0035fef4d76139bc690dabbcd06584bfcdd | 89 | py | Python | lemon/default/main.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 6 | 2020-11-22T11:42:55.000Z | 2022-01-09T12:29:30.000Z | lemon/default/main.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 1 | 2020-11-21T00:05:40.000Z | 2020-11-22T21:58:54.000Z | lemon/default/main.py | InsaneMiner/Salt | b61c5f931fe4b6fa652e8fbfb59b30dbaaf9ed18 | [
"MIT"
] | 2 | 2021-06-05T04:19:04.000Z | 2021-06-05T04:28:08.000Z | import lemon.StartDevServer as DevServer
if __name__ == "__main__":
DevServer.Start() | 29.666667 | 40 | 0.764045 | 10 | 89 | 6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 41 | 29.666667 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 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 |
cb54b6355bcf0d308d5b24b8f4e169b18969096e | 60 | py | Python | wsgi.py | wnormandin/pokeyapi | 3012a758e9f63419107d8d07ce8a90213ba892ba | [
"MIT"
] | null | null | null | wsgi.py | wnormandin/pokeyapi | 3012a758e9f63419107d8d07ce8a90213ba892ba | [
"MIT"
] | null | null | null | wsgi.py | wnormandin/pokeyapi | 3012a758e9f63419107d8d07ce8a90213ba892ba | [
"MIT"
] | null | null | null | from api import api
if __name__=="__main__":
api.run()
| 12 | 24 | 0.666667 | 9 | 60 | 3.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 4 | 25 | 15 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 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 |
cb7458e9de16fb84bee134319e5165622aaedddd | 1,935 | py | Python | ldt/tests/dicts/semantics/test_babelnet.py | Darkdragon84/ldt | 0f65dc515a22c8bef159ef087071d691062fbc61 | [
"Apache-2.0"
] | 14 | 2018-09-27T18:28:28.000Z | 2021-11-23T16:17:04.000Z | ldt/tests/dicts/semantics/test_babelnet.py | Darkdragon84/ldt | 0f65dc515a22c8bef159ef087071d691062fbc61 | [
"Apache-2.0"
] | 3 | 2018-11-13T16:50:33.000Z | 2021-05-07T16:34:24.000Z | ldt/tests/dicts/semantics/test_babelnet.py | Darkdragon84/ldt | 0f65dc515a22c8bef159ef087071d691062fbc61 | [
"Apache-2.0"
] | 4 | 2019-01-19T14:52:38.000Z | 2021-05-12T10:55:17.000Z | import unittest
import os
os.environ["TESTING_LDT"] = "TRUE"
import ldt
class Tests(unittest.TestCase):
'''
The tests in this block inspect the BabelNet functionality: the pre-computed
output is expected to be contained, but the module is not punished for
new words not in the pre-computed lists - in... | 34.553571 | 80 | 0.625323 | 220 | 1,935 | 5.377273 | 0.331818 | 0.08115 | 0.088757 | 0.094675 | 0.393068 | 0.335587 | 0.335587 | 0.335587 | 0.297549 | 0.209637 | 0 | 0.021873 | 0.243928 | 1,935 | 56 | 81 | 34.553571 | 0.78674 | 0.806202 | 0 | 0 | 0 | 0 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cb8da885427dede68ce224778f49051f70f5e858 | 153 | py | Python | example/ner/utils.py | tipevo/webstruct | 17c8254898368ead7448a9145e98a125f8891558 | [
"MIT"
] | 210 | 2015-01-06T01:37:28.000Z | 2022-03-30T10:44:31.000Z | example/ner/utils.py | tipevo/webstruct | 17c8254898368ead7448a9145e98a125f8891558 | [
"MIT"
] | 43 | 2015-02-05T05:49:53.000Z | 2021-09-02T10:27:24.000Z | example/ner/utils.py | tipevo/webstruct | 17c8254898368ead7448a9145e98a125f8891558 | [
"MIT"
] | 60 | 2015-02-13T10:15:58.000Z | 2022-02-26T07:54:03.000Z | # -*- coding: utf-8 -*-
from functools import partial
from tqdm import tqdm
pages_progress = partial(tqdm, unit=' pages', smoothing=False, leave=True)
| 21.857143 | 74 | 0.72549 | 21 | 153 | 5.238095 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.143791 | 153 | 6 | 75 | 25.5 | 0.832061 | 0.137255 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cbbf2da94227e69e9f8b6018810a97bf748d31b2 | 4,783 | py | Python | 01 - Basics/00-install.py | python-demo-codes/basics | 2a151bbff4b528cefd52978829c632fd087c8f20 | [
"DOC"
] | 2 | 2019-08-23T06:05:55.000Z | 2019-08-26T03:56:07.000Z | 01 - Basics/00-install.py | python-lang-codes/basics | 2a151bbff4b528cefd52978829c632fd087c8f20 | [
"DOC"
] | null | null | null | 01 - Basics/00-install.py | python-lang-codes/basics | 2a151bbff4b528cefd52978829c632fd087c8f20 | [
"DOC"
] | 4 | 2020-10-01T07:16:07.000Z | 2021-07-17T07:55:08.000Z | # HEAD
# Python Basics
# DESCRIPTION
# Describe the basic setup, and development environment of Python
# RESOURCES
#
# ----------PYTHON----------
# PYTHON ORG
# https://www.python.org/
# ANACONDA
# https://www.anaconda.com/
# ----------IDE-------------
# JUPYTER
# python3 -m pip install --upgrade pip
# python3 -m ... | 28.640719 | 101 | 0.724023 | 691 | 4,783 | 5.013025 | 0.276411 | 0.138568 | 0.190531 | 0.311778 | 0.406467 | 0.406467 | 0.406467 | 0.406467 | 0.406467 | 0.406467 | 0 | 0.029026 | 0.17165 | 4,783 | 166 | 102 | 28.813253 | 0.844775 | 0.938741 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cbce6cd9488ef7816e125596fbdcb63ec8ac4df3 | 4,021 | py | Python | src/satyrus/types/base.py | pedromxavier/Satyrus3 | ed74a3c5e7271a1cb6414e524c209f26cb822ae8 | [
"MIT"
] | 1 | 2021-09-03T13:54:20.000Z | 2021-09-03T13:54:20.000Z | src/satyrus/types/base.py | pedromxavier/Satyrus3 | ed74a3c5e7271a1cb6414e524c209f26cb822ae8 | [
"MIT"
] | null | null | null | src/satyrus/types/base.py | pedromxavier/Satyrus3 | ed74a3c5e7271a1cb6414e524c209f26cb822ae8 | [
"MIT"
] | 2 | 2020-09-17T22:40:48.000Z | 2021-09-09T12:58:16.000Z | """
"""
# Future Imports
from __future__ import annotations
# Local
from ..satlib import Source, Posiform
from ..symbols import T_NOT, T_AND, T_OR, T_XOR, T_IMP, T_IFF, T_RIMP, T_EQ, T_NE, T_LT, T_LE, T_GT, T_GE, T_IDX, T_ADD, T_SUB, T_DIV, T_MUL, T_NEG
class MetaSatType(type):
base_type = None
def __new__... | 29.137681 | 147 | 0.607312 | 518 | 4,021 | 4.326255 | 0.185328 | 0.136546 | 0.144132 | 0.186524 | 0.437305 | 0.424364 | 0.412316 | 0.341812 | 0.307006 | 0 | 0 | 0 | 0.271823 | 4,021 | 137 | 148 | 29.350365 | 0.765369 | 0.037055 | 0 | 0.137931 | 0 | 0 | 0.030917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.321839 | false | 0 | 0.034483 | 0.298851 | 0.735632 | 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 |
1dac7c24b5529c23ce2bfaf9f138f14428112cc8 | 92 | py | Python | AlphabetPy/__init__.py | RayZhao1998/alphabetPy | 8376b8e1be6b06c2cac8412efad7227c3e2f63cf | [
"MIT"
] | 6 | 2018-02-04T17:03:25.000Z | 2018-04-14T03:31:53.000Z | AlphabetPy/__init__.py | RayZhao1998/alphabetPy | 8376b8e1be6b06c2cac8412efad7227c3e2f63cf | [
"MIT"
] | null | null | null | AlphabetPy/__init__.py | RayZhao1998/alphabetPy | 8376b8e1be6b06c2cac8412efad7227c3e2f63cf | [
"MIT"
] | 2 | 2018-03-22T02:01:06.000Z | 2018-03-22T02:04:51.000Z | from .alphabet import start, getAlphabet
if __name__ == '__main__':
start()
getAlphabet() | 18.4 | 40 | 0.73913 | 10 | 92 | 6 | 0.8 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 5 | 41 | 18.4 | 0.759494 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1dc2f9e4ed3b2f33a0d8547f787888f94010b5e5 | 86,308 | py | Python | pysnmp_mibs/DOT3-OAM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/DOT3-OAM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/DOT3-OAM-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module DOT3-OAM-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/DOT3-OAM-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:10:39 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52)
#
( In... | 425.162562 | 4,596 | 0.716388 | 11,044 | 86,308 | 5.597428 | 0.089913 | 0.003947 | 0.004853 | 0.005953 | 0.502184 | 0.466466 | 0.432819 | 0.41187 | 0.370103 | 0.354492 | 0 | 0.039427 | 0.205091 | 86,308 | 202 | 4,597 | 427.267327 | 0.861618 | 0.003476 | 0 | 0 | 0 | 0.427835 | 0.722485 | 0.06328 | 0 | 0 | 0.000279 | 0 | 0 | 1 | 0 | false | 0.041237 | 0.041237 | 0 | 0.056701 | 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 |
1dc44c56ccacc3602b6ad05b52241f0e5e0af3ca | 49 | py | Python | env.py | ed-chin-git/hacker_nlp | cb2dce5a45435ee03cf07b00e62be7f29a101727 | [
"MIT"
] | null | null | null | env.py | ed-chin-git/hacker_nlp | cb2dce5a45435ee03cf07b00e62be7f29a101727 | [
"MIT"
] | null | null | null | env.py | ed-chin-git/hacker_nlp | cb2dce5a45435ee03cf07b00e62be7f29a101727 | [
"MIT"
] | 1 | 2019-03-15T16:12:10.000Z | 2019-03-15T16:12:10.000Z | replace this text with actual google credentials
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1dd3d21f6746b983c7e562a588b848c47e97e814 | 2,702 | py | Python | fython/config/exception.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/config/exception.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/config/exception.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | # base
class FyException(Exception):
def __init__(s, message):
s.message = '\n;;;;;\n'
s.message += s.__class__.__name__.replace('_', ' ')
s.message += '\n'
s.message += str(message)
def __str__(s):
return s.message
# exception
class a_function_cannot_be_dotted(FyException):
pass
class cannot_indent_on_... | 18.380952 | 75 | 0.829756 | 360 | 2,702 | 5.769444 | 0.341667 | 0.324988 | 0.423688 | 0.120366 | 0.173327 | 0.091478 | 0.035628 | 0 | 0 | 0 | 0 | 0 | 0.102517 | 2,702 | 146 | 76 | 18.506849 | 0.856495 | 0.005181 | 0 | 0.459184 | 0 | 0 | 0.004842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.459184 | 0.061224 | 0.010204 | 0.561224 | 0.010204 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1dedd78a870457013cda888b12900d70cc76f8aa | 724 | py | Python | app/dao/email_branding_dao.py | alphagov/notify-notifications-api | e604385e0cf4c2ab8c6451b7120ceb196cce21b5 | [
"MIT"
] | 51 | 2016-04-03T23:36:17.000Z | 2022-03-21T20:04:52.000Z | app/dao/email_branding_dao.py | alphagov/notify-notifications-api | e604385e0cf4c2ab8c6451b7120ceb196cce21b5 | [
"MIT"
] | 1,335 | 2015-12-15T14:28:50.000Z | 2022-03-30T16:24:27.000Z | app/dao/email_branding_dao.py | alphagov/notify-notifications-api | e604385e0cf4c2ab8c6451b7120ceb196cce21b5 | [
"MIT"
] | 30 | 2016-01-08T19:05:32.000Z | 2021-12-20T16:37:23.000Z | from app import db
from app.dao.dao_utils import autocommit
from app.models import EmailBranding
def dao_get_email_branding_options():
return EmailBranding.query.all()
def dao_get_email_branding_by_id(email_branding_id):
return EmailBranding.query.filter_by(id=email_branding_id).one()
def dao_get_email_br... | 25.857143 | 74 | 0.799724 | 106 | 724 | 5.122642 | 0.339623 | 0.335175 | 0.049724 | 0.077348 | 0.478821 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117403 | 724 | 27 | 75 | 26.814815 | 0.849765 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.176471 | 0.176471 | 0.647059 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1dfbe1552a05b563ea278585e78dab67419a75d7 | 1,716 | py | Python | find_a_supplier/migrations/0067_auto_20181012_1507.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | find_a_supplier/migrations/0067_auto_20181012_1507.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | find_a_supplier/migrations/0067_auto_20181012_1507.py | kaedroho/dit-directory-cms | 67c15eeed19e7b3583f1fce1969230ddf83b6813 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-10-12 15:07
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('find_a_supplier', '0066_auto_20180830_0632'),
]
operations = [
migrations.... | 30.642857 | 55 | 0.59324 | 157 | 1,716 | 6.229299 | 0.375796 | 0.163599 | 0.204499 | 0.237219 | 0.714724 | 0.714724 | 0.579755 | 0.579755 | 0.579755 | 0.494888 | 0 | 0.045113 | 0.302448 | 1,716 | 55 | 56 | 31.2 | 0.77193 | 0.04021 | 0 | 0.6875 | 1 | 0 | 0.191606 | 0.033455 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3813c2a424e00b43d38cb490a973ee2804c5d55a | 263 | py | Python | gyoseki/admin.py | yamaken1343/gyoseki-archive | 2dbe9629676799d68cedc701e95efc13d2f95ee1 | [
"MIT"
] | 1 | 2020-03-09T04:14:13.000Z | 2020-03-09T04:14:13.000Z | gyoseki/admin.py | yamaken1343/gyoseki-archive | 2dbe9629676799d68cedc701e95efc13d2f95ee1 | [
"MIT"
] | 1 | 2020-03-09T03:58:19.000Z | 2020-03-09T03:58:19.000Z | gyoseki/admin.py | yamaken1343/gyoseki-archive | 2dbe9629676799d68cedc701e95efc13d2f95ee1 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Author, Recode, Tag, Division, Language
# Register your models here.
admin.site.register(Author)
admin.site.register(Recode)
admin.site.register(Tag)
admin.site.register(Division)
admin.site.register(Language) | 29.222222 | 59 | 0.809886 | 37 | 263 | 5.756757 | 0.405405 | 0.211268 | 0.399061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08365 | 263 | 9 | 60 | 29.222222 | 0.883817 | 0.098859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
38155891354b9887d198467288bcdd0e6d7ab063 | 139 | pyt | Python | tests/extensions/python_test_files/group_ordering_1.pyt | regisb/code-annotations | 10eccfc9843809cc789d98bdb95a7f13768276b7 | [
"Apache-2.0"
] | 2 | 2019-02-08T17:59:50.000Z | 2021-04-06T13:18:03.000Z | tests/extensions/python_test_files/group_ordering_1.pyt | regisb/code-annotations | 10eccfc9843809cc789d98bdb95a7f13768276b7 | [
"Apache-2.0"
] | 32 | 2018-11-27T20:16:06.000Z | 2021-08-24T11:06:52.000Z | tests/extensions/python_test_files/group_ordering_1.pyt | regisb/code-annotations | 10eccfc9843809cc789d98bdb95a7f13768276b7 | [
"Apache-2.0"
] | 3 | 2020-07-02T15:12:01.000Z | 2021-07-28T22:18:03.000Z | """
Test group in a different order
.. pii: Group 1 - Annotation 1
.. pii_retirement: local_api, consumer_api
.. pii_types: id, name
"""
| 15.444444 | 42 | 0.690647 | 21 | 139 | 4.380952 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.179856 | 139 | 8 | 43 | 17.375 | 0.789474 | 0.928058 | 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 |
382b36d474abaa6ced211be39d33e767aa9e30ba | 548 | py | Python | client/states/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | client/states/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | client/states/base.py | AndrewIjano/distributed-tic-tac-toe | 8ac050ce45d0ad3a0a7d06c5cea1850b8cdb9f01 | [
"MIT"
] | null | null | null | class State:
def __init__(self, client) -> None:
self.client = client
def get_input_command(self):
return input(f"JogoDaVelha> ").strip().split() or [""]
def handle_input_command(self, *input_command):
pass
def handle_opponent_command(self, *command):
pass
def han... | 21.92 | 62 | 0.625912 | 65 | 548 | 4.969231 | 0.430769 | 0.167183 | 0.160991 | 0.185759 | 0.19195 | 0.19195 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260949 | 548 | 24 | 63 | 22.833333 | 0.797531 | 0 | 0 | 0.235294 | 0 | 0 | 0.05292 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.235294 | 0 | 0.058824 | 0.588235 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
382db498b30452b441bba8cb547a21b673d6fc46 | 70 | py | Python | web/controllers/__init__.py | DXDSpirits/tatinspiration | a5cb992d232988017cb62cf1eb058301b65adf38 | [
"MIT"
] | null | null | null | web/controllers/__init__.py | DXDSpirits/tatinspiration | a5cb992d232988017cb62cf1eb058301b65adf38 | [
"MIT"
] | null | null | null | web/controllers/__init__.py | DXDSpirits/tatinspiration | a5cb992d232988017cb62cf1eb058301b65adf38 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import frontend
import api
import search_api
| 14 | 24 | 0.7 | 11 | 70 | 4.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.157143 | 70 | 4 | 25 | 17.5 | 0.79661 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
382dc6db40333bd04e2084c4e498d26386c742cf | 3,522 | py | Python | tests/test_decorator.py | spulec/django-file-keeper | 5b7fe025748ae2873f2372e90407547d4865bed0 | [
"Apache-2.0"
] | 1 | 2021-04-11T02:19:04.000Z | 2021-04-11T02:19:04.000Z | tests/test_decorator.py | spulec/django-file-keeper | 5b7fe025748ae2873f2372e90407547d4865bed0 | [
"Apache-2.0"
] | 1 | 2020-08-23T19:07:38.000Z | 2020-08-24T04:37:51.000Z | tests/test_decorator.py | spulec/django-file-keeper | 5b7fe025748ae2873f2372e90407547d4865bed0 | [
"Apache-2.0"
] | null | null | null | from mock import mock_open, patch
import sure
from keeper.core import get_bucket, use_file
@patch("keeper.core.get_bucket")
def test_basic_decorator(get_bucket):
class FakeKey(object):
def __init__(self, keyname):
self.keyname = keyname
def get_contents_as_string(self):
re... | 27.732283 | 98 | 0.649631 | 463 | 3,522 | 4.682505 | 0.174946 | 0.078875 | 0.055351 | 0.055351 | 0.754151 | 0.739852 | 0.7131 | 0.670203 | 0.617159 | 0.617159 | 0 | 0.005831 | 0.220897 | 3,522 | 126 | 99 | 27.952381 | 0.784257 | 0 | 0 | 0.619565 | 0 | 0 | 0.148211 | 0.055366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0.01087 | 0.032609 | 0.076087 | 0.456522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
384cb4e7e80bf83a3ae076c15f652bfce3bf4a9b | 113 | py | Python | kinoml/features/__init__.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 36 | 2019-08-26T03:44:50.000Z | 2022-03-17T12:58:11.000Z | kinoml/features/__init__.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 92 | 2019-08-28T11:53:28.000Z | 2022-03-30T10:15:44.000Z | kinoml/features/__init__.py | t-kimber/kinoml | dc28fdbd416d1a53bb33131d6c6fcc05914b15cc | [
"MIT"
] | 18 | 2019-08-24T03:22:28.000Z | 2021-08-12T12:37:47.000Z | """
Featurizers will always output arrays
but they will use structure-oriented methods
underneath to do it.
"""
| 18.833333 | 44 | 0.769912 | 16 | 113 | 5.4375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 5 | 45 | 22.6 | 0.915789 | 0.911504 | 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 |
69a57b96e59e500b35f45f362d7f1f275a323d99 | 32 | py | Python | discordware/_vendors/__init__.py | znqi/discordware | e456bf7b0314ef8f29fabb9fa69f8c979f34d655 | [
"MIT"
] | null | null | null | discordware/_vendors/__init__.py | znqi/discordware | e456bf7b0314ef8f29fabb9fa69f8c979f34d655 | [
"MIT"
] | null | null | null | discordware/_vendors/__init__.py | znqi/discordware | e456bf7b0314ef8f29fabb9fa69f8c979f34d655 | [
"MIT"
] | null | null | null | import hype
__all__ = ["hype"]
| 8 | 18 | 0.65625 | 4 | 32 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 19 | 10.666667 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
69db9fbc193f287518daef5b3b24c333acc348b5 | 116 | py | Python | configs/__init__.py | kaylode/KAI | 8c16306dda4bea4f895eab981d33d796ad8bfd9f | [
"MIT"
] | 4 | 2021-09-23T16:11:04.000Z | 2022-01-26T17:18:08.000Z | configs/__init__.py | kaylode/KAI | 8c16306dda4bea4f895eab981d33d796ad8bfd9f | [
"MIT"
] | null | null | null | configs/__init__.py | kaylode/KAI | 8c16306dda4bea4f895eab981d33d796ad8bfd9f | [
"MIT"
] | null | null | null | from .configs import Config
def get_config(name):
if name == 'KAI':
return Config('./configs/kai.yaml') | 23.2 | 43 | 0.646552 | 16 | 116 | 4.625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 116 | 5 | 43 | 23.2 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 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 |
3867bc9add2087db9c1123fbbf4ca86b1f173d2f | 263 | py | Python | terminio/commandexecutor/find.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | 1 | 2019-07-24T02:29:39.000Z | 2019-07-24T02:29:39.000Z | terminio/commandexecutor/find.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | null | null | null | terminio/commandexecutor/find.py | SourishS/terminio | e512ef2dff9b47415565469e9a10ae5613af0975 | [
"Apache-2.0"
] | null | null | null | from terminio.commandexecutor.commandexecutor import CommandExecutor
class find(CommandExecutor):
"""docstring for find"""
def __init__(self, session):
super(find, self).__init__(session)
def execute_command(self, args):
print(args)
| 26.3 | 68 | 0.714829 | 28 | 263 | 6.392857 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18251 | 263 | 9 | 69 | 29.222222 | 0.832558 | 0.068441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.166667 | 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 |
3886e9f9a1207e672a11046b9938d3c473a677eb | 95 | py | Python | misc/j3.py | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | misc/j3.py | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | misc/j3.py | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
import sys
import time
print sys.stdin.readline()
time.sleep(3)
exit(99)
| 13.571429 | 26 | 0.747368 | 17 | 95 | 4.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.105263 | 95 | 6 | 27 | 15.833333 | 0.8 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3896402edcea2899eed5d44a73563c49cd218f13 | 589 | py | Python | hackathon/scrapers/adia.py | Addepar/vizceral-example | ff95270a99c4aa4638a5167a4330004b360d0ab2 | [
"Apache-2.0"
] | null | null | null | hackathon/scrapers/adia.py | Addepar/vizceral-example | ff95270a99c4aa4638a5167a4330004b360d0ab2 | [
"Apache-2.0"
] | null | null | null | hackathon/scrapers/adia.py | Addepar/vizceral-example | ff95270a99c4aa4638a5167a4330004b360d0ab2 | [
"Apache-2.0"
] | 1 | 2020-05-13T11:27:51.000Z | 2020-05-13T11:27:51.000Z | from hackathon.scrapers.base import BaseScraper
class AdiaScraper(BaseScraper):
def __init__(self, host_regex):
BaseScraper.__init__(self)
self.__regex = host_regex
def get_good_query_in(self):
return self.__regex + ' AND log_class=*NotificationDataService | parse "fetched [*] GFFs" as... | 45.307692 | 168 | 0.706282 | 79 | 589 | 4.936709 | 0.518987 | 0.069231 | 0.05641 | 0.087179 | 0.266667 | 0.266667 | 0.148718 | 0 | 0 | 0 | 0 | 0.004184 | 0.188455 | 589 | 12 | 169 | 49.083333 | 0.811715 | 0 | 0 | 0 | 0 | 0.222222 | 0.458404 | 0.139219 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
38a9e28b3bbbf7d2884bc363eb2c154bc81dde82 | 281 | py | Python | thop/utils.py | zxytim/Grid-Anchor-based-Image-Cropping-Pytorch | dc009edecd9a823528f975bf0e2f5b6a6fc823c2 | [
"MIT"
] | null | null | null | thop/utils.py | zxytim/Grid-Anchor-based-Image-Cropping-Pytorch | dc009edecd9a823528f975bf0e2f5b6a6fc823c2 | [
"MIT"
] | null | null | null | thop/utils.py | zxytim/Grid-Anchor-based-Image-Cropping-Pytorch | dc009edecd9a823528f975bf0e2f5b6a6fc823c2 | [
"MIT"
] | null | null | null | def clever_format(num, format="%.2f"):
if num > 1e12:
return format % (num / 1e12) + "T"
if num > 1e9:
return format % (num / 1e9) + "G"
if num > 1e6:
return format % (num / 1e6) + "M"
if num > 1e3:
return format % (num / 1e3) + "K"
| 28.1 | 42 | 0.487544 | 38 | 281 | 3.578947 | 0.394737 | 0.330882 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104396 | 0.352313 | 281 | 9 | 43 | 31.222222 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.02847 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 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 | 1 | 0 | 0 | 4 |
38b42617b9aebe56b9585a39f2bd39062e66a885 | 407 | py | Python | python/life/cell.py | PJSoftware/game-of-life | 0a851e30dfc229f46902fac7214aeee9195a776a | [
"MIT"
] | null | null | null | python/life/cell.py | PJSoftware/game-of-life | 0a851e30dfc229f46902fac7214aeee9195a776a | [
"MIT"
] | null | null | null | python/life/cell.py | PJSoftware/game-of-life | 0a851e30dfc229f46902fac7214aeee9195a776a | [
"MIT"
] | null | null | null | class Cell:
def __init__(self, alive = False):
self.currentState = alive
self.futureState = alive
def updateState(self, state):
self.futureState = state
def refresh(self):
self.currentState = self.futureState
def isAlive(self):
return self.cur... | 22.611111 | 49 | 0.594595 | 42 | 407 | 5.571429 | 0.428571 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.31941 | 407 | 17 | 50 | 23.941176 | 0.844765 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
38bf19516e075778b6d6e0914b42a8fe91cf4e14 | 165 | py | Python | sam/datasets/__init__.py | junj2ejj/sam-textvqa | 6bf646d741fb2536e3a8f331c78b594f6199df15 | [
"W3C"
] | 48 | 2020-10-06T03:25:47.000Z | 2022-03-27T11:35:13.000Z | sam/datasets/__init__.py | junj2ejj/sam-textvqa | 6bf646d741fb2536e3a8f331c78b594f6199df15 | [
"W3C"
] | 16 | 2020-10-24T13:20:15.000Z | 2022-03-09T03:42:23.000Z | sam/datasets/__init__.py | junj2ejj/sam-textvqa | 6bf646d741fb2536e3a8f331c78b594f6199df15 | [
"W3C"
] | 12 | 2020-10-28T11:46:00.000Z | 2022-03-27T11:35:18.000Z | from .stvqa_dataset import STVQADataset
from .textvqa_dataset import TextVQADataset
DatasetMapTrain = {
"textvqa": TextVQADataset,
"stvqa": STVQADataset,
}
| 20.625 | 43 | 0.769697 | 15 | 165 | 8.333333 | 0.533333 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 7 | 44 | 23.571429 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
38dacc1bbbc764ca17daf33364873bebf1466ffa | 40 | py | Python | DataAnalysis/__init__.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | null | null | null | DataAnalysis/__init__.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | 6 | 2020-03-24T17:34:24.000Z | 2021-12-13T20:14:34.000Z | DataAnalysis/__init__.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | null | null | null | __author__ = 'adam'
import environment
| 10 | 19 | 0.775 | 4 | 40 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 20 | 13.333333 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
38e2d7b191978d761e589e1367df26eb970e039b | 201 | py | Python | Curso de Python Youtube/Aula15-Operacao-ternaria/Aula15-Operacao-ternaria.py | Rafael-Inacio/CursoPython | a5da25f2a45451a10a4741b60606d9dd549beca6 | [
"MIT"
] | null | null | null | Curso de Python Youtube/Aula15-Operacao-ternaria/Aula15-Operacao-ternaria.py | Rafael-Inacio/CursoPython | a5da25f2a45451a10a4741b60606d9dd549beca6 | [
"MIT"
] | null | null | null | Curso de Python Youtube/Aula15-Operacao-ternaria/Aula15-Operacao-ternaria.py | Rafael-Inacio/CursoPython | a5da25f2a45451a10a4741b60606d9dd549beca6 | [
"MIT"
] | null | null | null |
looged_user = False
# if looged_user:
# msg = 'Usuário logado.'
# else:
# msg = 'Usuário não está logado.'
msg = 'Usuário logado' if looged_user else 'Usuário não está logado.'
print(msg)
| 15.461538 | 69 | 0.661692 | 28 | 201 | 4.642857 | 0.392857 | 0.230769 | 0.184615 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223881 | 201 | 12 | 70 | 16.75 | 0.833333 | 0.427861 | 0 | 0 | 0 | 0 | 0.351852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7f916c7bc9ebd8a6adc88dc234f382192b82c9c | 81 | py | Python | gltf/__init__.py | An2op/3dTileConverter | caaf1cac325102d1b53b6d0a099502ec5e768f55 | [
"MIT"
] | null | null | null | gltf/__init__.py | An2op/3dTileConverter | caaf1cac325102d1b53b6d0a099502ec5e768f55 | [
"MIT"
] | null | null | null | gltf/__init__.py | An2op/3dTileConverter | caaf1cac325102d1b53b6d0a099502ec5e768f55 | [
"MIT"
] | null | null | null | from .gltf import Glb
from .slicer import Slicer
from .element import Element
| 20.25 | 29 | 0.777778 | 12 | 81 | 5.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 3 | 30 | 27 | 0.954545 | 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 |
c7fc840d75abd18877a3b50f5287baa3a103a7a1 | 280 | py | Python | Day 6/Ex1: Hurdles Loop 1 Challenge.py | Nishi-16-K/100DaysCodeChallenge-Python- | 96df953bbc60c2bf8802cf31ed6c593469521482 | [
"MIT"
] | 1 | 2021-08-29T12:44:23.000Z | 2021-08-29T12:44:23.000Z | Day 6/Ex1: Hurdles Loop 1 Challenge.py | Nishi-16-K/100DaysofCodeChallenge-Python | 96df953bbc60c2bf8802cf31ed6c593469521482 | [
"MIT"
] | null | null | null | Day 6/Ex1: Hurdles Loop 1 Challenge.py | Nishi-16-K/100DaysofCodeChallenge-Python | 96df953bbc60c2bf8802cf31ed6c593469521482 | [
"MIT"
] | null | null | null | #Reeborg's World Hurdle 1 Loop Challenge using for loop
def turn_right():
turn_left()
turn_left()
turn_left()
def step():
move()
turn_left()
move()
turn_right()
move()
turn_right()
move()
turn_left()
for in in range(0,5):
step()
| 14 | 55 | 0.585714 | 40 | 280 | 3.9 | 0.475 | 0.25641 | 0.153846 | 0.205128 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015 | 0.285714 | 280 | 19 | 56 | 14.736842 | 0.765 | 0.192857 | 0 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2a1bd6c05a4ec78b4b104e14c23c032e2ca5e12b | 230 | py | Python | member_manager/apps.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | null | null | null | member_manager/apps.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | 21 | 2020-07-29T18:43:23.000Z | 2020-10-23T02:46:07.000Z | member_manager/apps.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | null | null | null | '''MemberManagerConfig class'''
from django.apps import AppConfig
class MemberManagerConfig(AppConfig):
'''MemberMangerConfig sets up the MemberManager app'''
name = 'member_manager'
verbose_name = 'Member Manager'
| 23 | 58 | 0.747826 | 23 | 230 | 7.391304 | 0.73913 | 0.117647 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156522 | 230 | 9 | 59 | 25.555556 | 0.876289 | 0.321739 | 0 | 0 | 0 | 0 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
2a6ddb0b4ddd736bb1cff6bab862476153878925 | 620 | py | Python | common/geometry.py | ocozalp/Algorithms | 0eed59b2e8f110bfe036ddc3de7762948473ecc9 | [
"Apache-2.0"
] | 5 | 2017-01-10T07:42:15.000Z | 2020-02-16T19:39:25.000Z | common/geometry.py | ocozalp/Algorithms | 0eed59b2e8f110bfe036ddc3de7762948473ecc9 | [
"Apache-2.0"
] | null | null | null | common/geometry.py | ocozalp/Algorithms | 0eed59b2e8f110bfe036ddc3de7762948473ecc9 | [
"Apache-2.0"
] | null | null | null | __author__ = 'orhan'
from math import asin, sqrt, degrees
class Point:
def __init__(self, x, y=0.0, z=0.0):
self.x = x
self.y = y
self.z = z
def angle_x(self, p2):
dy = self.y - p2.y
dx = self.x - p2.x
h = sqrt(dy ** 2 + dx ** 2)
if h == 0:
... | 22.142857 | 77 | 0.512903 | 99 | 620 | 2.919192 | 0.30303 | 0.069204 | 0.155709 | 0.197232 | 0.200692 | 0.200692 | 0.200692 | 0.200692 | 0 | 0 | 0 | 0.036855 | 0.343548 | 620 | 28 | 78 | 22.142857 | 0.673219 | 0 | 0 | 0 | 0 | 0 | 0.008052 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.05 | 0.15 | 0.6 | 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 |
2a991761de5c71f47c66de6bfbddb817acf8f067 | 65 | py | Python | Python/sWAP cASE.py | MonwarAdeeb/HackerRank-Solutions | 571327e9688061745000ae81c5fd74ff7a2976d4 | [
"MIT"
] | null | null | null | Python/sWAP cASE.py | MonwarAdeeb/HackerRank-Solutions | 571327e9688061745000ae81c5fd74ff7a2976d4 | [
"MIT"
] | null | null | null | Python/sWAP cASE.py | MonwarAdeeb/HackerRank-Solutions | 571327e9688061745000ae81c5fd74ff7a2976d4 | [
"MIT"
] | null | null | null | def swap_case(s):
swapped = s.swapcase()
return swapped
| 13 | 26 | 0.646154 | 9 | 65 | 4.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 65 | 4 | 27 | 16.25 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
aa6074e535982637cbd080495bafbece2841526f | 269 | py | Python | prettyqt/statemachine/mouseeventtransition.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 7 | 2019-05-01T01:34:36.000Z | 2022-03-08T02:24:14.000Z | prettyqt/statemachine/mouseeventtransition.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 141 | 2019-04-16T11:22:01.000Z | 2021-04-14T15:12:36.000Z | prettyqt/statemachine/mouseeventtransition.py | phil65/PrettyQt | 26327670c46caa039c9bd15cb17a35ef5ad72e6c | [
"MIT"
] | 5 | 2019-04-17T11:48:19.000Z | 2021-11-21T10:30:19.000Z | from __future__ import annotations
from prettyqt import statemachine
from prettyqt.qt import QtStateMachine
QtStateMachine.QMouseEventTransition.__bases__ = (statemachine.EventTransition,)
class MouseEventTransition(QtStateMachine.QMouseEventTransition):
pass
| 22.416667 | 80 | 0.855019 | 23 | 269 | 9.652174 | 0.608696 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100372 | 269 | 11 | 81 | 24.454545 | 0.917355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
aa7deac4395bdb72600cbe7b970b30a5e61f9819 | 1,788 | py | Python | DailyProgrammer/DP20140723B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20140723B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20140723B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[7/23/2014] Challenge#172 [Intermediate] Image Rendering 101...010101000101
https://www.reddit.com/r/dailyprogrammer/comments/2ba3nf/7232014_challenge172_intermediate_image_rendering/
#Description
You may have noticed from our
[easy](http://www.reddit.com/r/dailyprogrammer/comments/2ba3g3/7212014_challenge_172_ea... | 41.581395 | 118 | 0.785794 | 295 | 1,788 | 4.705085 | 0.566102 | 0.034582 | 0.037464 | 0.018732 | 0.082133 | 0.051873 | 0 | 0 | 0 | 0 | 0 | 0.038411 | 0.155481 | 1,788 | 42 | 119 | 42.571429 | 0.880795 | 0.959732 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
aa84d324cd31455afd1af6b6d2bde35e232ad023 | 167 | py | Python | flaskr/db.py | elijah415hz/finances-flask | a74f09b7c51fa3f08d88540e75bfffd6ca840563 | [
"MIT"
] | null | null | null | flaskr/db.py | elijah415hz/finances-flask | a74f09b7c51fa3f08d88540e75bfffd6ca840563 | [
"MIT"
] | null | null | null | flaskr/db.py | elijah415hz/finances-flask | a74f09b7c51fa3f08d88540e75bfffd6ca840563 | [
"MIT"
] | null | null | null | from sqlalchemy import create_engine
import os
FLASK_DB_URI = os.environ.get("FLASK_DB_URI")
# Create database connection
engine = create_engine(FLASK_DB_URI) | 23.857143 | 46 | 0.790419 | 25 | 167 | 4.96 | 0.52 | 0.169355 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143713 | 167 | 7 | 47 | 23.857143 | 0.867133 | 0.155689 | 0 | 0 | 0 | 0 | 0.089552 | 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 |
aac7582a3c69e82777724af571423145ece053b4 | 112 | py | Python | dht/value_stores/memory.py | leonkoens/dht | cc8d4b6304741cb86dd75539c93140862372f55e | [
"MIT"
] | 1 | 2021-05-01T10:25:16.000Z | 2021-05-01T10:25:16.000Z | dht/value_stores/memory.py | leonkoens/dht | cc8d4b6304741cb86dd75539c93140862372f55e | [
"MIT"
] | null | null | null | dht/value_stores/memory.py | leonkoens/dht | cc8d4b6304741cb86dd75539c93140862372f55e | [
"MIT"
] | null | null | null | import logging
class MemoryStore:
def __init__(self):
logging.info("Memory Value Store created")
| 14 | 50 | 0.696429 | 13 | 112 | 5.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 112 | 7 | 51 | 16 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 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 |
aad6bbd921e15a9cd0afb9c82c98599eb9316d5e | 199 | py | Python | aiohttp_json_rpc/decorators.py | ZhukovGreen/aiohttp-json-rpc | f359d9106fb837bbad7acccfcdeaecd016b233fd | [
"Apache-2.0"
] | null | null | null | aiohttp_json_rpc/decorators.py | ZhukovGreen/aiohttp-json-rpc | f359d9106fb837bbad7acccfcdeaecd016b233fd | [
"Apache-2.0"
] | null | null | null | aiohttp_json_rpc/decorators.py | ZhukovGreen/aiohttp-json-rpc | f359d9106fb837bbad7acccfcdeaecd016b233fd | [
"Apache-2.0"
] | null | null | null | def raw_response(function=None):
def decorator(function):
function.raw_response = True
return function
if function:
return decorator(function)
return decorator
| 18.090909 | 36 | 0.668342 | 21 | 199 | 6.238095 | 0.428571 | 0.167939 | 0.351145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271357 | 199 | 10 | 37 | 19.9 | 0.903448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.714286 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
aad7fbcce2aabb6101ca39b08f8ff2494988900e | 867 | py | Python | pyjamaparty/strutils/string_builder.py | krajasek/pyjama | e8cfd7ac07cfca37a73f8060ff28867a0e35909e | [
"MIT"
] | null | null | null | pyjamaparty/strutils/string_builder.py | krajasek/pyjama | e8cfd7ac07cfca37a73f8060ff28867a0e35909e | [
"MIT"
] | null | null | null | pyjamaparty/strutils/string_builder.py | krajasek/pyjama | e8cfd7ac07cfca37a73f8060ff28867a0e35909e | [
"MIT"
] | null | null | null |
class StringBuilder(object):
def __init__(self, strr=''):
self.str_list = [s for s in strr]
def __getitem__(self, item):
return ''.join(self.str_list[item])
def __setitem__(self, key, value):
self.str_list[key] = value
def __repr__(self):
return ''.join(self.str_lis... | 20.162791 | 43 | 0.585928 | 114 | 867 | 3.921053 | 0.27193 | 0.14094 | 0.196868 | 0.076063 | 0.09396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301038 | 867 | 42 | 44 | 20.642857 | 0.737624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.214286 | 0.714286 | 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 |
2abda0e2c2755c9e283cf9c4bf046a208de26a2a | 261 | py | Python | Calibration/EcalAlCaRecoProducers/python/alcastreamEcalEtaCalib_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Calibration/EcalAlCaRecoProducers/python/alcastreamEcalEtaCalib_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Calibration/EcalAlCaRecoProducers/python/alcastreamEcalEtaCalib_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import HLTrigger.HLTfilters.hltHighLevel_cfi
ecaletaCalibHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
# HLTPaths = ['AlCa_EcalEta'],
eventSetupPathsKey='EcalCalEtaCalib',
throw = False
)
| 23.727273 | 75 | 0.789272 | 25 | 261 | 8.12 | 0.76 | 0.187192 | 0.305419 | 0.334975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122605 | 261 | 10 | 76 | 26.1 | 0.886463 | 0.10728 | 0 | 0 | 0 | 0 | 0.065217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2adccfd9c0aff24a3c5f0f0e39317a21d7402b8b | 363 | py | Python | assignments/test_binary_search.py | yamaszone/software-testing | aad9b66b81fb79bc66f9ea21f27dba84410cf615 | [
"MIT"
] | 13 | 2016-02-08T04:32:22.000Z | 2021-11-15T16:19:10.000Z | assignments/test_binary_search.py | yamaszone/software-testing | aad9b66b81fb79bc66f9ea21f27dba84410cf615 | [
"MIT"
] | 3 | 2016-04-18T19:04:27.000Z | 2017-01-21T19:07:01.000Z | assignments/test_binary_search.py | yamaszone/software-testing | aad9b66b81fb79bc66f9ea21f27dba84410cf615 | [
"MIT"
] | 67 | 2015-07-27T23:44:47.000Z | 2022-02-20T14:38:49.000Z | import unittest
import binary_search
class test_binary_search(unittest.TestCase):
def test_binary_search_returns_true_when_search_key_found(self):
self.assertTrue(binary_search.binary_search([3, 1, 2], 2))
def test_binary_search_returns_false_when_search_key_not_found(self):
self.assertFalse(... | 33 | 73 | 0.787879 | 54 | 363 | 4.851852 | 0.407407 | 0.366412 | 0.183206 | 0.145038 | 0.40458 | 0.206107 | 0.206107 | 0 | 0 | 0 | 0 | 0.025157 | 0.123967 | 363 | 10 | 74 | 36.3 | 0.798742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
2af6cc9f4513906dad440d88d92a32d5c9f1e6d5 | 359 | py | Python | tests/unit/contrib/system/conftest.py | gitter-badger/sitri | fd2e7f2dfede0f3565b0dc9f9b8ae7a1bc94f7e2 | [
"MIT"
] | null | null | null | tests/unit/contrib/system/conftest.py | gitter-badger/sitri | fd2e7f2dfede0f3565b0dc9f9b8ae7a1bc94f7e2 | [
"MIT"
] | null | null | null | tests/unit/contrib/system/conftest.py | gitter-badger/sitri | fd2e7f2dfede0f3565b0dc9f9b8ae7a1bc94f7e2 | [
"MIT"
] | null | null | null | import pytest
from sitri.contrib.system import SystemConfigProvider, SystemCredentialProvider
@pytest.fixture(scope="module")
def system_config() -> SystemConfigProvider:
return SystemConfigProvider(prefix="test")
@pytest.fixture(scope="module")
def system_credential() -> SystemCredentialProvider:
return S... | 25.642857 | 79 | 0.802228 | 33 | 359 | 8.666667 | 0.515152 | 0.090909 | 0.125874 | 0.167832 | 0.230769 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094708 | 359 | 13 | 80 | 27.615385 | 0.88 | 0 | 0 | 0.25 | 0 | 0 | 0.05571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
2d490e599216a37761de2dda3d7b015d19877e9d | 1,967 | py | Python | tests/test_common.py | multiplechoice/workplace | 60d2c78988c77537deab63db1c21697aa04ca024 | [
"Apache-2.0"
] | 2 | 2018-06-28T18:10:16.000Z | 2018-12-06T10:03:43.000Z | tests/test_common.py | multiplechoice/workplace | 60d2c78988c77537deab63db1c21697aa04ca024 | [
"Apache-2.0"
] | 55 | 2018-06-18T13:46:09.000Z | 2022-03-11T23:45:10.000Z | tests/test_common.py | multiplechoice/workplace | 60d2c78988c77537deab63db1c21697aa04ca024 | [
"Apache-2.0"
] | null | null | null | from jobs.common import decode_date_string, translate_month
from freezegun import freeze_time
def test_month_lookups():
assert translate_month("jan") == 1
assert translate_month("feb") == 2
assert translate_month("mars") == 3
assert translate_month("apr\u00edl") == 4
assert translate_month("ma\u00... | 37.826923 | 95 | 0.695984 | 290 | 1,967 | 4.503448 | 0.331034 | 0.114855 | 0.183767 | 0.235835 | 0.281776 | 0.169985 | 0.129403 | 0.084992 | 0.084992 | 0.084992 | 0 | 0.132808 | 0.161668 | 1,967 | 51 | 96 | 38.568627 | 0.659187 | 0.0727 | 0 | 0.135135 | 0 | 0 | 0.246019 | 0 | 0 | 0 | 0 | 0 | 0.72973 | 1 | 0.162162 | true | 0 | 0.054054 | 0 | 0.216216 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2d9da026041108184575b3582f87c61b08909917 | 25 | py | Python | tests/integration/__init__.py | JawboneHealth/jhhalchemy | 68854e1ac5ee959287de70fd156d187c9025703c | [
"Apache-2.0"
] | 2 | 2017-09-21T23:10:25.000Z | 2018-01-20T16:21:29.000Z | tests/integration/__init__.py | JawboneHealth/jhhalchemy | 68854e1ac5ee959287de70fd156d187c9025703c | [
"Apache-2.0"
] | 3 | 2018-06-27T16:13:54.000Z | 2018-06-28T20:10:31.000Z | tests/integration/__init__.py | JawboneHealth/jhhalchemy | 68854e1ac5ee959287de70fd156d187c9025703c | [
"Apache-2.0"
] | 1 | 2018-01-25T00:09:53.000Z | 2018-01-25T00:09:53.000Z | """
Integration tests
""" | 8.333333 | 17 | 0.64 | 2 | 25 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 3 | 18 | 8.333333 | 0.727273 | 0.68 | 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 |
2dc68e1ebc635bebc3ff1383fbc32973832d1d8b | 206,825 | py | Python | UI/res.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2019-09-26T03:12:52.000Z | 2022-02-25T06:05:38.000Z | UI/res.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | UI/res.py | YongLiuLab/BrainRadiomicsTools | 19b440acd554ee920857c306442b6d2c411dca88 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2020-02-26T01:54:48.000Z | 2022-03-19T01:23:55.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x9a\xa7\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\x54\x... | 65.059767 | 103 | 0.727194 | 50,051 | 206,825 | 3.004216 | 0.006134 | 0.005786 | 0.005267 | 0.003671 | 0.017637 | 0.017637 | 0.016952 | 0.016952 | 0.016653 | 0.016114 | 0 | 0.308574 | 0.015791 | 206,825 | 3,178 | 104 | 65.080239 | 0.430101 | 0.000735 | 0 | 0.009488 | 0 | 0.985136 | 0.000005 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000633 | false | 0 | 0.000316 | 0 | 0.000949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2dc8f34183867fec0ff4882311f3dd3dc43fea3b | 142 | py | Python | D01/OP-pembagian2.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D01/OP-pembagian2.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | D01/OP-pembagian2.py | shdx8/dtwrhs | 108decb8056931fc7601ed455a72ef0d65983ab0 | [
"MIT"
] | null | null | null | print(10/3)
print(10//3)
print()
kue = 16
anak = 4
kuePerAnak = kue // anak
print ("Setiap anak akan mendapatkan kue sebanyak ", kuePerAnak)
| 15.777778 | 64 | 0.697183 | 22 | 142 | 4.5 | 0.545455 | 0.141414 | 0.161616 | 0.262626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076271 | 0.169014 | 142 | 8 | 65 | 17.75 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
930a59612e1154397c6c38bb612bb55769ca65b3 | 132 | py | Python | tests/urls.py | ajbeach2/django-sqs-tasks | 25bd3bc4f54d6dc88974ab3764a2b9a5002ad57c | [
"MIT"
] | null | null | null | tests/urls.py | ajbeach2/django-sqs-tasks | 25bd3bc4f54d6dc88974ab3764a2b9a5002ad57c | [
"MIT"
] | 5 | 2019-12-26T23:48:19.000Z | 2021-09-22T17:55:36.000Z | tests/urls.py | ajbeach2/django-sqs-tasks | 25bd3bc4f54d6dc88974ab3764a2b9a5002ad57c | [
"MIT"
] | null | null | null | from django.conf.urls import include
from django.urls import path
urlpatterns = [
path("task", include("aws_pubsub.urls")),
]
| 16.5 | 45 | 0.719697 | 18 | 132 | 5.222222 | 0.611111 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 46 | 18.857143 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9314565ac50fec554994de57065f9cf415caa406 | 4,713 | py | Python | PyFlow/Packages/CFRP/FunctionLibraries/ActionLibrary.py | yiwc/CFRP | 406d2327f1685f0c9592cc1c169da533338c7094 | [
"Apache-2.0"
] | null | null | null | PyFlow/Packages/CFRP/FunctionLibraries/ActionLibrary.py | yiwc/CFRP | 406d2327f1685f0c9592cc1c169da533338c7094 | [
"Apache-2.0"
] | null | null | null | PyFlow/Packages/CFRP/FunctionLibraries/ActionLibrary.py | yiwc/CFRP | 406d2327f1685f0c9592cc1c169da533338c7094 | [
"Apache-2.0"
] | null | null | null | from PyFlow.Core.Common import *
from PyFlow.Core import FunctionLibraryBase
from PyFlow.Core import IMPLEMENT_NODE
PIN_ALLOWS_ANYTHING = {PinSpecifires.ENABLED_OPTIONS: PinOptions.AllowAny | PinOptions.ArraySupported | PinOptions.DictSupported}
class ActionLibrary(FunctionLibraryBase):
'''doc string for DemoLi... | 41.707965 | 142 | 0.626989 | 491 | 4,713 | 5.879837 | 0.203666 | 0.062348 | 0.117769 | 0.138206 | 0.775892 | 0.76169 | 0.76169 | 0.736058 | 0.653966 | 0.653966 | 0 | 0.003251 | 0.216847 | 4,713 | 112 | 143 | 42.080357 | 0.778922 | 0.138341 | 0 | 0.557143 | 0 | 0 | 0.150557 | 0.007085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157143 | false | 0 | 0.042857 | 0 | 0.342857 | 0.071429 | 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 |
9318c04dd27311d65addfab65e627dc00c7eecbf | 92 | py | Python | networks/__init__.py | xinxindefeiyu/S2VD-master_RESID | b075d6873842d70f1d8d3215daf0565f8c0ffe9a | [
"MIT"
] | 48 | 2021-03-19T10:16:17.000Z | 2022-03-30T12:47:04.000Z | networks/__init__.py | peylnog/S2VD | 2ad4192c541775c955dd4947d5f9933e20debebf | [
"MIT"
] | 14 | 2021-03-28T09:03:51.000Z | 2022-02-24T03:38:19.000Z | networks/__init__.py | peylnog/S2VD | 2ad4192c541775c955dd4947d5f9933e20debebf | [
"MIT"
] | 14 | 2021-03-19T10:16:21.000Z | 2022-03-22T13:17:12.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
# Power by Zongsheng Yue 2020-09-15 13:00:15
| 15.333333 | 44 | 0.630435 | 17 | 92 | 3.411765 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 0.163043 | 92 | 5 | 45 | 18.4 | 0.558442 | 0.913043 | 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 |
9344be80a62a6d96464655ef330841fd5c3b436d | 38 | py | Python | ansible_navigator/_version.py | Akasurde/ansible-navigator | 22b173648da5df6528ef7de55b0bbb260c488c74 | [
"Apache-2.0",
"MIT"
] | null | null | null | ansible_navigator/_version.py | Akasurde/ansible-navigator | 22b173648da5df6528ef7de55b0bbb260c488c74 | [
"Apache-2.0",
"MIT"
] | null | null | null | ansible_navigator/_version.py | Akasurde/ansible-navigator | 22b173648da5df6528ef7de55b0bbb260c488c74 | [
"Apache-2.0",
"MIT"
] | null | null | null | """ version
"""
__version__ = "0.6.1"
| 9.5 | 21 | 0.552632 | 5 | 38 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.157895 | 38 | 3 | 22 | 12.666667 | 0.4375 | 0.184211 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
9353d1d51aea30fa7dbae3d9bf4d48954aa254cd | 745 | py | Python | tests/hades_logs/conftest.py | agdsn/pycroft | ea771141d59c88fdb8a782eafbe106240550a33a | [
"Apache-2.0"
] | 18 | 2016-04-20T19:00:56.000Z | 2021-12-19T16:43:57.000Z | tests/hades_logs/conftest.py | agdsn/pycroft | ea771141d59c88fdb8a782eafbe106240550a33a | [
"Apache-2.0"
] | 461 | 2016-07-20T00:42:59.000Z | 2022-03-25T17:03:07.000Z | tests/hades_logs/conftest.py | agdsn/pycroft | ea771141d59c88fdb8a782eafbe106240550a33a | [
"Apache-2.0"
] | 15 | 2016-07-15T18:46:43.000Z | 2021-03-17T20:08:39.000Z | import pytest
from flask import Flask
from hades_logs import HadesLogs
from tests.hades_logs import get_hades_logs_config
@pytest.fixture(scope='session')
def hades_logs_config():
return get_hades_logs_config()
@pytest.fixture(scope='session')
def app(hades_logs_config):
app = Flask('test')
app.config.... | 21.285714 | 64 | 0.738255 | 104 | 745 | 5.067308 | 0.288462 | 0.170778 | 0.199241 | 0.237192 | 0.635674 | 0.635674 | 0.565465 | 0.390892 | 0.390892 | 0.216319 | 0 | 0.021705 | 0.134228 | 745 | 34 | 65 | 21.911765 | 0.795349 | 0 | 0 | 0.391304 | 0 | 0 | 0.124832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.173913 | 0.130435 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
935458778144827ca211c62f3128957ac092b33f | 97 | py | Python | producthunt/apps.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | producthunt/apps.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | producthunt/apps.py | IamCharlesM/Portfolio | 145d06657cf47bbd1133e863ef9614e23e9ff65a | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProducthuntConfig(AppConfig):
name = 'producthunt'
| 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 |
93597c314ba0e27139b1799f3da52437e778b6f5 | 388 | py | Python | src/plaso/tarzan/app/views/hdfslsview.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | 2 | 2020-02-09T01:11:08.000Z | 2021-09-17T04:16:31.000Z | src/plaso/tarzan/app/views/hdfslsview.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | null | null | null | src/plaso/tarzan/app/views/hdfslsview.py | nesfit/pyspark-plaso | 4e0680a1a79a5aebfbc7ae983da30841bf984d95 | [
"Apache-2.0"
] | 1 | 2021-03-17T09:47:01.000Z | 2021-03-17T09:47:01.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from flask.views import MethodView
from plaso.tarzan.app.controllers.filemancontroller import FileManController
class HdfsLsView(MethodView):
def __init__(self, hdfs_base_uri):
self.controller = FileManController(hdfs_base_uri)
def ge... | 24.25 | 76 | 0.752577 | 47 | 388 | 5.893617 | 0.617021 | 0.057762 | 0.079422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003049 | 0.154639 | 388 | 15 | 77 | 25.866667 | 0.841463 | 0.054124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
fa8d14fbe6ca55e1243cbbe179cf3f8c65c9dea5 | 70 | py | Python | CodeWars/7 Kyu/Return String of First Characters.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Return String of First Characters.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Return String of First Characters.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def make_string(s):
return "".join(word[0] for word in s.split())
| 23.333333 | 49 | 0.642857 | 13 | 70 | 3.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.171429 | 70 | 2 | 50 | 35 | 0.741379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
fac9322a11ac71262a099ef663e417df554c8e01 | 59 | py | Python | TwitterAnalysis/config.py | victorreyes93/Udacity-DevOps-Capstone-Project | 8b9f749ec5d2ccfe0d76fa8b7a3d69d576c6f584 | [
"MIT"
] | null | null | null | TwitterAnalysis/config.py | victorreyes93/Udacity-DevOps-Capstone-Project | 8b9f749ec5d2ccfe0d76fa8b7a3d69d576c6f584 | [
"MIT"
] | null | null | null | TwitterAnalysis/config.py | victorreyes93/Udacity-DevOps-Capstone-Project | 8b9f749ec5d2ccfe0d76fa8b7a3d69d576c6f584 | [
"MIT"
] | null | null | null | KEY = 'x72rm+0pwwl@spjb-qietpbhi*c1)t_14xi4jgn9kmiy3of))#'
| 29.5 | 58 | 0.762712 | 8 | 59 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 0.050847 | 59 | 1 | 59 | 59 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.847458 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.