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
5d1359b66e6488963f5ab074e0290ff7b8bd3284
6,328
py
Python
source/vsm-dashboard/vsm_dashboard/dashboards/vsm/openstackconnect/forms.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
172
2015-01-07T08:40:17.000Z
2019-02-18T07:01:11.000Z
source/vsm-dashboard/vsm_dashboard/dashboards/vsm/openstackconnect/forms.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
83
2015-03-06T07:47:03.000Z
2018-07-05T15:10:19.000Z
source/vsm-dashboard/vsm_dashboard/dashboards/vsm/openstackconnect/forms.py
ramkrsna/virtual-storage-manager
78125bfb4dd4d78ff96bc3274c8919003769c545
[ "Apache-2.0" ]
125
2015-01-05T12:22:15.000Z
2019-02-18T07:01:39.000Z
# Copyright 2014 Intel Corporation, All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the"License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or ...
32.787565
87
0.53129
654
6,328
4.892966
0.249235
0.037188
0.042188
0.05625
0.5175
0.4925
0.451875
0.451875
0.451875
0.451875
0
0.015073
0.360461
6,328
192
88
32.958333
0.775636
0.422882
0
0.716981
0
0
0.129681
0.009503
0
0
0
0.005208
0
1
0.018868
false
0.075472
0.028302
0
0.198113
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
5d16492374ebba54941310c00dd6af36c26c58b9
3,513
py
Python
applications/admin/languages/af.py
himelpdas/biddrive
786e0fc58d8c0afeef0bcad9125b0d98eaabc709
[ "BSD-3-Clause" ]
97
2015-01-17T09:41:57.000Z
2022-03-15T11:39:03.000Z
webui/applications/admin/languages/af.py
pouyana/teireader
ac0a92d8b2e570eae1c0a03fd35a7b281eccd250
[ "MIT" ]
26
2015-01-02T13:35:48.000Z
2015-06-10T14:39:07.000Z
webui/applications/admin/languages/af.py
pouyana/teireader
ac0a92d8b2e570eae1c0a03fd35a7b281eccd250
[ "MIT" ]
35
2015-01-25T04:48:37.000Z
2021-01-29T20:32:26.000Z
# coding: utf8 { '!langcode!': 'af', '!langname!': 'Afrikaanse', '%Y-%m-%d': '%Y-%m-%d', '%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S', '%s %%{row} deleted': '%s rows deleted', '%s %%{row} updated': '%s rows updated', '(requires internet access)': '(vereis internet toegang)', '(something like "it-it")': '(iets soos "it-it")...
39.033333
183
0.693994
449
3,513
5.42539
0.503341
0.003284
0.004926
0.003284
0.146962
0.146962
0.139573
0.139573
0.139573
0.061166
0
0.001623
0.123256
3,513
89
184
39.47191
0.789286
0.003416
0
0
0
0
0.801943
0.006288
0
0
0
0
0
1
0
true
0.011364
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5d1fea88f6c739fc4c2da56d7c930211dbb7633b
464
py
Python
socialauth/admin.py
Andy1914/Paython-Django-Social
3b3f9e4bc13993f50825f216ac6ffbac3cb87502
[ "BSD-3-Clause" ]
70
2015-02-10T17:09:21.000Z
2022-02-04T13:01:46.000Z
socialauth/admin.py
Andy1914/Paython-Django-Social
3b3f9e4bc13993f50825f216ac6ffbac3cb87502
[ "BSD-3-Clause" ]
null
null
null
socialauth/admin.py
Andy1914/Paython-Django-Social
3b3f9e4bc13993f50825f216ac6ffbac3cb87502
[ "BSD-3-Clause" ]
21
2015-01-17T07:35:00.000Z
2021-03-08T18:15:32.000Z
from socialauth.models import AuthMeta, OpenidProfile, TwitterUserProfile, \ FacebookUserProfile, LinkedInUserProfile, GithubUserProfile, FoursquareUserProfile from django.contrib import admin admin.site.register(AuthMeta) admin.site.register(OpenidProfile) admin.site.register(TwitterUserProfile) admin.site.register(...
35.692308
82
0.868534
44
464
9.159091
0.363636
0.156328
0.295285
0
0
0
0
0
0
0
0
0
0.051724
464
12
83
38.666667
0.915909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5d343c3e584bba0bfaaf83d617ffed3f7716b1bc
171
py
Python
Eduardo Mendes/Live 86 - Iteradores e geradores/exemplo6.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
Eduardo Mendes/Live 86 - Iteradores e geradores/exemplo6.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
Eduardo Mendes/Live 86 - Iteradores e geradores/exemplo6.py
SweydAbdul/estudos-python
b052708d0566a0afb9a1c04d035467d45f820879
[ "MIT" ]
null
null
null
def raio_simplificado(lista_composta): for elemento in lista_composta: yield from elemento lista_composta = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]
14.25
38
0.590643
24
171
4.041667
0.791667
0.402062
0
0
0
0
0
0
0
0
0
0.07377
0.28655
171
11
39
15.545455
0.721311
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5d414b34c5adf7c4da0c8f73b8e7794991fa2716
585
py
Python
Platforms/Web/Processing/Api/Discord/Logs/listevents.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
2
2017-09-14T08:07:55.000Z
2021-05-18T05:05:05.000Z
Platforms/Web/Processing/Api/Discord/Logs/listevents.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
111
2018-04-15T14:32:14.000Z
2021-03-28T21:06:29.000Z
Platforms/Web/Processing/Api/Discord/Logs/listevents.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
1
2018-04-15T13:24:44.000Z
2018-04-15T13:24:44.000Z
from typing import TYPE_CHECKING, Dict, Any if TYPE_CHECKING: from Platforms.Web.main_web import PhaazebotWeb import json from aiohttp.web import Response from Platforms.Discord.logging import TRACK_OPTIONS from Utils.Classes.extendedrequest import ExtendedRequest async def apiDiscordLogsListEvents(cls:"PhaazebotWeb...
23.4
96
0.782906
74
585
6.094595
0.554054
0.053215
0
0
0
0
0
0
0
0
0
0.011696
0.123077
585
24
97
24.375
0.867446
0
0
0.117647
0
0
0.051852
0
0
0
0
0
0
1
0
true
0
0.352941
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
5d470afe13d4cea6c42f53135a98796b97cb319f
985
py
Python
utils/posecnn_layer/point_matching_loss.py
xEnVrE/PoseRBPF
607d21ef327a47e1a77e4cc96bbbe1152ea0cac1
[ "BSD-Source-Code" ]
83
2020-09-03T23:05:10.000Z
2022-03-28T11:37:58.000Z
utils/posecnn_layer/point_matching_loss.py
xEnVrE/PoseRBPF
607d21ef327a47e1a77e4cc96bbbe1152ea0cac1
[ "BSD-Source-Code" ]
12
2020-11-10T11:23:21.000Z
2022-03-30T15:40:04.000Z
utils/posecnn_layer/point_matching_loss.py
xEnVrE/PoseRBPF
607d21ef327a47e1a77e4cc96bbbe1152ea0cac1
[ "BSD-Source-Code" ]
33
2020-09-04T15:34:16.000Z
2022-03-03T00:47:18.000Z
import math from torch import nn from torch.autograd import Function import torch import posecnn_cuda class PMLossFunction(Function): @staticmethod def forward(ctx, prediction, target, weight, points, symmetry, hard_angle): outputs = posecnn_cuda.pml_forward(prediction, target, weight, points, symmetry...
30.78125
100
0.704569
121
985
5.520661
0.363636
0.080838
0.131737
0.167665
0.242515
0.134731
0.134731
0
0
0
0
0.006394
0.206091
985
31
101
31.774194
0.847826
0
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.208333
0.041667
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5d4b7c52c969f9f76ddc95bf92ef0de1f775c8fa
1,348
py
Python
oo/pessoa.py
PauloFrancoo/pythonprobr-pythonbirds
9797777f650aac0e7803f1234a6ea91c7fe9dd1a
[ "MIT" ]
null
null
null
oo/pessoa.py
PauloFrancoo/pythonprobr-pythonbirds
9797777f650aac0e7803f1234a6ea91c7fe9dd1a
[ "MIT" ]
null
null
null
oo/pessoa.py
PauloFrancoo/pythonprobr-pythonbirds
9797777f650aac0e7803f1234a6ea91c7fe9dd1a
[ "MIT" ]
null
null
null
class Pessoa: olhos = 2 # atributo Default ou atributo de classe def __init__(self, *filhos, nome=None, idade=59): self.idade = idade self.nome = nome self.filhos = list(filhos) @staticmethod def metodo_estatico(): return 59 @classmethod def nome_e_atributos_de...
32.878049
89
0.642433
170
1,348
4.888235
0.317647
0.072202
0.050542
0.057762
0.079422
0
0
0
0
0
0
0.005709
0.220326
1,348
40
90
33.7
0.784967
0.114985
0
0
0
0
0.075666
0
0
0
0
0.025
0
1
0.117647
false
0
0
0.088235
0.264706
0.441176
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
5d7397172bac9bb26b73dbd16c9e41893ab20497
205
py
Python
bnbapp/protocols/forms/verbs/pour_off.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
bnbapp/protocols/forms/verbs/pour_off.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
bnbapp/protocols/forms/verbs/pour_off.py
Bionetbook/bionetbook
c92d5bbdc5c121631c2230cf93aa63977d381f30
[ "MIT" ]
null
null
null
from protocols.forms import forms class PourOffForm(forms.VerbForm): name = "Pour Off" slug = "pour-off" duration_in_seconds = forms.IntegerField() edit_what_remark = forms.CharField()
18.636364
46
0.712195
25
205
5.68
0.76
0.098592
0
0
0
0
0
0
0
0
0
0
0.190244
205
10
47
20.5
0.855422
0
0
0
0
0
0.078049
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5388ceb22cc11de19378eaddcf19a67343485c0b
506
py
Python
migrations/versions/4460fd33d982_.py
jbaham2/flasky_upload
d9e95d48e8f90ae625761bb87bd37f2fc26fd08e
[ "MIT" ]
8
2015-01-03T16:10:21.000Z
2021-10-16T23:23:17.000Z
migrations/versions/4460fd33d982_.py
jbaham2/flasky_upload
d9e95d48e8f90ae625761bb87bd37f2fc26fd08e
[ "MIT" ]
1
2015-02-20T12:26:14.000Z
2016-04-17T03:26:05.000Z
migrations/versions/4460fd33d982_.py
jbaham2/flasky_upload
d9e95d48e8f90ae625761bb87bd37f2fc26fd08e
[ "MIT" ]
2
2015-01-03T12:30:06.000Z
2018-08-08T08:14:40.000Z
"""empty message Revision ID: 4460fd33d982 Revises: 434b89278acd Create Date: 2014-11-28 17:20:44.526494 """ # revision identifiers, used by Alembic. revision = '4460fd33d982' down_revision = '434b89278acd' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
18.740741
63
0.689723
60
506
5.8
0.616667
0.077586
0.12069
0.132184
0.367816
0.367816
0.367816
0.367816
0.367816
0.367816
0
0.133005
0.197628
506
26
64
19.461538
0.724138
0.575099
0
0.25
0
0
0.131868
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
53950db0f5c466c1937d17106666dfb0ef79e30e
11,503
py
Python
tablestore/protobuf/py2/table_store_filter_pb2.py
leafcoder/aliyun-tablestore-python-sdk
2d76999c2eb466a9a570da2a9187b4d3b6ed1092
[ "MIT" ]
68
2016-05-20T11:22:57.000Z
2022-02-18T16:18:22.000Z
tablestore/protobuf/py2/table_store_filter_pb2.py
leafcoder/aliyun-tablestore-python-sdk
2d76999c2eb466a9a570da2a9187b4d3b6ed1092
[ "MIT" ]
30
2016-06-02T10:13:31.000Z
2022-01-04T04:15:47.000Z
tablestore/protobuf/py2/table_store_filter_pb2.py
leafcoder/aliyun-tablestore-python-sdk
2d76999c2eb466a9a570da2a9187b4d3b6ed1092
[ "MIT" ]
50
2016-06-03T06:37:03.000Z
2022-03-31T07:24:08.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) DESCRIPTOR = descriptor.FileDescriptor( name='table_store_filt...
36.51746
1,394
0.750848
1,432
11,503
5.802374
0.12919
0.050066
0.080876
0.087736
0.668191
0.611385
0.564569
0.489108
0.447467
0.371405
0
0.045146
0.129618
11,503
314
1,395
36.633758
0.784758
0.04225
0
0.599278
1
0.00361
0.268144
0.238532
0
0
0
0
0
1
0
false
0
0.01444
0
0.057762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53957726e96075e04f1b8adea78629083d953ac7
582
py
Python
psims/controlled_vocabulary/__init__.py
RalfG/psims
1e9ddce405bca8d0f14b159b9015b37dc90c3a61
[ "Apache-2.0" ]
11
2019-01-07T13:03:52.000Z
2022-02-10T11:08:17.000Z
psims/controlled_vocabulary/__init__.py
RalfG/psims
1e9ddce405bca8d0f14b159b9015b37dc90c3a61
[ "Apache-2.0" ]
14
2017-05-04T11:56:54.000Z
2022-02-08T09:33:11.000Z
psims/controlled_vocabulary/__init__.py
RalfG/psims
1e9ddce405bca8d0f14b159b9015b37dc90c3a61
[ "Apache-2.0" ]
9
2017-05-04T11:29:24.000Z
2022-02-02T21:48:49.000Z
from .controlled_vocabulary import ( ControlledVocabulary, obo_cache, OBOCache, load_psims) from . import unimod from .unimod import load as load_unimod, UNIMODEntity from .obo import ( OBOParser) from .entity import Entity from .relationship import Relationship, Reference from .type_definition import obj_...
25.304348
65
0.743986
65
582
6.369231
0.369231
0.057971
0.135266
0.173913
0.115942
0
0
0
0
0
0
0
0.149485
582
22
66
26.454545
0.836364
0
0
0
0
0
0.254296
0
0
0
0
0
0
1
0
false
0
0.466667
0
0.466667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
53a3e4af58ccbb575b96da7d60e52f9696f25784
855
py
Python
var/spack/repos/builtin/packages/r-clipr/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/r-clipr/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/r-clipr/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class RClipr(RPackage): """Read and Write from the System Clipboard. Simple utility...
35.625
95
0.767251
92
855
7.108696
0.684783
0.04893
0.027523
0
0
0
0
0
0
0
0
0.243572
0.135673
855
23
96
37.173913
0.641407
0.376608
0
0
0
0
0.560078
0.496124
0
0
0
0
0
1
0
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53b592d8a8f3f28ed1245a6e1ef37651d4a7922d
1,073
py
Python
TRV.indigoPlugin/Contents/Server Plugin/postgresql/protocol/version.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
null
null
null
TRV.indigoPlugin/Contents/Server Plugin/postgresql/protocol/version.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
null
null
null
TRV.indigoPlugin/Contents/Server Plugin/postgresql/protocol/version.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
null
null
null
## # .protocol.version ## """ PQ version class used by startup messages. """ from struct import Struct version_struct = Struct('!HH') class Version(tuple): """ Version((major, minor)) -> Version Version serializer and parser. """ major = property(fget = lambda s: s[0]) minor = property(fget = lambda s: s[1]) ...
22.354167
62
0.679404
156
1,073
4.519231
0.429487
0.099291
0.06383
0.053901
0.143262
0
0
0
0
0
0
0.038159
0.169618
1,073
47
63
22.829787
0.753086
0.174278
0
0
0
0
0.039397
0
0
0
0
0
0
1
0.185185
false
0
0.037037
0.148148
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
53b9c2550aab6c36ea34b532abaf57dab1620190
3,088
py
Python
nova/db/sqlalchemy/migrate_repo/versions/313_add_parent_id_column.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/db/sqlalchemy/migrate_repo/versions/313_add_parent_id_column.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/db/sqlalchemy/migrate_repo/versions/313_add_parent_id_column.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2015 Red Hat Inc' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' comment|'#' nl|'\n' comm...
15.363184
88
0.638277
471
3,088
4.097665
0.273885
0.118135
0.082902
0.091192
0.45285
0.392228
0.322798
0.259067
0.230052
0.212435
0
0.007307
0.113666
3,088
200
89
15.44
0.697844
0
0
0.835
0
0.005
0.498057
0.028174
0
0
0
0
0
1
0
true
0
0.005
0
0.005
0.005
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
53c1323b6c3bf3343f8885591b1adcb635fa0b77
217
py
Python
sols_python/1329.py
souzajackson/Beecrowd
c7323e51cd5132c523a1812be5ad5de1a152a63f
[ "MIT" ]
null
null
null
sols_python/1329.py
souzajackson/Beecrowd
c7323e51cd5132c523a1812be5ad5de1a152a63f
[ "MIT" ]
null
null
null
sols_python/1329.py
souzajackson/Beecrowd
c7323e51cd5132c523a1812be5ad5de1a152a63f
[ "MIT" ]
null
null
null
while True: entrada = input() if entrada == '0': break entrada = input() joao = entrada.count('1') maria = entrada.count('0') print(f'Mary won {maria} times and John won {joao} times')
24.111111
62
0.576037
29
217
4.310345
0.62069
0.192
0
0
0
0
0
0
0
0
0
0.019108
0.276498
217
8
63
27.125
0.77707
0
0
0.25
0
0
0.235023
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53c97cd32cb39ed9d3bb3d14690197d31d6fb455
401
py
Python
contactnetwork/mmtf.py
AlexanderHauser/protwis
4e84bf99aeefe3874bd671a5d8d0714032dcadaf
[ "Apache-2.0" ]
null
null
null
contactnetwork/mmtf.py
AlexanderHauser/protwis
4e84bf99aeefe3874bd671a5d8d0714032dcadaf
[ "Apache-2.0" ]
null
null
null
contactnetwork/mmtf.py
AlexanderHauser/protwis
4e84bf99aeefe3874bd671a5d8d0714032dcadaf
[ "Apache-2.0" ]
null
null
null
import urllib.request import os from Bio.PDB import * from Bio.PDB.mmtf import * from Bio.PDB.PDBExceptions import PDBException from io import StringIO # Download the specified MMTF file from RCSB. def mmtf_get_structure(pdb_name): # Download the PDB response = urllib.request.urlopen('https://mmtf.rcsb.org/v...
25.0625
86
0.770574
62
401
4.854839
0.516129
0.069767
0.099668
0.106312
0
0
0
0
0
0
0
0.005814
0.142145
401
15
87
26.733333
0.869186
0.149626
0
0
0
0
0.100592
0
0
0
0
0
0
1
0.111111
false
0
0.666667
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
53cbe5a0a5d0482bd731cbcb4c975363b4bae839
1,654
py
Python
diplomacy_research/models/self_play/advantages/tests/test_monte_carlo.py
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
39
2019-09-06T13:42:24.000Z
2022-03-18T18:38:43.000Z
diplomacy_research/models/self_play/advantages/tests/test_monte_carlo.py
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
9
2019-09-19T22:35:32.000Z
2022-02-24T18:04:57.000Z
diplomacy_research/models/self_play/advantages/tests/test_monte_carlo.py
wwongkamjan/dipnet_press
787263c1b9484698904f525c8d78d0e333e1c0d9
[ "MIT" ]
8
2019-10-16T21:09:14.000Z
2022-02-23T05:20:37.000Z
# ============================================================================== # Copyright 2019 - Philip Paquette # # NOTICE: Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the "Software"), # to deal in the Software without rest...
47.257143
100
0.695889
199
1,654
5.643216
0.512563
0.048976
0.0748
0.072128
0.111309
0.111309
0.080142
0
0
0
0
0.007042
0.141475
1,654
34
101
48.647059
0.783803
0.544135
0
0
0
0
0.015471
0
0
0
0
0
0
1
0.25
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
2
53d7236ace4df8ea566261bdcf02845455b68668
2,343
py
Python
zn_protocol.py
MuxZeroNet/Fuzzing
d9bff789013357eacbc6a9cc250090b62d59ec41
[ "MIT" ]
3
2017-04-12T22:43:48.000Z
2017-09-09T12:18:36.000Z
zn_protocol.py
MuxZeroNet/Fuzzing
d9bff789013357eacbc6a9cc250090b62d59ec41
[ "MIT" ]
null
null
null
zn_protocol.py
MuxZeroNet/Fuzzing
d9bff789013357eacbc6a9cc250090b62d59ec41
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 import sys import os import random import msgpack # requires msgpack-python samples = [ -1, 15441, 99999999999, "43110", 192168, ['aaaaaaa', 'bbbbbbb', os.urandom(30), 12345678, 11111111111, {123: "4567890"}], "[sjfdkjsdalfksjdlfsafl]", "", 0, 1, ["th...
57.146341
181
0.597098
239
2,343
5.76569
0.351464
0.050798
0.319303
0.213353
0.452105
0.413643
0.349782
0.349782
0.197388
0
0
0.104668
0.131455
2,343
40
182
58.575
0.572482
0.019206
0
0
0
0
0.454268
0.168554
0
0
0.006969
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53daaad4e0cd379f96a4c2461f1cad5b93ee0eac
544
py
Python
actions/actions.py
genistat-ag/tutorial-rasa-google-assistant
2d70632c267e776a5db968b7f8aea70bc6ab2aab
[ "Apache-2.0" ]
null
null
null
actions/actions.py
genistat-ag/tutorial-rasa-google-assistant
2d70632c267e776a5db968b7f8aea70bc6ab2aab
[ "Apache-2.0" ]
null
null
null
actions/actions.py
genistat-ag/tutorial-rasa-google-assistant
2d70632c267e776a5db968b7f8aea70bc6ab2aab
[ "Apache-2.0" ]
null
null
null
import logging from typing import Any, Dict, List, Text from rasa_sdk import Action, Tracker from rasa_sdk.executor import CollectingDispatcher log = logging.getLogger(__name__) class ActionExample(Action): """Dummy action used as an example""" def name(self) -> Text: return 'action_example' d...
28.631579
120
0.716912
70
544
5.457143
0.542857
0.041885
0.057592
0
0
0
0
0
0
0
0
0
0.185662
544
18
121
30.222222
0.862302
0.056985
0
0
0
0
0.13215
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0.090909
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
53e888a89cf393b0f75d8cd4fca85113a2b4430d
5,848
py
Python
nixui/tests/test_parser.py
boredom101/nix-gui
c0d96a2bd0ca0c1340f13bbed0aa30dbc6511d14
[ "MIT" ]
null
null
null
nixui/tests/test_parser.py
boredom101/nix-gui
c0d96a2bd0ca0c1340f13bbed0aa30dbc6511d14
[ "MIT" ]
null
null
null
nixui/tests/test_parser.py
boredom101/nix-gui
c0d96a2bd0ca0c1340f13bbed0aa30dbc6511d14
[ "MIT" ]
null
null
null
import os import pytest from nixui.options import parser SAMPLES_PATH = 'tests/sample' @pytest.mark.datafiles(SAMPLES_PATH) def test_get_all_option_values(): assert parser.get_all_option_values( os.path.abspath(os.path.join(SAMPLES_PATH, 'configuration.nix')) ) @pytest.mark.datafiles(SAMPLES_PATH)...
39.782313
82
0.627907
536
5,848
6.800373
0.26306
0.057613
0.07572
0.061454
0.206859
0.126475
0.107545
0.096022
0.083402
0.057613
0
0.009464
0.205027
5,848
146
83
40.054795
0.774575
0
0
0.014286
0
0
0.649282
0.57541
0
0
0
0
0.014286
1
0.014286
false
0
0.021429
0
0.035714
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53e8e38b9141ada086f821959d1b470acf6df5aa
1,916
py
Python
lm_eval/tasks/swag.py
konstantinschulz/lm-evaluation-harness
b0acb3379d2fa8e15561cea033be422bff144f30
[ "MIT" ]
null
null
null
lm_eval/tasks/swag.py
konstantinschulz/lm-evaluation-harness
b0acb3379d2fa8e15561cea033be422bff144f30
[ "MIT" ]
null
null
null
lm_eval/tasks/swag.py
konstantinschulz/lm-evaluation-harness
b0acb3379d2fa8e15561cea033be422bff144f30
[ "MIT" ]
null
null
null
""" SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inference https://arxiv.org/pdf/1808.05326.pdf SWAG (Situations With Adversarial Generations) is an adversarial dataset that consists of 113k multiple choice questions about grounded situations. Each question is a video caption from LSMDC or Activity...
31.933333
113
0.701983
249
1,916
5.289157
0.542169
0.045558
0.042521
0.022779
0.176158
0.176158
0.097191
0.097191
0.097191
0.097191
0
0.019066
0.206159
1,916
59
114
32.474576
0.846811
0.330898
0
0.058824
0
0
0.335165
0.025903
0
0
0
0
0
1
0.205882
false
0
0.029412
0.147059
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
53ea26aa6caad2ab1a67e5745883631d01d1001c
595
py
Python
gitgud/levels/intro/__init__.py
udhayacommits/git-gud
c2676e1926ad6dec4389e01e35c5efa9b5b05edb
[ "MIT" ]
null
null
null
gitgud/levels/intro/__init__.py
udhayacommits/git-gud
c2676e1926ad6dec4389e01e35c5efa9b5b05edb
[ "MIT" ]
null
null
null
gitgud/levels/intro/__init__.py
udhayacommits/git-gud
c2676e1926ad6dec4389e01e35c5efa9b5b05edb
[ "MIT" ]
null
null
null
from collections import OrderedDict import pkg_resources from gitgud.levels.util import BasicChallenge all_challenges = OrderedDict() all_challenges['committing'] = BasicChallenge('committing', pkg_resources.resource_filename(__name__, '_committing/')) all_challenges['branching'] = BasicChallenge('branching', pkg_re...
49.583333
118
0.816807
60
595
7.533333
0.316667
0.132743
0.176991
0.247788
0.283186
0
0
0
0
0
0
0
0.060504
595
11
119
54.090909
0.808587
0
0
0
0
0
0.184874
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
53eac2a3067d026335a0728a77a42cdc4a25ffcb
266
py
Python
tests/basics/tuple1.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
303
2015-07-11T17:12:55.000Z
2018-01-08T03:02:37.000Z
tests/basics/tuple1.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
27
2015-01-02T16:17:37.000Z
2015-09-07T19:21:26.000Z
tests/basics/tuple1.py
LabAixBidouille/micropython
11aa6ba456287d6c80598a7ebbebd2887ce8f5a2
[ "MIT" ]
26
2018-01-18T09:15:33.000Z
2022-02-07T13:09:14.000Z
# basic tuple functionality x = (1, 2, 3 * 4) print(x) try: x[0] = 4 except TypeError: print("TypeError") print(x) try: x.append(5) except AttributeError: print("AttributeError") print(x[1:]) print(x[:-1]) print(x[2:3]) print(x + (10, 100, 10000))
14
27
0.612782
43
266
3.790698
0.44186
0.220859
0.110429
0.122699
0.122699
0
0
0
0
0
0
0.097674
0.191729
266
18
28
14.777778
0.660465
0.093985
0
0.266667
0
0
0.096234
0
0
0
0
0
0
1
0
false
0
0
0
0
0.533333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
53f4b0057fc78a829d3bc4682eac262b6ce53d86
617
py
Python
recipes/Python/66009_Converting_Between_Different_Naming/recipe-66009.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/66009_Converting_Between_Different_Naming/recipe-66009.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/66009_Converting_Between_Different_Naming/recipe-66009.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
import re def cw2us(x): # capwords to underscore notation return re.sub(r'(?<=[a-z])[A-Z]|(?<!^)[A-Z](?=[a-z])', r"_\g<0>", x).lower() def mc2us(x): # mixed case to underscore notation return cw2us(x) def us2mc(x): # underscore to mixed case notation return re.sub(r'_([a-z])', lambda m: (m.group(1).upper...
22.035714
80
0.58671
93
617
3.817204
0.451613
0.028169
0.025352
0.033803
0.140845
0.140845
0.123944
0
0
0
0
0.027079
0.162075
617
27
81
22.851852
0.659574
0.465154
0
0
0
0
0.166113
0.119601
0
0
0
0
0
1
0.4
false
0
0.1
0.3
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
54cb877484a6e446c2d678e3c711bd57cf41e02c
651
py
Python
project/sfg.py
felixzheng02/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
9
2021-06-17T08:11:31.000Z
2021-06-22T08:05:27.000Z
project/sfg.py
Caiya-Zhang/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
null
null
null
project/sfg.py
Caiya-Zhang/pypkpd
9e7f41aa7e33ba50cec3482f14e7be08a4bc23e7
[ "MIT" ]
2
2021-06-18T07:16:08.000Z
2021-09-25T04:43:28.000Z
""" ## sfg function """ import numpy as np from matpy.num import num from matpy.matrix import matrix def sfg(x,a,bpop,b,bocc): parameters = matrix(np.array([bpop.get_by_index(0)*np.exp(b.get_by_index(0)), bpop.get_by_index(1)*np.exp(b.get_by_index(1)), ...
31
83
0.451613
84
651
3.309524
0.404762
0.143885
0.28777
0.201439
0.172662
0.172662
0
0
0
0
0
0.026178
0.41321
651
20
84
32.55
0.701571
0.023041
0
0
0
0
0.024752
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54cd98fd42ecb42914ed7167cfd1a0710faca669
2,448
py
Python
Products/PloneGlossary/content/PloneGlossaryDefinition.py
collective/Products.PloneGlossary
ae040e0590040a23e20933e588324b9da222918e
[ "Unlicense" ]
null
null
null
Products/PloneGlossary/content/PloneGlossaryDefinition.py
collective/Products.PloneGlossary
ae040e0590040a23e20933e588324b9da222918e
[ "Unlicense" ]
2
2016-03-02T10:45:42.000Z
2021-04-29T09:56:41.000Z
Products/PloneGlossary/content/PloneGlossaryDefinition.py
collective/Products.PloneGlossary
ae040e0590040a23e20933e588324b9da222918e
[ "Unlicense" ]
2
2017-05-21T20:11:42.000Z
2019-08-22T13:13:09.000Z
# -*- coding: utf-8 -*- ## # Copyright (C) 2007 Ingeniweb # 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 version 2 of the License, or # (at your option) any later version. # This progr...
30.6
73
0.735703
281
2,448
6.3879
0.544484
0.053482
0.05571
0.031755
0.045682
0.031198
0
0
0
0
0
0.008669
0.198938
2,448
79
74
30.987342
0.90668
0.370507
0
0
0
0
0.007319
0
0
0
0
0
0
1
0.055556
false
0
0.305556
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
54d4438cdf4c34f78f13401852ec1e06d09dfb23
332
py
Python
tests/test_glm.py
blaylockbk/goes2go
0c2e4c8393fcf5fab49f68e7a6ae478149278693
[ "MIT" ]
47
2020-12-19T00:59:57.000Z
2022-03-27T19:41:08.000Z
tests/test_glm.py
blaylockbk/goes2go
0c2e4c8393fcf5fab49f68e7a6ae478149278693
[ "MIT" ]
8
2021-02-05T22:04:53.000Z
2022-03-26T22:32:46.000Z
tests/test_glm.py
blaylockbk/goes2go
0c2e4c8393fcf5fab49f68e7a6ae478149278693
[ "MIT" ]
8
2021-02-20T17:07:09.000Z
2022-03-25T09:07:38.000Z
## Brian Blaylock ## October 18, 2021 """ Some simple tests for the GLM data """ from goes2go.data import goes_latest, goes_nearesttime, goes_timerange def test_nearesttime(): ds = goes_nearesttime("2020-01-01", product='glm', save_dir='$TMPDIR') def test_latest(): ds = goes_latest(product='glm', save_dir...
19.529412
74
0.710843
47
332
4.829787
0.595745
0.088106
0.123348
0.14978
0.202643
0
0
0
0
0
0
0.053004
0.14759
332
16
75
20.75
0.749117
0.201807
0
0
0
0
0.11811
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
54d4a3805b0bf398e85b5cd388508056e7aba1f3
644
py
Python
scripts/FieldMapper/Genre.py
edlington/islandora_workbench
fe2269225e1b808394aa134d786f50869c04a345
[ "Unlicense" ]
null
null
null
scripts/FieldMapper/Genre.py
edlington/islandora_workbench
fe2269225e1b808394aa134d786f50869c04a345
[ "Unlicense" ]
null
null
null
scripts/FieldMapper/Genre.py
edlington/islandora_workbench
fe2269225e1b808394aa134d786f50869c04a345
[ "Unlicense" ]
null
null
null
# In Islandora 8 maps to Repository Item Content Type -> field_resource_type field # The field_resource_type field is a pointer to the Resource Types taxonomy # class Genre: def __init__(self): self.drupal_fieldname = 'field_genre' self.islandora_taxonomy = ['tags','genre'] self.mods_xpa...
20.774194
82
0.645963
82
644
4.853659
0.439024
0.135678
0.085427
0.110553
0
0
0
0
0
0
0
0.002114
0.265528
644
30
83
21.466667
0.839323
0.23913
0
0
0
0
0.070539
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
54d5daab4193b6905723cdd600859e846ca04cd8
2,660
py
Python
django_basket/settings.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
1
2021-03-14T14:28:45.000Z
2021-03-14T14:28:45.000Z
django_basket/settings.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
null
null
null
django_basket/settings.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
null
null
null
from typing import Any, Optional from django.conf import settings from django.db import connection SETTINGS_BLOCK = "DJANGO_BASKET" class Settings: def __init__(self): self._settings = {} self.default_settings = getattr(settings, SETTINGS_BLOCK, {}) def add(self, name, config=None, defaul...
41.5625
96
0.795489
343
2,660
5.717201
0.204082
0.221316
0.260071
0.117287
0.164202
0
0
0
0
0
0
0
0.083459
2,660
63
97
42.222222
0.804348
0.021053
0
0
0
0
0.395071
0.133231
0
0
0
0
0
1
0.065217
false
0
0.065217
0
0.195652
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54d699ef6f736b642ce5a32a2b98e7915b7e313b
1,629
py
Python
edb/server/pgsql/dbops/constraints.py
mcaramma/edgedb
53b18dbaf7407617ca135d1f8a5047bda6414654
[ "Apache-2.0" ]
2
2019-12-09T12:52:58.000Z
2020-02-20T15:20:22.000Z
edb/server/pgsql/dbops/constraints.py
1st1/edgedb
3e234aede215d4fc517be9397a25bb16e5f1ace3
[ "Apache-2.0" ]
null
null
null
edb/server/pgsql/dbops/constraints.py
1st1/edgedb
3e234aede215d4fc517be9397a25bb16e5f1ace3
[ "Apache-2.0" ]
null
null
null
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
30.166667
74
0.694905
216
1,629
5.074074
0.453704
0.10219
0.082117
0.029197
0.043796
0.043796
0
0
0
0
0
0.006369
0.228975
1,629
53
75
30.735849
0.866242
0.395335
0
0.153846
0
0
0.021717
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
54f41e9fe51ad474f5c8f3793e598f6ef199d14b
267
py
Python
core/migrations/0046_merge_20200325_2224.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
core/migrations/0046_merge_20200325_2224.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
core/migrations/0046_merge_20200325_2224.py
ArthurGorgonio/suggestclasses
7e6ce79cca6cd92ed8a38b12707f900f019508c8
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-03-26 01:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0041_auto_20200325_2218'), ('core', '0045_auto_20200324_1947'), ] operations = [ ]
17.8
47
0.640449
33
267
5
0.848485
0
0
0
0
0
0
0
0
0
0
0.230392
0.235955
267
14
48
19.071429
0.578431
0.168539
0
0
1
0
0.245455
0.209091
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54f519d6c393a8efcce187e3089c6daea3c5cf71
343
py
Python
began/data.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
2
2018-05-15T10:28:48.000Z
2018-09-28T13:38:11.000Z
began/data.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
null
null
null
began/data.py
norveclibalikci/MyDeepLearning
d72e3d70aa11c8d8b05f0f72744a9cafa30e808a
[ "MIT" ]
1
2019-10-25T13:24:05.000Z
2019-10-25T13:24:05.000Z
from os.path import join from dataset import DataSetFromFolder import torchvision.transforms as transforms def get_training_set(root_dir): train_dir = join(root_dir, "train") return DataSetFromFolder(train_dir) def get_test_set(root_dir): test_dir = join(root_dir, "test") return DataS...
20.176471
43
0.746356
46
343
5.304348
0.413043
0.114754
0.081967
0.114754
0
0
0
0
0
0
0
0
0.183673
343
16
44
21.4375
0.871429
0
0
0
0
0
0.026239
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
2
54fbf9e8318041ac8c808a1c66c9286f1ab3dbdd
818
py
Python
mashumaro/core/const.py
trulede/mashumaro
cdcd8c0f212124eaf58873300e45fed6c8683935
[ "Apache-2.0" ]
null
null
null
mashumaro/core/const.py
trulede/mashumaro
cdcd8c0f212124eaf58873300e45fed6c8683935
[ "Apache-2.0" ]
null
null
null
mashumaro/core/const.py
trulede/mashumaro
cdcd8c0f212124eaf58873300e45fed6c8683935
[ "Apache-2.0" ]
null
null
null
import sys PY_36 = sys.version_info.major == 3 and sys.version_info.minor == 6 PY_37 = sys.version_info.major == 3 and sys.version_info.minor == 7 PY_38 = sys.version_info.major == 3 and sys.version_info.minor == 8 PY_39 = sys.version_info.major == 3 and sys.version_info.minor == 9 PY_310 = sys.version_info.major == 3...
26.387097
79
0.704156
154
818
3.337662
0.220779
0.194553
0.272374
0.184825
0.507782
0.507782
0.48249
0.48249
0.48249
0.40856
0
0.136842
0.187042
818
30
80
27.266667
0.63609
0.072127
0
0
0
0
0.130952
0
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54fc76db53554931741977a0b4c67c4051f5d7cd
561
py
Python
bases_2021_1S/Grupo 09/Tytus/Query Tool/team29/analizer/statement/functions/check.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
bases_2021_1S/Grupo 09/Tytus/Query Tool/team29/analizer/statement/functions/check.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
bases_2021_1S/Grupo 09/Tytus/Query Tool/team29/analizer/statement/functions/check.py
dadu0699/tytus
e1920f6932c840859e3e79eb8756a1d3da88bd77
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
from team29.analizer.abstract.expression import Expression from team29.analizer.reports import Nodo class CheckValue(Expression): """ Clase que representa un valor del la condicion a desarrollar en el CHECK """ def __init__(self, value, type_, row, column): self.value = value self....
25.5
64
0.639929
70
561
5.042857
0.528571
0.076487
0.101983
0
0
0
0
0
0
0
0
0.009756
0.269162
561
22
65
25.5
0.85122
0.128342
0
0
0
0
0.010638
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
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
0
1
0
0
2
070aa08ee01f88b7736b59c231aadb9aae65804a
137
py
Python
unit3/evens.py
strawnp/ap_csp_21_22
beb34072043fe51e184ed987749b8a44549ce9b7
[ "MIT" ]
6
2021-08-31T17:37:34.000Z
2022-02-27T22:02:40.000Z
unit3/evens.py
strawnp/ap_csp_21_22
beb34072043fe51e184ed987749b8a44549ce9b7
[ "MIT" ]
null
null
null
unit3/evens.py
strawnp/ap_csp_21_22
beb34072043fe51e184ed987749b8a44549ce9b7
[ "MIT" ]
5
2021-09-01T21:54:10.000Z
2021-12-10T06:26:25.000Z
while True: num = int(input("Enter an even number: ")) if num % 2 == 0: break print("Thanks for following directions.")
19.571429
46
0.59854
19
137
4.315789
0.947368
0
0
0
0
0
0
0
0
0
0
0.02
0.270073
137
6
47
22.833333
0.8
0
0
0
0
0
0.394161
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
070f62b16b2e4e583d26d9557eeb382b83eb09b0
191
py
Python
parts/k40_lid_washer.py
daniel-thompson/laser-lab
2b78cd8d1ec4c2a3a18749750ad38916d524e62c
[ "CC-BY-4.0" ]
7
2017-04-14T07:03:30.000Z
2020-12-26T13:38:30.000Z
parts/k40_lid_washer.py
daniel-thompson/laser-lab
2b78cd8d1ec4c2a3a18749750ad38916d524e62c
[ "CC-BY-4.0" ]
null
null
null
parts/k40_lid_washer.py
daniel-thompson/laser-lab
2b78cd8d1ec4c2a3a18749750ad38916d524e62c
[ "CC-BY-4.0" ]
null
null
null
from laser.util import * d = panel('k40_lid_washer.svg', 10, 21) d.add(d.washer((5, 5), 5/2, 9.5/2, cut_width=0, **cut)) d.add(d.washer((5, 16), 5/2, 9.5/2, cut_width=0, **cut)) d.save()
19.1
56
0.596859
44
191
2.5
0.477273
0.072727
0.090909
0.2
0.536364
0.327273
0.327273
0.327273
0.327273
0.327273
0
0.139394
0.136126
191
9
57
21.222222
0.527273
0
0
0
0
0
0.094241
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
071146910b359c56ee342f5c445f5a5e9de76e6c
1,717
py
Python
thesis/src/scripts/cv_generate_bioscope_table_old.py
gmonce/bioscope
b5ad3b5a769b92ef071954c6ff9fc0ebf5b6d4e3
[ "MIT" ]
1
2022-03-30T09:24:01.000Z
2022-03-30T09:24:01.000Z
thesis/src/scripts/cv_generate_bioscope_table_old.py
gmonce/bioscope
b5ad3b5a769b92ef071954c6ff9fc0ebf5b6d4e3
[ "MIT" ]
1
2020-04-07T20:42:23.000Z
2020-04-11T17:06:53.000Z
thesis/src/scripts/cv_generate_bioscope_table_old.py
gmonce/bioscope
b5ad3b5a769b92ef071954c6ff9fc0ebf5b6d4e3
[ "MIT" ]
1
2022-03-30T09:24:04.000Z
2022-03-30T09:24:04.000Z
# -*- coding: utf-8 -*- # Uso: cv_generate_bioscope_table.py $BIOSCOPE import os.path import time import sys import sqlite3 import random working_dir=sys.argv[1] dbname=os.path.join(working_dir,'bioscope.db') # Inicializo la conexión a la base de datos conn= sqlite3.connect(dbname) conn.text_factory = str conn.r...
34.34
265
0.78975
279
1,717
4.666667
0.401434
0.053763
0.036866
0.046083
0.420891
0.420891
0.399386
0.399386
0.399386
0.399386
0
0.020712
0.100175
1,717
49
266
35.040816
0.822006
0.125218
0
0.25
1
0.0625
0.533779
0.22408
0
0
0
0
0
0
null
null
0.03125
0.15625
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
07140d08ec75bc7fedce977af98e2c463143f11a
1,243
py
Python
var/spack/repos/builtin/packages/r-matrix/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/r-matrix/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/r-matrix/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RMatrix(RPackage): """Classes and methods for dense and sparse matrices and operations on ...
47.807692
96
0.734513
147
1,243
6.176871
0.55102
0.017621
0.049559
0.030837
0.123348
0.123348
0.07489
0.07489
0
0
0
0.247498
0.115849
1,243
25
97
49.72
0.578708
0.238134
0
0
0
0.076923
0.602784
0.342612
0
0
0
0
0
1
0
false
0
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
071f103db25acdbc642aece1c522e58196e63ba6
353
py
Python
11 - Collections/tuples.py
srishti-nema/c9-python-getting-started
845583d4d5c63659640df69d267e1b874c137336
[ "MIT" ]
null
null
null
11 - Collections/tuples.py
srishti-nema/c9-python-getting-started
845583d4d5c63659640df69d267e1b874c137336
[ "MIT" ]
null
null
null
11 - Collections/tuples.py
srishti-nema/c9-python-getting-started
845583d4d5c63659640df69d267e1b874c137336
[ "MIT" ]
null
null
null
#Tuple is a collection of ordered items. A tuple is immutable in nature. #Refer https://docs.python.org/3/library/stdtypes.html?#tuples for more information person= ("Susan","Christopher","Bill","Susan") print(person) print(person[1]) x= person.count("Susan") print("Occurrence of 'Susan' in tuple is:" + str(x)) l=['a...
35.3
84
0.719547
55
353
4.618182
0.654545
0.082677
0
0
0
0
0
0
0
0
0
0.006309
0.101983
353
9
85
39.222222
0.794953
0.433428
0
0
0
0
0.387755
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
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
0
0
0
1
0
2
072f43de2b9b1931e719249f04b5782a41a44369
1,700
py
Python
plugins/IProxyPlugin.py
mgeeky/proxy2
8c8485d9f03e9819a5d2dba168baa45c9e069cba
[ "BSD-3-Clause" ]
6
2016-03-15T09:02:01.000Z
2021-09-27T06:58:10.000Z
plugins/IProxyPlugin.py
mgeeky/proxy2
8c8485d9f03e9819a5d2dba168baa45c9e069cba
[ "BSD-3-Clause" ]
null
null
null
plugins/IProxyPlugin.py
mgeeky/proxy2
8c8485d9f03e9819a5d2dba168baa45c9e069cba
[ "BSD-3-Clause" ]
5
2016-03-15T10:27:07.000Z
2021-05-19T21:12:03.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- from abc import ABC, abstractmethod # These headers will be used by plugins to pass a message to the proxy, # and proxy will remove them from the output response. Keep this dict keys in lowercase. proxy2_metadata_headers = { 'override_response_content_encoding': 'X-Proxy...
34
107
0.689412
197
1,700
5.700508
0.48731
0.0374
0.029386
0.055209
0.09439
0.05699
0.05699
0
0
0
0
0.006696
0.209412
1,700
49
108
34.693878
0.828869
0.252353
0
0.290323
0
0
0.357492
0.314332
0
0
0
0
0
1
0.225806
false
0.096774
0.032258
0.032258
0.387097
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
074a794bae35b6e79ce941e735105ab7584dc4dd
534
py
Python
src/trader/storage.py
edse/bl3pbot
0894af49741029434b9e77a44390f05475961499
[ "MIT" ]
1
2018-02-16T08:44:12.000Z
2018-02-16T08:44:12.000Z
src/trader/storage.py
edse/bl3pbot
0894af49741029434b9e77a44390f05475961499
[ "MIT" ]
null
null
null
src/trader/storage.py
edse/bl3pbot
0894af49741029434b9e77a44390f05475961499
[ "MIT" ]
null
null
null
from django.conf import settings from influxdb import InfluxDBClient from .base import * # noqa class Storage(object): @staticmethod def store(data): influx_client = Storage.get_client() influx_client.write_points(data) return data @staticmethod def get_client(): re...
22.25
44
0.642322
53
534
6.283019
0.509434
0.24024
0
0
0
0
0
0
0
0
0
0
0.29588
534
23
45
23.217391
0.885638
0.007491
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.055556
0.166667
0.055556
0.444444
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
1
0
0
0
0
0
2
0759d3f0e65a831f692e2e9389271a1adba208e1
46,635
py
Python
PhotoFit/fitter_general.py
maayane/PhotoFit
e5461bc50a9587ed0fe5d323f6b6bbea8aa968d5
[ "Apache-2.0" ]
2
2019-02-07T09:49:17.000Z
2020-04-07T14:39:10.000Z
PhotoFit/fitter_general.py
maayane/PhotoFit
e5461bc50a9587ed0fe5d323f6b6bbea8aa968d5
[ "Apache-2.0" ]
null
null
null
PhotoFit/fitter_general.py
maayane/PhotoFit
e5461bc50a9587ed0fe5d323f6b6bbea8aa968d5
[ "Apache-2.0" ]
1
2020-01-18T04:06:27.000Z
2020-01-18T04:06:27.000Z
#! /usr/bin/env python import numpy as np from . import class_chi2 import emcee import pylab import corner import scipy.optimize as op import os # simple power lax ax^n or a(x-xref)^n ''' def emcee_1_param(model_1param,prior_param1,data,uncertainties,initial_conditions,flatchain_path=None,already_run=False): ""...
58.075965
276
0.568157
6,250
46,635
4.07456
0.0664
0.018456
0.017671
0.026506
0.797534
0.751747
0.694141
0.667557
0.64376
0.613642
0
0.034265
0.292227
46,635
803
277
58.075965
0.737268
0.162689
0
0.477695
0
0.007435
0.070375
0.009957
0
0
0
0
0
1
0.018587
false
0
0.013011
0
0.070632
0.072491
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4acb16bcaf6a8ac8c8543e43023ecbd99b537778
584
py
Python
bokeh/utils.py
minrk/bokeh
ae4366e508355afc06b5fc62f1ee399635ab909d
[ "BSD-3-Clause" ]
null
null
null
bokeh/utils.py
minrk/bokeh
ae4366e508355afc06b5fc62f1ee399635ab909d
[ "BSD-3-Clause" ]
null
null
null
bokeh/utils.py
minrk/bokeh
ae4366e508355afc06b5fc62f1ee399635ab909d
[ "BSD-3-Clause" ]
null
null
null
import sys from six.moves.urllib.parse import urljoin as sys_urljoin from functools import reduce def urljoin(*args): return reduce(sys_urljoin, args) def get_json(request): """request from requests library handles backwards compatability for requests < 1.0 """ if hasattr(request.json, '__call__')...
22.461538
72
0.65411
85
584
4.364706
0.447059
0.088949
0.091644
0.053908
0.134771
0.134771
0.134771
0.134771
0.134771
0.134771
0
0.022371
0.234589
584
25
73
23.36
0.807606
0.136986
0
0.222222
0
0
0.03681
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4ad939ac2f3356265102809871f4fad95085ee66
3,477
py
Python
moledit/visualizer.py
hainm/moledit
3951c7248bf5684caf2a48c1de1abfeb848763a4
[ "MIT" ]
null
null
null
moledit/visualizer.py
hainm/moledit
3951c7248bf5684caf2a48c1de1abfeb848763a4
[ "MIT" ]
null
null
null
moledit/visualizer.py
hainm/moledit
3951c7248bf5684caf2a48c1de1abfeb848763a4
[ "MIT" ]
null
null
null
from functools import wraps from .amber_builder import AmberBuilder import nglview def _update_structure(fixer): if fixer._view is not None: traj = nglview.ParmEdTrajectory(fixer.parm) if fixer._view.n_components == 0: fixer._view.add_trajectory(traj) if len(fixer.parm.atom...
34.77
76
0.634455
374
3,477
5.68984
0.264706
0.148026
0.138158
0.165414
0.223214
0.132989
0
0
0
0
0
0.002734
0.263733
3,477
99
77
35.121212
0.828516
0.05522
0
0.026667
0
0
0.007678
0
0
0
0
0.010101
0
1
0.133333
false
0
0.04
0.013333
0.253333
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
1
0
0
0
0
0
0
0
0
0
0
2
4ae3c2b87b56f88682bd646d288e3239048f1f7f
189
py
Python
separate_exercises/print_month_number.py
mightypanders/pythonlearning
ee2e403ed198f1ae5c8c5bac4cd1e380c1824153
[ "MIT" ]
1
2016-07-04T07:03:32.000Z
2016-07-04T07:03:32.000Z
separate_exercises/print_month_number.py
mightypanders/pythonlearning
ee2e403ed198f1ae5c8c5bac4cd1e380c1824153
[ "MIT" ]
null
null
null
separate_exercises/print_month_number.py
mightypanders/pythonlearning
ee2e403ed198f1ae5c8c5bac4cd1e380c1824153
[ "MIT" ]
null
null
null
months = "JanFebMarAprMayJunJulAugSepOctNovDec" n = int(input("Enter month Number: ")) if (n > 0 and n < 13): mE = (3 * n) mA = mE - 3 print(months[mA:mE]) else: print("falsche Zahl")
18.9
47
0.640212
28
189
4.321429
0.678571
0.049587
0
0
0
0
0
0
0
0
0
0.03268
0.190476
189
9
48
21
0.75817
0
0
0
0
0
0.359788
0.190476
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4ae87bcb0afb61c9ca72e5ff1e102e1b1ef81081
6,427
py
Python
test/test_color.py
hroncok/lesscpy
927d147aa32ad05b11d65a85be7e2d2a6625b543
[ "MIT" ]
null
null
null
test/test_color.py
hroncok/lesscpy
927d147aa32ad05b11d65a85be7e2d2a6625b543
[ "MIT" ]
null
null
null
test/test_color.py
hroncok/lesscpy
927d147aa32ad05b11d65a85be7e2d2a6625b543
[ "MIT" ]
null
null
null
""" lesscpy color tests. """ import unittest from lesscpy.lessc import color class TestLessColor(unittest.TestCase): def setUp(self): self.color = color.Color() def test_rgb(self): test = self.color.rgb for r, g, b, v in [ (255, 255, 255, '#ffffff'), (100,...
34.740541
66
0.375603
690
6,427
3.485507
0.153623
0.031601
0.024948
0.063617
0.479418
0.455301
0.432432
0.353015
0.30894
0.275676
0
0.253497
0.354909
6,427
184
67
34.929348
0.32658
0.003112
0
0.384146
0
0
0.227743
0.018339
0
0
0
0
0.140244
1
0.060976
false
0
0.012195
0
0.079268
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4afb2ea4989b9d6338c377f8de31237e9b9ae34d
8,732
py
Python
jetmontecarlo/utils/interp_utils.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
jetmontecarlo/utils/interp_utils.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
jetmontecarlo/utils/interp_utils.py
samcaf/JetMonteCarlo
71f50f3bb53a4f68ed927eaeaed5ee258da0dd34
[ "MIT" ]
null
null
null
from __future__ import division, print_function import numpy as np from scipy import signal as sig from matplotlib import pyplot as plt import seaborn as sns """https://stackoverflow.com/questions/56551114/fully-monotone-interpolation-in-python """ # see also # https://en.wikipedia.org/wiki/Monotone-spline aka I-spli...
47.715847
90
0.664109
904
8,732
6.394912
0.469027
0.001557
0.00346
0.004497
0.009687
0.005189
0
0
0
0
0
0.614245
0.204077
8,732
182
91
47.978022
0.217554
0.106963
0
0
0
0
0.027027
0
0
0
0
0
0
1
0.037313
false
0.007463
0.044776
0.014925
0.119403
0.007463
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab10bcd948bfcc0cf88307cddb4b52b510c453ca
2,706
py
Python
venv/Lib/site-packages/jedi/inference/utils.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
4,213
2015-01-02T15:43:22.000Z
2022-03-31T16:15:01.000Z
venv/Lib/site-packages/jedi/inference/utils.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
1,392
2015-01-02T18:43:39.000Z
2022-03-27T18:43:59.000Z
venv/Lib/site-packages/jedi/inference/utils.py
ajayiagbebaku/NFL-Model
afcc67a85ca7138c58c3334d45988ada2da158ed
[ "MIT" ]
525
2015-01-02T19:07:31.000Z
2022-03-13T02:03:20.000Z
""" A universal module with functions / classes without dependencies. """ import functools import re import os _sep = os.path.sep if os.path.altsep is not None: _sep += os.path.altsep _path_re = re.compile(r'(?:\.[^{0}]+|[{0}]__init__\.py)$'.format(re.escape(_sep))) del _sep def to_list(func): def wrapper(*...
29.736264
82
0.674427
351
2,706
5.091168
0.48433
0.015669
0.035814
0.030218
0.067152
0.067152
0
0
0
0
0
0.000958
0.228751
2,706
90
83
30.066667
0.855295
0.463784
0
0.113636
0
0
0.02381
0.02381
0
0
0
0
0
1
0.272727
false
0
0.068182
0.090909
0.613636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ab1694167ee0f4a18ccc9f32f88a9474f2016264
3,747
py
Python
chemdataextractor/doc/element.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
null
null
null
chemdataextractor/doc/element.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
null
null
null
chemdataextractor/doc/element.py
gubschk/CDEWIP
fb628593417df5f955eb1fa62176b7cb3c322ebc
[ "MIT" ]
1
2021-02-21T02:51:39.000Z
2021-02-21T02:51:39.000Z
# -*- coding: utf-8 -*- """ chemdataextractor.doc.element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Document elements. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from abc import ABCMeta, abstractproperty i...
31.487395
127
0.636509
424
3,747
5.386792
0.299528
0.052539
0.052539
0.031524
0.291156
0.215412
0.194396
0.194396
0.194396
0.194396
0
0.001446
0.261809
3,747
118
128
31.754237
0.824295
0.330131
0
0.442623
0
0
0.023779
0
0
0
0
0.008475
0
1
0.278689
false
0
0.131148
0.098361
0.655738
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ab1eaa7a82c0473c8ef38b46d4d35f1aae7017d9
403
py
Python
PgCognition/Schema/__init__.py
mathewmoon/pgcog
a07bcb6ddd03dbb3665958341dcca7cef039eef1
[ "Apache-2.0" ]
1
2021-05-15T14:29:26.000Z
2021-05-15T14:29:26.000Z
PgCognition/Schema/__init__.py
mathewmoon/pgcog
a07bcb6ddd03dbb3665958341dcca7cef039eef1
[ "Apache-2.0" ]
null
null
null
PgCognition/Schema/__init__.py
mathewmoon/pgcog
a07bcb6ddd03dbb3665958341dcca7cef039eef1
[ "Apache-2.0" ]
null
null
null
from .CloneSchema import CLONE_SCHEMA from .UsersTable import USERS_TABLE from .TenantsTable import TENANTS_TABLE from .CreateRoleFunction import CREATE_ROLE from .GroupsOfFunction import GROUPS_OF from .GetTenantsFunction import GET_TENANTS from .TenantRoleFunction import TENANT_ROLE from .RLS import * from .Grants im...
33.583333
43
0.861042
51
403
6.647059
0.490196
0.053097
0
0
0
0
0
0
0
0
0
0
0.109181
403
11
44
36.636364
0.94429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
ab29b849878067067fda7e6c552a6b5613203304
567
py
Python
accounts/models.py
sternb0t/fake-news-links
62105de4907d958d3cf69b11484a7c46fd4d7d90
[ "MIT" ]
1
2018-02-11T00:08:05.000Z
2018-02-11T00:08:05.000Z
accounts/models.py
sternb0t/fake-news-links
62105de4907d958d3cf69b11484a7c46fd4d7d90
[ "MIT" ]
2
2016-12-05T02:00:22.000Z
2016-12-05T02:07:30.000Z
accounts/models.py
sternb0t/fake-news-links
62105de4907d958d3cf69b11484a7c46fd4d7d90
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractUser from django.contrib.postgres.fields import JSONField from common.models import DateTracking class User(DateTracking, AbstractUser): """ Django model for an individual user that has some kind of access to Fake News Links. This could be admin or lower lev...
35.4375
105
0.756614
84
567
5.107143
0.678571
0.04662
0.079254
0
0
0
0
0
0
0
0
0
0.185185
567
15
106
37.8
0.928571
0.534392
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
ab2f87036ca63192b566a48ff65f219261abd7da
518
py
Python
myflask.py
Troy1996/myflask
8acab364e2a721991152f934e07ef4f0a6a6087e
[ "MIT" ]
null
null
null
myflask.py
Troy1996/myflask
8acab364e2a721991152f934e07ef4f0a6a6087e
[ "MIT" ]
null
null
null
myflask.py
Troy1996/myflask
8acab364e2a721991152f934e07ef4f0a6a6087e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Flask,url_for,render_template from flask_bootstrap import Bootstrap app = Flask(__name__) Bootstrap(app) @app.route('/') def index(): return render_template('index.html',title=u'TROJANDATA')\ @app.route('/course') def course(): return render_template('course.html'...
19.923077
78
0.69305
76
518
4.486842
0.473684
0.164223
0.175953
0
0
0
0
0
0
0
0
0.02
0.131274
518
25
79
20.72
0.737778
0.040541
0
0
0
0
0.206061
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.2
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
0
0
0
0
1
1
0
0
2
ab303c458889188f811488cc3f19ab97dbd549d0
226
py
Python
src/python/examples/sox_example_01.py
patczar/video-scripts
8b6390cf778bada88bad5f452cc9a0bb86830b09
[ "MIT" ]
null
null
null
src/python/examples/sox_example_01.py
patczar/video-scripts
8b6390cf778bada88bad5f452cc9a0bb86830b09
[ "MIT" ]
null
null
null
src/python/examples/sox_example_01.py
patczar/video-scripts
8b6390cf778bada88bad5f452cc9a0bb86830b09
[ "MIT" ]
null
null
null
from video_scripts.sox import SOX cmd1 = SOX(inputs='in1.flac', output='out.mp3', effects='swap') print(cmd1.cmd_string()) cmd2 = SOX(inputs='in2.flac', output='out.mp3', effects=['swap', 'deemph']) print(cmd2.cmd_string())
28.25
75
0.70354
35
226
4.457143
0.571429
0.115385
0.166667
0.205128
0.346154
0.346154
0
0
0
0
0
0.038647
0.084071
226
7
76
32.285714
0.714976
0
0
0
0
0
0.19469
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ab4d2587a2e5a8231cef0724687f552ff1506781
2,317
py
Python
02-core_genes/99s-stats_pipelines.py
rionbr/meionav
3e0cca6bea206023ea3a3b322c5bfdd2081e9842
[ "MIT" ]
1
2019-08-15T10:50:38.000Z
2019-08-15T10:50:38.000Z
02-core_genes/99s-stats_pipelines.py
rionbr/spermnet
3e0cca6bea206023ea3a3b322c5bfdd2081e9842
[ "MIT" ]
null
null
null
02-core_genes/99s-stats_pipelines.py
rionbr/spermnet
3e0cca6bea206023ea3a3b322c5bfdd2081e9842
[ "MIT" ]
null
null
null
# coding=utf-8 # Author: Rion B Correia # Date: Sept 11, 2019 # # Description: Dispalys Statistics about the calculated pipelines. # # import math import numpy as np import pandas as pd pd.set_option('display.max_rows', 100) pd.set_option('display.max_columns', 500) pd.set_option('display.width', 1000) pd.set_option('d...
31.739726
117
0.654726
350
2,317
4.111429
0.26
0.200139
0.106324
0.077832
0.691452
0.662265
0.662265
0.639333
0.639333
0.639333
0
0.020249
0.168753
2,317
72
118
32.180556
0.726895
0.05697
0
0.595745
0
0
0.257485
0.163059
0
0
0
0
0
1
0.021277
false
0
0.085106
0
0.148936
0.12766
0
0
0
null
1
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
0
0
0
0
0
0
0
0
2
ab4db1ac1de3595ec2aba82a0f0ac3e5db05ab21
3,937
py
Python
openmdao.lib/src/openmdao/lib/components/test/test_expected_improvement_multiobj.py
Kenneth-T-Moore/OpenMDAO-Framework
76e0ebbd6f424a03b547ff7b6039dea73d8d44dc
[ "Apache-2.0" ]
null
null
null
openmdao.lib/src/openmdao/lib/components/test/test_expected_improvement_multiobj.py
Kenneth-T-Moore/OpenMDAO-Framework
76e0ebbd6f424a03b547ff7b6039dea73d8d44dc
[ "Apache-2.0" ]
null
null
null
openmdao.lib/src/openmdao/lib/components/test/test_expected_improvement_multiobj.py
Kenneth-T-Moore/OpenMDAO-Framework
76e0ebbd6f424a03b547ff7b6039dea73d8d44dc
[ "Apache-2.0" ]
null
null
null
# pylint: disable-msg=C0111,C0103 import unittest from numpy import array from openmdao.lib.components.expected_improvement_multiobj import MultiObjExpectedImprovement from openmdao.lib.casehandlers.api import CaseSet, ListCaseIterator from openmdao.main.uncertain_distributions import NormalDistribution from openmdao....
39.767677
96
0.557531
451
3,937
4.722838
0.206208
0.122066
0.061972
0.146479
0.658685
0.658685
0.634272
0.634272
0.617371
0.617371
0
0.039808
0.310897
3,937
98
97
40.173469
0.7453
0.007874
0
0.647727
0
0
0.056879
0
0
0
0
0
0.068182
0
null
null
0
0.068182
null
null
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
1
0
0
0
0
0
0
0
0
2
ab4ee4bb7d30fb371ff047729a01c317344f8569
6,036
py
Python
django/common/views.py
bjo6300/posture-correction-using-a-camera
c569ba6a538264f0cdc39588f0b8fbc52d0bf0b7
[ "MIT" ]
null
null
null
django/common/views.py
bjo6300/posture-correction-using-a-camera
c569ba6a538264f0cdc39588f0b8fbc52d0bf0b7
[ "MIT" ]
null
null
null
django/common/views.py
bjo6300/posture-correction-using-a-camera
c569ba6a538264f0cdc39588f0b8fbc52d0bf0b7
[ "MIT" ]
1
2022-03-06T10:17:13.000Z
2022-03-06T10:17:13.000Z
from django.http import HttpResponse from common import views from django.contrib import auth, messages from django.shortcuts import render, redirect from .models import User from django.contrib.auth.forms import PasswordChangeForm # 비밀번호 변경 폼 from django.contrib.auth.hashers import check_password from django.contrib.a...
38.202532
119
0.638999
705
6,036
5.367376
0.224113
0.063425
0.100423
0.085888
0.426797
0.3824
0.286469
0.15777
0.071882
0.071882
0
0.002845
0.242876
6,036
157
120
38.44586
0.825164
0.333002
0
0.205128
0
0
0.17004
0.078694
0
0
0
0
0
1
0.128205
false
0.25641
0.141026
0.076923
0.512821
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
ab5a007ee50535845997f773716631f7941ac61c
1,423
py
Python
taurex/output/output.py
rychallener/TauREx3_public
eb0eeeeca8f47e5e7d64d8d70b43a3af370b7677
[ "BSD-3-Clause" ]
10
2019-12-18T09:19:16.000Z
2021-06-21T11:02:06.000Z
taurex/output/output.py
rychallener/TauREx3_public
eb0eeeeca8f47e5e7d64d8d70b43a3af370b7677
[ "BSD-3-Clause" ]
10
2020-03-24T18:02:15.000Z
2021-08-23T20:32:09.000Z
taurex/output/output.py
rychallener/TauREx3_public
eb0eeeeca8f47e5e7d64d8d70b43a3af370b7677
[ "BSD-3-Clause" ]
8
2020-03-26T14:16:42.000Z
2021-12-18T22:11:25.000Z
from taurex.log import Logger import numpy as np class Output(Logger): def __init__(self, name): super().__init__(name) def open(self): raise NotImplementedError def create_group(self, group_name): raise NotImplementedError def close(self): raise NotImplementedError...
24.964912
77
0.681658
173
1,423
5.271676
0.277457
0.184211
0.177632
0.157895
0.35307
0.302632
0.254386
0
0
0
0
0
0.239635
1,423
56
78
25.410714
0.842884
0
0
0.297297
0
0
0
0
0
0
0
0
0
1
0.351351
false
0
0.081081
0
0.513514
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ab622fcd7e4150d30b51c87ab4c2c9e93e2a4742
587
py
Python
rlcard/games/limitholdem/dealer.py
XiangboGaoBarry/TexasHoldemAI
91776498fafd464040eca2b1fe454333991bc04e
[ "MIT" ]
1
2021-02-24T00:19:24.000Z
2021-02-24T00:19:24.000Z
rlcard/games/limitholdem/dealer.py
XiangboGaoBarry/TexasHoldemAI
91776498fafd464040eca2b1fe454333991bc04e
[ "MIT" ]
null
null
null
rlcard/games/limitholdem/dealer.py
XiangboGaoBarry/TexasHoldemAI
91776498fafd464040eca2b1fe454333991bc04e
[ "MIT" ]
null
null
null
from rlcard.utils.utils import init_standard_deck class LimitholdemDealer(object): def __init__(self, np_random): ''' Initialize a limitholdem dealer class ''' self.np_random = np_random self.deck = init_standard_deck() self.shuffle() self.pot = 0 def shuffle(s...
21.740741
49
0.58092
70
587
4.685714
0.414286
0.097561
0.109756
0.091463
0
0
0
0
0
0
0
0.002513
0.321976
587
26
50
22.576923
0.821608
0.241908
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
db473b92a36623cdfec5e9fcef983d0d9dabea0f
320
py
Python
site/psalter/admin.py
scottBowles/dailyoffice2019
ca750ac77316d247ca7a7a820e085f9968fbc8ff
[ "MIT" ]
19
2020-01-12T23:57:22.000Z
2022-03-30T16:35:17.000Z
site/psalter/admin.py
scottBowles/dailyoffice2019
ca750ac77316d247ca7a7a820e085f9968fbc8ff
[ "MIT" ]
59
2020-01-13T00:45:27.000Z
2022-02-20T04:10:05.000Z
site/psalter/admin.py
scottBowles/dailyoffice2019
ca750ac77316d247ca7a7a820e085f9968fbc8ff
[ "MIT" ]
7
2020-01-21T21:12:03.000Z
2021-10-24T01:15:50.000Z
from adminsortable2.admin import SortableAdminMixin from django.contrib import admin from psalter.models import PsalmTopic class PsalmTopicAdmin(SortableAdminMixin, admin.ModelAdmin): list_display = ("topic_name", "psalms") fields = ("topic_name", "psalms") admin.site.register(PsalmTopic, PsalmTopicAdmin)
24.615385
60
0.790625
34
320
7.352941
0.617647
0.072
0.12
0
0
0
0
0
0
0
0
0.003546
0.11875
320
12
61
26.666667
0.882979
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
db55742ff14a2152ad5929e6d8f151629b0ada25
727
py
Python
setup.py
jamesfox96/NotSoFastQC
75bc7a8d042211bc584f0312986eb0a59d56949a
[ "MIT" ]
null
null
null
setup.py
jamesfox96/NotSoFastQC
75bc7a8d042211bc584f0312986eb0a59d56949a
[ "MIT" ]
1
2020-11-08T11:38:55.000Z
2020-11-17T09:31:09.000Z
setup.py
jamesfox96/NotSoFastQC
75bc7a8d042211bc584f0312986eb0a59d56949a
[ "MIT" ]
null
null
null
import io from setuptools import setup setup(name='NotSoFastQC', description='A tool to generate FastQC-like graphs from a FastQC file', long_description=io.open('README.md', encoding='utf-8').read(), long_description_content_type='text/markdown', version='1.1', url='https://github.com/ja...
38.263158
82
0.56121
82
727
4.841463
0.731707
0.075567
0
0
0
0
0
0
0
0
0
0.053846
0.284732
727
18
83
40.388889
0.709615
0
0
0
1
0
0.403026
0.050894
0
0
0
0
0
1
0
true
0
0.117647
0
0.117647
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
0
0
0
2
db5c61d61a7c015792fa5de2e87d36ccedbe2c90
11,390
py
Python
sfftk/unittests/test_formats.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
sfftk/unittests/test_formats.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
sfftk/unittests/test_formats.py
ssabrii/sfftk
5cab37f1c9ecb9c2507672fd3232b1b9b5405511
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # test_formats.py """ sfftk.formats modules unit tests """ from __future__ import division import os import shlex import unittest import __init__ as tests from .. import schema from ..core.parser import parse_args from ..formats import am, seg, map, mod, stl, surf __author__ = "Paul K. Kori...
52.731481
121
0.722564
1,327
11,390
5.998493
0.107762
0.122487
0.106281
0.177136
0.779271
0.69309
0.619221
0.585427
0.585427
0.545477
0
0.007109
0.17252
11,390
215
122
52.976744
0.837454
0.135031
0
0.352113
0
0
0.06859
0
0
0
0
0
0.5
1
0.105634
false
0
0.056338
0
0.169014
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
1
0
0
0
0
0
0
0
0
0
2
db6c93ec9aba4b82eecc9e97ab85639dc4066bd7
134
py
Python
docs/new-pandas-doc/generated/pandas-DataFrame-plot-line-2.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
docs/new-pandas-doc/generated/pandas-DataFrame-plot-line-2.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
docs/new-pandas-doc/generated/pandas-DataFrame-plot-line-2.py
maartenbreddels/datapythonista.github.io
f78d7b9a8a793fc446c5ba3ee74423433b00fb63
[ "Apache-2.0" ]
null
null
null
# An example with subplots, so an array of axes is returned. axes = df.plot.line(subplots=True) type(axes) # <class 'numpy.ndarray'>
22.333333
60
0.723881
22
134
4.409091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.149254
134
5
61
26.8
0.850877
0.61194
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db6f79bba3067166cc19bf7517c8b74f374171ca
911
py
Python
thuja/csound_utils.py
benmca/pyComposition
24c6313c51eb203bb25eb862ed180a0efeddaa1c
[ "MIT" ]
1
2016-12-19T06:42:36.000Z
2016-12-19T06:42:36.000Z
thuja/csound_utils.py
benmca/pyComposition
24c6313c51eb203bb25eb862ed180a0efeddaa1c
[ "MIT" ]
7
2016-11-24T18:38:50.000Z
2016-12-19T06:42:20.000Z
thuja/csound_utils.py
benmca/pyComposition
24c6313c51eb203bb25eb862ed180a0efeddaa1c
[ "MIT" ]
null
null
null
import ctcsound def init_csound_with_orc(args_list, orc_file, silent, string_values): with open(orc_file, "r") as f: orc_string = f.read() if silent: args_list.append("-m0") args_list.append("-d") cs = ctcsound.Csound() cs.compileOrc(orc_string) for x in args_list: c...
27.606061
69
0.627881
132
911
4.106061
0.257576
0.118081
0.103321
0.062731
0.760148
0.760148
0.649446
0.649446
0.649446
0.649446
0
0.002967
0.260154
911
32
70
28.46875
0.801187
0
0
0.689655
0
0
0.013172
0
0
0
0
0
0
1
0.068966
false
0
0.034483
0
0.172414
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db761b86f2e35036fc513db99674cd92b9d67c19
2,262
py
Python
packages/hyperk/root.py
pgjones/nusoft
442c7bca2f921892ecf9eb3ff6821e2a9da7b156
[ "MIT" ]
1
2015-11-24T03:39:13.000Z
2015-11-24T03:39:13.000Z
packages/hyperk/root.py
pgjones/nusoft
442c7bca2f921892ecf9eb3ff6821e2a9da7b156
[ "MIT" ]
null
null
null
packages/hyperk/root.py
pgjones/nusoft
442c7bca2f921892ecf9eb3ff6821e2a9da7b156
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Root # # ROOT packages and versions # # Author P G Jones - 2014-08-21 <p.g.jones@qmul.ac.uk> : New file. #################################################################################################### import nusoft.package.local as local_package import os class Root(local_package.LocalPa...
39
100
0.61008
287
2,262
4.644599
0.376307
0.052513
0.052513
0.067517
0.049512
0
0
0
0
0
0
0.011878
0.218391
2,262
57
101
39.684211
0.742081
0.375332
0
0
0
0
0.129614
0.020601
0
0
0
0
0
1
0.318182
false
0.045455
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
db85447d8dafbed51672fab4fa4979a2b0db166f
512
py
Python
anadroid/test/device/test_Device.py
greensoftwarelab/PyAnaDroid
c37a85a2c8e0206895f2e96d28c2baa045f6a211
[ "MIT" ]
null
null
null
anadroid/test/device/test_Device.py
greensoftwarelab/PyAnaDroid
c37a85a2c8e0206895f2e96d28c2baa045f6a211
[ "MIT" ]
2
2022-03-31T17:33:48.000Z
2022-03-31T17:38:22.000Z
anadroid/test/device/test_Device.py
greensoftwarelab/PyAnaDroid
c37a85a2c8e0206895f2e96d28c2baa045f6a211
[ "MIT" ]
null
null
null
from unittest import TestCase from anadroid.device.Device import get_first_connected_device class TestDevice(TestCase): device = get_first_connected_device() def test_unlock_screen(self): self.__class__.device.unlock_screen() self.assertTrue(self.__class__.device.is_screen_unlocked()) d...
30.117647
67
0.757813
63
512
5.555556
0.31746
0.128571
0.214286
0.131429
0.411429
0.411429
0.411429
0.411429
0.411429
0.411429
0
0
0.154297
512
16
68
32
0.808314
0
0
0.363636
0
0
0
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.545455
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
0
1
0
0
2
db8836b80ad4bb902e24458ab852e0bc3f06ba4e
655
py
Python
lib/python3/PUJ/Model/Logistic.py
GioLopez/PUJ-Buscaminas
282f8abfe1e49ab8c9d306c696113357f78f0481
[ "Unlicense" ]
null
null
null
lib/python3/PUJ/Model/Logistic.py
GioLopez/PUJ-Buscaminas
282f8abfe1e49ab8c9d306c696113357f78f0481
[ "Unlicense" ]
null
null
null
lib/python3/PUJ/Model/Logistic.py
GioLopez/PUJ-Buscaminas
282f8abfe1e49ab8c9d306c696113357f78f0481
[ "Unlicense" ]
null
null
null
## ========================================================================= ## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) ## ========================================================================= import numpy from .Linear import * ''' ''' class Logistic( Linear ): ''' ''' def __init__( se...
20.46875
76
0.416794
65
655
3.953846
0.584615
0.015564
0
0
0
0
0
0
0
0
0
0.011719
0.218321
655
31
77
21.129032
0.490234
0.392366
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
db991feb8963f89a8e7be576f4ae74d6c0c3f96d
2,769
py
Python
colugo/py/directory.py
pickledgator/colugo
c2756d4a5d638c98b3d73e70b02de5c098125377
[ "MIT" ]
2
2018-06-08T22:21:01.000Z
2021-12-24T22:19:29.000Z
colugo/py/directory.py
pickledgator/colugo
c2756d4a5d638c98b3d73e70b02de5c098125377
[ "MIT" ]
null
null
null
colugo/py/directory.py
pickledgator/colugo
c2756d4a5d638c98b3d73e70b02de5c098125377
[ "MIT" ]
1
2019-02-26T16:53:31.000Z
2019-02-26T16:53:31.000Z
#!/usr/bin/env python import logging class Directory: """Maintainer of discovered services on the network Attributes: logger: Logger instance, specific to activities within the service discovery layers node_uuid: Unique identifier of the local node where the directory is housed servc...
35.050633
106
0.636692
351
2,769
4.977208
0.37037
0.032055
0.022324
0.027476
0.218661
0.167144
0.167144
0.167144
0.167144
0.167144
0
0
0.31022
2,769
78
107
35.5
0.91466
0.579993
0
0.347826
0
0
0.041804
0
0
0
0
0.012821
0
1
0.173913
false
0
0.043478
0
0.521739
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
0
0
1
0
0
2
db9fa8c51f72198a213fbeb2d92db1d262bbb83a
227
py
Python
src/p4p/test/test_asyncio.py
ajvignesh21/p4p
18807f9e2b0c7597a4e2072592481e16dfa6c928
[ "BSD-3-Clause" ]
12
2017-04-15T03:56:28.000Z
2022-02-15T07:42:54.000Z
src/p4p/test/test_asyncio.py
ajvignesh21/p4p
18807f9e2b0c7597a4e2072592481e16dfa6c928
[ "BSD-3-Clause" ]
68
2017-07-18T18:50:58.000Z
2022-02-01T23:01:03.000Z
src/p4p/test/test_asyncio.py
ajvignesh21/p4p
18807f9e2b0c7597a4e2072592481e16dfa6c928
[ "BSD-3-Clause" ]
23
2017-05-19T13:32:01.000Z
2022-01-20T04:27:46.000Z
import sys import unittest if sys.version_info<(3,4): class TestDummy(unittest.TestCase): def test_asyncio(self): raise unittest.SkipTest("asyncio needs Py >=3.4") else: from .asynciotest import *
20.636364
61
0.674009
30
227
5.033333
0.733333
0.02649
0
0
0
0
0
0
0
0
0
0.022599
0.220264
227
10
62
22.7
0.830508
0
0
0
0
0
0.096916
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
dba2db941543a14c0b50bb305e987663e7b860ec
1,413
py
Python
ai_flow/test/context/test_job_context.py
SteNicholas/ai-flow
2c70547981f1516f0e37bbe6936a1b7cccd31822
[ "Apache-2.0" ]
1
2021-04-26T01:54:01.000Z
2021-04-26T01:54:01.000Z
ai_flow/test/context/test_job_context.py
SteNicholas/ai-flow
2c70547981f1516f0e37bbe6936a1b7cccd31822
[ "Apache-2.0" ]
null
null
null
ai_flow/test/context/test_job_context.py
SteNicholas/ai-flow
2c70547981f1516f0e37bbe6936a1b7cccd31822
[ "Apache-2.0" ]
1
2021-05-20T02:17:11.000Z
2021-05-20T02:17:11.000Z
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
38.189189
74
0.772824
206
1,413
5.121359
0.475728
0.056872
0.037915
0.030332
0
0
0
0
0
0
0
0.005892
0.159236
1,413
36
75
39.25
0.882155
0.532201
0
0
0
0
0.035826
0
0
0
0
0
0.076923
1
0.076923
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
dbb356f9b9ab3440831afb18493e7f9aec9215e5
564
py
Python
timetable/migrations/0002_auto_20200404_0506.py
Tduru/Smart-Calendar
3c3815e3795952a1374147c8a50777ae44766c53
[ "BSD-3-Clause" ]
null
null
null
timetable/migrations/0002_auto_20200404_0506.py
Tduru/Smart-Calendar
3c3815e3795952a1374147c8a50777ae44766c53
[ "BSD-3-Clause" ]
null
null
null
timetable/migrations/0002_auto_20200404_0506.py
Tduru/Smart-Calendar
3c3815e3795952a1374147c8a50777ae44766c53
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-04 04:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('timetable', '0001_initial'), ] operations = [ migrations.AddField( model_name='account', name='universityID', ...
23.5
66
0.578014
57
564
5.631579
0.684211
0.024922
0.143302
0.168224
0
0
0
0
0
0
0
0.055838
0.301418
564
23
67
24.521739
0.758883
0.079787
0
0.235294
1
0
0.116054
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dbc3aad84913582d87874f2ea44ce774c4994427
202
py
Python
src/generate_key.py
davidfurrer/python-exercises
2fa2a4f08f6aededd28842f9843dd569ab0e2945
[ "MIT" ]
null
null
null
src/generate_key.py
davidfurrer/python-exercises
2fa2a4f08f6aededd28842f9843dd569ab0e2945
[ "MIT" ]
2
2020-08-27T09:15:40.000Z
2020-08-28T15:16:03.000Z
src/generate_key.py
davidfurrer/python-exercises
2fa2a4f08f6aededd28842f9843dd569ab0e2945
[ "MIT" ]
null
null
null
from cryptography.fernet import Fernet key = Fernet.generate_key() file = open("solutions.key", "wb") # Open the file as wb to write bytes file.write(key) # The key is type bytes still file.close()
25.25
72
0.727723
33
202
4.424242
0.575758
0
0
0
0
0
0
0
0
0
0
0
0.163366
202
7
73
28.857143
0.863905
0.306931
0
0
1
0
0.109489
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
dbc68b1a18dff552a8fa57aa4671ae6ed0b03e56
266
py
Python
even-number-of-list.py
TheVishwajeetJagtap/Python-Day-9-Assignment-16-03-21-
3df2619bc03b38c54321c359a9440beb21f5b01b
[ "MIT" ]
null
null
null
even-number-of-list.py
TheVishwajeetJagtap/Python-Day-9-Assignment-16-03-21-
3df2619bc03b38c54321c359a9440beb21f5b01b
[ "MIT" ]
null
null
null
even-number-of-list.py
TheVishwajeetJagtap/Python-Day-9-Assignment-16-03-21-
3df2619bc03b38c54321c359a9440beb21f5b01b
[ "MIT" ]
null
null
null
#Generate a Python list of all the even numbers between 4 to 30 print(list( range(4, 30, 2))) *********************************OR************************************* even_list=[] for i in range(4,31): if i%2==0: even_list.append(i) print(even_list)
20.461538
72
0.481203
39
266
3.205128
0.615385
0.192
0
0
0
0
0
0
0
0
0
0.053812
0.161654
266
12
73
22.166667
0.506726
0.233083
0
0
1
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
dbce2547a29bccc3ac9dfc671d33b578f357318c
4,502
py
Python
services/traction/acapy_wrapper/models/issuer_rev_reg_record.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
12
2022-01-29T20:30:03.000Z
2022-03-29T11:46:14.000Z
services/traction/acapy_wrapper/models/issuer_rev_reg_record.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
38
2021-11-22T17:52:50.000Z
2022-03-31T17:52:00.000Z
services/traction/acapy_wrapper/models/issuer_rev_reg_record.py
Open-Earth-Foundation/traction
908b555a7f408a88541b7692d3730e37a297c919
[ "Apache-2.0" ]
9
2021-11-22T18:05:48.000Z
2022-03-29T11:25:08.000Z
# coding: utf-8 from __future__ import annotations from datetime import date, datetime # noqa: F401 import re # noqa: F401 from typing import Any, Dict, List, Optional # noqa: F401 from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401 from acapy_wrapper.models.indy_rev_reg_def import IndyRevRe...
41.685185
283
0.6757
561
4,502
5.233512
0.196078
0.016349
0.018392
0.185286
0.414169
0.316757
0.275886
0.254087
0.254087
0.254087
0
0.035624
0.20813
4,502
107
284
42.074766
0.787938
0.322745
0
0.294118
0
0.058824
0.277214
0.24307
0
0
0
0
0.088235
1
0.088235
false
0
0.102941
0
0.544118
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
dbcfdcf6d34a858c034510c2d39b56074b0b9daf
3,009
py
Python
oo/pessoa.py
gersonvneto/pythonbirds
08f8d9b5d94879ceee762dc2f6087ed7bd165bcb
[ "MIT" ]
null
null
null
oo/pessoa.py
gersonvneto/pythonbirds
08f8d9b5d94879ceee762dc2f6087ed7bd165bcb
[ "MIT" ]
null
null
null
oo/pessoa.py
gersonvneto/pythonbirds
08f8d9b5d94879ceee762dc2f6087ed7bd165bcb
[ "MIT" ]
1
2018-04-16T22:11:50.000Z
2018-04-16T22:11:50.000Z
class Pessoa: # criar seus types personalizados olhos = 2 # atributo default ou de classe def __init__(self, *filhos, nome = None, idade = 35): # atributos de dados self.idade = idade self.nome = nome self.filhos = list(filhos) def cumprimentar(self): return f'Olá, meu ...
40.12
125
0.670987
399
3,009
4.962406
0.385965
0.042424
0.021212
0.024242
0.033333
0
0
0
0
0
0
0.004413
0.246926
3,009
74
126
40.662162
0.869373
0.370555
0
0.117647
0
0
0.06706
0.013412
0
0
0
0.013514
0
1
0.098039
false
0
0
0.058824
0.27451
0.431373
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
dbd022170aeee2cfa0806e6d75498a98cade80f6
853
py
Python
qtwidgets/browser/browser_config.py
flegac/qt-widgets
fadb9a4c6ae20ff492399d4d07a3869a063400ee
[ "MIT" ]
null
null
null
qtwidgets/browser/browser_config.py
flegac/qt-widgets
fadb9a4c6ae20ff492399d4d07a3869a063400ee
[ "MIT" ]
null
null
null
qtwidgets/browser/browser_config.py
flegac/qt-widgets
fadb9a4c6ae20ff492399d4d07a3869a063400ee
[ "MIT" ]
null
null
null
import math from dataclasses import dataclass from typing import Tuple, List, TypeVar T = TypeVar('T') @dataclass class BrowserConfig: index: int = 0 item_per_line: int = 1 item_per_page: int = 1 tool_bar: bool = True transpose_grid: bool = False # TODO: transpose orientation def range(self...
25.088235
63
0.602579
113
853
4.433628
0.433628
0.06986
0.087824
0.08982
0
0
0
0
0
0
0
0.00678
0.308324
853
33
64
25.848485
0.842373
0.031653
0
0
0
0
0.001214
0
0
0
0
0.030303
0
1
0.111111
false
0
0.111111
0
0.62963
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
0
0
1
0
0
2
dbd404034a608cc9c88439974fe021abe44aa0da
2,106
py
Python
gsmarena-com-bd-crawler/Scrapy-project/gsmarena-bd-bot/items.py
tanjimanasreen/gsmarena-crawler
21db8a5df0089a2734dc02d9024450cbf3ed77b8
[ "Apache-2.0" ]
3
2021-09-27T12:46:35.000Z
2022-01-30T06:54:29.000Z
gsmarena-com-bd-crawler/Scrapy-project/gsmarena-bd-bot/items.py
tanjimanasreen/gsmarena-crawler
21db8a5df0089a2734dc02d9024450cbf3ed77b8
[ "Apache-2.0" ]
null
null
null
gsmarena-com-bd-crawler/Scrapy-project/gsmarena-bd-bot/items.py
tanjimanasreen/gsmarena-crawler
21db8a5df0089a2734dc02d9024450cbf3ed77b8
[ "Apache-2.0" ]
1
2021-12-18T11:54:37.000Z
2021-12-18T11:54:37.000Z
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class PhoneItem(scrapy.Item): # define the fields for your item here like: name = scrapy.Field() brand = scrapy.Field() model = scrapy.Field() category = s...
30.085714
53
0.664767
247
2,106
5.522267
0.396761
0.475806
0.079179
0
0
0
0
0
0
0
0
0.002414
0.2132
2,106
69
54
30.521739
0.82076
0.076923
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.016393
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
0
0
0
0
1
0
0
2
dbdc99f1ece536feff04dd7784223d6488b3af90
237
py
Python
uninove/exerc-07-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
uninove/exerc-07-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
uninove/exerc-07-01.py
dirleif/aprendendo-python
94bd11d4588306121881149bbda9c615be951e2c
[ "MIT" ]
null
null
null
# divisão por dois números numero1 = int(input('Entre com o primeiro número: ')) numero2 = int(input('Entre com o segundo número: ')) resultado = numero1 / numero2 print('O resultado é: ',resultado) input('Pressione ENTER para sair...')
33.857143
53
0.721519
33
237
5.181818
0.636364
0.093567
0.152047
0.187135
0.19883
0
0
0
0
0
0
0.019704
0.14346
237
6
54
39.5
0.82266
0.101266
0
0
0
0
0.473934
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9154b0ae3b3bfcd21a648047524dd3bbd8d62216
256
py
Python
awards/apps.py
petermirithu/Grant_py
0e2e8d2a01c361583853e4d06fc4ede45e3741f8
[ "MIT" ]
1
2020-01-26T15:09:56.000Z
2020-01-26T15:09:56.000Z
awards/apps.py
petermirithu/Grant_py
0e2e8d2a01c361583853e4d06fc4ede45e3741f8
[ "MIT" ]
7
2021-03-19T04:45:45.000Z
2022-03-12T00:10:26.000Z
awards/apps.py
petermirithu/Grant_py
0e2e8d2a01c361583853e4d06fc4ede45e3741f8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AwardsConfig(AppConfig): name = 'awards' def ready(self): ''' function that helps in importing the signals to auto create a profile for a new user ''' import awards.signals
21.333333
92
0.644531
32
256
5.15625
0.84375
0
0
0
0
0
0
0
0
0
0
0
0.289063
256
11
93
23.272727
0.906593
0.328125
0
0
0
0
0.040541
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
915b76ec4a2ab12e440ec2468b20d3b0ad20104b
89
py
Python
Fibonacci_lambda.py
43093-no-shutdown/python_tools
2962084fe58584d58cbb2604595a294187e66ba1
[ "MIT" ]
null
null
null
Fibonacci_lambda.py
43093-no-shutdown/python_tools
2962084fe58584d58cbb2604595a294187e66ba1
[ "MIT" ]
null
null
null
Fibonacci_lambda.py
43093-no-shutdown/python_tools
2962084fe58584d58cbb2604595a294187e66ba1
[ "MIT" ]
null
null
null
fib = lambda n: n if n <= 2 else fib(n - 1) + fib(n - 2) ''' print(fib(10)) #89 '''
14.833333
56
0.460674
18
89
2.277778
0.555556
0.097561
0
0
0
0
0
0
0
0
0
0.111111
0.292135
89
5
57
17.8
0.539683
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
915b8fd2ffbce17a7e8f96049f784046d34d0142
5,984
py
Python
google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v6/proto/errors/feed_item_target_error_pb2.py
jphanwebstaurant/google-ads-python
600812b2afcc4d57f00b47dfe436620ce50bfe9b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v6/proto/errors/feed_item_target_error.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from...
44
1,064
0.790775
727
5,984
6.163686
0.273728
0.05222
0.093283
0.078331
0.490739
0.44432
0.374916
0.343673
0.289221
0.265566
0
0.045742
0.10127
5,984
135
1,065
44.325926
0.787467
0.053142
0
0.526316
1
0.017544
0.367733
0.340166
0
0
0
0
0
1
0
false
0
0.04386
0
0.04386
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
915bf35e8c4afd92f2ce29e125bfc310c0f9a1ff
418
py
Python
osf/migrations/0136_add_ember_auth_register_waffle_flag.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
628
2015-01-15T04:33:22.000Z
2022-03-30T06:40:10.000Z
osf/migrations/0136_add_ember_auth_register_waffle_flag.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
4,712
2015-01-02T01:41:53.000Z
2022-03-30T14:18:40.000Z
osf/migrations/0136_add_ember_auth_register_waffle_flag.py
Johnetordoff/osf.io
de10bf249c46cede04c78f7e6f7e352c69e6e6b5
[ "Apache-2.0" ]
371
2015-01-12T16:14:08.000Z
2022-03-31T18:58:29.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-10-08 13:01 from __future__ import unicode_literals from django.db import migrations from osf import features from osf.utils.migrations import AddWaffleFlags class Migration(migrations.Migration): dependencies = [ ('osf', '0135_user_settings_w...
23.222222
55
0.712919
51
418
5.647059
0.705882
0.048611
0
0
0
0
0
0
0
0
0
0.064706
0.186603
418
17
56
24.588235
0.782353
0.165072
0
0
1
0
0.083815
0.075145
0
0
0
0
0
1
0
false
0
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
916409eba99da1c1ee15510dcaa003a2715cdf02
253
py
Python
bugtests/test106.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test106.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test106.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
""" Check the return in exec is illegal. """ import support cmd = """print 'hi' return 2.3 print 'fred'""" try: co = compile(cmd, "<string>", "exec") except SyntaxError, e: pass else: raise support.TestError("Should cause SyntaxError")
13.315789
54
0.644269
34
253
4.794118
0.823529
0
0
0
0
0
0
0
0
0
0
0.009901
0.201581
253
18
55
14.055556
0.79703
0
0
0
0
0
0.347826
0
0
0
0
0
0
0
null
null
0.1
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
91808dae60479bf828746f77564b4d218c44fe43
6,116
py
Python
micro_lift/models.py
Dimercel/micro_lift
0ca0556760828c0b52eb1323c07ae9491808fa47
[ "MIT" ]
null
null
null
micro_lift/models.py
Dimercel/micro_lift
0ca0556760828c0b52eb1323c07ae9491808fa47
[ "MIT" ]
null
null
null
micro_lift/models.py
Dimercel/micro_lift
0ca0556760828c0b52eb1323c07ae9491808fa47
[ "MIT" ]
null
null
null
from datetime import datetime as dt from enum import Enum from math import ceil ISO8601_FORMAT = '%Y-%m-%dT%H:%M:%S.%fZ' class LiftStatus(Enum): STOPPED = 0 IN_ACTION = 1 class ActorStatus(Enum): IDLE = 0 EXPECT = 1 IN_LIFT = 2 class Lift(): def __init__(self, id, speed, max_weight, floo...
25.697479
88
0.6017
772
6,116
4.562176
0.208549
0.043441
0.0477
0.011357
0.275696
0.209256
0.179727
0.158717
0.112436
0.085179
0
0.006371
0.307063
6,116
237
89
25.805907
0.824681
0.102027
0
0.261147
0
0
0.003875
0.003875
0
0
0
0
0
1
0.210191
false
0.133758
0.019108
0.089172
0.44586
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
919ae425d76bf29a7e7b674057b823141eb7c0d7
1,509
py
Python
test-suite/serializer.py
cywolf/indy-agent
42768d2932443d7e54f5f2827487268f0b4a85f6
[ "Apache-2.0" ]
1
2018-10-22T19:43:16.000Z
2018-10-22T19:43:16.000Z
test-suite/serializer.py
blhagadorn/indy-agent
669aa8e75335ad0ced1c69039ad89bfbfbecbc06
[ "Apache-2.0" ]
1
2019-02-26T09:06:17.000Z
2019-02-28T10:48:55.000Z
test-suite/serializer.py
blhagadorn/indy-agent
669aa8e75335ad0ced1c69039ad89bfbfbecbc06
[ "Apache-2.0" ]
null
null
null
""" Module containing serializers. These functions are provided as definitions of the basic interface that all serializers should implement. This abstraction is intended to allow easily switching from one form of serialization to another. """ import json from message import Message class BaseSeriali...
32.804348
84
0.660702
178
1,509
5.567416
0.449438
0.018163
0.026236
0.036327
0.256307
0.211907
0.211907
0.211907
0.211907
0.211907
0
0
0.263751
1,509
45
85
33.533333
0.891989
0.388337
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
91ac8b40bc73013fca3b05f26003780013d0fd6d
2,779
py
Python
ailearn/nn/activations.py
axi345/ailearn
f5a8eb5ce51b5225eb4a65a85d7a03ff93235757
[ "Apache-2.0" ]
39
2018-04-19T02:44:04.000Z
2021-12-10T14:08:58.000Z
ailearn/nn/activations.py
axi345/DRL
1e2d5328e83b1262cec006da084506d623204d27
[ "Apache-2.0" ]
5
2018-04-19T15:27:46.000Z
2021-08-30T07:49:11.000Z
ailearn/nn/activations.py
axi345/DRL
1e2d5328e83b1262cec006da084506d623204d27
[ "Apache-2.0" ]
13
2018-04-19T08:31:53.000Z
2020-10-21T09:10:40.000Z
# -*- coding: utf-8 -*- # Copyright 2018 Zhao Xingyu & An Yuexuan. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
21.05303
92
0.551637
464
2,779
3.293103
0.286638
0.028796
0.08377
0.094241
0.261126
0.251963
0.223168
0.099476
0.075916
0.075916
0
0.026423
0.291832
2,779
131
93
21.21374
0.75
0.286074
0
0.373134
0
0
0
0
0
0
0
0
0.014925
1
0.238806
false
0
0.014925
0
0.507463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
91af4d4d765a2ac167284e952814a3f404b753df
6,173
py
Python
intro/part06-16_dictionary_file/test/test_dictionary_file.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part06-16_dictionary_file/test/test_dictionary_file.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
intro/part06-16_dictionary_file/test/test_dictionary_file.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
import unittest from unittest.mock import patch from tmc import points from tmc.utils import load, load_module, reload_module, get_stdout from functools import reduce import os import textwrap from random import choice, randint exercise = 'src.dictionary_file' datafile = 'dictionary.txt' def get_correct() -> dict: ...
43.780142
235
0.606998
803
6,173
4.518057
0.171856
0.086825
0.0328
0.042448
0.760198
0.735116
0.678335
0.670342
0.64774
0.604465
0
0.01035
0.264377
6,173
140
236
44.092857
0.788593
0.001944
0
0.525862
0
0.060345
0.365806
0.068518
0
0
0
0
0.077586
1
0.112069
false
0.017241
0.068966
0.017241
0.215517
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
91b0cc562ae699d6811b1eb4fd095a48de64e315
224
py
Python
derrida/people/__init__.py
making-books-ren-today/test_eval_4_derrmar
615796efeb517cd12cfb1f8b67e0150f6aaaea66
[ "Apache-2.0" ]
11
2017-04-27T19:28:54.000Z
2021-02-10T23:44:39.000Z
derrida/people/__init__.py
making-books-ren-today/test_eval_4_derrmar
615796efeb517cd12cfb1f8b67e0150f6aaaea66
[ "Apache-2.0" ]
280
2017-03-02T14:23:18.000Z
2021-12-01T14:16:48.000Z
derrida/people/__init__.py
making-books-ren-today/test_eval_4_derrmar
615796efeb517cd12cfb1f8b67e0150f6aaaea66
[ "Apache-2.0" ]
null
null
null
''' People module for the Derrida project. It provides basic personography, VIAF lookup, and admin functionality to edit people associated with Derrida's library. ''' default_app_config = 'derrida.people.apps.PeopleConfig'
28
77
0.799107
30
224
5.9
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.125
224
7
78
32
0.903061
0.705357
0
0
0
0
0.551724
0.551724
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
91d6c7e0e4e8c53b1b0d1ba4d7b4e2edb5c99e2a
927
py
Python
txsocksx/auth.py
hellais/txsocksx
a9003c2d50036d6dd11688047f1595e143eefeb9
[ "BSD-2-Clause" ]
1
2015-03-11T13:11:28.000Z
2015-03-11T13:11:28.000Z
txsocksx/auth.py
hellais/txsocksx
a9003c2d50036d6dd11688047f1595e143eefeb9
[ "BSD-2-Clause" ]
null
null
null
txsocksx/auth.py
hellais/txsocksx
a9003c2d50036d6dd11688047f1595e143eefeb9
[ "BSD-2-Clause" ]
null
null
null
from twisted.internet import defer from txsocksx.errors import SOCKSError class Anonymous(object): """ ( 0 ) """ method = '\x00' def negotiate(self, proto): self.negotiated = True return defer.succeed(None) class GSSAPI(object): """ ( 1 ) """ method = '\x01' def...
22.071429
65
0.593312
97
927
5.628866
0.525773
0.065934
0.087912
0.115385
0
0
0
0
0
0
0
0.013804
0.296656
927
41
66
22.609756
0.82362
0.105717
0
0.208333
0
0
0.015365
0
0
0
0
0
0
1
0.166667
false
0.25
0.083333
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
91ddbe5017b97fbf91a81b827464bc7bca80f0b1
160
py
Python
lists_dictionary/Match Phone Number.py
vasetousa/Python-fundamentals
3180c03de28b4f4d36d966221719069a7e18e521
[ "MIT" ]
null
null
null
lists_dictionary/Match Phone Number.py
vasetousa/Python-fundamentals
3180c03de28b4f4d36d966221719069a7e18e521
[ "MIT" ]
null
null
null
lists_dictionary/Match Phone Number.py
vasetousa/Python-fundamentals
3180c03de28b4f4d36d966221719069a7e18e521
[ "MIT" ]
null
null
null
import re text = input() pattern = r"\+359( |-)2\1\d{3}\1\d{4}\b" number = [object.group() for object in re.finditer(pattern, text)] print(', '.join(number))
20
66
0.625
28
160
3.571429
0.75
0.04
0
0
0
0
0
0
0
0
0
0.057554
0.13125
160
7
67
22.857143
0.661871
0
0
0
0
0
0.18125
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
37d32e906e2a6f9572872b62a5807c843b255fd2
1,127
py
Python
kdl/settings/liv.py
kingsdigitallab/kdl-django
14836dae329616d1cf1ad5b8c24508b6588b1300
[ "MIT" ]
2
2016-07-26T09:31:05.000Z
2019-09-18T05:53:42.000Z
kdl/settings/liv.py
kingsdigitallab/kdl-django
14836dae329616d1cf1ad5b8c24508b6588b1300
[ "MIT" ]
null
null
null
kdl/settings/liv.py
kingsdigitallab/kdl-django
14836dae329616d1cf1ad5b8c24508b6588b1300
[ "MIT" ]
null
null
null
from .base import * # noqa INTERNAL_IPS = INTERNAL_IPS + ('', ) ALLOWED_HOSTS = [] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'app_kdl_liv', 'USER': 'app_kdl', 'PASSWORD': '', 'HOST': '' }, } # ------------------------------...
26.209302
79
0.359361
71
1,127
5.535211
0.661972
0.16285
0.10687
0
0
0
0
0
0
0
0
0.010406
0.147294
1,127
42
80
26.833333
0.398543
0.534161
0
0.272727
0
0
0.233333
0.07451
0
0
0
0
0
1
0
false
0.136364
0.227273
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
37e12d69f504df445e2c4d39637626204484b5f9
843
py
Python
eventlet/zipkin/greenthread.py
li-caspar/eventlet_0.30.2
a431842e29c26e46cfcfff60c93ca92e07663044
[ "MIT" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/eventlet-0.24.1/eventlet/zipkin/greenthread.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/eventlet-0.24.1/eventlet/zipkin/greenthread.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
from eventlet import greenthread from eventlet.zipkin import api __original_init__ = greenthread.GreenThread.__init__ __original_main__ = greenthread.GreenThread.main def _patched__init(self, parent): # parent thread saves current TraceData from tls to self if api.is_tracing(): self.trace_data = ap...
24.794118
60
0.761566
101
843
5.762376
0.336634
0.226804
0.134021
0.116838
0.089347
0
0
0
0
0
0
0
0.162515
843
33
61
25.545455
0.824363
0.102017
0
0
0
0
0.013263
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
37e2b646e6662b9ccec68668b4ad2eee1317cdfe
581
py
Python
splitStrings.py
BenWarwick-Champion/CodeChallenges
52a6cada1e5bc6e4bf3ea90c53af5c29e0686189
[ "MIT" ]
null
null
null
splitStrings.py
BenWarwick-Champion/CodeChallenges
52a6cada1e5bc6e4bf3ea90c53af5c29e0686189
[ "MIT" ]
null
null
null
splitStrings.py
BenWarwick-Champion/CodeChallenges
52a6cada1e5bc6e4bf3ea90c53af5c29e0686189
[ "MIT" ]
null
null
null
# Complete the solution so that it splits the string into pairs of two characters. # If the string contains an odd number of characters then it should replace # the missing second character of the final pair with an underscore ('_'). # Example: # solution('abc') # should return ['ab', 'c_'] # solution('abcdef'...
29.05
84
0.616179
88
581
4.022727
0.568182
0.050847
0.079096
0
0
0
0
0
0
0
0
0.013575
0.239243
581
20
85
29.05
0.78733
0.621343
0
0.285714
0
0
0.031414
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
37f4673ba2d91c7dccb2e38914c6b90d0d38b60d
1,028
py
Python
backend/edw_shop/apps.py
infolabs/django-edw-shop
2f83235361ce89199dc867b06930440904a54db6
[ "BSD-3-Clause" ]
null
null
null
backend/edw_shop/apps.py
infolabs/django-edw-shop
2f83235361ce89199dc867b06930440904a54db6
[ "BSD-3-Clause" ]
null
null
null
backend/edw_shop/apps.py
infolabs/django-edw-shop
2f83235361ce89199dc867b06930440904a54db6
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Source: https://github.com/awesto/django-shop/blob/3a069d764a7b72ef119828220869dcfbbfc1b9c5/shop/apps.py """ from __future__ import unicode_literals from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class ShopConfig(AppConfig): name = 'edw_shop'...
34.266667
104
0.754864
115
1,028
6.521739
0.591304
0.037333
0.044
0.045333
0
0
0
0
0
0
0
0.030769
0.178016
1,028
29
105
35.448276
0.856805
0.355058
0
0
0
0
0.018462
0
0
0
0
0
0
1
0.076923
false
0
0.538462
0
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
37fcf5ddb92da65cffa46fa3a2ea2eb4932175ee
549
py
Python
app/user/views.py
IradukundaJado/recipe-app-api
aaee8bfc711b519c8b6a90a9c2750f4a20f4a465
[ "MIT" ]
null
null
null
app/user/views.py
IradukundaJado/recipe-app-api
aaee8bfc711b519c8b6a90a9c2750f4a20f4a465
[ "MIT" ]
null
null
null
app/user/views.py
IradukundaJado/recipe-app-api
aaee8bfc711b519c8b6a90a9c2750f4a20f4a465
[ "MIT" ]
null
null
null
from rest_framework import generics from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings # Create your views here. from user.serializers import UserSerializer, AuthTokenSerializer class CreateUserView(generics.CreateAPIView): """create new user in the syste...
30.5
64
0.812386
62
549
7.032258
0.548387
0.055046
0.116972
0
0
0
0
0
0
0
0
0
0.132969
549
17
65
32.294118
0.915966
0.15847
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.444444
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
37fd2bb2e99c3be40f9d9aa323692f62574046e4
296
py
Python
autoleague/match_naming.py
DomNomNom/AutoLeague
adf55afed58f9192662b17632df25cb3f18ff26a
[ "MIT" ]
4
2019-04-08T04:28:03.000Z
2019-08-07T21:37:48.000Z
autoleague/match_naming.py
DomNomNom/AutoLeague
adf55afed58f9192662b17632df25cb3f18ff26a
[ "MIT" ]
1
2019-08-02T11:31:37.000Z
2019-08-02T11:31:37.000Z
autoleague/match_naming.py
DomNomNom/AutoLeague
adf55afed58f9192662b17632df25cb3f18ff26a
[ "MIT" ]
6
2019-04-10T23:26:52.000Z
2019-08-12T21:41:09.000Z
from collections import defaultdict def get_match_name(match_config) -> str: team_to_names = defaultdict(list) for player in match_config.player_configs: team_to_names[player.team].append(player.name) return f'{", ".join(team_to_names[0])} vs {", ".join(team_to_names[1])}'
32.888889
76
0.719595
44
296
4.545455
0.568182
0.12
0.22
0.15
0
0
0
0
0
0
0
0.007937
0.148649
296
8
77
37
0.785714
0
0
0
0
0
0.209459
0.168919
0
0
0
0
0
1
0.166667
false
0
0.166667
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
0
0
0
0
0
2
5312cfdcbc6c23a87eeeaf78de923de2d80b7c79
2,017
py
Python
tests/test_chi_land_trust.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
255
2018-03-06T20:12:03.000Z
2022-03-05T03:06:45.000Z
tests/test_chi_land_trust.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
514
2018-02-02T16:12:50.000Z
2022-03-21T20:07:35.000Z
tests/test_chi_land_trust.py
MAYANK25402/city-scrapers
08f92ec5b68682a8120eee1a13c4a03fe0335b9e
[ "MIT" ]
342
2018-02-03T04:05:37.000Z
2022-03-18T16:34:58.000Z
from datetime import datetime from operator import itemgetter from os.path import dirname, join import pytest # noqa from city_scrapers_core.constants import BOARD, PASSED from city_scrapers_core.utils import file_response from freezegun import freeze_time from city_scrapers.spiders.chi_land_trust import ChiLandTrus...
23.453488
120
0.698066
271
2,017
4.97048
0.361624
0.114328
0.151448
0.160356
0.144024
0.109874
0.109874
0.109874
0.109874
0.109874
0
0.028402
0.162122
2,017
85
121
23.729412
0.768639
0.00942
0
0
0
0.056604
0.243352
0.024084
0
0
0
0
0.245283
1
0.245283
false
0.037736
0.150943
0
0.396226
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5313746a8205ce5170a6a7a98fdeb7a5f87eb83d
16,434
py
Python
opfunu/dimension_based/benchmarknd.py
ElliottP-13/opfunu
7f4de3c34a91bb37fd8784fd28dbcf550e06d8a7
[ "MIT" ]
28
2020-09-12T09:19:49.000Z
2022-03-25T07:25:01.000Z
opfunu/dimension_based/benchmarknd.py
ElliottP-13/opfunu
7f4de3c34a91bb37fd8784fd28dbcf550e06d8a7
[ "MIT" ]
2
2020-05-22T10:16:02.000Z
2020-08-06T15:46:39.000Z
opfunu/dimension_based/benchmarknd.py
ElliottP-13/opfunu
7f4de3c34a91bb37fd8784fd28dbcf550e06d8a7
[ "MIT" ]
11
2020-02-16T05:00:49.000Z
2020-07-21T19:40:18.000Z
#!/usr/bin/env python # # ------------------------------------------------------------------------------------------------------# # Created by "Thieu Nguyen" at 17:44, 06/12/2019 # # ...
34.89172
134
0.553
2,087
16,434
4.286057
0.099665
0.013415
0.057239
0.067971
0.792845
0.72957
0.67848
0.634992
0.601006
0.573617
0
0.048334
0.298771
16,434
470
135
34.965957
0.727091
0.530486
0
0.355556
0
0
0
0
0
0
0
0
0
1
0.237037
false
0
0.007407
0
0.488889
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5313f75a99456fb6ffb9ae3fe831ec870e2aca3b
453
py
Python
noxfile.py
sander76/qrabber
d777923c90639355496f03a86230bff4446aa814
[ "MIT" ]
null
null
null
noxfile.py
sander76/qrabber
d777923c90639355496f03a86230bff4446aa814
[ "MIT" ]
null
null
null
noxfile.py
sander76/qrabber
d777923c90639355496f03a86230bff4446aa814
[ "MIT" ]
null
null
null
"""Nox testing.""" import nox def install_flit_dev_deps(session): session.install("flit") session.run("flit", "install", "--deps", "develop") @nox.session(python=["3.7", "3.8"]) def tests(session): install_flit_dev_deps(session) session.run("pytest", "--cov=qr-grabber", "--cov-report=xml:cov.xml", ...
21.571429
82
0.660044
63
453
4.603175
0.380952
0.151724
0.144828
0.186207
0.524138
0.4
0.289655
0.289655
0
0
0
0.015152
0.125828
453
20
83
22.65
0.717172
0.02649
0
0.166667
0
0
0.232184
0.055172
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
5313f83a18bcf3d86fad75e16ec6844c35e04960
10,174
py
Python
python/proto/google/protobuf/message.py
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
python/proto/google/protobuf/message.py
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
python/proto/google/protobuf/message.py
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # http://code.google.com/p/protobuf/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions o...
36.078014
79
0.734028
1,383
10,174
5.337672
0.32321
0.05527
0.054863
0.018423
0.132078
0.102547
0.071661
0.071661
0.052289
0.039556
0
0.000495
0.205327
10,174
281
80
36.206406
0.912554
0.735502
0
0.301587
0
0
0.02873
0
0
0
0
0.032028
0
1
0.380952
false
0.047619
0.015873
0.015873
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
532cce56a775b0c2352aacb66394c645a6f7fbac
17,428
py
Python
modin/core/dataframe/base/exchange/dataframe_protocol/dataframe.py
dorisjlee/modin
dd7fc1bd54c8c34e38562eb18d1c0bcc0da53415
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/core/dataframe/base/exchange/dataframe_protocol/dataframe.py
dorisjlee/modin
dd7fc1bd54c8c34e38562eb18d1c0bcc0da53415
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
modin/core/dataframe/base/exchange/dataframe_protocol/dataframe.py
dorisjlee/modin
dd7fc1bd54c8c34e38562eb18d1c0bcc0da53415
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Licensed to Modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The Modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not u...
32.036765
103
0.603282
2,097
17,428
4.978541
0.229852
0.040709
0.030172
0.019444
0.291762
0.232088
0.208429
0.160824
0.140805
0.133142
0
0.003479
0.323847
17,428
543
104
32.095764
0.882468
0.699392
0
0.666667
0
0
0.023932
0
0
0
0
0
0
1
0.268817
false
0.268817
0.032258
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2