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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9635f6ef9fedbc315835f1b578653dfd8ba92957 | 4,523 | py | Python | test/test/unit/test_base_planner.py | 00mjk/databay | b11a43b02bed001d0aef89f796b63dfba2da7363 | [
"Apache-2.0"
] | 1 | 2021-04-02T16:34:57.000Z | 2021-04-02T16:34:57.000Z | test/test/unit/test_base_planner.py | 00mjk/databay | b11a43b02bed001d0aef89f796b63dfba2da7363 | [
"Apache-2.0"
] | null | null | null | test/test/unit/test_base_planner.py | 00mjk/databay | b11a43b02bed001d0aef89f796b63dfba2da7363 | [
"Apache-2.0"
] | null | null | null | import logging
from datetime import timedelta
from unittest import TestCase, mock
from unittest.mock import patch, MagicMock
import databay
from databay import BasePlanner, Link
from databay.errors import MissingLinkError
from test_utils import fqname
class TestBasePlanner(TestCase):
def __init__(self, *args, *... | 34.007519 | 102 | 0.658191 | 568 | 4,523 | 5.040493 | 0.132042 | 0.146001 | 0.049948 | 0.066364 | 0.723367 | 0.715334 | 0.715334 | 0.697869 | 0.645826 | 0.606008 | 0 | 0 | 0.24099 | 4,523 | 132 | 103 | 34.265152 | 0.833964 | 0.035375 | 0 | 0.647059 | 0 | 0 | 0.056677 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 1 | 0.156863 | false | 0 | 0.078431 | 0 | 0.245098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
963e88c7f6298174253c72636feb0d53900c27ab | 300 | py | Python | ezotv/utils/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | ezotv/utils/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | 7 | 2020-01-23T00:50:39.000Z | 2020-04-18T20:34:40.000Z | ezotv/utils/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
from .require_decorators import json_required, apikey_required, admin_required
from .error_handlers import register_all_error_handlers
from .luna_source import LunaSource
from .user_management import login_manager, discord_blueprint
from .authme_tools import RSA512SALTED_hash
| 42.857143 | 78 | 0.873333 | 41 | 300 | 6.04878 | 0.707317 | 0.104839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014545 | 0.083333 | 300 | 6 | 79 | 50 | 0.887273 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
964e5bc3434a5aed574a04e957981eb93c398e0e | 253 | py | Python | leetCode/algorithms/medium/house_robber_3.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | leetCode/algorithms/medium/house_robber_3.py | gauravsingh58/algo | 397859a53429e7a585e5f6964ad24146c6261326 | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | leetCode/algorithms/medium/house_robber_3.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class Solution:
def rob(self, root):
def f(n):
if not n:
return [0, 0]
l, r = f(n.left), f(n.right)
return [l[1] + r[1], max(l[1] + r[1], n.val + l[0] + r[0])]
return max(f(root))
| 25.3 | 71 | 0.395257 | 43 | 253 | 2.325581 | 0.44186 | 0.06 | 0.06 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.41502 | 253 | 9 | 72 | 28.111111 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
968fd6002300bafc20006814ae941af9eccb747d | 1,258 | py | Python | m1/tokenize/t.py | callforpapers-source/natural-language-processing-for-osint | eafacecd021aa125e67bd7fe422d621dd685acde | [
"Apache-2.0"
] | null | null | null | m1/tokenize/t.py | callforpapers-source/natural-language-processing-for-osint | eafacecd021aa125e67bd7fe422d621dd685acde | [
"Apache-2.0"
] | null | null | null | m1/tokenize/t.py | callforpapers-source/natural-language-processing-for-osint | eafacecd021aa125e67bd7fe422d621dd685acde | [
"Apache-2.0"
] | null | null | null | from nltk import sent_tokenize, word_tokenize
from doc2term import doc2term_str
import nltk
import re
text = """As an example, an introductory course focusing on logic, set theory, and real analysis might cover
Lessons 1, 2, 5, 9, 10, and 13. Lessons 1 and 9 cover basic sentential logic and proof theory, Lessons 2
and... | 41.933333 | 116 | 0.744038 | 214 | 1,258 | 4.313084 | 0.523364 | 0.016251 | 0.055255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037488 | 0.151828 | 1,258 | 30 | 117 | 41.933333 | 0.827554 | 0.292528 | 0 | 0 | 0 | 0.25 | 0.847554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
969ce3798804a44aae8cb6c74aad283ae1ae3085 | 313 | py | Python | api/admin.py | zstone12/WeCloud | 921e82a20fcb8f1dfffdb2b2dc0d798bc7efb21a | [
"Apache-2.0"
] | null | null | null | api/admin.py | zstone12/WeCloud | 921e82a20fcb8f1dfffdb2b2dc0d798bc7efb21a | [
"Apache-2.0"
] | 6 | 2020-05-25T10:48:43.000Z | 2021-06-10T22:57:15.000Z | api/admin.py | zstone12/WeCloud | 921e82a20fcb8f1dfffdb2b2dc0d798bc7efb21a | [
"Apache-2.0"
] | 4 | 2020-05-25T08:39:18.000Z | 2020-05-25T13:46:29.000Z | from django.contrib import admin
# Register your models here.
from api import models
admin.register(models.User)
admin.register(models.Video)
admin.register(models.Coffer)
admin.register(models.Trash)
admin.register(models.Radio)
admin.register(models.Note)
admin.register(models.Doc)
admin.register(models.Img) | 24.076923 | 32 | 0.817891 | 45 | 313 | 5.688889 | 0.4 | 0.457031 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070288 | 313 | 13 | 33 | 24.076923 | 0.879725 | 0.083067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96b60261fd5452a29a5ddc26a0a25ce396a55540 | 58 | py | Python | src/waldur_auth_bcc/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_auth_bcc/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_auth_bcc/__init__.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | default_app_config = 'waldur_auth_bcc.apps.AuthBCCConfig'
| 29 | 57 | 0.862069 | 8 | 58 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 58 | 1 | 58 | 58 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.586207 | 0.586207 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7368ab38a4db045cd0d5c49927019e05f7b35002 | 147 | py | Python | examples/circle.py | cbrentharris/bricklayer | c3f7ac408c50b97329438b77c617f09a91fca767 | [
"MIT"
] | null | null | null | examples/circle.py | cbrentharris/bricklayer | c3f7ac408c50b97329438b77c617f09a91fca767 | [
"MIT"
] | null | null | null | examples/circle.py | cbrentharris/bricklayer | c3f7ac408c50b97329438b77c617f09a91fca767 | [
"MIT"
] | null | null | null | from bricklayer.levels.level_2 import *
circle_xz(5, BLACK_BRICK, x_center=5, z_center=5)
circle_xz(5, RED_BRICK, x_center=7, z_center=7)
output() | 29.4 | 49 | 0.782313 | 29 | 147 | 3.655172 | 0.586207 | 0.150943 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 0.088435 | 147 | 5 | 50 | 29.4 | 0.738806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
737399c797e1075b127703a183d36e9b4a45ee2b | 204 | py | Python | miniurl/urls.py | joannawetesko/django-mini-url | 5086da1db2db6e8213bc3330fb7a153d206da69f | [
"Apache-2.0"
] | null | null | null | miniurl/urls.py | joannawetesko/django-mini-url | 5086da1db2db6e8213bc3330fb7a153d206da69f | [
"Apache-2.0"
] | null | null | null | miniurl/urls.py | joannawetesko/django-mini-url | 5086da1db2db6e8213bc3330fb7a153d206da69f | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from miniurl import views
urlpatterns = [
path('<path:link>', views.RedirectURLView.as_view(), name='redirect_url'),
path('', views.MainView.as_view(), name='main')
] | 29.142857 | 78 | 0.705882 | 27 | 204 | 5.222222 | 0.62963 | 0.085106 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 204 | 7 | 79 | 29.142857 | 0.792135 | 0 | 0 | 0 | 0 | 0 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
737a8629fe26f736c36fe1a9ed53f276b0a86f7c | 132 | py | Python | summing.py | amyslytska/Task-1 | a7e25dd4719ba2375c89469ac18856dcac000e35 | [
"MIT"
] | null | null | null | summing.py | amyslytska/Task-1 | a7e25dd4719ba2375c89469ac18856dcac000e35 | [
"MIT"
] | null | null | null | summing.py | amyslytska/Task-1 | a7e25dd4719ba2375c89469ac18856dcac000e35 | [
"MIT"
] | null | null | null | def sum(*args):
total = 0
for arg in args:
total+= arg
return total
a = sum(1200, 300, 500)
print(a)
| 13.2 | 24 | 0.507576 | 20 | 132 | 3.35 | 0.7 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 0.378788 | 132 | 9 | 25 | 14.666667 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7389fd733b22ba0db54215559ec15c9fb9e23276 | 674 | py | Python | tests/test_analysis.py | ephreal/catapi.py | 956d77c44f5c3c6bab4956e9cefe1d2b5d4dc135 | [
"MIT"
] | 2 | 2021-01-28T08:06:18.000Z | 2022-01-22T17:53:52.000Z | tests/test_analysis.py | ephreal/catapi.py | 956d77c44f5c3c6bab4956e9cefe1d2b5d4dc135 | [
"MIT"
] | null | null | null | tests/test_analysis.py | ephreal/catapi.py | 956d77c44f5c3c6bab4956e9cefe1d2b5d4dc135 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Copyright (c) 2020 Ephreal under the MIT License.
To view the license and requirements when distributing this software, please
view the license at https://github.com/ephreal/catapi/LICENSE.
"""
from catapi.analysis import Analysis
from tests import async_capable
class Testanaylsis(async... | 25.923077 | 76 | 0.68546 | 79 | 674 | 5.78481 | 0.683544 | 0.030635 | 0.061269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013084 | 0.206231 | 674 | 25 | 77 | 26.96 | 0.841122 | 0.394659 | 0 | 0 | 0 | 0 | 0.079576 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
739253edc1517b49a15e523b8326f1243a8901bb | 3,136 | py | Python | search.py | minipele06/PS5-Search | 3dd766785eba4ce1a61acef6fe79460efa96987f | [
"MIT"
] | null | null | null | search.py | minipele06/PS5-Search | 3dd766785eba4ce1a61acef6fe79460efa96987f | [
"MIT"
] | null | null | null | search.py | minipele06/PS5-Search | 3dd766785eba4ce1a61acef6fe79460efa96987f | [
"MIT"
] | null | null | null | import requests
import os
import datetime
from bs4 import BeautifulSoup
from dotenv import load_dotenv
from twilio.rest import Client
from sendgrid import SendGridAPIClient
from sendgrid.helpers.mail import Mail
load_dotenv()
TWILIO_ACCOUNT_SID = os.environ.get("TWILIO_ACCOUNT_SID", "OOPS, please specify env var call... | 51.409836 | 151 | 0.739477 | 433 | 3,136 | 5.205543 | 0.26097 | 0.023957 | 0.031943 | 0.035492 | 0.736912 | 0.736912 | 0.703638 | 0.644188 | 0.644188 | 0.644188 | 0 | 0.021876 | 0.139987 | 3,136 | 60 | 152 | 52.266667 | 0.813867 | 0.363202 | 0 | 0 | 0 | 0.060606 | 0.391481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.242424 | 0 | 0.242424 | 0.060606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
739b65b0b5d645f627b92fd6fd77e5e6133a5c44 | 268 | py | Python | src/myfuncs/plots/__init__.py | moltaire/gaze-choice-causality | 2db498ba5bc07db3df9a3a07f7e1c85e43b46f33 | [
"MIT"
] | null | null | null | src/myfuncs/plots/__init__.py | moltaire/gaze-choice-causality | 2db498ba5bc07db3df9a3a07f7e1c85e43b46f33 | [
"MIT"
] | null | null | null | src/myfuncs/plots/__init__.py | moltaire/gaze-choice-causality | 2db498ba5bc07db3df9a3a07f7e1c85e43b46f33 | [
"MIT"
] | null | null | null | from .factorial import factorial_heatmap
from .hist import hist
from .lm import lm
from .model_recovery import model_recovery
from .scatter import scatter
from .violin import violin
__all__ = ["violin", "scatter", "lm", "hist", "factorial_heatmap", "model_recovery"]
| 29.777778 | 84 | 0.779851 | 36 | 268 | 5.555556 | 0.305556 | 0.195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123134 | 268 | 8 | 85 | 33.5 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
73ac1f560a7dd35d9cbea25fe0dd513cc60f8042 | 157 | py | Python | home/urls.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | home/urls.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | home/urls.py | ArianOtt-hub/sloth-side | 4b5a0954e70b037d57b60c60e605e574b6c198d3 | [
"MIT"
] | null | null | null | from django.urls import path, include
from . import views
app_name = 'home'
urlpatterns = [
path('', views.HomeOverview.as_view(), name="overview"),
]
| 17.444444 | 60 | 0.694268 | 20 | 157 | 5.35 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 8 | 61 | 19.625 | 0.810606 | 0 | 0 | 0 | 0 | 0 | 0.076433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
73ad4330b4b65a5575aa792d560ad2fa02333dfe | 396 | py | Python | hpnnet/pyll_stubs.py | hyperopt/hyperopt-nnet | 766811d1128cda02d41c95ae118fd938e023c605 | [
"BSD-3-Clause"
] | 38 | 2015-02-06T03:54:59.000Z | 2021-11-04T16:49:11.000Z | hpnnet/pyll_stubs.py | hyperopt/hyperopt-nnet | 766811d1128cda02d41c95ae118fd938e023c605 | [
"BSD-3-Clause"
] | null | null | null | hpnnet/pyll_stubs.py | hyperopt/hyperopt-nnet | 766811d1128cda02d41c95ae118fd938e023c605 | [
"BSD-3-Clause"
] | 12 | 2016-01-09T21:54:51.000Z | 2020-06-17T16:41:19.000Z | """
Singleton objects that serve as placeholders in pyll graphs.
These are used by e.g. ./nips2011.py
"""
class train_task(object):
"""`train` argument to skdata.LearningAlgo's best_model method
"""
class valid_task(object):
"""`valid` argument to skdata.LearningAlgo's best_model method
"""
class ct... | 19.8 | 66 | 0.689394 | 54 | 396 | 4.962963 | 0.666667 | 0.074627 | 0.119403 | 0.208955 | 0.365672 | 0.365672 | 0.365672 | 0.365672 | 0.365672 | 0 | 0 | 0.012461 | 0.189394 | 396 | 19 | 67 | 20.842105 | 0.82243 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
73b2b7364c73eda2fe41b499887c109c4b2417d3 | 472 | py | Python | src/responses/user.py | tombrereton/flask-api-starter-kit | 2e244bfc4f5659e91fd7cd27388c37bf32baeaec | [
"MIT"
] | null | null | null | src/responses/user.py | tombrereton/flask-api-starter-kit | 2e244bfc4f5659e91fd7cd27388c37bf32baeaec | [
"MIT"
] | null | null | null | src/responses/user.py | tombrereton/flask-api-starter-kit | 2e244bfc4f5659e91fd7cd27388c37bf32baeaec | [
"MIT"
] | null | null | null | from dataclasses import field, dataclass
from typing import List
import marshmallow_dataclass
from flask_marshmallow import Schema
@dataclass
class UserResponse:
UserName: str
UserResponseSchema = marshmallow_dataclass.class_schema(UserResponse, base_schema=Schema)
@dataclass
class AllUsersResponse:
User... | 21.454545 | 97 | 0.836864 | 50 | 472 | 7.72 | 0.42 | 0.145078 | 0.103627 | 0.160622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 472 | 21 | 98 | 22.47619 | 0.919048 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
73bd2ec76ae64408b7ba777911025872e4d73705 | 131 | py | Python | poppy/dns/default/__init__.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 3 | 2017-07-05T20:09:59.000Z | 2018-11-27T22:02:57.000Z | poppy/dns/default/__init__.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 24 | 2017-04-18T15:14:04.000Z | 2019-03-20T19:09:07.000Z | poppy/dns/default/__init__.py | satroutr/poppy | 27417f86854d9e0a04726acc263ef0a2ce9f8f6e | [
"Apache-2.0"
] | 8 | 2017-04-03T13:24:27.000Z | 2021-11-08T20:28:10.000Z | """DNS Default driver"""
from poppy.dns.default import driver
# Hoist classes into package namespace
Driver = driver.DNSProvider
| 18.714286 | 38 | 0.778626 | 17 | 131 | 6 | 0.705882 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 6 | 39 | 21.833333 | 0.902655 | 0.427481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
73ccf7e35ce7fc1176387bd497a8e4aca6cd32b8 | 912 | py | Python | tests/test_user.py | VirginiaNdungu1/Bliss-Posts | f1dbc4e0118a907656afff926c83c3093dcc2328 | [
"MIT"
] | null | null | null | tests/test_user.py | VirginiaNdungu1/Bliss-Posts | f1dbc4e0118a907656afff926c83c3093dcc2328 | [
"MIT"
] | null | null | null | tests/test_user.py | VirginiaNdungu1/Bliss-Posts | f1dbc4e0118a907656afff926c83c3093dcc2328 | [
"MIT"
] | null | null | null | import unittest
from app.models import User
class userModelTest(unittest.TestCase):
def setUp(self):
'''
function that creates instance of User class
'''
self.new_user = User(password='guava')
def test_set_password(self):
'''
test case that ascertains that whe... | 27.636364 | 72 | 0.639254 | 111 | 912 | 5.117117 | 0.513514 | 0.049296 | 0.077465 | 0.070423 | 0.088028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285088 | 912 | 32 | 73 | 28.5 | 0.871166 | 0.323465 | 0 | 0 | 0 | 0 | 0.019685 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.333333 | false | 0.5 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
73d87fb76e21ab5d3ed34aeca58f32c9813ee778 | 618 | py | Python | tests/types/test_photo.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 2,744 | 2017-11-19T00:56:19.000Z | 2022-03-31T15:48:23.000Z | tests/types/test_photo.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 513 | 2018-01-23T16:52:59.000Z | 2022-03-27T01:50:30.000Z | tests/types/test_photo.py | andrew-ld/aiogram | b55153ccf3ab9ef191bef6c20e467b92f3b270ed | [
"MIT"
] | 813 | 2017-12-05T06:49:48.000Z | 2022-03-29T15:47:50.000Z | from aiogram import types
from .dataset import PHOTO
photo = types.PhotoSize(**PHOTO)
def test_export():
exported = photo.to_python()
assert isinstance(exported, dict)
assert exported == PHOTO
def test_file_id():
assert isinstance(photo.file_id, str)
assert photo.file_id == PHOTO['file_id']
d... | 22.071429 | 48 | 0.705502 | 83 | 618 | 5.096386 | 0.277108 | 0.12766 | 0.198582 | 0.118203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177994 | 618 | 27 | 49 | 22.888889 | 0.832677 | 0 | 0 | 0 | 0 | 0 | 0.043689 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
73e2d345e037dde72e39a9be13398aabb70d412a | 781 | py | Python | test/test.py | ruvice/IoT-Air-Conditioning-Backend | c4bb69654e06dd695138906e573ff942d40b5ff3 | [
"MIT"
] | null | null | null | test/test.py | ruvice/IoT-Air-Conditioning-Backend | c4bb69654e06dd695138906e573ff942d40b5ff3 | [
"MIT"
] | null | null | null | test/test.py | ruvice/IoT-Air-Conditioning-Backend | c4bb69654e06dd695138906e573ff942d40b5ff3 | [
"MIT"
] | null | null | null | import requests
BASE = "http://127.0.0.1:5000/"
# putResponse = requests.put(BASE + "classify/", {'beacon1': 1, 'beacon2': 2, 'beacon3':3, 'location': 0})
# putResponse = requests.put(BASE + "classify/", {'beacon1': 2, 'beacon2': 2, 'beacon3':3, 'location': 0})
# putResponse = requests.put(BASE + "classify/", {'beaco... | 65.083333 | 109 | 0.633803 | 98 | 781 | 5.05102 | 0.295918 | 0.145455 | 0.230303 | 0.262626 | 0.620202 | 0.620202 | 0.620202 | 0.620202 | 0.620202 | 0.620202 | 0 | 0.088663 | 0.119078 | 781 | 12 | 110 | 65.083333 | 0.630814 | 0.770807 | 0 | 0 | 0 | 0 | 0.300578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb6e390f5899eba0dbd4a7fbfb4d2af5602507fc | 1,258 | py | Python | booleans.py | chapman-cpsc-230/hw3-enfie101 | cc28a9c9eb3182bab10582c82d802577c1a5409e | [
"MIT"
] | null | null | null | booleans.py | chapman-cpsc-230/hw3-enfie101 | cc28a9c9eb3182bab10582c82d802577c1a5409e | [
"MIT"
] | 1 | 2016-03-13T18:02:18.000Z | 2016-03-13T18:02:18.000Z | booleans.py | chapman-cpsc-230/hw3-enfie101 | cc28a9c9eb3182bab10582c82d802577c1a5409e | [
"MIT"
] | null | null | null |
"""
File: booleans.py
Copyright (c) 2016 Callie Enfield
License: MIT
This code was used to simply gain a better understanding of what different boolean expressions will do.
"""
C = 41 #There will be no output. This expression is setting the variable 'C' equal to 41.
C == 40 #The output will be 'False'. 40 is being... | 46.592593 | 178 | 0.715421 | 227 | 1,258 | 3.964758 | 0.268722 | 0.113333 | 0.231111 | 0.266667 | 0.506667 | 0.423333 | 0.273333 | 0.082222 | 0.082222 | 0 | 0 | 0.029644 | 0.195548 | 1,258 | 26 | 179 | 48.384615 | 0.859684 | 0.808426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb762ff3f69559c417d66bafaacaabdaf8ddf59f | 193 | py | Python | ml_example/enities/download_params.py | made-ml-in-prod-2021/ml_project_example | 5e7fb1e1eeaeea3304cffdbb8be96cf168099db5 | [
"MIT"
] | 6 | 2021-04-25T07:33:37.000Z | 2021-10-05T12:52:31.000Z | ml_example/enities/download_params.py | made-ml-in-prod-2021/ml_project_example | 5e7fb1e1eeaeea3304cffdbb8be96cf168099db5 | [
"MIT"
] | 1 | 2021-04-09T13:54:56.000Z | 2021-04-09T13:54:56.000Z | ml_example/enities/download_params.py | made-ml-in-prod-2021/ml_project_example | 5e7fb1e1eeaeea3304cffdbb8be96cf168099db5 | [
"MIT"
] | 1 | 2021-05-07T16:59:28.000Z | 2021-05-07T16:59:28.000Z | from typing import List
from dataclasses import dataclass, field
@dataclass()
class DownloadParams:
paths: List[str]
output_folder: str
s3_bucket: str = field(default="for-dvc")
| 17.545455 | 45 | 0.73057 | 25 | 193 | 5.56 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.181347 | 193 | 10 | 46 | 19.3 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0.036269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fb77d0972e51c5fdbc9de74c0a87adb5539e8e22 | 380 | py | Python | 05 project/mywebsite/videorequest/models.py | Mohamadnaseer/Django | e1b3dd0ea2a2f42e004b04333821c1e0ec1d065f | [
"MIT"
] | null | null | null | 05 project/mywebsite/videorequest/models.py | Mohamadnaseer/Django | e1b3dd0ea2a2f42e004b04333821c1e0ec1d065f | [
"MIT"
] | null | null | null | 05 project/mywebsite/videorequest/models.py | Mohamadnaseer/Django | e1b3dd0ea2a2f42e004b04333821c1e0ec1d065f | [
"MIT"
] | null | null | null | from pyexpat import model
from django.db import models
from django.utils import timezone
# Create your models here.
class video(models.Model):
videotitle = models.CharField(max_length=50)
videodec = models.TextField()
date_added = models.DateTimeField(default=timezone.now)
def __str__(self):
... | 23.75 | 65 | 0.723684 | 49 | 380 | 5.489796 | 0.673469 | 0.074349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006349 | 0.171053 | 380 | 15 | 66 | 25.333333 | 0.847619 | 0.063158 | 0 | 0 | 0 | 0 | 0.039548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
fb88b2ca5c428fff11d6956292e9ee6a1f490a87 | 793 | py | Python | mavenn/__init__.py | jbkinney/mave-nn | bc1de2e147f3f2be38c42e7bd1cf921ec6870879 | [
"MIT"
] | 3 | 2016-11-09T16:53:51.000Z | 2019-08-13T02:39:56.000Z | mavenn/__init__.py | jbkinney/sortseq_tools | bc1de2e147f3f2be38c42e7bd1cf921ec6870879 | [
"MIT"
] | 6 | 2018-06-20T17:43:04.000Z | 2020-04-23T18:36:39.000Z | mavenn/__init__.py | jbkinney/sortseq_tools | bc1de2e147f3f2be38c42e7bd1cf921ec6870879 | [
"MIT"
] | 1 | 2017-12-13T23:00:13.000Z | 2017-12-13T23:00:13.000Z | """MAVE-NN software package."""
# The functions imported here are the ONLY "maven.xxx()" functions that
# users are expected to interact with
# To regularize log calculations
import numpy as np
TINY = np.sqrt(np.finfo(np.float32).tiny)
# Primary model class
from mavenn.src.model import Model
# For running functional... | 27.344828 | 71 | 0.810845 | 121 | 793 | 5.239669 | 0.479339 | 0.157729 | 0.184543 | 0.132492 | 0.403785 | 0.242902 | 0.119874 | 0 | 0 | 0 | 0 | 0.002886 | 0.126103 | 793 | 28 | 72 | 28.321429 | 0.911977 | 0.334174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.916667 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fb9a70a67e7ef7c614c0d5d315df28732942bc8a | 205 | py | Python | jaad/templates/startproject/server/urls.py | AmadeusITGroup/jaad | 9cc818c7011243c82224256f52abf734cea33298 | [
"BSD-3-Clause"
] | null | null | null | jaad/templates/startproject/server/urls.py | AmadeusITGroup/jaad | 9cc818c7011243c82224256f52abf734cea33298 | [
"BSD-3-Clause"
] | null | null | null | jaad/templates/startproject/server/urls.py | AmadeusITGroup/jaad | 9cc818c7011243c82224256f52abf734cea33298 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from django.urls import include
from jaad.routes import jaad_views
urlpatterns = [
url(r"^", jaad_views("index")),
url(r"^doc/", include("documentation.urls")),
]
| 22.777778 | 49 | 0.707317 | 29 | 205 | 4.931034 | 0.517241 | 0.13986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141463 | 205 | 8 | 50 | 25.625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.141463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
fb9c2c1b8bc30bb1ac5eddcd8553eed74266fd40 | 666,242 | py | Python | tools/perf/page_sets/alexa1-10000.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | tools/perf/page_sets/alexa1-10000.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | tools/perf/page_sets/alexa1-10000.py | justremotephone/android_external_chromium_org | 246856e61da7acf5494076c74198f2aea894a721 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:13.000Z | 2020-11-04T07:24:13.000Z | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# pylint: disable=W0401,W0614
from telemetry.page.actions.all_page_actions import *
from telemetry.page.page_set import PageSet
from telemetry.page.page impor... | 34.377812 | 72 | 0.548449 | 87,914 | 666,242 | 4.155936 | 0.21521 | 0.291254 | 0.344174 | 0.450073 | 0.514696 | 0.077949 | 0.016531 | 0.000279 | 0 | 0 | 0 | 0.080999 | 0.276108 | 666,242 | 19,379 | 73 | 34.379586 | 0.676568 | 0.37633 | 0 | 0 | 0 | 0 | 0.583144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00031 | false | 0.000722 | 0.00031 | 0 | 0.000826 | 0.000722 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fba34c698a95f81a70c6834b2cb096ed74a0e7fd | 341 | py | Python | questions_extractor.py | MohammadChavosh/VQA | de9ae4eef14ab5f5c2c66174139d0a8cbd5e724e | [
"Apache-2.0"
] | 1 | 2020-11-05T18:30:40.000Z | 2020-11-05T18:30:40.000Z | questions_extractor.py | MohammadChavosh/VQA | de9ae4eef14ab5f5c2c66174139d0a8cbd5e724e | [
"Apache-2.0"
] | null | null | null | questions_extractor.py | MohammadChavosh/VQA | de9ae4eef14ab5f5c2c66174139d0a8cbd5e724e | [
"Apache-2.0"
] | null | null | null | __author__ = 'Mohammad'
import json
train_questions = json.load(open('data/OpenEnded_mscoco_train2014_questions.json'))['questions']
train_questions_file = open('data/train_questions.txt', 'w')
for question in train_questions:
train_questions_file.write(question['question'])
train_questions_file.write('\n')
train_q... | 34.1 | 96 | 0.806452 | 45 | 341 | 5.711111 | 0.466667 | 0.381323 | 0.280156 | 0.210117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012539 | 0.064516 | 341 | 10 | 97 | 34.1 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.28655 | 0.204678 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fbbd6003ca623373e2ae0e113c87ff8749c56bf2 | 2,446 | py | Python | exemples/get-leaf-info.py | Adri1bo/pycarwings2 | 3f62474721d7bff6bf780518bf3878ca8496ae2d | [
"Apache-2.0"
] | 68 | 2016-02-23T06:56:43.000Z | 2021-12-23T12:06:49.000Z | exemples/get-leaf-info.py | Adri1bo/pycarwings2 | 3f62474721d7bff6bf780518bf3878ca8496ae2d | [
"Apache-2.0"
] | 36 | 2016-04-22T16:39:22.000Z | 2022-01-27T10:00:30.000Z | exemples/get-leaf-info.py | Adri1bo/pycarwings2 | 3f62474721d7bff6bf780518bf3878ca8496ae2d | [
"Apache-2.0"
] | 59 | 2016-02-20T14:27:19.000Z | 2021-12-22T10:41:46.000Z | #!/usr/bin/python
import pycarwings2
import time
from ConfigParser import SafeConfigParser
import logging
import sys
import pprint
logging.basicConfig(stream=sys.stdout, level=logging.ERROR)
parser = SafeConfigParser()
candidates = [ 'config.ini', 'my_config.ini' ]
found = parser.read(candidates)
username = parser... | 35.449275 | 107 | 0.793949 | 361 | 2,446 | 5.047091 | 0.235457 | 0.100988 | 0.088913 | 0.035126 | 0.445115 | 0.235456 | 0.225027 | 0.153677 | 0.153677 | 0.053787 | 0 | 0.010403 | 0.096075 | 2,446 | 68 | 108 | 35.970588 | 0.813659 | 0.120196 | 0 | 0.170213 | 0 | 0 | 0.306903 | 0.070429 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.06383 | 0.12766 | null | null | 0.553191 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
fbdc5ab13e17ce5a1c16c9ccb3081803ba2fa4da | 1,842 | py | Python | src/tests/test_wc_text_processor_resource.py | axsaucedo/wcpy-api | dd351f483891ec924a1a6382a84b14238188aafe | [
"MIT"
] | null | null | null | src/tests/test_wc_text_processor_resource.py | axsaucedo/wcpy-api | dd351f483891ec924a1a6382a84b14238188aafe | [
"MIT"
] | null | null | null | src/tests/test_wc_text_processor_resource.py | axsaucedo/wcpy-api | dd351f483891ec924a1a6382a84b14238188aafe | [
"MIT"
] | 1 | 2018-08-05T15:08:51.000Z | 2018-08-05T15:08:51.000Z | import unittest, requests
class TestWCTextResource(unittest.TestCase):
def setUp(self):
self.url = "http://127.0.0.1:3000/raw_text"
def test_simple_text_request(self):
test_data = {
"sorted_list": False,
"raw_text": """One two
Two Threes Thr... | 34.111111 | 58 | 0.544517 | 203 | 1,842 | 4.773399 | 0.216749 | 0.216718 | 0.215686 | 0.057792 | 0.723426 | 0.723426 | 0.454076 | 0.454076 | 0.454076 | 0.454076 | 0 | 0.027575 | 0.330619 | 1,842 | 53 | 59 | 34.754717 | 0.758313 | 0 | 0 | 0.477273 | 0 | 0 | 0.289517 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.090909 | false | 0 | 0.022727 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
837fee43f05108a3ae3eb740132e0481ef1b3e0e | 7,582 | py | Python | tests/components/yessssms/test_notify.py | alindeman/home-assistant | b274b10f3874c196f0db8f9cfa5f47eb756d1f8e | [
"Apache-2.0"
] | 4 | 2019-07-03T22:36:57.000Z | 2019-08-10T15:33:25.000Z | tests/components/yessssms/test_notify.py | alindeman/home-assistant | b274b10f3874c196f0db8f9cfa5f47eb756d1f8e | [
"Apache-2.0"
] | 7 | 2019-08-23T05:26:02.000Z | 2022-03-11T23:57:18.000Z | tests/components/yessssms/test_notify.py | alindeman/home-assistant | b274b10f3874c196f0db8f9cfa5f47eb756d1f8e | [
"Apache-2.0"
] | 3 | 2019-04-28T16:35:45.000Z | 2020-05-28T15:21:59.000Z | """The tests for the notify yessssms platform."""
import unittest
import requests_mock
import homeassistant.components.yessssms.notify as yessssms
class TestNotifyYesssSMS(unittest.TestCase):
"""Test the yessssms notify."""
def setUp(self): # pylint: disable=invalid-name
"""Set up things to be run w... | 36.277512 | 77 | 0.58718 | 742 | 7,582 | 5.866577 | 0.180593 | 0.077188 | 0.090972 | 0.115782 | 0.74799 | 0.723639 | 0.715828 | 0.696761 | 0.674018 | 0.616586 | 0 | 0.012808 | 0.310077 | 7,582 | 208 | 78 | 36.451923 | 0.819346 | 0.131232 | 0 | 0.649007 | 0 | 0 | 0.172885 | 0.06203 | 0 | 0 | 0 | 0 | 0.178808 | 1 | 0.059603 | false | 0.013245 | 0.019868 | 0 | 0.086093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8383f60a641cd7d5714ac87097827301436d5d70 | 222 | py | Python | check_data_integrity/__init__.py | mpmuc84/helper-scripts | 573353827d94f65efe763a93770ba75bcda90fff | [
"BSD-2-Clause"
] | 4 | 2018-10-11T09:48:39.000Z | 2019-11-12T06:17:17.000Z | check_data_integrity/__init__.py | mpmuc84/helper-scripts | 573353827d94f65efe763a93770ba75bcda90fff | [
"BSD-2-Clause"
] | 26 | 2017-11-10T15:46:03.000Z | 2021-08-13T12:02:27.000Z | check_data_integrity/__init__.py | mpmuc84/helper-scripts | 573353827d94f65efe763a93770ba75bcda90fff | [
"BSD-2-Clause"
] | 21 | 2017-10-12T11:47:37.000Z | 2021-05-05T13:07:59.000Z | """
This package contains the modules for both the script checking for data inconsistencies in an opencast
instance as well as for the script for fixing some of those inconsistencies and modules shared by both scripts.
""" | 55.5 | 111 | 0.806306 | 35 | 222 | 5.114286 | 0.714286 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 222 | 4 | 112 | 55.5 | 0.962366 | 0.963964 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
838f98ef8fbcae41cb7d0878cc759aee8afc06d7 | 12,778 | py | Python | pybind/slxos/v16r_1_00b/crypto_sa/crypto/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/crypto_sa/crypto/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/crypto_sa/crypto/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 64.535354 | 654 | 0.693458 | 1,721 | 12,778 | 4.929692 | 0.112144 | 0.04479 | 0.046205 | 0.043847 | 0.757426 | 0.722183 | 0.709453 | 0.691301 | 0.691301 | 0.677393 | 0 | 0.01178 | 0.162936 | 12,778 | 197 | 655 | 64.862944 | 0.781414 | 0.11285 | 0 | 0.378788 | 0 | 0.022727 | 0.320032 | 0.110137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.280303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
839c9a7d9d506d288fbd09cd957e0bde2c2f3fc6 | 6,732 | py | Python | grading/politics_lab.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | 1 | 2020-02-21T15:09:55.000Z | 2020-02-21T15:09:55.000Z | grading/politics_lab.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | null | null | null | grading/politics_lab.py | orangepips/coding-the-matrix | 43ed47bf1febfcbc69fbdbcf9b4d2234512e4b1a | [
"Unlicense"
] | null | null | null | # version code 80e56511a793+
# Please fill out this stencil and submit using the provided submission script.
# Be sure that the file voting_record_dump109.txt is in the matrix/ directory.
## 1: (Task 2.12.1) Create Voting Dict
def create_voting_dict(strlist):
"""
Input: a list of strings. Each string rep... | 36.586957 | 125 | 0.575609 | 1,022 | 6,732 | 3.732877 | 0.205479 | 0.034076 | 0.022018 | 0.025164 | 0.28519 | 0.255308 | 0.222018 | 0.217824 | 0.217824 | 0.217824 | 0 | 0.06339 | 0.259507 | 6,732 | 183 | 126 | 36.786885 | 0.701906 | 0.837938 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.388889 | false | 0.166667 | 0 | 0 | 0.611111 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
83aa7d2f7a08aa22081125ab208a78fd625b20be | 240 | py | Python | tronclass_cli/command/homework/__init__.py | HowyoungZhou/tronclass-cli | 75324e94a30d91da06dea5b23c8974ceac351184 | [
"MIT"
] | 8 | 2021-03-09T12:17:45.000Z | 2021-03-23T11:45:26.000Z | tronclass_cli/command/homework/__init__.py | HowyoungZhou/tronclass-cli | 75324e94a30d91da06dea5b23c8974ceac351184 | [
"MIT"
] | 1 | 2021-05-09T03:13:57.000Z | 2021-05-09T03:13:57.000Z | tronclass_cli/command/homework/__init__.py | HowyoungZhou/tronclass-cli | 75324e94a30d91da06dea5b23c8974ceac351184 | [
"MIT"
] | 1 | 2021-10-07T06:44:07.000Z | 2021-10-07T06:44:07.000Z | from tronclass_cli.command import Command
from .list import HomeworkListCommand
from .submit import HomeworkSubmitCommand
class HomeworkCommand(Command):
name = 'courses'
def _exec(self, args):
self._parser.print_help()
| 20 | 41 | 0.758333 | 27 | 240 | 6.592593 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170833 | 240 | 11 | 42 | 21.818182 | 0.894472 | 0 | 0 | 0 | 0 | 0 | 0.029167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.857143 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
83bc3c8057b99067767ad880641f663fad36766e | 1,390 | py | Python | src/apps/surveys22/tests/test_tokenizer_case2.py | COAStatistics/alss | e1b14cb13de7b8455fa6835587cb1ceb16e4595c | [
"MIT"
] | null | null | null | src/apps/surveys22/tests/test_tokenizer_case2.py | COAStatistics/alss | e1b14cb13de7b8455fa6835587cb1ceb16e4595c | [
"MIT"
] | null | null | null | src/apps/surveys22/tests/test_tokenizer_case2.py | COAStatistics/alss | e1b14cb13de7b8455fa6835587cb1ceb16e4595c | [
"MIT"
] | null | null | null | from . import TestCase, setup_fixtures
from apps.surveys22.builder.tokenizer import Builder
class ModelTestCase(TestCase):
@classmethod
def setUpTestData(cls):
setup_fixtures()
def setUp(self):
self.string = "6700500100020202++008芭樂#1004201100000080000020+++++++++"
self.builder = ... | 43.4375 | 79 | 0.717986 | 173 | 1,390 | 5.612717 | 0.312139 | 0.181256 | 0.234809 | 0.321318 | 0.481977 | 0.38311 | 0.38311 | 0.218332 | 0 | 0 | 0 | 0.069468 | 0.161151 | 1,390 | 31 | 80 | 44.83871 | 0.763293 | 0 | 0 | 0 | 0 | 0 | 0.04964 | 0.039568 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.269231 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83c3ad4fa40c6d662e36c48ac43ff533fa52ec96 | 1,090 | py | Python | tutorial/week6/problem2/src/main/mc/utils/AST.py | khoidohpc/ppl-course | 3bcff3eeeeebc24f0fc9e3f844779f439aa97544 | [
"MIT"
] | 2 | 2020-10-21T13:04:18.000Z | 2022-01-12T11:06:31.000Z | tutorial/week6/problem2/src/main/mc/utils/AST.py | khoidohpc/ppl-course | 3bcff3eeeeebc24f0fc9e3f844779f439aa97544 | [
"MIT"
] | null | null | null | tutorial/week6/problem2/src/main/mc/utils/AST.py | khoidohpc/ppl-course | 3bcff3eeeeebc24f0fc9e3f844779f439aa97544 | [
"MIT"
] | 1 | 2022-01-12T11:06:45.000Z | 2022-01-12T11:06:45.000Z | from abc import ABC, abstractmethod, ABCMeta
from typing import List
from Visitor import Visitor
class AST(ABC):
pass
class Type(AST):
pass
class VarDecl(AST):
# typ:Type
# id:List[str]
def __init__(self, varType, variable):
self.variable = variable
self.varType = varType... | 20.961538 | 81 | 0.606422 | 135 | 1,090 | 4.718519 | 0.274074 | 0.065934 | 0.062794 | 0.100471 | 0.185243 | 0.122449 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0.268807 | 1,090 | 51 | 82 | 21.372549 | 0.799247 | 0.033028 | 0 | 0.28125 | 0 | 0 | 0.036294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.0625 | 0.09375 | 0.25 | 0.84375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
83fa97519baa0363ff75bfe0253d451d72e85e5d | 36,711 | py | Python | models_all_solvable2/clay0304hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_all_solvable2/clay0304hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_all_solvable2/clay0304hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 05/07/21 17:13:02
#
# Equation counts
# Total E G L N X C B
# 258 42 24 192 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc si
# ... | 60.579208 | 79 | 0.572962 | 7,100 | 36,711 | 2.962535 | 0.085493 | 0.039555 | 0.183988 | 0.091281 | 0.717505 | 0.667871 | 0.633641 | 0.633641 | 0.633641 | 0.341542 | 0 | 0.273252 | 0.189044 | 36,711 | 605 | 80 | 60.679339 | 0.433274 | 0.015799 | 0 | 0.164666 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001715 | 0 | 0.001715 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8603c8245d4b002d44f8165df4df853dab8c09b0 | 39 | py | Python | tests/const.py | ppstacy/Kaggler | 4fedc30153a4a74343fdec91468b96372873ebac | [
"MIT"
] | 743 | 2015-02-11T15:47:17.000Z | 2022-03-29T06:58:57.000Z | tests/const.py | Drimdave/Kaggler | 2a8027b534d881619fab8f095cff8876c6b39c55 | [
"MIT"
] | 40 | 2015-03-16T17:44:40.000Z | 2022-03-06T05:40:11.000Z | tests/const.py | Drimdave/Kaggler | 2a8027b534d881619fab8f095cff8876c6b39c55 | [
"MIT"
] | 178 | 2015-02-11T20:43:26.000Z | 2021-11-27T12:46:35.000Z | RANDOM_SEED = 42
TARGET_COL = 'target'
| 13 | 21 | 0.74359 | 6 | 39 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.153846 | 39 | 2 | 22 | 19.5 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
860730f7da053e1ce03b80e7b19b90414526ef02 | 380 | py | Python | dojo/tool_config/urls.py | krbalag/django-DefectDojo | f93e24ef97cd06e426e60e708602eb8fc797ec80 | [
"BSD-3-Clause"
] | 3 | 2020-10-27T08:58:03.000Z | 2021-04-28T14:20:16.000Z | dojo/tool_config/urls.py | viral-sangani/django-DefectDojo | e0fa585ee770bd0b15ba4a73bd81e6cc043650fd | [
"BSD-3-Clause"
] | 173 | 2020-12-17T20:29:09.000Z | 2022-03-23T12:54:32.000Z | dojo/tool_config/urls.py | viral-sangani/django-DefectDojo | e0fa585ee770bd0b15ba4a73bd81e6cc043650fd | [
"BSD-3-Clause"
] | 2 | 2022-02-07T09:57:28.000Z | 2022-03-11T08:42:59.000Z | from django.conf.urls import url
from django.contrib import admin
from django.apps import apps
from . import views
urlpatterns = [
url(r'^tool_config/add', views.new_tool_config, name='add_tool_config'),
url(r'^tool_config/(?P<ttid>\d+)/edit$', views.edit_tool_config,
name='edit_tool_config'),
url(... | 34.545455 | 76 | 0.721053 | 59 | 380 | 4.423729 | 0.355932 | 0.344828 | 0.091954 | 0.16092 | 0.183908 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 380 | 10 | 77 | 38 | 0.790909 | 0 | 0 | 0 | 0 | 0 | 0.271053 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f7b63074d4fe652c6c1f6be38cd1d104422589dd | 5,762 | py | Python | CoinMktCap/core.py | sarthakkimtani/CoinMktCap | 325ea27cb09440d325aa532e086054804f181366 | [
"MIT"
] | 1 | 2021-06-09T12:38:04.000Z | 2021-06-09T12:38:04.000Z | CoinMktCap/core.py | sarthakkimtani/CoinMktCap | 325ea27cb09440d325aa532e086054804f181366 | [
"MIT"
] | null | null | null | CoinMktCap/core.py | sarthakkimtani/CoinMktCap | 325ea27cb09440d325aa532e086054804f181366 | [
"MIT"
] | null | null | null | import json
from requests import Session
from requests.exceptions import ConnectionError, Timeout, TooManyRedirects
class APIError(Exception):
def __init__(self, r):
super().__init__(repr(r))
self.res = r
class CoinMarketCap:
def __init__(self, api_key=None):
self.__base_api_url = "... | 43.651515 | 109 | 0.69698 | 685 | 5,762 | 5.639416 | 0.210219 | 0.056951 | 0.096816 | 0.072224 | 0.53197 | 0.325136 | 0.284494 | 0.196997 | 0.179912 | 0.149625 | 0 | 0.005706 | 0.209129 | 5,762 | 131 | 110 | 43.984733 | 0.842001 | 0.262062 | 0 | 0 | 0 | 0 | 0.174273 | 0.123433 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0 | 0.038462 | 0.282051 | 0.717949 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f7c981180fda0d45321df0d1845e2bc8cfca1907 | 79 | py | Python | logging.py | eldstal/uware | 41c1e175b48e8b204eef3bf8ee810e0e599758a4 | [
"MIT"
] | null | null | null | logging.py | eldstal/uware | 41c1e175b48e8b204eef3bf8ee810e0e599758a4 | [
"MIT"
] | null | null | null | logging.py | eldstal/uware | 41c1e175b48e8b204eef3bf8ee810e0e599758a4 | [
"MIT"
] | null | null | null | import sys
# Has a write() method you can use, nothing else.
LOG = sys.stderr
| 15.8 | 49 | 0.708861 | 14 | 79 | 4 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 79 | 4 | 50 | 19.75 | 0.888889 | 0.594937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f7ebcb41da4984a1560116550ac64e892550028f | 866 | py | Python | openpype/hosts/nuke/api/__init__.py | icyvapor/OpenPype | bf39fc72a550ce8ac6fc8d4c07bc2359ec9cdfa8 | [
"MIT"
] | null | null | null | openpype/hosts/nuke/api/__init__.py | icyvapor/OpenPype | bf39fc72a550ce8ac6fc8d4c07bc2359ec9cdfa8 | [
"MIT"
] | null | null | null | openpype/hosts/nuke/api/__init__.py | icyvapor/OpenPype | bf39fc72a550ce8ac6fc8d4c07bc2359ec9cdfa8 | [
"MIT"
] | null | null | null | from .workio import (
file_extensions,
has_unsaved_changes,
save_file,
open_file,
current_file,
work_root,
)
from .command import (
reset_frame_range,
get_handles,
reset_resolution,
viewer_update_and_undo_stop
)
from .plugin import OpenPypeCreator
from .pipeline import (
in... | 14.931034 | 35 | 0.654734 | 88 | 866 | 5.988636 | 0.431818 | 0.053131 | 0.064516 | 0.091082 | 0.713472 | 0.713472 | 0.713472 | 0.713472 | 0.489564 | 0.489564 | 0 | 0 | 0.247113 | 866 | 57 | 36 | 15.192982 | 0.808282 | 0 | 0 | 0 | 0 | 0 | 0.277136 | 0.031178 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.108696 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
790c77c112f04ac750b068e50533564b671bd615 | 7,851 | py | Python | caffe-tensorflow/examples/imagenet/models/googlenet.py | petercheng00/PSPNet-Keras-tensorflow | d50583786a3e8782dd1b735d268e57392cd8c646 | [
"MIT"
] | 3,209 | 2015-11-10T06:52:59.000Z | 2022-03-10T05:17:28.000Z | caffe-tensorflow/examples/imagenet/models/googlenet.py | petercheng00/PSPNet-Keras-tensorflow | d50583786a3e8782dd1b735d268e57392cd8c646 | [
"MIT"
] | 174 | 2015-11-10T21:32:54.000Z | 2021-11-09T15:51:30.000Z | caffe-tensorflow/examples/imagenet/models/googlenet.py | petercheng00/PSPNet-Keras-tensorflow | d50583786a3e8782dd1b735d268e57392cd8c646 | [
"MIT"
] | 1,218 | 2015-11-10T23:55:48.000Z | 2022-01-07T07:36:57.000Z | from kaffe.tensorflow import Network
class GoogleNet(Network):
def setup(self):
(self.feed('data')
.conv(7, 7, 64, 2, 2, name='conv1_7x7_s2')
.max_pool(3, 3, 2, 2, name='pool1_3x3_s2')
.lrn(2, 2e-05, 0.75, name='pool1_norm1')
.conv(1, 1, 64, 1, 1, name='c... | 41.539683 | 72 | 0.531907 | 1,104 | 7,851 | 3.476449 | 0.075181 | 0.053674 | 0.101615 | 0.246222 | 0.827514 | 0.700104 | 0.51407 | 0.494789 | 0.350182 | 0.164669 | 0 | 0.147757 | 0.312954 | 7,851 | 188 | 73 | 41.760638 | 0.563775 | 0 | 0 | 0.178808 | 0 | 0 | 0.330659 | 0.103172 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006623 | false | 0 | 0.006623 | 0 | 0.019868 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7918933f36f948a41b3c1667a52fa9139e069f76 | 485 | py | Python | tests/gretel_client/conftest.py | gretelai/gretel-python-client | 6c868bb01b67601de2fafb9a95edbc6d60a7a7d9 | [
"Apache-2.0"
] | 23 | 2020-06-11T13:47:17.000Z | 2022-03-03T03:13:24.000Z | tests/gretel_client/conftest.py | gretelai/gretel-python-client | 6c868bb01b67601de2fafb9a95edbc6d60a7a7d9 | [
"Apache-2.0"
] | 16 | 2020-06-23T18:25:47.000Z | 2021-07-30T23:05:00.000Z | tests/gretel_client/conftest.py | gretelai/gretel-python-client | 6c868bb01b67601de2fafb9a95edbc6d60a7a7d9 | [
"Apache-2.0"
] | 4 | 2021-03-22T17:24:57.000Z | 2021-07-27T08:28:25.000Z | from pathlib import Path
from unittest.mock import MagicMock
import pytest
from gretel_client.config import configure_session
FIXTURES = Path(__file__).parent / "fixtures"
@pytest.fixture
def get_fixture():
def _(name: str) -> Path:
return FIXTURES / name
return _
@pytest.fixture(scope="function... | 17.962963 | 50 | 0.729897 | 61 | 485 | 5.590164 | 0.508197 | 0.140762 | 0.093842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162887 | 485 | 26 | 51 | 18.653846 | 0.839901 | 0 | 0 | 0.125 | 0 | 0 | 0.090722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
791b9f13f2a333e73199ff8691b7ae12497e1d22 | 457 | py | Python | LAMARCK_ML/utils/dataSaver/interface.py | JonasDHomburg/LAMARCK | 0e372c908ff59effc6fd68e6477d04c4d89e6c26 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2019-09-20T08:03:47.000Z | 2021-05-10T11:02:09.000Z | LAMARCK_ML/utils/dataSaver/interface.py | JonasDHomburg/LAMARCK_ML | 0e372c908ff59effc6fd68e6477d04c4d89e6c26 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | LAMARCK_ML/utils/dataSaver/interface.py | JonasDHomburg/LAMARCK_ML | 0e372c908ff59effc6fd68e6477d04c4d89e6c26 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | from LAMARCK_ML.models.interface import ModellUtil
class DataSaverInterface(ModellUtil):
def __init__(self, **kwargs):
super(DataSaverInterface, self).__init__(**kwargs)
def get_individual_by_name(self, name):
raise NotImplementedError()
def get_ancestry_for_ind(self, ind_name):
raise NotImplement... | 25.388889 | 54 | 0.770241 | 51 | 457 | 6.529412 | 0.490196 | 0.072072 | 0.243243 | 0.27027 | 0.204204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140044 | 457 | 18 | 55 | 25.388889 | 0.847328 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 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 | 0 | 0 | 0 | 3 |
791c256afcd601b58a7fe0e31450d8a8717e4b99 | 362 | py | Python | NeutonMethod.py | cosadiz69/python | c680d6a9d9903d5739c5597f9ad7ed67051b392b | [
"MIT"
] | null | null | null | NeutonMethod.py | cosadiz69/python | c680d6a9d9903d5739c5597f9ad7ed67051b392b | [
"MIT"
] | null | null | null | NeutonMethod.py | cosadiz69/python | c680d6a9d9903d5739c5597f9ad7ed67051b392b | [
"MIT"
] | 1 | 2020-10-01T09:33:07.000Z | 2020-10-01T09:33:07.000Z | import math
def newton(function,function1,startingInt): #function is the f(x) and function1 is the f'(x)
x_n=startingInt
while True:
x_n1=x_n-function(x_n)/function1(x_n)
if abs(x_n-x_n1)<0.00001:
return x_n1
x_n=x_n1
def f(x):
return math.pow(x,3)-2*x-5
def f1(x):
retur... | 21.294118 | 92 | 0.635359 | 74 | 362 | 2.972973 | 0.364865 | 0.054545 | 0.054545 | 0.063636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 0.220994 | 362 | 17 | 93 | 21.294118 | 0.702128 | 0.129834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
79298e57a708dda9c02c48394e82f76392faa705 | 186 | py | Python | src/util/error.py | aYukiYoshida/xisscfeffect | 416c1beabb75332cc00c57e1d8c25d600de96e9f | [
"MIT"
] | null | null | null | src/util/error.py | aYukiYoshida/xisscfeffect | 416c1beabb75332cc00c57e1d8c25d600de96e9f | [
"MIT"
] | null | null | null | src/util/error.py | aYukiYoshida/xisscfeffect | 416c1beabb75332cc00c57e1d8c25d600de96e9f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class InsufficientInputError(Exception):
"""入力が不足していることを知らせる例外クラス"""
pass
class InvalidInputError(Exception):
"""入力が相応しくないことを知らせる例外クラス"""
pass
| 16.909091 | 40 | 0.682796 | 13 | 186 | 9.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.172043 | 186 | 10 | 41 | 18.6 | 0.818182 | 0.354839 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f70cb7897a6a577a01800875e9d620824adf7fe5 | 784 | py | Python | p038.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p038.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p038.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | def concat_multiples(num, multiples):
return int("".join([str(num*multiple) for multiple in range(1,multiples+1)]))
def is_pandigital(num):
return sorted([int(digit) for digit in str(num)]) == list(range(1,10))
def solve_p038():
# retrieve only 9 digit concatinations of multiples where n = (1,2,..n)
... | 37.333333 | 81 | 0.659439 | 129 | 784 | 3.852713 | 0.403101 | 0.181087 | 0.217304 | 0.104628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080442 | 0.191327 | 784 | 20 | 82 | 39.2 | 0.70347 | 0.08801 | 0 | 0 | 0 | 0 | 0.01122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0.142857 | 0.428571 | 0.071429 | 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 | 0 | 0 | 0 | 3 |
f733f64503456306ed934e0680bde4bebc9a1936 | 6,334 | py | Python | Steg_Tool/steg.py | Affanmir/Awesome-Python-Scripts | bba0512e1c580d605205744ece878da13f2c7661 | [
"MIT"
] | 1,026 | 2018-10-02T18:51:12.000Z | 2022-03-31T13:45:14.000Z | Steg_Tool/steg.py | Affanmir/Awesome-Python-Scripts | bba0512e1c580d605205744ece878da13f2c7661 | [
"MIT"
] | 164 | 2018-10-02T18:37:40.000Z | 2021-11-18T13:29:54.000Z | Steg_Tool/steg.py | Affanmir/Awesome-Python-Scripts | bba0512e1c580d605205744ece878da13f2c7661 | [
"MIT"
] | 521 | 2018-10-02T18:15:40.000Z | 2022-03-26T12:10:15.000Z | #Image Stego using LSB
import cv2
def encode(input_image_name, output_image_name, file_name):
input_image = cv2.imread(input_image_name)
height, width, nbchannels = input_image.shape
size = width*height
current_width = 0
current_height = 0
current_channel = 0
maskonevalues = [1, 2, 4, 8, ... | 36.194286 | 81 | 0.516577 | 678 | 6,334 | 4.637168 | 0.150442 | 0.10687 | 0.045802 | 0.045802 | 0.771629 | 0.732824 | 0.720102 | 0.65458 | 0.65458 | 0.627226 | 0 | 0.045959 | 0.388538 | 6,334 | 174 | 82 | 36.402299 | 0.765815 | 0.018472 | 0 | 0.68323 | 0 | 0 | 0.050692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012422 | false | 0.006211 | 0.006211 | 0 | 0.018634 | 0.018634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f75bd7dce4802c4730d11deacfd0b5d28367f4d6 | 1,764 | py | Python | fdap/app/autopost/template.py | miniyus/finance-data-auto-posting | aa630ac9c488e9db0135206b355c1bb1ba71cc6b | [
"MIT"
] | null | null | null | fdap/app/autopost/template.py | miniyus/finance-data-auto-posting | aa630ac9c488e9db0135206b355c1bb1ba71cc6b | [
"MIT"
] | 1 | 2021-11-06T02:30:37.000Z | 2021-11-06T02:30:37.000Z | fdap/app/autopost/template.py | miniyus/finance-data-auto-posting | aa630ac9c488e9db0135206b355c1bb1ba71cc6b | [
"MIT"
] | null | null | null | def make_subject(sector: str, year: str, q: str):
return f'[업종: {sector}] {year}년도 {q}분기'
def make_strong_tag(value: str):
return f'<strong>{value}</strong>'
def make_p_tag(value: str):
return f'<p>{value}</p>'
def make_img_tag(name: str, src: str):
return f'<img src="{src}" alt="{name}">'
def m... | 23.837838 | 85 | 0.577664 | 230 | 1,764 | 4.213043 | 0.23913 | 0.043344 | 0.04128 | 0.035088 | 0.037152 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004003 | 0.29195 | 1,764 | 73 | 86 | 24.164384 | 0.771817 | 0.024943 | 0 | 0.06383 | 0 | 0 | 0.072368 | 0.014354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.021277 | 0.106383 | 0.553191 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f76a839b324a0610c426264d7db08dd1f218028d | 1,690 | py | Python | doc/examples/not_implemented/pythran_class_with_calls.py | fluiddyn/fluidpythran | e34e9886680e6b8e365d24a77fcb66b67e554043 | [
"CECILL-B"
] | 1 | 2018-10-31T09:30:15.000Z | 2018-10-31T09:30:15.000Z | doc/examples/not_implemented/pythran_class_with_calls.py | fluiddyn/fluidpythran | e34e9886680e6b8e365d24a77fcb66b67e554043 | [
"CECILL-B"
] | null | null | null | doc/examples/not_implemented/pythran_class_with_calls.py | fluiddyn/fluidpythran | e34e9886680e6b8e365d24a77fcb66b67e554043 | [
"CECILL-B"
] | null | null | null | """
With classes, we have a problem with heritage. Note that for standard functions
(like sum_arrays), we actually also have the problem with monkey patching.
We can just say that monkey patching of `sum_arrays` is not supported (so that
`sum_arrays` can be treated as a Pythran function, and potentially inlined) but
f... | 27.258065 | 95 | 0.695266 | 257 | 1,690 | 4.521401 | 0.420233 | 0.061962 | 0.030981 | 0.041308 | 0.120482 | 0.082616 | 0 | 0 | 0 | 0 | 0 | 0.023952 | 0.209467 | 1,690 | 61 | 96 | 27.704918 | 0.845808 | 0.485799 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.068966 | 0.103448 | 0.62069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f78c4620f49b5ede3d5d4d5c4b7eee52bd1e6b5f | 594 | py | Python | demo/demo/main.py | LandRegistry/land-registry-elements | b3fbd327b9b0aab0f9a0cd0fc0dd1d107ab6980f | [
"MIT"
] | 6 | 2016-02-24T21:20:32.000Z | 2018-05-11T18:35:35.000Z | demo/demo/main.py | LandRegistry/land-registry-elements | b3fbd327b9b0aab0f9a0cd0fc0dd1d107ab6980f | [
"MIT"
] | 21 | 2016-03-01T16:03:35.000Z | 2018-04-17T08:38:37.000Z | demo/demo/main.py | LandRegistry/land-registry-elements | b3fbd327b9b0aab0f9a0cd0fc0dd1d107ab6980f | [
"MIT"
] | 1 | 2021-04-11T05:25:19.000Z | 2021-04-11T05:25:19.000Z | # This file is the entry point.
# First we import the app object, which will get initialised as we do it. Then import methods we're about to use.
from demo.demo.app import app
from demo.demo.blueprints import register_blueprints
from demo.demo.exceptions import register_exception_handlers
from demo.demo.extensions.regi... | 42.428571 | 113 | 0.824916 | 93 | 594 | 5.182796 | 0.44086 | 0.06639 | 0.099585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 594 | 13 | 114 | 45.692308 | 0.934109 | 0.493266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f7909e46ac56af0dd545fe37c0b94208a01ee179 | 2,926 | py | Python | release/stubs.min/System/__init___parts/ApplicationId.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/ApplicationId.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/ApplicationId.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class ApplicationId(object):
"""
Contains information used to uniquely identify a manifest-based application. This class cannot be inherited.
ApplicationId(publicKeyToken: Array[Byte],name: str,version: Version,processorArchitecture: str,culture: str)
"""
def ZZZ(self):
"""hardcoded/mock instance of t... | 32.153846 | 130 | 0.7054 | 351 | 2,926 | 5.823362 | 0.259259 | 0.073386 | 0.044031 | 0.058708 | 0.429061 | 0.392857 | 0.392857 | 0.392857 | 0.299902 | 0.299902 | 0 | 0 | 0.190021 | 2,926 | 90 | 131 | 32.511111 | 0.862447 | 0.453178 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.291667 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f7934dfcdbe48e20682379c014daf3b0793cdbf3 | 54,454 | py | Python | gensrc/script/starrocks_builtins_functions.py | zxyboy/starrocks | 6de5d7412bb654fa667b78ad9ee66b99c8c63e50 | [
"BSD-3-Clause-Clear",
"Zlib",
"PSF-2.0",
"Apache-2.0"
] | 1 | 2021-09-09T08:28:37.000Z | 2021-09-09T08:28:37.000Z | gensrc/script/starrocks_builtins_functions.py | zxyboy/starrocks | 6de5d7412bb654fa667b78ad9ee66b99c8c63e50 | [
"BSD-3-Clause-Clear",
"Zlib",
"PSF-2.0",
"Apache-2.0"
] | null | null | null | gensrc/script/starrocks_builtins_functions.py | zxyboy/starrocks | 6de5d7412bb654fa667b78ad9ee66b99c8c63e50 | [
"BSD-3-Clause-Clear",
"Zlib",
"PSF-2.0",
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
# This file is made available under Elastic License 2.0
# This file is based on code available under the Apache license here:
# https://github.com/apache/incubator-doris/blob/master/gensrc/script/doris_builtins_functions.py
# Licensed to the Apache Software Foundation (ASF) u... | 62.735023 | 143 | 0.72485 | 3,182 | 54,454 | 11.93369 | 0.21653 | 0.062992 | 0.032839 | 0.033919 | 0.24944 | 0.173913 | 0.154531 | 0.135122 | 0.135122 | 0.102389 | 0 | 0.075451 | 0.139365 | 54,454 | 867 | 144 | 62.807382 | 0.734813 | 0.050116 | 0 | 0.226542 | 0 | 0 | 0.722407 | 0.559386 | 0 | 0 | 0 | 0.001153 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f79a22bba2bf4a2a92f9e53cd60b59c5fe7e4cb4 | 452 | py | Python | src/imports/migrations/0005_alter_importbatch_uid.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | 2 | 2021-09-10T19:40:30.000Z | 2022-01-31T07:15:51.000Z | src/imports/migrations/0005_alter_importbatch_uid.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | null | null | null | src/imports/migrations/0005_alter_importbatch_uid.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | 1 | 2021-09-10T19:40:42.000Z | 2021-09-10T19:40:42.000Z | # Generated by Django 3.2.7 on 2021-09-16 09:50
from django.db import migrations, models
import uuid
class Migration(migrations.Migration):
dependencies = [
('imports', '0004_importbatch_id'),
]
operations = [
migrations.AlterField(
model_name='importbatch',
name... | 22.6 | 106 | 0.630531 | 51 | 452 | 5.490196 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068452 | 0.256637 | 452 | 19 | 107 | 23.789474 | 0.764881 | 0.099558 | 0 | 0 | 1 | 0 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e3a4a43bc5610eb7ca2a9f7d9bb46f7d141a8bda | 328 | py | Python | global_helpers/tokens_controller.py | jdraiv/lock | 937aea51d630de180172e7fbebf435e4ac789cda | [
"MIT"
] | null | null | null | global_helpers/tokens_controller.py | jdraiv/lock | 937aea51d630de180172e7fbebf435e4ac789cda | [
"MIT"
] | null | null | null | global_helpers/tokens_controller.py | jdraiv/lock | 937aea51d630de180172e7fbebf435e4ac789cda | [
"MIT"
] | null | null | null |
from main import keys
import jwt
import pyrtk
def create_jwt(user_id):
return jwt.encode({'user_id': user_id}, keys['JWT_KEY'], algorithm="HS256").decode('utf-8')
def create_rtk(user_id):
return pyrtk.create_token(user_id, keys['RTK_KEY'])
def decode_jwt(user_id):
pass
def decode_rtk(user_id):
... | 13.666667 | 95 | 0.704268 | 54 | 328 | 4.018519 | 0.388889 | 0.193548 | 0.082949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.164634 | 328 | 23 | 96 | 14.26087 | 0.777372 | 0 | 0 | 0.181818 | 0 | 0 | 0.095385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.181818 | 0.272727 | 0.181818 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
e3aa1c5a701ba71c76067c3d7e4725394091cbba | 1,050 | py | Python | pbcommand/models/conditions.py | mpkocher/pbcommand | 78514aba81d131569e97ae339eab5271502cf4b7 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-05-21T11:28:59.000Z | 2021-05-21T11:28:59.000Z | pbcommand/models/conditions.py | mpkocher/pbcommand | 78514aba81d131569e97ae339eab5271502cf4b7 | [
"BSD-3-Clause-Clear"
] | null | null | null | pbcommand/models/conditions.py | mpkocher/pbcommand | 78514aba81d131569e97ae339eab5271502cf4b7 | [
"BSD-3-Clause-Clear"
] | null | null | null | """Working doc for Condition data models
https://gist.github.com/mpkocher/347f9ae9092c24888e1c702a916276c2
"""
from collections import namedtuple
class ReseqCondition(namedtuple("ReseqCondition", "cond_id subreadset alignmentset referenceset")):
def to_dict(self):
return {"condId": self.cond_id,
... | 31.818182 | 101 | 0.66381 | 114 | 1,050 | 6 | 0.45614 | 0.026316 | 0.046784 | 0.038012 | 0.125731 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029126 | 0.215238 | 1,050 | 32 | 102 | 32.8125 | 0.800971 | 0.160952 | 0 | 0.333333 | 0 | 0 | 0.222477 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.222222 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e3aaaa8b4619caaec022217533d6ed8024420bea | 119 | py | Python | twiml/voice/pay/pay-1/pay-1.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 234 | 2016-01-27T03:04:38.000Z | 2022-02-25T20:13:43.000Z | twiml/voice/pay/pay-1/pay-1.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 351 | 2016-04-06T16:55:33.000Z | 2022-03-10T18:42:36.000Z | twiml/voice/pay/pay-1/pay-1.6.x.py | Tshisuaka/api-snippets | 52b50037d4af0f3b96adf76197964725a1501e96 | [
"MIT"
] | 494 | 2016-03-30T15:28:20.000Z | 2022-03-28T19:39:36.000Z | from twilio.twiml.voice_response import Pay, VoiceResponse
response = VoiceResponse()
response.pay()
print(response)
| 17 | 58 | 0.806723 | 14 | 119 | 6.785714 | 0.642857 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 6 | 59 | 19.833333 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e3d2ce99d1a6641d1741dcd11f8da91e1c1fb5a7 | 420 | py | Python | app/utils/custom_exc.py | OHS2020064/wechat-helper-server | 7740dc436a6b1281ae29224ee047e6ed8a8272c2 | [
"Apache-2.0"
] | null | null | null | app/utils/custom_exc.py | OHS2020064/wechat-helper-server | 7740dc436a6b1281ae29224ee047e6ed8a8272c2 | [
"Apache-2.0"
] | null | null | null | app/utils/custom_exc.py | OHS2020064/wechat-helper-server | 7740dc436a6b1281ae29224ee047e6ed8a8272c2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2020/6/21 11:13
# @Author : CoderCharm
# @File : custom_exc.py
# @Software: PyCharm
# @Desc :
"""
自定义异常
"""
class PostParamsError(Exception):
def __init__(self, err_desc: str = "POST请求参数错误"):
self.err_desc = err_desc
class TokenAuthErro... | 18.26087 | 53 | 0.628571 | 53 | 420 | 4.698113 | 0.641509 | 0.168675 | 0.176707 | 0.160643 | 0.385542 | 0.240964 | 0.240964 | 0 | 0 | 0 | 0 | 0.036474 | 0.216667 | 420 | 22 | 54 | 19.090909 | 0.720365 | 0.361905 | 0 | 0.333333 | 0 | 0 | 0.075397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 0 | 1 | 0 | 0 | 3 |
e3ed1836f8e8d53f7df5e60917474662ee31bdd4 | 2,619 | py | Python | tests/test_kostalpiko_5_5_1.py | rcasula/KostalPyko | 6be06cd702c24d32795f39c9eaf36aaba746001b | [
"MIT"
] | null | null | null | tests/test_kostalpiko_5_5_1.py | rcasula/KostalPyko | 6be06cd702c24d32795f39c9eaf36aaba746001b | [
"MIT"
] | null | null | null | tests/test_kostalpiko_5_5_1.py | rcasula/KostalPyko | 6be06cd702c24d32795f39c9eaf36aaba746001b | [
"MIT"
] | 1 | 2022-02-01T15:04:09.000Z | 2022-02-01T15:04:09.000Z | import httpretty
import unittest
from kostalpiko.kostalpiko import Piko
import os
class Test551(unittest.TestCase):
def setUp(self):
httpretty.enable(verbose=True) # enable HTTPretty so that it will monkey patch the socket module
httpretty.register_uri(httpretty.GET, "http://example.com/index... | 37.414286 | 132 | 0.685376 | 370 | 2,619 | 4.627027 | 0.256757 | 0.088785 | 0.188668 | 0.228388 | 0.46729 | 0.422897 | 0.40479 | 0.38493 | 0 | 0 | 0 | 0.05174 | 0.18824 | 2,619 | 69 | 133 | 37.956522 | 0.753528 | 0.085147 | 0 | 0 | 0 | 0 | 0.063545 | 0.01296 | 0 | 0 | 0 | 0 | 0.346939 | 1 | 0.387755 | false | 0 | 0.081633 | 0 | 0.489796 | 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 | 0 | 0 | 0 | 3 |
e3f33505ce727fb8d09621f724862df533c806ac | 431 | py | Python | flow/utils/leaderboard/solution_template.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | null | null | null | flow/utils/leaderboard/solution_template.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | null | null | null | flow/utils/leaderboard/solution_template.py | pcmoritz/flow | bc97132e9e2d05262bb6bbad5bda173fd9f4ae92 | [
"MIT"
] | 1 | 2020-08-24T07:41:49.000Z | 2020-08-24T07:41:49.000Z | """
A solution should include:
1. Benchmark scenario;
2. get_actions() method;
3. get_states() method.
"""
# Specify benchmark scenario below.
BENCHMARK = "" # Benchmark name goes here...
# Specify get_action() method below.
def get_actions(state):
# get_actions() code goes here...
return
# Sp... | 19.590909 | 45 | 0.665893 | 55 | 431 | 5.072727 | 0.454545 | 0.107527 | 0.100358 | 0.121864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.206497 | 431 | 21 | 46 | 20.52381 | 0.807018 | 0.707657 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
541581c8f4c942cf5dff328b34ab4abe27b3ab0f | 13,280 | py | Python | open_spiel/python/bots/bluechip_bridge_test.py | ekarais/open_spiel | 0e9b1b75dea3e87f0326fe1012d1b0367196b7dc | [
"Apache-2.0"
] | 2 | 2020-09-05T07:17:08.000Z | 2021-05-02T21:10:28.000Z | open_spiel/python/bots/bluechip_bridge_test.py | ekarais/open_spiel | 0e9b1b75dea3e87f0326fe1012d1b0367196b7dc | [
"Apache-2.0"
] | null | null | null | open_spiel/python/bots/bluechip_bridge_test.py | ekarais/open_spiel | 0e9b1b75dea3e87f0326fe1012d1b0367196b7dc | [
"Apache-2.0"
] | 1 | 2020-06-02T17:52:48.000Z | 2020-06-02T17:52:48.000Z | # Copyright 2019 DeepMind Technologies Ltd. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 41.114551 | 79 | 0.569729 | 1,829 | 13,280 | 4.034992 | 0.199563 | 0.22439 | 0.297019 | 0.211382 | 0.687127 | 0.682791 | 0.681436 | 0.659214 | 0.557588 | 0.557046 | 0 | 0.044547 | 0.313705 | 13,280 | 322 | 80 | 41.242236 | 0.765196 | 0.114985 | 0 | 0.470356 | 0 | 0.007905 | 0.247969 | 0.004961 | 0 | 0 | 0 | 0 | 0.007905 | 1 | 0.003953 | false | 0.043478 | 0.023715 | 0 | 0.031621 | 0.003953 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5417a9a462212d6e19bc5e21f71ae6b35ff0997d | 1,335 | py | Python | howareyoutwitter/api/views.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 1 | 2019-10-24T20:47:24.000Z | 2019-10-24T20:47:24.000Z | howareyoutwitter/api/views.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 12 | 2019-10-22T22:32:40.000Z | 2021-01-07T05:13:25.000Z | howareyoutwitter/api/views.py | tyheise/how-are-you-twitter | 1e4b938381e7d552486e981b0f696f330635ba82 | [
"MIT"
] | 1 | 2020-01-02T22:28:52.000Z | 2020-01-02T22:28:52.000Z | import requests
import twitter
import os
import logging
import json
from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.response import Response
from api.models import Token
from api.twitter_tools import api as twitter_tools_api
from api.twitter_tools.tweet_seeker import Tw... | 30.340909 | 114 | 0.692884 | 172 | 1,335 | 5.290698 | 0.523256 | 0.023077 | 0.037363 | 0.041758 | 0.052747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03619 | 0.213483 | 1,335 | 43 | 115 | 31.046512 | 0.830476 | 0.212734 | 0 | 0.071429 | 0 | 0 | 0.082031 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 1 | 0.071429 | false | 0 | 0.392857 | 0 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5424be1de7c68734daa39fdd0b888384680da56b | 46 | py | Python | pyble/const/characteristic/boot_keyboard_inptut_report.py | bgromov/PyBLEWrapper | 8a5d016e65b3c259391ddc97c371ab4b1b5c61b5 | [
"MIT"
] | 14 | 2015-03-30T23:11:36.000Z | 2020-04-07T00:57:12.000Z | pyble/const/characteristic/boot_keyboard_inptut_report.py | bgromov/PyBLEWrapper | 8a5d016e65b3c259391ddc97c371ab4b1b5c61b5 | [
"MIT"
] | 3 | 2016-05-17T06:11:07.000Z | 2017-05-15T16:43:09.000Z | pyble/const/characteristic/boot_keyboard_inptut_report.py | bgromov/PyBLEWrapper | 8a5d016e65b3c259391ddc97c371ab4b1b5c61b5 | [
"MIT"
] | 11 | 2016-03-11T08:53:03.000Z | 2019-03-11T21:32:13.000Z | NAME="Boot Keyboard Input Report"
UUID=0x2A22
| 15.333333 | 33 | 0.804348 | 7 | 46 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.108696 | 46 | 2 | 34 | 23 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5809ae95b882c6a84bd981d5b27db79b103a8be8 | 17 | py | Python | gxcutil/__init__.py | ludorumjeoun/gxcutil | a5be3a14394c138de8c2ca04f21828d8d9bcf558 | [
"MIT"
] | null | null | null | gxcutil/__init__.py | ludorumjeoun/gxcutil | a5be3a14394c138de8c2ca04f21828d8d9bcf558 | [
"MIT"
] | null | null | null | gxcutil/__init__.py | ludorumjeoun/gxcutil | a5be3a14394c138de8c2ca04f21828d8d9bcf558 | [
"MIT"
] | 1 | 2019-07-16T06:37:26.000Z | 2019-07-16T06:37:26.000Z | name = 'gxcutil'
| 8.5 | 16 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
580a8012922356378465f4fc533f3308e1cdddcc | 907 | py | Python | example/future/restful.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 56 | 2015-05-13T16:08:06.000Z | 2021-12-26T22:24:46.000Z | example/future/restful.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 104 | 2015-01-20T23:55:28.000Z | 2021-03-01T03:29:47.000Z | example/future/restful.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 12 | 2015-05-22T15:46:39.000Z | 2021-09-16T00:38:54.000Z | # encoding: utf-8
"""Slightly more advanced example application."""
class Person:
__dispatch__ = 'rest'
def get(self):
return "Person details."
def post(self):
# Often not supported!
return "Create a child object."
def put(self):
return "Replace or creat... | 19.717391 | 72 | 0.603087 | 104 | 907 | 5.067308 | 0.509615 | 0.132827 | 0.037951 | 0.060721 | 0.182163 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017188 | 0.294377 | 907 | 45 | 73 | 20.155556 | 0.80625 | 0.089305 | 0 | 0.4 | 0 | 0 | 0.221001 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.08 | 0.32 | 0.92 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
580d2c127ae29e785d646b0a5f6439ebe9b46327 | 147 | py | Python | Valid Palindrome.py | akshat-jjain/leetcode-solutions | 46795b63e5ced867ecd4a5cfc4f8d49171a5ff14 | [
"MIT"
] | 1 | 2021-08-23T14:21:41.000Z | 2021-08-23T14:21:41.000Z | Valid Palindrome.py | akshat-jjain/leetcode-solutions | 46795b63e5ced867ecd4a5cfc4f8d49171a5ff14 | [
"MIT"
] | null | null | null | Valid Palindrome.py | akshat-jjain/leetcode-solutions | 46795b63e5ced867ecd4a5cfc4f8d49171a5ff14 | [
"MIT"
] | null | null | null | class Solution:
def isPalindrome(self, s: str) -> bool:
s=s.lower()
s=[x for x in s if x.isalnum() ]
return s==s[::-1]
| 24.5 | 43 | 0.510204 | 24 | 147 | 3.125 | 0.666667 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.319728 | 147 | 5 | 44 | 29.4 | 0.74 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
58116b302d6983db9100558b65b1aafeab9ef9dd | 229 | py | Python | backend/handler/case/urls.py | felixu1992/testing-platform | d7008343c25ec7f47acb670ae5c9b9b5f0593d63 | [
"Apache-2.0"
] | null | null | null | backend/handler/case/urls.py | felixu1992/testing-platform | d7008343c25ec7f47acb670ae5c9b9b5f0593d63 | [
"Apache-2.0"
] | null | null | null | backend/handler/case/urls.py | felixu1992/testing-platform | d7008343c25ec7f47acb670ae5c9b9b5f0593d63 | [
"Apache-2.0"
] | null | null | null | from django.urls import path, include
from rest_framework import routers
from backend.handler.case import case_info
# 用例
case_router = routers.DefaultRouter()
case_router.register(r'', case_info.CaseInfoViewSet, basename='case') | 32.714286 | 69 | 0.820961 | 32 | 229 | 5.71875 | 0.625 | 0.087432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091703 | 229 | 7 | 69 | 32.714286 | 0.879808 | 0.008734 | 0 | 0 | 0 | 0 | 0.017699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
583fbedfcc96ebc2015342e042d25fa824529a11 | 327 | py | Python | pymusement/parks/sixflags/SixFlagsAmerica.py | CNCTD/pymusement | 664fd31edad107c339816bb8909311e823261160 | [
"MIT"
] | null | null | null | pymusement/parks/sixflags/SixFlagsAmerica.py | CNCTD/pymusement | 664fd31edad107c339816bb8909311e823261160 | [
"MIT"
] | null | null | null | pymusement/parks/sixflags/SixFlagsAmerica.py | CNCTD/pymusement | 664fd31edad107c339816bb8909311e823261160 | [
"MIT"
] | 1 | 2021-06-02T19:56:12.000Z | 2021-06-02T19:56:12.000Z | from pymusement.parks.sixflags.SixFlagsPark import SixFlagsPark
class SixFlagsAmerica(SixFlagsPark):
def __init__(self):
super(SixFlagsAmerica, self).__init__()
def getId(self):
return 14
def getCity(self):
return 'Bowie'
def getName(self):
return 'Six Flags America... | 23.357143 | 63 | 0.66055 | 34 | 327 | 6.117647 | 0.617647 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.253823 | 327 | 14 | 64 | 23.357143 | 0.844262 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.3 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
585a64515552ca8f6caaa926ffcc225f0d964c97 | 148 | py | Python | telegram/apps.py | Igorishe/Report_Traker | 886da5d5dd40247779a76611cf6b66cb95963ad7 | [
"MIT"
] | null | null | null | telegram/apps.py | Igorishe/Report_Traker | 886da5d5dd40247779a76611cf6b66cb95963ad7 | [
"MIT"
] | null | null | null | telegram/apps.py | Igorishe/Report_Traker | 886da5d5dd40247779a76611cf6b66cb95963ad7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TelegramConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'telegram'
| 21.142857 | 56 | 0.763514 | 17 | 148 | 6.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 57 | 24.666667 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
586148c9631d97c673751f9dc0f7dbd688194bff | 1,395 | py | Python | fasternix_stratalorn/__init__.py | funilrys/Fasternix-Stratalorn | 45b868a791a8ae456937b676265c60c9c8382033 | [
"MIT"
] | 2 | 2017-11-24T15:13:37.000Z | 2017-11-25T00:25:11.000Z | fasternix_stratalorn/__init__.py | funilrys/Fasternix-Stratalorn | 45b868a791a8ae456937b676265c60c9c8382033 | [
"MIT"
] | null | null | null | fasternix_stratalorn/__init__.py | funilrys/Fasternix-Stratalorn | 45b868a791a8ae456937b676265c60c9c8382033 | [
"MIT"
] | null | null | null | # Fasternix Stratalorn - Python module/library for saving the list of translators of a given Transifex project into a JSON file.
# Copyright (C) 2017 Nissar Chababy <contact at funilrys dot com>
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE W... | 39.857143 | 129 | 0.743369 | 207 | 1,395 | 4.961353 | 0.487923 | 0.042843 | 0.02629 | 0.038948 | 0.031159 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.185663 | 1,395 | 34 | 130 | 41.029412 | 0.900528 | 0.766308 | 0 | 0 | 0 | 0 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.428571 | 0.428571 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
586ad8ca47b14d2879651bdf70d23a78c26fd94b | 163 | py | Python | eduvpn/__init__.py | 14mRh4X0r/python-eduvpn-client | e70e42283eb9caef1ec969cdff6a385350397aca | [
"Apache-2.0"
] | 1 | 2021-05-25T07:51:30.000Z | 2021-05-25T07:51:30.000Z | eduvpn/__init__.py | edvfb9/python-eduvpn-client | 79f01aab392e9f93a517a70f371a0b110ce7e1c4 | [
"Apache-2.0"
] | null | null | null | eduvpn/__init__.py | edvfb9/python-eduvpn-client | 79f01aab392e9f93a517a70f371a0b110ce7e1c4 | [
"Apache-2.0"
] | 1 | 2021-05-25T07:50:14.000Z | 2021-05-25T07:50:14.000Z | import pkg_resources
try:
__version__: str = pkg_resources.require("eduvpn")[0].version
except pkg_resources.DistributionNotFound:
__version__ = "0.0dev"
| 23.285714 | 65 | 0.766871 | 19 | 163 | 6 | 0.631579 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021127 | 0.128834 | 163 | 6 | 66 | 27.166667 | 0.78169 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5876f88311047399b58a6a93af68e1aab3534fe1 | 2,773 | py | Python | pyboletox/Cnab/Retorno/abstractRetorno.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:42.000Z | 2022-03-14T12:22:42.000Z | pyboletox/Cnab/Retorno/abstractRetorno.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | null | null | null | pyboletox/Cnab/Retorno/abstractRetorno.py | lucasbrahm/pyboletox | d7cfff477622a4d5df255045428325f04fbe695a | [
"MIT"
] | 1 | 2022-03-14T12:22:27.000Z | 2022-03-14T12:22:27.000Z | from abc import abstractmethod
import re
from pyboletox.util import Util
from pyboletox.Contracts.Boleto.boleto import Boleto as BoletoContract
class AbstractRetorno:
def __init__(self, file) -> None:
# Se Cnab ja foi processado
self._processado = False
# Código do banco
self._cod... | 22.917355 | 93 | 0.612694 | 317 | 2,773 | 5.230284 | 0.350158 | 0.084439 | 0.075995 | 0.022919 | 0.057901 | 0.033776 | 0.033776 | 0 | 0 | 0 | 0 | 0.014315 | 0.294627 | 2,773 | 120 | 94 | 23.108333 | 0.833333 | 0.053732 | 0 | 0.103896 | 0 | 0 | 0.034391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.311688 | false | 0.038961 | 0.051948 | 0.207792 | 0.597403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
58908b3c94ddfe13b3a882466f5f5bf6def0cb0d | 943 | py | Python | data_tools/lib/addresses.py | scoky/python-tools | 011315754e53c5dba09e6a250407d96ee20a18d9 | [
"MIT"
] | null | null | null | data_tools/lib/addresses.py | scoky/python-tools | 011315754e53c5dba09e6a250407d96ee20a18d9 | [
"MIT"
] | null | null | null | data_tools/lib/addresses.py | scoky/python-tools | 011315754e53c5dba09e6a250407d96ee20a18d9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import re
import sys
import socket
import struct
ip_pattern = re.compile("(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})")
def findIPAddress(value):
try:
# Might be a simple integer
return int(value)
except ValueError:
m = ip_pattern.search(value)
if m: #... | 24.179487 | 64 | 0.606575 | 143 | 943 | 3.972028 | 0.461538 | 0.014085 | 0.021127 | 0.021127 | 0.021127 | 0.021127 | 0.021127 | 0.021127 | 0.021127 | 0 | 0 | 0.032609 | 0.219512 | 943 | 38 | 65 | 24.815789 | 0.73913 | 0.103924 | 0 | 0 | 0 | 0.035714 | 0.053508 | 0.042806 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.178571 | 0.107143 | 0.678571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5893d03751ec16b92ca334bec3d690d5faf2eb51 | 556 | py | Python | dqn/history.py | khurshedmemon/DQN-UN-TL | 1a981feff66825b6c35aafd08aba29d3c08ed745 | [
"Apache-2.0"
] | 1 | 2021-12-01T15:08:44.000Z | 2021-12-01T15:08:44.000Z | dqn/history.py | khurshedmemon/DQN-UN-TL | 1a981feff66825b6c35aafd08aba29d3c08ed745 | [
"Apache-2.0"
] | 1 | 2021-12-02T06:09:05.000Z | 2021-12-02T06:09:05.000Z | dqn/history.py | khurshedmemon/DQN-UN-TL | 1a981feff66825b6c35aafd08aba29d3c08ed745 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pdb
class History:
def __init__(self, data_format, batch_size, history_length, screen_dims):
self.data_format = data_format
self.history = np.zeros([history_length] + list(screen_dims), dtype=np.float32)
def add(self, screen):
self.history[:-1] = self.history[1:]
self... | 27.8 | 83 | 0.669065 | 82 | 556 | 4.378049 | 0.439024 | 0.245125 | 0.133705 | 0.089136 | 0.100279 | 0.100279 | 0 | 0 | 0 | 0 | 0 | 0.022422 | 0.197842 | 556 | 20 | 84 | 27.8 | 0.782511 | 0 | 0 | 0 | 0 | 0 | 0.007181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
54513b5d08471f4302fac1d17784b07695939095 | 489 | py | Python | handlers/eventhandlers/44-start-match.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | null | null | null | handlers/eventhandlers/44-start-match.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | null | null | null | handlers/eventhandlers/44-start-match.py | kawatapw/kuriso | a24baa12ccfdaab7cd0772985a1ada5a6a09f0d7 | [
"MIT"
] | null | null | null | from handlers.decorators import OsuEvent
from packets.OsuPacketID import OsuPacketID
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from objects.Player import Player
# client packet: 44, bancho response: update match
@OsuEvent.register_handler(OsuPacketID.Client_MatchStart)
async def match_change_team(_, to... | 27.166667 | 84 | 0.777096 | 66 | 489 | 5.636364 | 0.575758 | 0.107527 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004843 | 0.155419 | 489 | 17 | 85 | 28.764706 | 0.895884 | 0.09816 | 0 | 0 | 0 | 0 | 0.013667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5456dc0b6181bb27b42b9b8c25a14f0fc8219709 | 101 | py | Python | test.py | dhruvbaslas/Unofficial-FromSmashAPI | 3b8945e5693757cafa55cd87d64b4fbd53cc1a12 | [
"MIT"
] | 2 | 2021-03-08T20:37:45.000Z | 2021-03-28T11:24:19.000Z | test.py | dhruvbaslas/Unofficial-FromSmashAPI | 3b8945e5693757cafa55cd87d64b4fbd53cc1a12 | [
"MIT"
] | null | null | null | test.py | dhruvbaslas/Unofficial-FromSmashAPI | 3b8945e5693757cafa55cd87d64b4fbd53cc1a12 | [
"MIT"
] | null | null | null | from FromSmashAPI import FromSmashAPI
api = FromSmashAPI()
print(api.upload_file("abc.jpg", 1)) | 20.2 | 38 | 0.742574 | 13 | 101 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.138614 | 101 | 5 | 39 | 20.2 | 0.83908 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
548c70cdbef9cfc0d389637ff593e25ed5d39442 | 1,078 | py | Python | epad/migrations/0004_auto_20200123_1827.py | NzauM/EPAD | 2676b19aca5d2e53c16914b86a4c976bd159fc29 | [
"MIT"
] | null | null | null | epad/migrations/0004_auto_20200123_1827.py | NzauM/EPAD | 2676b19aca5d2e53c16914b86a4c976bd159fc29 | [
"MIT"
] | 2 | 2020-06-06T01:19:00.000Z | 2021-06-10T22:30:55.000Z | epad/migrations/0004_auto_20200123_1827.py | NzauM/EPAD | 2676b19aca5d2e53c16914b86a4c976bd159fc29 | [
"MIT"
] | null | null | null | # Generated by Django 2.0 on 2020-01-23 15:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('epad', '0003_auto_20200122_1554'),
]
operations = [
migrations.AlterField(
model_name='profile',
name='employed_on',
... | 27.641026 | 71 | 0.564935 | 104 | 1,078 | 5.701923 | 0.442308 | 0.111298 | 0.210793 | 0.244519 | 0.558179 | 0.558179 | 0.423272 | 0.423272 | 0.423272 | 0.423272 | 0 | 0.053061 | 0.318182 | 1,078 | 38 | 72 | 28.368421 | 0.753742 | 0.039889 | 0 | 0.5625 | 1 | 0 | 0.116167 | 0.022265 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
548ed215bae53c8937cf9c6d938cc2dcb862bb52 | 2,091 | py | Python | dragonchain/webserver/routes/misc.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | dragonchain/webserver/routes/misc.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | dragonchain/webserver/routes/misc.py | cheeseandcereal/dragonchain | 34d34e344b887c2a0eeb591ede2015cc2506a323 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Dragonchain, Inc.
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# compliance with the Apache License and the following modification to it:
# Section 6. Trademarks. is deleted and replaced with:
# 6. Tr... | 45.456522 | 125 | 0.747011 | 311 | 2,091 | 4.926045 | 0.469453 | 0.041123 | 0.073107 | 0.041123 | 0.103133 | 0.073107 | 0.049608 | 0.049608 | 0.049608 | 0 | 0 | 0.013801 | 0.168341 | 2,091 | 45 | 126 | 46.466667 | 0.867165 | 0.599235 | 0 | 0 | 0 | 0 | 0.117573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.357143 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
549112f2e4e518e7dc5ef87eaa7660dfe11c98bb | 268 | py | Python | py_tdlib/constructors/address.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/address.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/address.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class address(Type):
country_code = None # type: "string"
state = None # type: "string"
city = None # type: "string"
street_line1 = None # type: "string"
street_line2 = None # type: "string"
postal_code = None # type: "string"
| 24.363636 | 38 | 0.660448 | 35 | 268 | 4.942857 | 0.457143 | 0.277457 | 0.485549 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.208955 | 268 | 10 | 39 | 26.8 | 0.806604 | 0.33209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
54a4a2de1cea5b4a44fddbaec93e0de81628c783 | 163 | py | Python | src/setup.py | Rishabkashyap14/Smart_Library_System | 6346d39371b5c678c95486d1e82adb6b43943ecb | [
"MIT"
] | 1 | 2021-11-04T18:40:38.000Z | 2021-11-04T18:40:38.000Z | src/setup.py | Rishabkashyap14/Smart_Library_System | 6346d39371b5c678c95486d1e82adb6b43943ecb | [
"MIT"
] | null | null | null | src/setup.py | Rishabkashyap14/Smart_Library_System | 6346d39371b5c678c95486d1e82adb6b43943ecb | [
"MIT"
] | null | null | null | from setuptools import setup, Extension
# Compile *mysum.cpp* into a shared library
setup(
#...
ext_modules=[Extension('Addbook', ['Addbook.cpp'],),],
)
| 20.375 | 58 | 0.668712 | 19 | 163 | 5.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165644 | 163 | 7 | 59 | 23.285714 | 0.794118 | 0.276074 | 0 | 0 | 0 | 0 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
54be61298d4e4a72bac4ec55ce342424c0274e45 | 740 | py | Python | dc18/markdown.py | Ajuajmal/heroku | f23aad8c392a273caf0da39cedeec4746ded29dc | [
"0BSD"
] | null | null | null | dc18/markdown.py | Ajuajmal/heroku | f23aad8c392a273caf0da39cedeec4746ded29dc | [
"0BSD"
] | null | null | null | dc18/markdown.py | Ajuajmal/heroku | f23aad8c392a273caf0da39cedeec4746ded29dc | [
"0BSD"
] | null | null | null | import re
from django.contrib.staticfiles.templatetags.staticfiles import static
from markdown.extensions import Extension
from markdown.postprocessors import Postprocessor
assetRE = re.compile(r'{% static [\'"](.*?)[\'"] %}')
class DjangoStaticAssetsProcessor(Postprocessor):
def replacement(self, match):
... | 25.517241 | 70 | 0.687838 | 75 | 740 | 6.733333 | 0.52 | 0.047525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008446 | 0.2 | 740 | 28 | 71 | 26.428571 | 0.844595 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
54c7e91ea6875b5bf51180046748bf9304beb65d | 618 | py | Python | LeetCode/0101. Symmetric Tree.py | null-kryptonian/ProblemSolving | e11daca211a45b72316d3aea7b373e97b81e986b | [
"MIT"
] | 1 | 2021-09-15T19:08:17.000Z | 2021-09-15T19:08:17.000Z | LeetCode/0101. Symmetric Tree.py | superior-prog/ProblemSolving | bf56f6b12196ff02c34fe4d14db64f4e5f58b990 | [
"MIT"
] | null | null | null | LeetCode/0101. Symmetric Tree.py | superior-prog/ProblemSolving | bf56f6b12196ff02c34fe4d14db64f4e5f58b990 | [
"MIT"
] | null | null | null | # Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def isMirror(self, r1: TreeNode, r2: TreeNode) -> bool:
if r1 == None and r2 == None:
re... | 34.333333 | 107 | 0.567961 | 82 | 618 | 4.231707 | 0.353659 | 0.103746 | 0.04611 | 0.097983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030733 | 0.315534 | 618 | 18 | 108 | 34.333333 | 0.789598 | 0.289644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
49af714c2739b76afa5990716f40fd430a79cd0b | 224 | py | Python | api/curve/db.py | QiliangFan/Baidu-Curve | b3573b9f0e44557f0bf2455ec7d5a85bc0cffdef | [
"Apache-2.0"
] | 478 | 2017-10-26T11:55:28.000Z | 2022-03-28T06:50:58.000Z | api/curve/db.py | QiliangFan/Baidu-Curve | b3573b9f0e44557f0bf2455ec7d5a85bc0cffdef | [
"Apache-2.0"
] | 60 | 2017-10-28T07:45:45.000Z | 2020-12-04T14:12:55.000Z | api/curve/db.py | QiliangFan/Baidu-Curve | b3573b9f0e44557f0bf2455ec7d5a85bc0cffdef | [
"Apache-2.0"
] | 132 | 2017-10-24T06:09:05.000Z | 2021-09-21T16:03:10.000Z | # -*- coding: utf-8 -*-
"""
Curve
~~~~
db package
:copyright: (c) 2017-2018 by Baidu, Inc.
:license: Apache, see LICENSE for more details.
"""
import flask_sqlalchemy
db = flask_sqlalchemy.SQLAlchemy()
| 17.230769 | 51 | 0.620536 | 27 | 224 | 5.074074 | 0.814815 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052023 | 0.227679 | 224 | 12 | 52 | 18.666667 | 0.739884 | 0.598214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
49b7158ac21be12d5ad580282fb188e3a087689a | 587 | py | Python | caravel/__init__.py | neurospin/pycaravel | 412d37ae1b06afcc9645e01a096bbe2674cfe47a | [
"CECILL-B"
] | null | null | null | caravel/__init__.py | neurospin/pycaravel | 412d37ae1b06afcc9645e01a096bbe2674cfe47a | [
"CECILL-B"
] | null | null | null | caravel/__init__.py | neurospin/pycaravel | 412d37ae1b06afcc9645e01a096bbe2674cfe47a | [
"CECILL-B"
] | 1 | 2020-08-27T13:17:00.000Z | 2020-08-27T13:17:00.000Z | # coding: utf-8
##########################################################################
# NSAp - Copyright (C) CEA, 2019
# Distributed under the terms of the CeCILL-B license, as published by
# the CEA-CNRS-INRIA. Refer to the LICENSE file or to
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
# for det... | 32.611111 | 74 | 0.563884 | 70 | 587 | 4.614286 | 0.7 | 0.043344 | 0.099071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011538 | 0.11414 | 587 | 17 | 75 | 34.529412 | 0.609615 | 0.502555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
49bcf5b69bfe5ab8878a41bf57ed0767e5444fee | 429 | py | Python | lifeMEDeasy/forms.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 28 | 2020-09-07T16:03:29.000Z | 2022-03-04T06:54:46.000Z | lifeMEDeasy/forms.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 93 | 2020-08-28T10:35:53.000Z | 2022-02-26T05:27:02.000Z | lifeMEDeasy/forms.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 62 | 2020-08-28T10:05:42.000Z | 2021-09-11T05:14:33.000Z | from django.forms import ModelForm
from .models import PatientRegister, DoctorRegister, Emergency
class PatientRegisterForm(ModelForm):
class Meta:
model = PatientRegister
fields = "__all__"
class DoctorRegisterForm(ModelForm):
class Meta:
model = DoctorRegister
fields = "__a... | 20.428571 | 62 | 0.687646 | 38 | 429 | 7.447368 | 0.447368 | 0.14841 | 0.190813 | 0.243816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247086 | 429 | 20 | 63 | 21.45 | 0.876161 | 0 | 0 | 0.428571 | 0 | 0 | 0.048951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
49cca717345ba3582aa89164d0760ba72bab972f | 593 | py | Python | risk_scores_calculation/urls.py | Meta-VCI-Map/LSMviewer | 39143e123f42ae7f5087a23d80a8a3048fad1696 | [
"MIT"
] | null | null | null | risk_scores_calculation/urls.py | Meta-VCI-Map/LSMviewer | 39143e123f42ae7f5087a23d80a8a3048fad1696 | [
"MIT"
] | null | null | null | risk_scores_calculation/urls.py | Meta-VCI-Map/LSMviewer | 39143e123f42ae7f5087a23d80a8a3048fad1696 | [
"MIT"
] | null | null | null |
# risk_scores_calculation/urls.py
from django.urls import include, path
from rest_framework import routers
from .views import RequestResultViewSet
router = routers.DefaultRouter()
urlpatterns = [
#path('', include(router.urls)),
# API endpoints
path('calculate-location-risk-score', RequestResultViewSet... | 34.882353 | 113 | 0.787521 | 66 | 593 | 6.893939 | 0.439394 | 0.059341 | 0.191209 | 0.167033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10118 | 593 | 17 | 114 | 34.882353 | 0.853659 | 0.128162 | 0 | 0 | 0 | 0 | 0.247563 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
49d3370965e587ff298b01c6913c30846b655bef | 515 | py | Python | python/30 days of code/day11.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | 1 | 2020-10-06T01:20:07.000Z | 2020-10-06T01:20:07.000Z | python/30 days of code/day11.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | python/30 days of code/day11.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | def get_sum(arr,i,j):
sum = 0
sum += arr[i-1][j-1]
sum += arr[i-1][j]
sum += arr[i - 1][j+1]
sum += arr[i][j]
sum += arr[i+1][j-1]
sum += arr[i+1][j]
sum += arr[i+1][j+1]
return sum
if __name__ == '__main__':
arr = []
for _ in range(6):
arr.append(list(map(int, inp... | 20.6 | 60 | 0.500971 | 95 | 515 | 2.557895 | 0.294737 | 0.222222 | 0.259259 | 0.197531 | 0.374486 | 0.271605 | 0.271605 | 0.271605 | 0.271605 | 0.271605 | 0 | 0.049587 | 0.295146 | 515 | 25 | 61 | 20.6 | 0.619835 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0 | 0 | 0.095238 | 0.047619 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49d533129698fe3f22a656eabbfa164c1f09bc01 | 305 | py | Python | tests/lists_tests.py | cockcrow/python-mammoth | f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2 | [
"BSD-2-Clause"
] | 557 | 2015-01-19T20:06:31.000Z | 2022-03-27T16:13:42.000Z | tests/lists_tests.py | cockcrow/python-mammoth | f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2 | [
"BSD-2-Clause"
] | 111 | 2015-03-27T13:57:05.000Z | 2022-03-09T21:06:51.000Z | tests/lists_tests.py | cockcrow/python-mammoth | f05ae0c7ec6e4faee6267d3b05e3aabce3a2cbb2 | [
"BSD-2-Clause"
] | 111 | 2015-03-26T11:47:23.000Z | 2022-03-26T17:12:50.000Z | from nose.tools import istest, assert_equal
from mammoth.lists import unique
@istest
def unique_of_empty_list_is_empty_list():
assert_equal([], unique([]))
@istest
def unique_removes_duplicates_while_preserving_order():
assert_equal(["apple", "banana"], unique(["apple", "banana", "apple"]))
| 21.785714 | 75 | 0.747541 | 40 | 305 | 5.35 | 0.55 | 0.154206 | 0.140187 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 305 | 13 | 76 | 23.461538 | 0.792593 | 0 | 0 | 0.25 | 0 | 0 | 0.088525 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49d988ab65ccd6f6fd348a5cf92ca15a88f1d889 | 239 | py | Python | validation_engine/celeryconfig.py | acumos/validation-security | 9ece4f5838bc4d345095ce3f26239cd7b748e42e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | validation_engine/celeryconfig.py | acumos/validation-security | 9ece4f5838bc4d345095ce3f26239cd7b748e42e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | validation_engine/celeryconfig.py | acumos/validation-security | 9ece4f5838bc4d345095ce3f26239cd7b748e42e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | BROKER_URL = "redis://localhost:6379/0"
CELERY_RESULT_BACKEND = "redis://localhost:6379/0"
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_ACCEPT_CONTENT=['json']
CELERY_ENABLE_UTC = True
CELERY_TRACK_STARTED=True | 29.875 | 50 | 0.807531 | 33 | 239 | 5.454545 | 0.575758 | 0.166667 | 0.2 | 0.211111 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045045 | 0.07113 | 239 | 8 | 51 | 29.875 | 0.765766 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
49e3717b3fe9ed5e548590a09bfe5dc80dc747e9 | 1,554 | py | Python | Modules/SIGAFIN/FINA040TESTCASE.py | ccpn1988/TIR | fede6db280b35564b73e14a4588451dd88288bab | [
"MIT"
] | 1 | 2021-12-07T18:16:27.000Z | 2021-12-07T18:16:27.000Z | Modules/SIGAFIN/FINA040TESTCASE.py | ccpn1988/TIR | fede6db280b35564b73e14a4588451dd88288bab | [
"MIT"
] | null | null | null | Modules/SIGAFIN/FINA040TESTCASE.py | ccpn1988/TIR | fede6db280b35564b73e14a4588451dd88288bab | [
"MIT"
] | null | null | null | # INCLUSAO DE TITULOS CONTAS A RECEBER
from tir import Webapp
import unittest
from datetime import datetime
DateSystem = datetime.today().strftime('%d/%m/%Y')
indice1 = "Filial+prefixo + No. Titulo + Parce..."
class FINA040(unittest.TestCase):
@classmethod
def setUpClass(inst):
inst.oHelper = Webapp()
inst.oHe... | 33.06383 | 63 | 0.723938 | 205 | 1,554 | 5.390244 | 0.439024 | 0.228959 | 0.240724 | 0.190045 | 0.120362 | 0.078733 | 0.078733 | 0 | 0 | 0 | 0 | 0.056631 | 0.102317 | 1,554 | 47 | 64 | 33.06383 | 0.735484 | 0.023166 | 0 | 0.05 | 0 | 0 | 0.25379 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.075 | false | 0 | 0.075 | 0 | 0.175 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49ebae1eba7a0521406efb11298d3c52b7f3a86b | 4,262 | py | Python | tests/media/test_bnext.py | allenyummy/Sanga | ff4cc60e0fd05cac49bdf15ad8a57dfedcf75fd0 | [
"MIT"
] | 2 | 2021-09-01T13:39:58.000Z | 2021-09-01T13:41:49.000Z | tests/media/test_bnext.py | allenyummy/Sanga | ff4cc60e0fd05cac49bdf15ad8a57dfedcf75fd0 | [
"MIT"
] | 3 | 2021-08-31T06:00:23.000Z | 2021-09-01T08:52:41.000Z | tests/media/test_bnext.py | allenyummy/Sanga | ff4cc60e0fd05cac49bdf15ad8a57dfedcf75fd0 | [
"MIT"
] | null | null | null | # encoding=utf-8
# Author: Yu-Lun Chiang
# Description: Test NewsCrawler
import logging
import pytest
from collections import namedtuple
from Sanga.media import bnext
from Sanga.struct import NewsStruct
logger = logging.getLogger(__name__)
TEST_DATA = namedtuple(
typename="TEST_DATA",
field_names=[
... | 56.078947 | 1,474 | 0.774754 | 498 | 4,262 | 6.548193 | 0.708835 | 0.026986 | 0.015946 | 0.022079 | 0.07421 | 0.063784 | 0.052745 | 0.052745 | 0.052745 | 0.025146 | 0 | 0.047756 | 0.100892 | 4,262 | 75 | 1,475 | 56.826667 | 0.803236 | 0.015486 | 0 | 0.229508 | 0 | 0.04918 | 0.70062 | 0.521708 | 0 | 0 | 0 | 0 | 0.016393 | 1 | 0.032787 | false | 0 | 0.081967 | 0 | 0.131148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49ee1f838678affbdfb28b2e60d3b1add5076ac6 | 2,715 | py | Python | ws2122-lspm/Lib/site-packages/pm4py/algo/evaluation/simplicity/variants/arc_degree.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-19T04:02:46.000Z | 2022-01-19T04:02:46.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/evaluation/simplicity/variants/arc_degree.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2021-11-19T07:21:48.000Z | 2021-11-19T07:21:48.000Z | ws2122-lspm/Lib/site-packages/pm4py/algo/evaluation/simplicity/variants/arc_degree.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-14T17:15:38.000Z | 2022-01-14T17:15:38.000Z | '''
This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).
PM4Py is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any late... | 36.2 | 112 | 0.707182 | 400 | 2,715 | 4.7375 | 0.4725 | 0.033773 | 0.034301 | 0.030079 | 0.066491 | 0.029551 | 0 | 0 | 0 | 0 | 0 | 0.015137 | 0.221363 | 2,715 | 74 | 113 | 36.689189 | 0.881268 | 0.597422 | 0 | 0 | 0 | 0 | 0.001036 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 1 | 0.047619 | false | 0 | 0.333333 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b70132fc2a6861d4633bfdb9560c5ba42cddc8c5 | 626 | py | Python | class03/1.py | sakomws/pyclass | 081f5b1375efa44f3ebf40d5f53e259fb452802f | [
"MIT"
] | null | null | null | class03/1.py | sakomws/pyclass | 081f5b1375efa44f3ebf40d5f53e259fb452802f | [
"MIT"
] | null | null | null | class03/1.py | sakomws/pyclass | 081f5b1375efa44f3ebf40d5f53e259fb452802f | [
"MIT"
] | 1 | 2019-02-25T06:17:20.000Z | 2019-02-25T06:17:20.000Z | print('My name is')
for i in range(5):
print('elgun',i)
print('letsdo it')
# total=0
# for i in range(11):
# total=total+i
# print('Value of i: ',i)
# print('Value of total: ',total)
# print(total)
# i=0
# while i<6:
# print('The value of i:'+str(i))
# i+=2
# Stat=4, End=8, Step=2
# ... | 15.268293 | 37 | 0.535144 | 106 | 626 | 3.160377 | 0.396226 | 0.059701 | 0.089552 | 0.164179 | 0.101493 | 0.101493 | 0 | 0 | 0 | 0 | 0 | 0.043573 | 0.266773 | 626 | 40 | 38 | 15.65 | 0.686275 | 0.696486 | 0 | 0 | 0 | 0 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b706674676a458f5e8e9e9198bd19117fb78400c | 430 | py | Python | src/facet/crossfit/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/crossfit/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | src/facet/crossfit/__init__.py | skandupmanyu/facet | 545ade531ecfa617bad346ebef12955afa876cca | [
"Apache-2.0"
] | null | null | null | """
Meta-estimator containing a fitted estimator for each cross-validation training
split; used as the basis for learner selection and inspection.
:class:`.LearnerCrossfit` encapsulates a fully trained pipeline.
It contains a :class:`~.sklearndf.LearnerPipelineDF` (preprocessing and learner),
a dataset given by a :cla... | 33.076923 | 81 | 0.786047 | 57 | 430 | 5.912281 | 0.719298 | 0.035608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 430 | 12 | 82 | 35.833333 | 0.898667 | 0.918605 | 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 | 0 | 0 | 0 | 3 |
b735e3ee109c54a29d53a19e41fbeae144355253 | 472 | py | Python | databases/seeds/entries_table_seeder.py | mandarvaze/life-journal-masonite | e9482fd0da7f8383d31e46160a3ab297281a6171 | [
"MIT"
] | null | null | null | databases/seeds/entries_table_seeder.py | mandarvaze/life-journal-masonite | e9482fd0da7f8383d31e46160a3ab297281a6171 | [
"MIT"
] | null | null | null | databases/seeds/entries_table_seeder.py | mandarvaze/life-journal-masonite | e9482fd0da7f8383d31e46160a3ab297281a6171 | [
"MIT"
] | null | null | null | """Entries Table Seeder.
You can run this seeder in order to generate journal entries.
- Each time it is ran it will generate 5 random entries.
- You can run the seeder by running: craft seed:run.
"""
from orator.seeds import Seeder
from app.Entry import Entry
from config.factories import factory
class En... | 22.47619 | 61 | 0.692797 | 68 | 472 | 4.808824 | 0.617647 | 0.036697 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008108 | 0.216102 | 472 | 20 | 62 | 23.6 | 0.875676 | 0.53178 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3f7dbacfc6f6f672c41d939caadeefd6a83e02a5 | 1,091 | py | Python | gdb_ext/tests/test_type.py | tfpk/memtree | dd25a6555025cf2c2af400b2bcec9b82b171277a | [
"Apache-2.0"
] | 1 | 2020-11-08T07:44:40.000Z | 2020-11-08T07:44:40.000Z | gdb_ext/tests/test_type.py | tfpk/memtree | dd25a6555025cf2c2af400b2bcec9b82b171277a | [
"Apache-2.0"
] | null | null | null | gdb_ext/tests/test_type.py | tfpk/memtree | dd25a6555025cf2c2af400b2bcec9b82b171277a | [
"Apache-2.0"
] | null | null | null | from .utils import get_output
def test_get_type():
INPUT = """
print(gdb_get_type('i'))
print(gdb_get_type('a'))
print(gdb_get_type('struct_instance'))
print(gdb_get_type('union_instance'))
print(gdb_get_type('*(union_instance->z)'))
print(gdb_get_type('union_instance->z'))
print(gdb_get_type('&(union_instance->z)... | 22.265306 | 83 | 0.533456 | 136 | 1,091 | 4.022059 | 0.294118 | 0.115174 | 0.146252 | 0.191956 | 0.338208 | 0.268739 | 0.224863 | 0.159049 | 0.159049 | 0.159049 | 0 | 0.009498 | 0.324473 | 1,091 | 48 | 84 | 22.729167 | 0.7327 | 0.070577 | 0 | 0.08 | 0 | 0 | 0.654412 | 0.457721 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0.28 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f8d02750458b737d0d1d719fe21125bfbe4f612 | 2,055 | py | Python | queue.py | fgheorghe/CNCRouter | 1bd0145d4e8457cb30cfaf723aa3d309748c536d | [
"BSD-3-Clause"
] | null | null | null | queue.py | fgheorghe/CNCRouter | 1bd0145d4e8457cb30cfaf723aa3d309748c536d | [
"BSD-3-Clause"
] | null | null | null | queue.py | fgheorghe/CNCRouter | 1bd0145d4e8457cb30cfaf723aa3d309748c536d | [
"BSD-3-Clause"
] | null | null | null | # Load libraries.
import pika
import time
import pprint
import sys
import RPi.GPIO as GPIO
from Nema17 import Nema17
from GCodeStringToCommandArray import GCodeStringToCommandArray
from CNCRouter import CNCRouter
# Check command line parameters.
if len(sys.argv) != 7:
print "Usage: python queue.py hostname port vh... | 31.136364 | 124 | 0.761557 | 282 | 2,055 | 5.492908 | 0.539007 | 0.031633 | 0.02195 | 0.024532 | 0.029697 | 0.029697 | 0.029697 | 0 | 0 | 0 | 0 | 0.036293 | 0.128467 | 2,055 | 65 | 125 | 31.615385 | 0.828587 | 0.324574 | 0 | 0 | 0 | 0 | 0.078717 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | null | null | 0.076923 | 0.205128 | null | null | 0.102564 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3fa3291531667354b0b28d521d987135faf01bbd | 146 | py | Python | backend/lola-backend/config.py | alesanmed/lola | 5a9d9a1304300a9fa0b997fcf86b1b82f81cf455 | [
"Apache-2.0"
] | 2 | 2021-11-05T08:16:53.000Z | 2022-03-06T04:22:23.000Z | backend/lola-backend/config.py | alesanmed/lola | 5a9d9a1304300a9fa0b997fcf86b1b82f81cf455 | [
"Apache-2.0"
] | 5 | 2021-10-10T13:44:49.000Z | 2021-10-31T12:37:41.000Z | backend/lola-backend/config.py | alesanmed/lola | 5a9d9a1304300a9fa0b997fcf86b1b82f81cf455 | [
"Apache-2.0"
] | 1 | 2021-12-19T11:13:44.000Z | 2021-12-19T11:13:44.000Z | class Config(object):
DEBUG = True
DEVELOPMENT = True
class ProductionConfig(Config):
DEBUG = False
DEVELOPMENT = False
| 16.222222 | 32 | 0.643836 | 14 | 146 | 6.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287671 | 146 | 8 | 33 | 18.25 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
3fbfa2ac1a615cb92054db729955e2f585ee3827 | 579 | py | Python | conformalmapping/gridcurves.py | TorbenFricke/cmtoolkit | f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca | [
"BSD-3-Clause"
] | 12 | 2015-07-07T03:36:43.000Z | 2022-03-14T20:21:24.000Z | conformalmapping/gridcurves.py | TorbenFricke/cmtoolkit | f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca | [
"BSD-3-Clause"
] | 11 | 2015-05-11T08:02:42.000Z | 2020-05-21T16:13:45.000Z | conformalmapping/gridcurves.py | TorbenFricke/cmtoolkit | f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca | [
"BSD-3-Clause"
] | 1 | 2017-11-07T15:14:10.000Z | 2017-11-07T15:14:10.000Z | import matplotlib.pyplot as plt
from ._compat import *
class GridCurves(object):
def __init__(self, curves):
self._curves = curves
@property
def curves(self):
return self._curves
def __str__(self):
fh = StringIO()
fh.write('gridcurves objects:\n\n')
fh.write(... | 22.269231 | 64 | 0.594128 | 74 | 579 | 4.445946 | 0.527027 | 0.151976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.278066 | 579 | 25 | 65 | 23.16 | 0.782297 | 0 | 0 | 0 | 0 | 0 | 0.088083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.111111 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3fe82699926ee5aec1977166aa64294ecd305b6d | 147,150 | py | Python | mapclientplugins/parametricfittingstep/resources_rc.py | tsalemink/mapclientplugins.parametricfittingstep | a8b55036b24db4610a1a79e658e3e9530c8122f2 | [
"Apache-2.0"
] | null | null | null | mapclientplugins/parametricfittingstep/resources_rc.py | tsalemink/mapclientplugins.parametricfittingstep | a8b55036b24db4610a1a79e658e3e9530c8122f2 | [
"Apache-2.0"
] | null | null | null | mapclientplugins/parametricfittingstep/resources_rc.py | tsalemink/mapclientplugins.parametricfittingstep | a8b55036b24db4610a1a79e658e3e9530c8122f2 | [
"Apache-2.0"
] | 2 | 2018-12-13T00:57:23.000Z | 2021-06-03T01:07:53.000Z | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x0f\xb6\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00@\x00\x00\x00@\x08... | 49.412357 | 96 | 0.707482 | 33,009 | 147,150 | 3.146657 | 0.130298 | 0.013748 | 0.007538 | 0.005777 | 0.149786 | 0.122858 | 0.104113 | 0.092839 | 0.08479 | 0.079004 | 0 | 0.243827 | 0.022385 | 147,150 | 2,977 | 97 | 49.428955 | 0.4782 | 0.001115 | 0 | 0.019892 | 0 | 0.807485 | 0.002191 | 0.002191 | 0 | 0 | 0.000054 | 0 | 0 | 1 | 0.000674 | false | 0 | 0.000337 | 0 | 0.001011 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.