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
a5b0883ef7989caa650ca7a56cd665ec06382844
22,912
py
Python
resources_pb2.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
3
2020-01-11T13:55:38.000Z
2020-08-25T22:34:15.000Z
resources_pb2.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
null
null
null
resources_pb2.py
samlet/stack
47db17fd4fdab264032f224dca31a4bb1d19b754
[ "Apache-2.0" ]
1
2021-01-01T05:21:44.000Z
2021-01-01T05:21:44.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: resources.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _ref...
34.197015
1,691
0.741751
2,728
22,912
5.927419
0.081012
0.044032
0.031354
0.030921
0.629932
0.570315
0.555164
0.549227
0.549227
0.531293
0
0.034621
0.128884
22,912
669
1,692
34.248132
0.77554
0.043034
0
0.66335
1
0.004975
0.162642
0.104396
0
0
0
0
0
1
0
false
0
0.008292
0
0.008292
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a5b2b551c4150a135432f51516587bff6aac4add
197
py
Python
ml_api/request_cloud_function.py
r-matsuzaka/mlops-example
453986d439ca482008663ef2b983015e44eb8e85
[ "MIT" ]
null
null
null
ml_api/request_cloud_function.py
r-matsuzaka/mlops-example
453986d439ca482008663ef2b983015e44eb8e85
[ "MIT" ]
7
2021-10-31T14:33:51.000Z
2021-10-31T16:12:26.000Z
ml_api/request_cloud_function.py
r-matsuzaka/mlops-example
453986d439ca482008663ef2b983015e44eb8e85
[ "MIT" ]
null
null
null
import requests result = requests.post( "https://asia-northeast1-mlops-331003.cloudfunctions.net/function-1", json={"msg": "Hello from cloud functions"}, ) print(result.json())
19.7
74
0.675127
23
197
5.782609
0.869565
0
0
0
0
0
0
0
0
0
0
0.04878
0.167513
197
9
75
21.888889
0.762195
0
0
0
0
0
0.505319
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3c149fc4bc9442c52bce45b995a4bc033db39351
492
py
Python
src/apps/about/models/katalog.py
rko619619/Skidon
fe09d0d87edb973c0cb1f20478e398bc69899d1b
[ "Apache-2.0" ]
null
null
null
src/apps/about/models/katalog.py
rko619619/Skidon
fe09d0d87edb973c0cb1f20478e398bc69899d1b
[ "Apache-2.0" ]
1
2020-04-11T18:55:09.000Z
2020-04-11T18:55:21.000Z
src/apps/about/models/katalog.py
rko619619/Skidon
fe09d0d87edb973c0cb1f20478e398bc69899d1b
[ "Apache-2.0" ]
null
null
null
from django.db import models as m class Katalog(m.Model): title = m.TextField(unique=True) content = m.TextField(unique=True) media = m.URLField(unique=True) adress = m.TextField(null=True, blank=True) class Meta: verbose_name_plural = "katalog" ordering = ["id", "title", "content...
25.894737
64
0.619919
64
492
4.609375
0.53125
0.101695
0.108475
0.135593
0
0
0
0
0
0
0
0
0.223577
492
18
65
27.333333
0.772251
0
0
0
0
0
0.193089
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
0.846154
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
0
1
1
0
0
2
3c1de047e0d4338be4180c20f1a95e4173a85ca2
610
py
Python
py-simspark/effectors.py
edison-moreland/py-simspark
66da4c93745efedd3562d9a35a4b75be284586c5
[ "MIT" ]
2
2018-10-29T11:53:26.000Z
2021-01-14T20:30:26.000Z
py-simspark/effectors.py
edison-moreland/py-simspark
66da4c93745efedd3562d9a35a4b75be284586c5
[ "MIT" ]
null
null
null
py-simspark/effectors.py
edison-moreland/py-simspark
66da4c93745efedd3562d9a35a4b75be284586c5
[ "MIT" ]
null
null
null
# TODO(MESSAGES) Turn into actual classes the parse_preceptors can return def message_factory(effector_string): """Makes messages easy to define""" def message(**kwargs): return effector_string.format(**kwargs) return message create = message_factory("(scene {filename})") hinge_joint = message_...
29.047619
76
0.701639
73
610
5.684932
0.575342
0.26988
0.091566
0.110843
0.125301
0
0
0
0
0
0
0.005693
0.136066
610
20
77
30.5
0.781784
0.167213
0
0
0
0
0.284
0
0
0
0
0.05
0
1
0.181818
false
0
0
0.090909
0.363636
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
1
0
0
0
0
0
0
0
0
0
0
2
3c20d7d985916140b43bd365cdae26f6271792f4
2,995
py
Python
external/frozendict.py
MPvHarmelen/MarkdownCiteCompletions
7a14978a295550203cef96347fb1342599b46899
[ "MIT" ]
null
null
null
external/frozendict.py
MPvHarmelen/MarkdownCiteCompletions
7a14978a295550203cef96347fb1342599b46899
[ "MIT" ]
null
null
null
external/frozendict.py
MPvHarmelen/MarkdownCiteCompletions
7a14978a295550203cef96347fb1342599b46899
[ "MIT" ]
null
null
null
# The frozendict is originally available under the following license: # # Copyright (c) 2012 Santiago Lezica # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including w...
34.825581
79
0.671786
400
2,995
4.805
0.4225
0.049948
0.024974
0.031217
0
0
0
0
0
0
0
0.003076
0.240067
2,995
85
80
35.235294
0.841388
0.449416
0
0
0
0
0.020625
0
0
0
0
0
0
1
0.209302
false
0
0.046512
0.116279
0.511628
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
0
0
0
2
3c37f73d11999ac77383c19ce3945d35d849b436
3,874
py
Python
wolk/interfaces/OutboundMessageFactory.py
iperformance/WolkConnect-Python
35c86511f5bb9d47d8ed98ad7623d2ef7ba061e3
[ "Apache-2.0" ]
null
null
null
wolk/interfaces/OutboundMessageFactory.py
iperformance/WolkConnect-Python
35c86511f5bb9d47d8ed98ad7623d2ef7ba061e3
[ "Apache-2.0" ]
null
null
null
wolk/interfaces/OutboundMessageFactory.py
iperformance/WolkConnect-Python
35c86511f5bb9d47d8ed98ad7623d2ef7ba061e3
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 WolkAbout Technology s.r.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
31.754098
78
0.66985
439
3,874
5.831435
0.277904
0.046875
0.0625
0.078125
0.4125
0.401953
0.380078
0.326172
0.246875
0.246875
0
0.002801
0.262777
3,874
121
79
32.016529
0.893557
0.64636
0
0.615385
0
0
0
0
0
0
0
0
0
1
0.307692
false
0.307692
0.038462
0
0.384615
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
0
0
0
2
3c3e96448c89d0a9abcf152115b6a283eaf74664
4,474
py
Python
src/storage-preview/azext_storage_preview/_help.py
mboersma/azure-cli-extensions
9fde4011748f006ba2943e2e3ba69c16605e715f
[ "MIT" ]
1
2021-07-28T15:21:55.000Z
2021-07-28T15:21:55.000Z
src/storage-preview/azext_storage_preview/_help.py
mboersma/azure-cli-extensions
9fde4011748f006ba2943e2e3ba69c16605e715f
[ "MIT" ]
null
null
null
src/storage-preview/azext_storage_preview/_help.py
mboersma/azure-cli-extensions
9fde4011748f006ba2943e2e3ba69c16605e715f
[ "MIT" ]
1
2021-07-28T14:50:54.000Z
2021-07-28T14:50:54.000Z
# coding=utf-8 # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------...
43.019231
156
0.675458
541
4,474
5.57671
0.231054
0.068943
0.073252
0.068611
0.570434
0.439841
0.369904
0.369904
0.35532
0.35532
0
0.000277
0.194457
4,474
103
157
43.436893
0.836848
0.088288
0
0.365854
0
0.097561
0.925589
0.018418
0
0
0
0
0
1
0
true
0
0.012195
0
0.012195
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3c62e1fc44bb7910010ac80cc518e82722da8bae
164
py
Python
unittests/constants.py
ga4gh/gsoc2018-ref-retrieval-api
89851cf89b4db598b9bb4b9b11ee1b6b7ff710cd
[ "Apache-2.0" ]
6
2018-05-09T09:40:55.000Z
2018-07-24T04:47:33.000Z
unittests/constants.py
ga4gh/refget-compliance-suite
89851cf89b4db598b9bb4b9b11ee1b6b7ff710cd
[ "Apache-2.0" ]
20
2018-09-12T17:01:50.000Z
2022-03-29T14:59:49.000Z
unittests/constants.py
ga4gh/refget-compliance-suite
89851cf89b4db598b9bb4b9b11ee1b6b7ff710cd
[ "Apache-2.0" ]
2
2018-10-01T12:14:28.000Z
2021-08-23T18:53:02.000Z
GOOD_SERVER_URL = "http://0.0.0.0:8989/" BAD_SERVER_URL = "http://0.0.0.0:8988/" JSON_REPORT = "test_report.json" WEB_FILE_PATH = "test_web" DEFAULT_WEB_DIR = "web"
32.8
40
0.719512
32
164
3.34375
0.5
0.11215
0.11215
0.261682
0.317757
0.317757
0.317757
0
0
0
0
0.106667
0.085366
164
5
41
32.8
0.606667
0
0
0
0
0
0.406061
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3c6316d9fdb8380b502279f992fae8603553bb45
3,903
py
Python
openerp/addons/base_report_designer/plugin/openerp_report_designer/bin/script/NewReport.py
ntiufalara/openerp7
903800da0644ec0dd9c1dcd34205541f84d45fe4
[ "MIT" ]
3
2016-01-29T14:39:49.000Z
2018-12-29T22:42:00.000Z
odoo/addons/base_report_designer/plugin/openerp_report_designer/bin/script/NewReport.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
2
2016-03-23T14:29:41.000Z
2017-02-20T17:11:30.000Z
odoo/addons/base_report_designer/plugin/openerp_report_designer/bin/script/NewReport.py
tuanquanghpvn/odoo8-tutorial
52d25f1ca5f233c431cb9d3b24b79c3b4fb5127e
[ "MIT" ]
null
null
null
######################################################################### # # Copyright (c) 2003-2004 Danny Brewer d29583@groovegarden.com # Copyright (C) 2004-2010 OpenERP SA (<http://openerp.com>). # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser Gene...
39.424242
179
0.647963
472
3,903
5.28178
0.474576
0.025271
0.01444
0.022864
0.170076
0.133173
0.120337
0.093061
0.036101
0
0
0.025987
0.201384
3,903
98
180
39.826531
0.773821
0.259544
0
0.131148
0
0
0.127259
0.023608
0
0
0
0
0
0
null
null
0.065574
0.180328
null
null
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
1
0
0
1
0
0
0
0
0
2
3c76feb54f2115bfbc976de84dcaca42d00de52a
4,481
py
Python
test_pipeline/utils/visualize.py
Garvit-32/LPRNet-Pytorch
828da030e140379379566aec0c82007833f0849b
[ "Apache-2.0" ]
null
null
null
test_pipeline/utils/visualize.py
Garvit-32/LPRNet-Pytorch
828da030e140379379566aec0c82007833f0849b
[ "Apache-2.0" ]
null
null
null
test_pipeline/utils/visualize.py
Garvit-32/LPRNet-Pytorch
828da030e140379379566aec0c82007833f0849b
[ "Apache-2.0" ]
1
2021-08-23T08:46:59.000Z
2021-08-23T08:46:59.000Z
#Color dict import numpy as np # import wandb import cv2 import torch import os colors = { '0':[(128, 64, 128), (244, 35, 232), (0, 0, 230), (220, 190, 40), (70, 70, 70), (70, 130, 180), (0, 0, 0)], '1':[(128, 64, 128), (250, 170, 160), (244, 35, 232), (230, 150, 140), (220, 20, 60), (255, 0, 0), (0, 0, 230),...
64.014286
561
0.495425
633
4,481
3.434439
0.241706
0.021159
0.01104
0.033119
0.447562
0.423643
0.361086
0.361086
0.330267
0.330267
0
0.220064
0.299264
4,481
69
562
64.942029
0.472293
0.510377
0
0
0
0
0.003235
0
0
0
0
0
0
1
0.064516
false
0
0.129032
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3c7f0956109fdc9be2182dc0ca6699f07ec98a58
528
py
Python
tests/browser/pages/external/events_registration.py
mayank-sfdc/directory-tests
6e978bc1a27c19389e99e454143122aa27e47b85
[ "MIT" ]
4
2017-06-02T09:09:10.000Z
2018-01-25T19:06:12.000Z
tests/browser/pages/external/events_registration.py
mayank-sfdc/directory-tests
6e978bc1a27c19389e99e454143122aa27e47b85
[ "MIT" ]
53
2016-10-27T22:31:03.000Z
2022-03-07T11:18:25.000Z
tests/browser/pages/external/events_registration.py
mayank-sfdc/directory-tests
6e978bc1a27c19389e99e454143122aa27e47b85
[ "MIT" ]
3
2017-11-22T11:42:40.000Z
2022-02-21T01:20:04.000Z
# -*- coding: utf-8 -*- """Event Registration Page Object.""" from selenium.webdriver.remote.webdriver import WebDriver from directory_tests_shared import URLs from directory_tests_shared.enums import PageType, Service from directory_tests_shared.utils import check_url_path_matches_template NAME = "Registration" SERV...
29.333333
72
0.816288
69
528
5.971014
0.536232
0.09466
0.131068
0.174757
0.131068
0
0
0
0
0
0
0.00211
0.102273
528
17
73
31.058824
0.867089
0.102273
0
0
0
0
0.025641
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
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
0
0
0
2
b1ba483edff43a59fae59680d1d87e0191d18f86
951
py
Python
enabling_addons/enabling_addons_example_2.py
CGArtPython/bpy_building_blocks_examples
d472c2cd70857033bf7b8e4f692d590d30af61cf
[ "MIT" ]
null
null
null
enabling_addons/enabling_addons_example_2.py
CGArtPython/bpy_building_blocks_examples
d472c2cd70857033bf7b8e4f692d590d30af61cf
[ "MIT" ]
null
null
null
enabling_addons/enabling_addons_example_2.py
CGArtPython/bpy_building_blocks_examples
d472c2cd70857033bf7b8e4f692d590d30af61cf
[ "MIT" ]
null
null
null
import bpy import addon_utils def enable_addon(addon_module_name): loaded_default, loaded_state = addon_utils.check(addon_module_name) if not loaded_state: addon_utils.enable(addon_module_name) ########################################################## # _____ _ ...
31.7
71
0.427971
64
951
4.546875
0.546875
0.151203
0.206186
0.151203
0.178694
0
0
0
0
0
0
0.009023
0.300736
951
29
72
32.793103
0.428571
0.427971
0
0
0
0
0.079137
0.052758
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b1bc7ca988b99d33508e234a58e98fb62cddeb91
731
py
Python
src/15/15953.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
11
2020-09-20T15:17:11.000Z
2022-03-17T12:43:33.000Z
src/15/15953.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
3
2021-10-30T07:51:36.000Z
2022-03-09T05:19:23.000Z
src/15/15953.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
13
2021-01-21T03:19:08.000Z
2022-03-28T10:44:58.000Z
""" 15953. 상금 헌터 작성자: xCrypt0r 언어: Python 3 사용 메모리: 29,380 KB 소요 시간: 160 ms 해결 날짜: 2020년 9월 25일 """ def main(): for _ in range(int(input())): a, b = map(int, input().split()) money = 0 if a == 1: money += 5000000 elif 2 <= a <= 3: money += 3000000 elif 4 <= a <= 6: money +...
22.84375
43
0.481532
107
731
3.205607
0.579439
0.046647
0
0
0
0
0
0
0
0
0
0.262821
0.359781
731
32
44
22.84375
0.470085
0.125855
0
0
0
0
0.012658
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b1bdbe51971ec68a36813352bad1bca59f1ab234
1,229
py
Python
srcs/sg/objects/abstract_object.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
srcs/sg/objects/abstract_object.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
srcs/sg/objects/abstract_object.py
pomponchik/computor_v2
742b3f3b47c8d46806b2f733b4ec07ae63a23f00
[ "MIT" ]
null
null
null
from srcs.errors import RuntimeASTError class AbstractObject: def __init__(self): raise NotImplementedError @classmethod def create_from_node(cls, node): raise NotImplementedError('operation not defined') def representation(self, context): raise NotImplementedError('operation...
36.147059
163
0.672091
127
1,229
6.330709
0.322835
0.134328
0.136816
0.134328
0.395522
0.395522
0.124378
0.124378
0
0
0
0
0.24166
1,229
33
164
37.242424
0.862661
0
0
0.2
0
0
0.147274
0.046379
0
0
0
0
0
1
0.28
false
0
0.04
0.04
0.52
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
0
1
0
0
2
b1c5bd1c0d4fc251a844f8d93c75da66fb1de25a
121
py
Python
trojsten/settings/wiki.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
5
2018-04-22T22:44:02.000Z
2021-04-26T20:44:44.000Z
trojsten/settings/wiki.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
250
2018-04-24T12:04:11.000Z
2022-03-09T06:56:47.000Z
trojsten/settings/wiki.py
MvonK/web
b701a6ea8fb6f0bdfb720e66d0a430db13db8bff
[ "MIT" ]
8
2019-04-28T11:33:03.000Z
2022-02-26T13:30:36.000Z
from trojsten.settings.production import * SITE_ID = 6 NAVBAR_SITES = [1, 3, 4, 5] ROOT_URLCONF = "trojsten.urls.wiki"
17.285714
42
0.727273
19
121
4.473684
0.947368
0
0
0
0
0
0
0
0
0
0
0.048544
0.14876
121
6
43
20.166667
0.776699
0
0
0
0
0
0.14876
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
b1de50edd04c96c77da488151e8436344245deed
990
py
Python
print_lending_stats.py
m-Ferstl/bitfinex_lending_stats
61d793ec85ecd189d7b43b27d39c21fcfb676f20
[ "Apache-2.0" ]
1
2021-05-26T21:06:40.000Z
2021-05-26T21:06:40.000Z
print_lending_stats.py
m-Ferstl/bitfinex_lending_stats
61d793ec85ecd189d7b43b27d39c21fcfb676f20
[ "Apache-2.0" ]
null
null
null
print_lending_stats.py
m-Ferstl/bitfinex_lending_stats
61d793ec85ecd189d7b43b27d39c21fcfb676f20
[ "Apache-2.0" ]
null
null
null
import argparse from funding_earnings_stats import FundingEarningsCalculator arg_parser = argparse.ArgumentParser() arg_parser.add_argument("funding_earnings_file", help="The path to the bitfinex funding earnings csv file.") args = arg_parser.parse_args() csv_parser = FundingEarningsCalculator(args.funding_earnings_f...
30.9375
108
0.776768
120
990
6.175
0.366667
0.080972
0.064777
0.062078
0.072874
0
0
0
0
0
0
0
0.109091
990
31
109
31.935484
0.840136
0.139394
0
0.272727
0
0
0.198347
0.049587
0
0
0
0.032258
0
1
0
false
0
0.090909
0
0.090909
0.545455
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
0
0
0
1
0
2
b1e60919935569ae484d75bc1fa82c76144cac07
228
py
Python
coding/learn_collections/defaultdict_01_demo.py
yatao91/learning_road
e88dc43de98e35922bfc71c222ec71766851e618
[ "MIT" ]
3
2021-05-25T16:58:52.000Z
2022-02-05T09:37:17.000Z
coding/learn_collections/defaultdict_01_demo.py
yataosu/learning_road
e88dc43de98e35922bfc71c222ec71766851e618
[ "MIT" ]
null
null
null
coding/learn_collections/defaultdict_01_demo.py
yataosu/learning_road
e88dc43de98e35922bfc71c222ec71766851e618
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from collections import defaultdict def default_factory(): return "default value" d = defaultdict(default_factory, foo="bar") print("d: ", d) print("foo => ", d["foo"]) print("bar => ", d["bar"])
17.538462
43
0.622807
30
228
4.666667
0.533333
0.2
0
0
0
0
0
0
0
0
0
0.005236
0.162281
228
12
44
19
0.727749
0.092105
0
0
0
0
0.190244
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0.428571
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
0
1
0
1
0
2
b1f755c1aea14af30d6d3e583f5406c1e76e73c3
2,226
py
Python
NLP/Word - Embeddings in Tensorflow.py
sunnyshah2894/Tensorflow
715f9f53bc9c7ddfe448e7543314d491008cfd51
[ "MIT" ]
1
2018-05-26T19:28:20.000Z
2018-05-26T19:28:20.000Z
NLP/Word - Embeddings in Tensorflow.py
sunnyshah2894/Tensorflow
715f9f53bc9c7ddfe448e7543314d491008cfd51
[ "MIT" ]
null
null
null
NLP/Word - Embeddings in Tensorflow.py
sunnyshah2894/Tensorflow
715f9f53bc9c7ddfe448e7543314d491008cfd51
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np # training set. Contains a row of size 5 per train example. The row is same as a sentence, with words replaced # by its equivalent unique index. The below dataset contains 6 unique words numbered 0-5. Ideally the word vector for # 4 and 5 indexed words should be same. X_trai...
25.586207
117
0.614106
307
2,226
4.397394
0.436482
0.041481
0.017778
0.019259
0.322963
0.302222
0.302222
0.302222
0.302222
0.302222
0
0.311628
0.227314
2,226
87
118
25.586207
0.473256
0.674753
0
0
0
0
0.015106
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
590edeaa82d25ef5bbc3d9254bfb9f45fc8693ae
1,473
py
Python
setup.py
tarunbatra/password-validator-python
e5d5a14cec12c1c091e2ad536dca1a375206ff2e
[ "MIT" ]
11
2020-04-28T07:49:20.000Z
2021-11-01T07:46:28.000Z
setup.py
tarunbatra/password-validator-python
e5d5a14cec12c1c091e2ad536dca1a375206ff2e
[ "MIT" ]
2
2020-05-16T19:03:21.000Z
2020-05-31T16:09:18.000Z
setup.py
tarunbatra/password-validator-python
e5d5a14cec12c1c091e2ad536dca1a375206ff2e
[ "MIT" ]
2
2020-04-29T14:21:08.000Z
2021-04-20T04:54:22.000Z
#!/usr/bin/env python from setuptools import setup, find_packages with open("README.rst", "r") as f: long_description = f.read() name = "password_validator" version = "1.0" setup(name=name, version=version, description="Validates password according to flexible and intuitive specifications", long_des...
35.071429
88
0.625255
152
1,473
5.960526
0.585526
0.066225
0.082781
0.066225
0
0
0
0
0
0
0
0.007018
0.226069
1,473
41
89
35.926829
0.787719
0.013578
0
0
0
0
0.510331
0.01584
0
0
0
0
0
0
null
null
0.111111
0.027778
null
null
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
1
0
0
1
0
0
0
0
0
2
59162141b0c849bb7335a4b53142963a94221228
424
py
Python
users/models.py
patxxi/ClonGram
b943a4405b010c085810078ad57d5d2741d7c0a2
[ "MIT" ]
1
2021-08-31T18:01:25.000Z
2021-08-31T18:01:25.000Z
users/models.py
patxxi/ClonGram
b943a4405b010c085810078ad57d5d2741d7c0a2
[ "MIT" ]
null
null
null
users/models.py
patxxi/ClonGram
b943a4405b010c085810078ad57d5d2741d7c0a2
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) biography = models.CharField(max_length=250, blank=True, null=True) image = models.ImageField(upload_to="users/image...
28.266667
78
0.757075
60
424
5.266667
0.583333
0.085443
0.123418
0.161392
0
0
0
0
0
0
0
0.013587
0.132075
424
14
79
30.285714
0.845109
0.056604
0
0
0
0
0.03038
0
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
0
0
1
0
0
2
5920c61f26f2af174f10f6d883eae69b6fd372ba
17,637
py
Python
test/unit/test_firewall_api_v1.py
IBM/networking-services-python-sdk
a19e47db6a5971562a502982d69a5868997245f3
[ "Apache-2.0" ]
1
2022-03-15T02:13:25.000Z
2022-03-15T02:13:25.000Z
test/unit/test_firewall_api_v1.py
IBM/networking-services-python-sdk
a19e47db6a5971562a502982d69a5868997245f3
[ "Apache-2.0" ]
57
2020-06-24T06:58:01.000Z
2022-03-28T14:52:33.000Z
test/unit/test_firewall_api_v1.py
IBM/networking-services-python-sdk
a19e47db6a5971562a502982d69a5868997245f3
[ "Apache-2.0" ]
10
2020-06-23T04:09:28.000Z
2022-03-26T18:20:35.000Z
# -*- coding: utf-8 -*- # (C) Copyright IBM Corp. 2020. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
50.681034
292
0.610081
1,794
17,637
5.638796
0.127648
0.119514
0.160142
0.151839
0.782226
0.758699
0.729241
0.639087
0.552293
0.513839
0
0.016199
0.173952
17,637
347
293
50.827089
0.678152
0.314396
0
0.385542
0
0.03012
0.180121
0.041993
0
0
0
0
0.114458
1
0.066265
false
0
0.042169
0
0.168675
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5940842442caf0f9db14557f3970de91bae4c057
1,343
py
Python
python/src/main/python/pygw/statistics/field/time_range_statistic.py
MC-JY/geowave
73fa7ceca05ba572774377a89e10abbe9ee874fb
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pygw/statistics/field/time_range_statistic.py
MC-JY/geowave
73fa7ceca05ba572774377a89e10abbe9ee874fb
[ "Apache-2.0" ]
null
null
null
python/src/main/python/pygw/statistics/field/time_range_statistic.py
MC-JY/geowave
73fa7ceca05ba572774377a89e10abbe9ee874fb
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2013-2022 Contributors to the Eclipse Foundation # # See the NOTICE file distributed with this work for additional information regarding copyright # ownership. All rights reserved. This program and the accompanying materials are made available # under the terms of the Apache License, Version 2.0 whic...
46.310345
110
0.702159
160
1,343
5.73125
0.53125
0.038168
0.045802
0.068702
0.19193
0.19193
0.19193
0.133043
0.133043
0
0
0.010638
0.160089
1,343
28
111
47.964286
0.802305
0.405808
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
594e5afe750003c31faec80353fb40cac76bc02d
1,421
py
Python
mainapp/models.py
Raistlin11123/inquiry-soso
380d27219a5855f9e25da90db47f85e46e5e8b5d
[ "MIT" ]
null
null
null
mainapp/models.py
Raistlin11123/inquiry-soso
380d27219a5855f9e25da90db47f85e46e5e8b5d
[ "MIT" ]
null
null
null
mainapp/models.py
Raistlin11123/inquiry-soso
380d27219a5855f9e25da90db47f85e46e5e8b5d
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User import datetime now = datetime.datetime.now() """ class Contact(models.Model): name = models.CharField(max_length=50) email = models.EmailField() content = models.TextField() def __str__(self): return "Message de {}"...
35.525
133
0.752287
197
1,421
5.263959
0.426396
0.086789
0.052073
0.069431
0.24783
0.197686
0
0
0
0
0
0.012841
0.123153
1,421
40
134
35.525
0.819422
0.114004
0
0.105263
0
0
0.087923
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0.105263
0.947368
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
0
1
1
0
0
2
3ca4f8308b3e33e33a9aa65a538d3f39f5554f40
244
py
Python
sorts/insertionSort/insertion_sort.py
JesseJMa/data-structure-and-algorithm
1f58691cf19c8611420386f9bdb2d7c26cb94f0f
[ "MIT" ]
null
null
null
sorts/insertionSort/insertion_sort.py
JesseJMa/data-structure-and-algorithm
1f58691cf19c8611420386f9bdb2d7c26cb94f0f
[ "MIT" ]
null
null
null
sorts/insertionSort/insertion_sort.py
JesseJMa/data-structure-and-algorithm
1f58691cf19c8611420386f9bdb2d7c26cb94f0f
[ "MIT" ]
null
null
null
def insertion_sort(arr, l, r): for i in range(l + 1, r + 1): temp = arr[i] index = i while index > 0 and arr[index - 1] > temp: arr[index] = arr[index - 1] index -= 1 arr[index] = temp
30.5
50
0.463115
37
244
3.027027
0.432432
0.285714
0.142857
0
0
0
0
0
0
0
0
0.041379
0.405738
244
8
51
30.5
0.731034
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3ca85a73aa1028c9272629eab7d7f1dc7c41df8e
409
py
Python
usecases/get_network.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
null
null
null
usecases/get_network.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
51
2021-05-21T18:58:15.000Z
2022-03-29T17:45:00.000Z
usecases/get_network.py
HathorNetwork/hathor-explorer-service
81236deceac12ddfd813b33723481421a9064c82
[ "MIT" ]
1
2022-02-08T21:15:26.000Z
2022-02-08T21:15:26.000Z
from typing import Optional from gateways.node_gateway import NodeGateway class GetNetwork: def __init__(self, node_gateway: Optional[NodeGateway] = None) -> None: self.node_gateway = node_gateway or NodeGateway() def get(self) -> Optional[dict]: network = self.node_gateway.get_network() ...
22.722222
75
0.682152
50
409
5.36
0.46
0.205224
0.16791
0
0
0
0
0
0
0
0
0
0.239609
409
17
76
24.058824
0.861736
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.7
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3cb9b53161813158cfa7f0cca1f547444bfbbb87
374
py
Python
Python/Fluent_Python/chapter3/section7/s7_1.py
sunyunxian/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
1
2021-12-17T14:57:30.000Z
2021-12-17T14:57:30.000Z
Python/Fluent_Python/chapter3/section7/s7_1.py
ok-frank/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
null
null
null
Python/Fluent_Python/chapter3/section7/s7_1.py
ok-frank/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
null
null
null
def decorator(func): def inner(): print("Running inner()") return inner @decorator def target(): print("Running target()") def p_target(): print("Running target()") if __name__ == "__main__": target() # decorator(target)() decorator(p_target) # no ouput print(target) # <fun...
17.809524
78
0.639037
41
374
5.585366
0.439024
0.157205
0.157205
0.209607
0
0
0
0
0
0
0
0.044218
0.213904
374
20
79
18.7
0.734694
0.229947
0
0.153846
0
0
0.193662
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.384615
0.307692
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
0
0
0
2
3cc1a7831c9baf705e8a733ef823fa1d38c19961
3,160
py
Python
module1-introduction-to-sql/rpg_db_example.py
rgiuffre90/DS-Unit-3-Sprint-2-SQL-and-Databases
5974f2ed3081f5239501833c9cd8b4944e760de8
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_db_example.py
rgiuffre90/DS-Unit-3-Sprint-2-SQL-and-Databases
5974f2ed3081f5239501833c9cd8b4944e760de8
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_db_example.py
rgiuffre90/DS-Unit-3-Sprint-2-SQL-and-Databases
5974f2ed3081f5239501833c9cd8b4944e760de8
[ "MIT" ]
null
null
null
import sqlite3 def connect_to_db(db_name="rpg_db.sqlite3"): return sqlite3.connect(db_name) def execute_query(cursor, query): cursor.execute(query) return cursor.fetchall() GET_CHARACTERS = """ SELECT * FROM charactercreator_character """ CHARACTER_COUNT = """ SELECT COUNT(*) FROM charactercreator_c...
30.679612
100
0.779114
415
3,160
5.583133
0.146988
0.161847
0.190764
0.080276
0.409581
0.332326
0.332326
0.229607
0.206301
0.206301
0
0.002899
0.126582
3,160
102
101
30.980392
0.836594
0
0
0.297872
0
0
0.602154
0.260691
0
0
0
0
0
1
0.021277
false
0
0.010638
0.010638
0.053191
0.106383
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3cc5b963dd5e77f01c0f73596f63bf44f63c096c
710
py
Python
bugprediction/linear_regression_model.py
HaaLeo/bug-prediction
3d80aa5741312a92e40975683b541aae06b32e4b
[ "BSD-3-Clause" ]
null
null
null
bugprediction/linear_regression_model.py
HaaLeo/bug-prediction
3d80aa5741312a92e40975683b541aae06b32e4b
[ "BSD-3-Clause" ]
1
2019-06-04T18:04:06.000Z
2019-06-04T18:04:06.000Z
bugprediction/linear_regression_model.py
HaaLeo/bug-prediction
3d80aa5741312a92e40975683b541aae06b32e4b
[ "BSD-3-Clause" ]
1
2021-12-16T08:50:29.000Z
2021-12-16T08:50:29.000Z
# ------------------------------------------------------------------------------------------------------ # Copyright (c) Leo Hanisch. All rights reserved. # Licensed under the BSD 3-Clause License. See LICENSE.txt in the project root for license information. # ---------------------------------------------------------...
41.764706
104
0.507042
66
710
5.272727
0.666667
0.045977
0.08046
0.097701
0
0
0
0
0
0
0
0.001639
0.140845
710
16
105
44.375
0.568852
0.547887
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
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
0
1
0
0
2
3cc9817341b571b51f9fe3d96341474a9fade4bf
266
py
Python
codebyte/python/letter_capitalize/letter_capitalize_test.py
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
null
null
null
codebyte/python/letter_capitalize/letter_capitalize_test.py
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
39
2018-04-15T12:36:36.000Z
2018-09-16T15:31:50.000Z
codebyte/python/letter_capitalize/letter_capitalize_test.py
lowks/levelup
805e48cbf33d48616f55ef1b3740bb15b548054d
[ "MIT" ]
null
null
null
import unittest from letter_capitalize import LetterCapitalize class TestWordCapitalize(unittest.TestCase): def test_word_capitalize(self): self.assertEqual(LetterCapitalize("hello world"), "Hello World") if __name__ == '__main__': unittest.main()
26.6
72
0.766917
28
266
6.892857
0.678571
0.103627
0
0
0
0
0
0
0
0
0
0
0.139098
266
10
73
26.6
0.842795
0
0
0
0
0
0.11236
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
3cd7840971d8cd40bfa59d2927e65f855d36443c
518
py
Python
nlu/components/embeddings/sentence_xlm/sentence_xlm.py
Murat-Karadag/nlu
6a2b5995ea543e63c40baaca1bf9ad8a9db36757
[ "Apache-2.0" ]
null
null
null
nlu/components/embeddings/sentence_xlm/sentence_xlm.py
Murat-Karadag/nlu
6a2b5995ea543e63c40baaca1bf9ad8a9db36757
[ "Apache-2.0" ]
null
null
null
nlu/components/embeddings/sentence_xlm/sentence_xlm.py
Murat-Karadag/nlu
6a2b5995ea543e63c40baaca1bf9ad8a9db36757
[ "Apache-2.0" ]
null
null
null
from sparknlp.annotator import XlmRoBertaSentenceEmbeddings class Sentence_XLM: @staticmethod def get_default_model(): return XlmRoBertaSentenceEmbeddings.pretrained() \ .setInputCols("sentence", "token") \ .setOutputCol("sentence_xlm_roberta") @staticmethod def get_pretrained_...
28.777778
72
0.704633
42
518
8.47619
0.5
0.092697
0.101124
0.207865
0.308989
0.308989
0.308989
0
0
0
0
0
0.202703
518
17
73
30.470588
0.861985
0
0
0.5
0
0
0.128155
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.166667
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
0
0
0
0
1
0
0
0
2
3cfc2223f6fc7ce10722365f50dd5f52f0e12e9b
73
py
Python
hundun/__version__.py
llbxg/hundun
a063ba4cf42665a3b7861aaccd1e9e31719eef8d
[ "MIT" ]
4
2021-12-24T09:19:45.000Z
2022-03-17T23:44:44.000Z
hundun/__version__.py
llbxg/hundun
a063ba4cf42665a3b7861aaccd1e9e31719eef8d
[ "MIT" ]
5
2022-02-15T07:17:26.000Z
2022-03-03T04:49:38.000Z
hundun/__version__.py
llbxg/hundun
a063ba4cf42665a3b7861aaccd1e9e31719eef8d
[ "MIT" ]
null
null
null
MAJOR = 0 MINOR = 1 MICRO = 38 __version__ = f'{MAJOR}.{MINOR}.{MICRO}'
12.166667
40
0.630137
11
73
3.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0.066667
0.178082
73
5
41
14.6
0.633333
0
0
0
0
0
0.315068
0.315068
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
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a71cece59195853fe2edbac198343f98c9155d34
1,544
py
Python
CMSLogic/models.py
AbhijithGanesh/Student-Portal-CMS
2b29a4b5ee52c3e821de3e440bfbb02d12564ba4
[ "BSD-3-Clause" ]
null
null
null
CMSLogic/models.py
AbhijithGanesh/Student-Portal-CMS
2b29a4b5ee52c3e821de3e440bfbb02d12564ba4
[ "BSD-3-Clause" ]
1
2021-10-11T04:36:54.000Z
2021-10-11T04:36:54.000Z
CMSLogic/models.py
AbhijithGanesh/Student-Portal-CMS
2b29a4b5ee52c3e821de3e440bfbb02d12564ba4
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from pytz import country_names as c from datetime import date dict_choices = dict(c) _choices = [] _keys = list(dict_choices.keys()) _value = list(dict_choices.values()) if len(_keys) == len(_value): for i in range(len(_keys)): a = [_keys[i], _value[i]] _ch...
30.27451
81
0.656088
178
1,544
5.483146
0.494382
0.107582
0.129098
0.172131
0.221311
0.11168
0
0
0
0
0
0.015152
0.23057
1,544
50
82
30.88
0.806397
0
0
0.05
0
0
0.062249
0
0
0
0
0
0
1
0
false
0
0.075
0
0.55
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
0
0
1
0
0
2
a72139b8900377e0a59b5d5cc7f35442fd3d87a6
3,762
py
Python
apphv/mainUser/migrations/0029_auto_20190625_1620.py
FerneyMoreno20/Portfolio
59eaa4f4f6762386fe84450f65f508be1414f857
[ "bzip2-1.0.6" ]
null
null
null
apphv/mainUser/migrations/0029_auto_20190625_1620.py
FerneyMoreno20/Portfolio
59eaa4f4f6762386fe84450f65f508be1414f857
[ "bzip2-1.0.6" ]
6
2019-12-04T23:34:47.000Z
2021-06-09T18:01:16.000Z
apphv/mainUser/migrations/0029_auto_20190625_1620.py
FerneyMoreno20/Portfolio
59eaa4f4f6762386fe84450f65f508be1414f857
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.2 on 2019-06-25 16:20 import ckeditor.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('parametros', '0002_empleos'), ('mainUser', '0028_auto_20190624_1815'), ] operations ...
35.490566
164
0.582669
349
3,762
6.160458
0.272206
0.066977
0.13907
0.163256
0.531163
0.481395
0.306977
0.213023
0.09907
0.09907
0
0.019282
0.296917
3,762
105
165
35.828571
0.793573
0.011962
0
0.59596
1
0
0.175505
0.006191
0
0
0
0
0
1
0
false
0
0.030303
0
0.060606
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a7286bef556ab797ba1396c51b281c34406f6c6e
632
py
Python
Code/preprocessing/doc2vec.py
mattaq31/recognition-forge
c5a6e36d2e81a66ad8c7eb2f108b6821610a7ba9
[ "BSD-2-Clause" ]
null
null
null
Code/preprocessing/doc2vec.py
mattaq31/recognition-forge
c5a6e36d2e81a66ad8c7eb2f108b6821610a7ba9
[ "BSD-2-Clause" ]
null
null
null
Code/preprocessing/doc2vec.py
mattaq31/recognition-forge
c5a6e36d2e81a66ad8c7eb2f108b6821610a7ba9
[ "BSD-2-Clause" ]
1
2019-06-25T11:40:57.000Z
2019-06-25T11:40:57.000Z
from preprocessing.vectorizers import Doc2VecVectorizer from nnframework.data_builder import DataBuilder import pandas as pd import constants as const import numpy as np def generate_d2v_vectors(source_file): df = pd.read_csv(source_file) messages = df["Message"].values vectorizer = Doc2VecVectorizer() ...
30.095238
63
0.761076
81
632
5.666667
0.567901
0.04793
0.078431
0
0
0
0
0
0
0
0
0.011299
0.15981
632
21
64
30.095238
0.853107
0.085443
0
0
1
0
0.026042
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.5
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
0
0
0
2
a72a79dd1bae55f94242fff3f38ccc7bb8c26f56
2,178
py
Python
Prob1.py
ntnshrm87/Python_Quest
66127a872aec3aaefa5eb5aa96ff68b6b24c6d43
[ "MIT" ]
null
null
null
Prob1.py
ntnshrm87/Python_Quest
66127a872aec3aaefa5eb5aa96ff68b6b24c6d43
[ "MIT" ]
null
null
null
Prob1.py
ntnshrm87/Python_Quest
66127a872aec3aaefa5eb5aa96ff68b6b24c6d43
[ "MIT" ]
null
null
null
class C: dangerous = 2 c1 = C() c2 = C() print(c1.dangerous) c1.dangerous = 3 print(c1.dangerous) print(c2.dangerous) del c1.dangerous print(c1.dangerous) print(c2.dangerous) # Solution: # 2 # 3 # 2 # 2 # 2 # Reference: # object.__del__(self) # Called when the instance is about to be destroyed. This is also cal...
47.347826
104
0.771809
364
2,178
4.521978
0.442308
0.033414
0.031592
0.025516
0.149453
0.121507
0.043742
0.043742
0.043742
0
0
0.008879
0.172635
2,178
45
105
48.4
0.903996
0.88843
0
0.454545
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.181818
0.454545
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
0
0
0
0
0
1
0
2
595aed3e3d44ba3c4f150eabb76ebf88b83afb33
1,000
py
Python
ansiscape/interpreters/font.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
null
null
null
ansiscape/interpreters/font.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
30
2021-09-05T13:56:21.000Z
2021-10-05T11:14:11.000Z
ansiscape/interpreters/font.py
cariad/ansiscape
07118b68729fcdc2198fc69c35bb1e9ef1bb5b80
[ "MIT" ]
null
null
null
from ansiscape.enums import Font, InterpretationKey, SelectGraphicRendition from ansiscape.interpreter import Interpreter class FontValue(Interpreter[Font]): def __init__(self) -> None: super().__init__( key=InterpretationKey.FONT, lookup={ SelectGraphicRendition.DE...
43.478261
75
0.653
98
1,000
6.295918
0.285714
0.204214
0.423015
0
0
0
0
0
0
0
0
0.024896
0.277
1,000
22
76
45.454545
0.828492
0
0
0
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.1
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
0
0
0
0
0
0
0
2
596f6b73f0950fef7cca949372221ce81a9faa00
1,813
py
Python
scripts/python/remoteAccessScripts/microThoughts.py
jeremiahmarks/dangerzone
fe2946b8463ed018d2136ca0eb178161ad370565
[ "MIT" ]
1
2015-08-15T05:25:35.000Z
2015-08-15T05:25:35.000Z
scripts/python/remoteAccessScripts/microThoughts.py
jeremiahmarks/dangerzone
fe2946b8463ed018d2136ca0eb178161ad370565
[ "MIT" ]
null
null
null
scripts/python/remoteAccessScripts/microThoughts.py
jeremiahmarks/dangerzone
fe2946b8463ed018d2136ca0eb178161ad370565
[ "MIT" ]
null
null
null
#intent: create a script that will create an HTML page and post it to my website #via python and html. The argument it will accept is the text for the newest post. # server.org/SERVERDIRECTORY/yyyyMonDayhhmmss.html SERVER='ftp.yourhost.org' USERNAME='yourFTPusername' PASSWORD='yourFTPpassword' SERVERDIRECTORY='theD...
32.375
180
0.728075
234
1,813
5.551282
0.478632
0.064665
0.073903
0
0
0
0
0
0
0
0
0
0.142857
1,813
55
181
32.963636
0.835907
0.181467
0
0
0
0.026316
0.208249
0.074375
0
0
0
0
0
0
null
null
0.052632
0.105263
null
null
0.026316
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
0
0
2
597bfe880c920afe713af7eda89b6872b16de014
573
py
Python
docandcover.py
softwaresaved/docandcover
8eb19a0f726b1d635a38c8fe4c5fc52e1810ada6
[ "MIT" ]
null
null
null
docandcover.py
softwaresaved/docandcover
8eb19a0f726b1d635a38c8fe4c5fc52e1810ada6
[ "MIT" ]
6
2017-03-29T14:00:21.000Z
2017-03-29T14:47:00.000Z
docandcover.py
softwaresaved/docandcover
8eb19a0f726b1d635a38c8fe4c5fc52e1810ada6
[ "MIT" ]
null
null
null
#input_var='https://github.com/softwaresaved/docandcover/' input_var='https://github.com/Axelrod-Python/Axelrod' import os import shutil from pygit2 import clone_repository try: shutil.rmtree('tmp-repo') except: pass try: repo = clone_repository(input_var,'tmp-repo') except: pass from fileListGetter...
20.464286
58
0.773124
67
573
6.537313
0.462687
0.063927
0.059361
0.086758
0.100457
0
0
0
0
0
0
0.00198
0.118674
573
27
59
21.222222
0.865347
0.232112
0
0.352941
0
0
0.148741
0
0
0
0
0
0
0
null
null
0.117647
0.294118
null
null
0.058824
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
0
0
2
597e7bbcf78251e6743342600cea9aac5d041101
1,286
py
Python
star_resty/payload/json.py
lazy-labs/star_resty
e7f37d63b740e77bf65d72f94b840efcb893cace
[ "BSD-3-Clause" ]
3
2019-08-23T10:55:54.000Z
2021-02-24T18:55:34.000Z
star_resty/payload/json.py
slv0/star_resty
e7f37d63b740e77bf65d72f94b840efcb893cace
[ "BSD-3-Clause" ]
null
null
null
star_resty/payload/json.py
slv0/star_resty
e7f37d63b740e77bf65d72f94b840efcb893cace
[ "BSD-3-Clause" ]
null
null
null
import types from typing import Mapping, Type, TypeVar, Union import ujson from marshmallow import EXCLUDE, Schema from starlette.requests import Request from star_resty.exceptions import DecodeError from .base import SchemaParser, set_parser __all__ = ('json_schema', 'json_payload', 'JsonParser') P = TypeVar('P') ...
26.791667
92
0.6493
149
1,286
5.47651
0.422819
0.036765
0.039216
0.051471
0.066176
0
0
0
0
0
0
0
0.248834
1,286
47
93
27.361702
0.844721
0
0
0.060606
0
0
0.066874
0
0
0
0
0
0
1
0.121212
false
0
0.212121
0.121212
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
0
0
0
1
1
0
0
2
5980fd2d02b85ef7ebb767b0c1a0ebc07d604493
682
py
Python
hal_fuzz/hal_fuzz/handlers/debug.py
diagprov/hal-fuzz
1446408e64b25aa77971226b764d1db65fe8ba09
[ "Apache-2.0" ]
117
2019-11-11T13:42:26.000Z
2022-01-13T14:43:54.000Z
hal_fuzz/hal_fuzz/handlers/debug.py
diagprov/hal-fuzz
1446408e64b25aa77971226b764d1db65fe8ba09
[ "Apache-2.0" ]
5
2020-10-21T02:19:33.000Z
2021-05-07T09:32:57.000Z
hal_fuzz/hal_fuzz/handlers/debug.py
diagprov/hal-fuzz
1446408e64b25aa77971226b764d1db65fe8ba09
[ "Apache-2.0" ]
23
2019-11-11T13:16:03.000Z
2021-03-27T02:38:38.000Z
from unicorn.arm_const import * def stop(uc): print_context(uc) input("...") def print_context(uc): print("==== State ====") r0 = uc.reg_read(UC_ARM_REG_R0) r1 = uc.reg_read(UC_ARM_REG_R1) r2 = uc.reg_read(UC_ARM_REG_R2) r3 = uc.reg_read(UC_ARM_REG_R3) r4 = uc.reg_read(UC_ARM_REG_R4) ...
29.652174
162
0.627566
136
682
2.852941
0.279412
0.115979
0.208763
0.255155
0.39433
0.39433
0
0
0
0
0
0.06619
0.180352
682
22
163
31
0.627907
0
0
0
0
0.055556
0.181818
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.277778
0.222222
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
0
0
0
2
598cb9e25a6044b54cc915d159c04c50fa9ca7c9
2,326
py
Python
photon/stats.py
logarithm/photon-python
f3b2708874e7ec5eb9a946fe60070045419ea891
[ "Apache-2.0" ]
2
2015-04-10T16:10:57.000Z
2019-04-21T01:22:27.000Z
photon/stats.py
logarithm/photon-python
f3b2708874e7ec5eb9a946fe60070045419ea891
[ "Apache-2.0" ]
null
null
null
photon/stats.py
logarithm/photon-python
f3b2708874e7ec5eb9a946fe60070045419ea891
[ "Apache-2.0" ]
null
null
null
""" Copyright 2015 Logvinenko Maksim Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
38.131148
112
0.713242
244
2,326
6.672131
0.409836
0.030713
0.036855
0.046683
0.09398
0.055283
0.055283
0
0
0
0
0.012589
0.214531
2,326
61
113
38.131148
0.878489
0.239467
0
0
0
0
0.052781
0.039728
0
0
0
0
0
1
0.243243
false
0
0
0.108108
0.378378
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
0
0
0
2
599b795a116e740f86adb48603d69cc901392f50
133
py
Python
bluechannel/customers/urls.py
davemerwin/blue-channel
67a1a7fcc512574e6522aa57633f9d69c25c8906
[ "BSD-3-Clause" ]
4
2016-05-08T06:07:50.000Z
2021-11-21T19:41:40.000Z
bluechannel/customers/urls.py
davemerwin/blue-channel
67a1a7fcc512574e6522aa57633f9d69c25c8906
[ "BSD-3-Clause" ]
null
null
null
bluechannel/customers/urls.py
davemerwin/blue-channel
67a1a7fcc512574e6522aa57633f9d69c25c8906
[ "BSD-3-Clause" ]
3
2017-07-09T02:14:54.000Z
2021-07-13T19:16:59.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('', url(r'^$', 'customers.views.subscribe', name='subscribe'), )
22.166667
62
0.684211
15
133
6.066667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.120301
133
5
63
26.6
0.777778
0
0
0
0
0
0.270677
0.18797
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
59a2b5982fcf0122e590bf66e3daa17be6032252
496
py
Python
settings.py
GlycerinLOL/Hwa_autobuy
57a50523c8086b49c0c44984a2dd383cf1200d29
[ "BSD-2-Clause" ]
null
null
null
settings.py
GlycerinLOL/Hwa_autobuy
57a50523c8086b49c0c44984a2dd383cf1200d29
[ "BSD-2-Clause" ]
null
null
null
settings.py
GlycerinLOL/Hwa_autobuy
57a50523c8086b49c0c44984a2dd383cf1200d29
[ "BSD-2-Clause" ]
null
null
null
URL = "https://www.huahuacomputer.com.tw/products/gigabyte-%E6%8A%80%E5%98%89-aorus-15g-yb-%E6%A9%9F%E6%A2%B0%E8%BB%B8%E9%9B%BB%E7%AB%B6%E7%AD%86%E9%9B%BB-1" DRIVER_PATH = "chromedriver.exe" CHROME_PATH = r"--user-data-dir=C:\\Users\brian\AppData\\Local\\Google\\Chrome\\User Data\Default" # 可透過網址列輸入 chrome://version/ ...
41.333333
157
0.697581
87
496
3.942529
0.758621
0.023324
0.034985
0
0
0
0
0
0
0
0
0.087719
0.080645
496
11
158
45.090909
0.664474
0.272177
0
0
0
0.4
0.797101
0.257971
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
2
59a362944590eed072833268c20a89c3f241796b
1,520
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/ElementStructuralTypeFilter.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/ElementStructuralTypeFilter.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/ElementStructuralTypeFilter.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class ElementStructuralTypeFilter(ElementQuickFilter, IDisposable): """ A filter used to find elements matching a structural type. ElementStructuralTypeFilter(structuralType: StructuralType,inverted: bool) ElementStructuralTypeFilter(structuralType: StructuralType) """ def Dispose(self): ...
28.679245
221
0.656579
141
1,520
6.567376
0.340426
0.12095
0.051836
0.061555
0.204104
0.12203
0.12203
0.12203
0.12203
0.12203
0
0.000855
0.230263
1,520
52
222
29.230769
0.790598
0.489474
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.352941
0
0
0.470588
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
0
0
0
2
59ac8da9fba038a1424ffa54895d1bc128eda832
618
py
Python
datetime/main.py
minister19/Python_snippets
69accc4278443271aefc7e354161eac7df2fa283
[ "MIT" ]
null
null
null
datetime/main.py
minister19/Python_snippets
69accc4278443271aefc7e354161eac7df2fa283
[ "MIT" ]
null
null
null
datetime/main.py
minister19/Python_snippets
69accc4278443271aefc7e354161eac7df2fa283
[ "MIT" ]
null
null
null
from time import timezone import pandas as pd from datetime import datetime # print(datetime.fromtimestamp(1603209600)) # print(datetime.fromtimestamp(1612868324294/1000)) # print(datetime.fromtimestamp(1613283396746//1000)) print(datetime.fromtimestamp(1640851200)) print(datetime.fromtimestamp(1640649600)) print(date...
28.090909
52
0.7589
85
618
5.505882
0.447059
0.314103
0.333333
0.128205
0
0
0
0
0
0
0
0.151515
0.092233
618
21
53
29.428571
0.682709
0.229773
0
0
0
0
0.004237
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0.3125
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
59b6319b559ffd8a2f898cefc7477a2ed90e173e
723
py
Python
serverlesspack/exceptions.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
1
2022-03-07T22:32:32.000Z
2022-03-07T22:32:32.000Z
serverlesspack/exceptions.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
3
2021-03-01T19:12:46.000Z
2021-05-09T11:09:27.000Z
serverlesspack/exceptions.py
Robinson04/serverlesspack
271fdbc4bcc769a778e369b14e5f491360824512
[ "MIT" ]
null
null
null
from .utils import message_with_vars class OutputDirpathTooLow(Exception): def __init__(self, highest_found_directory: str, output_base_dirpath: str): self.highest_found_directory = highest_found_directory self.output_base_dirpath = output_base_dirpath def __str__(self): return messag...
40.166667
117
0.691563
84
723
5.511905
0.380952
0.151188
0.257019
0.161987
0
0
0
0
0
0
0
0
0.253112
723
17
118
42.529412
0.857407
0
0
0
0
0
0.276625
0.031812
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.357143
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
0
0
0
2
59c17ebc9a7ae2e9423eb41ee04d8ddbf7e57f74
127
py
Python
Python/Topics/Match object and flags/Something's missing/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
5
2020-08-29T15:15:31.000Z
2022-03-01T18:22:34.000Z
Python/Topics/Match object and flags/Something's missing/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
null
null
null
Python/Topics/Match object and flags/Something's missing/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
1
2020-12-02T11:13:14.000Z
2020-12-02T11:13:14.000Z
import re string = input() template = r'never gonna let you down...' match = re.match(template, string, flags=re.IGNORECASE)
18.142857
55
0.716535
19
127
4.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.149606
127
6
56
21.166667
0.842593
0
0
0
0
0
0.212598
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
59c4b2527726095facb62a1aaeee22d016192378
14,903
py
Python
assertion/initiator.py
julvei/eth-assertion-protocol
72419e150e14b687978bdaeaf57ebd15f490adf2
[ "MIT" ]
null
null
null
assertion/initiator.py
julvei/eth-assertion-protocol
72419e150e14b687978bdaeaf57ebd15f490adf2
[ "MIT" ]
null
null
null
assertion/initiator.py
julvei/eth-assertion-protocol
72419e150e14b687978bdaeaf57ebd15f490adf2
[ "MIT" ]
null
null
null
""" Author: JV Date: 2021-04-26 Providing the assertion initiator functionalities 1. Compile Contract 2. Publish Contract 3. Pay Fund 4. Publish Parameter Hash 5. Send Assertion Challenge 6. Publish Transaction """ # Includes import os, sys from _pydecimal import Decimal sys.path.append(os.path.dirname(os.path.dirnam...
43.576023
1,051
0.622358
1,301
14,903
6.959262
0.227517
0.013917
0.018666
0.025845
0.447427
0.393417
0.379722
0.236801
0.209189
0.197924
0
0.173052
0.274911
14,903
341
1,052
43.703812
0.664816
0.289405
0
0.458537
0
0
0.164203
0.061516
0
0
0.029367
0.005865
0.039024
1
0.039024
false
0.068293
0.043902
0
0.17561
0.209756
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
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
59c51e1f2ca5b815e2c3b31efb6980de867d9600
2,479
py
Python
appreg/utils.py
acdh-oeaw/dar
c35807c4c8e71ac955c9c1cf3f907f45ad159913
[ "MIT" ]
null
null
null
appreg/utils.py
acdh-oeaw/dar
c35807c4c8e71ac955c9c1cf3f907f45ad159913
[ "MIT" ]
8
2019-08-10T12:52:28.000Z
2021-06-10T21:06:02.000Z
appreg/utils.py
acdh-oeaw/dar
c35807c4c8e71ac955c9c1cf3f907f45ad159913
[ "MIT" ]
null
null
null
from django.conf import settings def populate_webapp(webpage_object, metadata): """ parses a metadata_dict and populates a webpage object with the parsed data :param webpage_object: An instance of the class appreg.models.WebApp :param metadata: A dictionary providing string for the following keys ["title"...
35.927536
90
0.680113
284
2,479
5.728873
0.225352
0.255685
0.137677
0.232329
0.288875
0.249539
0.046712
0.046712
0
0
0
0
0.231948
2,479
68
91
36.455882
0.854517
0.154901
0
0.474576
0
0
0.146589
0
0
0
0
0
0
1
0.016949
false
0
0.016949
0
0.050847
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
0
0
0
0
0
2
59d05e0c02e7a0b2ca0ce8637c1e3726f4efce8b
425
py
Python
Automate the Boring Stuff with Python/02.00 chuva.py
rdemarqui/Estudos
2e86915f92964bc3469011be3e5293648994e2cf
[ "MIT" ]
2
2020-05-09T21:35:36.000Z
2021-12-12T12:23:12.000Z
Automate the Boring Stuff with Python/02.00 chuva.py
rdemarqui/Estudos
2e86915f92964bc3469011be3e5293648994e2cf
[ "MIT" ]
null
null
null
Automate the Boring Stuff with Python/02.00 chuva.py
rdemarqui/Estudos
2e86915f92964bc3469011be3e5293648994e2cf
[ "MIT" ]
null
null
null
# Script da Chuva print('Está chovendo?') verificaChuva = input() if verificaChuva.capitalize() == 'Sim': print('Você tem Guarda-chuva?') checkGuardaChuva = input() if checkGuardaChuva.capitalize() == 'Não': while verificaChuva.capitalize() == 'Sim': print('Espere um pouco') ...
26.5625
50
0.574118
38
425
6.421053
0.552632
0.07377
0.139344
0.245902
0.286885
0
0
0
0
0
0
0
0.289412
425
15
51
28.333333
0.807947
0.035294
0
0.363636
0
0
0.191176
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
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
0
0
0
1
0
2
59e64f809cf8f3e4cfc89c25dedb0eca7aaf25e2
567
py
Python
utility/args.py
Tabbomat/MADUtilities
74f45820bfa1864f92f2eaf20a27308bd15f35c6
[ "MIT" ]
2
2020-11-21T07:26:37.000Z
2021-02-07T00:31:51.000Z
utility/args.py
Tabbomat/MADUtilities
74f45820bfa1864f92f2eaf20a27308bd15f35c6
[ "MIT" ]
null
null
null
utility/args.py
Tabbomat/MADUtilities
74f45820bfa1864f92f2eaf20a27308bd15f35c6
[ "MIT" ]
1
2021-02-07T09:20:53.000Z
2021-02-07T09:20:53.000Z
import configargparse def parse_args() -> dict: parser = configargparse.ArgParser(default_config_files=['config.ini']) parser.add_argument('--madmin_url', required=True, type=str) parser.add_argument('--madmin_user', required=False, default='', type=str) parser.add_argument('--madmin_password', requir...
43.615385
82
0.700176
68
567
5.588235
0.411765
0.071053
0.134211
0.181579
0.281579
0.157895
0
0
0
0
0
0
0.142857
567
12
83
47.25
0.781893
0
0
0
0
0
0.156966
0
0
0
0
0
0
1
0.1
false
0.2
0.1
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
59e9250aea30f4594f6ab7c1e65df49c7c939e9d
633
py
Python
magic_deco_2.py
bmintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2018-11-12T10:33:13.000Z
2019-02-24T05:01:40.000Z
magic_deco_2.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
null
null
null
magic_deco_2.py
LyricLy/python-snippets
9d868b7bbccd793ea1dc513f51290963584a1dee
[ "CC0-1.0" ]
2
2018-11-24T08:16:59.000Z
2019-02-24T04:41:30.000Z
#!/usr/bin/env python3 # encoding: utf-8 def inject_x(f): x = 'hi' def g(*args, **kwargs): nonlocal x return f(*args, **kwargs) return g @inject_x def foo(): return x def inject_x_attempt_2(f): def wrapper(f): x = 'hi' def wrapped(*args, **kwargs): nonlocal x return f(*args, **kwargs) return wra...
13.468085
31
0.647709
97
633
4.061856
0.350515
0.071066
0.152284
0.205584
0.213198
0.213198
0.213198
0.213198
0.213198
0
0
0.013834
0.200632
633
46
32
13.76087
0.764822
0.058452
0
0.411765
0
0
0.10101
0
0
0
0
0
0
1
0.205882
false
0
0
0.058824
0.411765
0.205882
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
0
0
0
2
59eb60269a75ee0f39025bfffb3087ea79f9acaa
909
py
Python
scripts/examples/ClimateEmulator/gev_fit_kma_fretchet.py
teslakit/teslak
3f3dda08c5c5998cb2a7debbf22f2be675a4ff8b
[ "MIT" ]
12
2019-11-14T22:19:12.000Z
2022-03-04T01:25:33.000Z
scripts/examples/ClimateEmulator/gev_fit_kma_fretchet.py
anderdyl/teslaCoSMoS
1495bfa2364ddbacb802d145b456a35213abfb7c
[ "MIT" ]
5
2020-03-24T18:21:41.000Z
2021-08-23T20:39:43.000Z
scripts/examples/ClimateEmulator/gev_fit_kma_fretchet.py
anderdyl/teslaCoSMoS
1495bfa2364ddbacb802d145b456a35213abfb7c
[ "MIT" ]
2
2021-03-06T07:54:41.000Z
2021-06-30T14:33:22.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # basic import import os import os.path as op import sys import time sys.path.insert(0, op.join(op.dirname(__file__),'..','..')) # python libs import numpy as np import xarray as xr # custom libs from teslakit.project_site import PathControl from teslakit.extremes import...
19.340426
68
0.664466
142
909
4.007042
0.492958
0.031634
0.056239
0
0
0
0
0
0
0
0
0.013959
0.133113
909
46
69
19.76087
0.708122
0.275028
0
0
0
0
0.104938
0
0
0
0
0.021739
0
1
0
false
0
0.333333
0
0.333333
0.208333
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
0
0
0
2
ab6566a4a8115f100293be09e5948140791e70fa
133
py
Python
Sets/set .add().py
AndreasGeiger/hackerrank-python
a436c207e62b32f70a6b4279bb641a3c4d90e112
[ "MIT" ]
null
null
null
Sets/set .add().py
AndreasGeiger/hackerrank-python
a436c207e62b32f70a6b4279bb641a3c4d90e112
[ "MIT" ]
null
null
null
Sets/set .add().py
AndreasGeiger/hackerrank-python
a436c207e62b32f70a6b4279bb641a3c4d90e112
[ "MIT" ]
null
null
null
amountInputs = int(input()) countryList = set() for i in range(amountInputs): countryList.add(input()) print(len(countryList))
16.625
29
0.714286
16
133
5.9375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.135338
133
7
30
19
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab65b1bc341678512f5c53999aa2c66d00b7bfcb
568
py
Python
iauth/urls.py
rajmani1995/picfilter
ee5117356fcfecd892fded90d8d018e0303bbd76
[ "CC0-1.0" ]
null
null
null
iauth/urls.py
rajmani1995/picfilter
ee5117356fcfecd892fded90d8d018e0303bbd76
[ "CC0-1.0" ]
null
null
null
iauth/urls.py
rajmani1995/picfilter
ee5117356fcfecd892fded90d8d018e0303bbd76
[ "CC0-1.0" ]
null
null
null
''' Authentication urls for ToDos Users Author: Rajmani Arya ''' from django.conf.urls import url from . import views # Authentiction urls urlpatterns = [ url(r'^login/', views._login), url(r'^signup/', views._register), url(r'^change_password/', views._changePassword), url(r'^logout/', views....
29.894737
85
0.646127
76
568
4.671053
0.473684
0.090141
0.022535
0.028169
0
0
0
0
0
0
0
0.008264
0.147887
568
19
86
29.894737
0.725207
0.396127
0
0
0
0
0.174847
0
0
0
0
0.052632
0
1
0
false
0.1
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
ab6beb754a79edb610ca036a1607fd3109762cde
438
py
Python
patch_tracking/util/upstream/__init__.py
openeuler-mirror/patch-tracking
6217cbabdcc85d71eaeecce3bf85380258ed2053
[ "MulanPSL-1.0" ]
null
null
null
patch_tracking/util/upstream/__init__.py
openeuler-mirror/patch-tracking
6217cbabdcc85d71eaeecce3bf85380258ed2053
[ "MulanPSL-1.0" ]
null
null
null
patch_tracking/util/upstream/__init__.py
openeuler-mirror/patch-tracking
6217cbabdcc85d71eaeecce3bf85380258ed2053
[ "MulanPSL-1.0" ]
null
null
null
"""upstream init""" import patch_tracking.util.upstream.git as git import patch_tracking.util.upstream.github as github class Factory(object): """ Factory """ @staticmethod def create(track): """ git type """ if track.version_control == 'github': return ...
21.9
52
0.591324
48
438
5.3125
0.458333
0.086275
0.14902
0.180392
0.243137
0
0
0
0
0
0
0
0.296804
438
19
53
23.052632
0.827922
0.068493
0
0
0
0
0.024725
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.7
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
0
0
1
0
0
2
ab7204e735e76f75f41eacb816fc1a29cefd1025
299
py
Python
test_documents/cleaner.py
RDShah/text-analyzer
43eb795e761b4ba9726a24b3422a68f5586cf513
[ "MIT" ]
null
null
null
test_documents/cleaner.py
RDShah/text-analyzer
43eb795e761b4ba9726a24b3422a68f5586cf513
[ "MIT" ]
null
null
null
test_documents/cleaner.py
RDShah/text-analyzer
43eb795e761b4ba9726a24b3422a68f5586cf513
[ "MIT" ]
null
null
null
with open('graduation_raw.txt') as rfile: with open('graduation.txt','w') as wfile: for line in rfile: if line == '\n': continue if '[' not in line: wfile.write(line) elif ']' in line: wfile.write(line[:line.index('[')]) wfile.write(line[line.index(']')+1:]) wfile.close()
27.181818
42
0.608696
45
299
4.022222
0.466667
0.165746
0.232044
0.176796
0.39779
0
0
0
0
0
0
0.004115
0.187291
299
10
43
29.9
0.740741
0
0
0
0
0
0.130435
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab83dfd3602a598bf29bd5d732045c09dab50a1e
367
py
Python
108.py
Aarush4907/C107
34283fe00a2869c0dbeb4eba31fd5e6b9929a4a5
[ "MIT" ]
null
null
null
108.py
Aarush4907/C107
34283fe00a2869c0dbeb4eba31fd5e6b9929a4a5
[ "MIT" ]
null
null
null
108.py
Aarush4907/C107
34283fe00a2869c0dbeb4eba31fd5e6b9929a4a5
[ "MIT" ]
null
null
null
import pandas as pd import plotly.graph_objects as go df = pd.read_csv(r"D:\PROGRAMS\PYTHON\C102\108Data.csv") student_df = df.loc[df["student_id"]=="TRL_123"] print (student_df.groupby("level")["attempt"].mean()) fig = go.Figure(go.Bar(x = student_df.groupby("level")["attempt"].mean(),y=['level1','level2','level...
45.875
134
0.689373
58
367
4.241379
0.672414
0.109756
0.130081
0.170732
0.260163
0.260163
0
0
0
0
0
0.038922
0.089918
367
7
135
52.428571
0.697605
0
0
0
0
0
0.280556
0.097222
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab85ebae6d613cd121cc2ea4a589a3393491377c
196
py
Python
plugins/test.py
keyboardcrunch/fastapi_route_plugin_framework
8e82429bad988bfd248781c426486bf93450232e
[ "MIT" ]
null
null
null
plugins/test.py
keyboardcrunch/fastapi_route_plugin_framework
8e82429bad988bfd248781c426486bf93450232e
[ "MIT" ]
null
null
null
plugins/test.py
keyboardcrunch/fastapi_route_plugin_framework
8e82429bad988bfd248781c426486bf93450232e
[ "MIT" ]
null
null
null
""" example plugin to extend a /test route """ from fastapi import APIRouter router = APIRouter() @router.get("/test") async def tester(): """ test route """ return [{"result": "test"}]
19.6
46
0.632653
24
196
5.166667
0.75
0.145161
0
0
0
0
0
0
0
0
0
0
0.188776
196
9
47
21.777778
0.779874
0.193878
0
0
0
0
0.113636
0
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab95e9c0b0824e26d62f744f72c1caa16de57eb9
21,039
py
Python
third_party/blink/renderer/bindings/scripts/idl_types.py
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
third_party/blink/renderer/bindings/scripts/idl_types.py
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/bindings/scripts/idl_types.py
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.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. """IDL type handling. Classes: IdlTypeBase IdlType IdlUnionType IdlArrayOrSequenceType IdlSequenceType IdlFrozenArrayType IdlNullableType IdlAnnotat...
30.803807
83
0.604449
2,340
21,039
5.185043
0.133333
0.037089
0.023572
0.017803
0.410781
0.312289
0.258139
0.183879
0.164015
0.139042
0
0.001395
0.25044
21,039
682
84
30.848974
0.767977
0.178811
0
0.418014
0
0
0.095612
0
0
0
0
0.002933
0
1
0.2194
false
0
0.002309
0.122402
0.415704
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
0
0
0
2
ab9eeca279636d2291b9bcac110d5955add8cb77
2,523
py
Python
aquitania/data_processing/indicator_pipeline.py
marcus-var/aquitania
36cd097f15bb49428e88620330c60c10775fc345
[ "MIT" ]
null
null
null
aquitania/data_processing/indicator_pipeline.py
marcus-var/aquitania
36cd097f15bb49428e88620330c60c10775fc345
[ "MIT" ]
null
null
null
aquitania/data_processing/indicator_pipeline.py
marcus-var/aquitania
36cd097f15bb49428e88620330c60c10775fc345
[ "MIT" ]
null
null
null
######################################################################################################################## # |||||||||||||||||||||||||||||||||||||||||||||||||| AQUITANIA ||||||||||||||||||||||||||||||||||||||||||||||||||||||| # # ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...
39.421875
120
0.437178
265
2,523
4.101887
0.464151
0.066237
0.064397
0.058878
0.164673
0.117755
0.086477
0.086477
0.086477
0.086477
0
0.004434
0.195402
2,523
63
121
40.047619
0.531034
0.468886
0
0.272727
0
0
0.10149
0
0
0
0
0
0
1
0.212121
false
0.090909
0
0
0.363636
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
0
0
0
2
aba070a9154c4b5b6e6604f4e0f61a5625b83367
5,465
py
Python
archiv/views.py
csae8092/djtranskribus
efd73f5ad5752201da4df9020043db020e942e85
[ "MIT" ]
null
null
null
archiv/views.py
csae8092/djtranskribus
efd73f5ad5752201da4df9020043db020e942e85
[ "MIT" ]
null
null
null
archiv/views.py
csae8092/djtranskribus
efd73f5ad5752201da4df9020043db020e942e85
[ "MIT" ]
null
null
null
# generated by appcreator from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.urls import reverse, reverse_lazy from django.views.generic.detail import DetailView from django.views.generic.edit import DeleteView from . filters import * from . forms ...
25.900474
73
0.733028
523
5,465
7.49522
0.202677
0.061224
0.061224
0.085714
0.466582
0.390816
0.390816
0.347959
0.347959
0.347959
0
0
0.177127
5,465
210
74
26.02381
0.871692
0.004209
0
0.48227
1
0
0.06489
0.058824
0
0
0
0
0
1
0.085106
false
0
0.070922
0.085106
0.808511
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
0
0
1
0
0
2
abacc722367c1c4479c4e3182deb60a5667c3623
565
py
Python
award/forms.py
Ras-Kwesi/ranker
f223687ccf21c1c027b1d60de2f4e5da3380f8e1
[ "Unlicense" ]
null
null
null
award/forms.py
Ras-Kwesi/ranker
f223687ccf21c1c027b1d60de2f4e5da3380f8e1
[ "Unlicense" ]
null
null
null
award/forms.py
Ras-Kwesi/ranker
f223687ccf21c1c027b1d60de2f4e5da3380f8e1
[ "Unlicense" ]
null
null
null
from django import forms from .models import * class NewProject(forms.ModelForm): class Meta: model = Project exclude = ['likes', 'profile',] class EditProfile(forms.ModelForm): class Meta: model = Profile exclude = [] fields = ['profilepic','bio','contact'] class E...
20.178571
52
0.59292
57
565
5.842105
0.491228
0.168168
0.228228
0.276276
0.336336
0
0
0
0
0
0
0
0.281416
565
28
53
20.178571
0.820197
0
0
0.3
0
0
0.120141
0
0
0
0
0
0
1
0
false
0
0.1
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
abdf43431b596096db3740657cff467db304feb1
12,209
py
Python
cs3/admin/user/v1beta1/user_api_pb2.py
cs3org/python-cs3apis
33f84befa7c6009ce87fb7594128d26ff6e49bbd
[ "Apache-2.0" ]
1
2020-12-17T14:39:57.000Z
2020-12-17T14:39:57.000Z
cs3/admin/user/v1beta1/user_api_pb2.py
cs3org/python-cs3apis
33f84befa7c6009ce87fb7594128d26ff6e49bbd
[ "Apache-2.0" ]
1
2020-05-06T10:23:07.000Z
2020-05-12T09:07:08.000Z
cs3/admin/user/v1beta1/user_api_pb2.py
cs3org/python-cs3apis
33f84befa7c6009ce87fb7594128d26ff6e49bbd
[ "Apache-2.0" ]
1
2020-05-05T09:24:54.000Z
2020-05-05T09:24:54.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cs3/admin/user/v1beta1/user_api.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflec...
44.235507
1,411
0.785732
1,554
12,209
5.823681
0.116474
0.049834
0.063646
0.067182
0.687182
0.632597
0.632597
0.563646
0.556796
0.520221
0
0.054199
0.097797
12,209
275
1,412
44.396364
0.767408
0.044885
0
0.608333
1
0.016667
0.228385
0.187001
0
0
0
0
0
1
0
false
0
0.029167
0
0.029167
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
abf83e54f3415aec1f3988b6b17f56a2c12a15f2
472
py
Python
SciGen/Network/utilities.py
SamuelSchmidgall/SciGen
d030b71ab87a034f9d59c5a53f501e96411dc0b2
[ "MIT" ]
1
2018-08-07T12:54:25.000Z
2018-08-07T12:54:25.000Z
SciGen/Network/utilities.py
SamuelSchmidgall/SciGen
d030b71ab87a034f9d59c5a53f501e96411dc0b2
[ "MIT" ]
null
null
null
SciGen/Network/utilities.py
SamuelSchmidgall/SciGen
d030b71ab87a034f9d59c5a53f501e96411dc0b2
[ "MIT" ]
null
null
null
import random def ReLU(x, derivative=False): """ ReLU function with corresponding derivative """ if derivative: x[x <= 0] = 0 x[x > 0] = 1 return x x[x < 0] = 0 return x def ReLU_uniform_random(): """ Ideal weight starting values for ReLU """ return random.uniform(0.00...
16.857143
79
0.599576
68
472
4.117647
0.455882
0.028571
0.032143
0.028571
0
0
0
0
0
0
0
0.04142
0.283898
472
27
80
17.481481
0.786982
0.319915
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.083333
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
0
0
0
1
0
0
2
f9f1fea628252f120b90b7e5960a60179c32230f
1,044
py
Python
setup.py
vermakhushboo/sedpy
bf2d325a4c9a6575aceafd3e2a21aeb3d9be763a
[ "MIT" ]
16
2020-08-16T06:21:43.000Z
2022-01-31T14:47:15.000Z
setup.py
vermakhushboo/sedpy
bf2d325a4c9a6575aceafd3e2a21aeb3d9be763a
[ "MIT" ]
9
2020-08-25T12:06:00.000Z
2020-10-03T14:19:34.000Z
setup.py
vermakhushboo/sedpy
bf2d325a4c9a6575aceafd3e2a21aeb3d9be763a
[ "MIT" ]
8
2020-08-16T07:17:08.000Z
2020-10-03T14:10:08.000Z
from setuptools import setup # The text of the README file with open("README.md", 'r') as f: long_description = f.read() # This call to setup() does all the work setup(name="sedpy", version="1.0.0", description="Cross-platform stream-line editing tool", long_description=long_description, l...
36
72
0.626437
118
1,044
5.415254
0.610169
0.178404
0.234742
0.203443
0.084507
0
0
0
0
0
0
0.025063
0.235632
1,044
28
73
37.285714
0.775689
0.063218
0
0
0
0
0.478974
0.028718
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
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
0
0
0
2
e60390e48f6d622544e945b454111b910325b3af
343
py
Python
tests.py
cooperlees/69
ee8bbc85342a5b1950ad78a948253c8cd0ca49a8
[ "BSD-3-Clause" ]
2
2018-05-17T03:48:15.000Z
2019-02-14T02:58:54.000Z
tests.py
cooperlees/69
ee8bbc85342a5b1950ad78a948253c8cd0ca49a8
[ "BSD-3-Clause" ]
null
null
null
tests.py
cooperlees/69
ee8bbc85342a5b1950ad78a948253c8cd0ca49a8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import asyncio import unittest import sixtynine class TestSixtynine(unittest.TestCase): def setUp(self): self.loop = asyncio.get_event_loop() def tearDown(self): self.loop.close() def test_mouthful(self): self.assertEqual(self.loop.run_until_complete(sixt...
19.055556
80
0.702624
43
343
5.488372
0.604651
0.101695
0.101695
0
0
0
0
0
0
0
0
0.010753
0.186589
343
17
81
20.176471
0.835125
0.061224
0
0
0
0
0
0
0
0
0
0
0.1
1
0.3
false
0
0.3
0
0.7
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
0
1
0
0
2
e60d17e60ca7816f1ae19c77551a90b8e08719b9
261
py
Python
tests/test_ccppasswordrestsecure.py
dvdangelo33/pyaim
cef3bdc782eddb062763a5ce7318ab4212a4b07c
[ "MIT" ]
null
null
null
tests/test_ccppasswordrestsecure.py
dvdangelo33/pyaim
cef3bdc782eddb062763a5ce7318ab4212a4b07c
[ "MIT" ]
null
null
null
tests/test_ccppasswordrestsecure.py
dvdangelo33/pyaim
cef3bdc782eddb062763a5ce7318ab4212a4b07c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from pyaim import CCPPasswordRESTSecure aimccp = CCPPasswordRESTSecure('https://cyberark.dvdangelo33.dev/', "clientcert.pem", verify=True) r = aimccp.GetPassword(appid='pyAIM',safe='D-AWS-AccessKeys',username='AnsibleAWSUser') print(r)
32.625
98
0.777778
31
261
6.548387
0.870968
0
0
0
0
0
0
0
0
0
0
0.012295
0.065134
261
7
99
37.285714
0.819672
0.08046
0
0
0
0
0.343096
0
0
0
0
0
0
1
0
false
0.75
0.25
0
0.25
0.25
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
1
0
0
0
0
0
2
e60db7719f44562022f0781403f8cd958564163b
209
py
Python
clonigram/posts/apps.py
EdinsonRequena/platzi-django-course
383c98e67222f9bb7dd1de67d12882ec604b9aef
[ "MIT" ]
1
2020-12-10T17:16:47.000Z
2020-12-10T17:16:47.000Z
clonigram/posts/apps.py
EdinsonRequena/clonigram-django
383c98e67222f9bb7dd1de67d12882ec604b9aef
[ "MIT" ]
null
null
null
clonigram/posts/apps.py
EdinsonRequena/clonigram-django
383c98e67222f9bb7dd1de67d12882ec604b9aef
[ "MIT" ]
null
null
null
''' Post application module. ''' from django.apps import AppConfig class PostsConfig(AppConfig): ''' :type name: str :type verbose_name: str ''' name = 'posts' verbose_name = 'Posts'
14.928571
33
0.626794
23
209
5.608696
0.652174
0.108527
0
0
0
0
0
0
0
0
0
0
0.244019
209
13
34
16.076923
0.816456
0.30622
0
0
0
0
0.084746
0
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
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
2
e61781a66fbfb7463c71ff59af6dce73029066a6
268
py
Python
colorcode/convert.py
nonylene/lostfound
abd3ccaa015cfefdc3b0e1ea9c306d0bfaea2716
[ "MIT" ]
null
null
null
colorcode/convert.py
nonylene/lostfound
abd3ccaa015cfefdc3b0e1ea9c306d0bfaea2716
[ "MIT" ]
null
null
null
colorcode/convert.py
nonylene/lostfound
abd3ccaa015cfefdc3b0e1ea9c306d0bfaea2716
[ "MIT" ]
null
null
null
from config import COLORS def to_color(code, color): r,g,b = (int(code[i*2+1:i*2+3],16) for i in range(3)) return (color, {'r': r, 'g': g, 'b': b}) d = dict(to_color(code,color) for code, color in COLORS) import json print(json.dumps(d,ensure_ascii=False))
24.363636
57
0.645522
54
268
3.148148
0.537037
0.158824
0.129412
0.188235
0
0
0
0
0
0
0
0.03125
0.164179
268
10
58
26.8
0.727679
0
0
0
0
0
0.011194
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.142857
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
0
0
1
0
0
2
e62c1bc29b1592c9d094069f52bd27dc50678b37
3,715
py
Python
Attendance/views.py
MadhuraShanbhag/DRF-Attendance-Web
1a92e7060e0dff5650e14d404c7235e8a3724ce6
[ "MIT" ]
null
null
null
Attendance/views.py
MadhuraShanbhag/DRF-Attendance-Web
1a92e7060e0dff5650e14d404c7235e8a3724ce6
[ "MIT" ]
null
null
null
Attendance/views.py
MadhuraShanbhag/DRF-Attendance-Web
1a92e7060e0dff5650e14d404c7235e8a3724ce6
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.urls import reverse_lazy from . import forms from django.views.generic import TemplateView from django.contrib.auth import logout, authenticate, login from django.contrib.auth.decorators import login_required from rest_framework import generics from .models imp...
29.251969
114
0.729475
376
3,715
7.117021
0.25
0.037369
0.033632
0.046712
0.217862
0.108744
0.108744
0.06278
0
0
0
0.000323
0.166891
3,715
126
115
29.484127
0.864297
0.01965
0
0.24359
0
0
0.063284
0.042375
0
0
0
0
0
1
0.115385
false
0.051282
0.115385
0.076923
0.75641
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
0
0
1
0
0
2
e62c2627c68c03821015a1d4ff0f122900289cbd
413
py
Python
Chapter05/myunittest/tests/tests_mycalc/test_mycalc_add.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
31
2020-08-10T22:37:41.000Z
2022-03-09T21:35:56.000Z
Chapter05/myunittest/tests/tests_mycalc/test_mycalc_add.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
null
null
null
Chapter05/myunittest/tests/tests_mycalc/test_mycalc_add.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
21
2020-08-10T22:37:44.000Z
2022-03-07T07:26:28.000Z
# test_mycalc_add.py test suite for add class method import unittest from myunittest.src.mycalc.mycalc import MyCalc class MyCalcAddTestSuite(unittest.TestCase): def setUp(self): self.calc = MyCalc() def test_add(self): """ test case to validate two positive numbers""" self.assertEqua...
24.294118
66
0.690073
56
413
4.892857
0.607143
0.058394
0
0
0
0
0
0
0
0
0
0.021212
0.200969
413
16
67
25.8125
0.809091
0.227603
0
0
0
0
0.064103
0
0
0
0
0
0.111111
1
0.222222
false
0
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
0
0
0
1
0
0
2
e648218a77dbbd279046b24e5bfc19a2c95879da
345
py
Python
modules/cli/getcli.py
serchaofan/oakleaf
89f390ae931c38d69e5a51b8e1747e6f74238ac3
[ "Apache-2.0" ]
null
null
null
modules/cli/getcli.py
serchaofan/oakleaf
89f390ae931c38d69e5a51b8e1747e6f74238ac3
[ "Apache-2.0" ]
null
null
null
modules/cli/getcli.py
serchaofan/oakleaf
89f390ae931c38d69e5a51b8e1747e6f74238ac3
[ "Apache-2.0" ]
null
null
null
import argparse from modules import get, run def parser_hosts_options(parser): parser.add_argument("-g", "--group", help="Get Hosts from Group") parser.set_defaults(func=get.print_hosts) def parser_groups_options(parser): parser.add_argument("-g", "--group", help="Get Group Info") parser.set_default...
26.538462
69
0.736232
50
345
4.88
0.42
0.07377
0.155738
0.180328
0.590164
0.590164
0.352459
0.352459
0.352459
0
0
0
0.127536
345
12
70
28.75
0.810631
0
0
0
0
0
0.150725
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0.25
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
0
0
0
2
e661d6c38f36a9c7f49061bba642952b7b66d548
545
py
Python
topcoder/solutions/SortEstimate.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
3
2019-12-04T01:22:34.000Z
2020-12-10T15:31:00.000Z
topcoder/solutions/SortEstimate.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
null
null
null
topcoder/solutions/SortEstimate.py
0x8b/HackerRank
45e1a0e2be68950505c0a75218715bd3132a428b
[ "MIT" ]
1
2019-12-04T01:24:01.000Z
2019-12-04T01:24:01.000Z
#!/usr/bin/env python import math def how_many(c, time): assert 1 <= c <= 100 assert 1 <= time <= 2000000000 left, right = 1, 2000000000 while not right - left < 1e-9: n = (left + right) / 2 if n * math.log(n, 2) >= time / c: right = n else: left = n...
20.185185
64
0.566972
86
545
3.534884
0.430233
0.115132
0.157895
0.210526
0.253289
0.194079
0.131579
0
0
0
0
0.260417
0.295413
545
26
65
20.961538
0.53125
0.036697
0
0
0
0
0
0
0
0
0
0
0.375
1
0.0625
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6652a8f59ed7bf8490a9f0c9cbbf0f170342466
4,267
py
Python
fake-switches/run_switch.py
CC-Digital-Innovation/devops-workshop
1498d4382b2cff408856bd049c2b2cdf37cac4e7
[ "MIT" ]
null
null
null
fake-switches/run_switch.py
CC-Digital-Innovation/devops-workshop
1498d4382b2cff408856bd049c2b2cdf37cac4e7
[ "MIT" ]
null
null
null
fake-switches/run_switch.py
CC-Digital-Innovation/devops-workshop
1498d4382b2cff408856bd049c2b2cdf37cac4e7
[ "MIT" ]
1
2021-04-09T20:53:33.000Z
2021-04-09T20:53:33.000Z
from twisted.internet import reactor from fake_switches.switch_configuration import SwitchConfiguration, Port from fake_switches.transports.ssh_service import SwitchSshService from fake_switches.dell.dell_core import DellSwitchCore class CustomSwitchConfiguration(SwitchConfiguration): def __init__(self, *args, **k...
60.098592
112
0.308882
228
4,267
5.574561
0.390351
0.352478
0.04406
0.026751
0
0
0
0
0
0
0
0.065564
0.61753
4,267
71
113
60.098592
0.713235
0
0
0
0
0
0.067713
0
0
0
0
0
0
1
0.063492
false
0
0.063492
0.015873
0.174603
0.015873
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e6670d56f2a9c4c24534ab9be557556da781299f
740
py
Python
doge/filter/__init__.py
zhu327/doge
60991418a0cfedc5b65d1e20cb5c11ec741bd021
[ "Apache-2.0" ]
163
2018-03-19T07:58:07.000Z
2022-03-25T02:25:20.000Z
doge/filter/__init__.py
zhu327/doge
60991418a0cfedc5b65d1e20cb5c11ec741bd021
[ "Apache-2.0" ]
5
2018-12-03T03:32:09.000Z
2021-03-31T08:38:06.000Z
doge/filter/__init__.py
zhu327/doge
60991418a0cfedc5b65d1e20cb5c11ec741bd021
[ "Apache-2.0" ]
34
2018-03-26T05:30:38.000Z
2022-03-10T15:49:31.000Z
from typing import Any from gevent.monkey import patch_thread # type: ignore from doge.common.doge import Executer, Request, Response from doge.common.utils import import_string patch_thread() class BaseFilter(Executer): def __init__(self, context: Any, _next: Executer): self.next = _next def exe...
26.428571
65
0.686486
94
740
5.244681
0.404255
0.111562
0.056795
0.073022
0.085193
0
0
0
0
0
0
0
0.216216
740
27
66
27.407407
0.85
0.016216
0
0
0
0
0.009642
0
0
0
0
0
0
1
0.222222
false
0
0.277778
0.055556
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
0
1
0
0
2
050141c7ae3ea1ed057d30c640060e06cb4616c9
128
py
Python
backend/app/views/common_data.py
Edinburgh-Genome-Foundry/CAB
b8abbae20038012cd2f44af26be157fd37ae83c2
[ "MIT" ]
19
2018-06-22T11:42:28.000Z
2022-02-03T17:04:48.000Z
backend/app/views/common_data.py
Edinburgh-Genome-Foundry/CUBA
d57565951ead619ef9263e8b356b451001fb910f
[ "MIT" ]
9
2020-06-05T17:54:54.000Z
2022-02-12T12:03:19.000Z
backend/app/views/common_data.py
Edinburgh-Genome-Foundry/DnaWeaver-online
fafa87dffce68a801652e2f14b1dfdd4da5a476e
[ "MIT" ]
3
2018-10-18T13:08:50.000Z
2020-08-17T14:09:46.000Z
import os data_path = os.path.join("app", "data", "example_data_file.txt") with open(data_path, "r") as f: DATA = f.read()
21.333333
64
0.65625
23
128
3.478261
0.652174
0.2
0
0
0
0
0
0
0
0
0
0
0.15625
128
5
65
25.6
0.740741
0
0
0
0
0
0.226563
0.164063
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
0506443f1dcf389cc61719440f595c5f4ec84519
147
py
Python
opencv/commercial/Instructions/OpenCV_Basics/image/image.py
SSG-DRD-IOT/commercial-iot-security-system
0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9
[ "MIT" ]
null
null
null
opencv/commercial/Instructions/OpenCV_Basics/image/image.py
SSG-DRD-IOT/commercial-iot-security-system
0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9
[ "MIT" ]
null
null
null
opencv/commercial/Instructions/OpenCV_Basics/image/image.py
SSG-DRD-IOT/commercial-iot-security-system
0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9
[ "MIT" ]
3
2022-01-22T05:02:41.000Z
2022-03-31T08:13:06.000Z
import cv2 img = cv2.imread( 'image.jpg' ) cv2.imshow( "Image", img ) cv2.waitKey( 0 ) cv2.imwrite( "new_image.jpg", img ) cv2.destroyAllWindows()
21
35
0.693878
22
147
4.590909
0.545455
0.178218
0
0
0
0
0
0
0
0
0
0.054688
0.129252
147
6
36
24.5
0.734375
0
0
0
0
0
0.183673
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
2
050e158e7903d83d11f74d14eb4933ead5c5fd28
177,322
py
Python
pysnmp/AWCVX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/AWCVX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/AWCVX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module AWCVX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AWCVX-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:16:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
135.567278
11,851
0.76898
18,112
177,322
7.528379
0.057144
0.010751
0.015203
0.017807
0.38029
0.355347
0.309041
0.287098
0.235527
0.210526
0
0.076374
0.076488
177,322
1,307
11,852
135.671002
0.756276
0.00176
0
0.036661
0
0.00078
0.15779
0.043361
0
0
0
0
0
1
0
false
0.00936
0.00624
0
0.056942
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
052bf20477a633e6e112eee61240a837eb9ea559
997
py
Python
src/privas/bases.py
sunoru/splatoon-privates
453508668ff630579cbc290b0c41b1d40346986e
[ "MIT" ]
1
2018-10-10T16:44:43.000Z
2018-10-10T16:44:43.000Z
src/privas/bases.py
sunoru/splatoon-privas
453508668ff630579cbc290b0c41b1d40346986e
[ "MIT" ]
null
null
null
src/privas/bases.py
sunoru/splatoon-privas
453508668ff630579cbc290b0c41b1d40346986e
[ "MIT" ]
null
null
null
import os PKG_PATH = os.path.abspath(os.path.dirname(__file__)) class PrivaError(Exception): def __init__(self, code, message): super().__init__(code, message) def __str__(self): return ': '.join(map(str, self.args)) class BasePriva: """Base class for Priva (private battl...
26.236842
54
0.57673
112
997
4.928571
0.410714
0.072464
0.101449
0.152174
0.327899
0.327899
0.327899
0.163043
0
0
0
0.005487
0.268806
997
37
55
26.945946
0.751715
0.135406
0
0.210526
0
0
0.124842
0
0
0
0
0
0
1
0.368421
false
0
0.052632
0.052632
0.631579
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
0
1
0
0
2
0532797838d9b585b4bc4c9c1356f9a69ac9091f
669
py
Python
nodeeditor/dev_Surface.py
madhusenthilvel/NodeEditor
e5612d917a24924a7961d196aafa85ca9b650dcf
[ "MIT" ]
53
2019-07-17T17:42:13.000Z
2022-02-07T20:19:48.000Z
nodeeditor/dev_Surface.py
madhusenthilvel/NodeEditor
e5612d917a24924a7961d196aafa85ca9b650dcf
[ "MIT" ]
13
2019-07-10T11:15:34.000Z
2020-12-31T05:03:48.000Z
nodeeditor/dev_Surface.py
madhusenthilvel/NodeEditor
e5612d917a24924a7961d196aafa85ca9b650dcf
[ "MIT" ]
12
2019-07-10T11:03:39.000Z
2022-02-15T11:58:14.000Z
# implemenation of the compute methods for category import numpy as np import random import time import os.path from os import path import matplotlib.pyplot as plt import scipy.interpolate from nodeeditor.say import * import nodeeditor.store as store import nodeeditor.pfwrap as pfwrap print ("reloaded: "+ __file__...
20.90625
91
0.763827
85
669
5.858824
0.647059
0.056225
0
0
0
0
0
0
0
0
0
0.008803
0.150972
669
31
92
21.580645
0.867958
0.240658
0
0
0
0
0.019881
0
0
0
0
0
0
1
0.058824
false
0
0.647059
0
0.764706
0.058824
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
0
1
0
0
2
053ae8c611b636cf0ccd2aac486f27e84003cf0f
1,008
py
Python
nfv/nfv-vim/nfv_vim/tables/_image_table.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
2
2020-02-07T19:01:36.000Z
2022-02-23T01:41:46.000Z
nfv/nfv-vim/nfv_vim/tables/_image_table.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
1
2021-01-14T12:02:25.000Z
2021-01-14T12:02:25.000Z
nfv/nfv-vim/nfv_vim/tables/_image_table.py
SidneyAn/nfv
5f0262a5b6ea4be59f977b9c587c483cbe0e373d
[ "Apache-2.0" ]
2
2021-01-13T08:39:21.000Z
2022-02-09T00:21:55.000Z
# # Copyright (c) 2015-2016 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # from nfv_vim import database from nfv_vim.tables._table import Table _image_table = None class ImageTable(Table): """ Image Table """ def __init__(self): super(ImageTable, self).__init__() def...
18
50
0.672619
124
1,008
5.08871
0.395161
0.253566
0.071315
0.060222
0.091918
0.091918
0
0
0
0
0
0.01297
0.235119
1,008
55
51
18.327273
0.805447
0.167659
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0
0.434783
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
0
0
0
2
053d238ef766b56304ab1c725d23d35301b9c6b4
1,455
py
Python
testfiles/matrix1n2.py
Lytiker/Clustering
2825518947f97dcc37b3751f0f889efee9bac6c1
[ "MIT" ]
null
null
null
testfiles/matrix1n2.py
Lytiker/Clustering
2825518947f97dcc37b3751f0f889efee9bac6c1
[ "MIT" ]
null
null
null
testfiles/matrix1n2.py
Lytiker/Clustering
2825518947f97dcc37b3751f0f889efee9bac6c1
[ "MIT" ]
null
null
null
"""two distance matrices from an imputed training dataset with 54 attributes, from two different row measures""" import pandas as pd import numpy as np from cluster_programme import distance_matrix, distance_matrix2 import time #read dataset with new atttributes new_df=pd.read_csv('../output/new_attr.csv', index_col=0...
35.487805
96
0.76701
219
1,455
4.936073
0.415525
0.041628
0.166512
0.185014
0.114709
0.114709
0.074006
0
0
0
0
0.021212
0.092784
1,455
40
97
36.375
0.797727
0.102406
0
0
0
0
0.365013
0.077376
0
0
0
0
0
0
null
null
0
0.148148
null
null
0.296296
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
0
0
2
054a4bb9ce67725c54311f2edf17838cb403a437
112
py
Python
atcoder/abc/29/C.py
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
atcoder/abc/29/C.py
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
atcoder/abc/29/C.py
utgw/programming-contest
eb7f28ae913296c6f4f9a8136dca8bd321e01e79
[ "MIT" ]
null
null
null
import itertools N = int(input()) A = list('abc') for i in itertools.product(A, repeat=N): print(''.join(i))
22.4
40
0.642857
19
112
3.789474
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.151786
112
5
41
22.4
0.757895
0
0
0
0
0
0.026549
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
054a655487e06b7dfcf7419c666e50bea8d56151
1,577
py
Python
jobcontroller/app.py
nsabine/openshift-batch-demo
ea6b17e4da180750f7cb9ad2a15c62974a45a064
[ "MIT" ]
null
null
null
jobcontroller/app.py
nsabine/openshift-batch-demo
ea6b17e4da180750f7cb9ad2a15c62974a45a064
[ "MIT" ]
null
null
null
jobcontroller/app.py
nsabine/openshift-batch-demo
ea6b17e4da180750f7cb9ad2a15c62974a45a064
[ "MIT" ]
null
null
null
import os import argparse from redis import StrictRedis from rq import Queue # use the kubernetes service environment variables to # connect to the redis queue REDIS_HOST = os.environ['REDIS_MASTER_SERVICE_HOST'] REDIS_PORT = os.environ['REDIS_MASTER_SERVICE_PORT'] # REDIS_URL = 'redis://' + REDIS_HOST + ':' + RE...
30.921569
78
0.704502
206
1,577
5.18932
0.446602
0.033676
0.052385
0.074836
0.203929
0.203929
0.130964
0
0
0
0
0.002273
0.162968
1,577
50
79
31.54
0.807576
0.36525
0
0
0
0
0.226396
0.101523
0
0
0
0.02
0
0
null
null
0
0.166667
null
null
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
1
0
0
0
0
0
0
0
0
2
055482757d92bc26ea5b329b8a196a42934b34ef
2,886
py
Python
communicator/memcached_comm.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
23
2021-05-17T09:24:24.000Z
2022-01-29T18:40:44.000Z
communicator/memcached_comm.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
2
2021-05-17T16:15:12.000Z
2021-07-20T09:11:22.000Z
communicator/memcached_comm.py
DS3Lab/LambdaML
0afca7819e08632ba116fec8e102084e4040a47a
[ "Apache-2.0" ]
3
2021-05-17T09:31:53.000Z
2021-12-02T16:29:59.000Z
from storage import MemcachedStorage from communicator import Communicator from communicator import memcached_primitive, memcached_primitive_nn class MemcachedCommunicator(Communicator): def __init__(self, _storage, _tmp_bucket, _merged_bucket, _num_workers, _worker_index): super(MemcachedCommunicator, s...
54.45283
114
0.70097
356
2,886
5.292135
0.106742
0.067941
0.093418
0.070594
0.70913
0.549363
0.520701
0.462845
0.462845
0.440552
0
0.004021
0.224532
2,886
52
115
55.5
0.837802
0
0
0.162162
0
0
0
0
0
0
0
0
0.027027
1
0.297297
false
0
0.081081
0.27027
0.675676
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
0
0
0
2
056add2eddab7c0e146b0accb62fc4ce22358a88
1,787
py
Python
parsifal/apps/activities/migrations/0003_auto_20210906_0158.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
342
2015-01-14T17:25:35.000Z
2022-02-26T11:59:09.000Z
parsifal/apps/activities/migrations/0003_auto_20210906_0158.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
56
2015-01-23T12:57:59.000Z
2022-03-12T01:01:38.000Z
parsifal/apps/activities/migrations/0003_auto_20210906_0158.py
ShivamPytho/parsifal
9386a0fb328d4880d052c94e9224ce50a9b2f6a6
[ "MIT" ]
200
2015-01-22T21:50:41.000Z
2021-12-28T13:42:57.000Z
# Generated by Django 3.2.6 on 2021-09-06 01:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('reviews', '0035_auto_20210829_0005'), migrations.swappable_dependency(settings.AUTH...
37.229167
163
0.620593
193
1,787
5.559585
0.362694
0.078285
0.139795
0.162162
0.452004
0.452004
0.22274
0.16123
0.12302
0.12302
0
0.028996
0.247342
1,787
47
164
38.021277
0.768773
0.025182
0
0.439024
1
0
0.131034
0.025862
0
0
0
0
0
1
0
false
0
0.073171
0
0.146341
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
056b26da02c2cda75f2fbc5ea0c1f660d35c9ff6
677
py
Python
py-data/peewee/problems/api-related/1/correct-usages/SqliteDatabase.py
ualberta-smr/NFBugs
65d9ef603e9527b3d83f53af0606b1ae240513f1
[ "MIT" ]
3
2019-10-01T19:58:24.000Z
2021-09-17T04:03:21.000Z
py-data/peewee/problems/api-related/1/correct-usages/SqliteDatabase.py
senseconcordia/NFBugsExtended
60058ccbd64107018a92ede73056d08ecbdaaed2
[ "MIT" ]
22
2018-08-23T15:15:37.000Z
2019-03-15T17:09:41.000Z
py-data/peewee/problems/api-related/1/correct-usages/SqliteDatabase.py
senseconcordia/NFBugsExtended
60058ccbd64107018a92ede73056d08ecbdaaed2
[ "MIT" ]
1
2019-02-11T18:26:36.000Z
2019-02-11T18:26:36.000Z
import datetime import decimal import hashlib import logging import operator import re import sys import threading import uuid from bisect import bisect_left from bisect import bisect_right from collections import deque from collections import namedtuple import sqlite3 try: from collections import OrderedDict excep...
20.515152
50
0.726736
79
677
6.189873
0.506329
0.092025
0.128834
0.08998
0
0
0
0
0
0
0
0.003839
0.230428
677
32
51
21.15625
0.934741
0.004431
0
0.068966
0
0
0
0
0
0
0
0
0
0
null
null
0
0.655172
null
null
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
1
0
0
0
1
0
0
0
0
2
0573702348a23e599b75d7b2882838bede980e0d
319
py
Python
ch29/globalnonlocal.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2020-10-12T13:33:29.000Z
2020-10-12T13:33:29.000Z
ch29/globalnonlocal.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
null
null
null
ch29/globalnonlocal.py
eroicaleo/LearningPython
297d46eddce6e43ce0c160d2660dff5f5d616800
[ "MIT" ]
1
2016-11-09T07:28:45.000Z
2016-11-09T07:28:45.000Z
X = 11 def g1(): print(X) def g2(): global X X = 22 def h1(): X = 33 def nested(): print(X) nested() def h2(): X = 33 def nested(): nonlocal X X = 44 nested() print(X) if __name__ == '__main__': g1() g2() g1() h1() h2()
7.975
26
0.398119
42
319
2.833333
0.404762
0.151261
0.10084
0.201681
0
0
0
0
0
0
0
0.108571
0.451411
319
39
27
8.179487
0.571429
0
0
0.458333
0
0
0.025157
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.125
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
0
0
0
2
0577c54405a22186d337222001421c48229ef949
1,189
py
Python
sqlalchemy_django/middleware.py
jayvdb/sqlalchemy_django
bb32f831c885c04a3523ac1d401e2d84239303b8
[ "MIT" ]
null
null
null
sqlalchemy_django/middleware.py
jayvdb/sqlalchemy_django
bb32f831c885c04a3523ac1d401e2d84239303b8
[ "MIT" ]
null
null
null
sqlalchemy_django/middleware.py
jayvdb/sqlalchemy_django
bb32f831c885c04a3523ac1d401e2d84239303b8
[ "MIT" ]
2
2018-11-14T05:14:15.000Z
2021-01-14T13:30:23.000Z
# -*- coding: utf-8 -*- ''' Created on 2017-6-22 @author: hshl.ltd ''' # https://blndxp.wordpress.com/2016/03/04/django-get-current-user-anywhere-in-your-code-using-a-middleware/ from __future__ import absolute_import, division, print_function, unicode_literals try: from threading import local exce...
26.422222
108
0.66947
139
1,189
5.532374
0.503597
0.078023
0.09883
0
0
0
0
0
0
0
0
0.017448
0.228764
1,189
44
109
27.022727
0.821156
0.288478
0
0
0
0
0.016923
0
0
0
0
0
0
1
0.235294
false
0
0.235294
0
0.705882
0.058824
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
0
1
0
0
2
55359b5045d612028aa11f530472c5d7677cace6
482
py
Python
zepid/calc/__init__.py
darrenreger/zEpid
4b5b4ed81933c92bd17d63364df6673d6f9c2ea6
[ "MIT" ]
null
null
null
zepid/calc/__init__.py
darrenreger/zEpid
4b5b4ed81933c92bd17d63364df6673d6f9c2ea6
[ "MIT" ]
null
null
null
zepid/calc/__init__.py
darrenreger/zEpid
4b5b4ed81933c92bd17d63364df6673d6f9c2ea6
[ "MIT" ]
null
null
null
from .utils import (risk_ci, incidence_rate_ci, risk_ratio, risk_difference, number_needed_to_treat, odds_ratio, incidence_rate_ratio, incidence_rate_difference, attributable_community_risk, population_attributable_fraction, probability_to_odds, odds_to_probability, counternull_p...
80.333333
115
0.736515
52
482
6.288462
0.653846
0.119266
0.110092
0
0
0
0
0
0
0
0
0
0.215768
482
5
116
96.4
0.865079
0
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
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
2
556019c99617221408c3fdd5a577b0bed8808f27
192
py
Python
06. Python Essentials/04. For Loops/08. Number sequence.py
tdrv90/softuni-courses
ebf48083211f499050c04a237627c3a9c5367de7
[ "MIT" ]
null
null
null
06. Python Essentials/04. For Loops/08. Number sequence.py
tdrv90/softuni-courses
ebf48083211f499050c04a237627c3a9c5367de7
[ "MIT" ]
2
2021-05-08T08:50:10.000Z
2021-05-08T08:50:53.000Z
06. Python Essentials/04. For Loops/08. Number sequence.py
tdrv90/softuni-courses
ebf48083211f499050c04a237627c3a9c5367de7
[ "MIT" ]
null
null
null
numbers = [] count_of_nums = int(input()) for i in range(count_of_nums): n = int(input()) numbers.append(n) print(f'Max number: {max(numbers)}') print(f'Min number: {min(numbers)}')
19.2
36
0.651042
31
192
3.903226
0.548387
0.115702
0.181818
0
0
0
0
0
0
0
0
0
0.15625
192
9
37
21.333333
0.746914
0
0
0
0
0
0.270833
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5576f96af64ee56d25609f7ab86aad3d9e82dee7
482
py
Python
blackstone/rules/citation_rules.py
goro53467/Blackstone
a3699e828e4d1245d41bac546040b4d73e30a744
[ "Apache-2.0" ]
541
2019-03-27T09:48:51.000Z
2022-03-23T08:58:29.000Z
blackstone/rules/citation_rules.py
goro53467/Blackstone
a3699e828e4d1245d41bac546040b4d73e30a744
[ "Apache-2.0" ]
20
2019-04-25T19:43:59.000Z
2022-01-15T22:59:11.000Z
blackstone/rules/citation_rules.py
goro53467/Blackstone
a3699e828e4d1245d41bac546040b4d73e30a744
[ "Apache-2.0" ]
96
2019-04-25T19:37:46.000Z
2022-03-29T13:09:38.000Z
CITATION_PATTERNS = [ { "label": "GENERIC_CASE_CITATION", "pattern": [ {"IS_BRACKET": True, "OP": "?"}, {"SHAPE": "dddd"}, {"IS_BRACKET": True, "OP": "?"}, {"LIKE_NUM": True, "OP": "?"}, {"TEXT": {"REGEX": "^[A-Z]"}, "OP": "?"}, ...
28.352941
53
0.319502
38
482
3.868421
0.526316
0.122449
0.176871
0.204082
0
0
0
0
0
0
0
0
0.379668
482
16
54
30.125
0.491639
0
0
0.25
0
0
0.286307
0.043568
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
559d03e4a5eb2ac13362977f9c4dba2dcead55ee
14,231
py
Python
Rest-Api/app.py
jigarkcj/Booyah-
508d1fee4a98ba1b29ca0ebeb4c7a1d24d65d9e2
[ "CC-BY-4.0" ]
null
null
null
Rest-Api/app.py
jigarkcj/Booyah-
508d1fee4a98ba1b29ca0ebeb4c7a1d24d65d9e2
[ "CC-BY-4.0" ]
null
null
null
Rest-Api/app.py
jigarkcj/Booyah-
508d1fee4a98ba1b29ca0ebeb4c7a1d24d65d9e2
[ "CC-BY-4.0" ]
1
2021-02-03T11:39:57.000Z
2021-02-03T11:39:57.000Z
import os import json from os import path as pth from pytube import YouTube from pydub import AudioSegment from dejavu import Dejavu from dejavu.recognize import FileRecognizer from flask import Flask, request, abort, jsonify from werkzeug.utils import secure_filename from celery import Celery, states from celery.excep...
30.604301
162
0.704448
1,919
14,231
5.130797
0.182387
0.025086
0.013203
0.01036
0.322263
0.287629
0.26366
0.196527
0.165448
0.156917
0
0.011522
0.140117
14,231
465
163
30.604301
0.793087
0.029864
0
0.275758
0
0
0.138626
0.028585
0
0
0
0.012903
0
0
null
null
0.009091
0.045455
null
null
0.036364
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
0
0
0
0
0
0
2
55a46a77e704c1509160a1df3bb42fec00b9739f
610
py
Python
admin_enhancer/tests/admin.py
JanOosting/django-admin-enhancer
7f1ec27aab094ced1a5299c08b3583fb18d67bbf
[ "MIT" ]
1
2015-02-28T11:02:32.000Z
2015-02-28T11:02:32.000Z
admin_enhancer/tests/admin.py
cicerocasj/django-admin-enhancer
0a4e3524d8b450080f5d20ee6381960a30deed5b
[ "MIT" ]
null
null
null
admin_enhancer/tests/admin.py
cicerocasj/django-admin-enhancer
0a4e3524d8b450080f5d20ee6381960a30deed5b
[ "MIT" ]
null
null
null
from django.contrib import admin from .. import admin as enhanced_admin from .models import Author, Book, Character, Theme class EnhancedModelAdmin(enhanced_admin.EnhancedModelAdminMixin, admin.ModelAdmin): pass class CharacterInline(enhanced_admin.EnhancedAdminMixin, ...
25.416667
64
0.737705
58
610
7.689655
0.482759
0.087444
0.11435
0
0
0
0
0
0
0
0
0
0.183607
610
23
65
26.521739
0.895582
0
0
0
0
0
0.009836
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.6
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
0
0
1
0
0
2
55b44e499305a0172c92d544701f2d6b39b5d1bb
819
py
Python
piccolo/utils/sync.py
telerytech/piccolo
32aae5eccdf0cc5b940c3db7ea7599da87d01c50
[ "MIT" ]
1
2018-12-09T20:12:06.000Z
2018-12-09T20:12:06.000Z
piccolo/utils/sync.py
telerytech/piccolo
32aae5eccdf0cc5b940c3db7ea7599da87d01c50
[ "MIT" ]
null
null
null
piccolo/utils/sync.py
telerytech/piccolo
32aae5eccdf0cc5b940c3db7ea7599da87d01c50
[ "MIT" ]
null
null
null
from __future__ import annotations import asyncio import typing as t from concurrent.futures import ThreadPoolExecutor def run_sync(coroutine: t.Coroutine): """ Run the coroutine synchronously - trying to accommodate as many edge cases as possible. 1. When called within a coroutine. 2. When cal...
32.76
78
0.688645
104
819
5.365385
0.634615
0.035842
0.039427
0
0
0
0
0
0
0
0
0.004894
0.251526
819
24
79
34.125
0.905383
0.452991
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
55b52a09359b03c5fe04f96134281b420dfae9aa
366
py
Python
Fun Excercise/rovarskparket.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
32
2020-04-05T08:29:40.000Z
2022-01-08T03:10:00.000Z
Fun Excercise/rovarskparket.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2021-06-02T04:09:11.000Z
2022-03-02T14:55:03.000Z
Fun Excercise/rovarskparket.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2020-07-13T05:44:04.000Z
2021-03-03T07:07:58.000Z
sen=input('enter text: ') def translate(txt): result=[] vowel=['a','e','i','o','u'] for value in txt.lower(): if value in vowel: result.append(value) else: result.append(value) result.append('o') result.append(value) return result print(""....
24.4
32
0.540984
45
366
4.4
0.533333
0.242424
0.257576
0
0
0
0
0
0
0
0
0
0.286885
366
14
33
26.142857
0.758621
0.057377
0
0.230769
0
0
0.052478
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e956cd17b88ff05357f3eab5e692e5e2d668922e
103
py
Python
task 1.py
Rugvedkaikamwar/result
d3e943e5864978db36b3f6cdef0b8a4af77d63ce
[ "MIT" ]
null
null
null
task 1.py
Rugvedkaikamwar/result
d3e943e5864978db36b3f6cdef0b8a4af77d63ce
[ "MIT" ]
null
null
null
task 1.py
Rugvedkaikamwar/result
d3e943e5864978db36b3f6cdef0b8a4af77d63ce
[ "MIT" ]
null
null
null
X=input("input the radius of the circle : ") r=float(X) a=3.14*r**2 print("area of circle : ",a)
17.166667
45
0.601942
21
103
2.952381
0.666667
0
0
0
0
0
0
0
0
0
0
0.04878
0.203884
103
5
46
20.6
0.707317
0
0
0
0
0
0.510204
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e9648c6865e592f7e50a2c5d290341491be89747
478
py
Python
data_structure/list.py
mstao/pycore
6bb2224a477f788625619ca58cbde7f39a6911eb
[ "MIT" ]
null
null
null
data_structure/list.py
mstao/pycore
6bb2224a477f788625619ca58cbde7f39a6911eb
[ "MIT" ]
null
null
null
data_structure/list.py
mstao/pycore
6bb2224a477f788625619ca58cbde7f39a6911eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # 初始化list classmates = ['Michael', 'Bob', 'Tracy'] print(classmates) # 取第一个元素 print(classmates[0]) # 取最后一个元素 print(classmates[-1]) # 追加元素到末尾 classmates.append("Mary") print(classmates) # 把元素插入到指定的位置 classmates.insert(1, "Walker") print(classmates) # 删除最后一个元素 classmat...
13.277778
40
0.713389
56
478
6.089286
0.553571
0.351906
0
0
0
0
0
0
0
0
0
0.016588
0.117155
478
35
41
13.657143
0.791469
0.248954
0
0.4
0
0
0.077586
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
e97514c2781b1b94a555f6ad0aedfc1f3494b664
1,445
py
Python
class.py
spar7453/python-tutorial
49c793ad8b4aac00d873383703d83b007d848325
[ "MIT" ]
null
null
null
class.py
spar7453/python-tutorial
49c793ad8b4aac00d873383703d83b007d848325
[ "MIT" ]
null
null
null
class.py
spar7453/python-tutorial
49c793ad8b4aac00d873383703d83b007d848325
[ "MIT" ]
null
null
null
class Rectangle: # define parent class def __init__(self, width, height): self.width = width self.height = height def __del__(self): # Called when object is about to be destroyed print(self.__class__.__name__, " is destroyed") def __repr__(self): return (f'{self.__...
26.759259
81
0.631142
189
1,445
4.513228
0.238095
0.084408
0.045721
0.066823
0.218054
0.166471
0
0
0
0
0
0.003643
0.240138
1,445
53
82
27.264151
0.773224
0.225606
0
0.057143
0
0
0.199095
0.022624
0
0
0
0
0
1
0.257143
false
0
0
0.114286
0.428571
0.342857
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
0
0
0
2