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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5f0f221fcb4faaaa4f67e2bdb14311d76c9a7e58 | 457 | py | Python | myCompany/users/models/reset_pwd.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | myCompany/users/models/reset_pwd.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | myCompany/users/models/reset_pwd.py | Rom4eg/myCompany | 31846a861d8b0560191e2e1d9791f101b88874df | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.models import User
class ResetPassword(models.Model):
create_date = models.DateField(verbose_name=_('Create date'), auto_now=True)
pwd_hash = models.TextField(verbose_name=_('Hash'))
user = models... | 35.153846 | 80 | 0.741794 | 61 | 457 | 5.295082 | 0.57377 | 0.092879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142232 | 457 | 12 | 81 | 38.083333 | 0.82398 | 0 | 0 | 0 | 0 | 0 | 0.056893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 4 |
5f2bc1641cf1bb1c52e097f74c51d73b8b4424a1 | 82 | py | Python | dolo/version.py | gboehl/dolo.py | bde421efe00ecc7cb78b2cead1594b0729aa3a7c | [
"BSD-2-Clause"
] | 50 | 2015-03-16T01:07:00.000Z | 2020-02-07T22:18:43.000Z | dolo/version.py | gboehl/dolo.py | bde421efe00ecc7cb78b2cead1594b0729aa3a7c | [
"BSD-2-Clause"
] | 130 | 2015-01-01T19:33:21.000Z | 2020-04-27T15:57:22.000Z | dolo/version.py | gboehl/dolo.py | bde421efe00ecc7cb78b2cead1594b0729aa3a7c | [
"BSD-2-Clause"
] | 56 | 2015-10-14T12:27:26.000Z | 2020-04-21T14:56:02.000Z | __version_info__ = ("0", "4", "9", "15")
__version__ = ".".join(__version_info__)
| 27.333333 | 40 | 0.634146 | 10 | 82 | 3.8 | 0.7 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.109756 | 82 | 2 | 41 | 41 | 0.452055 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a03a97049ae3d87cca44ef3f3858a5061180707b | 130 | py | Python | python/1114.py | LourdesOshiroIgarashi/uri-begginner | 05f7993dfde2c7cc49e5b74907dee6297c82f447 | [
"MIT"
] | 3 | 2021-05-17T05:39:08.000Z | 2021-05-23T05:14:54.000Z | python/1114.py | LourdesOshiroIgarashi/uri-beginner | 05f7993dfde2c7cc49e5b74907dee6297c82f447 | [
"MIT"
] | null | null | null | python/1114.py | LourdesOshiroIgarashi/uri-beginner | 05f7993dfde2c7cc49e5b74907dee6297c82f447 | [
"MIT"
] | null | null | null | senha = int(input())
while senha != 2002:
print("Senha Invalida")
senha = int(input())
print("Acesso Permitido")
| 16.25 | 28 | 0.6 | 15 | 130 | 5.2 | 0.6 | 0.205128 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.238462 | 130 | 7 | 29 | 18.571429 | 0.747475 | 0 | 0 | 0.4 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
a03be9e4c7764479af6de4f8569e2ebf26257de6 | 423 | py | Python | unitUnittest.py | brnomendes/talk-teste-unidade | 23d086a69ebf7ce5df1a603a660af26f9b53774b | [
"MIT"
] | null | null | null | unitUnittest.py | brnomendes/talk-teste-unidade | 23d086a69ebf7ce5df1a603a660af26f9b53774b | [
"MIT"
] | null | null | null | unitUnittest.py | brnomendes/talk-teste-unidade | 23d086a69ebf7ce5df1a603a660af26f9b53774b | [
"MIT"
] | null | null | null | import unittest
def fibonacci(n):
if n < 2:
return n
else:
return fibonacci(n - 1) + fibonacci(n - 2)
class fibonacci_test(unittest.TestCase):
def test_um(self):
self.assertEqual(fibonacci(0), 0)
def test_dois(self):
self.assertEqual(fibonacci(1), 1)
def test_tr... | 17.625 | 50 | 0.617021 | 55 | 423 | 4.527273 | 0.418182 | 0.120482 | 0.228916 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035144 | 0.260047 | 423 | 23 | 51 | 18.391304 | 0.760383 | 0 | 0 | 0 | 0 | 0 | 0.018913 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.266667 | false | 0 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a07121b9787498f7aba4c6c29aa6f1eb2ae61db2 | 217 | py | Python | virtual/bin/django-admin.py | aenshtyn/Instagram | cf80f90a8067f5aaf3f932e3688dd90c8b88ebb5 | [
"MIT"
] | null | null | null | virtual/bin/django-admin.py | aenshtyn/Instagram | cf80f90a8067f5aaf3f932e3688dd90c8b88ebb5 | [
"MIT"
] | 9 | 2020-06-06T01:20:27.000Z | 2022-03-12T00:33:22.000Z | virtual/bin/django-admin.py | aenshtyn/Instagram | cf80f90a8067f5aaf3f932e3688dd90c8b88ebb5 | [
"MIT"
] | null | null | null | #!/home/mohamed/Documents/Moringa-School-Projects/Moringa Core/Django Week 2/IP/Instagram2/virtual/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 36.166667 | 110 | 0.806452 | 29 | 217 | 5.655172 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015075 | 0.082949 | 217 | 5 | 111 | 43.4 | 0.809045 | 0.502304 | 0 | 0 | 0 | 0 | 0.074766 | 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 |
a07138c1f83ad4723e401306174e484c75f88a36 | 486 | py | Python | autoarray/type.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 5 | 2019-09-26T02:18:25.000Z | 2021-12-11T16:29:20.000Z | autoarray/type.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 3 | 2020-03-30T14:25:57.000Z | 2021-12-21T17:10:55.000Z | autoarray/type.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 4 | 2020-03-03T11:35:41.000Z | 2022-01-21T17:37:35.000Z | import numpy as np
from typing import Union
# from autoarray.structures.grids.one_d import grid_1d as g1d
from autoarray.structures.grids.two_d.grid_2d import Grid2D
from autoarray.structures.grids.two_d.grid_2d_iterate import Grid2DIterate
from autoarray.structures.grids.two_d.grid_2d_irregular import Grid2DIrr... | 44.181818 | 83 | 0.825103 | 66 | 486 | 5.924242 | 0.393939 | 0.132992 | 0.235294 | 0.286445 | 0.29156 | 0.29156 | 0.29156 | 0.29156 | 0 | 0 | 0 | 0.041475 | 0.106996 | 486 | 10 | 84 | 48.6 | 0.859447 | 0.121399 | 0 | 0 | 0 | 0 | 0.014458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a08515bd21dd7cb3748619b0083a55061dd284d9 | 87 | py | Python | picapp/apps.py | nyagajr/picsapp | 4e5b93abb4b92e6d77c2cecdd6793595b53fb628 | [
"Unlicense"
] | null | null | null | picapp/apps.py | nyagajr/picsapp | 4e5b93abb4b92e6d77c2cecdd6793595b53fb628 | [
"Unlicense"
] | null | null | null | picapp/apps.py | nyagajr/picsapp | 4e5b93abb4b92e6d77c2cecdd6793595b53fb628 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class PicappConfig(AppConfig):
name = 'picapp'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a085b5b3c402e69ac837356564ab563156adb97a | 175 | py | Python | install.py | faraazahmad/terminoter | 8694cbb9fa563f9321ce58d15f709dfbb184cb9a | [
"MIT"
] | 1 | 2018-01-03T20:20:56.000Z | 2018-01-03T20:20:56.000Z | install.py | faraazahmad/terminoter | 8694cbb9fa563f9321ce58d15f709dfbb184cb9a | [
"MIT"
] | 3 | 2018-01-04T14:28:01.000Z | 2018-01-13T08:10:02.000Z | install.py | faraazahmad/terminoter | 8694cbb9fa563f9321ce58d15f709dfbb184cb9a | [
"MIT"
] | null | null | null | # This file creates a new database table if it is
# not present on the machine
# import the db module
import db
# TODO: check if the database table exists
db.create_table() | 19.444444 | 49 | 0.754286 | 31 | 175 | 4.225806 | 0.709677 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 175 | 9 | 50 | 19.444444 | 0.935714 | 0.777143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a0a1fa54a786b9fc91ab128364242ee965176b25 | 6,684 | py | Python | ooobuild/cssdyn/linguistic2/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/cssdyn/linguistic2/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | ooobuild/cssdyn/linguistic2/__init__.py | Amourspirit/ooo_uno_tmpl | 64e0c86fd68f24794acc22d63d8d32ae05dd12b8 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http: // www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 81.512195 | 132 | 0.870437 | 736 | 6,684 | 7.740489 | 0.244565 | 0.079867 | 0.205371 | 0.106723 | 0.24627 | 0.169212 | 0.094085 | 0.033 | 0 | 0 | 0 | 0.013413 | 0.074207 | 6,684 | 81 | 133 | 82.518519 | 0.90724 | 0.086176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a0aa4b500f15e6ce29512e63a44c29a21eaf6811 | 606 | py | Python | PyObjCTest/test_nswindowcontroller.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | PyObjCTest/test_nswindowcontroller.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | PyObjCTest/test_nswindowcontroller.py | linuxfood/pyobjc-framework-Cocoa-test | 3475890f165ab26a740f13d5afe4c62b4423a140 | [
"MIT"
] | null | null | null | import AppKit
from PyObjCTools.TestSupport import TestCase
class TestNSWindowController(TestCase):
def testMethods(self):
self.assertResultIsBOOL(AppKit.NSWindowController.shouldCascadeWindows)
self.assertArgIsBOOL(AppKit.NSWindowController.setShouldCascadeWindows_, 0)
self.assertArgIsBOOL... | 46.615385 | 83 | 0.813531 | 46 | 606 | 10.652174 | 0.456522 | 0.293878 | 0.171429 | 0.281633 | 0.191837 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005629 | 0.120462 | 606 | 12 | 84 | 50.5 | 0.913696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a0bd678bc56c2a61967b736e2c87d2f4a012231f | 115 | py | Python | pso/__init__.py | HawkTom/EAPY | c9dabbfb233f4a135bf9560bebcf6c01ec9baf94 | [
"MIT"
] | 2 | 2020-06-14T07:20:09.000Z | 2021-11-20T17:29:03.000Z | pso/__init__.py | HawkTom/EAPY | c9dabbfb233f4a135bf9560bebcf6c01ec9baf94 | [
"MIT"
] | null | null | null | pso/__init__.py | HawkTom/EAPY | c9dabbfb233f4a135bf9560bebcf6c01ec9baf94 | [
"MIT"
] | null | null | null |
from .wPSO import wPSO
from .CLPSO import CLPSO
from .ALCPSO import ALCPSO
__all__ = ['wPSO', 'CLPSO', 'ALCPSO']
| 16.428571 | 37 | 0.713043 | 16 | 115 | 4.875 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 115 | 6 | 38 | 19.166667 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
264c15739867c11d3d5c7accb232d80743abcf04 | 127 | py | Python | meetup_6_Jun_2020/package_3/area.py | suratpug/spug | eb82942327e265748b153c2f914408454b9e861e | [
"MIT"
] | 1 | 2020-05-09T17:15:41.000Z | 2020-05-09T17:15:41.000Z | meetup_6_Jun_2020/package_3/area.py | suratpug/spug | eb82942327e265748b153c2f914408454b9e861e | [
"MIT"
] | null | null | null | meetup_6_Jun_2020/package_3/area.py | suratpug/spug | eb82942327e265748b153c2f914408454b9e861e | [
"MIT"
] | 2 | 2020-05-11T05:00:44.000Z | 2020-06-25T11:49:09.000Z | import math
def area_circle(radius):
return math.pi * (radius ** 2)
def area_square(length):
return length ** 2
| 14.111111 | 34 | 0.645669 | 18 | 127 | 4.444444 | 0.611111 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.244094 | 127 | 8 | 35 | 15.875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 |
cd15ec1b88387583015b9eb4216176f02d3665cc | 285 | py | Python | scripts/portal/reundodraco.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 9 | 2021-04-26T11:59:29.000Z | 2021-12-20T13:15:27.000Z | scripts/portal/reundodraco.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/portal/reundodraco.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 6 | 2021-07-14T06:32:05.000Z | 2022-02-06T02:32:56.000Z | # Used to remove the Red Draco Morph Buff In Leafre : Station in case field/undomorphdarco.py fails
from net.swordie.ms.client.character.skills.temp import CharacterTemporaryStat
if sm.getnOptionByCTS(CharacterTemporaryStat.Morph) == 16:
sm.removeCTS(CharacterTemporaryStat.Morph) | 57 | 99 | 0.821053 | 37 | 285 | 6.324324 | 0.837838 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007843 | 0.105263 | 285 | 5 | 100 | 57 | 0.909804 | 0.340351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cd46d691d7bbd55d34897ad49ffde6194c8d7261 | 162 | py | Python | coding_interviews/leetcode/easy/check_if_two_string_arrays_are_equivalent/check_if_two_string_arrays_are_equivalent.py | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | coding_interviews/leetcode/easy/check_if_two_string_arrays_are_equivalent/check_if_two_string_arrays_are_equivalent.py | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | coding_interviews/leetcode/easy/check_if_two_string_arrays_are_equivalent/check_if_two_string_arrays_are_equivalent.py | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | # https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent
def array_strings_are_equal(word1, word2):
return ''.join(word1) == ''.join(word2) | 32.4 | 73 | 0.734568 | 23 | 162 | 5.043478 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.08642 | 162 | 5 | 74 | 32.4 | 0.756757 | 0.438272 | 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 |
cd49688f1ad05080b89d210262d41d9db4e05776 | 135 | py | Python | model/recognition_model/GRCNN/utils/keys-Copy1.py | JinGyeSetBirdsFree/FudanOCR | e6b18b0eefaf832b2eb7198f5df79e00bd4cee36 | [
"MIT"
] | 25 | 2020-02-29T12:14:10.000Z | 2020-04-24T07:56:06.000Z | model/recognition_model/GRCNN/utils/keys-Copy1.py | dun933/FudanOCR | fd79b679044ea23fd9eb30691453ed0805d2e98b | [
"MIT"
] | 33 | 2020-12-10T19:15:39.000Z | 2022-03-12T00:17:30.000Z | model/recognition_model/GRCNN/utils/keys-Copy1.py | dun933/FudanOCR | fd79b679044ea23fd9eb30691453ed0805d2e98b | [
"MIT"
] | 4 | 2020-02-29T12:14:18.000Z | 2020-04-12T12:26:50.000Z | #coding:UTF-8
#num = 94
alphabet = u'goespulitanywhNdcrkmf17:5LJIb.''90RGB(,v26FTxjMAC;WP3S4-HU!VDE>8OYQz%`?)KX/Z"$q@[]*|#&<}=+{_^\~'
| 33.75 | 110 | 0.644444 | 18 | 135 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0.059259 | 135 | 3 | 111 | 45 | 0.574803 | 0.148148 | 0 | 0 | 0 | 0 | 0.823009 | 0.823009 | 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 |
cd6b0eb2fe4cb96c3e24dbf54a6a6da91939396c | 57 | py | Python | quorum/parse/__init__.py | LSaldyt/quorum | a9def89f8183e5307366f8ba1785e5ef55aeb1af | [
"MIT"
] | null | null | null | quorum/parse/__init__.py | LSaldyt/quorum | a9def89f8183e5307366f8ba1785e5ef55aeb1af | [
"MIT"
] | null | null | null | quorum/parse/__init__.py | LSaldyt/quorum | a9def89f8183e5307366f8ba1785e5ef55aeb1af | [
"MIT"
] | null | null | null | from .parse import parse_file, parse_text, parse_pattern
| 28.5 | 56 | 0.842105 | 9 | 57 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.882353 | 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 |
cd783e7f99f42e4b0eb3d769ef3e8db1589a9dbb | 748 | py | Python | conftest.py | ropumar/maas-divide | 7ef31e88d1371ba5b13498afb225911305287d29 | [
"MIT"
] | null | null | null | conftest.py | ropumar/maas-divide | 7ef31e88d1371ba5b13498afb225911305287d29 | [
"MIT"
] | 15 | 2019-05-27T17:21:48.000Z | 2019-06-18T13:08:05.000Z | conftest.py | ropumar/maas-divide | 7ef31e88d1371ba5b13498afb225911305287d29 | [
"MIT"
] | 1 | 2019-06-18T19:50:55.000Z | 2019-06-18T19:50:55.000Z | import os
os.environ["ENV"] = "TEST"
os.environ["TEST_PLUS_SERVICE_ADDRESS"] = os.getenv(
"TEST_PLUS_SERVICE_ADDRESS", "http://plus.service"
)
os.environ["TEST_MINUS_SERVICE_ADDRESS"] = os.getenv(
"TEST_MINUS_SERVICE_ADDRESS", "http://minus.service"
)
os.environ["TEST_DIVIDE_SERVICE_ADDRESS"] = os.getenv(
... | 27.703704 | 62 | 0.739305 | 99 | 748 | 5.222222 | 0.181818 | 0.270793 | 0.15087 | 0.212766 | 0.251451 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005935 | 0.09893 | 748 | 26 | 63 | 28.769231 | 0.761128 | 0 | 0 | 0 | 0 | 0 | 0.586898 | 0.425134 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
cd96c99d42dafd2804a41bed2c184305a57529e3 | 18,087 | py | Python | gexfpy/gexf.py | chunqishi/gexfpy | bcf8e2cc7bfa56682fc1296357bd7a28a1d0f97b | [
"MIT"
] | 1 | 2022-03-12T15:30:11.000Z | 2022-03-12T15:30:11.000Z | gexfpy/gexf.py | chunqishi/gexfpy | bcf8e2cc7bfa56682fc1296357bd7a28a1d0f97b | [
"MIT"
] | null | null | null | gexfpy/gexf.py | chunqishi/gexfpy | bcf8e2cc7bfa56682fc1296357bd7a28a1d0f97b | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from enum import Enum
from typing import List, Optional
from xsdata.models.datatype import XmlDate
from dataclasses import dataclass, field
from enum import Enum
from typing import List, Optional, Union
from xsdata.models.datatype import XmlDate, XmlDateTime
__NAMESPAC... | 23.070153 | 74 | 0.493393 | 1,529 | 18,087 | 5.814258 | 0.072596 | 0.105287 | 0.091789 | 0.114736 | 0.818898 | 0.746344 | 0.725534 | 0.715411 | 0.690439 | 0.599438 | 0 | 0.009198 | 0.374855 | 18,087 | 783 | 75 | 23.099617 | 0.777041 | 0.000276 | 0 | 0.587302 | 0 | 0 | 0.17578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017316 | 0 | 0.226551 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
269a62c395580d53ce8447d0c2c362e82b05ba06 | 10,503 | py | Python | tests/test_peewee.py | bouncyweirdo/architect | b4cbfcefb4757b5e3f276bb6156103d45da15ecf | [
"Apache-2.0"
] | 352 | 2015-01-16T10:22:25.000Z | 2022-02-25T04:19:13.000Z | tests/test_peewee.py | bouncyweirdo/architect | b4cbfcefb4757b5e3f276bb6156103d45da15ecf | [
"Apache-2.0"
] | 76 | 2015-01-19T11:15:32.000Z | 2021-12-09T15:35:47.000Z | tests/test_peewee.py | bouncyweirdo/architect | b4cbfcefb4757b5e3f276bb6156103d45da15ecf | [
"Apache-2.0"
] | 72 | 2015-01-19T11:53:40.000Z | 2022-03-14T16:09:00.000Z | """
Tests Peewee specific behaviour.
"""
import os
import sys
import datetime
from . import unittest, capture
if not os.environ.get('PEEWEE') or not os.environ.get('DB'):
raise unittest.SkipTest('Not a Peewee build')
from .models.peewee import *
def setUpModule():
sys.argv = ['architect', 'partition', '--... | 49.542453 | 120 | 0.69761 | 1,243 | 10,503 | 5.769912 | 0.11424 | 0.046012 | 0.059816 | 0.078221 | 0.872839 | 0.857362 | 0.799637 | 0.757808 | 0.663553 | 0.538622 | 0 | 0.048198 | 0.178235 | 10,503 | 211 | 121 | 49.777251 | 0.78276 | 0.003047 | 0 | 0.346405 | 0 | 0 | 0.208258 | 0.070534 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.156863 | false | 0 | 0.03268 | 0 | 0.20915 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26a121359d1c4414421afc76f76006ac6dce2063 | 858 | py | Python | sysdfiles/__init__.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | null | null | null | sysdfiles/__init__.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-05T20:58:05.000Z | 2020-06-05T20:58:05.000Z | sysdfiles/__init__.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-09T02:35:35.000Z | 2020-06-09T02:35:35.000Z | from .automount_file import AutomountFile
from .conf_file import ConfFile
from .device_file import DeviceFile
from .hostname_file import HostnameFile
from .hosts_file import HostsFile, HostsLine
from .ini_file import IniFile, IniLine, IniProperty
from .link_file import LinkFile
from .machine_id_file import MachineIdFil... | 35.75 | 51 | 0.858974 | 121 | 858 | 5.876033 | 0.446281 | 0.323488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110723 | 858 | 23 | 52 | 37.304348 | 0.931848 | 0 | 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 |
26d36dc0d96b4d160e144a196767d04d9e726b0a | 334 | py | Python | organizational_area/apps.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | organizational_area/apps.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | organizational_area/apps.py | mspasiano/uniTicket | 1e8e4c2274293e751deea5b8b1fb4116136c5641 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
# from django.utils.translation import gettext as _
class OrganizationalAreaConfig(AppConfig):
name = 'organizational_area'
verbose_name = 'Organizational Area'
# verbose_name = _('Organizational Area')
def ready(self):
# Signals
import organizational... | 25.692308 | 51 | 0.730539 | 34 | 334 | 7 | 0.558824 | 0.302521 | 0.277311 | 0.243697 | 0.336134 | 0.336134 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0.197605 | 334 | 12 | 52 | 27.833333 | 0.88806 | 0.290419 | 0 | 0 | 0 | 0 | 0.16309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f81cd4f8cf5db9a4d1579cd518c56003d4a74366 | 152 | py | Python | cry/simple-conversion/file/convert.py | wani-hackase/wanictf21spring-writeup | f5a8c84a1dd887a9cad49a9946b9b7aea512bcab | [
"MIT"
] | 14 | 2021-05-02T11:10:44.000Z | 2021-05-23T05:33:07.000Z | cry/simple-conversion/src/convert.py | wani-hackase/wanictf21spring-writeup | f5a8c84a1dd887a9cad49a9946b9b7aea512bcab | [
"MIT"
] | null | null | null | cry/simple-conversion/src/convert.py | wani-hackase/wanictf21spring-writeup | f5a8c84a1dd887a9cad49a9946b9b7aea512bcab | [
"MIT"
] | 3 | 2021-05-15T07:15:20.000Z | 2021-11-04T04:52:14.000Z | from const import flag
def bytes_to_integer(x: bytes) -> int:
x = int.from_bytes(x, byteorder="big")
return x
print(bytes_to_integer(flag))
| 15.2 | 42 | 0.697368 | 25 | 152 | 4.04 | 0.56 | 0.138614 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 152 | 9 | 43 | 16.888889 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 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 |
f838ef6834ce2ebef76fdd3715979ed969761041 | 1,458 | py | Python | src/decorators.py | dzil123/discord_bot | 8b111a1990eeadb31d752273cf51a0ac2758c6df | [
"MIT"
] | null | null | null | src/decorators.py | dzil123/discord_bot | 8b111a1990eeadb31d752273cf51a0ac2758c6df | [
"MIT"
] | null | null | null | src/decorators.py | dzil123/discord_bot | 8b111a1990eeadb31d752273cf51a0ac2758c6df | [
"MIT"
] | null | null | null | import collections
import functools
def default_get_id(func):
def _getattr(attr):
return getattr(func, attr, None)
return _getattr("__module__"), _getattr("__qualname__")
class DictDiffKey(collections.UserDict):
@staticmethod
def get_id(key):
# Override me
return key
de... | 25.137931 | 79 | 0.616598 | 186 | 1,458 | 4.516129 | 0.360215 | 0.065476 | 0.075 | 0.057143 | 0.078571 | 0.078571 | 0.054762 | 0 | 0 | 0 | 0 | 0.004682 | 0.26749 | 1,458 | 57 | 80 | 25.578947 | 0.781835 | 0.049383 | 0 | 0 | 0 | 0 | 0.015919 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.105263 | 0.578947 | 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 |
f8bff48559887fac2bca68a407d4b56b7fc0ea0a | 100 | py | Python | main/settings/__init__.py | patcurry/spatialdatahub.org | dcf9820c35d79fc03338cc99b71bd72f9df7243e | [
"MIT"
] | 1 | 2021-07-03T17:03:35.000Z | 2021-07-03T17:03:35.000Z | main/settings/__init__.py | patcurry/spatialdatahub.org | dcf9820c35d79fc03338cc99b71bd72f9df7243e | [
"MIT"
] | 2 | 2019-02-22T07:37:10.000Z | 2019-02-22T08:22:21.000Z | main/settings/__init__.py | patcurry/spatialdatahub.org | dcf9820c35d79fc03338cc99b71bd72f9df7243e | [
"MIT"
] | 3 | 2019-01-29T08:50:55.000Z | 2022-02-16T07:17:50.000Z | # spatialdatahub.org/main/settings/__init__.py
try:
from .production import *
except:
pass
| 12.5 | 46 | 0.72 | 12 | 100 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 100 | 7 | 47 | 14.285714 | 0.829268 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3e12f0f66332fe0adb3d41db8954e34e83fa1594 | 288 | py | Python | models/2-Gleb/train/src/__init__.py | navekshasood/HuBMAP---Hacking-the-Kidney | 018100fe4bfa5e8764b9df5a9d188e2c670ac061 | [
"MIT"
] | null | null | null | models/2-Gleb/train/src/__init__.py | navekshasood/HuBMAP---Hacking-the-Kidney | 018100fe4bfa5e8764b9df5a9d188e2c670ac061 | [
"MIT"
] | null | null | null | models/2-Gleb/train/src/__init__.py | navekshasood/HuBMAP---Hacking-the-Kidney | 018100fe4bfa5e8764b9df5a9d188e2c670ac061 | [
"MIT"
] | null | null | null | from . import augs
from . import config
from . import data
from . import logger
from . import main
from . import model
from . import postprocessing
from . import preprocessing
from . import rle2tiff
from . import utils
from . import sampler
from . import train
from . import visualizers
| 19.2 | 28 | 0.770833 | 39 | 288 | 5.692308 | 0.384615 | 0.585586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0.184028 | 288 | 14 | 29 | 20.571429 | 0.940426 | 0 | 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 |
3e1aece284fc7755e8e58ad0c223ec960c22f21f | 200 | py | Python | user_login.py | zoenggamming/BIT-srun-login-script | 3104bcaf688868af8528523297d97a32bac2ee38 | [
"MIT"
] | null | null | null | user_login.py | zoenggamming/BIT-srun-login-script | 3104bcaf688868af8528523297d97a32bac2ee38 | [
"MIT"
] | null | null | null | user_login.py | zoenggamming/BIT-srun-login-script | 3104bcaf688868af8528523297d97a32bac2ee38 | [
"MIT"
] | null | null | null | import os
import getpass
def input_password():
passwd = getpass.getpass("Passord Plz~ : ")
return passwd
def input_username():
username = input("username Plz~ : ")
return username
| 16.666667 | 47 | 0.675 | 23 | 200 | 5.782609 | 0.478261 | 0.120301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22 | 200 | 11 | 48 | 18.181818 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0.155779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 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 |
3e3168f221a5b09422e8127fa704cc0f0b0fa786 | 120 | py | Python | tests/base/test_sample.py | ivo-bass/iCook | c45f97ac3d8da0c52ccd85ecac0bab51bc4c8048 | [
"MIT"
] | 1 | 2021-08-05T07:15:59.000Z | 2021-08-05T07:15:59.000Z | tests/base/test_sample.py | ivo-bass/iCook | c45f97ac3d8da0c52ccd85ecac0bab51bc4c8048 | [
"MIT"
] | null | null | null | tests/base/test_sample.py | ivo-bass/iCook | c45f97ac3d8da0c52ccd85ecac0bab51bc4c8048 | [
"MIT"
] | null | null | null | from django.test import TestCase
class SampleTest(TestCase):
def test_sample(self):
self.assertTrue(True)
| 17.142857 | 32 | 0.725 | 15 | 120 | 5.733333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191667 | 120 | 6 | 33 | 20 | 0.886598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3e35cc06b106fe63ba25e672a3b68f8f68be1a51 | 186 | py | Python | Python/email/MyQr.py | LeishenKOBE/good-good-study | ac6b859f53b8b95f0746f35c5278009a5cad40a8 | [
"MIT"
] | null | null | null | Python/email/MyQr.py | LeishenKOBE/good-good-study | ac6b859f53b8b95f0746f35c5278009a5cad40a8 | [
"MIT"
] | null | null | null | Python/email/MyQr.py | LeishenKOBE/good-good-study | ac6b859f53b8b95f0746f35c5278009a5cad40a8 | [
"MIT"
] | null | null | null | from MyQR import myqr
myqr.run(words="http://weixin.qq.com/r/kzlje9TEE4lsrZAY92yB",
version=5, level='H', colorized=True, contrast=1.0, brightness=1.0, save_name='Python.png')
| 37.2 | 100 | 0.715054 | 29 | 186 | 4.551724 | 0.862069 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0.112903 | 186 | 4 | 101 | 46.5 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 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 |
3e62e7545da2b22d7f83b925e574984d4dcb2695 | 707 | py | Python | comps/views/__init__.py | dlanghorne0428/dancesport-tracker-projec | e55d91a4f03c26d6ee8c28846a809064adfdb158 | [
"MIT"
] | null | null | null | comps/views/__init__.py | dlanghorne0428/dancesport-tracker-projec | e55d91a4f03c26d6ee8c28846a809064adfdb158 | [
"MIT"
] | 87 | 2020-04-15T22:29:03.000Z | 2022-01-02T02:21:28.000Z | comps/views/__init__.py | dlanghorne0428/dancesport-tracker-projec | e55d91a4f03c26d6ee8c28846a809064adfdb158 | [
"MIT"
] | null | null | null | from .all_comps import *
from .clear_comp import *
from .combine_heats import *
from .comp_detail import *
from .comp_heats import *
from .create_comp import *
from .create_heat import *
from .couples import *
from .couple_heats import *
from .dancers import *
from .dancer_heats import *
from .edit_comp import *
from .... | 27.192308 | 36 | 0.787836 | 103 | 707 | 5.135922 | 0.291262 | 0.453686 | 0.141777 | 0.068053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141443 | 707 | 25 | 37 | 28.28 | 0.871499 | 0 | 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 |
3e741b32eed2e3fcc02bcd83801d7055120ccb55 | 126 | py | Python | vsmlib/benchmarks/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 16 | 2017-01-04T05:18:42.000Z | 2021-08-08T09:31:08.000Z | vsmlib/benchmarks/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 8 | 2017-07-01T04:23:53.000Z | 2019-01-04T04:03:45.000Z | vsmlib/benchmarks/__init__.py | berntham/vsmlib | b2ed762ff50b5dcdd6999ad75c205557e70c6598 | [
"Apache-2.0"
] | 2 | 2017-10-31T02:21:08.000Z | 2021-01-07T00:03:23.000Z | """Collection of benchmarks and downstream tasks on embeddings
.. autosummary::
:toctree: _autosummary
analogy
"""
| 14 | 62 | 0.706349 | 12 | 126 | 7.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 126 | 8 | 63 | 15.75 | 0.871287 | 0.928571 | 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 |
e49722ade363419b822d618dd8034902174bc3d4 | 653 | py | Python | travello/migrations/0004_auto_20210520_1013.py | harshavardhan26082001/First | cc0e9b743b3f73322af93997901c3c24265ec870 | [
"BSD-3-Clause"
] | 1 | 2022-02-09T12:11:07.000Z | 2022-02-09T12:11:07.000Z | travello/migrations/0004_auto_20210520_1013.py | harshavardhan26082001/MovieApp | cc0e9b743b3f73322af93997901c3c24265ec870 | [
"BSD-3-Clause"
] | null | null | null | travello/migrations/0004_auto_20210520_1013.py | harshavardhan26082001/MovieApp | cc0e9b743b3f73322af93997901c3c24265ec870 | [
"BSD-3-Clause"
] | null | null | null | # Generated by Django 3.2.3 on 2021-05-20 10:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('travello', '0003_auto_20210520_1013'),
]
operations = [
migrations.RemoveField(
model_name='destination',
name='desc',
... | 21.766667 | 48 | 0.537519 | 56 | 653 | 6.142857 | 0.571429 | 0.244186 | 0.302326 | 0.348837 | 0.523256 | 0.523256 | 0 | 0 | 0 | 0 | 0 | 0.073113 | 0.350689 | 653 | 29 | 49 | 22.517241 | 0.738208 | 0.068913 | 0 | 0.521739 | 1 | 0 | 0.155116 | 0.037954 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e4afb56165f451757857381bd0f0c7968b96ea52 | 154 | py | Python | reddit2telegram/channels/~inactive/completeanarchy_tg/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 187 | 2016-09-20T09:15:54.000Z | 2022-03-29T12:22:33.000Z | reddit2telegram/channels/~inactive/completeanarchy_tg/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 84 | 2016-09-22T14:25:07.000Z | 2022-03-19T01:26:17.000Z | reddit2telegram/channels/~inactive/completeanarchy_tg/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 172 | 2016-09-21T15:39:39.000Z | 2022-03-16T15:15:58.000Z | #encoding:utf-8
subreddit = 'completeanarchy'
t_channel = '@completeanarchy_tg'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 17.111111 | 38 | 0.766234 | 19 | 154 | 6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.123377 | 154 | 8 | 39 | 19.25 | 0.822222 | 0.090909 | 0 | 0 | 0 | 0 | 0.244604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
e4b2500ab4cad0519650b7ab648791cfdc41f186 | 220 | py | Python | utils/date_utils.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | utils/date_utils.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | utils/date_utils.py | Rudi9719/booksearch-web | c48300e04ebdf2f01a990c67d4ff63d282da8168 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import datetime
def parse_date_string(date_string):
date = None
try:
date = datetime.datetime.strptime(date_string, "%Y-%m-%d").date()
except:
pass
return date
| 13.75 | 73 | 0.622727 | 29 | 220 | 4.586207 | 0.655172 | 0.225564 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 220 | 15 | 74 | 14.666667 | 0.810976 | 0.090909 | 0 | 0 | 0 | 0 | 0.040201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e4c3b3833f16a13091acc6ed4687f86ccd43695c | 488 | py | Python | agent/views.py | kinnevo/kic_alone | 7b0964b4438d35ac5caa9bf6d716abead91e3aea | [
"MIT"
] | null | null | null | agent/views.py | kinnevo/kic_alone | 7b0964b4438d35ac5caa9bf6d716abead91e3aea | [
"MIT"
] | null | null | null | agent/views.py | kinnevo/kic_alone | 7b0964b4438d35ac5caa9bf6d716abead91e3aea | [
"MIT"
] | null | null | null | __author__ = 'jorgezavala'
from django.http import HttpResponse
from django.shortcuts import render
def index1(request):
return HttpResponse("The top level.")
def home(request):
return render(request, 'home.html', {'ideas': 'ideas' }, content_type='text/html')
def blog(request):
return render(request,... | 25.684211 | 86 | 0.704918 | 62 | 488 | 5.435484 | 0.387097 | 0.154303 | 0.169139 | 0.231454 | 0.311573 | 0.311573 | 0.311573 | 0.21365 | 0 | 0 | 0 | 0.007092 | 0.133197 | 488 | 18 | 87 | 27.111111 | 0.789598 | 0 | 0 | 0 | 0 | 0 | 0.22541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.363636 | 0.909091 | 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 |
e4d1877fb3969393f2e0883cb2193316ba282854 | 1,180 | py | Python | Medium/1689.PartitioningIntoMinimumNumberOfDeci-BinaryNumbers.py | YuriSpiridonov/LeetCode | 2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781 | [
"MIT"
] | 39 | 2020-07-04T11:15:13.000Z | 2022-02-04T22:33:42.000Z | Medium/1689.PartitioningIntoMinimumNumberOfDeci-BinaryNumbers.py | YuriSpiridonov/LeetCode | 2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781 | [
"MIT"
] | 1 | 2020-07-15T11:53:37.000Z | 2020-07-15T11:53:37.000Z | Medium/1689.PartitioningIntoMinimumNumberOfDeci-BinaryNumbers.py | YuriSpiridonov/LeetCode | 2dfcc9c71466ffa2ebc1c89e461ddfca92e2e781 | [
"MIT"
] | 20 | 2020-07-14T19:12:53.000Z | 2022-03-02T06:28:17.000Z | '''
A decimal number is called deci-binary if each of its
digits is either 0 or 1 without any leading zeros.
For example, 101 and 1100 are deci-binary, while 112
and 3001 are not.
Given a string n that represents a positive decimal
integer, return the minimum number of positive deci-binary ... | 28.780488 | 131 | 0.666949 | 176 | 1,180 | 4.471591 | 0.556818 | 0.063532 | 0.057179 | 0.035578 | 0.241423 | 0.200762 | 0.200762 | 0.200762 | 0.200762 | 0.200762 | 0 | 0.094145 | 0.261864 | 1,180 | 40 | 132 | 29.5 | 0.809414 | 0.837288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e4d524afb0ace299791c5ad02e24dcdc1e9c5aa0 | 978 | py | Python | models/user.py | ranusingh1993/flask_restfull | c318f7061f82e2687ec3b60ef7fa14d3a764d6c7 | [
"MIT"
] | null | null | null | models/user.py | ranusingh1993/flask_restfull | c318f7061f82e2687ec3b60ef7fa14d3a764d6c7 | [
"MIT"
] | null | null | null | models/user.py | ranusingh1993/flask_restfull | c318f7061f82e2687ec3b60ef7fa14d3a764d6c7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jan 25 14:11:24 2022
@author: ranusingh1993
"""
import mysql.connector
from db import db
class UserModel(db.Model):
__tablename__='users'
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(80))
password = db.Column(db.String(80))
... | 23.285714 | 61 | 0.605317 | 124 | 978 | 4.58871 | 0.427419 | 0.042179 | 0.091388 | 0.056239 | 0.224956 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029494 | 0.271984 | 978 | 41 | 62 | 23.853659 | 0.769663 | 0.083845 | 0 | 0.153846 | 0 | 0 | 0.016892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.115385 | 0.076923 | 0.115385 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
e4f93863d31404c478cc73dd51c0b25a711a88da | 141 | py | Python | django_netjsongraph/management/commands/save_snapshot.py | r14r/Django_App-D3_NetJSONGraph | cf3d75fcb2438716e207e1b9c759429661a4659e | [
"MIT"
] | 80 | 2017-03-22T13:45:48.000Z | 2019-05-05T02:35:31.000Z | django_netjsongraph/management/commands/save_snapshot.py | r14r/Django_App-D3_NetJSONGraph | cf3d75fcb2438716e207e1b9c759429661a4659e | [
"MIT"
] | 79 | 2017-03-22T16:42:14.000Z | 2019-04-25T22:39:44.000Z | django_netjsongraph/management/commands/save_snapshot.py | r14r/Django_App-D3_NetJSONGraph | cf3d75fcb2438716e207e1b9c759429661a4659e | [
"MIT"
] | 53 | 2017-03-20T22:20:59.000Z | 2019-04-12T22:26:49.000Z | from ...models import Topology
from . import BaseSaveSnapshotCommand
class Command(BaseSaveSnapshotCommand):
topology_model = Topology
| 20.142857 | 39 | 0.808511 | 13 | 141 | 8.692308 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 6 | 40 | 23.5 | 0.92623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e4fc3aeff396ca80badb3e7be530d301b6661884 | 95 | py | Python | clustering/apps.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | clustering/apps.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | clustering/apps.py | nearj/UOS_2019_crime_graph_analysis | 6e5b373fd78eb38e0cf2dbe4584b36fa57eed667 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ClusteringConfig(AppConfig):
name = 'clustering'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9045789f18e3881c0a25a1d37ac87d867e1b6f8a | 1,717 | py | Python | yb_enigma/__init__.py | YuriyBl/yb-enigma | 0220490830361c6490a4d7fde8eb1aac7660dc34 | [
"MIT"
] | null | null | null | yb_enigma/__init__.py | YuriyBl/yb-enigma | 0220490830361c6490a4d7fde8eb1aac7660dc34 | [
"MIT"
] | null | null | null | yb_enigma/__init__.py | YuriyBl/yb-enigma | 0220490830361c6490a4d7fde8eb1aac7660dc34 | [
"MIT"
] | null | null | null | """
Enigma emulator
Classes:
Enigma
Rotor
Reflector
Plugboard
Functions:
parse_configuration
format_output_string
keep_only_alph
prepare_string
Initialize by:
from yb_enigma import *
1. use default configuration "A I-II"
enigma = Enigma()
2. use random configurat... | 26.828125 | 127 | 0.672685 | 205 | 1,717 | 5.502439 | 0.414634 | 0.062057 | 0.067376 | 0.049645 | 0.202128 | 0.202128 | 0.120567 | 0.120567 | 0.120567 | 0.120567 | 0 | 0.009202 | 0.240536 | 1,717 | 63 | 128 | 27.253968 | 0.855828 | 0.899825 | 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 |
5f3a1d54772811d6f5e55ad5e56697c9a4fcfd33 | 283 | py | Python | src/croma/utils.py | jabhishek87/croma | 4fff327ea37fba3d5e90215db3a1b6860c309f74 | [
"bzip2-1.0.6",
"MIT"
] | 56 | 2017-11-25T05:13:17.000Z | 2022-01-27T15:14:44.000Z | src/croma/utils.py | jabhishek87/croma | 4fff327ea37fba3d5e90215db3a1b6860c309f74 | [
"bzip2-1.0.6",
"MIT"
] | 4 | 2018-12-10T18:16:36.000Z | 2020-06-15T07:34:04.000Z | src/croma/utils.py | jabhishek87/croma | 4fff327ea37fba3d5e90215db3a1b6860c309f74 | [
"bzip2-1.0.6",
"MIT"
] | 25 | 2018-05-03T19:26:27.000Z | 2021-12-20T08:38:06.000Z |
from django.core.cache import cache
from django.core.cache.utils import make_template_fragment_key
def invalidate_template_fragment(fragment_name, *variables):
cache_key = make_template_fragment_key(
fragment_name, vary_on=variables)
cache.delete(cache_key) | 35.375 | 63 | 0.787986 | 38 | 283 | 5.526316 | 0.447368 | 0.228571 | 0.133333 | 0.180952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14841 | 283 | 8 | 64 | 35.375 | 0.871369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5f4fae04453efa559466092bad526579efdaa3c2 | 138 | py | Python | Addition/Addition.py | Abishankari02/the-Haunting-Robots | 29dada1faa0ef7ef285746cb49c510903a5d89ab | [
"MIT"
] | null | null | null | Addition/Addition.py | Abishankari02/the-Haunting-Robots | 29dada1faa0ef7ef285746cb49c510903a5d89ab | [
"MIT"
] | null | null | null | Addition/Addition.py | Abishankari02/the-Haunting-Robots | 29dada1faa0ef7ef285746cb49c510903a5d89ab | [
"MIT"
] | 3 | 2021-03-20T07:39:18.000Z | 2021-03-20T07:53:12.000Z | def doaddition(a,b):
''''This function performs addition
and print the sum''''
sum=a+b
print(sum)
a=5
b=10
doaddition(a,b) | 17.25 | 39 | 0.630435 | 24 | 138 | 3.625 | 0.583333 | 0.068966 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.217391 | 138 | 8 | 40 | 17.25 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f5095208888eebb355a9a1bde5aba395e222f2c | 118 | py | Python | pacos4/time.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | pacos4/time.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | pacos4/time.py | jadnohra/PaCoS | 0b97cf566d89d99f85c55581beb9ad701395d4fe | [
"MIT"
] | null | null | null | Time = float
TimeInterval = float
StepCount = int
def repr_time(time: Time) -> str:
return '{:.2e}'.format(time) | 16.857143 | 33 | 0.669492 | 16 | 118 | 4.875 | 0.6875 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.177966 | 118 | 7 | 34 | 16.857143 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
39d86ffa9f263effcaf9dbcf3eac935fd140bbd2 | 189 | py | Python | backend/rest/schemas/__init__.py | wook3024/go | 9a2bb3d704e5bb9e21c8561fdfecb3744b97a1e7 | [
"MIT"
] | 2 | 2022-03-04T05:45:41.000Z | 2022-03-11T02:22:14.000Z | backend/rest/schemas/__init__.py | wook3024/go | 9a2bb3d704e5bb9e21c8561fdfecb3744b97a1e7 | [
"MIT"
] | null | null | null | backend/rest/schemas/__init__.py | wook3024/go | 9a2bb3d704e5bb9e21c8561fdfecb3744b97a1e7 | [
"MIT"
] | null | null | null | from .task import MultipleRequest, TaskComparison, Id, TaskResult
from .upload import Url
__all__ = [
"MultipleRequest",
"TaskComparison",
"Id",
"TaskResult",
"Url",
]
| 17.181818 | 65 | 0.661376 | 17 | 189 | 7.117647 | 0.588235 | 0.479339 | 0.512397 | 0.677686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216931 | 189 | 10 | 66 | 18.9 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.232804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 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 |
39e32cf0db062b640c8044e02373e8dee94a2563 | 166 | py | Python | src/scraping/scraping.py | tuokri/ArgumentWinnerBot | 3a8befc4fba5e50cb64e05df4527499a1a7625fc | [
"MIT"
] | null | null | null | src/scraping/scraping.py | tuokri/ArgumentWinnerBot | 3a8befc4fba5e50cb64e05df4527499a1a7625fc | [
"MIT"
] | null | null | null | src/scraping/scraping.py | tuokri/ArgumentWinnerBot | 3a8befc4fba5e50cb64e05df4527499a1a7625fc | [
"MIT"
] | null | null | null | from praw.models.comment_forest import CommentForest
def evaluate_comment_reply_pair(comment) -> CommentForest:
reply = next(comment.replies)
return reply
| 20.75 | 58 | 0.789157 | 20 | 166 | 6.35 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 7 | 59 | 23.714286 | 0.894366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f2d1962c7607782656feb05a28963d42c75a9a79 | 168 | py | Python | vivaldi/turn.py | Vernacular-ai/vivaldi | 1b1091b43b798cf711679fe5b127a2af280d860e | [
"MIT"
] | 1 | 2020-12-02T14:22:59.000Z | 2020-12-02T14:22:59.000Z | vivaldi/turn.py | Vernacular-ai/vivaldi | 1b1091b43b798cf711679fe5b127a2af280d860e | [
"MIT"
] | null | null | null | vivaldi/turn.py | Vernacular-ai/vivaldi | 1b1091b43b798cf711679fe5b127a2af280d860e | [
"MIT"
] | null | null | null | from vivaldi.types import Turn
def is_user_turn(t: Turn) -> bool:
"""
Tell whether a given turn is a user turn.
"""
return t.type == Turn.Type.INPUT
| 16.8 | 45 | 0.630952 | 27 | 168 | 3.851852 | 0.62963 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255952 | 168 | 9 | 46 | 18.666667 | 0.832 | 0.244048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f2e8ae9bd63e80e5ac8a037dec5a5dc31ad684ea | 195 | py | Python | examples/underscored/deep_imports.py | doboy/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 7 | 2016-09-23T00:44:05.000Z | 2021-10-04T21:19:12.000Z | examples/underscored/deep_imports.py | jameswu1991/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 1 | 2016-09-23T00:45:05.000Z | 2019-02-16T19:05:37.000Z | examples/underscored/deep_imports.py | jameswu1991/Underscore | d98273db3144cda79191d2c90f45d81b6d700b1f | [
"MIT"
] | 3 | 2016-09-23T01:13:15.000Z | 2018-07-20T21:22:17.000Z | # import logging.handlers; y = 3
# print(dir(logging.handlers))
(____,) = (3,)
(___,) = (dir,)
import logging.handlers
(_,) = (logging,)
__ = ____
print ___(_.handlers)
(logging, y) = (_, __)
| 17.727273 | 33 | 0.615385 | 19 | 195 | 5.210526 | 0.368421 | 0.454545 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.164103 | 195 | 10 | 34 | 19.5 | 0.595092 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2ff6b8577502ca4c550d1b56bdce8c2b0db6955 | 174 | py | Python | elementalcms/services/snippets/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | 3 | 2022-01-12T09:11:54.000Z | 2022-02-24T22:39:11.000Z | elementalcms/services/snippets/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | null | null | null | elementalcms/services/snippets/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | 1 | 2022-01-12T09:11:56.000Z | 2022-01-12T09:11:56.000Z | from .getall import GetAll
from .getone import GetOne
from .getme import GetMe
from .getmany import GetMany
from .removeone import RemoveOne
from .updateone import UpdateOne
| 24.857143 | 32 | 0.827586 | 24 | 174 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 174 | 6 | 33 | 29 | 0.96 | 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 |
842aa53fdb4a36fc237d1834a520cd767daa06dd | 269 | py | Python | scrabb/tile.py | cplyon/scrabb | 2be96447841ae6491a4d455e687a159f067581b9 | [
"MIT"
] | null | null | null | scrabb/tile.py | cplyon/scrabb | 2be96447841ae6491a4d455e687a159f067581b9 | [
"MIT"
] | null | null | null | scrabb/tile.py | cplyon/scrabb | 2be96447841ae6491a4d455e687a159f067581b9 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
#
# Scrabble Game
# Author: Chris Lyon
# Contact: chris@cplyon.ca
class Tile:
def __init__(self, letter, score):
self.letter = letter
self.score = score
def __str__(self):
return f"({self.letter},{self.score})"
| 19.214286 | 46 | 0.624535 | 35 | 269 | 4.571429 | 0.628571 | 0.1875 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.237918 | 269 | 13 | 47 | 20.692308 | 0.77561 | 0.297398 | 0 | 0 | 0 | 0 | 0.152174 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
842ea9c4d84a71835937ae850eb73dae8ce78851 | 243 | py | Python | Shop/schema.py | mehulj94/BareboneShop | fdd3907c587e823b932ce27391e9c17884bf9c94 | [
"MIT"
] | 1 | 2020-12-05T14:12:13.000Z | 2020-12-05T14:12:13.000Z | Shop/schema.py | mehulj94/BareboneShop | fdd3907c587e823b932ce27391e9c17884bf9c94 | [
"MIT"
] | null | null | null | Shop/schema.py | mehulj94/BareboneShop | fdd3907c587e823b932ce27391e9c17884bf9c94 | [
"MIT"
] | 1 | 2020-10-19T22:09:31.000Z | 2020-10-19T22:09:31.000Z | import graphene
import Barebones.schema
class Query(Barebones.schema.Query, graphene.ObjectType):
pass
class Mutation(Barebones.schema.Mutation, graphene.ObjectType):
pass
schema = graphene.Schema(query=Query, mutation=Mutation) | 17.357143 | 63 | 0.786008 | 28 | 243 | 6.821429 | 0.321429 | 0.235602 | 0.230366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 243 | 14 | 64 | 17.357143 | 0.896714 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
844b4af9aba76bd8bdde3116e9cb85619aa1dec7 | 1,284 | py | Python | lido_sdk/network/type.py | lidofinance/lido-validator.py | 9845a048e2695bf7d26fd60f703f1410656156f6 | [
"MIT"
] | 6 | 2021-10-03T07:19:49.000Z | 2022-03-31T07:12:19.000Z | lido_sdk/network/type.py | lidofinance/lido-validator.py | 9845a048e2695bf7d26fd60f703f1410656156f6 | [
"MIT"
] | 8 | 2021-08-23T13:12:22.000Z | 2022-02-15T10:26:22.000Z | lido_sdk/network/type.py | lidofinance/lido-validator.py | 9845a048e2695bf7d26fd60f703f1410656156f6 | [
"MIT"
] | null | null | null | from enum import IntEnum
class Network(IntEnum):
Mainnet = 1
Kovan = 42
Rinkeby = 4
Görli = 5
xDai = 100
Ropsten = 3
Kintsugi = 1337702
# Network
GENESIS_FORK_VERSION = {
Network.Mainnet: bytes.fromhex("00000000"),
Network.Görli: bytes.fromhex("00001020"),
Network.Ropsten: by... | 29.860465 | 77 | 0.738318 | 90 | 1,284 | 10.5 | 0.577778 | 0.063492 | 0.063492 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381179 | 0.180685 | 1,284 | 42 | 78 | 30.571429 | 0.51711 | 0.099688 | 0 | 0.090909 | 0 | 0 | 0.436142 | 0.40139 | 0 | 0 | 0.40139 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.272727 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ffe10ad5651c6014c75a6fb2a553fe463b4a0292 | 1,143 | py | Python | tests/test_async_composition.py | lucarin91/async-composition | d6dba795d775cddbe2fc650ec393c28b701f2fc9 | [
"MIT"
] | 1 | 2017-08-16T16:45:55.000Z | 2017-08-16T16:45:55.000Z | tests/test_async_composition.py | lucarin91/async-composition | d6dba795d775cddbe2fc650ec393c28b701f2fc9 | [
"MIT"
] | null | null | null | tests/test_async_composition.py | lucarin91/async-composition | d6dba795d775cddbe2fc650ec393c28b701f2fc9 | [
"MIT"
] | null | null | null | import unittest
from casync import async_function, Executor, Async_Fun, af
# TODO: fix the decorator
# @async_function
def my_fun():
return 'hello'
# @async_function
def my_fun2(name):
return '{}'.format(name)
# @async_function
def concat(s1, s2, s3):
return ' '.join((s1, s2, s3))
# @async_function... | 20.410714 | 80 | 0.581802 | 148 | 1,143 | 4.358108 | 0.391892 | 0.12093 | 0.124031 | 0.055814 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.268591 | 1,143 | 55 | 81 | 20.781818 | 0.748804 | 0.263342 | 0 | 0 | 0 | 0 | 0.084663 | 0 | 0 | 0 | 0 | 0.018182 | 0.041667 | 1 | 0.333333 | false | 0 | 0.125 | 0.208333 | 0.708333 | 0.333333 | 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 |
ffeb4dba79f7f707f32d26bcdee58965329bd2da | 488 | py | Python | enterprython/__init__.py | dvidben/enterprython | 1b71ef5f66ada15d961221d24b6d2cfa064c5b35 | [
"MIT"
] | null | null | null | enterprython/__init__.py | dvidben/enterprython | 1b71ef5f66ada15d961221d24b6d2cfa064c5b35 | [
"MIT"
] | null | null | null | enterprython/__init__.py | dvidben/enterprython | 1b71ef5f66ada15d961221d24b6d2cfa064c5b35 | [
"MIT"
] | null | null | null | """
enterprython - Type-based dependency injection
"""
from ._inject import assemble
from ._inject import component
from ._inject import factory
from ._inject import load_config
from ._inject import setting
from ._inject import load_command_args
from ._inject import load_env_vars
#pylint: disable=invalid-name
name = "... | 24.4 | 48 | 0.788934 | 62 | 488 | 5.693548 | 0.596774 | 0.1983 | 0.31728 | 0.169972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.125 | 488 | 19 | 49 | 25.684211 | 0.810304 | 0.153689 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.538462 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ffee57f3355fd0edd824f08c9e687f60a2bc43e3 | 104 | py | Python | dappled/__main__.py | lhon/dappled | 3f12c1eace096f381e085e67ca7610dea9b67e3a | [
"Apache-2.0"
] | 4 | 2017-02-01T00:35:49.000Z | 2017-03-20T23:42:08.000Z | dappled/__main__.py | lhon/dappled | 3f12c1eace096f381e085e67ca7610dea9b67e3a | [
"Apache-2.0"
] | null | null | null | dappled/__main__.py | lhon/dappled | 3f12c1eace096f381e085e67ca7610dea9b67e3a | [
"Apache-2.0"
] | null | null | null | def main():
import dappled.command
dappled.command.main()
if __name__ == "__main__":
main() | 17.333333 | 26 | 0.644231 | 12 | 104 | 4.916667 | 0.583333 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 104 | 6 | 27 | 17.333333 | 0.719512 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0805b21072a74db2e70ae8635a8e0548b12371db | 991 | py | Python | analyticcenter/__init__.py | dbacc/analyticcenter | 86b6d83a82c70926d1a1f505ab4f569bcd4a2b14 | [
"BSD-3-Clause"
] | null | null | null | analyticcenter/__init__.py | dbacc/analyticcenter | 86b6d83a82c70926d1a1f505ab4f569bcd4a2b14 | [
"BSD-3-Clause"
] | null | null | null | analyticcenter/__init__.py | dbacc/analyticcenter | 86b6d83a82c70926d1a1f505ab4f569bcd4a2b14 | [
"BSD-3-Clause"
] | null | null | null | ##
## Copyright (c) 2019
##
## @author: Daniel Bankmann
## @company: Technische Universität Berlin
##
## This file is part of the python package analyticcenter
## (see https://gitlab.tu-berlin.de/PassivityRadius/analyticcenter/)
##
## License: 3-clause BSD, see https://opensource.org/licenses/BSD-3-Clause
##
from .a... | 47.190476 | 102 | 0.821393 | 101 | 991 | 8.019802 | 0.643564 | 0.080247 | 0.041975 | 0.049383 | 0.08642 | 0.08642 | 0 | 0 | 0 | 0 | 0 | 0.006749 | 0.102926 | 991 | 21 | 103 | 47.190476 | 0.904387 | 0.353179 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
08269ad56fcc0a749613f3612800ae3e73d93c98 | 114 | py | Python | main.py | LD31D/anonim_chat_bot | 5d4c88f228a77195e6835aab6ad93eb7f116c0c1 | [
"MIT"
] | 2 | 2021-06-04T10:16:25.000Z | 2021-10-06T10:32:41.000Z | main.py | LD31D/anonim_chat_bot | 5d4c88f228a77195e6835aab6ad93eb7f116c0c1 | [
"MIT"
] | null | null | null | main.py | LD31D/anonim_chat_bot | 5d4c88f228a77195e6835aab6ad93eb7f116c0c1 | [
"MIT"
] | 3 | 2021-12-31T10:07:42.000Z | 2022-01-11T06:29:15.000Z | from aiogram import executor
from bot.handlers import dp
if __name__ == '__main__':
executor.start_polling(dp)
| 16.285714 | 28 | 0.780702 | 16 | 114 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 6 | 29 | 19 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 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 |
083dd5ca11fc6a995cb835d21b484e04be0bfc36 | 153 | py | Python | src/syosetsuka/request_parameter.py | CSharpProjector/ShousetsukaScraper | bfe1c78a38034fc77965a393b2d52249bd4d47f2 | [
"MIT"
] | null | null | null | src/syosetsuka/request_parameter.py | CSharpProjector/ShousetsukaScraper | bfe1c78a38034fc77965a393b2d52249bd4d47f2 | [
"MIT"
] | null | null | null | src/syosetsuka/request_parameter.py | CSharpProjector/ShousetsukaScraper | bfe1c78a38034fc77965a393b2d52249bd4d47f2 | [
"MIT"
] | null | null | null | class RequestParameter:
name: str
value: str
def __init__(self, name: str, value: str):
self.name = name
self.value = value
| 19.125 | 46 | 0.601307 | 19 | 153 | 4.631579 | 0.421053 | 0.159091 | 0.272727 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30719 | 153 | 7 | 47 | 21.857143 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2365ebc3267f0a512dfc9f8a9d0ea9181147edf | 554 | py | Python | magpie/coords/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/coords/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/coords/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null |
from .conversions import cart2polar
from .conversions import polar2cart
from .conversions import cart2sphere
from .conversions import sphere2cart
from .conversions import ortho2cart
from .healpix import healpix_xy2ang
from .healpix import healpix_ang2xy
from .usphere_util import usphere_area
from .usphere_util impor... | 26.380952 | 39 | 0.855596 | 72 | 554 | 6.416667 | 0.291667 | 0.166667 | 0.227273 | 0.207792 | 0.125541 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.117329 | 554 | 20 | 40 | 27.7 | 0.92638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f251479d8a9521a17b718ea864cb7b87420d0614 | 37,538 | py | Python | bin/presets.py | danno-s/tarea-3-mate-discreta | 95f85f455167eefc0b153b4d1bef9176132c4b87 | [
"MIT"
] | 1 | 2020-05-22T21:20:11.000Z | 2020-05-22T21:20:11.000Z | bin/presets.py | danno-s/tarea-3-mate-discreta | 95f85f455167eefc0b153b4d1bef9176132c4b87 | [
"MIT"
] | null | null | null | bin/presets.py | danno-s/tarea-3-mate-discreta | 95f85f455167eefc0b153b4d1bef9176132c4b87 | [
"MIT"
] | null | null | null | # coding: UTF-8
from pygltoolbox.particles import *
from pygltoolbox.figures import *
from pygltoolbox.materials import *
import pygame.font as fonts
import pygame.image as image
import json as json
from random import random
from OpenGL import GL
class Player():
def __init__(self):
with open("config.json"... | 38.819028 | 138 | 0.544248 | 4,479 | 37,538 | 4.33177 | 0.051127 | 0.101536 | 0.112566 | 0.040975 | 0.807391 | 0.760901 | 0.719462 | 0.693279 | 0.676374 | 0.660293 | 0 | 0.015607 | 0.356492 | 37,538 | 966 | 139 | 38.859213 | 0.787589 | 0.010176 | 0 | 0.642317 | 0 | 0 | 0.018873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127204 | false | 0 | 0.010076 | 0.046599 | 0.221662 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f25812e7f248425a0b6ab0570241376112de0a1f | 135 | py | Python | ipifiy/copy-ip.py | diksm8/copy-ip | 7039f7eaf03e0238ceda795f921f7b91ec6d6060 | [
"Unlicense"
] | null | null | null | ipifiy/copy-ip.py | diksm8/copy-ip | 7039f7eaf03e0238ceda795f921f7b91ec6d6060 | [
"Unlicense"
] | null | null | null | ipifiy/copy-ip.py | diksm8/copy-ip | 7039f7eaf03e0238ceda795f921f7b91ec6d6060 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import pyperclip, winsound, ipify
pyperclip.copy(ipify.get_ip())
winsound.MessageBeep() | 19.285714 | 33 | 0.711111 | 18 | 135 | 5.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.103704 | 135 | 7 | 34 | 19.285714 | 0.77686 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 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 |
f28b7fffa46f98f51e7f15f37a25eac9a77cbbfd | 673 | py | Python | 2020/Day2/functionsdemo.py | vishipayyallore/learning-python_2021 | e091d47d167ecb510ea0819b64a78bd58c2a42b3 | [
"Apache-2.0"
] | 1 | 2020-09-17T15:06:44.000Z | 2020-09-17T15:06:44.000Z | 2020/Day2/functionsdemo.py | vishipayyallore/learning-python_2020 | e091d47d167ecb510ea0819b64a78bd58c2a42b3 | [
"Apache-2.0"
] | null | null | null | 2020/Day2/functionsdemo.py | vishipayyallore/learning-python_2020 | e091d47d167ecb510ea0819b64a78bd58c2a42b3 | [
"Apache-2.0"
] | null | null | null |
# 1. Accepts Nothing | Returns None
def greet():
print("Hello Python")
# 2. Accepts data | Returns None
def greet_v2(name: str):
print(f"Hello {name}")
# 3. Accepts Nothing | Returns Value
def greet_v3() -> str:
return "Hello Python (V3)"
# 4. Accepts data | Returns Value
def greet_v4(name: str) -> str:... | 20.393939 | 40 | 0.631501 | 94 | 673 | 4.457447 | 0.329787 | 0.23389 | 0.150358 | 0.186158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030246 | 0.213967 | 673 | 32 | 41 | 21.03125 | 0.761815 | 0.239227 | 0 | 0 | 0 | 0 | 0.318812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0 | 0.111111 | 0.388889 | 0.333333 | 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 |
f2a72a588f7e1ad55f49b0d4d2c7a0b7e1003a56 | 35 | py | Python | sample_projects/file_module_src/file_module.py | matthewdeanmartin/jiggle_version | 7bb82b75321e007f9e9e6d52a7bc569a5fe41052 | [
"MIT"
] | 1 | 2019-02-23T16:13:56.000Z | 2019-02-23T16:13:56.000Z | sample_projects/file_module_ver_in_file/file_module.py | matthewdeanmartin/jiggle_version | 7bb82b75321e007f9e9e6d52a7bc569a5fe41052 | [
"MIT"
] | 17 | 2018-07-14T17:04:49.000Z | 2022-03-24T15:59:11.000Z | sample_projects/file_module_ver_in_file/file_module.py | matthewdeanmartin/jiggle_version | 7bb82b75321e007f9e9e6d52a7bc569a5fe41052 | [
"MIT"
] | 1 | 2019-12-01T02:18:36.000Z | 2019-12-01T02:18:36.000Z | foo = "bar"
__version__ = "1.2.3"
| 8.75 | 21 | 0.571429 | 6 | 35 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.2 | 35 | 3 | 22 | 11.666667 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 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 |
4b42aeea4a16a018fed639cf5e9eb6e250162608 | 19 | py | Python | data/studio21_generated/introductory/4120/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4120/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4120/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def sort_dict(d):
| 9.5 | 17 | 0.684211 | 4 | 19 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 2 | 18 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b47377738e5f5895abfd88992812a5d50ae599b | 86 | py | Python | ndinterval/__init__.py | ajhamdi/NDInterval | be78fbe809ceb2208e4e07c737bd5d14c7d9401c | [
"MIT"
] | 3 | 2019-04-23T09:52:41.000Z | 2019-04-25T05:52:00.000Z | ndinterval/__init__.py | ajhamdi/ndinterval | be78fbe809ceb2208e4e07c737bd5d14c7d9401c | [
"MIT"
] | null | null | null | ndinterval/__init__.py | ajhamdi/ndinterval | be78fbe809ceb2208e4e07c737bd5d14c7d9401c | [
"MIT"
] | null | null | null | from .utils import int2binarray
from .ndinterval import ndinterval
__version__ = '0.8' | 28.666667 | 34 | 0.813953 | 11 | 86 | 6 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.116279 | 86 | 3 | 35 | 28.666667 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 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 |
4b4c56b6f68c86a21565a0ae288a6e5d30f19bad | 151 | py | Python | bbpyp/state_machine/model/abstract_state.py | BloggerBust/bbpyp | 078f940dd38bc3ee7c5adcfb2555c2843a4ca57b | [
"Apache-2.0"
] | null | null | null | bbpyp/state_machine/model/abstract_state.py | BloggerBust/bbpyp | 078f940dd38bc3ee7c5adcfb2555c2843a4ca57b | [
"Apache-2.0"
] | null | null | null | bbpyp/state_machine/model/abstract_state.py | BloggerBust/bbpyp | 078f940dd38bc3ee7c5adcfb2555c2843a4ca57b | [
"Apache-2.0"
] | null | null | null | from enum import Enum, unique
@unique
class AbstractState(Enum):
def _generate_next_value_(name, start, count, last_values):
return name
| 18.875 | 63 | 0.735099 | 20 | 151 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192053 | 151 | 7 | 64 | 21.571429 | 0.868852 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
4b5c3c7fd430599730e3a43f410fa24fa0e656a0 | 36 | py | Python | data/studio21_generated/introductory/4877/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4877/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4877/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def love_language(partner, weeks):
| 18 | 34 | 0.777778 | 5 | 36 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 2 | 35 | 18 | 0.84375 | 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 |
4b64c0f689ad7965239d55fcd25e737117624654 | 93 | py | Python | vergleich/apps.py | catexis/HSE_graduation_project | ae6a3dc1d36ac98b0cc9442f2016fb35433b3a5f | [
"MIT"
] | null | null | null | vergleich/apps.py | catexis/HSE_graduation_project | ae6a3dc1d36ac98b0cc9442f2016fb35433b3a5f | [
"MIT"
] | 3 | 2020-06-05T18:11:07.000Z | 2021-12-13T19:47:17.000Z | vergleich/apps.py | catexis/HSE_graduation_project | ae6a3dc1d36ac98b0cc9442f2016fb35433b3a5f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class VergleichConfig(AppConfig):
name = 'vergleich'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
4ba4ff72ad63976b2d5535a8d64f13c7a3bbf529 | 1,139 | py | Python | viadot/flows/__init__.py | winiar93/viadot | 7d8f8b0a30de3d40da161615639532012de072b0 | [
"MIT"
] | null | null | null | viadot/flows/__init__.py | winiar93/viadot | 7d8f8b0a30de3d40da161615639532012de072b0 | [
"MIT"
] | null | null | null | viadot/flows/__init__.py | winiar93/viadot | 7d8f8b0a30de3d40da161615639532012de072b0 | [
"MIT"
] | null | null | null | from .adls_gen1_to_azure_sql import ADLSGen1ToAzureSQL
from .adls_gen1_to_azure_sql_new import ADLSGen1ToAzureSQLNew
from .adls_gen1_to_gen2 import ADLSGen1ToGen2
from .adls_to_azure_sql import ADLSToAzureSQL
from .azure_sql_transform import AzureSQLTransform
from .flow_of_flows import Pipeline
from .supermetrics_to_ad... | 35.59375 | 77 | 0.879719 | 147 | 1,139 | 6.442177 | 0.367347 | 0.044351 | 0.088701 | 0.044351 | 0.046463 | 0.046463 | 0 | 0 | 0 | 0 | 0 | 0.00779 | 0.098332 | 1,139 | 31 | 78 | 36.741935 | 0.914314 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.074074 | 0.851852 | 0 | 0.851852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
2999f6ea0f920e83912241de3f0da962efe9e168 | 245 | py | Python | orgManager/serializers.py | vietbrother/django_iso | 8e27161e598bc4c069805ebe39ef6861f0a07b83 | [
"MIT"
] | null | null | null | orgManager/serializers.py | vietbrother/django_iso | 8e27161e598bc4c069805ebe39ef6861f0a07b83 | [
"MIT"
] | 1 | 2018-07-30T04:39:41.000Z | 2018-07-30T04:39:41.000Z | orgManager/serializers.py | vietbrother/django_iso | 8e27161e598bc4c069805ebe39ef6861f0a07b83 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from . import models
class OrganizationSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = models.Organization
fields = ('id', 'name', 'parent_id', 'description')
| 24.5 | 69 | 0.730612 | 23 | 245 | 7.695652 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179592 | 245 | 9 | 70 | 27.222222 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.106122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
29a4e7f6e354ae37ad23215129ae086a6fe685fd | 37 | py | Python | plyg/__init__.py | daniel-butler/plyg | 4c95ff48feac8aa412db78df49b2b84dec46b491 | [
"MIT"
] | null | null | null | plyg/__init__.py | daniel-butler/plyg | 4c95ff48feac8aa412db78df49b2b84dec46b491 | [
"MIT"
] | null | null | null | plyg/__init__.py | daniel-butler/plyg | 4c95ff48feac8aa412db78df49b2b84dec46b491 | [
"MIT"
] | null | null | null | from . import main
cli = main.plyg
| 7.4 | 18 | 0.675676 | 6 | 37 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 37 | 4 | 19 | 9.25 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
29c5c0af96ece1f09106bca3dd1d398017c766ba | 130 | py | Python | crawler/apps.py | Diegow3b/webscrapping-beatifulsoup | 285b0416818cc13cda619efe2d83c15b5b683e9d | [
"MIT"
] | null | null | null | crawler/apps.py | Diegow3b/webscrapping-beatifulsoup | 285b0416818cc13cda619efe2d83c15b5b683e9d | [
"MIT"
] | null | null | null | crawler/apps.py | Diegow3b/webscrapping-beatifulsoup | 285b0416818cc13cda619efe2d83c15b5b683e9d | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class CrawlerConfig(AppConfig):
name = 'crawler'
| 16.25 | 39 | 0.792308 | 15 | 130 | 6.533333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 7 | 40 | 18.571429 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
29caf00524823f5483bdfc191ed3a8090611d8a4 | 31 | py | Python | tests/geocoding/__init__.py | developmentseed/unicef-schools-attribute-cleaning | eb3dd8a02f26e3455ee04ac2788e79c205ae97e5 | [
"MIT"
] | null | null | null | tests/geocoding/__init__.py | developmentseed/unicef-schools-attribute-cleaning | eb3dd8a02f26e3455ee04ac2788e79c205ae97e5 | [
"MIT"
] | 3 | 2020-10-08T15:28:38.000Z | 2020-10-15T14:37:00.000Z | tests/geocoding/__init__.py | developmentseed/unicef-schools-attribute-cleaning | eb3dd8a02f26e3455ee04ac2788e79c205ae97e5 | [
"MIT"
] | null | null | null | """
tests/geocoding module
"""
| 7.75 | 22 | 0.645161 | 3 | 31 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 3 | 23 | 10.333333 | 0.740741 | 0.709677 | 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 |
29f117a3d2e0dbb3f4ef2d30f14f3ee612cd612d | 1,135 | py | Python | Wurm/Optimize/python/optimize.py | Zomega/thesis | babd1bacc7d9d1d8c9060f9835b8d10c14b107a0 | [
"MIT"
] | null | null | null | Wurm/Optimize/python/optimize.py | Zomega/thesis | babd1bacc7d9d1d8c9060f9835b8d10c14b107a0 | [
"MIT"
] | null | null | null | Wurm/Optimize/python/optimize.py | Zomega/thesis | babd1bacc7d9d1d8c9060f9835b8d10c14b107a0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import click
from MatrixIO import load, store
import LP # Linear Solvers
import QP # Quadratic Solvers
@click.group()
def optimizers():
pass
@optimizers.command()
@click.option('-c', type=click.Path(exists=True))
@click.option('-A', type=click.Path(exists=True))
@click.option('-b', type=clic... | 23.163265 | 53 | 0.622907 | 204 | 1,135 | 3.426471 | 0.245098 | 0.125894 | 0.148784 | 0.217454 | 0.695279 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0.029622 | 0.137445 | 1,135 | 48 | 54 | 23.645833 | 0.684372 | 0.201762 | 0 | 0.666667 | 0 | 0 | 0.073661 | 0 | 0 | 0 | 0 | 0.020833 | 0 | 0 | null | null | 0.030303 | 0.121212 | null | null | 0.060606 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
29f89c338815c7de4818880f719d37456db03b6b | 122 | py | Python | predictor/urls.py | Ki6an/hit-predictor | 20d90b4ed7085b1fbda4d33558007705653b290e | [
"MIT"
] | null | null | null | predictor/urls.py | Ki6an/hit-predictor | 20d90b4ed7085b1fbda4d33558007705653b290e | [
"MIT"
] | null | null | null | predictor/urls.py | Ki6an/hit-predictor | 20d90b4ed7085b1fbda4d33558007705653b290e | [
"MIT"
] | null | null | null | from django.urls import path
from .views import predict_view
urlpatterns = [
path("", predict_view, name="home"),
]
| 15.25 | 40 | 0.704918 | 16 | 122 | 5.25 | 0.6875 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 122 | 7 | 41 | 17.428571 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 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 |
29ff0272e9dad2aa5f1e0f6ce879c6d7bbfa919e | 1,381 | py | Python | restaurant/items.py | piaotiejun/restaurant | e651f2cc27c1ff197fcdce34a484e6b2ed88b354 | [
"MIT"
] | 20 | 2015-09-08T16:13:57.000Z | 2021-01-18T07:15:25.000Z | restaurant/items.py | RhmpzYYX/restaurant | 14b3bc334945f48ed3b57805a8bb774519949d92 | [
"MIT"
] | 5 | 2015-09-22T03:17:03.000Z | 2017-11-23T06:52:01.000Z | restaurant/items.py | RhmpzYYX/restaurant | 14b3bc334945f48ed3b57805a8bb774519949d92 | [
"MIT"
] | 13 | 2016-04-26T10:13:53.000Z | 2021-05-18T10:32:52.000Z | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class MeituanItem(scrapy.Item):
restaurant_name = scrapy.Field()
phone = scrapy.Field()
address = scrapy.Field()
score = scrapy.Field()
... | 24.660714 | 51 | 0.648081 | 163 | 1,381 | 5.392638 | 0.288344 | 0.47554 | 0.136519 | 0.064846 | 0.732651 | 0.718999 | 0.627986 | 0.627986 | 0.627986 | 0.525597 | 0 | 0.000927 | 0.218682 | 1,381 | 55 | 52 | 25.109091 | 0.813716 | 0.100652 | 0 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
29ff57805fdf69f6db24e9a8af7d94be1745ff8b | 434 | py | Python | src/pyrin/globalization/datetime/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/globalization/datetime/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | src/pyrin/globalization/datetime/component.py | wilsonGmn/pyrin | 25dbe3ce17e80a43eee7cfc7140b4c268a6948e0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
datetime component module.
"""
from pyrin.application.decorators import component
from pyrin.application.structs import Component
from pyrin.globalization.datetime import DateTimePackage
from pyrin.globalization.datetime.manager import DateTimeManager
@component(DateTimePackage.COMPONENT_... | 24.111111 | 64 | 0.781106 | 43 | 434 | 7.860465 | 0.465116 | 0.106509 | 0.118343 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002639 | 0.126728 | 434 | 17 | 65 | 25.529412 | 0.889182 | 0.172811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
4b021ea5a84b927be3e244a6e596ca681f0a13f5 | 44 | py | Python | notebooks/ipython-master/examples/IPython Kernel/script.py | burkesquires/jupyter_training_2020 | 63505d9b8133f80330fe92a74b7641066dba420c | [
"MIT"
] | 2 | 2020-11-18T19:29:20.000Z | 2021-09-09T13:52:29.000Z | notebooks/ipython-master/examples/IPython Kernel/script.py | burkesquires/jupyter_training_2020 | 63505d9b8133f80330fe92a74b7641066dba420c | [
"MIT"
] | null | null | null | notebooks/ipython-master/examples/IPython Kernel/script.py | burkesquires/jupyter_training_2020 | 63505d9b8133f80330fe92a74b7641066dba420c | [
"MIT"
] | 2 | 2020-11-18T19:39:31.000Z | 2021-11-17T07:49:09.000Z | x = 10
y = 20
z = x+y
print('z is: %s' % z)
| 8.8 | 21 | 0.431818 | 12 | 44 | 1.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.318182 | 44 | 4 | 22 | 11 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b1bc6b87ade5847551e1ce4c5a805c0e7e4974a | 51 | py | Python | envconsul/errors.py | cevaris/envconsul | aeb490a5f47e2c2fd8a467a9d13eb9917cc4cadb | [
"MIT"
] | 36 | 2015-03-05T01:47:34.000Z | 2021-08-09T20:07:01.000Z | envconsul/errors.py | cevaris/envconsul | aeb490a5f47e2c2fd8a467a9d13eb9917cc4cadb | [
"MIT"
] | 6 | 2015-06-26T15:02:43.000Z | 2021-06-10T17:38:54.000Z | envconsul/errors.py | cevaris/envconsul | aeb490a5f47e2c2fd8a467a9d13eb9917cc4cadb | [
"MIT"
] | 11 | 2015-04-15T18:24:31.000Z | 2022-03-26T16:35:59.000Z |
class ConsulConnectionFailed(Exception):
pass
| 12.75 | 40 | 0.784314 | 4 | 51 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 41 | 17 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d9ae60f7c3a402dda7d899c7633a7c2c491f0c94 | 546 | py | Python | spec/python/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/python/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/python/test_repeat_n_struct.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from repeat_n_struct import RepeatNStruct
class TestRepeatNStruct(unittest.TestCase):
def test_repeat_n_struct(self):
with RepeatNStruct.from_file('src/repeat_n_struct.bin') as r:
self.assertEqual(le... | 36.4 | 77 | 0.688645 | 76 | 546 | 4.842105 | 0.552632 | 0.203804 | 0.173913 | 0.23913 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039261 | 0.20696 | 546 | 14 | 78 | 39 | 0.810624 | 0.137363 | 0 | 0 | 1 | 0 | 0.049041 | 0.049041 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9b541d2f62b39af2cf3e3d3d383572a1cbeb5fd | 124 | py | Python | tutoria/review/admin.py | JRChow/tutoria | 23c1669d5a8fab4e46c88a005750341c8632fea8 | [
"MIT"
] | 4 | 2018-03-25T10:26:55.000Z | 2019-09-22T14:41:21.000Z | tutoria/review/admin.py | li-boxuan/tutoria | 3a3832dd970c74fa0eb972171cb2600ef8146cc2 | [
"MIT"
] | null | null | null | tutoria/review/admin.py | li-boxuan/tutoria | 3a3832dd970c74fa0eb972171cb2600ef8146cc2 | [
"MIT"
] | 4 | 2018-09-16T22:35:52.000Z | 2020-07-26T15:54:34.000Z | from django.contrib import admin
from review.models import Review
# Register your models here.
admin.site.register(Review)
| 20.666667 | 32 | 0.814516 | 18 | 124 | 5.611111 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 33 | 24.8 | 0.926606 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d9b561bc1364741987c03f2a6e92cb6a3883c07f | 80 | py | Python | run.py | monder/mongo-elastic-docker | 441e5272b27680242a619f1354668217db2a6802 | [
"MIT"
] | 3 | 2015-09-29T05:48:46.000Z | 2016-09-29T14:00:18.000Z | run.py | monder/mongo-elastic-docker | 441e5272b27680242a619f1354668217db2a6802 | [
"MIT"
] | null | null | null | run.py | monder/mongo-elastic-docker | 441e5272b27680242a619f1354668217db2a6802 | [
"MIT"
] | 7 | 2015-09-29T05:49:05.000Z | 2019-10-10T14:15:32.000Z | from mongo_es import launcher
if __name__ == '__main__':
launcher.launch()
| 16 | 29 | 0.725 | 10 | 80 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 4 | 30 | 20 | 0.742424 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d9cb5b6c5b2d80eb1d6762d57ddb499794b317f0 | 14,214 | py | Python | data/Database/user.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | 4 | 2021-09-29T08:28:34.000Z | 2022-01-15T15:40:43.000Z | data/Database/user.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | 2 | 2021-09-20T12:06:37.000Z | 2021-10-16T12:50:22.000Z | data/Database/user.py | TheophileDiot/Omnitron | 0c147fc44da151481492da9a80d888e7a6f7dae5 | [
"MIT"
] | null | null | null | from collections import OrderedDict
from datetime import datetime
from math import ceil
from data import Utils
class User:
def __init__(self, model, bot) -> None:
self.model = model
self.innerpath = "users"
self.bot = bot
""" CHECKS """
def __check_user_exists(function):
... | 32.085779 | 88 | 0.523146 | 1,710 | 14,214 | 4.094737 | 0.079532 | 0.048558 | 0.05527 | 0.06441 | 0.835476 | 0.807769 | 0.771351 | 0.722079 | 0.631819 | 0.485433 | 0 | 0.003417 | 0.341143 | 14,214 | 442 | 89 | 32.158371 | 0.744261 | 0.035247 | 0 | 0.497207 | 0 | 0 | 0.118949 | 0.060548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106145 | false | 0 | 0.011173 | 0.011173 | 0.170391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9e991943e72e0ed269d2aa2e5bf2216b521e1a2 | 163 | py | Python | src/metrics/metrics.py | APMplusplus/falkon | 95708ed0b28c4ec0f611446a478e9c3445eb3508 | [
"Apache-2.0"
] | 2 | 2019-04-20T05:25:25.000Z | 2020-04-11T20:42:46.000Z | src/metrics/metrics.py | saikrishnarallabandi/falkon | 95708ed0b28c4ec0f611446a478e9c3445eb3508 | [
"Apache-2.0"
] | 12 | 2019-01-07T00:17:04.000Z | 2019-01-20T20:22:24.000Z | src/metrics/metrics.py | APMplusplus/falkon | 95708ed0b28c4ec0f611446a478e9c3445eb3508 | [
"Apache-2.0"
] | 2 | 2019-03-26T14:09:05.000Z | 2019-04-20T05:25:37.000Z | from sklearn.metrics import *
class unweighted_recall(recall_score):
def __init__(self, dtype='float', **kwargs):
super().__init__(**kwargs)
| 18.111111 | 49 | 0.662577 | 18 | 163 | 5.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202454 | 163 | 8 | 50 | 20.375 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 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 |
8a3ff4c3c3854cb18f554614fe6d6e9c1eb36911 | 389 | py | Python | argo_workflow_tools/__init__.py | shanioren/argo-workflow-tools | d2fb41de3f5ccf9284ff4cb027a886ff61a13e69 | [
"Apache-2.0"
] | 15 | 2021-12-08T20:57:52.000Z | 2022-03-23T19:41:29.000Z | argo_workflow_tools/__init__.py | shanioren/argo-workflow-tools | d2fb41de3f5ccf9284ff4cb027a886ff61a13e69 | [
"Apache-2.0"
] | 18 | 2021-12-07T07:49:17.000Z | 2022-03-02T10:27:49.000Z | argo_workflow_tools/__init__.py | shanioren/argo-workflow-tools | d2fb41de3f5ccf9284ff4cb027a886ff61a13e69 | [
"Apache-2.0"
] | 3 | 2022-01-09T08:19:11.000Z | 2022-02-09T15:20:08.000Z | from .argo_client import ArgoClient
from .argo_options import ArgoOptions
from .dsl import CronWorkflow, Workflow, WorkflowTemplate
import argo_workflow_tools.dsl.dsl_decorators as dsl
from .dsl.condition import Condition
from .exceptions.workflow_not_found_exception import WorkflowNotFoundException
from .workflow_resu... | 43.222222 | 78 | 0.879177 | 48 | 389 | 6.916667 | 0.5 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087404 | 389 | 8 | 79 | 48.625 | 0.935211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a57ec5c79d777052999aab5d63aa3547e1b73b4 | 1,543 | py | Python | venv/Lib/site-packages/rest_framework_extensions/etag/mixins.py | LishenZz/my_project | c2ac8199efb467e303d343ea34ed1969b64280d7 | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/rest_framework_extensions/etag/mixins.py | LishenZz/my_project | c2ac8199efb467e303d343ea34ed1969b64280d7 | [
"Apache-2.0"
] | null | null | null | venv/Lib/site-packages/rest_framework_extensions/etag/mixins.py | LishenZz/my_project | c2ac8199efb467e303d343ea34ed1969b64280d7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from rest_framework_extensions.etag.decorators import etag
from rest_framework_extensions.settings import extensions_api_settings
class BaseETAGMixin(object):
# todo: test me. Create generic test like test_etag(view_instance, method, should_rebuild_after_method_evaluation)
object_etag_... | 33.543478 | 118 | 0.728451 | 169 | 1,543 | 6.408284 | 0.289941 | 0.088643 | 0.125577 | 0.092336 | 0.327793 | 0.298246 | 0.113573 | 0.077562 | 0 | 0 | 0 | 0.000782 | 0.171743 | 1,543 | 45 | 119 | 34.288889 | 0.846635 | 0.086844 | 0 | 0.206897 | 0 | 0 | 0.044097 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.137931 | false | 0.068966 | 0.068966 | 0.137931 | 0.655172 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
8a794303a054bbce2672eb70541d25583de0cb80 | 557 | py | Python | trinity/rpc/modules/web3.py | Bhargavasomu/trinity | c4e387465b222f8a870966f0eacf7a68fa5aee7a | [
"MIT"
] | null | null | null | trinity/rpc/modules/web3.py | Bhargavasomu/trinity | c4e387465b222f8a870966f0eacf7a68fa5aee7a | [
"MIT"
] | null | null | null | trinity/rpc/modules/web3.py | Bhargavasomu/trinity | c4e387465b222f8a870966f0eacf7a68fa5aee7a | [
"MIT"
] | 2 | 2019-09-05T01:31:56.000Z | 2019-09-17T09:09:16.000Z | from eth_hash.auto import keccak
from eth_utils import decode_hex, encode_hex
from trinity._utils.version import construct_trinity_client_identifier
from trinity.rpc.modules import (
RPCModule,
)
class Web3(RPCModule):
async def clientVersion(self) -> str:
"""
Returns the current client vers... | 24.217391 | 70 | 0.67684 | 68 | 557 | 5.352941 | 0.5 | 0.038462 | 0.120879 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011792 | 0.238779 | 557 | 22 | 71 | 25.318182 | 0.846698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a85200ddaa90039bf155c5d6965e7987ef55211 | 69 | py | Python | wagtail/tests/demosite/__init__.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | wagtail/tests/demosite/__init__.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | wagtail/tests/demosite/__init__.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | default_app_config = "wagtail.tests.demosite.apps.DemositeAppConfig"
| 34.5 | 68 | 0.855072 | 8 | 69 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 69 | 1 | 69 | 69 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.652174 | 0.652174 | 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 |
8a97760daaf2f9ff26b8e553e589909a68a84397 | 9,796 | py | Python | tests/integration/tools/test_reset_tool.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | 1 | 2020-03-21T04:11:51.000Z | 2020-03-21T04:11:51.000Z | tests/integration/tools/test_reset_tool.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | 2 | 2021-05-08T11:43:21.000Z | 2021-05-10T19:16:43.000Z | tests/integration/tools/test_reset_tool.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2017, Anaconda, Inc. All rights reserved.
#
# Powered by the Bokeh Development Team.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#---------------------------------------------------... | 38.415686 | 156 | 0.589016 | 1,175 | 9,796 | 4.740426 | 0.138723 | 0.116697 | 0.054937 | 0.032316 | 0.749372 | 0.734111 | 0.708438 | 0.703411 | 0.686176 | 0.670377 | 0 | 0.019339 | 0.218763 | 9,796 | 254 | 157 | 38.566929 | 0.70848 | 0.15343 | 0 | 0.662722 | 0 | 0 | 0.091999 | 0.009563 | 0 | 0 | 0 | 0 | 0.337278 | 1 | 0.04142 | false | 0 | 0.017751 | 0 | 0.071006 | 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 |
8a987b8a940f5a4c93232f2c52f7c217c76a86db | 2,023 | py | Python | invest/cache.py | ababic/directory-cms | 198425c874bc7185267f0d3006d4b7f8a8f07595 | [
"MIT"
] | null | null | null | invest/cache.py | ababic/directory-cms | 198425c874bc7185267f0d3006d4b7f8a8f07595 | [
"MIT"
] | null | null | null | invest/cache.py | ababic/directory-cms | 198425c874bc7185267f0d3006d4b7f8a8f07595 | [
"MIT"
] | null | null | null | from core.cache import AbstractDatabaseCacheSubscriber
from invest import models
class SectorLandingPageSubscriber(AbstractDatabaseCacheSubscriber):
model = models.SectorLandingPage
subscriptions = [
models.SectorPage,
]
class RegionLandingPageSubscriber(AbstractDatabaseCacheSubscriber):
mo... | 24.975309 | 76 | 0.757291 | 125 | 2,023 | 12.256 | 0.336 | 0.234987 | 0.274151 | 0.044386 | 0.063969 | 0.031332 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190806 | 2,023 | 80 | 77 | 25.2875 | 0.935858 | 0.064755 | 0 | 0.438596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035088 | 0 | 0.561404 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8a9d3c362bc225cb243e9566fa82f0bdaa80c730 | 68 | py | Python | lib/__init__.py | sybren-marechal/Digital_Led_Strip_MQTT | a2d24fa3f058bac0a60736cfd81e96b744116450 | [
"MIT"
] | null | null | null | lib/__init__.py | sybren-marechal/Digital_Led_Strip_MQTT | a2d24fa3f058bac0a60736cfd81e96b744116450 | [
"MIT"
] | null | null | null | lib/__init__.py | sybren-marechal/Digital_Led_Strip_MQTT | a2d24fa3f058bac0a60736cfd81e96b744116450 | [
"MIT"
] | null | null | null | # Signifies to Python that it's "ok to import from this directory".
| 34 | 67 | 0.75 | 12 | 68 | 4.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 1 | 68 | 68 | 0.910714 | 0.955882 | 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 |
8aa6ae56d6f70d5303357058c97426b3839f463d | 157 | py | Python | examples/sdb/zoo.py | draustin/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 7 | 2020-05-17T14:26:42.000Z | 2022-02-14T04:52:54.000Z | examples/sdb/zoo.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 17 | 2020-04-10T22:50:00.000Z | 2020-06-18T04:54:19.000Z | examples/sdb/zoo.py | uamhforever/otk | c6e91423ec79b85b380ee9385f6d27c91f92503d | [
"MIT"
] | 1 | 2022-02-14T04:52:45.000Z | 2022-02-14T04:52:45.000Z | from otk.sdb import sdb_qt as sdb
from otk.sdb import demoscenes
with sdb.application():
w = sdb.ScenesViewer(demoscenes.make_all_scenes())
w.show() | 26.166667 | 54 | 0.745223 | 25 | 157 | 4.56 | 0.6 | 0.122807 | 0.175439 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152866 | 157 | 6 | 55 | 26.166667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
8ab01b6f4460b9c7c1fdafa494e9983fea681981 | 100,219 | py | Python | tests/integration/test_model_attributes.py | bromic007/smartsheet-python-sdk | ef256b7421a65a56a7138dc2b3eb5d69a1a06590 | [
"Apache-2.0"
] | 106 | 2015-02-21T14:26:32.000Z | 2022-03-31T05:56:53.000Z | tests/integration/test_model_attributes.py | bromic007/smartsheet-python-sdk | ef256b7421a65a56a7138dc2b3eb5d69a1a06590 | [
"Apache-2.0"
] | 94 | 2015-02-09T13:16:00.000Z | 2022-03-16T06:37:41.000Z | tests/integration/test_model_attributes.py | bromic007/smartsheet-python-sdk | ef256b7421a65a56a7138dc2b3eb5d69a1a06590 | [
"Apache-2.0"
] | 85 | 2015-02-06T22:05:25.000Z | 2022-03-16T06:22:59.000Z | import pytest
import smartsheet
# Given Python's variable naming convention of snake_case,
# and Smartsheet's API attribute naming convention of
# lowerCamelCase, this set of tests is intended to make
# sure all of that is handled correctly.
@pytest.mark.usefixtures("smart_setup")
class TestModelAttributes:
def ... | 35.176904 | 82 | 0.574083 | 10,132 | 100,219 | 5.511844 | 0.039479 | 0.128819 | 0.059091 | 0.037424 | 0.782903 | 0.750009 | 0.709917 | 0.673012 | 0.645203 | 0.633206 | 0 | 0.028215 | 0.311448 | 100,219 | 2,848 | 83 | 35.189256 | 0.781077 | 0.085014 | 0 | 0.850854 | 0 | 0 | 0.105917 | 0.004655 | 0 | 0 | 0 | 0 | 0.389488 | 1 | 0.049416 | false | 0 | 0.000898 | 0 | 0.050764 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8abd3ef176facbaa1bc502d6bfc3377138fc5d84 | 190 | py | Python | tests/secrets.example.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 6 | 2019-03-09T18:32:55.000Z | 2020-06-29T15:38:36.000Z | tests/secrets.example.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 20 | 2020-02-27T06:54:22.000Z | 2020-07-11T21:38:06.000Z | tests/secrets.example.py | chmreid/centillion | 91e64330ad2881ff19253d54992ae989bc3a67ff | [
"MIT"
] | 2 | 2019-08-20T01:49:15.000Z | 2020-01-19T09:25:58.000Z | GITHUB_OAUTH_CLIENT_ID = "XXXXX"
GITHUB_OAUTH_CLIENT_SECRET = "XXXXX"
GITHUB_TOKEN = "XXXXX"
DISQUS_TOKEN = "XXXXX"
SECRET_KEY = "XXXXX"
| 31.666667 | 37 | 0.563158 | 19 | 190 | 5.157895 | 0.473684 | 0.22449 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357895 | 190 | 5 | 38 | 38 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 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 |
8ac602c5f80c7ac1ddd502f387a5860bbf904ff4 | 249 | py | Python | pyppeteer_stealth/navigator_permissions.py | MeiK2333/pyppeteer-stealth | 0f04fcfbf596052bbbe102d5e68f82956af57338 | [
"MIT"
] | 138 | 2019-08-29T21:36:53.000Z | 2022-03-28T09:45:22.000Z | pyppeteer_stealth/navigator_permissions.py | mcolella14/pyppeteer_stealth | e511902e2531f63d4329d95a395a55a0102cf461 | [
"MIT"
] | 15 | 2020-02-04T18:49:45.000Z | 2022-01-23T16:59:46.000Z | pyppeteer_stealth/navigator_permissions.py | mcolella14/pyppeteer_stealth | e511902e2531f63d4329d95a395a55a0102cf461 | [
"MIT"
] | 33 | 2019-09-09T15:23:44.000Z | 2022-03-31T17:45:11.000Z | from pathlib import Path
from pyppeteer.page import Page
async def navigator_permissions(page: Page, **kwargs) -> None:
await page.evaluateOnNewDocument(
Path(__file__).parent.joinpath("js/navigator.permissions.js").read_text()
)
| 24.9 | 81 | 0.738956 | 30 | 249 | 5.933333 | 0.666667 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15261 | 249 | 9 | 82 | 27.666667 | 0.843602 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8acb4fef52247e295de6e6d35b579a8c6e179dc5 | 41 | py | Python | sherpa_app/__init__.py | spmorillo/sherpa-app | a369326086d84bbe2fe84409f2b95210aa221978 | [
"MIT"
] | null | null | null | sherpa_app/__init__.py | spmorillo/sherpa-app | a369326086d84bbe2fe84409f2b95210aa221978 | [
"MIT"
] | null | null | null | sherpa_app/__init__.py | spmorillo/sherpa-app | a369326086d84bbe2fe84409f2b95210aa221978 | [
"MIT"
] | null | null | null | import flask
app = flask.Flask(__name__)
| 13.666667 | 27 | 0.780488 | 6 | 41 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 28 | 20.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8ad533e0a3176e844dbec2516cd83cc391130998 | 190 | py | Python | src/inn.py | ladroid/petrinlang | 5b5ed66001640c9a8c974f615f214ad402c152f6 | [
"Apache-2.0"
] | null | null | null | src/inn.py | ladroid/petrinlang | 5b5ed66001640c9a8c974f615f214ad402c152f6 | [
"Apache-2.0"
] | null | null | null | src/inn.py | ladroid/petrinlang | 5b5ed66001640c9a8c974f615f214ad402c152f6 | [
"Apache-2.0"
] | null | null | null | import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
from src.arc import Arc
class In(Arc):
def trigger(self):
self.place.markers += self.amount | 31.666667 | 77 | 0.742105 | 32 | 190 | 4.28125 | 0.59375 | 0.131387 | 0.189781 | 0.218978 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 190 | 6 | 78 | 31.666667 | 0.805882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
76f24161f4a57f5c6279be3742d19e128cb7df95 | 265 | py | Python | erpnext_biotrack/traceability/doctype/plant_entry/test_plant_entry.py | webonyx/erpnext_biotrack | eb2384a6c3fda84a91c81c959f095a5386a89665 | [
"MIT"
] | 11 | 2017-05-29T23:35:21.000Z | 2022-03-12T04:29:21.000Z | erpnext_biotrack/traceability/doctype/plant_entry/test_plant_entry.py | webonyx/erpnext_biotrack | eb2384a6c3fda84a91c81c959f095a5386a89665 | [
"MIT"
] | 1 | 2016-12-11T16:58:36.000Z | 2016-12-11T16:58:36.000Z | erpnext_biotrack/traceability/doctype/plant_entry/test_plant_entry.py | webonyx/erpnext_biotrack | eb2384a6c3fda84a91c81c959f095a5386a89665 | [
"MIT"
] | 14 | 2016-12-17T11:01:03.000Z | 2021-11-01T10:21:45.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2015, Webonyx and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
# test_records = frappe.get_test_records('Plant Entry')
class TestPlantEntry(unittest.TestCase):
pass
| 20.384615 | 55 | 0.769811 | 34 | 265 | 5.764706 | 0.823529 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.132075 | 265 | 12 | 56 | 22.083333 | 0.830435 | 0.513208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
0a2e5c650a6ed664141f90724779a4e7fe005e7e | 110 | py | Python | src/s3_site_cache_optimizer/__init__.py | Appstrakt/s3-site-cache-optimizer | 401cffd1c8bcd0d2f4793a89ec1c48ccb8721307 | [
"MIT"
] | 7 | 2015-01-19T18:27:11.000Z | 2015-02-17T02:39:23.000Z | src/s3_site_cache_optimizer/__init__.py | novemberfiveco/s3-site-cache-optimizer | 401cffd1c8bcd0d2f4793a89ec1c48ccb8721307 | [
"MIT"
] | 3 | 2020-03-13T02:11:41.000Z | 2020-06-01T19:37:09.000Z | src/s3_site_cache_optimizer/__init__.py | Appstrakt/s3-site-cache-optimizer | 401cffd1c8bcd0d2f4793a89ec1c48ccb8721307 | [
"MIT"
] | 3 | 2017-10-09T13:46:02.000Z | 2019-03-29T01:24:43.000Z | from pkg_resources import get_distribution
__version__ = get_distribution('s3-site-cache-optimizer').version
| 27.5 | 65 | 0.845455 | 14 | 110 | 6.142857 | 0.785714 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.072727 | 110 | 3 | 66 | 36.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.209091 | 0.209091 | 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 |
0a520c48d0b894b27cdf2e0157af30d3233e5065 | 1,900 | py | Python | tensorflow/contrib/layers/python/layers/__init__.py | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/contrib/layers/python/layers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2021-05-20T00:58:04.000Z | 2021-05-20T00:58:04.000Z | Lib/site-packages/tensorflow/contrib/layers/python/layers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 51.351351 | 81 | 0.767895 | 246 | 1,900 | 5.829268 | 0.418699 | 0.104603 | 0.195258 | 0.263598 | 0.461646 | 0.461646 | 0.461646 | 0.147838 | 0.080893 | 0 | 0 | 0.004773 | 0.117895 | 1,900 | 36 | 82 | 52.777778 | 0.850835 | 0.405789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.058824 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0a6ae0ad430771571caf0f593ae9d5f21e07a647 | 129 | py | Python | Python OOP/OOP/Inheritance/Exercise/Task01/project/child.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python OOP/OOP/Inheritance/Exercise/Task01/project/child.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python OOP/OOP/Inheritance/Exercise/Task01/project/child.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | from project.person import Person
class Child(Person):
def __init__(self, name, age):
super().__init__(name, age)
| 16.125 | 35 | 0.674419 | 17 | 129 | 4.647059 | 0.705882 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 129 | 7 | 36 | 18.428571 | 0.77451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a6beb47141f5991387d7fd9554e62a5210b27e6 | 139 | py | Python | examples/hooks/per_test_post.py | rsp9u/side-runner-py | 13ad73a0d9055b03c9de54e0bbd4234b34d86498 | [
"MIT"
] | 5 | 2020-02-13T00:24:41.000Z | 2022-01-10T10:11:00.000Z | examples/hooks/per_test_post.py | rsp9u/side-runner-py | 13ad73a0d9055b03c9de54e0bbd4234b34d86498 | [
"MIT"
] | 58 | 2019-04-02T02:51:02.000Z | 2021-01-14T08:42:19.000Z | examples/hooks/per_test_post.py | rsp9u/side-runner-py | 13ad73a0d9055b03c9de54e0bbd4234b34d86498 | [
"MIT"
] | 7 | 2019-04-02T11:42:24.000Z | 2020-11-10T20:17:56.000Z | conditions = {
'test_project_ids': ['*'],
'test_suite_ids': ['*'],
'test_names': ['logout'],
}
def post_test_run():
pass
| 13.9 | 30 | 0.546763 | 15 | 139 | 4.6 | 0.733333 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223022 | 139 | 9 | 31 | 15.444444 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0 | 0 | 0.142857 | 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 | 1 | 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.