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
29c5b6d5e37c256dbd101b9f9d2e7691b0313aef
494
py
Python
Backend/core/users/urls.py
Extraordinary01/freshnesecom
e16047d7f8a8d771125c4656351bae2b4389a1a6
[ "MIT" ]
null
null
null
Backend/core/users/urls.py
Extraordinary01/freshnesecom
e16047d7f8a8d771125c4656351bae2b4389a1a6
[ "MIT" ]
null
null
null
Backend/core/users/urls.py
Extraordinary01/freshnesecom
e16047d7f8a8d771125c4656351bae2b4389a1a6
[ "MIT" ]
null
null
null
from django.urls import path from .views import UserRetrieveUpdateDestroyView, activate, register, CheckUserAPIView, custom_login, reset_password, reset_password_email urlpatterns = [ path("user/", UserRetrieveUpdateDestroyView.as_view()), path("signup/", register), path("check/", CheckUserAPIView.as_view(...
38
138
0.738866
52
494
6.826923
0.403846
0.219718
0.152113
0.146479
0
0
0
0
0
0
0
0
0.123482
494
12
139
41.166667
0.819861
0
0
0
0
0
0.139676
0.04251
0
0
0
0
0
1
0
false
0.272727
0.181818
0
0.181818
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
29ed430dcb5413550cc35533f616785fbc2e32fa
1,198
py
Python
invenio_records_resources/resources/files/loaders.py
FlorianCassayre/invenio-records-resources
80a2f6565653fd00e08c85b5aa8d1b1276cbb4e7
[ "MIT" ]
null
null
null
invenio_records_resources/resources/files/loaders.py
FlorianCassayre/invenio-records-resources
80a2f6565653fd00e08c85b5aa8d1b1276cbb4e7
[ "MIT" ]
null
null
null
invenio_records_resources/resources/files/loaders.py
FlorianCassayre/invenio-records-resources
80a2f6565653fd00e08c85b5aa8d1b1276cbb4e7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 CERN. # # Invenio-Records-Resources is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see LICENSE file for more # details. """Files loaders.""" from flask import request from flask_resources.deserializers import Deserializer...
28.52381
77
0.681135
131
1,198
6.099237
0.51145
0.065081
0.045056
0
0
0
0
0
0
0
0
0.005274
0.208681
1,198
41
78
29.219512
0.837553
0.310518
0
0
0
0
0.045918
0.028061
0
0
0
0
0
1
0.235294
false
0
0.176471
0
0.705882
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
29ef0c133b11ec2729d3f3fae560acaa93314a16
8,251
py
Python
twitcher/owsproxy.py
Ouranosinc/twitcher
78cd4806d98c75b408355db86d388134776471a7
[ "Apache-2.0" ]
null
null
null
twitcher/owsproxy.py
Ouranosinc/twitcher
78cd4806d98c75b408355db86d388134776471a7
[ "Apache-2.0" ]
7
2018-06-20T14:02:39.000Z
2019-09-27T14:01:18.000Z
twitcher/owsproxy.py
Ouranosinc/twitcher
78cd4806d98c75b408355db86d388134776471a7
[ "Apache-2.0" ]
null
null
null
""" The owsproxy is based on `papyrus_ogcproxy <https://github.com/elemoine/papyrus_ogcproxy>`_ See also: https://github.com/nive/outpost/blob/master/outpost/proxy.py """ import urllib import requests from pyramid.response import Response from pyramid.settings import asbool from twitcher._compat import urlparse fr...
39.478469
111
0.633863
963
8,251
5.296989
0.240914
0.023721
0.019996
0.024701
0.336013
0.278965
0.208783
0.142717
0.08861
0.08861
0
0.004353
0.248334
8,251
208
112
39.668269
0.818123
0.119016
0
0.101449
0
0
0.199079
0.064056
0
0
0
0.014423
0
0
null
null
0.007246
0.065217
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
4b0387dd6595c147f8f9554794056d6e4ecf303e
514
py
Python
dusty/commands/shell.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
421
2015-06-02T16:29:59.000Z
2021-06-03T18:44:42.000Z
dusty/commands/shell.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
404
2015-06-02T20:23:42.000Z
2019-08-21T16:59:41.000Z
dusty/commands/shell.py
gamechanger/dusty
dd9778e3a4f0c623209e53e98aa9dc1fe76fc309
[ "MIT" ]
16
2015-06-16T17:21:02.000Z
2020-03-27T02:27:09.000Z
from ..compiler.spec_assembler import get_specs from . import utils from ..systems.docker import get_dusty_container_name def execute_shell(app_or_service_name): specs = get_specs() if app_or_service_name not in [spec.name for spec in specs.get_apps_and_services()]: raise KeyError('No app or service fo...
46.727273
103
0.780156
80
514
4.6375
0.45
0.067385
0.161725
0.172507
0
0
0
0
0
0
0
0
0.128405
514
10
104
51.4
0.828125
0
0
0
0
0
0.087549
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
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
4b0977a5ab8558b20c59dbf03ddb7ba67c5eb19b
278
py
Python
server/server/termsofuse/api/serializers.py
connectiveproject/connective
8866082b2147feef0e5254ac4215987b9d881396
[ "MIT" ]
4
2021-07-05T10:49:26.000Z
2021-11-24T11:34:43.000Z
server/server/termsofuse/api/serializers.py
connectiveproject/connective
8866082b2147feef0e5254ac4215987b9d881396
[ "MIT" ]
39
2021-06-21T15:02:37.000Z
2022-02-28T15:07:42.000Z
server/server/termsofuse/api/serializers.py
connectiveproject/connective
8866082b2147feef0e5254ac4215987b9d881396
[ "MIT" ]
17
2021-06-16T08:59:45.000Z
2021-09-29T11:35:38.000Z
from rest_framework import serializers from ..models import TermsOfUseDocument class TermsOfUseDocumentSerializer(serializers.ModelSerializer): class Meta: model = TermsOfUseDocument fields = ["document_text"] read_only_fields = ["document_text"]
25.272727
64
0.748201
25
278
8.12
0.68
0.137931
0.17734
0
0
0
0
0
0
0
0
0
0.18705
278
10
65
27.8
0.89823
0
0
0
0
0
0.093525
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4b18bec3031043bd614f7445f297413e4dc84dc1
1,108
py
Python
PYPI python package/multivicks/crud.py
imvickykumar999/100th-Repository-Morsetor-python-Package
6dce1df886e1ea0563a4cae53932b654d549315b
[ "MIT" ]
2
2020-11-07T07:21:11.000Z
2020-11-07T07:53:32.000Z
PYPI python package/multivicks/crud.py
imvickykumar999/100th-Repository-Morsetor-python-Package
6dce1df886e1ea0563a4cae53932b654d549315b
[ "MIT" ]
null
null
null
PYPI python package/multivicks/crud.py
imvickykumar999/100th-Repository-Morsetor-python-Package
6dce1df886e1ea0563a4cae53932b654d549315b
[ "MIT" ]
1
2020-11-10T06:49:05.000Z
2020-11-10T06:49:05.000Z
# pip install imvickykumar999 # C:\Users\Vicky\anaconda3\Lib\site-packages\vicksbase class HomeAutomation: def __init__(self, link): try: from vicksbase import firebase as f self.link = link self.firebase_obj = f.FirebaseApplication(self.link, None) print(s...
25.181818
70
0.588448
144
1,108
4.472222
0.409722
0.049689
0.093168
0.037267
0.068323
0
0
0
0
0
0
0.01218
0.259025
1,108
43
71
25.767442
0.772229
0.245487
0
0.095238
0
0
0.09466
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.047619
0.52381
0.142857
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
4b19ea7ef02e099c43c87d4eeeed72882f3212a4
152
py
Python
python_learning/check_num.py
liu0g/hello-World
45eb76c56e082657d0f4af0a5eb49244b369a412
[ "MIT" ]
null
null
null
python_learning/check_num.py
liu0g/hello-World
45eb76c56e082657d0f4af0a5eb49244b369a412
[ "MIT" ]
null
null
null
python_learning/check_num.py
liu0g/hello-World
45eb76c56e082657d0f4af0a5eb49244b369a412
[ "MIT" ]
null
null
null
__author__ = 'lg' a = raw_input() if a > 0: print('positive number') elif a < 0: print('negative number') else: print('the number is zero')
16.888889
31
0.618421
23
152
3.869565
0.695652
0.044944
0.157303
0
0
0
0
0
0
0
0
0.017094
0.230263
152
9
31
16.888889
0.74359
0
0
0
0
0
0.326797
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
4b1d3dca6a1626c014a1c6d63353cec64b5b9b02
7,517
py
Python
src/typefit/serialize.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
5
2019-10-28T15:40:03.000Z
2021-03-16T21:07:25.000Z
src/typefit/serialize.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
32
2019-10-19T08:40:12.000Z
2022-01-21T19:07:09.000Z
src/typefit/serialize.py
Xowap/typefit
a1beedcc4b05be6d22063719e7e2aa8c3f2c35b3
[ "WTFPL" ]
3
2019-10-28T15:42:49.000Z
2022-01-18T19:18:06.000Z
from collections import ChainMap, abc from dataclasses import fields, is_dataclass from datetime import date, datetime from enum import Enum from json import dumps from typing import Any, get_type_hints from uuid import UUID from .meta import Source class Serializer: """ Base serializer, that has no opinion ...
31.061983
85
0.624584
925
7,517
4.995676
0.291892
0.047825
0.04934
0.012984
0.112097
0.072712
0.043281
0.009522
0
0
0
0.000564
0.292803
7,517
241
86
31.190871
0.868698
0.476919
0
0.082192
0
0
0.019158
0.006595
0
0
0
0
0
1
0.219178
false
0
0.109589
0
0.684932
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
4b254f85ca684200ef8973061a3a39dab730b676
2,632
py
Python
spo/utils/mandat_invoice.py
libracore/spo
c6617a4624d683e27ee3fde745313c30504f3fd1
[ "MIT" ]
null
null
null
spo/utils/mandat_invoice.py
libracore/spo
c6617a4624d683e27ee3fde745313c30504f3fd1
[ "MIT" ]
6
2019-08-23T18:36:26.000Z
2019-11-12T13:12:12.000Z
spo/utils/mandat_invoice.py
libracore/spo
efff6da53a776c4483f06d9ef1acc8a7aa96b28e
[ "MIT" ]
1
2021-08-14T22:22:43.000Z
2021-08-14T22:22:43.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2019, libracore and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe @frappe.whitelist() def get_mandat_logs(mandat): mandat = frappe.get_doc("Mandat", mandat) referenz_anfrage = mandat.anfrag...
59.818182
191
0.50228
209
2,632
6.167464
0.368421
0.223429
0.130334
0.134988
0.319628
0.319628
0.251358
0.251358
0.251358
0.251358
0
0.003805
0.400836
2,632
44
192
59.818182
0.81357
0.044073
0
0.128205
0
0
0.779757
0.099595
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.102564
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d99b281133c5e2a0516d4d5e84a0056c5980fc1d
71
py
Python
aula15/programa01.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
aula15/programa01.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
aula15/programa01.py
NicoCassio/cursoemvideo-python
2686ff74f4d45bdb0dc194f49f4dd19aae629d52
[ "MIT" ]
null
null
null
i = 1 while True: print(i) i += 1 if i > 10: break
10.142857
14
0.408451
12
71
2.416667
0.666667
0.137931
0
0
0
0
0
0
0
0
0
0.108108
0.478873
71
6
15
11.833333
0.675676
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
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
d9b01f6045fe4f5394efddef5743f95dbd28ab38
3,762
py
Python
cloudbaseinit/plugins/common/createuser.py
micumatei/cloudbase-init
68a9ae57d453e0f59869daeadda5a80e0380ac9f
[ "Apache-2.0" ]
null
null
null
cloudbaseinit/plugins/common/createuser.py
micumatei/cloudbase-init
68a9ae57d453e0f59869daeadda5a80e0380ac9f
[ "Apache-2.0" ]
null
null
null
cloudbaseinit/plugins/common/createuser.py
micumatei/cloudbase-init
68a9ae57d453e0f59869daeadda5a80e0380ac9f
[ "Apache-2.0" ]
1
2017-06-30T21:52:39.000Z
2017-06-30T21:52:39.000Z
# Copyright 2012 Cloudbase Solutions Srl # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
39.1875
78
0.669059
478
3,762
5.075314
0.338912
0.075845
0.032152
0.028442
0.158697
0.074196
0.046991
0.046991
0.046991
0.046991
0
0.003218
0.256512
3,762
95
79
39.6
0.86414
0.280436
0
0.117647
0
0
0.112338
0.007997
0
0
0
0.010526
0
1
0.078431
false
0.27451
0.137255
0
0.27451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
d9b94090be8b44fb2a59944da1ade6c1a818b945
19,437
py
Python
carriage/map.py
d2207197/maybee
bfe71b46b46d8572b8f8e01964eceb76fc1decef
[ "Apache-2.0" ]
10
2018-04-09T09:59:17.000Z
2021-09-23T05:43:09.000Z
carriage/map.py
d2207197/maybee
bfe71b46b46d8572b8f8e01964eceb76fc1decef
[ "Apache-2.0" ]
7
2018-06-06T08:01:59.000Z
2018-08-24T13:52:27.000Z
carriage/map.py
d2207197/maybee
bfe71b46b46d8572b8f8e01964eceb76fc1decef
[ "Apache-2.0" ]
1
2018-06-20T03:27:58.000Z
2018-06-20T03:27:58.000Z
import heapq import itertools as itt import operator as op from collections import OrderedDict, UserDict, defaultdict from .array import Array from .optional import Nothing, Some from .repr import short_repr from .row import KeyValue, Row from .stream import Stream def identity(_): return _ class Map(OrderedDict):...
25.676354
82
0.456243
2,582
19,437
3.376452
0.084818
0.072494
0.022368
0.011471
0.587176
0.543014
0.489791
0.441156
0.409612
0.374857
0
0.026725
0.364717
19,437
756
83
25.710317
0.6793
0.48845
0
0.2
0
0
0.011138
0.003763
0
0
0
0
0
1
0.264706
false
0.005882
0.052941
0.029412
0.564706
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
d9cda095792354d7154784dc55b6bba5f5eb7ad8
53
py
Python
src/titiler/mosaic/titiler/mosaic/version.py
mackdelany/titiler
b2a76185d96af9aa8b653fd8134bbaa591d637a5
[ "MIT" ]
null
null
null
src/titiler/mosaic/titiler/mosaic/version.py
mackdelany/titiler
b2a76185d96af9aa8b653fd8134bbaa591d637a5
[ "MIT" ]
null
null
null
src/titiler/mosaic/titiler/mosaic/version.py
mackdelany/titiler
b2a76185d96af9aa8b653fd8134bbaa591d637a5
[ "MIT" ]
null
null
null
"""titiler.mosaic version.""" __version__ = "0.3.4"
13.25
29
0.641509
7
53
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.06383
0.113208
53
3
30
17.666667
0.574468
0.433962
0
0
0
0
0.208333
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
d9dcc60eb4f19996fd212171e3b48a11bacc7e0e
2,629
py
Python
dhcp_starvation.py
Nuve17/BadSquirrel
bbe61785e12c6633f09853fd05d6cf6936925800
[ "Apache-2.0" ]
2
2018-06-19T15:31:19.000Z
2018-07-03T12:35:08.000Z
dhcp_starvation.py
Nuve17/BadSquirrel
bbe61785e12c6633f09853fd05d6cf6936925800
[ "Apache-2.0" ]
null
null
null
dhcp_starvation.py
Nuve17/BadSquirrel
bbe61785e12c6633f09853fd05d6cf6936925800
[ "Apache-2.0" ]
null
null
null
from scapy.all import * from time import sleep from threading import Thread class DHCPStarvation(object): def __init__(self): # Generated MAC stored to avoid same MAC requesting for different IP self.mac = [""] # Requested IP stored to identify registered IP self.ip = [] def han...
40.446154
78
0.548117
333
2,629
4.273273
0.411411
0.045678
0.016866
0.016866
0.030921
0
0
0
0
0
0
0.065041
0.344998
2,629
64
79
41.078125
0.761324
0.233549
0
0
1
0
0.12963
0
0
0
0
0
0
0
null
null
0
0.06383
null
null
0.106383
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
d9e78173f5e7262d0fa6aa2283aa0ab2a12945a8
624
py
Python
indico/modules/news/views.py
jgrigera/indico
b5538f2755bc38a02313d079bac831ee3dfb44ab
[ "MIT" ]
1
2018-11-12T21:29:26.000Z
2018-11-12T21:29:26.000Z
indico/modules/news/views.py
jgrigera/indico
b5538f2755bc38a02313d079bac831ee3dfb44ab
[ "MIT" ]
9
2020-09-08T09:25:57.000Z
2022-01-13T02:59:05.000Z
indico/modules/news/views.py
jgrigera/indico
b5538f2755bc38a02313d079bac831ee3dfb44ab
[ "MIT" ]
3
2020-07-20T09:09:44.000Z
2020-10-19T00:29:49.000Z
# This file is part of Indico. # Copyright (C) 2002 - 2020 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from __future__ import unicode_literals from indico.modules.admin.views import WPAdmin from indico.util.i...
24.96
57
0.745192
87
624
5.183908
0.666667
0.066519
0.079823
0
0
0
0
0
0
0
0
0.019455
0.176282
624
24
58
26
0.857977
0.320513
0
0.181818
0
0
0.033573
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
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
d9ebd97390a108081d469a381a6c414e7e9ea419
1,210
py
Python
libsrc/wio_terminal_rtl/rpc/ble/scan.py
t-ikegami/WioTerminal-CircuitPython
efbdc2e13ad969fe009d88f7ec4b836ca61ae973
[ "MIT" ]
null
null
null
libsrc/wio_terminal_rtl/rpc/ble/scan.py
t-ikegami/WioTerminal-CircuitPython
efbdc2e13ad969fe009d88f7ec4b836ca61ae973
[ "MIT" ]
1
2022-01-19T00:16:02.000Z
2022-01-26T03:43:34.000Z
libsrc/wio_terminal_rtl/rpc/ble/scan.py
t-ikegami/WioTerminal-CircuitPython
efbdc2e13ad969fe009d88f7ec4b836ca61ae973
[ "MIT" ]
null
null
null
from .. import MTYPE_INVOKE, perform_request from ...Codec import Codec # rpc_le_scan_set_param(RPC_T_LE_SCAN_PARAM_TYPE param, in binary value) -> RPC_T_GAP_CAUSE def set_param(param, value) : codec = Codec(8, 1, MTYPE_INVOKE, "II{}", "I") return perform_request(codec, param, value) # rpc_le_scan_get_param(R...
35.588235
94
0.715702
197
1,210
4.050761
0.243655
0.06015
0.067669
0.18797
0.477444
0.365915
0.253133
0.18797
0.115288
0.115288
0
0.020568
0.156198
1,210
33
95
36.666667
0.761019
0.335537
0
0.1
0
0
0.026382
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d9fb65dc25c5543de378cebe44e4b1b97b5e92e7
1,251
py
Python
setup.py
logicai-io/python-json-logger
85a9511536c2d9f437d9e54dc533f6c075d56136
[ "BSD-2-Clause" ]
null
null
null
setup.py
logicai-io/python-json-logger
85a9511536c2d9f437d9e54dc533f6c075d56136
[ "BSD-2-Clause" ]
null
null
null
setup.py
logicai-io/python-json-logger
85a9511536c2d9f437d9e54dc533f6c075d56136
[ "BSD-2-Clause" ]
null
null
null
import sys if sys.version_info < (2, 7): print(sys.stderr, "{}: need Python 2.7 or later.".format(sys.argv[0])) print(sys.stderr, "Your Python is {}".format(sys.version)) sys.exit(1) from setuptools import setup, find_packages setup( name = "python-json-logger", version = "0.1.9", url = "http:...
34.75
74
0.60032
142
1,251
5.239437
0.542254
0.178763
0.235215
0.139785
0
0
0
0
0
0
0
0.021097
0.242206
1,251
35
75
35.742857
0.763713
0
0
0
0
0
0.5004
0
0
0
0
0
0
1
0
true
0
0.060606
0
0.060606
0.060606
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
8a050b03b37d4c7534396ecb8a7278a5ddb8495a
550
py
Python
{{cookiecutter.repo_name}}/setup.py
HemuManju/lightning-hydra-template
fee0d71f25b0a26c3047b2bf4d05834df8f70157
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/setup.py
HemuManju/lightning-hydra-template
fee0d71f25b0a26c3047b2bf4d05834df8f70157
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/setup.py
HemuManju/lightning-hydra-template
fee0d71f25b0a26c3047b2bf4d05834df8f70157
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='{{ cookiecutter.project_name }}', version='0.0.0', description='{{ cookiecutter.description }}', author='{{ cookiecutter.author_name }}', author_email='', url='', # replace with your own github repo url install_...
36.666667
151
0.674545
65
550
5.553846
0.646154
0.066482
0.121884
0.160665
0
0
0
0
0
0
0
0.010753
0.154545
550
14
152
39.285714
0.765591
0.114545
0
0
0
0
0.483471
0.283058
0
0
0
0
0
0
null
null
0
0.083333
null
null
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
1
0
0
0
0
0
0
0
0
2
8a0ac0d22efedb04ad9d5a3e84555805e4304b88
453
py
Python
setup.py
Kraktoos/Python-Elo-System
7396030c2e00d9464f9eef62020bc742b327dd3f
[ "MIT" ]
2
2021-10-20T18:35:59.000Z
2021-10-31T19:56:36.000Z
setup.py
Kraktoos/elo_system
7396030c2e00d9464f9eef62020bc742b327dd3f
[ "MIT" ]
null
null
null
setup.py
Kraktoos/elo_system
7396030c2e00d9464f9eef62020bc742b327dd3f
[ "MIT" ]
1
2022-02-08T13:58:10.000Z
2022-02-08T13:58:10.000Z
from setuptools import setup setup(name="elo_system", version="1.0", description="Yet another Python Implementation of the Elo rating system.", long_description=""" Yet another Python Implementation of the Elo rating system. """, author="Kraktoos", author_email="krakt...
32.357143
81
0.642384
52
453
5.480769
0.634615
0.063158
0.147368
0.189474
0.42807
0.42807
0.42807
0.42807
0.42807
0.42807
0
0.005848
0.245033
453
14
82
32.357143
0.827485
0
0
0
0
0
0.480726
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8a0ed597d40b8e2adc03dbad797c60dcb28ef47e
165
py
Python
genda/parsing/matrixtest.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2016-01-12T15:12:18.000Z
2022-02-10T21:57:39.000Z
genda/parsing/matrixtest.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
5
2015-01-20T04:22:50.000Z
2018-10-02T19:39:12.000Z
genda/parsing/matrixtest.py
jeffhsu3/genda
5adbb5b5620c592849fa4a61126b934e1857cd77
[ "BSD-3-Clause" ]
1
2022-03-04T06:49:39.000Z
2022-03-04T06:49:39.000Z
from PWMparser import * t = open("/home/hsuj/Downloads/All_PWMs/SCI09/Gcm1_pwm_primary.txt", 'rU') index, matrix, size = uniProbe_parse(t) print(matrix) print(size)
27.5
74
0.757576
26
165
4.653846
0.846154
0
0
0
0
0
0
0
0
0
0
0.02
0.090909
165
5
75
33
0.786667
0
0
0
0
0
0.351515
0.339394
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
8a14e3fa81291ae479bb2f7e62317024325cab7b
515
py
Python
ibsng/handler/ldap/get_user_info.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
6
2018-03-06T10:16:36.000Z
2021-12-05T12:43:10.000Z
ibsng/handler/ldap/get_user_info.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-03-06T10:27:08.000Z
2022-01-02T15:21:27.000Z
ibsng/handler/ldap/get_user_info.py
ParspooyeshFanavar/pyibsng
d48bcf4f25e3f23461528bf0ff8870cc3d537444
[ "MIT" ]
3
2018-01-06T16:28:31.000Z
2018-09-17T19:47:19.000Z
"""Get user info API method.""" from ibsng.handler.handler import Handler class getUserInfo(Handler): """Get user info method class.""" def control(self): """Validate inputs after setup method. :return: None :rtype: None """ self.is_valid(self.username, str) def ...
20.6
46
0.586408
56
515
5.375
0.5
0.119601
0.07309
0.126246
0.152824
0
0
0
0
0
0
0
0.302913
515
24
47
21.458333
0.83844
0.405825
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8a1b7b3c2132b2942cc3026e54b6189a4e0cfd8d
267
py
Python
eventextractiontool.py
Slark0/IE
9e6b03be4a1ebce1632651a0042de7a602075205
[ "MIT" ]
null
null
null
eventextractiontool.py
Slark0/IE
9e6b03be4a1ebce1632651a0042de7a602075205
[ "MIT" ]
null
null
null
eventextractiontool.py
Slark0/IE
9e6b03be4a1ebce1632651a0042de7a602075205
[ "MIT" ]
null
null
null
import tkinter as tk from tkinter import ttk from tkinter import scrolledtext from tkinter import * # 导入tkinter模块的所有内容 root = Tk() input = Entry(root) input.pack(padx=200,pady=200) input.delete(0, END) #先清空按照索引 input.insert(0,"请输入内容...") root.mainloop()
12.136364
32
0.722846
38
267
5.078947
0.578947
0.170984
0.264249
0
0
0
0
0
0
0
0
0.035714
0.161049
267
21
33
12.714286
0.825893
0.086142
0
0
0
0
0.033898
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8a27081321f363187f7d307940bfea675bffcedc
32,556
py
Python
moler/runner.py
Laymer/moler
2d7b89efdc2ca5e9975112b97934b396e24b5505
[ "BSD-3-Clause" ]
2
2021-03-14T15:17:10.000Z
2021-03-15T07:12:12.000Z
moler/runner.py
Laymer/moler
2d7b89efdc2ca5e9975112b97934b396e24b5505
[ "BSD-3-Clause" ]
null
null
null
moler/runner.py
Laymer/moler
2d7b89efdc2ca5e9975112b97934b396e24b5505
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2018-2020 Nokia """ Runner abstraction goal is to hide concurrency machinery used to make it exchangeable (threads, asyncio, twisted, curio) """ __author__ = 'Grzegorz Latuszek, Marcin Usielski, Michal Ernst' __copyright__ = 'Copyright (C) 2018-2020, Nokia' __email__ = 'grzegorz...
52.425121
133
0.657237
3,687
32,556
5.547871
0.129102
0.206795
0.045759
0.043803
0.45671
0.393253
0.34109
0.30198
0.256417
0.222391
0
0.003688
0.275341
32,556
620
134
52.509677
0.863344
0.270549
0
0.345646
0
0.002639
0.057111
0.005267
0
0
0
0.009677
0.005277
1
0.092348
false
0.050132
0.036939
0.002639
0.192612
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
8a298f59ca511939b6e86c5c2133a7995a173de1
112
py
Python
Text Processing - exercise/extract file.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
Text Processing - exercise/extract file.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
Text Processing - exercise/extract file.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
path = input().split("\\") file = path[-1].split(".") print(f"File name: {file[0]}\nFile extension: {file[1]}")
28
57
0.589286
17
112
3.882353
0.647059
0
0
0
0
0
0
0
0
0
0
0.029703
0.098214
112
3
58
37.333333
0.623762
0
0
0
0
0
0.446429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a2da9b7d03fbffad915a30e08e6df6a2100f8a8
2,665
py
Python
test/botocmd.py
Kajabi/fake-s3
a28139fae48df11e3e21ca2a89df738130ab477e
[ "MIT" ]
1
2022-02-24T05:34:25.000Z
2022-02-24T05:34:25.000Z
test/botocmd.py
amione/fake-s3
2f31a962e8abaa7effe25931f1d2fd35d8a557da
[ "MIT" ]
null
null
null
test/botocmd.py
amione/fake-s3
2f31a962e8abaa7effe25931f1d2fd35d8a557da
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # fakes3cmd.py -- an s3cmd-like script that accepts a custom host and portname import re import os from optparse import OptionParser try: from boto.s3.connection import S3Connection, OrdinaryCallingFormat from boto.s3.key import Key except ImportError: raise Except...
30.284091
82
0.588743
334
2,665
4.550898
0.416168
0.042105
0.031579
0.025658
0.105263
0.105263
0.105263
0.086842
0.086842
0.086842
0
0.009469
0.286679
2,665
87
83
30.632184
0.79011
0.090807
0
0.142857
0
0
0.107616
0.009106
0
0
0
0.011494
0
0
null
null
0
0.095238
null
null
0.063492
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
8a2e3c368928b404fde473116276a9ed5cae8942
1,185
py
Python
scripts/securitygroup/config.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
1
2017-06-13T04:42:34.000Z
2017-06-13T04:42:34.000Z
scripts/securitygroup/config.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
scripts/securitygroup/config.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
import time import paramiko import fixtures from fabric.api import run, hide, settings from vn_test import VNFixture from vm_test import VMFixture from policy_test import PolicyFixture from common.policy.config import ConfigPolicy from common.connections import ContrailConnections from security_group import SecurityG...
34.852941
130
0.672574
132
1,185
5.840909
0.431818
0.038911
0.031128
0
0
0
0
0
0
0
0
0
0.27173
1,185
33
131
35.909091
0.893395
0
0
0
0
0
0
0
0
0
0
0
0.038462
1
0.115385
false
0
0.384615
0
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
0
0
0
1
0
1
0
0
2
8a340244538e5f22abe218a0a595984c86b99776
555
py
Python
utils/integral_calculator.py
nomagiclab/balancing-ball
28a2f95ee489cf7c1a2a3208412eda00e43835f3
[ "MIT" ]
4
2021-11-09T10:48:48.000Z
2022-01-20T11:12:54.000Z
utils/integral_calculator.py
nomagiclab/balancing-ball
28a2f95ee489cf7c1a2a3208412eda00e43835f3
[ "MIT" ]
16
2021-11-09T10:36:40.000Z
2022-03-19T18:35:40.000Z
utils/integral_calculator.py
nomagiclab/balancing-ball
28a2f95ee489cf7c1a2a3208412eda00e43835f3
[ "MIT" ]
null
null
null
class IntegralCalculator: def __init__(self): self.value = 0 self.last_time = 0 def get_current_integral(self) -> float: return self.value def get_and_update_integral(self, new_x, new_time) -> float: self.update_integral(new_x, new_time) return self.get_current_inte...
25.227273
64
0.632432
78
555
4.141026
0.25641
0.130031
0.185759
0.102167
0.297214
0.179567
0.179567
0
0
0
0
0.007519
0.281081
555
21
65
26.428571
0.802005
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0
0.066667
0.466667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
8a3486a4d71febd1848dbba2347c1a355f222185
217
py
Python
crabageprediction/venv/Lib/site-packages/pandas/io/formats/__init__.py
13rianlucero/CrabAgePrediction
92bc7fbe1040f49e820473e33cc3902a5a7177c7
[ "MIT" ]
28,899
2016-10-13T03:32:12.000Z
2022-03-31T21:39:05.000Z
crabageprediction/venv/Lib/site-packages/pandas/io/formats/__init__.py
13rianlucero/CrabAgePrediction
92bc7fbe1040f49e820473e33cc3902a5a7177c7
[ "MIT" ]
31,004
2016-10-12T23:22:27.000Z
2022-03-31T23:17:38.000Z
crabageprediction/venv/Lib/site-packages/pandas/io/formats/__init__.py
13rianlucero/CrabAgePrediction
92bc7fbe1040f49e820473e33cc3902a5a7177c7
[ "MIT" ]
15,149
2016-10-13T03:21:31.000Z
2022-03-31T18:46:47.000Z
from typing import TYPE_CHECKING if TYPE_CHECKING: # import modules that have public classes/functions from pandas.io.formats import style # and mark only those modules as public __all__ = ["style"]
24.111111
55
0.737327
30
217
5.133333
0.733333
0.155844
0
0
0
0
0
0
0
0
0
0
0.211982
217
8
56
27.125
0.900585
0.400922
0
0
0
0
0.03937
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8a35d65e141b12d524977df842b606ea2f5482d6
71,598
py
Python
allennlp/tests/nn/util_test.py
apmoore1/allennlp
bdb29a831ed68cb948b18b42fa61646b9ec11bf8
[ "Apache-2.0" ]
null
null
null
allennlp/tests/nn/util_test.py
apmoore1/allennlp
bdb29a831ed68cb948b18b42fa61646b9ec11bf8
[ "Apache-2.0" ]
null
null
null
allennlp/tests/nn/util_test.py
apmoore1/allennlp
bdb29a831ed68cb948b18b42fa61646b9ec11bf8
[ "Apache-2.0" ]
1
2020-02-19T11:34:32.000Z
2020-02-19T11:34:32.000Z
import json import random from typing import NamedTuple, Any import numpy from numpy.testing import assert_array_almost_equal, assert_almost_equal import torch import pytest from flaky import flaky from allennlp.common.checks import ConfigurationError from allennlp.common.testing import AllenNlpTestCase from allennlp...
44.1418
111
0.58091
9,793
71,598
4.065251
0.063106
0.017935
0.015373
0.01055
0.755269
0.721358
0.691944
0.665695
0.64231
0.614202
0
0.076833
0.280874
71,598
1,621
112
44.169031
0.696376
0.109416
0
0.465643
0
0
0.005459
0.001101
0
0
0
0
0.154406
1
0.050121
false
0.000808
0.010509
0
0.064673
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
8a3cbbc7fd1c54f45bbdf7b34e3c92733082359d
2,280
py
Python
tests/ut/conftest.py
rspadim/aiocache
bf675ae912173bee25cc1d8c22b77f57de34375d
[ "BSD-3-Clause" ]
213
2020-11-02T14:29:46.000Z
2022-03-24T23:12:32.000Z
tests/ut/conftest.py
rspadim/aiocache
bf675ae912173bee25cc1d8c22b77f57de34375d
[ "BSD-3-Clause" ]
48
2020-11-02T11:17:13.000Z
2022-03-24T17:55:31.000Z
tests/ut/conftest.py
rspadim/aiocache
bf675ae912173bee25cc1d8c22b77f57de34375d
[ "BSD-3-Clause" ]
49
2020-11-13T07:41:37.000Z
2022-03-25T12:24:49.000Z
import pytest import asynctest from aiocache.base import BaseCache, API from aiocache import caches, RedisCache, MemcachedCache from aiocache.plugins import BasePlugin from aiocache.serializers import BaseSerializer def pytest_configure(): """ Before pytest_namespace was being used to set the keys for te...
27.804878
79
0.675
238
2,280
6.285714
0.390756
0.235294
0.243316
0.03877
0.036096
0
0
0
0
0
0
0.003365
0.217982
2,280
81
80
28.148148
0.83567
0.071491
0
0.114754
0
0
0.056856
0.029145
0
0
0
0
0
1
0.114754
false
0
0.098361
0.016393
0.295082
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
8a45222032afc0d45b3704fce040bfb9e95e4f75
179
py
Python
aioffsend/__init__.py
Chenwe-i-lin/aioffsend
fb4a9070042d91de2f929b4c298310766d0377f7
[ "MIT" ]
null
null
null
aioffsend/__init__.py
Chenwe-i-lin/aioffsend
fb4a9070042d91de2f929b4c298310766d0377f7
[ "MIT" ]
null
null
null
aioffsend/__init__.py
Chenwe-i-lin/aioffsend
fb4a9070042d91de2f929b4c298310766d0377f7
[ "MIT" ]
null
null
null
from .highlevel import ( upload, delete, download, set_params, get_metadata, get_owner_info ) from .midlevel import FFSend from .lowlevel import FFSendAPI
16.272727
31
0.703911
21
179
5.809524
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.240223
179
11
31
16.272727
0.897059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8a490534731ba006b0b50ab404eae70a803214f3
1,068
py
Python
Set-14-2021/tarefa.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
Set-14-2021/tarefa.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
Set-14-2021/tarefa.py
gianbianchi/Uniso
3abd036bde0b9d9e02ae4f95bae10af4f0a0bae7
[ "MIT" ]
null
null
null
n1 = int(input("Digite n1: ")) n2 = int(input("Digite n2: ")) if (n2 == 0): print("Não é possível dividir por zero.") if (n1 % 3 == 0 and n1 % 5 == 0): print("O número n1 = {} é divisível por 3 e 5.".format(n1)) else: print("O número n1 = {} não é divisível por 3 e 5 ao mesmo tempo".format(n1)) if (n2 % ...
28.864865
81
0.544944
188
1,068
3.095745
0.159574
0.113402
0.206186
0.134021
0.749141
0.67354
0.621993
0.42268
0.408935
0.408935
0
0.087404
0.271536
1,068
37
82
28.864865
0.660668
0
0
0.375
0
0
0.430309
0
0
0
0
0
0
1
0
false
0
0
0
0
0.46875
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
0
1
0
2
8a4c7b9da8478218612fb444dc54b52b37aeddbd
2,574
py
Python
users/models.py
itimor/weekReport
6da9bb93de1df8195f87d9e032ae31968c95a7c3
[ "MIT" ]
3
2018-03-01T10:08:23.000Z
2020-03-31T09:58:41.000Z
users/models.py
itimor/weekReport
6da9bb93de1df8195f87d9e032ae31968c95a7c3
[ "MIT" ]
null
null
null
users/models.py
itimor/weekReport
6da9bb93de1df8195f87d9e032ae31968c95a7c3
[ "MIT" ]
4
2018-07-31T12:14:29.000Z
2020-10-21T06:41:36.000Z
# -*- coding: utf-8 -*- # author: itimor from django.db import models from django.contrib.auth.models import BaseUserManager, AbstractBaseUser class UserManager(BaseUserManager): def create_user(self, username, password=None): '''username 是唯一标识,没有会报错''' if not username: raise ValueErro...
33.428571
110
0.663559
329
2,574
5
0.303951
0.100304
0.087538
0.087538
0.372036
0.31307
0.31307
0.295441
0.295441
0.295441
0
0.01004
0.226107
2,574
77
111
33.428571
0.815763
0.070707
0
0.254545
0
0
0.033221
0
0
0
0
0
0
1
0.109091
false
0.072727
0.036364
0.072727
0.654545
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
8a4d4e1ecd7f4e0e93ca7f5da0137f260149deaf
314
py
Python
test/test_icap.py
antmicro/netv2
f49e0635d197e381c4a5cce8dd9816962a519a48
[ "Net-SNMP", "Xnet" ]
null
null
null
test/test_icap.py
antmicro/netv2
f49e0635d197e381c4a5cce8dd9816962a519a48
[ "Net-SNMP", "Xnet" ]
4
2020-08-18T18:29:38.000Z
2021-01-25T21:31:25.000Z
test/test_icap.py
antmicro/netv2
f49e0635d197e381c4a5cce8dd9816962a519a48
[ "Net-SNMP", "Xnet" ]
null
null
null
#!/usr/bin/env python3 from litex import RemoteClient wb = RemoteClient() wb.open() # # # def icap_send(addr, data): wb.regs.icap_addr.write(addr) wb.regs.icap_data.write(data) wb.regs.icap_send.write(1) while (wb.regs.icap_done.read() == 0): pass # iprog icap_send(0x04, 0x0000000f) # # # wb.close()
13.652174
39
0.687898
50
314
4.2
0.54
0.114286
0.190476
0.133333
0
0
0
0
0
0
0
0.052045
0.143312
314
22
40
14.272727
0.728625
0.092357
0
0
0
0
0
0
0
0
0.050909
0
0
1
0.090909
false
0.090909
0.090909
0
0.181818
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
1
0
0
0
0
0
2
8a4dee86ca5dfb4dc02ea1a613fe4540eb4f1125
1,553
py
Python
S4/S4 Library/simulation/situations/complex/suntanner_situation.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/situations/complex/suntanner_situation.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/situations/complex/suntanner_situation.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from sims4.tuning.tunable_base import GroupNames from situations.complex.give_job_object_situation_mixin import GiveJobObjectSituationMixin from situations.situation import Situation from situations.situation_complex import SituationComplexCommon, CommonSituationState, SituationStateData, TunableSituationJobAndRoleStat...
51.766667
389
0.792659
167
1,553
7.047904
0.401198
0.050977
0.064571
0.074766
0.116398
0.094308
0.069669
0.069669
0.069669
0
0
0.002987
0.137798
1,553
29
390
53.551724
0.876027
0
0
0.130435
0
0
0.1481
0.019317
0
0
0
0
0
1
0.173913
false
0.043478
0.217391
0.130435
0.695652
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
8a6421e5b529d91386be0794928d1cf7f31ecb6a
1,186
py
Python
octopus/assets.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
octopus/assets.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
octopus/assets.py
quaintm/octopus
95a732207ee5f43cd0065d8ea6c643cbf3df2d61
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from flask.ext.assets import Bundle, Environment css = Bundle( "libs/bootstrap/dist/css/bootstrap.css", "libs/dataTables/dataTables.bootstrap.css", "libs/dataTables/dataTables.tableTools.css", "libs/font-awesome4/css/font-awesome.css", "libs/bootstrap-datepicker/css/datepicker3.css", ...
30.410256
87
0.736088
157
1,186
5.547771
0.33121
0.061998
0.110218
0.059701
0.183697
0.101033
0
0
0
0
0
0.002801
0.096965
1,186
38
88
31.210526
0.810458
0.104553
0
0
0
0
0.703214
0.63138
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a65dcf26657b17b7c976ff8dd2663fc7ac5793d
473
py
Python
users/forms.py
gurnitha/django-fantom-blog
f9533be63ea71ce21fd9ddb37cf6f16eee905d88
[ "Unlicense" ]
null
null
null
users/forms.py
gurnitha/django-fantom-blog
f9533be63ea71ce21fd9ddb37cf6f16eee905d88
[ "Unlicense" ]
null
null
null
users/forms.py
gurnitha/django-fantom-blog
f9533be63ea71ce21fd9ddb37cf6f16eee905d88
[ "Unlicense" ]
null
null
null
# users/forms.py # Django modules from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django import forms class RegisterForm(UserCreationForm): username = forms.CharField(max_length=50) email = forms.EmailField(max_length=50) password1 = forms.CharField(...
29.5625
61
0.733615
54
473
6.388889
0.481481
0.086957
0.098551
0.121739
0
0
0
0
0
0
0
0.020202
0.162791
473
16
61
29.5625
0.85101
0.061311
0
0
0
0
0.070136
0
0
0
0
0
0
1
0
false
0.272727
0.272727
0
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
1
0
0
1
0
0
2
8a66876f05b1b369b3cf906bf07be210c4813ad8
74
py
Python
Condicionais/If.py
caiojjj/python_1_USP_coursera
1ac03cc0d50f505f8a7ef364cb04b90d41235b9b
[ "MIT" ]
null
null
null
Condicionais/If.py
caiojjj/python_1_USP_coursera
1ac03cc0d50f505f8a7ef364cb04b90d41235b9b
[ "MIT" ]
1
2020-10-13T05:00:06.000Z
2020-10-17T00:49:17.000Z
Condicionais/If.py
caiojjj/python_1_USP_coursera
1ac03cc0d50f505f8a7ef364cb04b90d41235b9b
[ "MIT" ]
null
null
null
i = 2 while True: if i % 3 == 0: break print(i) i += 2
12.333333
18
0.391892
13
74
2.230769
0.692308
0.137931
0
0
0
0
0
0
0
0
0
0.102564
0.472973
74
6
19
12.333333
0.641026
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
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
8a71f15e4983c25be8b8c1fedab40345aa59f02b
1,274
py
Python
bcs-ui/backend/resources/workloads/cronjob/client.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
599
2019-06-25T03:20:46.000Z
2022-03-31T12:14:33.000Z
bcs-ui/backend/resources/workloads/cronjob/client.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
537
2019-06-27T06:03:44.000Z
2022-03-31T12:10:01.000Z
bcs-ui/backend/resources/workloads/cronjob/client.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
214
2019-06-25T03:26:05.000Z
2022-03-31T07:52:03.000Z
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
47.185185
115
0.803768
175
1,274
5.731429
0.645714
0.059821
0.059821
0.031904
0.047856
0
0
0
0
0
0
0.011797
0.135008
1,274
26
116
49
0.898367
0.571429
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.444444
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
8a75c90846e238637f681187748aa64677cef934
232
py
Python
test/assets/vector_collection.py
pydget/xbrief
9e91927a98754b0fca1fa55eae9a785b15e963f9
[ "MIT" ]
null
null
null
test/assets/vector_collection.py
pydget/xbrief
9e91927a98754b0fca1fa55eae9a785b15e963f9
[ "MIT" ]
null
null
null
test/assets/vector_collection.py
pydget/xbrief
9e91927a98754b0fca1fa55eae9a785b15e963f9
[ "MIT" ]
null
null
null
vector_collection = { 'none': None, 'empty': [], 'numerals': [1, 1, 2, 3, 5, 8, 13, 21], 'strings': ['foo', 'bar', 'zen'], 'cities': ['san fransisco', 'buenos aires', 'bern', 'kinshasa-brazzaville', 'nairobi'] }
29
90
0.530172
27
232
4.518519
0.925926
0
0
0
0
0
0
0
0
0
0
0.054645
0.211207
232
7
91
33.142857
0.612022
0
0
0
0
0
0.409483
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
8a85f3036c67974130bf8da629d90eecc39be1ee
32,156
py
Python
python/mirtex_benchmark/summarizeResults.py
mjoppich/miRExplore
32760d88d65e7bc23b2bfb49415efcd0a7c7c5e1
[ "Apache-2.0" ]
null
null
null
python/mirtex_benchmark/summarizeResults.py
mjoppich/miRExplore
32760d88d65e7bc23b2bfb49415efcd0a7c7c5e1
[ "Apache-2.0" ]
null
null
null
python/mirtex_benchmark/summarizeResults.py
mjoppich/miRExplore
32760d88d65e7bc23b2bfb49415efcd0a7c7c5e1
[ "Apache-2.0" ]
null
null
null
import os,sys sys.path.insert(0, "/mnt/f/dev/git/miRExplore/python/") import time from textdb.MiGenRelDB import MiGenRelDB from textdb.SentenceDB import SentenceDB from collections import defaultdict from natsort import natsorted sentDB, _ = SentenceDB.loadFromFile("./test/", "./development/pmid2sent", returnAll=T...
40.963057
327
0.645572
4,524
32,156
4.490937
0.210212
0.124723
0.011813
0.015947
0.478663
0.22838
0.173155
0.121819
0.10282
0.078456
0
0.209179
0.091336
32,156
784
328
41.015306
0.486156
0.251586
0
0.058288
0
0
0.542566
0.005449
0
0
0
0
0
1
0
false
0
0.01275
0
0.01275
0.029144
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
8a8f3bc0b8648f6599b0f3f876b158891ab5ef13
267
py
Python
huntserver/management/commands/runupdates.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
18
2017-03-07T19:53:03.000Z
2022-02-24T04:58:47.000Z
huntserver/management/commands/runupdates.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
161
2016-11-14T00:04:42.000Z
2021-06-10T17:25:17.000Z
huntserver/management/commands/runupdates.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
22
2016-09-27T18:00:10.000Z
2022-03-13T17:51:44.000Z
from django.core.management.base import BaseCommand from huntserver.utils import update_time_items class RunUpdates(BaseCommand): help = 'Runs all time related updates for the huntserver app' def handle(self, *args, **options): update_time_items()
26.7
65
0.756554
35
267
5.657143
0.771429
0.10101
0.151515
0
0
0
0
0
0
0
0
0
0.168539
267
9
66
29.666667
0.891892
0
0
0
0
0
0.194757
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8a98d4ac7dc115c2d7e6592d4b52a67512d27207
4,185
py
Python
src/syft/__init__.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
src/syft/__init__.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
src/syft/__init__.py
aeroaks/PySyft
88220c38faf3cd72ddc63c73f3c0533695df53c9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Welcome to the syft package! This package is the primary package for PySyft. This package has two kinds of attributes: submodules and convenience functions. Submodules are configured in the standard way, but the convenience functions exist to allow for a convenient `import syft as sy` to the...
44.521277
114
0.774194
627
4,185
5.116427
0.379585
0.062344
0.067332
0.079801
0.235349
0.192643
0.166459
0.131546
0.079801
0
0
0.021457
0.153644
4,185
93
115
45
0.884246
0.630824
0
0
0
0
0.01
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
8a9f8e3b371f4a3d8597afaef08cf1cd3f5dcb90
910
py
Python
packages/sqlmap-master/plugins/dbms/frontbase/enumeration.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
packages/sqlmap-master/plugins/dbms/frontbase/enumeration.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
packages/sqlmap-master/plugins/dbms/frontbase/enumeration.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from lib.core.data import logger from plugins.generic.enumeration import Enumeration as GenericEnumeration class Enumeration(GenericEnumeration): def getBanner(self): ...
27.575758
84
0.684615
113
910
5.513274
0.513274
0.057785
0.11557
0.128411
0.301766
0.301766
0.301766
0.301766
0.301766
0.239165
0
0.011461
0.232967
910
32
85
28.4375
0.881089
0.141758
0
0.222222
0
0
0.301423
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8aac9198e1ca17cfd23654e404dcbbfca380cdae
1,377
py
Python
sunpy/map/sources/tests/test_euvi_source.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
sunpy/map/sources/tests/test_euvi_source.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
sunpy/map/sources/tests/test_euvi_source.py
PritishC/sunpy
76a7b5994566674d85eada7dcec54bf0f120269a
[ "BSD-2-Clause" ]
null
null
null
"""Test cases for STEREO Map subclasses. This particular test file pertains to EUVIMap. @Author: Pritish C. (VaticanCameos) """ import os import glob from sunpy.map.sources.stereo import EUVIMap from sunpy.map import Map from sunpy.sun import sun import sunpy.data.test path = sunpy.data.test.rootdir fitspath = glob....
29.934783
107
0.732752
203
1,377
4.82266
0.384236
0.042901
0.045965
0.040858
0.073544
0.073544
0.073544
0
0
0
0
0.015517
0.157589
1,377
45
108
30.6
0.828448
0.339869
0
0
0
0
0.0625
0.037037
0
0
0
0
0.26087
1
0.26087
false
0
0.26087
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
0
0
0
1
0
0
0
0
1
0
0
2
8aaccd61826b3b9dd2b747e7dc1a8a8bd4442788
817
py
Python
runway/utils/_version.py
onicagroup/runway
d50cac0e4878ff0691943029aa4f5b85d426a3b0
[ "Apache-2.0" ]
134
2018-02-26T21:35:23.000Z
2022-03-03T00:30:27.000Z
runway/utils/_version.py
onicagroup/runway
d50cac0e4878ff0691943029aa4f5b85d426a3b0
[ "Apache-2.0" ]
937
2018-03-08T22:04:35.000Z
2022-03-30T12:21:47.000Z
runway/utils/_version.py
onicagroup/runway
d50cac0e4878ff0691943029aa4f5b85d426a3b0
[ "Apache-2.0" ]
70
2018-02-26T23:48:11.000Z
2022-03-02T18:44:30.000Z
"""Version utilities.""" from __future__ import annotations import packaging.version class Version(packaging.version.Version): """Customize packagining.version.Version.""" def __init__(self, version: str) -> None: """Instantiate class. Args: version: Version string. (e.g. 1.0.0,...
27.233333
77
0.621787
93
817
5.16129
0.494624
0.0875
0.066667
0
0
0
0
0
0
0
0
0.00982
0.252142
817
29
78
28.172414
0.775777
0.388005
0
0
0
0
0.100897
0.056054
0
0
0
0
0
1
0.3
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8aacf07f9aa6c4af097f81cc81a36e4e2404c67c
870
py
Python
graph.py
gibbss21/Cayley
121dc60e9ba70d81d446024bfe137c4a9043be9f
[ "MIT" ]
null
null
null
graph.py
gibbss21/Cayley
121dc60e9ba70d81d446024bfe137c4a9043be9f
[ "MIT" ]
null
null
null
graph.py
gibbss21/Cayley
121dc60e9ba70d81d446024bfe137c4a9043be9f
[ "MIT" ]
null
null
null
""" Authors: Justin Pusztay Filename: graph.py Project: Research for Irina Mazilu, Ph.D. This file contains the graph class. Allows users to build their own graph. """ __author__ = "\n".join(['Justin Pusztay (pusztayj20@mail.wlu.edu)']) __all__ = ['Graph'] from Cayley.abstractnetwork import * class Graph(AbstractN...
22.894737
74
0.609195
105
870
4.857143
0.657143
0.05098
0
0
0
0
0
0
0
0
0
0.00316
0.272414
870
37
75
23.513514
0.802528
0.332184
0
0
0
0
0.094033
0.045208
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8aca5c7861d26f1d856b1e6a5d30cf4b942b150d
1,215
py
Python
ex23_4_Adv.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
ex23_4_Adv.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
ex23_4_Adv.py
royliu317/Code-of-Learn-Python-THW
b0cf29ca7961e06dff29ad8d969a3a2938ecbd21
[ "MIT" ]
null
null
null
print("copy content from auto created ex23_sample_05.txt to ex23_sample_06.txt using 1 line only") input('In powershell: echo "This is a unicode Test." > ex23_sample_05.txt ') in_file = open('c:\\users\\roy\\ex23_sample_05.txt', encoding = 'utf-16').read() out_file = open('c:\\users\\roy\\ex23_sample_06.txt', 'w', enc...
57.857143
138
0.642798
176
1,215
4.346591
0.454545
0.100654
0.047059
0.073203
0.224837
0.128105
0.070588
0
0
0
0
0.049029
0.110288
1,215
21
139
57.857143
0.658649
0.402469
0
0.2
0
0
0.638504
0.260388
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
8acca2171f92073439bfaa4f9dd1220f87a67e36
478
py
Python
app.py
ctlcltd/enigma2-channel-editor
04add0519751dcda854b0cba89552cc31f6c0713
[ "MIT" ]
null
null
null
app.py
ctlcltd/enigma2-channel-editor
04add0519751dcda854b0cba89552cc31f6c0713
[ "MIT" ]
null
null
null
app.py
ctlcltd/enigma2-channel-editor
04add0519751dcda854b0cba89552cc31f6c0713
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # app.py # # @link https://github.com/ctlcltd/e2-sat-editor-qb # @copyright e2 SAT Editor Team # @author Leonardo Laureti # @version 0.1 # @license MIT License # import sys from config import * from commons import debug def main(): debug('main()') if GUI_INTERFACE == 'tk': fro...
14.058824
52
0.658996
71
478
4.267606
0.591549
0.033003
0.072607
0
0
0
0
0
0
0
0
0.01847
0.207113
478
33
53
14.484848
0.781003
0.366109
0
0
0
0
0.092466
0
0
0
0
0
0
1
0.066667
true
0
0.333333
0
0.4
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
76d561ce14f12b85a9a97f20b040313b9f2366d4
130
py
Python
fdf/__init__.py
Ledenel/fdf
df4d74a455046c35d7957e98155957b787c699d2
[ "MIT" ]
1
2020-07-02T16:42:33.000Z
2020-07-02T16:42:33.000Z
fdf/__init__.py
Ledenel/fdf
df4d74a455046c35d7957e98155957b787c699d2
[ "MIT" ]
138
2020-07-16T05:03:37.000Z
2022-03-28T23:26:50.000Z
fdf/__init__.py
Ledenel/fdf
df4d74a455046c35d7957e98155957b787c699d2
[ "MIT" ]
null
null
null
"""Top-level package for fdf.""" __author__ = """Ledenel Intelli""" __email__ = 'ledenelintelli@gmail.com' __version__ = '0.1.9'
21.666667
38
0.692308
16
130
4.875
1
0
0
0
0
0
0
0
0
0
0
0.026087
0.115385
130
5
39
26
0.652174
0.2
0
0
0
0
0.44898
0.244898
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
76dc6702762a919aace831ff2e0c72b209fd4fe4
324
py
Python
__init__.py
Noobiwankenobi/whyplessey-skill
36d96567dcc5dbba7ceb7c257163300f7c7cfc72
[ "MIT" ]
null
null
null
__init__.py
Noobiwankenobi/whyplessey-skill
36d96567dcc5dbba7ceb7c257163300f7c7cfc72
[ "MIT" ]
null
null
null
__init__.py
Noobiwankenobi/whyplessey-skill
36d96567dcc5dbba7ceb7c257163300f7c7cfc72
[ "MIT" ]
null
null
null
from mycroft import MycroftSkill, intent_file_handler class Whyplessey(MycroftSkill): def __init__(self): MycroftSkill.__init__(self) @intent_file_handler('whyplessey.intent') def handle_whyplessey(self, message): self.speak_dialog('whyplessey') def create_skill(): return Whyplessey...
20.25
53
0.731481
35
324
6.342857
0.542857
0.09009
0.153153
0
0
0
0
0
0
0
0
0
0.175926
324
15
54
21.6
0.831461
0
0
0
0
0
0.083591
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
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
1
0
0
0
2
76e38e95db1dd82164581f6f1ccc9fa7fc3b5bb5
208
py
Python
tests/test_condition.py
richshaw2015/behavior3py
bbb1aaef7698b776fe3ba87914ccede3b0b0dd52
[ "MIT" ]
null
null
null
tests/test_condition.py
richshaw2015/behavior3py
bbb1aaef7698b776fe3ba87914ccede3b0b0dd52
[ "MIT" ]
null
null
null
tests/test_condition.py
richshaw2015/behavior3py
bbb1aaef7698b776fe3ba87914ccede3b0b0dd52
[ "MIT" ]
null
null
null
import b3 import unittest class TestCondition(unittest.TestCase): def test_category(self): self.assertEqual(b3.Condition.category, b3.CONDITION) if __name__ == '__main__': unittest.main()
17.333333
61
0.725962
24
208
5.916667
0.625
0.15493
0
0
0
0
0
0
0
0
0
0.017341
0.168269
208
11
62
18.909091
0.803468
0
0
0
0
0
0.038462
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
76ed3de9b853ebdfc0bd75e4d1e562d796b887bf
318
py
Python
mocks/figures/permissions.py
appsembler/tahoe-figures
dbf7dcff4f207f0e5651f9190576b55d2eb5c189
[ "MIT" ]
null
null
null
mocks/figures/permissions.py
appsembler/tahoe-figures
dbf7dcff4f207f0e5651f9190576b55d2eb5c189
[ "MIT" ]
2
2022-01-17T11:04:36.000Z
2022-01-19T12:58:11.000Z
mocks/figures/permissions.py
appsembler/tahoe-figures-plugins
dbf7dcff4f207f0e5651f9190576b55d2eb5c189
[ "MIT" ]
null
null
null
""" Mock for the figures.permissions model. """ def is_active_staff_or_superuser(request): """ Exact copy of Figures=0.4.x `figures.permissions.is_active_staff_or_superuser` helper. """ return request.user and request.user.is_active and ( request.user.is_staff or request.user.is_superuser)
24.461538
90
0.726415
46
318
4.782609
0.5
0.2
0.177273
0.136364
0.218182
0
0
0
0
0
0
0.007547
0.166667
318
12
91
26.5
0.822642
0.396226
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
76fe24ea8de3050267c2d299f69c85f862b65e29
11,479
py
Python
website_analytics/migrations/0001_initial.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
2
2018-02-07T10:26:28.000Z
2018-09-21T09:12:58.000Z
website_analytics/migrations/0001_initial.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
5
2018-09-21T10:40:44.000Z
2019-04-06T10:59:57.000Z
website_analytics/migrations/0001_initial.py
dipapaspyros/bdo_platform
336de07c6ed14290c54f2154117dbf90a187e4ea
[ "MIT" ]
3
2019-06-09T15:42:02.000Z
2022-02-14T19:50:33.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-07-16 13:27 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ...
55.723301
193
0.621308
1,124
11,479
6.108541
0.152135
0.026799
0.083746
0.070492
0.742645
0.685698
0.673755
0.644043
0.628022
0.605301
0
0.014001
0.247147
11,479
205
194
55.995122
0.780491
0.00575
0
0.563452
1
0
0.207888
0.10929
0
0
0
0
0
1
0
false
0
0.025381
0
0.045685
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0a00d3d1412e7fc414904354849563644c4fd535
780
py
Python
login.py
JayGao1219/crawler
8a2d0b949b0dcfda7a8f2f02c66bd635e7035516
[ "MIT" ]
null
null
null
login.py
JayGao1219/crawler
8a2d0b949b0dcfda7a8f2f02c66bd635e7035516
[ "MIT" ]
null
null
null
login.py
JayGao1219/crawler
8a2d0b949b0dcfda7a8f2f02c66bd635e7035516
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- 'a login model' __author__='Jay Gao 1219' from selenium import webdriver; login_url='https://www.itjuzi.com/user/login' def login(Explorer,flag):#flag表示是否是第一次调用 if flag==False: Explorer.find_element_by_id('loginurl').click() pass; else: ...
25.16129
92
0.691026
100
780
5.07
0.59
0.094675
0.149901
0.16568
0.252465
0.161736
0.161736
0.161736
0
0
0
0.022936
0.161538
780
30
93
26
0.752294
0.091026
0
0.181818
0
0
0.222222
0.061111
0
0
0
0
0
1
0.045455
false
0.227273
0.045455
0
0.090909
0.045455
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
0a08ca58cb90999e2abd0782db446fdc2d440ebb
473
py
Python
apps/publications/migrations/0028_title_uris_proprietary_ids.py
techlib/czechelib-stats
ca132e326af0924740a525710474870b1fb5fd37
[ "MIT" ]
1
2019-12-12T15:38:42.000Z
2019-12-12T15:38:42.000Z
apps/publications/migrations/0028_title_uris_proprietary_ids.py
techlib/czechelib-stats
ca132e326af0924740a525710474870b1fb5fd37
[ "MIT" ]
null
null
null
apps/publications/migrations/0028_title_uris_proprietary_ids.py
techlib/czechelib-stats
ca132e326af0924740a525710474870b1fb5fd37
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-02-24 09:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('publications', '0027_fill_platform_name'), ] operations = [ migrations.AddField( model_name='title', name='proprietary_ids', fi...
26.277778
99
0.663848
54
473
5.703704
0.666667
0.116883
0.149351
0.175325
0.435065
0.233766
0
0
0
0
0
0.053333
0.207188
473
17
100
27.823529
0.768
0.097252
0
0
1
0
0.150588
0.054118
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
0a137894f7810106cb2152e1863769e27f2e6b4c
19,445
py
Python
yaml/init-scripts/setup_npu.py
Asteven-zn/ApulisInstall
a34ca7bbd2ce733014772958c7eac4651c173032
[ "MIT" ]
null
null
null
yaml/init-scripts/setup_npu.py
Asteven-zn/ApulisInstall
a34ca7bbd2ce733014772958c7eac4651c173032
[ "MIT" ]
1
2022-03-04T07:41:14.000Z
2022-03-04T07:41:14.000Z
yaml/init-scripts/setup_npu.py
Asteven-zn/ApulisInstall
a34ca7bbd2ce733014772958c7eac4651c173032
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- import os import json import time import pdb import platform import string import random # 此脚本与create_script.sh由算法同事 # 帮忙维护,当代码变更时需更新此版本号 code_version="1.0" def create_hccl_mindspore(): done = 0 rank_id = 0 hccl_data = {} # for test only #os.environ['...
27.58156
665
0.572229
2,429
19,445
4.358995
0.149033
0.034851
0.040518
0.051946
0.71071
0.682471
0.672837
0.652153
0.63912
0.612391
0
0.011766
0.2919
19,445
704
666
27.620739
0.757208
0.108871
0
0.682039
0
0.024272
0.299616
0.188518
0
0
0.000349
0
0
1
0.038835
false
0.063107
0.01699
0.002427
0.109223
0.01699
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
0a1a442445edbbf33c834651505d8bea1866c36d
485
py
Python
src/atcoderbase.py
scnsh/python-circlci-test
af6be3d78c5428984368fd1c06214d5030159273
[ "Apache-2.0" ]
null
null
null
src/atcoderbase.py
scnsh/python-circlci-test
af6be3d78c5428984368fd1c06214d5030159273
[ "Apache-2.0" ]
1
2021-06-02T00:32:09.000Z
2021-06-02T00:32:09.000Z
src/atcoderbase.py
scnsh/python-circlci-test
af6be3d78c5428984368fd1c06214d5030159273
[ "Apache-2.0" ]
null
null
null
from collections import deque from typing import List class AtCoderBase: def __init__(self, all_input: List[str]): self.all_input = deque(all_input) self.ret_str = "" self.msg = list() def input(self): def _input() -> str: line = self.all_input.pop() yi...
22.045455
45
0.595876
59
485
4.644068
0.457627
0.116788
0.131387
0
0
0
0
0
0
0
0
0
0.298969
485
21
46
23.095238
0.805882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0
0.5625
0.0625
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
0a1cec95b806ee342e5c51684a037783edbfb5ee
5,262
py
Python
appSchool/models.py
NandyAkash/Sma
60b247d7b213516b94347626d09a8f329a70aa90
[ "MIT" ]
null
null
null
appSchool/models.py
NandyAkash/Sma
60b247d7b213516b94347626d09a8f329a70aa90
[ "MIT" ]
null
null
null
appSchool/models.py
NandyAkash/Sma
60b247d7b213516b94347626d09a8f329a70aa90
[ "MIT" ]
null
null
null
# import jwt # from datetime import datetime, timedelta # from django.conf import settings # from django.contrib.auth.models import ( # AbstractBaseUser, BaseUserManager, PermissionsMixin # ) # from django.db import models # # Create your models here. # class UserManager(BaseUserManager): # """ # Django r...
34.847682
81
0.63664
699
5,262
4.731044
0.370529
0.009072
0.009979
0.018143
0.052011
0.035077
0.020562
0.020562
0
0
0
0.003395
0.27233
5,262
151
82
34.847682
0.860277
0.942037
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
0a2017392a97b7e7533086af357c08827f45a3fb
5,368
py
Python
tests/test_utils_conda.py
woodruffw-forks/cyclonedx-python-lib
395a0ec14ebcba8e0849a0ced30ec4163c42fa7a
[ "Apache-2.0" ]
null
null
null
tests/test_utils_conda.py
woodruffw-forks/cyclonedx-python-lib
395a0ec14ebcba8e0849a0ced30ec4163c42fa7a
[ "Apache-2.0" ]
null
null
null
tests/test_utils_conda.py
woodruffw-forks/cyclonedx-python-lib
395a0ec14ebcba8e0849a0ced30ec4163c42fa7a
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 # This file is part of CycloneDX Python Lib # # 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 applic...
48.8
120
0.669523
679
5,368
5.106038
0.209131
0.18604
0.210845
0.057687
0.702625
0.633112
0.612345
0.586674
0.533314
0.501586
0
0.070055
0.186289
5,368
109
121
49.247706
0.723672
0.124441
0
0.487179
0
0.089744
0.350064
0.095258
0
0
0
0
0.641026
1
0.064103
false
0
0.025641
0
0.102564
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
0a2ca1886f9f977fe51fc6e706620020fca9a5b3
62
py
Python
ground/__init__.py
lycantropos/ground
ef6f54b8cb555af8d9202d621cac57a892ecb78d
[ "MIT" ]
4
2021-05-15T19:15:56.000Z
2021-11-30T06:19:47.000Z
ground/__init__.py
lycantropos/ground
ef6f54b8cb555af8d9202d621cac57a892ecb78d
[ "MIT" ]
null
null
null
ground/__init__.py
lycantropos/ground
ef6f54b8cb555af8d9202d621cac57a892ecb78d
[ "MIT" ]
null
null
null
"""Basis of computational geometry.""" __version__ = '7.1.1'
15.5
38
0.677419
8
62
4.75
0.875
0
0
0
0
0
0
0
0
0
0
0.055556
0.129032
62
3
39
20.666667
0.648148
0.516129
0
0
0
0
0.208333
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
0a32df1f7ec457a5eb7c5a6c86ff5d0cfd8ec8eb
1,408
py
Python
docs/code/round_3/pages.py
jzoldak/bok-choy
340023f1a50d9ba40dbe0c8154d32d17a7ed1d1e
[ "Apache-2.0" ]
63
2015-01-17T15:52:11.000Z
2019-12-26T21:11:50.000Z
docs/code/round_3/pages.py
jzoldak/bok-choy
340023f1a50d9ba40dbe0c8154d32d17a7ed1d1e
[ "Apache-2.0" ]
202
2015-01-08T18:59:35.000Z
2021-12-28T04:10:32.000Z
docs/code/round_3/pages.py
jzoldak/bok-choy
340023f1a50d9ba40dbe0c8154d32d17a7ed1d1e
[ "Apache-2.0" ]
21
2015-01-23T23:41:53.000Z
2021-10-29T21:59:49.000Z
import re from bok_choy.page_object import PageObject class GitHubSearchResultsPage(PageObject): """ GitHub's search results page """ url = None def is_browser_on_page(self): # This should be something like: u'Search · foo bar · GitHub' title = self.browser.title matches ...
23.864407
72
0.598722
181
1,408
4.563536
0.392265
0.024213
0.038741
0.05569
0.094431
0.053269
0
0
0
0
0
0.001
0.289773
1,408
58
73
24.275862
0.823
0.226563
0
0.086957
0
0
0.142405
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.043478
0.652174
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
0a474695a184b6ecb573b77e69e9665b729d6878
274
py
Python
class-1/read_jy.py
dyrbrm/pynet-test
78c600c35865810403ce6a4901635796fe22c65d
[ "Apache-2.0" ]
null
null
null
class-1/read_jy.py
dyrbrm/pynet-test
78c600c35865810403ce6a4901635796fe22c65d
[ "Apache-2.0" ]
null
null
null
class-1/read_jy.py
dyrbrm/pynet-test
78c600c35865810403ce6a4901635796fe22c65d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import yaml import json import pprint with open("yaml_file.yml") as f: new_yaml_list = yaml.load(f) with open("json_file.json") as f: new_json_list = json.load(f) print "yaml file=" print new_yaml_list print "json file=" print new_json_list
15.222222
33
0.729927
50
274
3.8
0.36
0.084211
0.063158
0
0
0
0
0
0
0
0
0
0.156934
274
17
34
16.117647
0.822511
0.072993
0
0
0
0
0.185771
0
0
0
0
0
0
0
null
null
0
0.272727
null
null
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
2
0a47e53aa0f05efdfe599cfbcb851b13b9ec0821
1,553
py
Python
scripts/hello.py
LukeB42/Emissary
31629a8baedc91a9b60c551a01b2b45372b9a8c7
[ "MIT" ]
193
2015-06-20T23:46:05.000Z
2021-02-16T14:04:29.000Z
scripts/hello.py
LukeB42/Emissary
31629a8baedc91a9b60c551a01b2b45372b9a8c7
[ "MIT" ]
4
2015-08-23T15:25:55.000Z
2016-01-06T11:29:20.000Z
scripts/hello.py
LukeB42/Emissary
31629a8baedc91a9b60c551a01b2b45372b9a8c7
[ "MIT" ]
21
2015-07-05T12:20:06.000Z
2019-07-12T08:07:46.000Z
# _*_ coding: utf-8 _*_ # # This script creates a named pipe (if it doesn't exist) # and writes the feed name, article title and url to it # whenever an article is saved to the database. # # This is useful for composing systems that constantly read # the FIFO and do things like emit the data to IRC channels. # # You c...
34.511111
100
0.734707
267
1,553
4.247191
0.59176
0.007937
0.026455
0.035273
0
0
0
0
0
0
0
0.00394
0.182872
1,553
44
101
35.295455
0.889677
0.711526
0
0.266667
0
0
0.128266
0
0
0
0
0
0
0
null
null
0.066667
0.066667
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
0a4a0500f1dddd3758d7f1fa378436097042faf6
708
py
Python
projects/model/Category.py
chamathshashika/projects-python-wrappers
33e9f6bccba16a581b115c582033a93d43bb159c
[ "MIT" ]
null
null
null
projects/model/Category.py
chamathshashika/projects-python-wrappers
33e9f6bccba16a581b115c582033a93d43bb159c
[ "MIT" ]
null
null
null
projects/model/Category.py
chamathshashika/projects-python-wrappers
33e9f6bccba16a581b115c582033a93d43bb159c
[ "MIT" ]
null
null
null
#$Id$ class Category: """This class is used to create object for category.""" def __init__(self): """Initialize parameters for Category.""" self.id = "" self.name = "" def set_id(self, id): """Set id. Args: id(str): Id. """ se...
14.75
59
0.422316
75
708
3.88
0.293333
0.082474
0.054983
0
0
0
0
0
0
0
0
0
0.446328
708
47
60
15.06383
0.742347
0.319209
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0a504b996b74490d0636022a43cc0bfd844c58ea
559
py
Python
src/squirrel/shared/setupsql.py
bvz2000/squirrel
5d3ba00825aaa5337d8972a0edc6530230a8a754
[ "Unlicense" ]
null
null
null
src/squirrel/shared/setupsql.py
bvz2000/squirrel
5d3ba00825aaa5337d8972a0edc6530230a8a754
[ "Unlicense" ]
null
null
null
src/squirrel/shared/setupsql.py
bvz2000/squirrel
5d3ba00825aaa5337d8972a0edc6530230a8a754
[ "Unlicense" ]
null
null
null
import inspect import configparser import os.path # ---------------------------------------------------------------------------------------------------------------------- def create_sql_object(): """ Create a sql resources object. :return: A sql resources object. """ module_d = os.pa...
25.409091
120
0.495528
56
559
4.839286
0.410714
0.110701
0.095941
0.140221
0
0
0
0
0
0
0
0.006438
0.166369
559
21
121
26.619048
0.575107
0.34347
0
0
0
0
0.06414
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0a52886cde79896f927dd3511458959a850855fa
2,453
py
Python
tests/test_fpl.py
emre/fpl
381f37f381a6de23537e236788352c48a37a6005
[ "MIT" ]
null
null
null
tests/test_fpl.py
emre/fpl
381f37f381a6de23537e236788352c48a37a6005
[ "MIT" ]
null
null
null
tests/test_fpl.py
emre/fpl
381f37f381a6de23537e236788352c48a37a6005
[ "MIT" ]
1
2019-10-17T15:56:43.000Z
2019-10-17T15:56:43.000Z
import unittest from fpl import FPL from fpl.models.classic_league import ClassicLeague from fpl.models.fixture import Fixture from fpl.models.gameweek import Gameweek from fpl.models.h2h_league import H2HLeague from fpl.models.player import Player from fpl.models.team import Team from fpl.models.user import User cl...
31.050633
62
0.688545
297
2,453
5.52862
0.154882
0.219245
0.079172
0.026797
0.144945
0.113276
0.082826
0.082826
0.082826
0
0
0.022716
0.210355
2,453
78
63
31.448718
0.824987
0
0
0.098361
0
0
0.011822
0
0
0
0
0
0.344262
1
0.213115
false
0
0.147541
0
0.377049
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
0a65092c7c6e37e2cdd113eb9f101a48760170fb
13,940
py
Python
abcnn.py
ameyagodbole/ABCNN-tensorflow
9b3a6911982b930ed852362af35208208760eb19
[ "MIT" ]
4
2018-10-29T04:11:19.000Z
2019-12-19T04:42:25.000Z
abcnn.py
ameyagodbole/ABCNN-tensorflow
9b3a6911982b930ed852362af35208208760eb19
[ "MIT" ]
null
null
null
abcnn.py
ameyagodbole/ABCNN-tensorflow
9b3a6911982b930ed852362af35208208760eb19
[ "MIT" ]
3
2018-12-08T22:39:04.000Z
2020-04-08T09:34:37.000Z
""" An implementation of ABCNN from ABCNN: Attention-Based Convolutional Neural Network for Modeling Sentence Pairs Yin, W.; Schutze, H.; Xiang, B.; and Zhou, B. """ import tensorflow as tf import numpy as np ''' Each config should be a dictionary with entries: type : Type pf convolutional layer depending of use of a...
49.964158
178
0.683788
2,285
13,940
3.992123
0.108972
0.010086
0.039904
0.054155
0.714427
0.68724
0.684828
0.668823
0.631331
0.619711
0
0.049719
0.132855
13,940
279
179
49.964158
0.704914
0.021593
0
0.603524
0
0
0.085558
0
0
0
0
0
0
0
null
null
0
0.008811
null
null
0.013216
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
0a670defa7960780745a3904c44171ded53a13e6
1,414
py
Python
coding_interview/25.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
coding_interview/25.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
coding_interview/25.py
smartx-jshan/Coding_Practice
bc7d485e7992031e55df62483818b721ad7d1d4f
[ "Apache-2.0" ]
null
null
null
class MyCircularQueue: def __init__(self, k: int): self.q = [None] * k self.maxlen = k self.front = 0 self.rear = 0 def enQueue(self, value: int) -> bool: if self.q[self.rear] is None: self.q[self.rear] = value self.rear = (self.rear + 1...
26.185185
70
0.556577
198
1,414
3.924242
0.212121
0.123552
0.11583
0.100386
0.492921
0.342342
0.277992
0.238095
0.166023
0.166023
0
0.014706
0.326733
1,414
53
71
26.679245
0.801471
0.166902
0
0.294118
0
0
0
0
0
0
0
0
0
1
0.205882
false
0
0
0
0.588235
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
0a6d647cd6903b084fbe8153fe0edee421c4615e
442
py
Python
django/docs/releases/1.11.28.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/releases/1.11.28.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/releases/1.11.28.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXX XXXXXXX XXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX XX XXXXX XXXXXX XXXXXXX XXXXX X XXXXXXXX XXXXX XX XXXXXXXX XXXXXXXXXXXXXX XXXXXXXXX XXX XXXXXXXXX XXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX...
31.571429
79
0.90724
37
442
10.837838
0.405405
0.064838
0.069825
0
0
0
0
0
0
0
0
0
0.09276
442
13
80
34
1
0
0
0.222222
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
6a5a0693bd6a7c0f8cfa155d31fe890ebc999563
3,054
py
Python
src/m101j/week02/project/m101j_blog/validate_sourcecode.py
hemmerling/nosql-mongodb2013
bd2bb4f76234e0732b738f14cb474f7554c864c1
[ "Apache-2.0" ]
null
null
null
src/m101j/week02/project/m101j_blog/validate_sourcecode.py
hemmerling/nosql-mongodb2013
bd2bb4f76234e0732b738f14cb474f7554c864c1
[ "Apache-2.0" ]
null
null
null
src/m101j/week02/project/m101j_blog/validate_sourcecode.py
hemmerling/nosql-mongodb2013
bd2bb4f76234e0732b738f14cb474f7554c864c1
[ "Apache-2.0" ]
null
null
null
import pymongo import urllib2 import urllib import cookielib import random import re import string # makes a little salt def make_salt(n): salt = "" for i in range(n): salt = salt + random.choice(string.ascii_letters) return salt # this is a validation program to make sure that th...
30.848485
114
0.602489
374
3,054
4.882353
0.307487
0.03943
0.035049
0.028478
0.525739
0.506024
0.470975
0.470975
0.394304
0.394304
0
0.014085
0.302554
3,054
98
115
31.163265
0.843192
0.074329
0
0.464789
0
0
0.255421
0.009188
0
0
0
0
0
0
null
null
0.098592
0.098592
null
null
0.225352
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
6a5b27469b73eded1bc8650c388be56bd3994f26
690
py
Python
Python/LongestSubstringWithoutRepeatingCharactersTest.py
TonnyL/Windary
39f85cdedaaf5b85f7ce842ecef975301fc974cf
[ "MIT" ]
205
2017-11-16T08:38:46.000Z
2022-03-06T05:50:03.000Z
Python/LongestSubstringWithoutRepeatingCharactersTest.py
santosh241/Windary
39f85cdedaaf5b85f7ce842ecef975301fc974cf
[ "MIT" ]
3
2018-04-10T10:17:52.000Z
2020-12-11T08:00:09.000Z
Python/LongestSubstringWithoutRepeatingCharactersTest.py
santosh241/Windary
39f85cdedaaf5b85f7ce842ecef975301fc974cf
[ "MIT" ]
28
2018-04-10T06:42:42.000Z
2021-09-14T14:15:39.000Z
from unittest import TestCase from LongestSubstringWithoutRepeatingCharacters import LongestSubstringWithoutRepeatingCharacters class TestLongestSubstringWithoutRepeatingCharacters(TestCase): def test_lengthOfLongestSubstring(self): lswrc = LongestSubstringWithoutRepeatingCharacters() # Expected:...
40.588235
97
0.734783
53
690
9.54717
0.45283
0.110672
0.150198
0.339921
0.26087
0
0
0
0
0
0
0.014085
0.176812
690
16
98
43.125
0.876761
0.094203
0
0
0
0
0.037097
0
0
0
0
0
0.444444
1
0.111111
false
0
0.222222
0
0.444444
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
6a5ce9dbdacda0cdea328b3b2b3585faa580788e
2,913
py
Python
experiments/examples/example_d1.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
18
2020-11-22T16:03:08.000Z
2022-03-15T12:11:46.000Z
experiments/examples/example_d1.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
2
2022-01-04T08:10:17.000Z
2022-01-05T08:13:14.000Z
experiments/examples/example_d1.py
cogsys-tuebingen/uninas
06729b9cf517ec416fb798ae387c5bd9c3a278ac
[ "MIT" ]
6
2021-03-08T07:08:52.000Z
2022-02-24T12:00:43.000Z
from uninas.main import Main """ search the architecture of a small network via DARTS algorithm beware that we are using fake data """ args = { "cls_task": "SingleSearchTask", "{cls_task}.save_dir": "{path_tmp}/d1/", "{cls_task}.save_del_old": True, "{cls_task}.is_test_run": True, "cls_device":...
30.989362
71
0.670786
365
2,913
4.99726
0.361644
0.153509
0.148026
0.070175
0.216009
0.172149
0
0
0
0
0
0.026187
0.161002
2,913
93
72
31.322581
0.720131
0.041195
0
0
0
0
0.66965
0.40604
0
0
0
0
0
1
0
false
0
0.015625
0
0.015625
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a66aa2f0fa550d9dc4dcbb66e4e224aff9ad573
1,381
py
Python
venv/Lib/site-packages/notebook/terminal/handlers.py
BoxicaLion/BasicMathFormulas
4d9782f2c0c75ecccf4c0ea995f324f93e4fb6e2
[ "MIT" ]
445
2019-01-26T13:50:26.000Z
2022-03-18T05:17:38.000Z
venv/Lib/site-packages/notebook/terminal/handlers.py
BoxicaLion/BasicMathFormulas
4d9782f2c0c75ecccf4c0ea995f324f93e4fb6e2
[ "MIT" ]
242
2019-01-29T15:48:27.000Z
2022-03-31T22:09:21.000Z
venv/Lib/site-packages/notebook/terminal/handlers.py
BoxicaLion/BasicMathFormulas
4d9782f2c0c75ecccf4c0ea995f324f93e4fb6e2
[ "MIT" ]
31
2019-03-10T09:51:27.000Z
2022-02-14T23:11:12.000Z
#encoding: utf-8 """Tornado handlers for the terminal emulator.""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from tornado import web import terminado from notebook._tz import utcnow from ..base.handlers import IPythonHandler from ..base.zmqhandlers import Web...
32.116279
71
0.698769
162
1,381
5.845679
0.512346
0.047518
0.06019
0.06547
0.103485
0.103485
0.103485
0
0
0
0
0.003617
0.199131
1,381
42
72
32.880952
0.852622
0.209269
0
0.086957
0
0
0.07531
0.062917
0
0
0
0
0
1
0.217391
false
0
0.217391
0
0.608696
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
6a67fcfc3665727808e47d5048908514c8e7f43b
1,100
py
Python
app/http/controllers/BlogController.py
Balogunolalere/masonite-crud
e95f5053db486467361126e00ab56f4da3fdb819
[ "MIT" ]
1
2021-06-06T14:50:22.000Z
2021-06-06T14:50:22.000Z
app/http/controllers/BlogController.py
Balogunolalere/masonite-crud
e95f5053db486467361126e00ab56f4da3fdb819
[ "MIT" ]
null
null
null
app/http/controllers/BlogController.py
Balogunolalere/masonite-crud
e95f5053db486467361126e00ab56f4da3fdb819
[ "MIT" ]
null
null
null
"""A BlogController Module.""" from masonite.request import Request from masonite.view import View from masonite.controllers import Controller from app.Post import Post class BlogController(Controller): """BlogController Controller Class.""" def __init__(self, request: Request): """BlogController Initializer ...
25
68
0.709091
139
1,100
5.582734
0.266187
0.126289
0.092784
0.113402
0.298969
0.298969
0.298969
0.298969
0.298969
0.298969
0
0
0.137273
1,100
44
69
25
0.817703
0.154545
0
0.24
0
0
0.066667
0
0
0
0
0
0
1
0.24
false
0
0.16
0
0.64
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
6a6febf419baf8f465358e758f801c5fbc25d396
19,172
py
Python
src/twisted/conch/recvline.py
ndg63276/twisted
f672a20395e8beece6350631a70514f06c391bae
[ "Unlicense", "MIT" ]
2
2021-03-27T20:11:56.000Z
2021-05-04T19:34:44.000Z
src/twisted/conch/recvline.py
ndg63276/twisted
f672a20395e8beece6350631a70514f06c391bae
[ "Unlicense", "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
src/twisted/conch/recvline.py
ndg63276/twisted
f672a20395e8beece6350631a70514f06c391bae
[ "Unlicense", "MIT" ]
2
2021-05-29T21:12:22.000Z
2021-05-30T04:56:50.000Z
# -*- test-case-name: twisted.conch.test.test_recvline -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Basic line editing support. @author: Jp Calderone """ import string from typing import Dict from zope.interface import implementer from twisted.conch.insults import insults, helper...
33.576182
90
0.670613
1,825
19,172
6.993973
0.229041
0.086493
0.133344
0.19461
0.108508
0.070119
0.056644
0.031573
0.019743
0.019743
0
0.0038
0.244993
19,172
570
91
33.635088
0.877997
0.235552
0
0.182927
0
0
0.170467
0.100947
0
0
0
0
0.006098
1
0.240854
false
0.006098
0.021341
0.009146
0.329268
0.006098
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
6a8a153b3c58b62cde3c4b3cbce5b53100cb77e6
5,659
py
Python
python/GafferTest/__init__.py
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
1
2016-07-31T09:55:09.000Z
2016-07-31T09:55:09.000Z
python/GafferTest/__init__.py
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
null
null
null
python/GafferTest/__init__.py
Kthulhu/gaffer
8995d579d07231988abc92c3ac2788c15c8bc75c
[ "BSD-3-Clause" ]
null
null
null
########################################################################## # # Copyright (c) 2011-2012, John Haddon. All rights reserved. # Copyright (c) 2011-2015, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted prov...
41.610294
81
0.821347
587
5,659
7.902896
0.386712
0.010347
0.006036
0.009916
0.039664
0.029317
0.029317
0.029317
0.029317
0.029317
0
0.004073
0.132356
5,659
135
82
41.918519
0.940733
0.302527
0
0.043478
0
0
0.006381
0
0
0
0
0
0
0
null
null
0
0.869565
null
null
0.01087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
6a8f6d8a4a79270dbaadc3da3e9eadfe4701a899
5,010
py
Python
tests/test_box.py
mjclarke94/lammps-cython
e90d4465cbf85e037b61f3f654cb6f0c3b0bee95
[ "MIT" ]
6
2018-10-10T18:13:09.000Z
2021-03-22T11:39:57.000Z
tests/test_box.py
mjclarke94/lammps-cython
e90d4465cbf85e037b61f3f654cb6f0c3b0bee95
[ "MIT" ]
null
null
null
tests/test_box.py
mjclarke94/lammps-cython
e90d4465cbf85e037b61f3f654cb6f0c3b0bee95
[ "MIT" ]
3
2018-08-26T14:40:00.000Z
2019-06-07T09:39:53.000Z
from math import pi import pytest import numpy as np import lammps def test_lattice_const_to_lammps_box_cubic(): lengths = (5, 5, 5) angles = (pi/2, pi/2, pi/2) origin = (0, 0, 0) a, b, c = lengths xlo, ylo, zlo = origin bounds, tilts, rotation_matrix = lammps.core.lattice_const_to_lammps_bo...
39.448819
112
0.67984
825
5,010
3.96
0.111515
0.080808
0.10101
0.119376
0.756657
0.749617
0.706152
0.668197
0.592287
0.583716
0
0.072762
0.166068
5,010
126
113
39.761905
0.709191
0.037325
0
0.553191
0
0
0
0
0
0
0
0
0.37234
1
0.106383
false
0
0.042553
0
0.148936
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6a95309d9f480004128354908a777169de1048da
641
py
Python
spaghetti/tests/test_api_network.py
gegen07/spaghetti
f10f9d016deeb8d4cdd63377304fc8e3b8492a0f
[ "BSD-3-Clause" ]
182
2018-07-23T20:17:32.000Z
2022-03-28T07:08:43.000Z
spaghetti/tests/test_api_network.py
gegen07/spaghetti
f10f9d016deeb8d4cdd63377304fc8e3b8492a0f
[ "BSD-3-Clause" ]
563
2017-04-14T23:39:21.000Z
2022-02-12T20:34:21.000Z
spaghetti/tests/test_api_network.py
gegen07/spaghetti
f10f9d016deeb8d4cdd63377304fc8e3b8492a0f
[ "BSD-3-Clause" ]
51
2017-04-14T23:40:31.000Z
2022-03-31T01:41:56.000Z
""" Testing for the spaghetti api import structure. """ import unittest from .network_unittest_classes import TestNetwork from .network_unittest_classes import TestNetworkPointPattern from .network_unittest_classes import TestNetworkAnalysis # api import structure import spaghetti # run tests on spaghetti.network.N...
23.740741
61
0.826833
66
641
7.818182
0.333333
0.063953
0.110465
0.151163
0.286822
0
0
0
0
0
0
0
0.112324
641
26
62
24.653846
0.906854
0.287051
0
0
0
0
0.017937
0
0
0
0
0
0
1
0
true
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
6aa9bb696576cb54c5c762feaf552f7b23cea8f0
1,974
py
Python
cesium/features/common_functions.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
603
2016-04-15T00:11:07.000Z
2022-03-18T09:10:39.000Z
cesium/features/common_functions.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
146
2016-03-17T19:58:24.000Z
2022-02-05T20:36:03.000Z
cesium/features/common_functions.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
84
2016-04-13T23:30:58.000Z
2022-03-18T07:34:09.000Z
import numpy as np from scipy import stats def max_slope(t, x): """Compute the largest rate of change in the observed data.""" slopes = np.diff(x) / np.diff(t) return np.max(np.abs(slopes)) def maximum(x): """Maximum observed value.""" return np.max(x) def median(x): """Median of observed ...
26.675676
80
0.658055
305
1,974
4.17377
0.262295
0.069128
0.050275
0.051846
0.28751
0.103692
0.080126
0.080126
0.080126
0
0
0.008307
0.207194
1,974
73
81
27.041096
0.805112
0.412867
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.066667
0
0.866667
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
6ab1e103fbf234d369d759be37b846a948dab2da
712
py
Python
hacking/imgur-image-scraping-spider/pipelines.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
2
2017-02-19T15:11:06.000Z
2017-02-22T18:34:10.000Z
hacking/imgur-image-scraping-spider/pipelines.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
null
null
null
hacking/imgur-image-scraping-spider/pipelines.py
Dilmuratjan/MyProject
26f4ee708eb4a7ceef780842ad737fef64a39d7e
[ "WTFPL" ]
4
2017-02-26T08:10:30.000Z
2017-05-02T10:02:03.000Z
import scrapy from scrapy.contrib.pipeline.images import ImagesPipeline ITEM_PIPELINES = {'imgur.pipelines.ImgurPipeline': 1} class ImgurPipeline(ImagesPipeline): def set_filename(self, response): #add a regex here to check the title is valid for a filename. return 'full/{0}.jpg'.format(response.meta['...
22.967742
89
0.703652
97
712
5.061856
0.494845
0.044807
0.077393
0
0
0
0
0
0
0
0
0.005137
0.179775
712
30
90
23.733333
0.835616
0.08427
0
0
0
0
0.108197
0.047541
0
0
0
0
0
1
0.230769
false
0
0.153846
0.076923
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
1
0
0
0
0
1
0
0
2
6ab427479b343856ab22ab50d8dd0460263d9bc0
83
py
Python
natlutil/lemmatizer/__init__.py
alexandredias3d/natlutil
6d6325d4dc8892c96ff4827873cb1530813c97db
[ "Apache-2.0" ]
null
null
null
natlutil/lemmatizer/__init__.py
alexandredias3d/natlutil
6d6325d4dc8892c96ff4827873cb1530813c97db
[ "Apache-2.0" ]
1
2019-06-07T02:00:43.000Z
2019-06-07T02:00:43.000Z
natlutil/lemmatizer/__init__.py
alexandredias3d/natlang
6d6325d4dc8892c96ff4827873cb1530813c97db
[ "Apache-2.0" ]
null
null
null
from natlutil.lemmatizer.unitexpb import * __all__ = [ 'UnitexPBDictionary' ]
13.833333
42
0.73494
7
83
8.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.168675
83
5
43
16.6
0.826087
0
0
0
0
0
0.216867
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6ab87dc47936cd627d6ed01d824ff3d42f43ded2
176
py
Python
examples/my_blueprint.py
fmux/sanicpluginsframework
175525e85504fcf6e7d32bf12874578fc14c115a
[ "MIT" ]
46
2017-10-19T00:59:07.000Z
2020-11-16T21:16:47.000Z
examples/my_blueprint.py
fmux/sanicpluginsframework
175525e85504fcf6e7d32bf12874578fc14c115a
[ "MIT" ]
17
2017-12-25T00:27:36.000Z
2021-03-21T14:45:20.000Z
examples/my_blueprint.py
fmux/sanicpluginsframework
175525e85504fcf6e7d32bf12874578fc14c115a
[ "MIT" ]
10
2017-12-22T03:26:16.000Z
2020-10-19T19:16:59.000Z
from sanic import Blueprint api_v1 = Blueprint(__name__, None) @api_v1.middleware(attach_to="request") async def bp_mw(request): print("Hello bp") __all__ = ['api_v1']
16
39
0.727273
26
176
4.423077
0.730769
0.130435
0
0
0
0
0
0
0
0
0
0.019868
0.142045
176
10
40
17.6
0.741722
0
0
0
0
0
0.119318
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
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
0
1
0
2
6ac3ffe45dd0af323c8514ef525e2a106b062de5
292
py
Python
webhook/urls.py
userlocalhost/airone-1
8aabeabb65fd2117876380f1f69a04f0cf39889d
[ "MIT" ]
null
null
null
webhook/urls.py
userlocalhost/airone-1
8aabeabb65fd2117876380f1f69a04f0cf39889d
[ "MIT" ]
null
null
null
webhook/urls.py
userlocalhost/airone-1
8aabeabb65fd2117876380f1f69a04f0cf39889d
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from . import views urlpatterns = [ url(r"^api/v1/", include(("webhook.api_v1.urls", "webhook.api_v1"))), url(r"^api/v2/", include(("webhook.api_v2.urls", "webhook.api_v2"))), url(r"^(\d+)$", views.list_webhook, name="list_webhook"), ]
29.2
73
0.650685
44
292
4.181818
0.386364
0.217391
0.076087
0
0
0
0
0
0
0
0
0.023438
0.123288
292
9
74
32.444444
0.695313
0
0
0
0
0
0.34589
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6ac87723db27b50eaf3e3b2c6575d88c16918e02
493
py
Python
spider/bookinfo/items.py
leitelyaya/Broadview-analysing-sales-figures
bdff4239fd71b5077bc05703757d9f5d2610c536
[ "Apache-2.0" ]
5
2018-08-20T03:54:30.000Z
2019-03-08T14:43:37.000Z
spider/bookinfo/items.py
leitelyaya/Broadview-analysing-sales-figures
bdff4239fd71b5077bc05703757d9f5d2610c536
[ "Apache-2.0" ]
null
null
null
spider/bookinfo/items.py
leitelyaya/Broadview-analysing-sales-figures
bdff4239fd71b5077bc05703757d9f5d2610c536
[ "Apache-2.0" ]
5
2018-01-07T01:33:00.000Z
2019-03-08T14:44:24.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class BookinfoItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() coverImage = scrapy.Field() #"cover.jp...
25.947368
51
0.636917
61
493
5.147541
0.672131
0.210191
0
0
0
0
0
0
0
0
0
0.002571
0.210953
493
18
52
27.388889
0.804627
0.505071
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
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
6acdec1991bc193db767a67b9d8b1fe1727998d7
518
py
Python
tests/r/test_pension.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_pension.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_pension.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.pension import pension def test_pension(): """Test module pension.py by downloading pension.csv and testing shape of extracted data has 19...
21.583333
45
0.754826
72
518
5.152778
0.569444
0.080863
0.12938
0
0
0
0
0
0
0
0
0.023529
0.179537
518
23
46
22.521739
0.849412
0.218147
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
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
6ad4b0307023ca0f07b1c891343ae1a90f5a5ad5
6,436
py
Python
llvm/utils/lit/tests/shtest-format.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
158
2016-07-21T10:45:05.000Z
2022-03-25T00:56:20.000Z
llvm/utils/lit/tests/shtest-format.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
59
2019-02-26T18:57:27.000Z
2020-08-04T20:49:55.000Z
llvm/utils/lit/tests/shtest-format.py
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
62
2016-08-29T17:28:11.000Z
2021-12-29T17:55:58.000Z
# Check the various features of the ShTest format. # # RUN: rm -f %t.xml # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format --xunit-xml-output %t.xml > %t.out # RUN: FileCheck < %t.out %s # RUN: FileCheck --check-prefix=XUNIT < %t.xml %s # END. # CHECK: -- Testing: # CHECK: PASS: shtest-format :: argv0.txt # CHECK: F...
39.243902
120
0.669204
886
6,436
4.832957
0.120767
0.19617
0.107894
0.137319
0.749883
0.68823
0.612798
0.585708
0.564222
0.498132
0
0.019741
0.110628
6,436
163
121
39.484663
0.728337
0.95463
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6adb553dce195998456694bd789763a78896d906
221
py
Python
setup.py
mikanbox/certbeginner
d147ddac13a8308ec1e07b56c872eb46c5a4a815
[ "Apache-2.0" ]
null
null
null
setup.py
mikanbox/certbeginner
d147ddac13a8308ec1e07b56c872eb46c5a4a815
[ "Apache-2.0" ]
null
null
null
setup.py
mikanbox/certbeginner
d147ddac13a8308ec1e07b56c872eb46c5a4a815
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='certbeginner', version='1.0.0', install_requires=['argparse'], entry_points={ "console_scripts": ['crtbg = src.app:main'] } )
20.090909
55
0.552036
22
221
5.409091
0.909091
0
0
0
0
0
0
0
0
0
0
0.019608
0.307692
221
11
56
20.090909
0.75817
0
0
0
0
0
0.27027
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
6ae35abc4a7d4c66d615c6151ad2f2e33c8e4033
480
py
Python
env.py
masanobu48154/ansible_build_wp
9e5741957cdb1c9d293ea0f7962bc8a4eb2d23c8
[ "BSD-3-Clause" ]
null
null
null
env.py
masanobu48154/ansible_build_wp
9e5741957cdb1c9d293ea0f7962bc8a4eb2d23c8
[ "BSD-3-Clause" ]
null
null
null
env.py
masanobu48154/ansible_build_wp
9e5741957cdb1c9d293ea0f7962bc8a4eb2d23c8
[ "BSD-3-Clause" ]
null
null
null
#!user/bin/python class MyEnv: """ """ def __init__(self): self.my_env = { "subnet": "<your_lab_subnet/mask>", "gateway": "<your_lab_gateway_ip_address>", "ansible_addr": "<ansible_container_ip_address>", "web_addr": "<wev_container_ip_address>", ...
30
61
0.55
51
480
4.666667
0.607843
0.151261
0.226891
0
0
0
0
0
0
0
0
0
0.295833
480
15
62
32
0.704142
0.033333
0
0
0
0
0.519912
0.292035
0
0
0
0
0
1
0.090909
false
0.090909
0
0
0.181818
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
1
0
0
0
0
0
2
0a783bd4b58da85e29e93464a57661225beb40fd
1,545
py
Python
keyboards.py
Liubasia/tg-secret-santa-bot
a361fada02c7cdbc88f47485f8ab111f68435344
[ "MIT" ]
7
2021-11-26T15:39:34.000Z
2021-12-20T13:20:02.000Z
keyboards.py
Liubasia/tg-secret-santa-bot
a361fada02c7cdbc88f47485f8ab111f68435344
[ "MIT" ]
8
2021-11-20T23:04:17.000Z
2022-02-02T11:19:20.000Z
keyboards.py
Liubasia/tg-secret-santa-bot
a361fada02c7cdbc88f47485f8ab111f68435344
[ "MIT" ]
2
2021-12-01T18:04:40.000Z
2022-01-16T03:38:18.000Z
from telegram import InlineKeyboardMarkup, InlineKeyboardButton, Message from emojis import Emoji from config import config def secret_santa(chat_id: int, bot_username: str, participants_count: int = 0): # knowing the message id is not really needed because a caht can only have one ongoing secret chat deepli...
36.785714
118
0.72233
183
1,545
5.95082
0.377049
0.15427
0.191001
0.129477
0.211203
0.091827
0.091827
0.091827
0
0
0
0.002318
0.16246
1,545
41
119
37.682927
0.839258
0.062136
0
0
0
0
0.210235
0.03527
0
0
0
0
0
1
0.148148
false
0
0.111111
0.111111
0.407407
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
0a7b1a96f35172e4fdd90c6e4f154a82c0020afe
1,350
py
Python
nova/scheduler/weights/ram.py
lixiaoy1/nova
357b8b38e88300948bb2e07d1bbaabd1e9d7b60e
[ "Apache-2.0" ]
2
2021-10-11T04:56:25.000Z
2022-02-16T08:49:29.000Z
nova/scheduler/weights/ram.py
ljzjohnson/nova
87e1951a1b8c03b9ecdf8f75610d14690b61f272
[ "Apache-2.0" ]
132
2017-03-27T11:31:52.000Z
2022-03-30T08:45:02.000Z
nova/scheduler/weights/ram.py
ljzjohnson/nova
87e1951a1b8c03b9ecdf8f75610d14690b61f272
[ "Apache-2.0" ]
8
2017-03-27T07:50:38.000Z
2020-02-14T16:55:56.000Z
# Copyright (c) 2011 OpenStack Foundation # 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 ...
34.615385
78
0.734815
195
1,350
5.020513
0.610256
0.061287
0.026558
0.032686
0
0
0
0
0
0
0
0.008318
0.198519
1,350
38
79
35.526316
0.896488
0.70963
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
0
0
1
0
0
2
0a8328b9a3f6b6cbda1b1ad098e77cbfe813a558
682
py
Python
twisted/lore/test/test_scripts.py
ioggstream/twisted
34f9b1e3f097685839000c656332c66ee85be5d8
[ "Unlicense", "MIT" ]
7
2015-04-28T13:26:11.000Z
2020-02-09T17:01:04.000Z
twisted/lore/test/test_scripts.py
ioggstream/twisted
34f9b1e3f097685839000c656332c66ee85be5d8
[ "Unlicense", "MIT" ]
4
2017-02-19T23:58:13.000Z
2019-11-01T15:31:22.000Z
twisted/lore/test/test_scripts.py
ioggstream/twisted
34f9b1e3f097685839000c656332c66ee85be5d8
[ "Unlicense", "MIT" ]
6
2017-02-13T09:11:02.000Z
2021-06-29T11:22:18.000Z
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for the command-line interface to lore. """ from twisted.trial.unittest import TestCase from twisted.scripts.test.test_scripts import ScriptTestsMixin from twisted.python.test.test_shellcomp import ZshScriptTestMixin class ScriptTest...
24.357143
66
0.73607
79
682
6.316456
0.594937
0.066132
0
0
0
0
0
0
0
0
0
0
0.165689
682
27
67
25.259259
0.876977
0.313783
0
0
0
0
0.107226
0.076923
0
0
0
0
0
1
0.125
false
0
0.375
0
0.875
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
0a83ff2d5a326326c4c83e273dca2750c377b990
505
py
Python
tests/app/test_encryption.py
cds-snc/notifier-api
90b385ec49efbaee7e607516fc7d9f08991af813
[ "MIT" ]
null
null
null
tests/app/test_encryption.py
cds-snc/notifier-api
90b385ec49efbaee7e607516fc7d9f08991af813
[ "MIT" ]
51
2019-07-03T14:11:19.000Z
2019-07-08T12:24:55.000Z
tests/app/test_encryption.py
cds-snc/notifier-api
90b385ec49efbaee7e607516fc7d9f08991af813
[ "MIT" ]
null
null
null
from app.encryption import CryptoSigner signer = CryptoSigner() def test_should_sign_content(notify_api): signer.init_app(notify_api) assert signer.sign("this") != "this" def test_should_verify_content(notify_api): signer.init_app(notify_api) signed = signer.sign("this") assert signer.verify(si...
24.047619
52
0.718812
68
505
5.073529
0.294118
0.156522
0.113043
0.165217
0.588406
0.426087
0.426087
0.426087
0.295652
0.295652
0
0
0.148515
505
20
53
25.25
0.802326
0
0
0.230769
0
0
0.063366
0
0
0
0
0
0.230769
1
0.230769
false
0
0.076923
0
0.307692
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
0a88dbf2d60acbd416ea1b0210d8dbb9c4c7f0c3
370
py
Python
fpipe/utils/meta.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
18
2019-12-16T17:55:57.000Z
2020-10-21T23:25:40.000Z
fpipe/utils/meta.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
23
2019-12-11T14:15:08.000Z
2020-02-17T12:53:21.000Z
fpipe/utils/meta.py
vkvam/fpipe
2905095f46923c6c4c460c3d154544b654136df4
[ "MIT" ]
null
null
null
from typing import Type from fpipe.exceptions import FileDataException from fpipe.file import File from fpipe.meta.abstract import FileData, T def meta_prioritized(t: Type[FileData[T]], *sources: File) -> T: error = FileDataException(t) for s in sources: try: return s[t] except Fi...
23.125
64
0.675676
47
370
5.297872
0.510638
0.108434
0
0
0
0
0
0
0
0
0
0
0.254054
370
15
65
24.666667
0.902174
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.083333
0.333333
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
0
0
1
1
0
0
0
0
2
0a8af313398e9300947e1c20630e8f3c229d4399
332
py
Python
src/experiment.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
1
2019-09-14T20:46:23.000Z
2019-09-14T20:46:23.000Z
src/experiment.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
null
null
null
src/experiment.py
Hiestaa/my-tornado-media-library
6decb97ad02d0ee1613c53dbb1729474e2ea9b42
[ "MIT" ]
1
2021-08-24T03:20:46.000Z
2021-08-24T03:20:46.000Z
import sys import experiments from experiments import * # from experiments import facedetect_facelib # print (dir(experiments.facedetect_facelib)) if __name__ == '__main__': if len(sys.argv) > 1: for name in sys.argv[1:]: getattr(experiments, name).run() else: print("No experiment ...
25.538462
45
0.680723
40
332
5.4
0.55
0.138889
0.194444
0
0
0
0
0
0
0
0
0.007663
0.213855
332
13
46
25.538462
0.819923
0.259036
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0a9605e2ff3f7c01f3377395f7463b60a8dd6e36
499
py
Python
35. Search Insert Position/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
2
2019-10-05T09:48:20.000Z
2019-10-05T15:40:01.000Z
35. Search Insert Position/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
null
null
null
35. Search Insert Position/main.py
Competitive-Programmers-Community/LeetCode
841fdee805b1a626e9f1cd0e12398d25054638af
[ "MIT" ]
3
2020-09-27T05:48:30.000Z
2021-08-13T10:07:08.000Z
class Solution: def searchInsert(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ low = 0 high = len(nums) - 1 while low <= high: mid = (low + high)//2 if nums[mid] == target: ...
23.761905
41
0.398798
51
499
3.901961
0.431373
0.105528
0.19598
0.170854
0
0
0
0
0
0
0
0.02
0.498998
499
20
42
24.95
0.776
0.102204
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.307692
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
0a99bfa3122580b534d14c313f5b6c5b6c5b4929
517
py
Python
hyperion/torch/archs/net_arch.py
jsalt2019-diadet/hyperion
14a11436d62f3c15cd9b1f70bcce3eafbea2f753
[ "Apache-2.0" ]
9
2019-09-22T05:19:59.000Z
2022-03-05T18:03:37.000Z
hyperion/torch/archs/net_arch.py
jsalt2019-diadet/hyperion
14a11436d62f3c15cd9b1f70bcce3eafbea2f753
[ "Apache-2.0" ]
null
null
null
hyperion/torch/archs/net_arch.py
jsalt2019-diadet/hyperion
14a11436d62f3c15cd9b1f70bcce3eafbea2f753
[ "Apache-2.0" ]
4
2019-10-10T06:34:05.000Z
2022-03-05T18:03:56.000Z
""" Copyright 2019 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ from __future__ import absolute_import from __future__ import print_function from __future__ import division from six.moves import xrange import numpy as np import torch.nn as nn clas...
19.884615
66
0.702128
69
517
4.913043
0.608696
0.088496
0.141593
0
0
0
0
0
0
0
0
0.022222
0.216634
517
25
67
20.68
0.814815
0.235977
0
0
0
0
0.025974
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.071429
0.785714
0.071429
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
0aab5fb09294e4ac352bacfb1b87c2c63ee5dbe5
1,597
py
Python
services/traction/acapy_wrapper/models/input_descriptors.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/input_descriptors.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/input_descriptors.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.constraints import Constraints fr...
31.313725
96
0.7201
186
1,597
6.096774
0.387097
0.037037
0.135802
0.185185
0
0
0
0
0
0
0
0.010204
0.202254
1,597
50
97
31.94
0.879906
0.407639
0
0
0
0
0.015642
0
0
0
0
0
0
1
0.041667
false
0
0.291667
0
0.791667
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
0ab64f30409c1028f80ac4063d29d92dfddf82b9
4,140
py
Python
tests/pyqver_tests.py
cnsnyder/pyqver
d33351804b58752c4d9fef63225e1b8362c1cdaf
[ "Zlib" ]
null
null
null
tests/pyqver_tests.py
cnsnyder/pyqver
d33351804b58752c4d9fef63225e1b8362c1cdaf
[ "Zlib" ]
null
null
null
tests/pyqver_tests.py
cnsnyder/pyqver
d33351804b58752c4d9fef63225e1b8362c1cdaf
[ "Zlib" ]
null
null
null
# multiple with statement (2, 7( # from __future__ import with_statement try: import argparse except ImportError, e: pass try: import argparse except (ImportError, KeyError) as e: pass try: import argparse except ImportError as e: pass finally: print 'pass' print "hello world" # 2.0 #...
17.76824
79
0.55628
598
4,140
3.795987
0.232441
0.014097
0.021145
0.035242
0.289868
0.226872
0.132599
0.048458
0.014097
0
0
0.073138
0.27343
4,140
232
80
17.844828
0.681516
0.167874
0
0.454545
0
0
0.034726
0
0
0
0
0
0
0
null
null
0.191919
0.272727
null
null
0.060606
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
0ac3bbab22bebebe7a38116d55bf9ab299be07cc
231
py
Python
example/config.py
platform-ai/Flask-FileUpload
77b26729a114a11820f69372dae30590c13f4a69
[ "MIT" ]
20
2017-04-27T09:11:42.000Z
2022-01-19T06:38:50.000Z
example/config.py
platform-ai/Flask-FileUpload
77b26729a114a11820f69372dae30590c13f4a69
[ "MIT" ]
9
2017-05-07T03:51:55.000Z
2018-12-01T15:43:09.000Z
example/config.py
platform-ai/Flask-FileUpload
77b26729a114a11820f69372dae30590c13f4a69
[ "MIT" ]
6
2017-05-21T13:42:27.000Z
2022-01-19T06:38:51.000Z
SECRET_KEY = "abc" FILEUPLOAD_ALLOWED_EXTENSIONS = ["png"] # FILEUPLOAD_PREFIX = "/cool/upload" # FILEUPLOAD_LOCALSTORAGE_IMG_FOLDER = "images/boring/" FILEUPLOAD_RANDOM_FILE_APPENDIX = True FILEUPLOAD_CONVERT_TO_SNAKE_CASE = True
33
55
0.818182
28
231
6.25
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.08658
231
6
56
38.5
0.829384
0.380952
0
0
0
0
0.042857
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