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
791518a04cb432f1eb4ecaabfa21f047fd21276f
178
py
Python
lib/nets/awa_net_wrapper.py
VisionLearningGroup/SANE
040f5bfff8d8a362b1fa37c4c769f9195cc43ee6
[ "MIT" ]
1
2021-08-04T18:46:13.000Z
2021-08-04T18:46:13.000Z
lib/nets/awa_net_wrapper.py
VisionLearningGroup/SANE
040f5bfff8d8a362b1fa37c4c769f9195cc43ee6
[ "MIT" ]
null
null
null
lib/nets/awa_net_wrapper.py
VisionLearningGroup/SANE
040f5bfff8d8a362b1fa37c4c769f9195cc43ee6
[ "MIT" ]
2
2021-12-02T12:17:29.000Z
2022-01-21T23:50:35.000Z
import torch.nn as nn class AwAWrapper(nn.Module): def __init__(self, embeddingnet): super(AwAWrapper, self).__init__() self.embeddingnet = embeddingnet
16.181818
42
0.685393
20
178
5.7
0.6
0.140351
0.350877
0
0
0
0
0
0
0
0
0
0.219101
178
10
43
17.8
0.820144
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
791ca61fbf569c184f9746fa15aa902b6d58a7c5
250
py
Python
bin/__init__.py
Linekio/bin
0ed430575051ae8dd55aa6ef9a331dee216be741
[ "MIT" ]
null
null
null
bin/__init__.py
Linekio/bin
0ed430575051ae8dd55aa6ef9a331dee216be741
[ "MIT" ]
null
null
null
bin/__init__.py
Linekio/bin
0ed430575051ae8dd55aa6ef9a331dee216be741
[ "MIT" ]
null
null
null
import bottle root = __import__("pathlib").Path(__file__).resolve().parent bottle.TEMPLATE_PATH = [str(root / 'views')] app = application = bottle.default_app() from . import config from . import utils from . import controller from . import models
22.727273
60
0.748
32
250
5.53125
0.59375
0.225989
0
0
0
0
0
0
0
0
0
0
0.132
250
10
61
25
0.815668
0
0
0
0
0
0.048
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
1
0
1
0
0
3
f70e97783eb7a110103eaab5ec9a5c9b120dce42
3,177
py
Python
tests/test_app.py
Divjyot/SentimentAnalysis
f2ad46a3ac18a2c048ffc6b838fa68a2bb8febed
[ "MIT" ]
null
null
null
tests/test_app.py
Divjyot/SentimentAnalysis
f2ad46a3ac18a2c048ffc6b838fa68a2bb8febed
[ "MIT" ]
null
null
null
tests/test_app.py
Divjyot/SentimentAnalysis
f2ad46a3ac18a2c048ffc6b838fa68a2bb8febed
[ "MIT" ]
null
null
null
import pytest from app import create_app @pytest.fixture def request_header_secret(): return "dev" @pytest.fixture def request_body_positive(): return {"query": "I am having a great day!"} @pytest.fixture def request_body_negative(): return {"query": "I am feeling sad today"} @pytest.fixture def htt...
28.881818
118
0.745672
443
3,177
4.981941
0.158014
0.104667
0.16357
0.111917
0.719982
0.647032
0.606706
0.606706
0.606706
0.606706
0
0.005413
0.127794
3,177
109
119
29.146789
0.79105
0.024551
0
0.263158
0
0
0.093812
0
0
0
0
0
0.210526
1
0.298246
false
0
0.035088
0.105263
0.438596
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
f716ac0e3959c71c4d5608a0af8d5faae868b677
93
py
Python
src/bot.py
amirsafiee/template_telegram_bot
2dfaba93de6ff6066a8b2ac64e1ee95be19c1548
[ "MIT" ]
null
null
null
src/bot.py
amirsafiee/template_telegram_bot
2dfaba93de6ff6066a8b2ac64e1ee95be19c1548
[ "MIT" ]
null
null
null
src/bot.py
amirsafiee/template_telegram_bot
2dfaba93de6ff6066a8b2ac64e1ee95be19c1548
[ "MIT" ]
1
2022-01-24T12:59:19.000Z
2022-01-24T12:59:19.000Z
import os import telebot bot = telebot.TeleBot(os.environ['BOT_TOKEN'], parse_mode='HTML')
15.5
65
0.752688
14
93
4.857143
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.107527
93
5
66
18.6
0.819277
0
0
0
0
0
0.139785
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f7224c2e58ee05e710df8793a015821ab6d25cf2
1,128
py
Python
imporTant_ModulE/complicated_code.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
1
2017-08-21T19:15:43.000Z
2017-08-21T19:15:43.000Z
imporTant_ModulE/complicated_code.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
null
null
null
imporTant_ModulE/complicated_code.py
bradchesney79/illacceptanything
4594ae4634fdb5e39263a6423dc255ed46c25208
[ "MIT" ]
1
2018-10-26T23:46:06.000Z
2018-10-26T23:46:06.000Z
def main(important_parameter, ignored_parameter): """ :return: The answer to everything """ important_field = important_parameter # this way the parameter was actually used, hence making it important. def realmain(): def actualrealrealmain(): def nownoteve...
2.96063
113
0.414007
80
1,128
5.6375
0.625
0.059867
0.073171
0.13969
0
0
0
0
0
0
0
0.009542
0.535461
1,128
380
114
2.968421
0.851145
0.155142
0
0
0
0
0.044843
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f7267d5166a3b5c62a2fa38a85120010bbb91685
264
py
Python
backend/authentication/admin.py
rajc1729/django-nextjs-realtime
4d551f544729cc71a02878ad198dab665840987a
[ "MIT" ]
null
null
null
backend/authentication/admin.py
rajc1729/django-nextjs-realtime
4d551f544729cc71a02878ad198dab665840987a
[ "MIT" ]
null
null
null
backend/authentication/admin.py
rajc1729/django-nextjs-realtime
4d551f544729cc71a02878ad198dab665840987a
[ "MIT" ]
null
null
null
from django.contrib import admin from authentication.models import CustomUser # Register your models here. class CustomUserAdmin(admin.ModelAdmin): list_display = ['username','first_name','last_name','email'] admin.site.register(CustomUser, CustomUserAdmin)
29.333333
64
0.799242
31
264
6.709677
0.709677
0
0
0
0
0
0
0
0
0
0
0
0.098485
264
9
65
29.333333
0.87395
0.098485
0
0
0
0
0.135021
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f7372d11ca4f9fc3c017bb0e2c0de8bfc43a8138
173
py
Python
mydjango_env/news/nip_site/polls/models.py
fuandenghuo/100-days-of-python
50f3263b0984bb6690e565d58604c1882aaf465e
[ "MIT" ]
null
null
null
mydjango_env/news/nip_site/polls/models.py
fuandenghuo/100-days-of-python
50f3263b0984bb6690e565d58604c1882aaf465e
[ "MIT" ]
null
null
null
mydjango_env/news/nip_site/polls/models.py
fuandenghuo/100-days-of-python
50f3263b0984bb6690e565d58604c1882aaf465e
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Question(models.Model): question_text = models.CharField(max_length = 200) pub_date = models.DateTime
24.714286
54
0.757225
24
173
5.333333
0.791667
0
0
0
0
0
0
0
0
0
0
0.02069
0.16185
173
7
55
24.714286
0.862069
0.138728
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f7593f0d4088dcc1c8e534d39b63446ab09e43ea
343
py
Python
tests/test_ray.py
Maik93/NURBS-Python
44d87a972c694371462378672429f2acc24249b2
[ "MIT" ]
382
2016-09-22T16:21:47.000Z
2022-03-27T18:23:16.000Z
tests/test_ray.py
Maik93/NURBS-Python
44d87a972c694371462378672429f2acc24249b2
[ "MIT" ]
143
2017-02-10T03:45:09.000Z
2022-03-31T05:24:05.000Z
tests/test_ray.py
Maik93/NURBS-Python
44d87a972c694371462378672429f2acc24249b2
[ "MIT" ]
123
2016-06-10T14:11:37.000Z
2022-03-28T11:39:00.000Z
import pytest from geomdl import ray from geomdl.ray import Ray, RayIntersection def test_ray_intersect(): r2 = Ray((5.0, 181.34), (13.659999999999997, 176.34)) r3 = Ray((19.999779996773235, 189.9998729810778), (19.999652977851035, 180.00009298430456)) t0, t1, res = ray.intersect(r2, r3) assert res !=...
28.583333
95
0.717201
47
343
5.191489
0.638298
0.081967
0.114754
0
0
0
0
0
0
0
0
0.352941
0.157434
343
11
96
31.181818
0.491349
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.5
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
1
0
0
0
0
3
f75eef80b779428a16131f4553ae4d332f48ab30
356
py
Python
pyleecan/Methods/Mesh/SolutionMat/get_axes_list.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
pyleecan/Methods/Mesh/SolutionMat/get_axes_list.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
pyleecan/Methods/Mesh/SolutionMat/get_axes_list.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np def get_axes_list(self): """Get the value of variables stored in Solution. Parameters ---------- self : SolutionMat an SolutionMat object Returns ------- axis_dict: list a list of axis names containing axis sizes """ re...
16.952381
53
0.601124
45
356
4.644444
0.733333
0.076555
0
0
0
0
0
0
0
0
0
0.003922
0.283708
356
20
54
17.8
0.815686
0.609551
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
f79b9358df3732b0438096f6282d83453165052d
2,136
py
Python
util.py
King-Zach/3D-point-cloud-generation
a8bff131dd15b15f5d10eb38fbc448f305f8ab0c
[ "MIT" ]
373
2018-03-07T18:44:00.000Z
2022-03-13T14:40:07.000Z
util.py
oaeen/3D-point-cloud-generation
c06ed9bbe70e4c27d9d6bfc0fef3ac46ae1c8afe
[ "MIT" ]
15
2018-03-10T09:01:03.000Z
2021-09-13T22:35:20.000Z
util.py
oaeen/3D-point-cloud-generation
c06ed9bbe70e4c27d9d6bfc0fef3ac46ae1c8afe
[ "MIT" ]
102
2018-03-16T13:17:28.000Z
2022-03-06T08:04:16.000Z
import numpy as np import scipy.misc import tensorflow as tf import os import termcolor # compute projection from source to target def projection(Vs,Vt): VsN = tf.shape(Vs)[0] VtN = tf.shape(Vt)[0] Vt_rep = tf.tile(Vt[None,:,:],[VsN,1,1]) # [VsN,VtN,3] Vs_rep = tf.tile(Vs[:,None,:],[1,VtN,1]) # [VsN,VtN,3] diff =...
38.836364
92
0.729869
350
2,136
4.405714
0.322857
0.050584
0.085603
0.11284
0.313878
0.111543
0.088197
0.088197
0.055772
0.055772
0
0.022449
0.082397
2,136
54
93
39.555556
0.764286
0.082397
0
0
0
0
0.062596
0.025654
0
0
0
0
0
1
0.333333
false
0
0.119048
0.166667
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f7a07cc798319a0ee7679a40f53027454f1d99e6
15,800
py
Python
src/command_modules/azure-cli-batchai/azure/cli/command_modules/batchai/tests/latest/test_batchai_scenario.py
mickeymitic/azure-cli
92af6b3cea52f99eee84df93f5d3e2003a273d04
[ "MIT" ]
1
2018-01-30T05:55:29.000Z
2018-01-30T05:55:29.000Z
src/command_modules/azure-cli-batchai/azure/cli/command_modules/batchai/tests/latest/test_batchai_scenario.py
mickeymitic/azure-cli
92af6b3cea52f99eee84df93f5d3e2003a273d04
[ "MIT" ]
null
null
null
src/command_modules/azure-cli-batchai/azure/cli/command_modules/batchai/tests/latest/test_batchai_scenario.py
mickeymitic/azure-cli
92af6b3cea52f99eee84df93f5d3e2003a273d04
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
53.924915
117
0.64462
1,704
15,800
5.853286
0.160211
0.050832
0.051434
0.068779
0.759675
0.709745
0.705635
0.685583
0.667937
0.61931
0
0.011482
0.233797
15,800
292
118
54.109589
0.812407
0.172215
0
0.647368
0
0.031579
0.371073
0.169906
0
0
0
0.003425
0
1
0.036842
false
0.031579
0.042105
0
0.094737
0.005263
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3902471867f99e716d389db0be67285ec281c48
1,035
py
Python
file/views.py
simonprast/bestconnect-backend
fa19998e72941454c8f99246e37ba3d1810f3010
[ "BSD-Source-Code" ]
null
null
null
file/views.py
simonprast/bestconnect-backend
fa19998e72941454c8f99246e37ba3d1810f3010
[ "BSD-Source-Code" ]
2
2022-01-07T07:27:21.000Z
2022-01-07T08:34:54.000Z
file/views.py
simonprast/django-entrypoint
b32377dea0f367be598bc851bc0fdacc2b74a496
[ "CNRI-Python" ]
null
null
null
from django.conf import settings from django.http import FileResponse, HttpResponseForbidden from django.shortcuts import get_object_or_404 from django.views import View from .models import Document class DocumentDownload(View): def get(self, request, relative_path): # get_object_or_404: # Calls ...
41.4
116
0.730435
138
1,035
5.34058
0.557971
0.054274
0.044776
0.056988
0
0
0
0
0
0
0
0.01451
0.200966
1,035
24
117
43.125
0.876663
0.300483
0
0
0
0
0.009749
0
0
0
0
0.041667
0
1
0.076923
false
0
0.384615
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
e3a8550eb369ba1587bd59e88de476d0651d0257
1,026
py
Python
sly_way/utils.py
luciojb/compilador-blm
05d9bba59c6c91ba5cea2714705e8a7bd1fcfd8f
[ "MIT" ]
null
null
null
sly_way/utils.py
luciojb/compilador-blm
05d9bba59c6c91ba5cea2714705e8a7bd1fcfd8f
[ "MIT" ]
null
null
null
sly_way/utils.py
luciojb/compilador-blm
05d9bba59c6c91ba5cea2714705e8a7bd1fcfd8f
[ "MIT" ]
null
null
null
def data(Type, value): ''' Type (NAME | FLOAT | NUMBER | STRING) ''' return (Type, {'value': value}) def expression(op, lhs, rhs): ''' lhs (left-hand-side) rhs (right-hand-side) op (operator) ''' return ('Expression', {'op': op, 'lhs': lhs, 'rhs': rhs}) def var_assign(name, ...
20.52
111
0.561404
128
1,026
4.414063
0.28125
0.079646
0.058407
0.067257
0.067257
0
0
0
0
0
0
0
0.230994
1,026
49
112
20.938776
0.716096
0.158869
0
0
0
0
0.164313
0
0
0
0
0
0
1
0.5
false
0
0
0.1875
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e3c28887d6fed65e1de896d941259cbb9f13c12d
20,958
py
Python
source/tests/py_tests/inheritance_test.py
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
45
2016-06-21T22:28:43.000Z
2022-03-26T12:21:46.000Z
source/tests/py_tests/inheritance_test.py
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
6
2020-07-12T18:00:10.000Z
2021-11-30T11:20:14.000Z
source/tests/py_tests/inheritance_test.py
Panzerschrek/U-00DC-Sprache
eb677a66d178985433a62eb6b8a50ce2cdb14b1a
[ "BSD-3-Clause" ]
5
2019-09-03T17:20:34.000Z
2022-01-30T15:10:21.000Z
from py_tests_common import * def InheritanceTest_ClassKindAttribute_Test0(): c_program_text= """ class S final {} """ tests_lib.build_program( c_program_text ) def InheritanceTest_ClassKindAttribute_Test1(): c_program_text= """ class S polymorph {} """ tests_lib.build_program( c_program_text ) def Inheri...
20.190751
119
0.632169
2,894
20,958
4.363856
0.07671
0.06588
0.09882
0.08235
0.786998
0.759047
0.730699
0.677488
0.644707
0.609391
0
0.045608
0.236282
20,958
1,037
120
20.210222
0.743409
0
0
0.500551
0
0.014333
0.597194
0.001527
0
0
0
0
0.031974
1
0.057332
false
0
0.001103
0
0.085998
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3d50e2f1068372a6312fa0becdb0fc722a2e4bf
2,116
py
Python
terminusdb_client/tests/serverRecordsFromCap.py
KarenImmanuel/terminusdb-client-python
b96212dbe5c72a0d6ffefdcc6994b2078c05b31d
[ "Apache-2.0" ]
43
2020-06-12T23:44:17.000Z
2022-03-12T15:18:55.000Z
terminusdb_client/tests/serverRecordsFromCap.py
KarenImmanuel/terminusdb-client-python
b96212dbe5c72a0d6ffefdcc6994b2078c05b31d
[ "Apache-2.0" ]
151
2020-06-12T20:23:05.000Z
2022-03-29T20:38:35.000Z
terminusdb_client/tests/serverRecordsFromCap.py
KarenImmanuel/terminusdb-client-python
b96212dbe5c72a0d6ffefdcc6994b2078c05b31d
[ "Apache-2.0" ]
46
2020-06-16T20:51:21.000Z
2022-03-17T18:11:46.000Z
server_records_from_cap = { "@id": "doc:server", "@type": "terminus:Server", "rdfs:comment": {"@language": "en", "@value": "The current Database Server itself"}, "rdfs:label": {"@language": "en", "@value": "The DB server"}, "terminus:allow_origin": {"@type": "xsd:string", "@value": "*"}, "termin...
45.021277
88
0.597353
205
2,116
6.02439
0.292683
0.052632
0.194332
0.178138
0.34413
0.323887
0.323887
0
0
0
0
0.019423
0.19707
2,116
46
89
46
0.707475
0
0
0.043478
0
0
0.643195
0.342628
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3f0835fd9ed625baac5ca1fc4551d73d5787073
3,158
py
Python
src/Python/GeometricObjects/Dodecahedron.py
sankhesh/vtk-examples
2d50e847ad62ce0eb71b66c029ad8abb302cd39f
[ "Apache-2.0" ]
null
null
null
src/Python/GeometricObjects/Dodecahedron.py
sankhesh/vtk-examples
2d50e847ad62ce0eb71b66c029ad8abb302cd39f
[ "Apache-2.0" ]
null
null
null
src/Python/GeometricObjects/Dodecahedron.py
sankhesh/vtk-examples
2d50e847ad62ce0eb71b66c029ad8abb302cd39f
[ "Apache-2.0" ]
1
2022-02-16T08:20:41.000Z
2022-02-16T08:20:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import vtk def main(): colors = vtk.vtkNamedColors() dodecahedron = MakeDodecahedron() # Visualize mapper = vtk.vtkPolyDataMapper() mapper.SetInputData(dodecahedron.GetPolyData()) actor = vtk.vtkActor() actor.SetMapper(mapper) actor.Get...
35.886364
77
0.664661
361
3,158
5.792244
0.265928
0.210426
0.353898
0.218077
0.525108
0.525108
0.525108
0.525108
0.525108
0.525108
0
0.184447
0.189677
3,158
87
78
36.298851
0.632669
0.030082
0
0
0
0
0.012753
0
0
0
0
0
0
1
0.030769
false
0
0.015385
0
0.061538
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3f62c5950653980ea886acf522a7844d6bba34f
659
py
Python
wpa_project/student_app/views/__init__.py
s-amundson/wpa_2p1
43deb859123e5ef2eab3652e403c8d2f53d43b77
[ "MIT" ]
1
2022-01-03T02:46:34.000Z
2022-01-03T02:46:34.000Z
wpa_project/student_app/views/__init__.py
s-amundson/wpa_2p1
43deb859123e5ef2eab3652e403c8d2f53d43b77
[ "MIT" ]
31
2021-12-29T17:43:06.000Z
2022-03-25T01:03:17.000Z
wpa_project/student_app/views/__init__.py
s-amundson/wpa_2p1
43deb859123e5ef2eab3652e403c8d2f53d43b77
[ "MIT" ]
null
null
null
from .help_view import HelpView from .index_view import IndexView from .instructor_update_view import InstructorUpdateView from .pdf_view import PdfGetView from .policy_view import PolicyView from .profile_view import ProfileView from .search_view import SearchView, SearchResultView from .student_family_api_view import...
41.1875
67
0.880121
84
659
6.642857
0.440476
0.268817
0.060932
0
0
0
0
0
0
0
0
0
0.094082
659
15
68
43.933333
0.934673
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
54087cc06ecbf380be3198556ea60fb769bd4b33
829
py
Python
app/wordfilter/service/tests/site-packages/buzzblog/trending_client.py
rodrigoalveslima/BuzzBlog
b7bf801c76d9f4188bc885b5d392cd3f6d8c816b
[ "Apache-2.0" ]
1
2022-03-15T21:08:44.000Z
2022-03-15T21:08:44.000Z
app/wordfilter/service/tests/site-packages/buzzblog/trending_client.py
rodrigoalveslima/BuzzBlog
b7bf801c76d9f4188bc885b5d392cd3f6d8c816b
[ "Apache-2.0" ]
null
null
null
app/wordfilter/service/tests/site-packages/buzzblog/trending_client.py
rodrigoalveslima/BuzzBlog
b7bf801c76d9f4188bc885b5d392cd3f6d8c816b
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 Georgia Tech Center for Experimental Research in Computer # Systems from buzzblog.gen import TTrendingService from buzzblog.base_client import BaseClient class Client(BaseClient): def __init__(self, ip_address, port, timeout=30000, logger=None): super().__init__(TTrendingService.Client, ip...
37.681818
85
0.773221
102
829
5.970588
0.45098
0.197044
0.103448
0.065681
0.147783
0.147783
0.147783
0.147783
0
0
0
0.012658
0.14234
829
21
86
39.47619
0.843882
0.101327
0
0
0
0
0.071429
0.071429
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
540b70e3523a4e3ddd6c7d536675bbe3a151fe7a
503
py
Python
hello.py
xius666/cgi-lab
f595a3e55a7de22366b83d8651a26145eb0cc5ad
[ "Apache-2.0" ]
null
null
null
hello.py
xius666/cgi-lab
f595a3e55a7de22366b83d8651a26145eb0cc5ad
[ "Apache-2.0" ]
null
null
null
hello.py
xius666/cgi-lab
f595a3e55a7de22366b83d8651a26145eb0cc5ad
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import os,json print('Content-Type: text/html\r\n\r\n') #Q1 #print('Content-Type: application/json') #print(json.dumps(dict(os.environ), indent = 4)) #Q2 #for param in os.environ['QUERY_STRING'].split('&'): #name = param.split('=')[0] #value = param.split('=')[1] #print(f"<li>QUER...
26.473684
63
0.610338
77
503
3.909091
0.532468
0.119601
0.106312
0.079734
0.126246
0
0
0
0
0
0
0.016471
0.15507
503
18
64
27.944444
0.691765
0.761431
0
0
0
0
0.292453
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
540d42a206fedbccfd005eadbf21035ed75f25f6
495
py
Python
grtoolkit/Mechanics/Pulleys.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
3
2020-02-02T14:33:30.000Z
2020-07-29T00:27:46.000Z
grtoolkit/Mechanics/Pulleys.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
null
null
null
grtoolkit/Mechanics/Pulleys.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
2
2020-02-02T14:33:32.000Z
2022-03-21T14:33:34.000Z
import math def minPulleys(load_weight, pull_weight, Safety_factor, exact=False): ### Pull_weight = load_weight/(2**(n-1)) where load_weight is the heavier load. # You can use any base for the exp or log functions. The more used are 2, e and 10. # https://www.researchgate.net/post/Why_log_with_base_e_is_freque...
55
101
0.755556
87
495
4.045977
0.551724
0.142045
0.119318
0.170455
0.198864
0.198864
0.198864
0.198864
0.198864
0
0
0.021127
0.139394
495
9
102
55
0.805164
0.511111
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
540f9ccc35b5325b8a3274c566ee8b83246b58f8
243
py
Python
utils.py
stephwag/coco-tools
7b6030830c6f1dc0ce254c0e725cdc3847c255b1
[ "MIT" ]
null
null
null
utils.py
stephwag/coco-tools
7b6030830c6f1dc0ce254c0e725cdc3847c255b1
[ "MIT" ]
null
null
null
utils.py
stephwag/coco-tools
7b6030830c6f1dc0ce254c0e725cdc3847c255b1
[ "MIT" ]
null
null
null
import mrcnn class MyDataset(mrcnn.utils.Dataset): def __init__(self, class_map=None): num_images = 3 self._image_ids = [i for i in range(1, num_images + 1)] mrcnn.utils.Dataset.__init__(self, class_map=class_map)
30.375
63
0.683128
37
243
4.081081
0.567568
0.15894
0.225166
0.211921
0
0
0
0
0
0
0
0.015625
0.209877
243
7
64
34.714286
0.770833
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
541bacdd309e7dada1ec19e22c386433f59d0c62
911
py
Python
web/declarations/sitemaps.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
web/declarations/sitemaps.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
web/declarations/sitemaps.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
from django.contrib.sitemaps import Sitemap from django.utils.translation import get_language from i18n.utils import normalize_language_code from declarations.models import Resolution, Declaration class ResolutionSitemap(Sitemap): changefreq = "never" priority = 0.9 def items(self): language = n...
26.028571
78
0.714599
105
911
6.028571
0.419048
0.052133
0.099526
0.075829
0.388626
0.290679
0.290679
0.290679
0.183254
0.183254
0
0.008299
0.206367
911
34
79
26.794118
0.86722
0
0
0.333333
0
0
0.010977
0
0
0
0
0
0
1
0.208333
false
0
0.166667
0.125
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
541cd0e61e13dfd79b49de90e6ea27cbc280ac2d
169
py
Python
outros/temperatura.py
GabrielGustavoMS/programacaoDeComputadores
4eb3735b2393f241da78e2b259fde30ff2566a4c
[ "MIT" ]
null
null
null
outros/temperatura.py
GabrielGustavoMS/programacaoDeComputadores
4eb3735b2393f241da78e2b259fde30ff2566a4c
[ "MIT" ]
null
null
null
outros/temperatura.py
GabrielGustavoMS/programacaoDeComputadores
4eb3735b2393f241da78e2b259fde30ff2566a4c
[ "MIT" ]
null
null
null
fah = float(input("Qual a temperatura em farenheit ==> ")) celsius = 0.56 * (fah-32) print("A temperatura de", fah, "farenheit equivale a", celsius, "celsius")
24.142857
75
0.64497
23
169
4.73913
0.652174
0.220183
0
0
0
0
0
0
0
0
0
0.036496
0.189349
169
6
76
28.166667
0.759124
0
0
0
0
0
0.487654
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
580ec38dcef96842b2e87b1fb11cf68c82e6a002
7,377
py
Python
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_Store_ConnectDevice.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_Store_ConnectDevice.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_Store_ConnectDevice.py
Open-Plus/MetrixHD
8d562feda54cd47ffe1e7888888745ae34c9eaab
[ "Unlicense" ]
null
null
null
# Embedded file name: /usr/lib/enigma2/python/Plugins/Extensions/MyMetrix/metrix_Store_ConnectDevice.py from Plugins.Plugin import PluginDescriptor from Screens.Screen import Screen from Screens.MessageBox import MessageBox from Screens.ChoiceBox import ChoiceBox import socket import base64 from encode import multipart...
59.016
1,308
0.696218
832
7,377
6.120192
0.304087
0.063236
0.023566
0.03535
0.412804
0.388452
0.37117
0.357031
0.357031
0.357031
0
0.062786
0.170937
7,377
125
1,309
59.016
0.769784
0.013691
0
0.123894
0
0.017699
0.411546
0.121924
0
0
0
0
0
0
null
null
0.00885
0.318584
null
null
0.017699
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
1
0
0
0
1
0
0
0
0
3
58190dd96309ad50d5aab0e64c910ad4f5ea0f2c
228
py
Python
coredotcloud/__init__.py
CoreDotToday/CoreDotCloud
6cdd6c8aa72d33e2d025320b976c6060dac734b5
[ "Apache-2.0" ]
null
null
null
coredotcloud/__init__.py
CoreDotToday/CoreDotCloud
6cdd6c8aa72d33e2d025320b976c6060dac734b5
[ "Apache-2.0" ]
null
null
null
coredotcloud/__init__.py
CoreDotToday/CoreDotCloud
6cdd6c8aa72d33e2d025320b976c6060dac734b5
[ "Apache-2.0" ]
null
null
null
"""Top-level package for CoreDotCloud.""" import os from .util import * from .version import __version__ PACKAGE_DIR = os.path.dirname(os.path.abspath(__file__)) __author__ = """CoreDotToday""" __email__ = 'engine@core.today'
22.8
56
0.75
29
228
5.310345
0.724138
0.077922
0
0
0
0
0
0
0
0
0
0
0.109649
228
9
57
25.333333
0.758621
0.153509
0
0
0
0
0.15508
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5831cd060688b94ba9719ebd1aa7b7496e677149
261
py
Python
gameservers/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
4
2020-10-19T17:42:35.000Z
2021-10-10T18:31:07.000Z
gameservers/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
12
2020-12-27T15:03:20.000Z
2022-02-11T17:43:22.000Z
gameservers/__init__.py
Slurpcy/YamiCogs
b13a920a5a50050c4f85e6072e7b004361bd9109
[ "MIT" ]
6
2020-12-23T15:09:11.000Z
2021-12-17T14:55:17.000Z
import json from pathlib import Path from .gameservers import GameServers with open(Path(__file__).parent / "info.json") as fp: __red_end_user_data_statement__ = json.load(fp)["end_user_data_statement"] def setup(bot): bot.add_cog(GameServers(bot))
21.75
78
0.766284
39
261
4.717949
0.615385
0.076087
0.119565
0.217391
0
0
0
0
0
0
0
0
0.130268
261
11
79
23.727273
0.810573
0
0
0
0
0
0.122605
0.088123
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
583e8d7aa4538ee0c5e64edcef534f3afe51e207
129
py
Python
examples/hwapi/hwconfig_z_frdm_k64f.py
truthiswill/micropython
980c7477a043b5d9983be01e0a7d6dd7beecca41
[ "MIT" ]
3
2017-10-26T20:09:03.000Z
2021-12-26T04:34:39.000Z
examples/hwapi/hwconfig_z_frdm_k64f.py
truthiswill/micropython
980c7477a043b5d9983be01e0a7d6dd7beecca41
[ "MIT" ]
null
null
null
examples/hwapi/hwconfig_z_frdm_k64f.py
truthiswill/micropython
980c7477a043b5d9983be01e0a7d6dd7beecca41
[ "MIT" ]
6
2017-10-26T20:07:56.000Z
2021-05-27T00:19:51.000Z
from machine import Pin # Freescale/NXP FRDM-K64F board # Blue LED on port B, pin 21 LED = Signal(Pin(("GPIO_1", 21), Pin.OUT))
21.5
42
0.697674
24
129
3.708333
0.791667
0
0
0
0
0
0
0
0
0
0
0.065421
0.170543
129
5
43
25.8
0.766355
0.434109
0
0
0
0
0.085714
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5849a6d0b8f3de2267f9dd4a059b16f35e9c68e3
247
py
Python
Challenges/Desafio016.py
JeffersonYepes/Python
406423ba0b570680dab9e1b0d0380b41fbe7fe32
[ "MIT" ]
null
null
null
Challenges/Desafio016.py
JeffersonYepes/Python
406423ba0b570680dab9e1b0d0380b41fbe7fe32
[ "MIT" ]
null
null
null
Challenges/Desafio016.py
JeffersonYepes/Python
406423ba0b570680dab9e1b0d0380b41fbe7fe32
[ "MIT" ]
null
null
null
'''from math import trunc num = float(input('Digite um número: ')) print('O número {} tem a parte Inteira {}.'.format(num, trunc(num)))''' num = float(input('Digite um valor: ')) print('O número {} tem a parte Inteira {}.'.format(num, int(num)))
35.285714
71
0.647773
38
247
4.210526
0.5
0.1
0.1625
0.2375
0.725
0.4625
0.4625
0.4625
0.4625
0
0
0
0.1417
247
6
72
41.166667
0.754717
0.534413
0
0
0
0
0.477064
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
584d8ecc1e0e19ba64b46cb0d526e9fdb55fc481
78
py
Python
fortosto/commons/FileType.py
halx4/fortosto
265bf75e38736bf759da0df41ebcb5350672ce4e
[ "MIT" ]
null
null
null
fortosto/commons/FileType.py
halx4/fortosto
265bf75e38736bf759da0df41ebcb5350672ce4e
[ "MIT" ]
null
null
null
fortosto/commons/FileType.py
halx4/fortosto
265bf75e38736bf759da0df41ebcb5350672ce4e
[ "MIT" ]
null
null
null
from enum import Enum class FileType(Enum): csv = 0 jsonl = 1
11.142857
22
0.576923
11
78
4.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0.04
0.358974
78
6
23
13
0.86
0
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
585a542fabb08a7d30cffc75244500dca5316216
282
py
Python
ex107/ex107.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
ex107/ex107.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
ex107/ex107.py
rafaelclemes81/Python
0e685b4e528a29bb23ecf11c9ccdbae8730b3ac3
[ "MIT" ]
null
null
null
import moeda p = float(input('Digite o preço do produto: R$ ')) print(f'A metade de {p} é {moeda.metade(p)}') print(f'O dobro de {p} é {moeda.dobro(p)}') print(f'Aumentando {p} em 10%, temos {moeda.aumentar(p, 10)}') print(f'Diminuindo {p} em 15%, temos {moeda.diminuir(p, 15)}')
31.333333
62
0.652482
53
282
3.471698
0.490566
0.130435
0.043478
0.097826
0
0
0
0
0
0
0
0.032922
0.138298
282
8
63
35.25
0.72428
0
0
0
0
0
0.718861
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
58780214da13a83bdf3dc2ab96d27b029c186882
1,292
py
Python
crescent/resources/rds/option_group/option_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
1
2020-03-26T19:20:03.000Z
2020-03-26T19:20:03.000Z
crescent/resources/rds/option_group/option_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
crescent/resources/rds/option_group/option_configuration.py
mpolatcan/zepyhrus
2fd0b1b9b21613b5876a51fe8b5f9e3afbec1b67
[ "Apache-2.0" ]
null
null
null
from crescent.core import Model from crescent.functions import AnyFn from .option_setting import OptionSetting from .constants import ModelRequiredProperties from typing import Union class OptionConfiguration(Model): def __init__(self): super(OptionConfiguration, self).__init__(required_properties=ModelRe...
44.551724
115
0.7887
147
1,292
6.489796
0.292517
0.062893
0.081761
0.113208
0.248428
0.225367
0.197065
0.197065
0.12369
0.12369
0
0
0.127709
1,292
28
116
46.142857
0.846495
0
0
0
0
0
0
0
0
0
0
0
0
1
0.35
false
0
0.25
0.3
0.95
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
58a2d4d1e360f79e7cb622167b1854d7e8639049
692
py
Python
madoka/nn/nonlinearity.py
korepwx/madoka
56675bd8220935c6a9c1571a886a84bed235fd3b
[ "MIT" ]
null
null
null
madoka/nn/nonlinearity.py
korepwx/madoka
56675bd8220935c6a9c1571a886a84bed235fd3b
[ "MIT" ]
null
null
null
madoka/nn/nonlinearity.py
korepwx/madoka
56675bd8220935c6a9c1571a886a84bed235fd3b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Wrappers on TensorFlow nonlinearity functions, to ease serialization.""" import tensorflow as tf __all__ = [ 'Sigmoid', 'Softmax', 'Tanh', 'Rectify' ] class NonLinearity(object): """Base class for activation function wrappers.""" class Sigmoid(NonLinearity): def __call__(sel...
20.969697
75
0.690751
77
692
5.948052
0.402597
0.131004
0.165939
0.200873
0.375546
0.375546
0.375546
0.375546
0
0
0
0.001776
0.186416
692
32
76
21.625
0.811723
0.197977
0
0.235294
0
0
0.045956
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.235294
0.823529
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
544f6f095d5aed7d1031119c815568756795aff8
6,834
py
Python
killrvideo/video_catalog/video_catalog_service_pb2_grpc.py
KillrVideo/killrvideo-python
55a610c97fd53c405edb2459c2722fc03857cb83
[ "Apache-2.0" ]
30
2018-12-04T21:34:07.000Z
2022-02-19T09:14:25.000Z
killrvideo/video_catalog/video_catalog_service_pb2_grpc.py
KillrVideo/killrvideo-python
55a610c97fd53c405edb2459c2722fc03857cb83
[ "Apache-2.0" ]
5
2019-08-26T18:46:35.000Z
2021-06-01T23:51:20.000Z
killrvideo/video_catalog/video_catalog_service_pb2_grpc.py
KillrVideo/killrvideo-python
55a610c97fd53c405edb2459c2722fc03857cb83
[ "Apache-2.0" ]
7
2019-06-14T07:45:06.000Z
2021-05-20T10:06:49.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from video_catalog import video_catalog_service_pb2 as video__catalog_dot_video__catalog__service__pb2 class VideoCatalogServiceStub(object): """Service responsible for tracking the catalog of available videos for playback """ d...
51.772727
127
0.797191
666
6,834
7.660661
0.147147
0.138769
0.096825
0.112113
0.745394
0.745394
0.745394
0.602901
0.486868
0.357507
0
0.004411
0.137548
6,834
131
128
52.167939
0.861215
0.091601
0
0.252632
1
0
0.130428
0.072369
0
0
0
0
0
1
0.084211
false
0
0.021053
0
0.126316
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54533fde4b969626dbba4f868b0b52612cb3c484
2,115
py
Python
postcodeinfo/apps/postcode_api/tests/importers/test_postcode_gss_code_importer.py
UKHomeOffice/postcodeinfo
f268a6b6d6d7ac55cb2fb307e98275348e30a287
[ "MIT" ]
null
null
null
postcodeinfo/apps/postcode_api/tests/importers/test_postcode_gss_code_importer.py
UKHomeOffice/postcodeinfo
f268a6b6d6d7ac55cb2fb307e98275348e30a287
[ "MIT" ]
null
null
null
postcodeinfo/apps/postcode_api/tests/importers/test_postcode_gss_code_importer.py
UKHomeOffice/postcodeinfo
f268a6b6d6d7ac55cb2fb307e98275348e30a287
[ "MIT" ]
1
2021-04-11T09:12:19.000Z
2021-04-11T09:12:19.000Z
import os from django.test import TransactionTestCase from postcode_api.models import PostcodeGssCode from postcode_api.importers.postcode_gss_code_importer import PostcodeGssCodeImporter LATEST_NSPL_SAMPLE = 'NSPL_FEB_2016_sample.csv' class PostcodeGssCodeImporterTestCase(TransactionTestCase): def setUp(self)...
37.105263
128
0.741844
250
2,115
5.812
0.304
0.075705
0.072264
0.061941
0.43978
0.293187
0.220234
0.196834
0.196834
0.137646
0
0.016686
0.178251
2,115
56
129
37.767857
0.819333
0.019385
0
0.263158
0
0
0.031915
0.011605
0
0
0
0
0.184211
1
0.236842
false
0.026316
0.447368
0.052632
0.763158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
5454860a3e46b7d5bce339e799251592584b874a
152
py
Python
entities.py
tunalagoona/unuseful-api
07050ef2a135c64387d8917768ecfae5750a3a42
[ "MIT" ]
null
null
null
entities.py
tunalagoona/unuseful-api
07050ef2a135c64387d8917768ecfae5750a3a42
[ "MIT" ]
null
null
null
entities.py
tunalagoona/unuseful-api
07050ef2a135c64387d8917768ecfae5750a3a42
[ "MIT" ]
null
null
null
from collections import namedtuple UselessFact = namedtuple( 'UselessFact', ['id', 'text', 'source', 'source_url', 'language', 'permalink'] )
19
67
0.671053
14
152
7.214286
0.785714
0.415842
0
0
0
0
0
0
0
0
0
0
0.164474
152
7
68
21.714286
0.795276
0
0
0
0
0
0.328947
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5462ac366a65f39103e6176f54111fc54fc72ef9
198
py
Python
tests/test_external_forces.py
tp5uiuc/PyElastica
37db35137b198d1c0756e058ec1635a3675fab22
[ "MIT" ]
null
null
null
tests/test_external_forces.py
tp5uiuc/PyElastica
37db35137b198d1c0756e058ec1635a3675fab22
[ "MIT" ]
1
2022-01-06T11:30:20.000Z
2022-02-07T07:11:22.000Z
tests/test_external_forces.py
tp5uiuc/PyElastica
37db35137b198d1c0756e058ec1635a3675fab22
[ "MIT" ]
null
null
null
__doc__ = """ External forcing module import test """ # System imports import pytest import importlib import elastica if __name__ == "__main__": from pytest import main main([__file__])
15.230769
53
0.717172
23
198
5.478261
0.695652
0.190476
0
0
0
0
0
0
0
0
0
0
0.19697
198
12
54
16.5
0.792453
0.070707
0
0
0
0
0.247253
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
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
1
0
1
0
0
3
546b7086a18cf794e51d225d083c3178ad846f64
945
py
Python
root/gtfs_preprocessing_v2.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
null
null
null
root/gtfs_preprocessing_v2.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
null
null
null
root/gtfs_preprocessing_v2.py
transitanalystisarel/TransitAnalystIsrael
341de9272b352c18333ff136a00de0b97cd82216
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # GTFS pre processing import transitanalystisrael_config as cfg import process_date import patch_new_rail_routes_v2 import missing_shapes_from_stops_v2 import gtfs_verifyandpatch import israel_geo_split import agency_txt2js import stops_txt2js import stop_types processda...
37.8
91
0.842328
129
945
5.914729
0.317829
0.144168
0.165138
0.238532
0.625164
0.515072
0.515072
0.515072
0.301442
0
0
0.010239
0.069841
945
24
92
39.375
0.857793
0.065608
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.529412
0
0.529412
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
547d307ed881d59dd3951209a90093b0301b7cb0
2,281
py
Python
leetcode/53 maximum-subarray.py
xiewendan/algorithm
64016100dc5122603be468bef90d62edcd1846ec
[ "MIT" ]
null
null
null
leetcode/53 maximum-subarray.py
xiewendan/algorithm
64016100dc5122603be468bef90d62edcd1846ec
[ "MIT" ]
null
null
null
leetcode/53 maximum-subarray.py
xiewendan/algorithm
64016100dc5122603be468bef90d62edcd1846ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # __author__ = xiaobao # __date__ = 2019/11/06 19:12:23 # desc: desc # 给定一个整数数组 nums ,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。 # 示例: # 输入: [-2,1,-3,4,-1,2,1,-5,4], # 输出: 6 # 解释: 连续子数组 [4,-1,2,1] 的和最大,为 6。 # 进阶: # 如果你已经实现复杂度为 O(n) 的解法,尝试使用更为精妙的分治法求解。 # 来源:力扣(LeetCode) # 链接:https://leetcode-cn....
23.27551
75
0.490574
292
2,281
3.804795
0.318493
0.014401
0.180018
0.118812
0.476148
0.429343
0.307831
0.206121
0.206121
0.189919
0
0.052527
0.34064
2,281
97
76
23.515464
0.68617
0.652345
0
0
0
0
0
0
0
0
0
0
0.666667
1
0.083333
false
0.083333
0
0
0.166667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
5486cdb3c80697a919c63819c1a7886f5044262a
75
py
Python
venv/lib/python3.8/tempfile.py
trkohler/biopython
e7b7d010c71b19de439aa25de736748de4d6ca32
[ "BSD-3-Clause" ]
9
2020-08-25T12:57:45.000Z
2022-01-28T06:43:09.000Z
venv/lib/python3.8/tempfile.py
trkohler/biopython
e7b7d010c71b19de439aa25de736748de4d6ca32
[ "BSD-3-Clause" ]
7
2020-06-06T01:06:19.000Z
2022-02-10T11:15:14.000Z
venv/lib/python3.8/tempfile.py
trkohler/biopython
e7b7d010c71b19de439aa25de736748de4d6ca32
[ "BSD-3-Clause" ]
7
2020-08-12T06:48:51.000Z
2021-05-30T17:56:35.000Z
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/tempfile.py
75
75
0.84
12
75
5.25
0.916667
0
0
0
0
0
0
0
0
0
0
0.053333
0
75
1
75
75
0.786667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
54918953e8790911817ffb683af8c75254baa7ad
208
py
Python
icarus_nmr/scripts/logging_controller.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
1
2022-02-07T22:05:17.000Z
2022-02-07T22:05:17.000Z
icarus_nmr/scripts/logging_controller.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
25
2019-10-16T13:58:09.000Z
2022-02-08T21:34:24.000Z
icarus_nmr/scripts/logging_controller.py
vstadnytskyi/icarus-nmr
9f86ebb66256482023df4c15e552a5dd5573d3ba
[ "BSD-3-Clause" ]
1
2022-02-07T22:05:27.000Z
2022-02-07T22:05:27.000Z
#!/usr/bin/env python3 """ The icarus NMR logging handler process. The process subscribes to a set of PVs and logs them into a file for further inspection. """ if __name__ == '__main__': pass
20.8
129
0.682692
31
208
4.322581
0.903226
0
0
0
0
0
0
0
0
0
0
0.00625
0.230769
208
9
130
23.111111
0.83125
0.721154
0
0
0
0
0.2
0
0
0
0
0
0
1
0
true
0.5
0
0
0
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
1
0
0
0
0
0
3
549f67e9d231d6ca2d1327c9611239e04f258f39
90
py
Python
tech.py
PraveenKavindu/tech
ca06df9160f02432a4a199c0b8c6a10dca21aa43
[ "Apache-2.0" ]
null
null
null
tech.py
PraveenKavindu/tech
ca06df9160f02432a4a199c0b8c6a10dca21aa43
[ "Apache-2.0" ]
null
null
null
tech.py
PraveenKavindu/tech
ca06df9160f02432a4a199c0b8c6a10dca21aa43
[ "Apache-2.0" ]
null
null
null
string1 = "Linux" string2 = "Hint" joined_string = string1 + string2 print(joined_string)
18
33
0.755556
11
90
6
0.636364
0.363636
0
0
0
0
0
0
0
0
0
0.051282
0.133333
90
4
34
22.5
0.794872
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54b5c728e74ebe5b7589a1271a082d1d32ceac61
229
py
Python
PythonExercicios/ex001.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
PythonExercicios/ex001.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
PythonExercicios/ex001.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
# Faça um programa que leia o nome de uma pessoa e mostre uma mensagem de boas-vindas nome = input('Digite seu nome: ') print('Prazer em te conhecer,', nome) # Outra forma: print('Prazer em te conhecer, {}!'.format(nome)
32.714286
86
0.694323
37
229
4.297297
0.702703
0.138365
0.163522
0.188679
0.289308
0
0
0
0
0
0
0
0.19214
229
6
87
38.166667
0.859459
0.628821
0
0
0
0
0.513158
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
49ad89af6bbfa0dbc6fbd8c2d8b4ce31f1be8e71
1,260
py
Python
python_modules/libraries/dagster-postgres/dagster_postgres/run_storage.py
shahvineet98/dagster
2471d39c52f660e23e8c0d8e8ded873ddc3df036
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-postgres/dagster_postgres/run_storage.py
shahvineet98/dagster
2471d39c52f660e23e8c0d8e8ded873ddc3df036
[ "Apache-2.0" ]
null
null
null
python_modules/libraries/dagster-postgres/dagster_postgres/run_storage.py
shahvineet98/dagster
2471d39c52f660e23e8c0d8e8ded873ddc3df036
[ "Apache-2.0" ]
null
null
null
from dagster import check from dagster.core.definitions.environment_configs import SystemNamedDict from dagster.core.serdes import ConfigurableClass, ConfigurableClassData from dagster.core.storage.runs import RunStorageSQLMetadata, SQLRunStorage, create_engine from dagster.core.types import Field, String class Postg...
37.058824
93
0.761111
139
1,260
6.640288
0.345324
0.078007
0.065005
0.056338
0.108342
0.108342
0
0
0
0
0
0
0.159524
1,260
33
94
38.181818
0.871577
0
0
0.076923
0
0
0.035714
0.019048
0
0
0
0
0
1
0.230769
false
0
0.192308
0.153846
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
49dd6289195b3aca39ecdc1d800c53aaa5832e1e
463
py
Python
dogs_vs_cats/src/inception_resnet_v2/conv2d.py
ShiNik/DeepLearning_Tensorflow
a7faf8decc72b6c7b6e3ca08226ca33f792a82ab
[ "MIT" ]
3
2019-10-25T13:44:44.000Z
2020-11-17T04:03:28.000Z
dogs_vs_cats/src/inception_resnet_v2/conv2d.py
ShiNik/DeepLearning_Tensorflow
a7faf8decc72b6c7b6e3ca08226ca33f792a82ab
[ "MIT" ]
2
2019-11-12T19:52:59.000Z
2020-01-12T19:08:21.000Z
dogs_vs_cats/src/inception_resnet_v2/conv2d.py
ShiNik/DeepLearning_Tensorflow
a7faf8decc72b6c7b6e3ca08226ca33f792a82ab
[ "MIT" ]
2
2019-10-08T22:02:53.000Z
2019-11-13T08:17:27.000Z
from keras.layers import Conv2D from keras.layers import BatchNormalization from keras.layers import Activation def build(x,numfilt,filtsz,strides=1,pad='same',act=True,name=None): x = Conv2D(numfilt,kernel_size=filtsz,strides=strides,padding=pad,data_format='channels_last',use_bias=False,name=name+'conv2d')(x) x ...
46.3
133
0.760259
72
463
4.833333
0.513889
0.077586
0.12931
0.181034
0
0
0
0
0
0
0
0.016509
0.084233
463
10
134
46.3
0.804245
0
0
0
0
0
0.094828
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
49e430cc83b70da8fb51437efd141369e8405fcf
707
py
Python
tests/slack_sdk/oauth/state_store/test_file.py
timgates42/python-slack-sdk
6339fbe81031c9aec3f95927ac03706fd31f3544
[ "MIT" ]
2,486
2016-11-03T14:31:43.000Z
2020-10-26T23:07:44.000Z
tests/slack_sdk/oauth/state_store/test_file.py
timgates42/python-slack-sdk
6339fbe81031c9aec3f95927ac03706fd31f3544
[ "MIT" ]
721
2016-11-03T21:26:56.000Z
2020-10-26T12:41:29.000Z
tests/slack_sdk/oauth/state_store/test_file.py
timgates42/python-slack-sdk
6339fbe81031c9aec3f95927ac03706fd31f3544
[ "MIT" ]
627
2016-11-02T19:04:19.000Z
2020-10-25T19:21:13.000Z
import unittest from slack_sdk.oauth.state_store import FileOAuthStateStore class TestFile(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_instance(self): store = FileOAuthStateStore(expiration_seconds=10) self.assertIsNotNone(store) def ...
25.25
59
0.677511
77
707
6.090909
0.441558
0.044776
0.179104
0.24307
0.415778
0.30064
0
0
0
0
0
0.016636
0.234795
707
27
60
26.185185
0.850277
0
0
0.35
0
0
0.004243
0
0
0
0
0
0.15
1
0.25
false
0.1
0.1
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
49e82da0f5d7c1fc357511b66abe39dcf379f46c
59
py
Python
python/3.module/base/test1.py
dunitian/BaseCode
4855ef4c6dd7c95d7239d2048832d8acfe26e084
[ "Apache-2.0" ]
25
2018-06-13T08:13:44.000Z
2020-11-19T14:02:11.000Z
python/3.module/base/test1.py
dunitian/BaseCode
4855ef4c6dd7c95d7239d2048832d8acfe26e084
[ "Apache-2.0" ]
null
null
null
python/3.module/base/test1.py
dunitian/BaseCode
4855ef4c6dd7c95d7239d2048832d8acfe26e084
[ "Apache-2.0" ]
13
2018-06-13T08:13:38.000Z
2022-01-06T06:45:07.000Z
test_str = "111" def show(): print(__name__, "show")
9.833333
27
0.59322
8
59
3.75
0.875
0
0
0
0
0
0
0
0
0
0
0.065217
0.220339
59
5
28
11.8
0.586957
0
0
0
0
0
0.118644
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b70982fe3a3c4d9824673450e9db2e793f150093
147
py
Python
djangobench/benchmarks/query_latest/models.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
3
2016-11-27T22:25:34.000Z
2018-12-12T20:06:40.000Z
djangobench/benchmarks/query_latest/models.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
null
null
null
djangobench/benchmarks/query_latest/models.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class Book(models.Model): title = models.CharField(max_length=100) class Meta: get_latest_by = 'pk'
18.375
44
0.687075
21
147
4.666667
0.857143
0
0
0
0
0
0
0
0
0
0
0.026087
0.217687
147
7
45
21
0.826087
0
0
0
0
0
0.013605
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b718e97ce361cef81981fd8681b59c91fe7495ab
581
py
Python
tests/test_session_service.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
4
2019-05-02T07:51:13.000Z
2019-09-25T12:14:06.000Z
tests/test_session_service.py
sap-archive/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
2
2019-09-13T15:36:32.000Z
2019-11-15T06:01:09.000Z
tests/test_session_service.py
SAP/iot-services-sdk
157e607b0c8b3a7b77836336aa31d89ebd8e9f86
[ "CNRI-Python" ]
1
2020-01-17T15:44:52.000Z
2020-01-17T15:44:52.000Z
import unittest from .config import get_config from iot_services_sdk import SessionService class SessionServiceTest(unittest.TestCase): def setUp(self) -> None: config = get_config() self.session_service = SessionService(instance=config['IOTS']['instance'], ...
24.208333
82
0.55938
57
581
5.578947
0.473684
0.100629
0.113208
0.09434
0
0
0
0
0
0
0
0
0.335628
581
23
83
25.26087
0.823834
0
0
0.2
0
0
0.055077
0
0
0
0
0
0
1
0.266667
false
0.266667
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b72417c7ad7def307ed38620ea502d0c8f149182
150
py
Python
Chapter06/iter_util/itertools_compress.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
31
2020-08-10T22:37:41.000Z
2022-03-09T21:35:56.000Z
Chapter06/iter_util/itertools_compress.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
null
null
null
Chapter06/iter_util/itertools_compress.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
21
2020-08-10T22:37:44.000Z
2022-03-07T07:26:28.000Z
#itertools_compress.py import itertools letters = ['A','B','C'] selector = [True, 0, 1] for x in itertools.compress(letters, selector): print (x)
21.428571
47
0.686667
22
150
4.636364
0.727273
0.333333
0
0
0
0
0
0
0
0
0
0.015625
0.146667
150
7
48
21.428571
0.78125
0.14
0
0
0
0
0.023256
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b730daa2b9ac238b1d12108a5bcca02f0c78bc5c
210
py
Python
drsync/__init__.py
sheoran/drsync
31e8dd03ff3035505bed45f3948bf45f51bd7ce0
[ "MIT" ]
3
2017-04-18T08:23:30.000Z
2021-06-11T13:16:17.000Z
drsync/__init__.py
sheoran/drsync
31e8dd03ff3035505bed45f3948bf45f51bd7ce0
[ "MIT" ]
null
null
null
drsync/__init__.py
sheoran/drsync
31e8dd03ff3035505bed45f3948bf45f51bd7ce0
[ "MIT" ]
1
2017-04-18T08:43:43.000Z
2017-04-18T08:43:43.000Z
def main(): import logging from .drsync import Drsync FORMAT = "%(asctime)s: %(message)s" logging.basicConfig(format=FORMAT, level=logging.INFO, datefmt="%Y-%m-%d %H:%M:%S") Drsync().main()
30
87
0.633333
29
210
4.586207
0.62069
0
0
0
0
0
0
0
0
0
0
0
0.17619
210
6
88
35
0.768786
0
0
0
0
0
0.195238
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b73db0762b7e6d3e9b3d875703ce9b4abec086c2
634
py
Python
jjx_editor/world.py
WinterSnake/JJX-Editor
cab6cede64724e08c111b7bb6e52200212c12c8c
[ "MIT" ]
null
null
null
jjx_editor/world.py
WinterSnake/JJX-Editor
cab6cede64724e08c111b7bb6e52200212c12c8c
[ "MIT" ]
null
null
null
jjx_editor/world.py
WinterSnake/JJX-Editor
cab6cede64724e08c111b7bb6e52200212c12c8c
[ "MIT" ]
null
null
null
##-----------------------------## ## Junk Jack X Editor ## ## Written By: Ryan Smith ## ##-----------------------------## ## World Class ## ##-----------------------------## ## Imports from __future__ import annotations from pathlib import Path from typing import Union ## Classes class ...
19.8125
55
0.457413
57
634
4.894737
0.596491
0.064516
0
0
0
0
0
0
0
0
0
0
0.282334
634
31
56
20.451613
0.613187
0.37224
0
0.272727
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0.272727
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
1
0
1
0
0
1
0
0
3
b74538126bb1cd10fe186a57355b0ce34d7037b5
140
py
Python
Python - Desafios e Execercios resolvidos/007.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
Python - Desafios e Execercios resolvidos/007.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
Python - Desafios e Execercios resolvidos/007.py
RamonesQ/Projetos
25f6077102df3580ca5a6d37b860aa2cd0d2487d
[ "MIT" ]
null
null
null
n1 = int(input("Primeira nota: ")) n2 = int(input("Segunda nota: ")) m = n1/n2 print(f"A divião é:\n {m:.4}", end = '\n ...') print("hi")
17.5
46
0.542857
25
140
3.04
0.68
0.210526
0
0
0
0
0
0
0
0
0
0.043103
0.171429
140
7
47
20
0.612069
0
0
0
0
0
0.410072
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f868dc10d567d66eba18ce88c404b15862ec8c6
5,883
py
Python
festive-ferrets/backend/nchan/tests.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
festive-ferrets/backend/nchan/tests.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
festive-ferrets/backend/nchan/tests.py
jannisko/summer-code-jam-2020
db797d7646a7eeb2d668196f9eca678f638aad7e
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
from django.test import TestCase from .models import Board, Post, Comment class BoardsTests(TestCase): def test_no_boards(self): """ Tests if the 'boards' endpoint is responding and if the response initially contains no boards """ resp = self.client.get('/nchan/boards/') ...
47.829268
112
0.610913
734
5,883
4.858311
0.153951
0.069265
0.054964
0.064498
0.814919
0.755749
0.704431
0.660123
0.634885
0.550196
0
0.023094
0.241883
5,883
122
113
48.221311
0.776457
0.098419
0
0.486842
0
0
0.273068
0.01459
0
0
0
0
0.289474
1
0.118421
false
0
0.026316
0
0.184211
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f92b1697cc22577e075f750050816f38091d9e8
1,073
py
Python
gbf_raid_bot/utilities.py
Frizz925/gbf-raid-bot
2e063500c8c561d8d82851f73824b4c210989309
[ "MIT" ]
2
2018-03-15T19:22:13.000Z
2020-04-07T15:12:47.000Z
gbf_raid_bot/utilities.py
Frizz925/gbf-raid-bot
2e063500c8c561d8d82851f73824b4c210989309
[ "MIT" ]
null
null
null
gbf_raid_bot/utilities.py
Frizz925/gbf-raid-bot
2e063500c8c561d8d82851f73824b4c210989309
[ "MIT" ]
null
null
null
import time import os ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) def get_current_millis(): return int(round(time.time() * 1000)) def merge_dict(*args, deep=False): target = args[0] sources = args[1:] for source in sources: for key, value in source.items(): if deep and isinstan...
24.953488
73
0.689655
161
1,073
4.447205
0.378882
0.062849
0.02514
0.050279
0.125698
0.125698
0.125698
0.125698
0.125698
0.125698
0
0.015573
0.162162
1,073
42
74
25.547619
0.780868
0
0
0
0
0
0.002796
0
0
0
0
0
0
1
0.242424
false
0
0.090909
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
1
0
0
0
1
1
0
0
3
3ffb6f2ae5da2cecf63c9b56fdb89123ed482a83
325
py
Python
Modulo 1/ex019.py
Werberty/Curso-em-Video-Python3
24c0299edd635fb9c2db2ecbaf8532d292f92d49
[ "MIT" ]
1
2022-03-06T11:37:47.000Z
2022-03-06T11:37:47.000Z
Modulo 1/ex019.py
Werberty/Curso-em-Video-Python3
24c0299edd635fb9c2db2ecbaf8532d292f92d49
[ "MIT" ]
null
null
null
Modulo 1/ex019.py
Werberty/Curso-em-Video-Python3
24c0299edd635fb9c2db2ecbaf8532d292f92d49
[ "MIT" ]
null
null
null
from random import choice aluno_1 = str(input('Nome do 1° aluno: ')) aluno_2 = str(input('Nome do 1° aluno: ')) aluno_3 = str(input('Nome do 3° aluno: ')) aluno_4 = str(input('Nome do 4° aluno: ')) alunos = [aluno_1, aluno_2, aluno_3, aluno_4] sorteado = choice(alunos) print(f'Parabens {sorteado} você vai limpar o quad...
40.625
55
0.695385
61
325
3.639344
0.393443
0.144144
0.216216
0.252252
0.234234
0.234234
0.234234
0.234234
0
0
0
0.043165
0.144615
325
8
55
40.625
0.741007
0
0
0
0
0
0.358896
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b201e5fa557aac81bd01b52112529494d59954bf
429
py
Python
django/kisaan/kisaan_api/serializers.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
2
2019-08-24T16:50:37.000Z
2020-09-05T08:39:49.000Z
django/kisaan/kisaan_api/serializers.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
null
null
null
django/kisaan/kisaan_api/serializers.py
AkshitOstwal/cfthacks2019
7260ff1b4c0ce8ee288bd3dc445e0465845410d2
[ "MIT" ]
null
null
null
from rest_framework import serializers from dashboard.models import WaterLevel class WaterLevelSerializer(serializers.ModelSerializer): class Meta: model = WaterLevel fields=('id','name','crop','temp','pressure','humidity',) class FetchWaterLevelSerializer(serializers.ModelSerializer): cla...
25.235294
72
0.710956
40
429
7.6
0.525
0.171053
0.203947
0.230263
0.552632
0.368421
0.368421
0
0
0
0
0
0.16317
429
16
73
26.8125
0.846797
0
0
0.4
0
0
0.158508
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b74c4a1a2eb780b1b5f5a39646bba009d79eb217
4,073
py
Python
plentypot/settings.py
CPU-sangoma/PlentyPot
27e326f61e57746f5ca6701358d86c01b4a9ee31
[ "MIT" ]
null
null
null
plentypot/settings.py
CPU-sangoma/PlentyPot
27e326f61e57746f5ca6701358d86c01b4a9ee31
[ "MIT" ]
null
null
null
plentypot/settings.py
CPU-sangoma/PlentyPot
27e326f61e57746f5ca6701358d86c01b4a9ee31
[ "MIT" ]
null
null
null
""" Django settings for plentypot project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
27.33557
91
0.694574
441
4,073
6.30839
0.439909
0.074766
0.055356
0.062904
0.19087
0.167146
0.095974
0.095974
0.043134
0
0
0.011491
0.166708
4,073
148
92
27.52027
0.808191
0.242819
0
0
1
0
0.563215
0.456713
0
0
0
0
0
1
0
false
0.0625
0.010417
0
0.010417
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b74ccfdbcb359ea241fc6a770fb70ff8a45a56e9
107
py
Python
website/addons/dataverse/settings/local-travis.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
null
null
null
website/addons/dataverse/settings/local-travis.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
null
null
null
website/addons/dataverse/settings/local-travis.py
lbanner/osf.io
1898ef0ff8bd91713e94c60e7463b5f81ac62caa
[ "Apache-2.0" ]
null
null
null
HOST = 'dvn-demo.iq.harvard.edu' # Dataverse test server VERIFY_SSL = False # Disable for test server
35.666667
59
0.719626
16
107
4.75
0.875
0.263158
0
0
0
0
0
0
0
0
0
0
0.186916
107
2
60
53.5
0.873563
0.420561
0
0
0
0
0.389831
0.389831
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b756e19c29b1958b5167b6ba43fb0c6c2def21d7
2,340
py
Python
arpeggio/tests/test_ptnode_navigation_expressions.py
KOLANICH/Arpeggio
ba03693ce4d800d052b83d0dee181aa206bbd647
[ "MIT" ]
127
2015-01-01T14:02:29.000Z
2018-12-27T12:59:09.000Z
arpeggio/tests/test_ptnode_navigation_expressions.py
KOLANICH/Arpeggio
ba03693ce4d800d052b83d0dee181aa206bbd647
[ "MIT" ]
46
2018-12-27T17:20:58.000Z
2022-03-20T16:38:30.000Z
arpeggio/tests/test_ptnode_navigation_expressions.py
KOLANICH/Arpeggio
ba03693ce4d800d052b83d0dee181aa206bbd647
[ "MIT" ]
30
2015-06-22T03:57:39.000Z
2018-07-07T08:15:06.000Z
# -*- coding: utf-8 -*- ####################################################################### # Name: test_ptnode_navigation_expressions # Purpose: Test ParseTreeNode navigation expressions. # Author: Igor R. Dejanović <igor DOT dejanovic AT gmail DOT com> # Copyright: (c) 2014 Igor R. Dejanović <igor DOT dejanovic A...
32.957746
82
0.653846
311
2,340
4.864952
0.369775
0.059484
0.059484
0.035691
0.081956
0.056841
0.056841
0.056841
0.056841
0.056841
0
0.014218
0.188462
2,340
70
83
33.428571
0.782517
0.38547
0
0
0
0
0.046347
0
0
0
0
0
0.533333
1
0.233333
false
0
0.1
0.2
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
1
0
0
0
3
b76d1be1a36c7c9a1e2c95dc2d6f039d9cc014c8
181
py
Python
src/repository/tracker.py
viniciuslimafernandes/CovidBrazil-BOT
854bfcabfdb9c49a572e5345387709958aa871a2
[ "MIT" ]
3
2020-08-18T22:50:46.000Z
2021-03-05T15:48:22.000Z
src/repository/tracker.py
viniciuslimafernandes/CovidBrazil-BOT
854bfcabfdb9c49a572e5345387709958aa871a2
[ "MIT" ]
null
null
null
src/repository/tracker.py
viniciuslimafernandes/CovidBrazil-BOT
854bfcabfdb9c49a572e5345387709958aa871a2
[ "MIT" ]
null
null
null
import requests onlyBrazilURL = "https://covid19-brazil-api.now.sh/api/report/v1/brazil" req = requests.get(onlyBrazilURL) data = req.json() def getCovidData(): return data
18.1
73
0.734807
24
181
5.541667
0.75
0
0
0
0
0
0
0
0
0
0
0.018987
0.127072
181
9
74
20.111111
0.822785
0
0
0
0
0
0.298343
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
b77a22954cc6ff72aa37c47ef52c4a1443fd876d
3,716
py
Python
app/models.py
KingVulkan/Blog
ccddb852f636d531ea566ac51b428e75662c4b77
[ "Unlicense", "MIT" ]
null
null
null
app/models.py
KingVulkan/Blog
ccddb852f636d531ea566ac51b428e75662c4b77
[ "Unlicense", "MIT" ]
null
null
null
app/models.py
KingVulkan/Blog
ccddb852f636d531ea566ac51b428e75662c4b77
[ "Unlicense", "MIT" ]
null
null
null
from flask_login import UserMixin from . import db from werkzeug.security import generate_password_hash,check_password_hash from . import login_manager from datetime import datetime #login decorator modifies the loderuser function @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id...
30.459016
86
0.682185
503
3,716
4.902584
0.224652
0.081103
0.101379
0.103812
0.463909
0.393755
0.349148
0.315491
0.227899
0.227899
0
0.015136
0.199946
3,716
121
87
30.710744
0.814329
0.118407
0
0.39759
1
0
0.064871
0
0
0
0
0
0
1
0.180723
false
0.13253
0.060241
0.084337
0.783133
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
1
0
0
1
0
0
3
b78d39fecc592b4624e80fc61b074de1fee29a0b
2,754
py
Python
state1/truetable-2-Verilog/untest/createEplogic.py
whutddk/Verilog_RA_Script
a90816949abc246a410c6ddc66f371a8a0f39d41
[ "MIT" ]
null
null
null
state1/truetable-2-Verilog/untest/createEplogic.py
whutddk/Verilog_RA_Script
a90816949abc246a410c6ddc66f371a8a0f39d41
[ "MIT" ]
9
2019-02-13T10:45:07.000Z
2019-03-11T11:34:24.000Z
state1/truetable-2-Verilog/untest/createEplogic.py
whutddk/Verilog_RA_Script
a90816949abc246a410c6ddc66f371a8a0f39d41
[ "MIT" ]
null
null
null
import sys import time for k in range(0,1024): with open ('./logicVerilog/logicV'+str(k)+'.v','w') as vFile: vFile.write('module prm_oblgc_chk'+str(k)+'\n(\ninput A,\ninput B,\ninput C,\ninput D,\ninput E,\ninput F,\ninput G,\ninput H,\ninput I,\ninput J,\ninput K,\ninput L,\ninput M,\ninput N,\ninput O,\noutput e...
23.338983
224
0.458969
329
2,754
3.829787
0.209726
0.355556
0.190476
0.025397
0
0
0
0
0
0
0
0.03439
0.324256
2,754
117
225
23.538462
0.642665
0.006173
0
0.288462
0
0.009615
0.140716
0.016082
0
0
0
0
0
1
0
false
0.144231
0.019231
0
0.019231
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
1
0
0
0
0
0
3
b7a1a4f1eff9d462e831a8193afd0d94e9d7dbdf
95
py
Python
parse-url.py
buggoing/pythonTools
c3a17a12be0023092298f2a8dbacb46215dce1f0
[ "MIT" ]
null
null
null
parse-url.py
buggoing/pythonTools
c3a17a12be0023092298f2a8dbacb46215dce1f0
[ "MIT" ]
null
null
null
parse-url.py
buggoing/pythonTools
c3a17a12be0023092298f2a8dbacb46215dce1f0
[ "MIT" ]
null
null
null
import urlparse url = 'http://bing.com/search?q=good' res = urlparse.urlparse(url) print(res)
15.833333
37
0.726316
15
95
4.6
0.733333
0.318841
0
0
0
0
0
0
0
0
0
0
0.105263
95
6
38
15.833333
0.811765
0
0
0
0
0
0.302083
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b7b74a581c33109da3f924a18704bd298bf05ddb
156
py
Python
random-numbers/poisson.py
RodrigoMattosoSilveira/py-learning
bbf3e86ddbf5b24218deb096a625ae6668637bfa
[ "MIT" ]
null
null
null
random-numbers/poisson.py
RodrigoMattosoSilveira/py-learning
bbf3e86ddbf5b24218deb096a625ae6668637bfa
[ "MIT" ]
null
null
null
random-numbers/poisson.py
RodrigoMattosoSilveira/py-learning
bbf3e86ddbf5b24218deb096a625ae6668637bfa
[ "MIT" ]
null
null
null
import numpy as np import random for i in range(0, 10): s = np.random.poisson(10, 100) j = random.randint(1, 100) # print (s) print(s[j])
15.6
34
0.596154
28
156
3.321429
0.642857
0.129032
0
0
0
0
0
0
0
0
0
0.104348
0.262821
156
9
35
17.333333
0.704348
0.057692
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
b7ba3f3908150937e37757b086ff5bc98f2f3122
1,160
py
Python
old_town_road/models.py
PopeyeTheSailorsCat/RShinyFun
368c1cb08489271f0a21e407e6e4e13b6f09b04c
[ "MIT" ]
null
null
null
old_town_road/models.py
PopeyeTheSailorsCat/RShinyFun
368c1cb08489271f0a21e407e6e4e13b6f09b04c
[ "MIT" ]
1
2021-05-19T16:46:57.000Z
2021-05-19T16:46:57.000Z
old_town_road/models.py
PopeyeTheSailorsCat/RShinyFun
368c1cb08489271f0a21e407e6e4e13b6f09b04c
[ "MIT" ]
3
2021-05-19T16:44:43.000Z
2021-05-31T19:29:44.000Z
from django.db import models from django.contrib.postgres.forms import SimpleArrayField from django.contrib.postgres.fields import ArrayField # class Author(models.Model): # name = models.CharField(max_length=255) # email = models.EmailField() # # # class Field(models.Model): # name = models.CharField(max...
27.619048
63
0.706897
147
1,160
5.414966
0.367347
0.158291
0.188442
0.105528
0.414573
0.414573
0.414573
0.365578
0.207286
0.207286
0
0.022869
0.17069
1,160
41
64
28.292683
0.804574
0.311207
0
0.368421
0
0
0.001274
0
0
0
0
0
0
1
0.157895
false
0
0.157895
0.157895
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
b7d52b3b5e8c27a46e245e404b298538dd81d12b
753
py
Python
python4.py
Yranchik/python
b9e14d09089d2650ac197544f018861ffbb22423
[ "Apache-2.0" ]
null
null
null
python4.py
Yranchik/python
b9e14d09089d2650ac197544f018861ffbb22423
[ "Apache-2.0" ]
null
null
null
python4.py
Yranchik/python
b9e14d09089d2650ac197544f018861ffbb22423
[ "Apache-2.0" ]
null
null
null
import unittest import re from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC ...
24.290323
67
0.707835
98
753
5.346939
0.530612
0.137405
0.200382
0.160305
0.137405
0.137405
0
0
0
0
0
0.004878
0.183267
753
30
68
25.1
0.847154
0
0
0
0
0
0.057487
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.55
0.1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4d00452b15ab9bb6387b32a7cfbc153395c3d54b
44,482
py
Python
ansible/roles/dataqs/templates/dataq_settings.py
OpenGeoscience/data_queues
305ddbafca9fa02288a1e7788c72e70bc5485320
[ "Apache-2.0" ]
9
2015-10-02T21:19:08.000Z
2020-03-18T08:00:22.000Z
ansible/roles/dataqs/templates/dataq_settings.py
OpenGeoscience/data_queues
305ddbafca9fa02288a1e7788c72e70bc5485320
[ "Apache-2.0" ]
45
2015-09-28T17:09:39.000Z
2018-09-05T04:51:21.000Z
ansible/roles/dataqs/templates/dataq_settings.py
OpenGeoscience/data_queues
305ddbafca9fa02288a1e7788c72e70bc5485320
[ "Apache-2.0" ]
10
2015-10-10T03:41:00.000Z
2020-04-02T21:02:32.000Z
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2012 OpenPlans # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either versio...
151.29932
4,472
0.772627
6,305
44,482
5.427914
0.202538
0.013178
0.012156
0.014961
0.447915
0.426584
0.411302
0.391842
0.3874
0.376677
0
0.024706
0.161953
44,482
293
4,473
151.8157
0.893342
0.030687
0
0.138211
0
0.097561
0.83725
0.015325
0
0
0
0
0
1
0.004065
false
0.012195
0.012195
0
0.01626
0.004065
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d18f1c8c2e4d5a2627fc0d7485183c62bb5be71
220
py
Python
webshell/urls.py
Imshuaige/zqxt
d9bbd3d75823f7ebf2a144db01c6518abd596b0b
[ "MIT" ]
318
2017-11-08T00:27:37.000Z
2021-08-15T10:04:41.000Z
webshell/urls.py
MrSilvers/zqxt
62778ad89d9ca72a221b1b7a23bb926992dd8aab
[ "MIT" ]
2
2017-11-13T07:41:27.000Z
2017-11-13T16:23:12.000Z
webshell/urls.py
MrSilvers/zqxt
62778ad89d9ca72a221b1b7a23bb926992dd8aab
[ "MIT" ]
161
2017-11-07T05:18:32.000Z
2021-04-05T11:43:46.000Z
from django.conf.urls import patterns, url urlpatterns = patterns('webshell.views', url(r'^execute/$', 'execute_python', name='execute-python'), url(r'^execute-shell/$', 'execute_shell', name='execute-shell'), )
36.666667
68
0.7
28
220
5.428571
0.535714
0.236842
0.144737
0
0
0
0
0
0
0
0
0
0.104545
220
6
69
36.666667
0.771574
0
0
0
0
0
0.425339
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d3eb1ef1e2b2ca7b16c479c4f8f0771038202f0
44
py
Python
data/__init__.py
kirberich/django-heroku-template
425443f6b7d12f0db99a218f6809d9bba5a57443
[ "MIT" ]
121
2015-11-18T18:15:33.000Z
2022-03-10T01:55:00.000Z
data/__init__.py
kirberich/django-heroku-template
425443f6b7d12f0db99a218f6809d9bba5a57443
[ "MIT" ]
1,415
2015-12-23T23:36:04.000Z
2022-01-07T14:10:09.000Z
data/__init__.py
kirberich/django-heroku-template
425443f6b7d12f0db99a218f6809d9bba5a57443
[ "MIT" ]
66
2015-12-03T20:38:56.000Z
2020-07-27T15:28:11.000Z
default_app_config = 'data.apps.DataConfig'
22
43
0.818182
6
44
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.829268
0
0
0
0
0
0.454545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d64ba0a42f7e36a89f263cb194bc2a813418a14
473
py
Python
leetcode/find-first-palindromic-string-in-the-array.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
7
2018-09-15T13:57:37.000Z
2022-03-13T10:01:56.000Z
leetcode/find-first-palindromic-string-in-the-array.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
1
2019-04-26T07:02:28.000Z
2019-04-26T07:02:28.000Z
leetcode/find-first-palindromic-string-in-the-array.py
hg-pyun/algorithm
cf92483c399f05e488b6febc79c80620f115fadf
[ "MIT" ]
1
2020-05-03T23:43:38.000Z
2020-05-03T23:43:38.000Z
class Solution: def firstPalindrome(self, words: List[str]) -> str: def checkPalindrome(word): l = len(word) for i in range(l // 2): last = l - 1 - i if word[i] != word[last]: return False ...
24.894737
55
0.395349
44
473
4.25
0.522727
0.203209
0
0
0
0
0
0
0
0
0
0.008929
0.526427
473
18
56
26.277778
0.825893
0
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.538462
0
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
1
0
0
3
4d6b869b2510931e2d4c02ebac56fede2330cab2
1,594
py
Python
webdav/urn.py
iglesiasroberto14/webdav-client-python
c3d5d4b8b7f43c8579c33947f36dd87e4fed08a7
[ "MIT" ]
null
null
null
webdav/urn.py
iglesiasroberto14/webdav-client-python
c3d5d4b8b7f43c8579c33947f36dd87e4fed08a7
[ "MIT" ]
null
null
null
webdav/urn.py
iglesiasroberto14/webdav-client-python
c3d5d4b8b7f43c8579c33947f36dd87e4fed08a7
[ "MIT" ]
1
2022-03-02T14:19:38.000Z
2022-03-02T14:19:38.000Z
try: from urllib.parse import unquote, quote except ImportError: from urllib import unquote, quote from re import sub class Urn(object): separate = "/" def __init__(self, path, directory=False): self._path = quote(path) expressions = "/\.+/", "/+" for expression in expressi...
28.464286
94
0.629235
202
1,594
4.772277
0.242574
0.157676
0.058091
0.074689
0.19917
0.155602
0.155602
0.155602
0
0
0
0.005872
0.252196
1,594
56
95
28.464286
0.802852
0
0
0.051282
0
0
0.020063
0
0
0
0
0
0
1
0.205128
false
0
0.102564
0.128205
0.564103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4d71c843c5fbfcdfdf4fd23b5ce0052697c77fff
195
py
Python
samples/exception.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
2
2021-12-10T16:12:51.000Z
2022-01-06T17:29:12.000Z
samples/exception.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
null
null
null
samples/exception.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
null
null
null
def iter(): yield "1\n" raise ValueError("error") yield "2\n" def application(request, relpath, **args): return iter(), 200 from webpie import WPApp WPApp(application).run_server(8080)
16.25
42
0.702564
28
195
4.857143
0.785714
0
0
0
0
0
0
0
0
0
0
0.054545
0.153846
195
11
43
17.727273
0.769697
0
0
0
0
0
0.05641
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
4d7afab1438fbb72ae668105bf8fa7b8ba47c408
427
py
Python
Primer nivel - salida de mensajes/9.py
OscarPalominoC/RetosPlatziProgramaci-n
cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08
[ "MIT" ]
null
null
null
Primer nivel - salida de mensajes/9.py
OscarPalominoC/RetosPlatziProgramaci-n
cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08
[ "MIT" ]
null
null
null
Primer nivel - salida de mensajes/9.py
OscarPalominoC/RetosPlatziProgramaci-n
cd0c32254e8dd0dc35dda91ad50f5d8e6f013c08
[ "MIT" ]
null
null
null
def run(): print('Calculando el tiempo en un número de días determinado por ti.') days = int(input('Digite la cantidad de días a calcular: ')) print('La cantidad de horas en {} días son: {}'.format(days, days*24)) print('La cantidad de minutos en {} días son: {}'.format(days, days*24*60)) print('La ...
47.444444
83
0.64637
67
427
4
0.492537
0.149254
0.179104
0.190299
0.294776
0.294776
0.294776
0.201493
0
0
0
0.031884
0.192037
427
9
84
47.444444
0.744928
0
0
0
0
0
0.537383
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.5
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
1
0
3
4d8728e9f1978f41298ec1f382a8a2e380d2696e
818
py
Python
test/unit/data/model/conftest.py
thepineapplepirate/galaxy
a9f0fd6ade1c0693dd5ba6a059d779613604bc7e
[ "CC-BY-3.0" ]
null
null
null
test/unit/data/model/conftest.py
thepineapplepirate/galaxy
a9f0fd6ade1c0693dd5ba6a059d779613604bc7e
[ "CC-BY-3.0" ]
6
2021-11-11T20:57:49.000Z
2021-12-10T15:30:33.000Z
test/unit/data/model/conftest.py
thepineapplepirate/galaxy
a9f0fd6ade1c0693dd5ba6a059d779613604bc7e
[ "CC-BY-3.0" ]
null
null
null
import os import tempfile import uuid import pytest from sqlalchemy import create_engine from sqlalchemy.orm import Session @pytest.fixture def database_name(): return f"galaxytest_{uuid.uuid4().hex}" @pytest.fixture def postgres_url(): return os.environ.get("GALAXY_TEST_CONNECT_POSTGRES_URI") @pytest.fi...
17.782609
61
0.732274
111
818
5.198198
0.396396
0.157712
0.138648
0.098787
0.225303
0.131716
0.131716
0.131716
0
0
0
0.001445
0.154034
818
45
62
18.177778
0.83237
0
0
0.233333
0
0
0.168704
0.110024
0
0
0
0
0
1
0.233333
false
0
0.2
0.133333
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
1
0
0
0
1
1
0
0
3
4d8a3591e31c86d87142e646fe701881aec188d5
226
py
Python
apm/models.py
geekforbrains/django-apm
90e43cfbea3ba6a5ec846e600ea2a85cc6011d86
[ "MIT" ]
null
null
null
apm/models.py
geekforbrains/django-apm
90e43cfbea3ba6a5ec846e600ea2a85cc6011d86
[ "MIT" ]
null
null
null
apm/models.py
geekforbrains/django-apm
90e43cfbea3ba6a5ec846e600ea2a85cc6011d86
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth import get_user_model class Request(models.Model): user = models.ForeignKey(get_user_model()) class Query(models.Model): request = models.ForeignKey(null=True)
20.545455
46
0.769912
32
226
5.3125
0.5
0.117647
0.141176
0.2
0
0
0
0
0
0
0
0
0.132743
226
10
47
22.6
0.867347
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4db117ce201b48c8a67cf70d798ecca5474da16c
243
py
Python
config/asgi.py
hussu010/Backend-1
f5d9a057d6ff947f6574b45f825d7987e2ac2730
[ "MIT" ]
1
2021-01-28T15:16:39.000Z
2021-01-28T15:16:39.000Z
config/asgi.py
hussu010/Backend-1
f5d9a057d6ff947f6574b45f825d7987e2ac2730
[ "MIT" ]
77
2021-02-01T04:53:10.000Z
2021-12-07T15:45:43.000Z
config/asgi.py
hussu010/Backend-1
f5d9a057d6ff947f6574b45f825d7987e2ac2730
[ "MIT" ]
3
2021-01-28T15:05:56.000Z
2021-02-22T17:12:08.000Z
import os from django.core.asgi import get_asgi_application # change the config.development to your required setting module os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.development') application = get_asgi_application()
27
78
0.831276
32
243
6.125
0.625
0.071429
0.183673
0
0
0
0
0
0
0
0
0
0.09465
243
8
79
30.375
0.890909
0.251029
0
0
0
0
0.272222
0.272222
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
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
1
0
0
0
0
3
4dc8925201c64f00bfa6a5e40aeccc76cbe0e9c6
152
py
Python
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
001_Google_IT_Automation_Certificate/scale_and_convert_images_using_PIL/practice/resize_image.py
daniel-leinweber/python
99cb54a062e7eeb73aa34aafe74fa298cae40df4
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from PIL import Image image = Image.open("image.jpg") new_image = image.resize((640, 480)) new_image.save("resized_image.jpg")
19
36
0.730263
25
152
4.32
0.64
0.277778
0
0
0
0
0
0
0
0
0
0.051471
0.105263
152
7
37
21.714286
0.742647
0.138158
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4ddf1c3e19cd1d9ab7e4edd417a36caf492bdc97
126
py
Python
Assignment3.py
Priyalvora/pythonAss
e1adc2ce9c3bfc18790e5130130996fad9c4d021
[ "Apache-2.0" ]
null
null
null
Assignment3.py
Priyalvora/pythonAss
e1adc2ce9c3bfc18790e5130130996fad9c4d021
[ "Apache-2.0" ]
null
null
null
Assignment3.py
Priyalvora/pythonAss
e1adc2ce9c3bfc18790e5130130996fad9c4d021
[ "Apache-2.0" ]
null
null
null
for i in range(1, 21): for j in range(2, i): if(i % 2 == 0): break else: print(i)
15.75
26
0.373016
20
126
2.35
0.65
0.297872
0
0
0
0
0
0
0
0
0
0.09375
0.492063
126
7
27
18
0.640625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4def58ad1132f45edb6d2265f5e4e676a2cee258
187
py
Python
ml_csv/extract/table/method.py
theflyinggriffin/Marklogic-CSV-Extractor
6bfd1b479ea18071b11449ed2c1ae17762079f08
[ "Apache-2.0" ]
1
2020-12-31T03:59:12.000Z
2020-12-31T03:59:12.000Z
ml_csv/extract/table/method.py
theflyinggriffin/Marklogic-CSV-Extractor
6bfd1b479ea18071b11449ed2c1ae17762079f08
[ "Apache-2.0" ]
7
2020-12-31T04:07:00.000Z
2021-02-12T16:20:41.000Z
ml_csv/extract/table/method.py
theflyinggriffin/Marklogic-CSV-Extractor
6bfd1b479ea18071b11449ed2c1ae17762079f08
[ "Apache-2.0" ]
null
null
null
from .. import table_extractor def execute(arguments) : print("the execute function of the table method") table_extractor.extract(arguments.schema, arguments.table, arguments)
23.375
73
0.764706
23
187
6.130435
0.608696
0.198582
0
0
0
0
0
0
0
0
0
0
0.149733
187
7
74
26.714286
0.886792
0
0
0
0
0
0.215054
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
3
1512d87e1ecf843e045a178c4f8549e4c8cdcb67
169
py
Python
final.py
winken2004/xmlproc
9274f9fdfdc44a028699b528c6d2c37317b1e3f4
[ "FSFAP" ]
null
null
null
final.py
winken2004/xmlproc
9274f9fdfdc44a028699b528c6d2c37317b1e3f4
[ "FSFAP" ]
null
null
null
final.py
winken2004/xmlproc
9274f9fdfdc44a028699b528c6d2c37317b1e3f4
[ "FSFAP" ]
null
null
null
#!/usr/bin/python #from ddmin import ddmin cir="" open_file=open('demo/urls.xml','r') for line in open_file: cir=cir+line.strip() open_file.close() print cir
11.266667
35
0.680473
29
169
3.862069
0.655172
0.214286
0
0
0
0
0
0
0
0
0
0
0.153846
169
14
36
12.071429
0.783217
0.230769
0
0
0
0
0.112903
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1515df14f4d4bd0fc929e690c24381aeafc67378
203
py
Python
sellsy_api/__version__.py
Annouar/sellsy-client
0aa7b638c4d35dce33fd4eeae1374bc28530d354
[ "MIT" ]
5
2018-04-03T13:49:20.000Z
2020-02-11T10:08:45.000Z
sellsy_api/__version__.py
Annouar/sellsy-client
0aa7b638c4d35dce33fd4eeae1374bc28530d354
[ "MIT" ]
6
2019-01-16T16:40:46.000Z
2022-02-17T15:04:05.000Z
sellsy_api/__version__.py
Annouar/sellsy-client
0aa7b638c4d35dce33fd4eeae1374bc28530d354
[ "MIT" ]
5
2019-06-03T12:43:42.000Z
2022-01-28T13:16:19.000Z
__title__ = 'sellsy_api' __description__ = 'sellsy_api is a tiny client for Sellsy API' __url__ = 'https://github.com/Annouar/sellsy-api' __version__ = '0.0.2' __author__ = 'Annouar' __license__ = 'MIT'
29
62
0.743842
28
203
4.464286
0.714286
0.288
0
0
0
0
0
0
0
0
0
0.016854
0.123153
203
6
63
33.833333
0.685393
0
0
0
0
0
0.512315
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1518942dc4cd6274aad27159e96a5be29cfdbf14
262
py
Python
distributed/deploy/__init__.py
crusaderky/distributed
d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a
[ "BSD-3-Clause" ]
1,358
2016-02-09T21:25:27.000Z
2022-03-30T08:06:36.000Z
distributed/deploy/__init__.py
crusaderky/distributed
d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a
[ "BSD-3-Clause" ]
4,789
2016-02-10T00:13:43.000Z
2022-03-31T23:56:27.000Z
distributed/deploy/__init__.py
crusaderky/distributed
d1cf1d452aece30b75adaf7f73f7cfdc69a63c4a
[ "BSD-3-Clause" ]
791
2016-02-19T04:34:38.000Z
2022-03-31T16:26:38.000Z
from contextlib import suppress from .adaptive import Adaptive from .cluster import Cluster from .local import LocalCluster from .spec import ProcessInterface, SpecCluster from .ssh import SSHCluster with suppress(ImportError): from .ssh import SSHCluster
23.818182
47
0.820611
32
262
6.71875
0.46875
0.065116
0.12093
0.213953
0
0
0
0
0
0
0
0
0.141221
262
10
48
26.2
0.955556
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
129eead8cf737fc05abe08d5408c04add9ee99a5
976
py
Python
dianptg/views.py
ch3czjl/dianputuoguan
e5915462ae13655cb5ff9afb8b1588cc7eac92d7
[ "MIT" ]
null
null
null
dianptg/views.py
ch3czjl/dianputuoguan
e5915462ae13655cb5ff9afb8b1588cc7eac92d7
[ "MIT" ]
9
2021-03-19T03:54:59.000Z
2022-03-12T00:31:13.000Z
dianptg/views.py
ch3czjl/dianputuoguan
e5915462ae13655cb5ff9afb8b1588cc7eac92d7
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import FormView, RedirectView from .forms import bangdingForm from django.contrib.auth import get_user_model from django.contrib.auth import authenticate, login, logout from django.contrib.auth.forms import AuthenticationForm, UserCreationForm from django.co...
34.857143
74
0.781762
119
976
6.310924
0.411765
0.093209
0.113182
0.111851
0.198402
0
0
0
0
0
0
0
0.127049
976
28
75
34.857143
0.881455
0.1875
0
0
0
0
0.082487
0.027919
0
0
0
0
0
1
0.157895
false
0
0.421053
0.105263
0.894737
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
12a4551ee20c208e52ab845174c9c343d3cf5985
4,036
py
Python
yamale/validators/tests/test_validate.py
kpmadhan/Yamale
36f9b8b1bfd3c5355491e43607dc44ef90473f25
[ "MIT" ]
null
null
null
yamale/validators/tests/test_validate.py
kpmadhan/Yamale
36f9b8b1bfd3c5355491e43607dc44ef90473f25
[ "MIT" ]
null
null
null
yamale/validators/tests/test_validate.py
kpmadhan/Yamale
36f9b8b1bfd3c5355491e43607dc44ef90473f25
[ "MIT" ]
null
null
null
from datetime import date, datetime from yamale import validators as val def test_validator_defaults(): """ Unit test the dictionary of default validators. """ assert val.DefaultValidators[val.String.tag] is val.String assert val.DefaultValidators[val.Any.__name__] is val.Any def test_equality()...
27.834483
78
0.634787
713
4,036
3.460028
0.165498
0.088772
0.236725
0.221321
0.638022
0.474666
0.413052
0.376571
0.332793
0.304418
0
0.088692
0.187066
4,036
144
79
28.027778
0.663212
0.011645
0
0.136364
0
0
0.176441
0.005789
0
0
0
0
0.736364
1
0.118182
false
0
0.018182
0
0.136364
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
12a701b68cb2dae143ab3bf2b830567d2ceb9417
852
py
Python
uvscada/imager.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
16
2015-10-27T07:27:21.000Z
2020-11-13T20:05:49.000Z
uvscada/imager.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
null
null
null
uvscada/imager.py
JohnDMcMaster/uvscada
0b2bc4af49c51060d385da003fda13540cf9af4e
[ "BSD-2-Clause" ]
8
2016-05-15T04:41:40.000Z
2021-02-04T09:15:29.000Z
#import psutil from PIL import Image ''' R:127 G:103 B:129 ''' # driver does not play well with other and effectively results in a system restart # provide some basic protection """ def camera_in_use(): ''' C:\Program Files\AmScope\AmScope\x86\scope.exe ''' for p in psutil.get_process_list(): try: if p.exe.f...
17.75
82
0.67723
127
852
4.417323
0.661417
0.042781
0.046346
0.060606
0
0
0
0
0
0
0
0.023256
0.192488
852
47
83
18.12766
0.792151
0.287559
0
0.461538
0
0
0.075949
0
0
0
0
0
0
1
0.384615
false
0.076923
0.076923
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
12b2a5116a5ff4fdb632af561b165f7a546472f0
256
py
Python
python/dynamic_programming/1025_divisor_game.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
6
2019-07-15T13:23:57.000Z
2020-01-22T03:12:01.000Z
python/dynamic_programming/1025_divisor_game.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
null
null
null
python/dynamic_programming/1025_divisor_game.py
linshaoyong/leetcode
ea052fad68a2fe0cbfa5469398508ec2b776654f
[ "MIT" ]
1
2019-07-24T02:15:31.000Z
2019-07-24T02:15:31.000Z
class Solution(object): def divisorGame(self, N): """ :type N: int :rtype: bool """ return N % 2 == 0 def test_divisor_game(): assert Solution().divisorGame(2) assert Solution().divisorGame(3) is False
19.692308
45
0.558594
30
256
4.7
0.7
0.198582
0.35461
0
0
0
0
0
0
0
0
0.022727
0.3125
256
12
46
21.333333
0.778409
0.097656
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
12b7fdfd3294b7c746933ee0fc2916ee5f4a91fe
173
py
Python
misc/sample_project/ser/__main__.py
hombit/scientific_python
eea7d0056999eb599c3f1b550f3b9c4e739d3aea
[ "MIT" ]
7
2017-10-27T21:23:42.000Z
2022-02-10T14:56:02.000Z
misc/sample_project/ser/__main__.py
hombit/scientific_python
eea7d0056999eb599c3f1b550f3b9c4e739d3aea
[ "MIT" ]
3
2018-07-22T05:19:50.000Z
2018-09-13T15:13:22.000Z
misc/sample_project/ser/__main__.py
hombit/scientific_python
eea7d0056999eb599c3f1b550f3b9c4e739d3aea
[ "MIT" ]
5
2017-10-23T10:35:50.000Z
2020-12-16T11:37:40.000Z
from __future__ import print_function, unicode_literals import ser def main(): print('Ser version is {}'.format(ser.version)) if __name__ == '__main__': main()
14.416667
55
0.699422
22
173
4.863636
0.681818
0.186916
0
0
0
0
0
0
0
0
0
0
0.179191
173
11
56
15.727273
0.753521
0
0
0
0
0
0.144509
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
12fd0487f71feb342ac5c0fcb7c08ab66dd4f7ed
2,418
py
Python
pytest_testrail_api_client/test_rail.py
Slamnlc/test-rail-client
56ed9fb5d6ad0128458709ebebce6b6b51782a9f
[ "MIT" ]
null
null
null
pytest_testrail_api_client/test_rail.py
Slamnlc/test-rail-client
56ed9fb5d6ad0128458709ebebce6b6b51782a9f
[ "MIT" ]
null
null
null
pytest_testrail_api_client/test_rail.py
Slamnlc/test-rail-client
56ed9fb5d6ad0128458709ebebce6b6b51782a9f
[ "MIT" ]
null
null
null
from pytest_testrail_api_client.api.cases_api import CasesApi from pytest_testrail_api_client.api.congif_api import ConfigsApi from pytest_testrail_api_client.api.milestones_api import MilestonesApi from pytest_testrail_api_client.api.plans_api import PlansApi from pytest_testrail_api_client.api.project_api import Proj...
24.673469
120
0.724152
284
2,418
5.971831
0.204225
0.129717
0.168042
0.160967
0.228184
0.212264
0
0
0
0
0
0
0.210505
2,418
97
121
24.927835
0.888423
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.173333
0.266667
0.72
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
12ff544c2a3a54b022091dd9c8aedda06ed42ae4
1,039
py
Python
GaiaLab/__init__.py
bombrun/GaiaLab
186b39621cdc5d8fb165907107b1aaed933f0c8f
[ "MIT" ]
8
2018-06-21T14:36:25.000Z
2020-04-04T18:21:18.000Z
GaiaLab/__init__.py
MaraBucur/GaiaLab
186b39621cdc5d8fb165907107b1aaed933f0c8f
[ "MIT" ]
7
2018-11-26T15:01:27.000Z
2019-07-12T14:21:34.000Z
GaiaLab/__init__.py
MaraBucur/GaiaLab
186b39621cdc5d8fb165907107b1aaed933f0c8f
[ "MIT" ]
5
2018-07-24T07:20:47.000Z
2021-06-02T07:17:23.000Z
""" ESAC is responsible for developing and running AGIS, the software that computes the global astrometric parameters for the Gaia mission. The design and validation of Gaia global astrometric mission requires to be able to run simulations that include complex calibration issues. The current state of the art is AgisLab...
38.481481
71
0.802695
159
1,039
5.245283
0.628931
0.081535
0.071942
0.052758
0
0
0
0
0
0
0
0
0.176131
1,039
26
72
39.961538
0.974299
0.967276
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4242314ace35bc5eb79924b2b8f892b8c823acdf
1,069
py
Python
classes/Adding_features.py
agnirudrasikdar/aspect-term-extractor-and-classifier
f333a8fe8a372a3e8847d2ede187e05edf0ffb5a
[ "MIT" ]
null
null
null
classes/Adding_features.py
agnirudrasikdar/aspect-term-extractor-and-classifier
f333a8fe8a372a3e8847d2ede187e05edf0ffb5a
[ "MIT" ]
null
null
null
classes/Adding_features.py
agnirudrasikdar/aspect-term-extractor-and-classifier
f333a8fe8a372a3e8847d2ede187e05edf0ffb5a
[ "MIT" ]
null
null
null
def add_feature(training_df): training_df["bin_label"] = training_df.label.apply(lambda l: "O" if l == "O" else "I") training_df["token_num"] = training_df.token.apply(lambda t: len(t.doc)) training_df["loc"] = training_df.token.apply(lambda t: t.i) training_df["len"] = training_df.token.apply(lambda t:...
66.8125
109
0.705332
183
1,069
3.879781
0.202186
0.394366
0.274648
0.338028
0.504225
0.504225
0.504225
0.295775
0
0
0
0.00216
0.13377
1,069
15
110
71.266667
0.764579
0
0
0
0
0
0.084191
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.133333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4255dd27ad1587c0f67e8b6277de3f20433bab8c
144
py
Python
part8/app/enterprise_business_rules/dto/input_memo_dto.py
y-tomimoto/CleanArchitecture
dd7cc8966c29ad24bf39a8b0672eae6341004037
[ "MIT" ]
4
2021-09-03T04:03:38.000Z
2021-12-26T14:59:50.000Z
part9/app/enterprise_business_rules/dto/input_memo_dto.py
y-tomimoto/CleanArchitecture
dd7cc8966c29ad24bf39a8b0672eae6341004037
[ "MIT" ]
null
null
null
part9/app/enterprise_business_rules/dto/input_memo_dto.py
y-tomimoto/CleanArchitecture
dd7cc8966c29ad24bf39a8b0672eae6341004037
[ "MIT" ]
null
null
null
from dataclasses import dataclass @dataclass class InputMemoDTO: memo_id: int memo: str memo_author: str memo_user_agent: str
14.4
33
0.729167
19
144
5.315789
0.684211
0.138614
0
0
0
0
0
0
0
0
0
0
0.229167
144
9
34
16
0.90991
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
426d61688072721ddddd962c3e15b4b58ae721c0
163
py
Python
Hackerrank_python/15.numpy/9.Sum and Prod.py
manish1822510059/Hackerrank
7c6e4553f033f067e04dc6c756ef90cb43f3c4a8
[ "MIT" ]
39
2020-09-27T05:32:05.000Z
2022-01-08T18:04:05.000Z
Hackerrank_python/15.numpy/9.Sum and Prod.py
manish1822510059/Hackerrank
7c6e4553f033f067e04dc6c756ef90cb43f3c4a8
[ "MIT" ]
5
2020-10-02T13:33:00.000Z
2021-03-01T14:06:08.000Z
Hackerrank_python/15.numpy/9.Sum and Prod.py
manish1822510059/Hackerrank
7c6e4553f033f067e04dc6c756ef90cb43f3c4a8
[ "MIT" ]
6
2020-10-03T04:04:55.000Z
2021-10-18T04:07:53.000Z
import numpy import numpy as np n,m = map(int,input().split()) arr = np.array([input().split() for i in range(n)], int) x=np.sum(arr,axis=0) print(np.prod(x))
16.3
56
0.644172
33
163
3.181818
0.666667
0.209524
0
0
0
0
0
0
0
0
0
0.007143
0.141104
163
9
57
18.111111
0.742857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
0
0
0
0
3
428ddfbba57752302600d33def0984f1ee00a17a
62
py
Python
server/app/serializer/__init__.py
WagnerJM/sentinel
d978ebac1b2ede79f6bdd3c48167a278acf46654
[ "MIT" ]
null
null
null
server/app/serializer/__init__.py
WagnerJM/sentinel
d978ebac1b2ede79f6bdd3c48167a278acf46654
[ "MIT" ]
null
null
null
server/app/serializer/__init__.py
WagnerJM/sentinel
d978ebac1b2ede79f6bdd3c48167a278acf46654
[ "MIT" ]
null
null
null
from flask_marshmallow import Marshmallow ma = Marshmallow()
20.666667
42
0.822581
7
62
7.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.129032
62
3
43
20.666667
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4293cc1ef72cd3a13045f15c3d1d6ad440df7fb1
184
py
Python
users/serializers.py
JhonathanMusa/php_login
3c0ade7e3637c8c716599925d1204ce85488d832
[ "MIT" ]
null
null
null
users/serializers.py
JhonathanMusa/php_login
3c0ade7e3637c8c716599925d1204ce85488d832
[ "MIT" ]
null
null
null
users/serializers.py
JhonathanMusa/php_login
3c0ade7e3637c8c716599925d1204ce85488d832
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Users class UsersSerializer(serializers.ModelSerializer): class Meta: model = Users fields = "__all__"
20.444444
51
0.728261
19
184
6.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.217391
184
8
52
23
0.895833
0
0
0
0
0
0.038043
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4296a008f3fcbaa8a2bedc227c5593a742a9b813
1,436
py
Python
bot/utils/checks.py
zarlo/zarlo-help-desk-bot
704738a79efa8b95d28edd2faaf7054e14ca2cca
[ "BSD-3-Clause" ]
null
null
null
bot/utils/checks.py
zarlo/zarlo-help-desk-bot
704738a79efa8b95d28edd2faaf7054e14ca2cca
[ "BSD-3-Clause" ]
null
null
null
bot/utils/checks.py
zarlo/zarlo-help-desk-bot
704738a79efa8b95d28edd2faaf7054e14ca2cca
[ "BSD-3-Clause" ]
null
null
null
from discord.ext import commands from bot.models.core.guild import Guild import discord.utils def is_dev_check(author): return author.id in [109843425402056704] def is_dev(): return commands.check(lambda ctx: is_dev_check(ctx.message.author)) def has_modules(module): return commands.check(la...
26.109091
88
0.672702
196
1,436
4.80102
0.270408
0.068013
0.100956
0.10627
0.284803
0.144527
0.074389
0
0
0
0
0.016423
0.236769
1,436
54
89
26.592593
0.842153
0
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.210526
false
0.026316
0.078947
0.131579
0.605263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
429bbd1a178162d51c973257b515bfa39aeebdf5
27,219
py
Python
geoalchemy/tests/test_mysql.py
danpat/geoalchemy
b1080d2026e073f5e2f09d1649383f4846dcdc52
[ "MIT" ]
1
2016-06-02T12:50:23.000Z
2016-06-02T12:50:23.000Z
geoalchemy/tests/test_mysql.py
danpat/geoalchemy
b1080d2026e073f5e2f09d1649383f4846dcdc52
[ "MIT" ]
null
null
null
geoalchemy/tests/test_mysql.py
danpat/geoalchemy
b1080d2026e073f5e2f09d1649383f4846dcdc52
[ "MIT" ]
null
null
null
from unittest import TestCase from binascii import b2a_hex from sqlalchemy import (create_engine, MetaData, Column, Integer, Unicode, Numeric, func, Table) from sqlalchemy.orm import sessionmaker, mapper from sqlalchemy.ext.declarative import declarative_base from geoalchemy import (GeometryColumn, Point, Poly...
60.892617
1,281
0.704324
3,570
27,219
5.203641
0.122409
0.071702
0.035312
0.020994
0.613824
0.543522
0.51666
0.468698
0.434408
0.418313
0
0.247321
0.159962
27,219
446
1,282
61.029148
0.565143
0.014402
0
0.364611
0
0.050938
0.253198
0.196554
0
0
0
0
0.008043
0
null
null
0
0.034853
null
null
0.002681
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
429e2710e2d4186065592869b10f43a15d1630ec
261
py
Python
admin/__init__.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
admin/__init__.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
admin/__init__.py
wallnerryan/flocker-profiles
bcd3ced8edf4af86a68070ff6a714c45f9f4913b
[ "Apache-2.0" ]
null
null
null
# Copyright Hybrid Logic Ltd. See LICENSE file for details. """ Admin scripts and modules which should not be shipped with Flocker. Since :module:`admin.release` is imported from setup.py, we need to ensure that this only imports things from the stdlib. """
29
79
0.762452
41
261
4.853659
0.95122
0
0
0
0
0
0
0
0
0
0
0
0.168582
261
8
80
32.625
0.917051
0.957854
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
42a132db8e39463277689adae257acf72c7802b0
1,223
py
Python
maplewrapper/utils/NameTagMaker.py
vinmorel/MapleWrapper
449472407b08979e38c66ccd5d2c17d790a007d0
[ "MIT" ]
16
2020-10-03T03:21:35.000Z
2022-01-27T03:19:16.000Z
maplewrapper/utils/NameTagMaker.py
vinmorel/MapleWrapper
449472407b08979e38c66ccd5d2c17d790a007d0
[ "MIT" ]
1
2022-01-02T16:28:36.000Z
2022-02-01T14:28:30.000Z
maplewrapper/utils/NameTagMaker.py
vinmorel/MapleWrapper
449472407b08979e38c66ccd5d2c17d790a007d0
[ "MIT" ]
6
2020-09-19T17:37:10.000Z
2021-11-12T07:29:56.000Z
import cv2 from pathlib import Path from os import listdir from os.path import join, isfile def make_tag(name): wdir_pth = Path(__file__).resolve().parents[1] nametag_characters_pth = Path(wdir_pth,"templates","nametag_characters") character_t = [cv2.imread(join(nametag_characters_pth, f),0) for f in sor...
34.942857
157
0.649223
165
1,223
4.539394
0.30303
0.226969
0.24032
0.224299
0.437917
0.404539
0.329773
0.226969
0.226969
0.11482
0
0.021053
0.223222
1,223
35
158
34.942857
0.767368
0
0
0.074074
0
0
0.075163
0
0
0
0
0
0
1
0.037037
false
0
0.148148
0
0.222222
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
42b1c42bf2ee64c980ffa9cacebf5b3be38e944a
487
py
Python
tools/skpbench/_os_path.py
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
tools/skpbench/_os_path.py
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
tools/skpbench/_os_path.py
pospx/external_skia
7a135275c9fc2a4b3cbdcf9a96e7102724752234
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
# Copyright 2016 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from os import path import glob def join(*pathnames): return path.join(*pathnames) def basename(pathname): return pathname.basename(pathname) def find_skps(skps): pathnames = li...
21.173913
72
0.704312
72
487
4.75
0.625
0.076023
0
0
0
0
0
0
0
0
0
0.010127
0.188912
487
22
73
22.136364
0.855696
0.25462
0
0
0
0
0.013966
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c40ea5f149e23f56cf3b4518fccf2c481258ef5e
1,115
py
Python
tests/data/expected/main/space_and_special_characters_dict/output.py
adaamz/datamodel-code-generator
3b34573f35f8d420e4668a85047c757fd1da7754
[ "MIT" ]
891
2019-07-23T04:23:32.000Z
2022-03-31T13:36:33.000Z
tests/data/expected/main/space_and_special_characters_dict/output.py
adaamz/datamodel-code-generator
3b34573f35f8d420e4668a85047c757fd1da7754
[ "MIT" ]
663
2019-07-23T09:50:26.000Z
2022-03-29T01:56:55.000Z
tests/data/expected/main/space_and_special_characters_dict/output.py
adaamz/datamodel-code-generator
3b34573f35f8d420e4668a85047c757fd1da7754
[ "MIT" ]
108
2019-07-23T08:50:37.000Z
2022-03-09T10:50:22.000Z
# generated by datamodel-codegen: # filename: space_and_special_characters_dict.py # timestamp: 2019-07-26T00:00:00+00:00 from __future__ import annotations from pydantic import BaseModel, Field class InitialParameters(BaseModel): V1: int V2: int class Data(BaseModel): Length__m_: float = Field(....
23.723404
82
0.683408
134
1,115
5.455224
0.410448
0.123119
0.071135
0.046512
0
0
0
0
0
0
0
0.028415
0.179372
1,115
46
83
24.23913
0.770492
0.107623
0
0
1
0
0.113017
0
0
0
0
0
0
1
0
true
0
0.074074
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3