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
7c9fc3ff3a4cef1b4052a8f426ddf3292f28bfae
565
py
Python
savu/plugins/unregistered/median_filter_deprecated_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
savu/plugins/unregistered/median_filter_deprecated_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
savu/plugins/unregistered/median_filter_deprecated_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from savu.plugins.plugin_tools import PluginTools class MedianFilterDeprecatedTools(PluginTools): """A plugin to filter each frame with a 3x3 median filter """ def define_parameters(self): """ kernel_size: visibility: basic dtype: list[int] descriptio...
28.25
61
0.576991
56
565
5.767857
0.714286
0.074303
0
0
0
0
0
0
0
0
0
0.013736
0.355752
565
20
62
28.25
0.873626
0.561062
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
7cb499608804d0f1f26bc8f760326b5759f9f202
139
py
Python
lib/flaggie/__init__.py
mgorny/flaggie
47578fe4ec3a97def05c4a4b00e675e4c79139ba
[ "BSD-2-Clause" ]
33
2016-11-06T21:55:30.000Z
2022-03-29T16:41:20.000Z
lib/flaggie/__init__.py
mgorny/flaggie
47578fe4ec3a97def05c4a4b00e675e4c79139ba
[ "BSD-2-Clause" ]
12
2017-05-07T16:26:32.000Z
2021-09-22T15:52:13.000Z
lib/flaggie/__init__.py
mgorny/flaggie
47578fe4ec3a97def05c4a4b00e675e4c79139ba
[ "BSD-2-Clause" ]
8
2016-11-06T15:30:49.000Z
2022-03-29T17:46:41.000Z
#!/usr/bin/python # vim:fileencoding=utf-8:noet # (C) 2017 Michał Górny, distributed under the terms of 2-clause BSD license PV = '0.2.1'
23.166667
76
0.71223
25
139
3.96
0.96
0
0
0
0
0
0
0
0
0
0
0.07563
0.143885
139
5
77
27.8
0.756303
0.856115
0
0
0
0
0.294118
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7cc29bb3c9c522d12aac8cccba0a753183f0f504
78
py
Python
linalg/base/any_matrix.py
fedorpashin/linalg
8ef4730c150370f169760dee99a3ef56136cb8f1
[ "MIT" ]
2
2021-09-03T15:08:08.000Z
2021-09-03T15:10:25.000Z
linalg/base/any_matrix.py
fedorpashin/linalg
8ef4730c150370f169760dee99a3ef56136cb8f1
[ "MIT" ]
19
2021-09-03T15:10:30.000Z
2021-11-27T20:51:52.000Z
linalg/base/any_matrix.py
fedorpashin/linalg
8ef4730c150370f169760dee99a3ef56136cb8f1
[ "MIT" ]
null
null
null
from abc import ABC __all__ = ['AnyMatrix'] class AnyMatrix(ABC): pass
9.75
23
0.679487
10
78
4.9
0.7
0
0
0
0
0
0
0
0
0
0
0
0.217949
78
7
24
11.142857
0.803279
0
0
0
0
0
0.115385
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7cc974098e8deb5839e045ce4f4c4fee1bc816c0
2,480
py
Python
Pages/ShoppingCartPage.py
StephenCoyleUK/SCSeleniumTest
7b6b5d57e354f86f15402358aa18634338b4470f
[ "MIT" ]
null
null
null
Pages/ShoppingCartPage.py
StephenCoyleUK/SCSeleniumTest
7b6b5d57e354f86f15402358aa18634338b4470f
[ "MIT" ]
null
null
null
Pages/ShoppingCartPage.py
StephenCoyleUK/SCSeleniumTest
7b6b5d57e354f86f15402358aa18634338b4470f
[ "MIT" ]
null
null
null
import re from selenium.webdriver.support.wait import ( TimeoutException, WebDriverWait, ) class ShoppingCartPage(object): # model of the header at the top of each page wait_timeout = 5 def __init__(self, browser): self.browser = browser def wait_until_loaded(self): """Determ...
33.972603
115
0.677419
307
2,480
5.221498
0.296417
0.089208
0.084841
0.104803
0.474735
0.395508
0.395508
0.395508
0.34685
0.285714
0
0.000533
0.243952
2,480
72
116
34.444444
0.8544
0.177016
0
0.333333
0
0
0.08539
0.027147
0
0
0
0
0
1
0.229167
false
0
0.041667
0.166667
0.520833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7cddf296897d533a27c23d819760a3ba899d6dcd
76
py
Python
pyRoute13/api/planner/__init__.py
ianphil/pyRoute13
6aa830ebb0adb563fc3023527140664c4ac9e1b1
[ "MIT" ]
null
null
null
pyRoute13/api/planner/__init__.py
ianphil/pyRoute13
6aa830ebb0adb563fc3023527140664c4ac9e1b1
[ "MIT" ]
null
null
null
pyRoute13/api/planner/__init__.py
ianphil/pyRoute13
6aa830ebb0adb563fc3023527140664c4ac9e1b1
[ "MIT" ]
null
null
null
__all__ = ["planner", "route_calculator", "route_planner", "route", "trie"]
38
75
0.684211
8
76
5.75
0.625
0.521739
0
0
0
0
0
0
0
0
0
0
0.092105
76
1
76
76
0.666667
0
0
0
0
0
0.592105
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7ce3c53491f79216075161da8820a2347a9346e5
670
py
Python
chemdataextractor_batteries/chemdataextractor/parse/base.py
MB9991/test_demo-
ca3df4ecf20f7a26a621f68caf668f2e726a737d
[ "MIT" ]
199
2016-10-07T06:55:23.000Z
2022-03-29T09:50:03.000Z
chemdataextractor/parse/base.py
qingtong00/ChemDataExtractor
349a3bea965f2073141d62043b89319222e46af1
[ "MIT" ]
29
2016-10-04T08:56:05.000Z
2022-03-06T19:36:55.000Z
chemdataextractor/parse/base.py
qingtong00/ChemDataExtractor
349a3bea965f2073141d62043b89319222e46af1
[ "MIT" ]
95
2016-10-10T14:24:27.000Z
2022-03-16T18:30:00.000Z
# -*- coding: utf-8 -*- """ chemdataextractor.parse.base ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from abc import abstractproperty, abstractmethod import logging log = loggin...
19.142857
49
0.653731
71
670
5.84507
0.549296
0.096386
0.154217
0
0
0
0
0
0
0
0
0.001916
0.220896
670
34
50
19.705882
0.793103
0.119403
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.111111
0.333333
0
0.555556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
6b03c10ed3dc77af99bc8945cabd41e99b5cb0f0
3,014
py
Python
frameworks/spark/pyspark_runtime/amaterasu_pyspark/runtime.py
apache/incubator-amaterasu--
b2eec0a0dc3de0368e8f7fea37c7d956c24c2f77
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
54
2017-10-01T05:18:53.000Z
2019-10-21T04:31:23.000Z
frameworks/spark/pyspark_runtime/amaterasu_pyspark/runtime.py
apache/incubator-amaterasu--
b2eec0a0dc3de0368e8f7fea37c7d956c24c2f77
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
16
2018-01-11T08:42:04.000Z
2019-06-27T04:55:04.000Z
frameworks/spark/pyspark_runtime/amaterasu_pyspark/runtime.py
apache/incubator-amaterasu--
b2eec0a0dc3de0368e8f7fea37c7d956c24c2f77
[ "PSF-2.0", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
23
2017-10-28T09:06:29.000Z
2019-10-18T09:53:23.000Z
""" Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use t...
35.458824
117
0.720305
373
3,014
5.670241
0.375335
0.026478
0.031206
0.01513
0
0
0
0
0
0
0
0.001651
0.196085
3,014
84
118
35.880952
0.871234
0.275382
0
0.104167
0
0
0.040703
0
0
0
0
0
0
1
0.229167
false
0
0.145833
0.104167
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6b1038085058edd4c544c9cde5a9c9853a62cd0e
87,669
py
Python
aliyun-tablestore-python-sdk-master/tablestore/protobuf/py2/search_pb2.py
SuiMingYang/sales-message-classify
1b9ce984e907b688096c2287ad80e495034b347c
[ "MIT" ]
1
2020-09-01T10:37:51.000Z
2020-09-01T10:37:51.000Z
aliyun-tablestore-python-sdk-master/tablestore/protobuf/py2/search_pb2.py
SuiMingYang/sales-message-classify
1b9ce984e907b688096c2287ad80e495034b347c
[ "MIT" ]
null
null
null
aliyun-tablestore-python-sdk-master/tablestore/protobuf/py2/search_pb2.py
SuiMingYang/sales-message-classify
1b9ce984e907b688096c2287ad80e495034b347c
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) DESCRIPTOR = descriptor.FileDescriptor( name='search.proto', ...
37.723322
8,910
0.745543
10,990
87,669
5.70646
0.049409
0.053066
0.093376
0.104618
0.796856
0.751347
0.692174
0.616162
0.579249
0.514797
0
0.039818
0.129145
87,669
2,323
8,911
37.739561
0.781616
0.041737
0
0.665547
1
0.00048
0.243426
0.207494
0
0
0
0
0
1
0
false
0
0.001919
0
0.06238
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6b10be29fdd5d3efddaa8ea7924a9edfee2aebea
2,320
py
Python
src/bq_test_kit/bq_dsl/bq_resources/resource_strategy.py
tiboun/python-bigquery-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
31
2021-03-03T21:07:44.000Z
2022-03-20T22:00:45.000Z
src/bq_test_kit/bq_dsl/bq_resources/resource_strategy.py
tiboun/python-bq-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
14
2020-11-25T20:45:31.000Z
2021-01-29T13:06:28.000Z
src/bq_test_kit/bq_dsl/bq_resources/resource_strategy.py
tiboun/python-bq-test-kit
8f62bdf21122b615f56088a8e2701e0bb4c71f3b
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Bounkong Khamphousone # # This software is released under the MIT License. # https://opensource.org/licenses/MIT """ This module contains all kind of resource strategy. """ from typing import Callable class BaseResourceStrategy(): """Resource management strategy to use with BaseBQResour...
29
85
0.644828
249
2,320
5.987952
0.285141
0.120724
0.120724
0.147552
0.670691
0.670691
0.658618
0.633132
0.633132
0.458753
0
0.002264
0.238362
2,320
79
86
29.367089
0.841539
0.37931
0
0.678571
0
0
0.069572
0
0
0
0
0
0
1
0.357143
false
0.107143
0.035714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6b18ca3e6c8cb711370ce679ea30f8f6893e27f5
191
py
Python
utils/shortcuts.py
Kolynes/BlogEngine
93a77b47a954113dccf25de1469391d4fc681277
[ "MIT" ]
null
null
null
utils/shortcuts.py
Kolynes/BlogEngine
93a77b47a954113dccf25de1469391d4fc681277
[ "MIT" ]
5
2021-02-04T22:20:04.000Z
2021-05-12T00:02:28.000Z
utils/shortcuts.py
Kolynes/BlogEngine
93a77b47a954113dccf25de1469391d4fc681277
[ "MIT" ]
null
null
null
from django.http import JsonResponse def json_response(status, data=None, error=None): return JsonResponse({ "status": status, "data": data, "error": error })
23.875
49
0.623037
21
191
5.619048
0.619048
0.169492
0
0
0
0
0
0
0
0
0
0
0.256545
191
8
50
23.875
0.830986
0
0
0
0
0
0.078125
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
6b3d57272e61fa598c405b9a08327fd1988f115d
2,409
py
Python
ambari-common/src/main/python/resource_management/libraries/functions/__init__.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
ambari-common/src/main/python/resource_management/libraries/functions/__init__.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
ambari-common/src/main/python/resource_management/libraries/functions/__init__.py
kennyballou/ambari
8985bcf11296d540a861a8634c17d6b9b1accd5a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License");...
47.235294
77
0.844749
324
2,409
6.101852
0.376543
0.133536
0.244815
0.344967
0.548811
0.508346
0.345473
0.080425
0
0
0
0.001842
0.098796
2,409
50
78
48.18
0.908798
0.327937
0
0
0
0
0.004348
0
0
0
0
0
0
1
0
false
0
0.92
0
0.92
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6b44b3fa2887fbea2b375494f2be5f5b0099ec3e
1,787
py
Python
CoreRoot/wsgi.py
Nathan-E-White/DjangoBackend-ReactFrontend
64528a5d42c6b25347114bf5519d311ef65a5547
[ "Apache-2.0" ]
null
null
null
CoreRoot/wsgi.py
Nathan-E-White/DjangoBackend-ReactFrontend
64528a5d42c6b25347114bf5519d311ef65a5547
[ "Apache-2.0" ]
1
2021-10-13T07:55:16.000Z
2021-10-13T07:55:16.000Z
CoreRoot/wsgi.py
Nathan-E-White/DjangoBackend-ReactFrontend
64528a5d42c6b25347114bf5519d311ef65a5547
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python """ ------------------------------------------------------------------------------------------------------------------------ ____ __ __ __ __ __ / __ \__ __/ /_/ /_ ____ ____ / / / /__ ____ _____/ /__ _____ ...
49.638889
121
0.390039
100
1,787
5.33
0.64
0.084428
0.067542
0
0
0
0
0
0
0
0
0.001472
0.239508
1,787
35
122
51.057143
0.390728
0.870733
0
0
0
0
0.21547
0.121547
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
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
86102657f8e422bc7270d77686ae8b3c29d180b5
560
py
Python
chaos_cases/api.py
haoheiyo/chaos-cases
d88564ef02df475330d68058a544b7595e914bcd
[ "MIT" ]
null
null
null
chaos_cases/api.py
haoheiyo/chaos-cases
d88564ef02df475330d68058a544b7595e914bcd
[ "MIT" ]
null
null
null
chaos_cases/api.py
haoheiyo/chaos-cases
d88564ef02df475330d68058a544b7595e914bcd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from .main import Chaos def chaos(params, custom, *args, **kwargs): """ :param params:参数列表 ["name", "age","sex","like"] :param custom:自定义参数值 {"name": "zhangsan","like":"qiu"} :param type: product 笛卡尔积  (有放回抽样排列) permutations...
29.473684
63
0.573214
63
560
5.063492
0.730159
0.068966
0.106583
0.131661
0.169279
0
0
0
0
0
0
0.002445
0.269643
560
18
64
31.111111
0.777506
0.675
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
8619072d58edf823bbf85fad346c8c5d9bc0886c
117,749
py
Python
libs/SmartMeshSDK/HartMgrConnector/HartMgrConnector.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
29
2015-02-17T14:22:14.000Z
2021-02-19T06:01:10.000Z
libs/SmartMeshSDK/HartMgrConnector/HartMgrConnector.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
17
2017-02-10T09:43:13.000Z
2017-09-09T05:46:49.000Z
libs/SmartMeshSDK/HartMgrConnector/HartMgrConnector.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
35
2015-07-10T18:58:15.000Z
2022-03-20T08:56:25.000Z
''' This module was generated automatically. Do not edit directly. ''' import collections from SmartMeshSDK import ApiException from HartMgrConnectorInternal import HartMgrConnectorInternal ## # \addtogroup HartMgrConnector # \{ # class HartMgrConnector(HartMgrConnectorInternal): ''' \bri...
48.717005
566
0.63581
14,973
117,749
4.956054
0.035531
0.022882
0.091366
0.12802
0.717601
0.688291
0.663118
0.661447
0.637972
0.637972
0
0.007813
0.259807
117,749
2,416
567
48.737169
0.843604
0.643148
0
0.072072
1
0
0.193442
0.028916
0
0
0
0
0
1
0.171171
false
0.006006
0.009009
0
0.744745
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
1
0
0
3
8631bc92d9d2e757c6e0dd09a3ea45a571b5a319
203
py
Python
tests/data.py
palanskiheji/wcfmclient
2e8e6fd9c65ec48a3994385bee681684d68d78fc
[ "MIT" ]
null
null
null
tests/data.py
palanskiheji/wcfmclient
2e8e6fd9c65ec48a3994385bee681684d68d78fc
[ "MIT" ]
null
null
null
tests/data.py
palanskiheji/wcfmclient
2e8e6fd9c65ec48a3994385bee681684d68d78fc
[ "MIT" ]
1
2021-11-07T00:41:13.000Z
2021-11-07T00:41:13.000Z
from decouple import config from wcfmclient.session import session options = { "username": config("username"), "password": config("password"), "url": config("url"), "session": session }
20.3
38
0.665025
21
203
6.428571
0.47619
0
0
0
0
0
0
0
0
0
0
0
0.182266
203
9
39
22.555556
0.813253
0
0
0
0
0
0.221675
0
0
0
0
0
0
1
0
false
0.125
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
1
0
0
0
0
0
3
8647e4d1f5fb24a1d03fed3476be1962605d9059
926
py
Python
tests/src/year2017/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
10
2017-12-11T17:54:52.000Z
2021-12-09T20:16:30.000Z
tests/src/year2017/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
260
2015-12-09T11:03:03.000Z
2021-12-12T14:32:23.000Z
tests/src/year2017/test_day06a.py
lancelote/advent_of_code
06dda6ca034bc1e86addee7798bb9b2a34ff565b
[ "Unlicense" ]
null
null
null
"""2017 - Day 6 Part 1: Memory Reallocation tests.""" from src.year2017.day06a import Memory from src.year2017.day06a import solve class TestMemory: def test_copy(self): assert str(Memory([1, 2, 3])) == "1 2 3" def test_copy_multiple_digit_numbers(self): assert str(Memory([11, 22, 33])) == "1...
28.9375
58
0.586393
131
926
4.068702
0.290076
0.065666
0.225141
0.281426
0.581614
0.146341
0.146341
0.146341
0.146341
0
0
0.113069
0.264579
926
31
59
29.870968
0.669604
0.050756
0
0.304348
0
0
0.034364
0
0
0
0
0
0.391304
1
0.217391
false
0
0.086957
0
0.347826
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
866c94b144728e2fc8223a528a9d6c7da092f7a5
233
py
Python
config_officer/api/urls.py
kzarms/netbox-plugin-config-officer
b3256cf4c98baf1b8871fb8aa8fb1ea509b2e378
[ "Apache-2.0" ]
57
2021-03-04T10:22:26.000Z
2022-03-25T10:08:15.000Z
config_officer/api/urls.py
kzarms/netbox-plugin-config-officer
b3256cf4c98baf1b8871fb8aa8fb1ea509b2e378
[ "Apache-2.0" ]
7
2021-03-05T02:56:17.000Z
2022-01-24T09:41:11.000Z
config_officer/api/urls.py
kzarms/netbox-plugin-config-officer
b3256cf4c98baf1b8871fb8aa8fb1ea509b2e378
[ "Apache-2.0" ]
8
2021-03-02T10:18:32.000Z
2022-03-30T03:25:58.000Z
"""REST API URLs for compliance.""" from rest_framework import routers from .views import GlobalDataCollectionView router = routers.DefaultRouter() router.register(r"collection", GlobalDataCollectionView) urlpatterns = router.urls
25.888889
56
0.815451
25
233
7.56
0.68
0
0
0
0
0
0
0
0
0
0
0
0.098712
233
8
57
29.125
0.9
0.124464
0
0
0
0
0.050505
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
866dace7d71c00da4b7e7bc6aaf0a34cbfe5766c
131
py
Python
sp/__init__.py
klightz/Firefly
ebb069d74476ee88020f4565119ca8062117d6fa
[ "MIT" ]
29
2020-10-26T20:52:25.000Z
2022-02-12T05:53:19.000Z
sp/__init__.py
sherryzyh/Firefly
fa4f35b068858fa6e2b4198d2b52cbee16fb13df
[ "MIT" ]
null
null
null
sp/__init__.py
sherryzyh/Firefly
fa4f35b068858fa6e2b4198d2b52cbee16fb13df
[ "MIT" ]
5
2020-10-26T21:22:21.000Z
2021-06-15T13:41:35.000Z
from .conv import Conv2d from .net import SpNet from .module import SpModule __all__ = [ 'SpNet', 'SpModule', 'Conv2d', ]
14.555556
28
0.671756
16
131
5.25
0.5625
0
0
0
0
0
0
0
0
0
0
0.019417
0.21374
131
8
29
16.375
0.796117
0
0
0
0
0
0.145038
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
868f93d11f1acb79fb0bae77c7f9fb12535ce421
380
py
Python
Professional/91/forms.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
1
2021-12-25T02:19:18.000Z
2021-12-25T02:19:18.000Z
Professional/91/forms.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
null
null
null
Professional/91/forms.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
1
2021-11-25T10:31:47.000Z
2021-11-25T10:31:47.000Z
from flask_wtf import FlaskForm from flask_wtf.file import FileRequired, FileAllowed from wtforms.fields import FileField, SubmitField from wtforms.validators import DataRequired class ImageForm(FlaskForm): image = FileField("Image", validators=[DataRequired(), FileRequired(), FileAllowed(['jpg', 'png'], 'Images o...
42.222222
120
0.778947
42
380
7
0.595238
0.061224
0.081633
0
0
0
0
0
0
0
0
0
0.113158
380
8
121
47.5
0.872404
0
0
0
0
0
0.118421
0
0
0
0
0
0
1
0
false
0
0.571429
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
86a446ccd9a4ac3bbf1a4778571ad80511dde9f7
373
py
Python
packages/syft/src/syft/core/node/vm/__init__.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
8,428
2017-08-10T09:17:49.000Z
2022-03-31T08:20:14.000Z
packages/syft/src/syft/core/node/vm/__init__.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
4,779
2017-08-09T23:19:00.000Z
2022-03-29T11:49:36.000Z
packages/syft/src/syft/core/node/vm/__init__.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
2,307
2017-08-10T08:52:12.000Z
2022-03-30T05:36:07.000Z
# stdlib from typing import Dict # noqa: F401 # relative from ..common.node_service.node_service import NodeService # noqa: F401 from .client import VirtualMachineClient from .vm import VirtualMachine message_service_mapping: Dict[str, NodeService] = {} __all__ = [ "NodeService", "VirtualMachineClient", ...
21.941176
72
0.747989
39
373
6.897436
0.512821
0.05948
0.208178
0.260223
0
0
0
0
0
0
0
0.019169
0.160858
373
16
73
23.3125
0.840256
0.099196
0
0
0
0
0.205438
0.069486
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
86bb694efdacc6ccbe6f217f09a70695e329c1a3
261
py
Python
benchmarks/utils/__init__.py
maudl3116/GPS
381a8e209bfec4c06b43ed4b69445bdf5c365409
[ "Apache-2.0" ]
null
null
null
benchmarks/utils/__init__.py
maudl3116/GPS
381a8e209bfec4c06b43ed4b69445bdf5c365409
[ "Apache-2.0" ]
null
null
null
benchmarks/utils/__init__.py
maudl3116/GPS
381a8e209bfec4c06b43ed4b69445bdf5c365409
[ "Apache-2.0" ]
1
2021-01-30T12:58:46.000Z
2021-01-30T12:58:46.000Z
from .datasets import load_dataset from .datasets_regression import load_dataset_regression from .initialization import suggest_initial_inducing_tensors, suggest_initial_inducing_sequences, suggest_initial_lengthscales from .training import fit_nn_with_gp_layer
65.25
126
0.911877
34
261
6.529412
0.558824
0.189189
0.153153
0
0
0
0
0
0
0
0
0
0.065134
261
4
127
65.25
0.909836
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
86bc927e4f5caa95ec3e7c3167143ade2c51bfa9
2,113
py
Python
Codes/BoundedQueue.py
konantian/Data-Structure
8fda05e10c44719b4a88c3e1868829d797984754
[ "MIT" ]
null
null
null
Codes/BoundedQueue.py
konantian/Data-Structure
8fda05e10c44719b4a88c3e1868829d797984754
[ "MIT" ]
null
null
null
Codes/BoundedQueue.py
konantian/Data-Structure
8fda05e10c44719b4a88c3e1868829d797984754
[ "MIT" ]
null
null
null
class BoundedQueue: # Constructor, which creates a new empty queue: def __init__(self, capacity): assert isinstance(capacity, int), ('Error: Type error: %s' % (type(capacity))) assert capacity >= 0, ('Error: Illegal capacity: %d' % (capacity)) self.__items = [] self.__capacity ...
34.080645
87
0.602934
273
2,113
4.483516
0.267399
0.095588
0.058824
0.051471
0.375817
0.260621
0.206699
0.206699
0.152778
0.106209
0
0.004755
0.30336
2,113
62
88
34.080645
0.826766
0.318031
0
0.162162
0
0
0.084919
0
0
0
0
0
0.054054
1
0.324324
false
0
0
0.162162
0.594595
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
86cfaef48b7b39f37e320a616e3c86a2f0a04c99
10,826
py
Python
tests/common.py
iqbal-lab-org/pandora_paper_roc
bb21c76faefa8021c86c3be9d77b8b5999fe2ef5
[ "MIT" ]
null
null
null
tests/common.py
iqbal-lab-org/pandora_paper_roc
bb21c76faefa8021c86c3be9d77b8b5999fe2ef5
[ "MIT" ]
null
null
null
tests/common.py
iqbal-lab-org/pandora_paper_roc
bb21c76faefa8021c86c3be9d77b8b5999fe2ef5
[ "MIT" ]
2
2020-11-04T18:15:43.000Z
2020-11-06T01:38:08.000Z
import tempfile from typing import Type import pysam from evaluate.classifier import Classifier from evaluate.probe import ProbeHeader, ProbeInterval import tempfile from pathlib import Path from evaluate.classification import AlignmentAssessment import pandas as pd def create_classifier_with_two_entries(cls: Type) ->...
32.608434
132
0.654351
1,466
10,826
4.652115
0.134379
0.030352
0.062317
0.033871
0.767302
0.725073
0.709824
0.697507
0.681232
0.655279
0
0.058596
0.210235
10,826
331
133
32.706949
0.739064
0
0
0.663265
0
0.044218
0.265934
0.176427
0
0
0
0
0
1
0.057823
false
0
0.030612
0.003401
0.146259
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
86fd511a9416d9d4c17b70bcdf632d8de8a134c0
164
py
Python
tests/utils/test_exception.py
freefrag/mlflow
b8e74cfc591397290e1c1ba2600be7daa64b4c05
[ "Apache-2.0" ]
1,825
2018-06-05T17:30:39.000Z
2022-03-24T13:39:46.000Z
tests/utils/test_exception.py
freefrag/mlflow
b8e74cfc591397290e1c1ba2600be7daa64b4c05
[ "Apache-2.0" ]
200
2018-06-06T02:30:57.000Z
2018-07-30T17:06:34.000Z
tests/utils/test_exception.py
freefrag/mlflow
b8e74cfc591397290e1c1ba2600be7daa64b4c05
[ "Apache-2.0" ]
301
2018-06-05T17:47:48.000Z
2022-03-17T12:09:17.000Z
from mlflow.exceptions import ExecutionException def test_execution_exception_string_repr(): exc = ExecutionException("Uh oh") assert str(exc) == "Uh oh"
23.428571
48
0.756098
20
164
6
0.8
0.066667
0
0
0
0
0
0
0
0
0
0
0.152439
164
6
49
27.333333
0.863309
0
0
0
0
0
0.060976
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
81001b9aba9ee05a14270bff53e378cb363d3560
7,890
py
Python
filebrowser/templatetags/fb_versions.py
klueska/django-filebrowser
71cd35e876529d526a5b31380609b93209c7a0e4
[ "BSD-3-Clause" ]
null
null
null
filebrowser/templatetags/fb_versions.py
klueska/django-filebrowser
71cd35e876529d526a5b31380609b93209c7a0e4
[ "BSD-3-Clause" ]
null
null
null
filebrowser/templatetags/fb_versions.py
klueska/django-filebrowser
71cd35e876529d526a5b31380609b93209c7a0e4
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # PYTHON IMPORTS import os, re from time import gmtime # DJANGO IMPORTS from django.template import Library, Node, Variable, VariableDoesNotExist, TemplateSyntaxError from django.conf import settings from django.utils.encoding import force_unicode, smart_str from django.core.files import File # FILE...
39.648241
134
0.645501
920
7,890
5.351087
0.147826
0.211253
0.06561
0.0195
0.708917
0.690636
0.682104
0.636401
0.636401
0.636401
0
0.006373
0.264132
7,890
198
135
39.848485
0.841543
0.014195
0
0.689655
0
0
0.043383
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0
0
0
0
null
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
8114340d3724d54ced3929f08b75f800b7387056
186
py
Python
tests/test_input_octahedron.py
olivierverdier/sfepy
83aefb7b33ea17f4acb83388ba8bc7314c77616c
[ "BSD-3-Clause" ]
1
2015-07-30T13:47:23.000Z
2015-07-30T13:47:23.000Z
tests/test_input_octahedron.py
olivierverdier/sfepy
83aefb7b33ea17f4acb83388ba8bc7314c77616c
[ "BSD-3-Clause" ]
null
null
null
tests/test_input_octahedron.py
olivierverdier/sfepy
83aefb7b33ea17f4acb83388ba8bc7314c77616c
[ "BSD-3-Clause" ]
null
null
null
# c: 15.02.2008, r: 15.02.2008 input_name = '../examples/diffusion/octahedron.py' output_name = 'test_octahedron.vtk' from testsBasic import TestInput class Test( TestInput ): pass
23.25
50
0.736559
27
186
4.962963
0.740741
0.059701
0.119403
0
0
0
0
0
0
0
0
0.099379
0.134409
186
7
51
26.571429
0.732919
0.150538
0
0
0
0
0.346154
0.224359
0
0
0
0
0
1
0
false
0.2
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
812002cc19feeffdc5566f7d57b4d05f163a1d12
169
py
Python
py/cidoc_crm_types/properties/p54i_is_current_permanent_location_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p54i_is_current_permanent_location_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
py/cidoc_crm_types/properties/p54i_is_current_permanent_location_of.py
minorg/cidoc-crm-types
9018bdbf0658e4d28a87bc94543e467be45d8aa5
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass @dataclass class P54iIsCurrentPermanentLocationOf: URI = "http://erlangen-crm.org/current/P54i_is_current_permanent_location_of"
24.142857
81
0.83432
19
169
7.157895
0.894737
0
0
0
0
0
0
0
0
0
0
0.026144
0.094675
169
6
82
28.166667
0.862745
0
0
0
0
0
0.408284
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
81357c8b37eec5cec19398b66c6eea75f8659657
3,403
py
Python
Tools/Dev/rbuild/askapdev/rbuild/dependencies/ordereddict.py
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Tools/Dev/rbuild/askapdev/rbuild/dependencies/ordereddict.py
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Tools/Dev/rbuild/askapdev/rbuild/dependencies/ordereddict.py
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
## @file # Module to gather dependency information for ASKAP packages # # @copyright (c) 2006 CSIRO # Australia Telescope National Facility (ATNF) # Commonwealth Scientific and Industrial Research Organisation (CSIRO) # PO Box 76, Epping NSW 1710, Australia # atnf-enquiries@csiro.au # # This file is part of the ASKAP ...
34.72449
76
0.67176
505
3,403
4.459406
0.362376
0.031083
0.042629
0.063943
0.271758
0.215364
0.14254
0.14254
0.10302
0.10302
0
0.011449
0.255657
3,403
97
77
35.082474
0.877615
0.665295
0
0.068966
0
0
0
0
0
0
0
0
0
1
0.344828
false
0
0
0.172414
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d4accd08d1f08bd10e30475aa132d2bd790743c4
1,511
py
Python
test/test.py
liangdzou/pycall
576ce6305476054d123720651ee9335f8d4c6b0b
[ "MIT" ]
3
2017-05-10T04:44:50.000Z
2017-11-10T03:54:23.000Z
test/test.py
lntimz/pycall
576ce6305476054d123720651ee9335f8d4c6b0b
[ "MIT" ]
null
null
null
test/test.py
lntimz/pycall
576ce6305476054d123720651ee9335f8d4c6b0b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #+---------------------------------------------------------------------------+ #| This file is subject to the terms and conditions defined in file | #| 'LICENSE.txt', which is part of this source code package. | #| ...
58.115385
78
0.2773
87
1,511
4.816092
0.678161
0.078759
0.066826
0
0
0
0
0
0
0
0
0.010817
0.449371
1,511
25
79
60.44
0.492788
0.829252
0
0
0
0
0.5
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d4c4e5ba156b42d991ba0892adf714264e805a4a
289
py
Python
app/web/home/views.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
app/web/home/views.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
app/web/home/views.py
FHellmann/MLWTF
582c3505d638907a848d5a6c739ee99981300f17
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python """ Author: Fabio Hellmann <info@fabio-hellmann.de> """ from flask import render_template from . import home @home.route('/') def index(): """ Render the homepage template on the / route """ return render_template('home/index.html', title="Home")
17
59
0.653979
37
289
5.054054
0.621622
0.139037
0
0
0
0
0
0
0
0
0
0
0.190311
289
16
60
18.0625
0.799145
0.373702
0
0
0
0
0.12987
0
0
0
0
0
0
1
0.2
true
0
0.4
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
0
1
0
1
0
1
0
0
3
d4cf5901bbff6f20f46d762a12967db49b83b651
16,248
py
Python
tests/components/cover/test_device_action.py
liangleslie/core
cc807b4d597daaaadc92df4a93c6e30da4f570c6
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/cover/test_device_action.py
liangleslie/core
cc807b4d597daaaadc92df4a93c6e30da4f570c6
[ "Apache-2.0" ]
24,710
2016-04-13T08:27:26.000Z
2020-03-02T12:59:13.000Z
tests/components/cover/test_device_action.py
liangleslie/core
cc807b4d597daaaadc92df4a93c6e30da4f570c6
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The tests for Cover device actions.""" import pytest import homeassistant.components.automation as automation from homeassistant.components.cover import ( DOMAIN, SUPPORT_CLOSE, SUPPORT_CLOSE_TILT, SUPPORT_OPEN, SUPPORT_OPEN_TILT, SUPPORT_SET_POSITION, SUPPORT_SET_TILT_POSITION, SUPP...
33.570248
87
0.595519
1,746
16,248
5.221077
0.084192
0.016893
0.023036
0.031264
0.75373
0.735849
0.721259
0.697126
0.681878
0.642168
0
0.010264
0.292405
16,248
483
88
33.639752
0.782639
0.010155
0
0.523474
0
0
0.129003
0.009781
0
0
0
0
0.103286
1
0.004695
false
0
0.025822
0
0.035211
0.002347
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d4d42341c13e29e5a415360bc7813dbc7a7388b9
109
py
Python
src/scing/error.py
hisplan/scing
c677235eba2ca371113b154301fb59916a3c481f
[ "MIT" ]
null
null
null
src/scing/error.py
hisplan/scing
c677235eba2ca371113b154301fb59916a3c481f
[ "MIT" ]
null
null
null
src/scing/error.py
hisplan/scing
c677235eba2ca371113b154301fb59916a3c481f
[ "MIT" ]
1
2022-02-24T20:42:45.000Z
2022-02-24T20:42:45.000Z
import logging logger = logging.getLogger() def raise_error(msg: str): logger.error(msg) exit(1)
10.9
28
0.678899
15
109
4.866667
0.733333
0.219178
0
0
0
0
0
0
0
0
0
0.011494
0.201835
109
9
29
12.111111
0.827586
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be194c9a771e55046609f1fe91903cbe554ac205
95
py
Python
scale/error/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
121
2015-11-18T18:15:33.000Z
2022-03-10T01:55:00.000Z
scale/error/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
1,415
2015-12-23T23:36:04.000Z
2022-01-07T14:10:09.000Z
scale/error/__init__.py
kaydoh/scale
1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee
[ "Apache-2.0" ]
66
2015-12-03T20:38:56.000Z
2020-07-27T15:28:11.000Z
"""The standard interface for errors in scale""" default_app_config = 'error.apps.ErrorConfig'
31.666667
48
0.778947
13
95
5.538462
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
95
2
49
47.5
0.847059
0.442105
0
0
0
0
0.468085
0.468085
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be2c22a6f745aca4447882bed9fa64848769a1fb
437
py
Python
1 Coursera - Getting Started with Python - University of Michigan/Week 5/Exercise 3.3 on py4e Website.py
ishaan-narula/coursera-python-for-everybody
21a927aeebe1826cba48aa7849afda9af11fc300
[ "MIT" ]
null
null
null
1 Coursera - Getting Started with Python - University of Michigan/Week 5/Exercise 3.3 on py4e Website.py
ishaan-narula/coursera-python-for-everybody
21a927aeebe1826cba48aa7849afda9af11fc300
[ "MIT" ]
null
null
null
1 Coursera - Getting Started with Python - University of Michigan/Week 5/Exercise 3.3 on py4e Website.py
ishaan-narula/coursera-python-for-everybody
21a927aeebe1826cba48aa7849afda9af11fc300
[ "MIT" ]
null
null
null
score = input('Please enter your score.') score_float = float(score) if (score_float >= 0.9 and score_float < 1.0) : grade = 'A' elif (score_float >= 0.8 and score_float < 1.0) : grade = 'B' elif (score_float >= 0.7 and score_float < 1.0) : grade = 'C' elif (score_float >= 0.6 and score_float < 1.0) : ...
24.277778
49
0.613272
75
437
3.426667
0.32
0.428016
0.256809
0.217899
0.486381
0.486381
0.225681
0.225681
0
0
0
0.059347
0.228833
437
17
50
25.705882
0.703264
0
0
0
0
0
0.077803
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0775b1000478c42587c66e8dfde0963848da7170
3,160
py
Python
advertorch/advertorch/bpda.py
sleepstagingrest/rest
cf0de7ae82b6b74fe23e9d057214970cd3c9672d
[ "MIT" ]
18
2020-02-03T07:14:40.000Z
2021-12-20T18:45:43.000Z
advertorch/advertorch/bpda.py
sleepstagingrest/rest
cf0de7ae82b6b74fe23e9d057214970cd3c9672d
[ "MIT" ]
11
2020-01-28T23:16:25.000Z
2022-02-10T01:04:56.000Z
advertorch/advertorch/bpda.py
sleepstagingrest/REST
cf0de7ae82b6b74fe23e9d057214970cd3c9672d
[ "MIT" ]
2
2020-08-20T08:15:09.000Z
2021-02-23T07:30:40.000Z
# Copyright (c) 2018-present, Royal Bank of Canada. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # # BPDA stands for Backward Pass Differentiable Approximation # See: # Athalye, A., Carlini, N. & Wagner, D.. (2018). Obf...
33.978495
79
0.692722
403
3,160
5.225806
0.39206
0.047483
0.020893
0.019943
0.186135
0.100665
0.067426
0
0
0
0
0.007829
0.231962
3,160
92
80
34.347826
0.859909
0.35981
0
0
0
0
0
0
0
0
0
0.021739
0
1
0.282609
false
0.021739
0.065217
0.065217
0.630435
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
07a7f8ea8beaa513708e80460dbb7650010bc3c5
692
py
Python
teslajsonpy/vehicle.py
ultratoto14/teslajsonpy
63e6ffd478ac70c4c1b91214b5d87c8ff397a7ed
[ "WTFPL" ]
null
null
null
teslajsonpy/vehicle.py
ultratoto14/teslajsonpy
63e6ffd478ac70c4c1b91214b5d87c8ff397a7ed
[ "WTFPL" ]
null
null
null
teslajsonpy/vehicle.py
ultratoto14/teslajsonpy
63e6ffd478ac70c4c1b91214b5d87c8ff397a7ed
[ "WTFPL" ]
null
null
null
class VehicleDevice: def __init__(self, data, controller): self._id = data['id'] self._vehicle_id = data['vehicle_id'] self._vin = data['vin'] self._state = data['state'] self._controller = controller self.should_poll = True def _name(self): return 'Tesla...
24.714286
60
0.563584
81
692
4.555556
0.358025
0.075881
0.075881
0.102981
0.271003
0.271003
0.271003
0.271003
0.271003
0.271003
0
0.004132
0.300578
692
27
61
25.62963
0.758264
0
0
0.181818
0
0
0.08237
0
0
0
0
0
0
1
0.272727
false
0
0
0.227273
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
07b38f94c4e33131757282094068207c97f42edf
2,507
py
Python
python/plugins/processing/algs/qgis/QgisAlgorithm.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/processing/algs/qgis/QgisAlgorithm.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
python/plugins/processing/algs/qgis/QgisAlgorithm.py
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
# -*- coding: utf-8 -*- """ *************************************************************************** QgisAlgorithm.py ---------------- Date : May 2017 Copyright : (C) 2017 by Nyall Dawson Email : nyall dot dawson at gmail dot com ************************...
33.426667
80
0.549661
220
2,507
5.972727
0.427273
0.034247
0.05175
0.057839
0.471842
0.471842
0.471842
0.471842
0.471842
0.471842
0
0.024739
0.274432
2,507
74
81
33.878378
0.697636
0.383726
0
0.756757
0
0
0.052734
0.026042
0
0
0
0
0
1
0.27027
false
0
0.081081
0.108108
0.621622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
07b6c0687ea373ccb8c76512ae84a40843efa30d
239,868
py
Python
generated/nifgen/nifgen/session.py
mgunyho/nimi-python
f821321918442709978ad54ede65f67c2e7e5c16
[ "MIT" ]
null
null
null
generated/nifgen/nifgen/session.py
mgunyho/nimi-python
f821321918442709978ad54ede65f67c2e7e5c16
[ "MIT" ]
null
null
null
generated/nifgen/nifgen/session.py
mgunyho/nimi-python
f821321918442709978ad54ede65f67c2e7e5c16
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # This file was generated import array # noqa: F401 import ctypes import datetime # noqa: F401 # Used by @ivi_synchronized from functools import wraps import nifgen._attributes as _attributes import nifgen._converters as _converters import nifgen._library_singleton as _library_singleton impor...
53.757956
759
0.668117
29,977
239,868
5.185542
0.049605
0.00624
0.017832
0.009907
0.743836
0.710101
0.68112
0.657163
0.633271
0.614911
0
0.016089
0.246215
239,868
4,461
760
53.770007
0.84342
0.475278
0
0.474531
1
0
0.027676
0.001803
0
0
0
0
0.001787
1
0.093834
false
0.003575
0.023235
0.003575
0.327078
0.001787
0
0
0
null
0
0
0
0
1
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
3
07b78de64a3beff28fe37d59d43a06c78d41f841
618
py
Python
spatialist/__init__.py
johntruckenbrodt/spatialist
15583e5c0da7b614f8a1bbdbd365e03576224350
[ "MIT" ]
19
2018-07-10T06:51:31.000Z
2022-01-28T09:05:49.000Z
spatialist/__init__.py
johntruckenbrodt/spatialist
15583e5c0da7b614f8a1bbdbd365e03576224350
[ "MIT" ]
24
2018-07-16T12:06:52.000Z
2021-12-03T19:09:03.000Z
spatialist/__init__.py
johntruckenbrodt/spatialist
15583e5c0da7b614f8a1bbdbd365e03576224350
[ "MIT" ]
8
2018-11-24T02:53:41.000Z
2022-01-28T17:13:45.000Z
from . import vector from . import envi from . import ancillary from . import raster from . import sqlite_util from .auxil import crsConvert, haversine, gdalbuildvrt, gdalwarp, gdal_translate, ogr2ogr, gdal_rasterize, \ utm_autodetect, coordinate_reproject, cmap_mpl2gdal from .vector import Vector, bbox, centerdis...
32.526316
108
0.805825
74
618
6.472973
0.581081
0.104384
0
0
0
0
0
0
0
0
0
0.00565
0.140777
618
18
109
34.333333
0.896422
0.038835
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.066667
0.666667
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
0
0
1
1
0
1
0
0
3
07c5701ecb1c60016210d87a3dd93ef5ca7fe1d6
565
py
Python
epi_judge_python/tree_from_preorder_inorder.py
shobhitmishra/CodingProblems
0fc8c5037eef95b3ec9826b3a6e48885fc86659e
[ "MIT" ]
null
null
null
epi_judge_python/tree_from_preorder_inorder.py
shobhitmishra/CodingProblems
0fc8c5037eef95b3ec9826b3a6e48885fc86659e
[ "MIT" ]
null
null
null
epi_judge_python/tree_from_preorder_inorder.py
shobhitmishra/CodingProblems
0fc8c5037eef95b3ec9826b3a6e48885fc86659e
[ "MIT" ]
null
null
null
from typing import List from binary_tree_node import BinaryTreeNode from test_framework import generic_test def binary_tree_from_preorder_inorder(preorder: List[int], inorder: List[int]) -> BinaryTreeNode: # TODO - you fill in here. return BinaryTreeNode() if __name__ ...
31.388889
76
0.624779
60
565
5.4
0.45
0.098765
0.197531
0.283951
0.179012
0
0
0
0
0
0
0
0.313274
565
17
77
33.235294
0.835052
0.042478
0
0
0
0
0.124304
0.109462
0
0
0
0.058824
0
1
0.090909
false
0
0.272727
0.090909
0.454545
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
1
0
0
0
0
0
0
0
0
0
0
3
07d7d9414373b3335d69e173d9d3a201498f6cb6
344
py
Python
scripts/Tinkerforge/PrepareForPcuFlash.py
MopeZe/example-http-server
03097fd3ad2a85ae0a828c2ec9404d9674804f3f
[ "Apache-2.0" ]
null
null
null
scripts/Tinkerforge/PrepareForPcuFlash.py
MopeZe/example-http-server
03097fd3ad2a85ae0a828c2ec9404d9674804f3f
[ "Apache-2.0" ]
null
null
null
scripts/Tinkerforge/PrepareForPcuFlash.py
MopeZe/example-http-server
03097fd3ad2a85ae0a828c2ec9404d9674804f3f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: PrepareForPcuFlash.py # Author: Michael Glettig # Date: 01.03.2018 # import ControlResetBootPins import time ControlResetBootPins.setPins(True,True,False,True) time.sleep(0.1) ControlResetBootPins.setPins(True,False,False,True) time.sleep(0.1) print("...
18.105263
51
0.72093
46
344
5.391304
0.673913
0.217742
0.25
0.145161
0.16129
0.16129
0
0
0
0
0
0.043478
0.130814
344
18
52
19.111111
0.785953
0.351744
0
0.285714
0
0
0.096774
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0.142857
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
07f981cda93eed9d6bcabe518daa00bb8369f975
86
py
Python
consts/ui_layout.py
HaleySnooks/arcade-rabbit-herder
b8b16bfcf99981b1b4397a14d4b11d902c4198ea
[ "MIT" ]
13
2020-02-12T01:13:06.000Z
2021-12-22T22:56:44.000Z
consts/ui_layout.py
HaleySnooks/arcade-rabbit-herder
b8b16bfcf99981b1b4397a14d4b11d902c4198ea
[ "MIT" ]
1
2018-12-03T10:05:16.000Z
2018-12-03T10:05:16.000Z
consts/ui_layout.py
HaleySnooks/arcade-rabbit-herder
b8b16bfcf99981b1b4397a14d4b11d902c4198ea
[ "MIT" ]
6
2020-02-18T01:05:50.000Z
2021-02-26T17:44:25.000Z
from enum import Enum class UiLayout(Enum): MAIN_MENU = 1 TEXT_ONLY = 2
12.285714
21
0.639535
13
86
4.076923
0.846154
0
0
0
0
0
0
0
0
0
0
0.033333
0.302326
86
7
22
12.285714
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
07ff34bc4a36fc8d86c48743b478c6d158832c29
63
py
Python
pybitbay/__init__.py
dominikheinisch/pybitbay
f4dd08e2d6c762f80eaa8d1ff017ee7d6fc89fff
[ "Apache-2.0" ]
null
null
null
pybitbay/__init__.py
dominikheinisch/pybitbay
f4dd08e2d6c762f80eaa8d1ff017ee7d6fc89fff
[ "Apache-2.0" ]
null
null
null
pybitbay/__init__.py
dominikheinisch/pybitbay
f4dd08e2d6c762f80eaa8d1ff017ee7d6fc89fff
[ "Apache-2.0" ]
null
null
null
from pybitbay.bitbay import BitBayAPI __all__ = ['BitBayAPI']
15.75
37
0.777778
7
63
6.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.126984
63
3
38
21
0.818182
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5805c2ba5e7f9c63ae68c1226556840857ad195c
145
py
Python
app/__init__.py
Coderhypo/PlanYourGradePoint
43433be7bfb90c7cc69bc3c2a62fb06788cff5ce
[ "Apache-2.0" ]
2
2016-03-25T16:10:14.000Z
2018-04-10T13:49:31.000Z
app/__init__.py
Coderhypo/PlanYourGradePoint
43433be7bfb90c7cc69bc3c2a62fb06788cff5ce
[ "Apache-2.0" ]
1
2016-03-25T13:56:22.000Z
2016-03-28T12:56:32.000Z
app/__init__.py
Coderhypo/PlanYourGradePoint
43433be7bfb90c7cc69bc3c2a62fb06788cff5ce
[ "Apache-2.0" ]
4
2016-03-25T16:10:32.000Z
2018-08-20T12:17:36.000Z
#!/usr/bin/env python # coding=utf-8 from flask import Flask app = Flask(__name__) app.config['SECRET_KEY'] = 'FUCKTHEGRADEPOINT' import index
16.111111
46
0.744828
21
145
4.904762
0.809524
0
0
0
0
0
0
0
0
0
0
0.007874
0.124138
145
8
47
18.125
0.80315
0.227586
0
0
0
0
0.245455
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6afe50921a59af6c40471234f5c7685c120cffbf
490
py
Python
tests/test_memcached_cache.py
MyrikLD/cachelib
f4c8864fbef023d1861c2b9ac712074218a7e614
[ "BSD-3-Clause" ]
92
2018-11-28T15:33:23.000Z
2022-03-10T01:03:59.000Z
tests/test_memcached_cache.py
MyrikLD/cachelib
f4c8864fbef023d1861c2b9ac712074218a7e614
[ "BSD-3-Clause" ]
51
2019-02-08T19:27:25.000Z
2022-03-20T16:08:57.000Z
tests/test_memcached_cache.py
northernSage/cachelib
bee587a5fde2c51cc22f6796404ccb75fb4f6e6b
[ "BSD-3-Clause" ]
31
2019-03-20T10:19:29.000Z
2022-03-23T18:05:04.000Z
import pytest from clear import ClearTests from common import CommonTests from has import HasTests from cachelib import MemcachedCache @pytest.fixture(autouse=True) def cache_factory(request): def _factory(self, *args, **kwargs): mc = MemcachedCache(*args, **kwargs) mc._client.flush_all() ...
22.272727
60
0.744898
57
490
6.280702
0.596491
0.067039
0.067039
0
0
0
0
0
0
0
0
0
0.169388
490
21
61
23.333333
0.879607
0
0
0
0
0
0.032653
0
0
0
0
0
0
1
0.133333
false
0.066667
0.333333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
ed0f344874e5c1225b662d8049eae06245c1e167
1,231
py
Python
src/rlib/llop.py
SOM-st/RPySOM
2dcfc71786a3bd5be5a842c649645f71d6c35f89
[ "MIT" ]
12
2016-01-07T14:20:57.000Z
2019-10-13T06:56:20.000Z
src/rlib/llop.py
SOM-st/RPySOM
2dcfc71786a3bd5be5a842c649645f71d6c35f89
[ "MIT" ]
2
2016-05-26T06:53:33.000Z
2020-09-02T15:58:28.000Z
src/rlib/llop.py
SOM-st/RPySOM
2dcfc71786a3bd5be5a842c649645f71d6c35f89
[ "MIT" ]
2
2016-05-25T06:07:52.000Z
2019-10-02T16:52:25.000Z
try: from rpython.rtyper.lltypesystem.lloperation import llop from rpython.rtyper.lltypesystem.lltype import Signed, Unsigned from rpython.rtyper.lltypesystem.rffi import cast, UINT, INT def as_32_bit_unsigned_value(int_value): return cast(Signed, cast(UINT, int_value)) def as_32_bit_signe...
28.627907
67
0.657189
168
1,231
4.529762
0.261905
0.094612
0.085414
0.052562
0.325887
0.325887
0.325887
0.281209
0.204993
0
0
0.047149
0.259139
1,231
42
68
29.309524
0.787281
0
0
0.1875
0
0
0.008936
0
0
0
0.040617
0
0
1
0.21875
false
0
0.125
0.125
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ed49c514a197b16b3a8cfc497957ea2ff90492ba
218
py
Python
python/unit-test/py/PascalTriangle.py
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2019-10-17T08:34:55.000Z
2019-10-17T08:34:55.000Z
python/unit-test/py/PascalTriangle.py
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
1
2020-05-24T08:32:13.000Z
2020-05-24T08:32:13.000Z
python/unit-test/py/PascalTriangle.py
dacozai/algorithm-diary
8ed5e119e4450e92e63276047ef19bbf422c2770
[ "MIT" ]
null
null
null
import sys sys.path.append('../..') from typing import Set, Dict, Tuple, Sequence, List, Any from src.array._118_Pascal import * num = 5 print(pascalTriangle(num)) assert(2 == pascalTriangle(num)) print("All pass")
19.818182
56
0.715596
32
218
4.8125
0.75
0.220779
0
0
0
0
0
0
0
0
0
0.026316
0.12844
218
11
57
19.818182
0.784211
0
0
0
0
0
0.059361
0
0
0
0
0
0.125
1
0
false
0.125
0.375
0
0.375
0.25
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
1
0
0
0
0
3
ed621a891eb9a64dc431c2e76df9c2c732a3654d
257
py
Python
numpy_nn/optimizers/__init__.py
rahuldshetty/numpy_nn
0d61b7fc47cecfd9701972de322c08ed799271b4
[ "MIT" ]
null
null
null
numpy_nn/optimizers/__init__.py
rahuldshetty/numpy_nn
0d61b7fc47cecfd9701972de322c08ed799271b4
[ "MIT" ]
5
2020-06-09T03:24:46.000Z
2020-06-30T07:06:01.000Z
numpy_nn/optimizers/__init__.py
rahuldshetty/numpy_nn
0d61b7fc47cecfd9701972de322c08ed799271b4
[ "MIT" ]
null
null
null
''' Most Implementation are based on following article: https://medium.com/analytics-vidhya/optimization-algorithms-for-deep-learning-1f1a2bd4c46b ''' from .SGD import SGD from .Momentum import Momentum from .RMSProp import RMSProp from .Adam import Adam
25.7
142
0.801556
34
257
6.058824
0.705882
0
0
0
0
0
0
0
0
0
0
0.026201
0.108949
257
10
143
25.7
0.873362
0.552529
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ed66305c8561869d502542b9b5ad10fcf7c73a6a
551
py
Python
shaclgen/generator.py
alexiskeely/shapeGen
a5d1d2b1aeb0e15261d4adc93920c1fad357b843
[ "Unlicense" ]
1
2019-11-07T17:59:48.000Z
2019-11-07T17:59:48.000Z
shaclgen/generator.py
alexiskeely/shapeGen
a5d1d2b1aeb0e15261d4adc93920c1fad357b843
[ "Unlicense" ]
null
null
null
shaclgen/generator.py
alexiskeely/shapeGen
a5d1d2b1aeb0e15261d4adc93920c1fad357b843
[ "Unlicense" ]
null
null
null
from rdflib import Graph from urllib.parse import urlparse class Generator: def __init__(self, graph: Graph, prefixes=None): pass def sh_label_gen(self, uri): prefix, namespace, name = self.namespaces.compute_qname(uri) return prefix + "_" + name def uri_validator(self, x): ...
25.045455
69
0.635209
66
551
5.121212
0.575758
0
0
0
0
0
0
0
0
0
0
0
0.279492
551
21
70
26.238095
0.851385
0
0
0.125
0
0
0.001815
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ed687a2b80c3b268ae419e6a6c3ec651c3cb512b
291
py
Python
ipython_odoo/table.py
voronind/ipython-odoo
48fcc7232beb9f7459ec1f0d7e0cf9cc41f85475
[ "MIT" ]
null
null
null
ipython_odoo/table.py
voronind/ipython-odoo
48fcc7232beb9f7459ec1f0d7e0cf9cc41f85475
[ "MIT" ]
null
null
null
ipython_odoo/table.py
voronind/ipython-odoo
48fcc7232beb9f7459ec1f0d7e0cf9cc41f85475
[ "MIT" ]
null
null
null
import os from texttable import Texttable def tty_width(): return os.popen('stty size', 'r').read().split()[1] def init_table(): table = Texttable() table.set_deco(Texttable.HEADER | Texttable.VLINES | Texttable.HLINES) table.set_max_width(tty_width()) return table
19.4
74
0.697595
40
291
4.925
0.575
0.081218
0.142132
0
0
0
0
0
0
0
0
0.004149
0.171821
291
14
75
20.785714
0.813278
0
0
0
0
0
0.034364
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
1
0
0
3
ed7fa58df5669b873ae9e48ce6515412795e6932
2,663
py
Python
test/test_locator_sunrise_sunset.py
Falk2704/pyhamtools
2d8c2b978746cf0dd7cfab206a5de7367c7aa922
[ "MIT" ]
null
null
null
test/test_locator_sunrise_sunset.py
Falk2704/pyhamtools
2d8c2b978746cf0dd7cfab206a5de7367c7aa922
[ "MIT" ]
null
null
null
test/test_locator_sunrise_sunset.py
Falk2704/pyhamtools
2d8c2b978746cf0dd7cfab206a5de7367c7aa922
[ "MIT" ]
1
2018-10-29T22:02:35.000Z
2018-10-29T22:02:35.000Z
from datetime import datetime, timedelta import pytest import pytz from pyhamtools.locator import calculate_sunrise_sunset UTC = pytz.UTC class Test_calculate_sunrise_sunset_normal_case(): def test_calculate_sunrise_sunset(self): time_margin = timedelta(minutes=1) locator = "JN48QM" ...
45.913793
127
0.692452
351
2,663
4.888889
0.179487
0.02331
0.192308
0.065268
0.762821
0.762821
0.734266
0.548951
0.50641
0.407925
0
0.101727
0.217424
2,663
57
128
46.719298
0.721689
0.019902
0
0.179487
0
0
0.03681
0
0
0
0
0
0.205128
1
0.076923
false
0
0.102564
0
0.205128
0
0
0
0
null
0
1
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
3
9c0320761cc34f82e94b92ca5accae8af0f70b56
1,363
py
Python
app/monitor/routes_memory.py
bcarroll/inmoov_mini
029152cb186d45a040ddc71fd562191bff82b30c
[ "MIT" ]
null
null
null
app/monitor/routes_memory.py
bcarroll/inmoov_mini
029152cb186d45a040ddc71fd562191bff82b30c
[ "MIT" ]
null
null
null
app/monitor/routes_memory.py
bcarroll/inmoov_mini
029152cb186d45a040ddc71fd562191bff82b30c
[ "MIT" ]
null
null
null
import psutil from app.monitor import bp from flask import jsonify from flask_login import login_required @bp.route('/memory/percent') @login_required def memory_percent(): return( jsonify( psutil.virtual_memory().percent ) ) @bp.route('/memory/total') @login_required def memory_total(): memory_total = psutil...
24.339286
60
0.738078
176
1,363
5.505682
0.142045
0.134159
0.120743
0.204334
0.276574
0
0
0
0
0
0
0.026689
0.120323
1,363
55
61
24.781818
0.781485
0
0
0.204545
0
0
0.091844
0
0
0
0
0
0
1
0.204545
false
0
0.090909
0.113636
0.295455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
9c067212e5073667415caaa5f51524ec3e7b4590
20
py
Python
server/__init__.py
x1angli/DDNS-chiasma
76693350afd4b7e304612a3b8f36eb2f55c843f8
[ "MIT" ]
null
null
null
server/__init__.py
x1angli/DDNS-chiasma
76693350afd4b7e304612a3b8f36eb2f55c843f8
[ "MIT" ]
null
null
null
server/__init__.py
x1angli/DDNS-chiasma
76693350afd4b7e304612a3b8f36eb2f55c843f8
[ "MIT" ]
null
null
null
__author__ = 'main'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c315dfc1071b7651cae2a3d94a8d03b8d3ac044
1,688
py
Python
tests/oracles/kWayTransitionCoverageEqOracleTests.py
MDrey101/AALpy
bd8a4994db6c27438db61a3247ae404fc6e4074b
[ "MIT" ]
61
2021-04-01T10:38:52.000Z
2022-03-28T13:44:23.000Z
tests/oracles/kWayTransitionCoverageEqOracleTests.py
MDrey101/AALpy
bd8a4994db6c27438db61a3247ae404fc6e4074b
[ "MIT" ]
16
2021-04-03T20:14:08.000Z
2022-02-16T10:21:48.000Z
tests/oracles/kWayTransitionCoverageEqOracleTests.py
haubitzer/AALpy
e5b51742d886d5c5c72ab3e9c20eb349c56e2469
[ "MIT" ]
9
2021-04-05T13:43:17.000Z
2022-03-09T14:06:17.000Z
import unittest from aalpy.oracles import KWayTransitionCoverageEqOracle from tests.oracles.baseOracleTests import BaseOracleTests class KWayTransitionCoverageEqOracleTests(BaseOracleTests): def test_default(self): learning_sul, validation_sul, alphabet = self.generate_dfa_suls() eq_oracle = KW...
40.190476
83
0.755332
198
1,688
6.070707
0.20202
0.137271
0.174709
0.199667
0.766223
0.736273
0.641431
0.641431
0.641431
0.641431
0
0.015065
0.174171
1,688
41
84
41.170732
0.847202
0
0
0.428571
0
0
0.003555
0
0
0
0
0
0
1
0.178571
false
0
0.107143
0
0.321429
0
0
0
0
null
0
0
1
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
3
9c34fbdd310962e319346dcc9e59686a5f8a6b8f
392,589
py
Python
ape/intcoords/derivatives.py
shihchengli/APE
c2f529b9e20959824317dbc3c018ce41702d67f6
[ "MIT" ]
3
2020-04-13T02:26:34.000Z
2022-01-04T12:02:08.000Z
ape/intcoords/derivatives.py
shihchengli/APE
c2f529b9e20959824317dbc3c018ce41702d67f6
[ "MIT" ]
1
2021-08-06T11:05:51.000Z
2021-08-06T11:05:51.000Z
ape/intcoords/derivatives.py
shihchengli/APE
c2f529b9e20959824317dbc3c018ce41702d67f6
[ "MIT" ]
1
2021-08-03T08:28:25.000Z
2021-08-03T08:28:25.000Z
import math import numpy as np def q_b(m0, m1, m2, n0, n1, n2): """Stretch""" return math.sqrt((m0 - n0)**2 + (m1 - n1)**2 + (m2 - n2)**2) def dq_b(m0, m1, m2, n0, n1, n2): """Stretch, first derivative wrt. Cartesians""" x0 = m0 - n0 x1 = m1 - n1 x2 = m2 - n2 x3 = 1/math.sqrt(x0**2...
40.146129
32,912
0.589578
58,315
392,589
3.968859
0.082312
0.002731
0.001789
0.001296
0.015421
0.012413
0.006762
0.005081
0.004498
0.004347
0
0.611703
0.268833
392,589
9,778
32,913
40.150235
0.194588
0.001495
0
0.011793
0
0
0
0
0
0
0
0
0
1
0.001862
false
0
0.000207
0
0.003931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c40eef10ec87260e864cbddc11999ce674b6ca9
1,990
py
Python
LABORATORIO 8/LABORATORIO 8 EJ7.py
msolivera/Phyton
1322fa2ff4bb06a17350fefa7e5268c0969e5b53
[ "bzip2-1.0.6" ]
null
null
null
LABORATORIO 8/LABORATORIO 8 EJ7.py
msolivera/Phyton
1322fa2ff4bb06a17350fefa7e5268c0969e5b53
[ "bzip2-1.0.6" ]
null
null
null
LABORATORIO 8/LABORATORIO 8 EJ7.py
msolivera/Phyton
1322fa2ff4bb06a17350fefa7e5268c0969e5b53
[ "bzip2-1.0.6" ]
null
null
null
## Definición de la clase Nota class Nota(): def __init__(self, cedula, nombre, nota): self.cedula = cedula self.nombre = nombre self.nota = nota ## Métodos get y set correspondientes def get_nota(self): return self.nota def set_nota(self, nota): self.nota = ...
22.111111
129
0.594472
258
1,990
4.46124
0.27907
0.069505
0.060817
0.033015
0.03649
0
0
0
0
0
0
0.008523
0.292462
1,990
89
130
22.359551
0.808949
0.159799
0
0.234043
0
0
0.039204
0.015682
0
0
0
0.011236
0
1
0.255319
false
0
0
0.106383
0.425532
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
9c54e990798906cef045cf01aeb26a8558f9d3ef
98
py
Python
Main Server/Server/controllers/__init__.py
Randikaviraj/e16-3yp-automatic-fish-tank-control-system
d8a3b2eb4a8f3b1fc3c7cacbbedf74eb2334d046
[ "MIT" ]
null
null
null
Main Server/Server/controllers/__init__.py
Randikaviraj/e16-3yp-automatic-fish-tank-control-system
d8a3b2eb4a8f3b1fc3c7cacbbedf74eb2334d046
[ "MIT" ]
1
2020-11-07T12:07:05.000Z
2020-11-07T12:07:05.000Z
Main Server/Server/controllers/__init__.py
Randikaviraj/e16-3yp-automatic-fish-tank-control-system
d8a3b2eb4a8f3b1fc3c7cacbbedf74eb2334d046
[ "MIT" ]
6
2020-10-25T10:43:09.000Z
2020-11-14T07:27:41.000Z
send_msg_chat_api_url='https://api.chat-api.com/instance276169/sendMessage?token=frpiy5smz0okaepc'
98
98
0.867347
14
98
5.785714
0.785714
0.17284
0
0
0
0
0
0
0
0
0
0.081633
0
98
1
98
98
0.744898
0
0
0
0
0
0.747475
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c65d3a7ff2848ae9c586bbd2b816c0564d0b9bf
8,778
py
Python
test/integration/test_global_load_balancer_monitor_v1.py
chenshuguang/networking-python-sdk
3bbf30e2706052e75c0cc847d7ee8a584ba93f11
[ "Apache-2.0" ]
1
2020-12-22T03:51:33.000Z
2020-12-22T03:51:33.000Z
test/integration/test_global_load_balancer_monitor_v1.py
chenshuguang/networking-python-sdk
3bbf30e2706052e75c0cc847d7ee8a584ba93f11
[ "Apache-2.0" ]
null
null
null
test/integration/test_global_load_balancer_monitor_v1.py
chenshuguang/networking-python-sdk
3bbf30e2706052e75c0cc847d7ee8a584ba93f11
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # (C) Copyright IBM Corp. 2020. """ Integration test code to execute global load balancer monitor functions """ import os import unittest from dotenv import load_dotenv, find_dotenv from ibm_cloud_networking_services.global_load_balancer_monitor_v1 import GlobalLoadBalancerMonitorV1 configFil...
42.201923
109
0.642401
978
8,778
5.611452
0.167689
0.045918
0.051931
0.027697
0.72941
0.712099
0.710095
0.68258
0.612609
0.612609
0
0.013497
0.248804
8,778
207
110
42.405797
0.818775
0.043746
0
0.578947
0
0
0.087323
0.004085
0
0
0
0
0.098684
1
0.032895
false
0
0.026316
0
0.065789
0.013158
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c74c3bf580eb906e7a08d56ebfc2510511ddd0b
221
py
Python
sendsms/backends/dummy.py
this-is-the-bard/django-sendsms
8944b7d276f91b019ad6aa2e7e29324fa107fa01
[ "MIT" ]
null
null
null
sendsms/backends/dummy.py
this-is-the-bard/django-sendsms
8944b7d276f91b019ad6aa2e7e29324fa107fa01
[ "MIT" ]
null
null
null
sendsms/backends/dummy.py
this-is-the-bard/django-sendsms
8944b7d276f91b019ad6aa2e7e29324fa107fa01
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- """ Dummy sms backend that does nothing. """ from sendsms.backends.base import BaseSmsBackend class SmsBackend(BaseSmsBackend): def send_messages(self, messages): return len(messages)
20.090909
48
0.710407
26
221
6
0.884615
0
0
0
0
0
0
0
0
0
0
0.005435
0.167421
221
10
49
22.1
0.842391
0.262443
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
9c75264bc2d5fa41017cd1ed275bcc7013b1e9d3
52
py
Python
gb_chat/io/json.py
Cerzon/gb_chat
b4f8a6bf62b0971a135fbb2083456193f7a816cb
[ "Apache-2.0" ]
null
null
null
gb_chat/io/json.py
Cerzon/gb_chat
b4f8a6bf62b0971a135fbb2083456193f7a816cb
[ "Apache-2.0" ]
1
2022-03-14T09:40:15.000Z
2022-03-14T09:40:15.000Z
gb_chat/io/json.py
Cerzon/gb_chat
b4f8a6bf62b0971a135fbb2083456193f7a816cb
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict JSON = Dict[str, Any]
13
28
0.711538
9
52
4.111111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.192308
52
3
29
17.333333
0.880952
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
92cc2a48e2970c465e71b564efc7586c5b268c40
10,482
py
Python
torch_geometric/nn/pool/__init__.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
2,350
2021-09-12T08:32:50.000Z
2022-03-31T18:09:36.000Z
torch_geometric/nn/pool/__init__.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
588
2021-09-12T08:49:08.000Z
2022-03-31T21:02:13.000Z
torch_geometric/nn/pool/__init__.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
505
2021-09-13T13:13:32.000Z
2022-03-31T15:54:00.000Z
from torch import Tensor from torch_geometric.typing import OptTensor from .max_pool import max_pool, max_pool_x, max_pool_neighbor_x from .avg_pool import avg_pool, avg_pool_x, avg_pool_neighbor_x from .graclus import graclus from .voxel_grid import voxel_grid from .topk_pool import TopKPooling from .sag_pool import ...
38.966543
79
0.583572
1,458
10,482
4.093278
0.120027
0.014075
0.018097
0.020107
0.756702
0.739611
0.726709
0.689343
0.651475
0.637399
0
0.019031
0.273135
10,482
268
80
39.11194
0.764274
0.69834
0
0.084507
0
0
0.089109
0
0
0
0
0
0
1
0.084507
false
0
0.197183
0
0.366197
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
92d63e89d3d371a1a9e0f3893529e751f8340c6d
4,029
py
Python
sos_trades_core/tools/cst_manager/database.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
8
2022-01-10T14:44:28.000Z
2022-03-31T08:57:14.000Z
sos_trades_core/tools/cst_manager/database.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
null
null
null
sos_trades_core/tools/cst_manager/database.py
os-climate/sostrades-core
bcaa9b5e393ffbd0963e75a9315b27caf8b0abd9
[ "Apache-2.0" ]
1
2022-02-21T14:51:45.000Z
2022-02-21T14:51:45.000Z
''' Copyright 2022 Airbus SAS Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
28.174825
72
0.60412
505
4,029
4.574257
0.269307
0.046753
0.058874
0.05974
0.245022
0.193939
0.106494
0.07619
0.07619
0.07619
0
0.009137
0.266567
4,029
142
73
28.373239
0.772589
0.366344
0
0.078125
0
0
0.033134
0
0
0
0
0
0
1
0.28125
false
0
0.015625
0.140625
0.6875
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
92d6a7fa6eccf537163b8a4420c9151f93598680
427
py
Python
template.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
7
2020-02-04T05:08:19.000Z
2022-01-01T15:49:38.000Z
template.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
null
null
null
template.py
junhoyeo/fastdj
73284946270d1f7ae13f077931b360f70e5a0143
[ "MIT" ]
5
2020-02-04T05:09:21.000Z
2021-11-26T00:46:41.000Z
class Template: model_owner = "model_owner" detail_view = "detail_view" detail_view_u = "detail_view_u" detail_view_d = "detail_view_d" detail_view_ud = "detail_view_ud" all_objects_view = "all_objects_view" filter_objects_view = "filter_objects_view" user_register_view = "user_register_...
38.818182
57
0.761124
60
427
4.783333
0.25
0.348432
0.209059
0.139373
0.707317
0.156794
0
0
0
0
0
0
0.166276
427
11
57
38.818182
0.80618
0
0
0
0
0
0.364486
0.056075
0
0
0
0
0
1
0
false
0
0
0
1
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
1
0
0
3
92d85ae28b4f94ebb2818d6b8d885a1fa26392fc
113
py
Python
api/apps.py
retmas-dv/deftcore
23052549e8948bbedfb958a96683b84b46820b09
[ "Apache-2.0" ]
null
null
null
api/apps.py
retmas-dv/deftcore
23052549e8948bbedfb958a96683b84b46820b09
[ "Apache-2.0" ]
9
2019-05-24T08:10:59.000Z
2020-07-23T13:20:35.000Z
api/apps.py
retmas-dv/deftcore
23052549e8948bbedfb958a96683b84b46820b09
[ "Apache-2.0" ]
null
null
null
__author__ = 'Dmitry Golubkov' from django.apps import AppConfig class ApiConfig(AppConfig): name = 'api'
14.125
33
0.734513
13
113
6.076923
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.176991
113
7
34
16.142857
0.849462
0
0
0
0
0
0.159292
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
92d9b18205596d411c95eaa2dd860d996719f1ef
482
py
Python
db/model/President.py
vincihb/check-it-out
0bf180ea62ce23e6464431a7b9cfe208817c8db8
[ "MIT" ]
null
null
null
db/model/President.py
vincihb/check-it-out
0bf180ea62ce23e6464431a7b9cfe208817c8db8
[ "MIT" ]
null
null
null
db/model/President.py
vincihb/check-it-out
0bf180ea62ce23e6464431a7b9cfe208817c8db8
[ "MIT" ]
null
null
null
from db.model.APolitician import APolitician class President(APolitician): def __init__(self): pass def save(self): pass def get(self, _id): pass def as_dict(self): return self.get_base_politician_dict() def _from_db(self, db_row): self.set_common_politi...
19.28
49
0.647303
60
482
4.85
0.416667
0.082474
0.075601
0.09622
0
0
0
0
0
0
0
0
0.273859
482
24
50
20.083333
0.831429
0
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.176471
0.058824
0.058824
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
1
0
0
1
0
0
3
1307a0acc80c7d169c2e63594ac4919977d31423
2,547
py
Python
api/reporting.py
RogerTangos/aurum_debug
fa3afd96c795e9b674a5951430635d43aa3f5c78
[ "MIT" ]
null
null
null
api/reporting.py
RogerTangos/aurum_debug
fa3afd96c795e9b674a5951430635d43aa3f5c78
[ "MIT" ]
6
2020-06-05T17:52:29.000Z
2021-06-10T19:44:58.000Z
api/reporting.py
RogerTangos/aurum_debug
fa3afd96c795e9b674a5951430635d43aa3f5c78
[ "MIT" ]
null
null
null
import networkx as nx from collections import defaultdict from knowledgerepr.fieldnetwork import FieldNetwork from api.apiutils import Relation class Report: def __init__(self, network: FieldNetwork): self.__network = network self.__num_tables = 0 self.__num_columns = 0 self.__num...
32.653846
85
0.708284
318
2,547
5.18239
0.22956
0.131068
0.098301
0.051578
0.405947
0.279733
0.205097
0.121359
0
0
0
0.004573
0.227326
2,547
77
86
33.077922
0.832825
0.075775
0
0.107143
0
0
0
0
0
0
0
0.012987
0
1
0.214286
false
0
0.071429
0.125
0.446429
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
1322e69e54b9d153500302ff5ec6b205678ed552
230
py
Python
livia_ui/gui/views/utils/DeviceProvider.py
sing-group/livia-ui
809d90d4429bdd48ad2b8bf6b9546b7ea0ca6dcf
[ "MIT" ]
null
null
null
livia_ui/gui/views/utils/DeviceProvider.py
sing-group/livia-ui
809d90d4429bdd48ad2b8bf6b9546b7ea0ca6dcf
[ "MIT" ]
null
null
null
livia_ui/gui/views/utils/DeviceProvider.py
sing-group/livia-ui
809d90d4429bdd48ad2b8bf6b9546b7ea0ca6dcf
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import List from livia.input.DeviceFrameInput import Device class DeviceProvider(ABC): @abstractmethod def list(self) -> List[Device]: raise NotImplementedError()
20.909091
47
0.752174
26
230
6.653846
0.615385
0.196532
0
0
0
0
0
0
0
0
0
0
0.178261
230
10
48
23
0.915344
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
133755e6a3c84b7d0512665fc80eaa00747aac2a
232
py
Python
backup/snapcheck.py
hawkhai/blog
b3c8c4a557f16ebb1bb19e20a351c35e877937a2
[ "MIT" ]
1
2022-01-18T23:05:06.000Z
2022-01-18T23:05:06.000Z
backup/snapcheck.py
hawkhai/blog
b3c8c4a557f16ebb1bb19e20a351c35e877937a2
[ "MIT" ]
10
2020-08-26T14:35:00.000Z
2021-12-17T02:44:48.000Z
backup/snapcheck.py
hawkhai/blog
b3c8c4a557f16ebb1bb19e20a351c35e877937a2
[ "MIT" ]
3
2022-01-19T00:37:05.000Z
2022-02-05T04:24:44.000Z
#encoding=utf8 import re, os, sys sys.path.append("../../") from funclib import * def mainfile(fpath, fname, ftype): pass def maincheck(rootdir): searchdir(rootdir, mainfile) if __name__ == "__main__": maincheck(".")
16.571429
34
0.668103
28
232
5.25
0.785714
0
0
0
0
0
0
0
0
0
0
0.005181
0.168103
232
13
35
17.846154
0.756477
0.056034
0
0
0
0
0.068807
0
0
0
0
0
0
1
0.222222
false
0.111111
0.222222
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1341724fa9a9427dc280fa04c48bde4b85884b53
512
py
Python
polog/tests/handlers/file/rotation/rules/rules/tokenization/tokens/test_dot_token.py
pomponchik/polog
104c5068a65b0eaeab59327aac1a583e2606e77e
[ "MIT" ]
30
2020-07-16T16:52:46.000Z
2022-03-24T16:56:29.000Z
polog/tests/handlers/file/rotation/rules/rules/tokenization/tokens/test_dot_token.py
pomponchik/polog
104c5068a65b0eaeab59327aac1a583e2606e77e
[ "MIT" ]
6
2021-02-07T22:08:01.000Z
2021-12-07T21:56:46.000Z
polog/tests/handlers/file/rotation/rules/rules/tokenization/tokens/test_dot_token.py
pomponchik/polog
104c5068a65b0eaeab59327aac1a583e2606e77e
[ "MIT" ]
4
2020-12-22T07:05:34.000Z
2022-03-24T16:56:50.000Z
import pytest from polog.handlers.file.rotation.rules.rules.tokenization.tokens.dot_token import DotToken from polog.handlers.file.rotation.rules.rules.tokenization.tokens.number_token import NumberToken def test_equal_to_dot_token(): """ Проверяем, что проверка на равенство универсального токена работает ко...
34.133333
97
0.740234
62
512
6.016129
0.532258
0.150134
0.136729
0.112601
0.455764
0.30563
0.30563
0.30563
0.30563
0
0
0.004525
0.136719
512
14
98
36.571429
0.839367
0.152344
0
0
0
0
0.047847
0
0
0
0
0
0.5
1
0.125
true
0
0.375
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
1
0
0
1
0
1
0
0
0
0
3
13422ea7f3989f3dafacdaae24d3947d87c0fe12
264
py
Python
maze/views.py
namieluss/django_blockly
0b76c9e05a5793d4e5e2c96e344da7727c93028a
[ "Apache-2.0" ]
4
2019-01-22T13:30:57.000Z
2019-10-24T10:33:13.000Z
maze/views.py
namieluss/django-blockly
0b76c9e05a5793d4e5e2c96e344da7727c93028a
[ "Apache-2.0" ]
null
null
null
maze/views.py
namieluss/django-blockly
0b76c9e05a5793d4e5e2c96e344da7727c93028a
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render_to_response from django.template import RequestContext def index(request): return render_to_response( "index.html", { "string": "Hello World" }, context_instance=RequestContext(request))
26.4
52
0.689394
28
264
6.321429
0.678571
0.112994
0.180791
0
0
0
0
0
0
0
0
0
0.227273
264
10
52
26.4
0.867647
0
0
0
0
0
0.101887
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
135e405e5c0fb9db78d3d62968fb04917096895f
194
py
Python
built-in/TensorFlow/Research/reinforcement-learning/ModelZoo_QMIX_TensorFlow/xt/util/printer.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
null
null
null
built-in/TensorFlow/Research/reinforcement-learning/ModelZoo_QMIX_TensorFlow/xt/util/printer.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
3
2021-03-31T20:15:40.000Z
2022-02-09T23:50:46.000Z
built-in/TensorFlow/Research/reinforcement-learning/ModelZoo_QMIX_TensorFlow/xt/util/printer.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Printer utils """ import sys def print_immediately(to_str): """print some string immediately""" print(to_str) sys.stdout.flush()
13.857143
39
0.634021
26
194
4.615385
0.769231
0.083333
0
0
0
0
0
0
0
0
0
0.006329
0.185567
194
13
40
14.923077
0.753165
0.443299
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
1
0
3
13c97e2e97f35b4bc2be3429fef4f0c834100b55
317
py
Python
ckan_cloud_operator/drivers/helm/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
14
2019-11-18T12:01:03.000Z
2021-09-15T15:29:50.000Z
ckan_cloud_operator/drivers/helm/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
52
2019-09-09T14:22:41.000Z
2021-09-29T08:29:24.000Z
ckan_cloud_operator/drivers/helm/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
8
2019-10-05T12:46:25.000Z
2021-09-15T15:13:05.000Z
import click from . import driver from ckan_cloud_operator import logs @click.group() def helm(): """Interact with Helm/Tiller""" pass @helm.command() @click.argument('TILLER_NAMESPACE_NAME') def init(tiller_namespace_name): driver.init(tiller_namespace_name) logs.exit_great_success(quiet=True)
17.611111
40
0.750789
43
317
5.302326
0.581395
0.197368
0.25
0.201754
0
0
0
0
0
0
0
0
0.138801
317
17
41
18.647059
0.835165
0.078864
0
0
0
0
0.073427
0.073427
0
0
0
0
0
1
0.181818
false
0.090909
0.272727
0
0.454545
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
1
0
0
0
0
0
3
13ca3493887a176505fd670e97af22b30c7654f4
261
py
Python
src/test_functions/__init__.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
src/test_functions/__init__.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
src/test_functions/__init__.py
vanitas-vanitatum/swarm-intelligence
97bf985f545c612016fd6830092a6cd4ebd93cbe
[ "MIT" ]
null
null
null
from .many_minima import Ackley, Griewank, Levy, Shwefel from .other import PermDBeta, StyblinskiTang from .plate_shaped import Zakharov from .steep_ridges import Michalewicz from .valley_shaped import DixonPrice, Rosenbrock from .furnishing import RoomFitness
37.285714
56
0.846743
33
261
6.575758
0.666667
0.110599
0
0
0
0
0
0
0
0
0
0
0.111111
261
6
57
43.5
0.935345
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
13eb45e3ac319f82cc5c2ac18c9de5bc1c068279
1,078
py
Python
script/emulatte/core/waveforms.py
WasedaGeophysics/EMDLw
f21a9ab5c5a7df6da162869c2a180d1b0771808a
[ "Apache-2.0" ]
1
2021-12-13T00:15:20.000Z
2021-12-13T00:15:20.000Z
script/emulatte/core/waveforms.py
WasedaGeophysics/EMDLw
f21a9ab5c5a7df6da162869c2a180d1b0771808a
[ "Apache-2.0" ]
null
null
null
script/emulatte/core/waveforms.py
WasedaGeophysics/EMDLw
f21a9ab5c5a7df6da162869c2a180d1b0771808a
[ "Apache-2.0" ]
null
null
null
import numpy as np from emulatte.waveform_files import walktem_hm, walktem_lm def load_waveform(waveform_name, moment_type): # TODO 探査システムの追加 if waveform_name == "walktem": if moment_type == "hm": off_time, waveform_time, waveform_current = load_walktem_hm() elif moment_type == "lm...
32.666667
82
0.730056
142
1,078
5.169014
0.204225
0.228883
0.143052
0.181199
0.559946
0.326975
0.326975
0.27248
0.149864
0
0
0
0.197588
1,078
32
83
33.6875
0.848555
0.058442
0
0.173913
0
0
0.050395
0
0
0
0
0.03125
0
1
0.130435
false
0
0.086957
0
0.347826
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
13f265a75816cf00f3d953282827c26369da875b
97
py
Python
letsslack/messages.py
sathachao/slack-lets
9c8c9fed1e5569b9dec2cbbb2ece08406bd8d6b5
[ "MIT" ]
null
null
null
letsslack/messages.py
sathachao/slack-lets
9c8c9fed1e5569b9dec2cbbb2ece08406bd8d6b5
[ "MIT" ]
null
null
null
letsslack/messages.py
sathachao/slack-lets
9c8c9fed1e5569b9dec2cbbb2ece08406bd8d6b5
[ "MIT" ]
null
null
null
initial_messages = [ "Everyone took an arrow to the knee", "It's a bit lonely here...", ]
24.25
41
0.628866
15
97
4
1
0
0
0
0
0
0
0
0
0
0
0
0.237113
97
4
42
24.25
0.810811
0
0
0
0
0
0.602041
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b923bb8e9283fb0edc44e34bdadee48a2bf160b7
1,240
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ATI/meminfo.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ATI/meminfo.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ATI/meminfo.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension ATI.meminfo This module customises the behaviour of the OpenGL.raw.GL.ATI.meminfo to provide a more Python-friendly API Overview (from the spec) Traditionally, OpenGL has treated resource management as a task of hardware virtualization hidden from applications. While providing great...
37.575758
77
0.787097
166
1,240
5.843373
0.60241
0.061856
0.045361
0.043299
0.085567
0.063918
0.063918
0
0
0
0
0
0.16371
1,240
33
78
37.575758
0.935391
0.719355
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b92a8df5adf675736419c8efa019ed86f91e20fb
781
py
Python
demos/python/sdk_wireless_camera_control/open_gopro/proto/request_get_preset_status_pb.py
hypoxic/OpenGoPro
2c3efd3ef39ef3ae502981cd494d48ececff2bc6
[ "MIT" ]
1
2021-07-19T22:55:05.000Z
2021-07-19T22:55:05.000Z
demos/python/sdk_wireless_camera_control/open_gopro/proto/request_get_preset_status_pb.py
hypoxic/OpenGoPro
2c3efd3ef39ef3ae502981cd494d48ececff2bc6
[ "MIT" ]
null
null
null
demos/python/sdk_wireless_camera_control/open_gopro/proto/request_get_preset_status_pb.py
hypoxic/OpenGoPro
2c3efd3ef39ef3ae502981cd494d48ececff2bc6
[ "MIT" ]
null
null
null
# request_get_preset_status_pb.py/Open GoPro, Version 1.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). # This copyright was auto-generated on Tue May 18 22:08:50 UTC 2021 # Generated by the protocol buffer compiler. DO NOT EDIT! # sources: request_get_preset_status.proto # plugin: python-betterproto f...
35.5
118
0.807939
101
781
6.039604
0.594059
0.118033
0.191803
0.072131
0.196721
0.196721
0.196721
0
0
0
0
0.031884
0.116517
781
21
119
37.190476
0.852174
0.393086
0
0
1
0
0.102564
0.102564
0
0
0
0
0
1
0
false
0
0.3
0
0.9
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b92bcca8fc2b398cc752c6f79c02435d12ae2282
3,883
py
Python
AKDSFramework/applications/complexity_analysis/complexity_classes.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
13
2020-11-03T00:07:43.000Z
2021-12-31T04:18:03.000Z
AKDSFramework/applications/complexity_analysis/complexity_classes.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2021-03-06T12:20:33.000Z
2021-03-07T04:26:29.000Z
AKDSFramework/applications/complexity_analysis/complexity_classes.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2020-11-03T23:13:53.000Z
2021-02-24T13:16:02.000Z
import numpy as np class ComplexityAbstractClass(object): """ Abstract Complexity class """ priority_rank = 0 def __init__(self): super(ComplexityAbstractClass, self).__init__() def adjust_for_complexity(self, n): raise NotImplementedError() def adjust_time(self, time): ...
25.214286
135
0.620397
483
3,883
4.782609
0.207039
0.077922
0.074026
0.07619
0.541558
0.534199
0.487446
0.470996
0.462771
0.44026
0
0.006602
0.258821
3,883
153
136
25.379085
0.796039
0.258821
0
0.347222
0
0
0.026386
0
0
0
0
0
0
1
0.347222
false
0
0.013889
0.166667
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b9318421491af113296ce069e587a85f20792f8f
275
py
Python
satmeta/l8/meta.py
DHI-GRAS/sentinel_meta
be38e553b1a8b73cf2108e81ade341d0d1ff7a56
[ "MIT" ]
2
2019-06-10T16:22:53.000Z
2019-08-20T22:31:08.000Z
satmeta/l8/meta.py
DHI-GRAS/sentinel_meta
be38e553b1a8b73cf2108e81ade341d0d1ff7a56
[ "MIT" ]
17
2017-09-28T18:46:58.000Z
2019-06-04T08:27:50.000Z
satmeta/l8/meta.py
DHI-GRAS/satmeta
be38e553b1a8b73cf2108e81ade341d0d1ff7a56
[ "MIT" ]
null
null
null
from satmeta.l8.metafile import read_metafile from satmeta.l8.parser import parse_metadata def find_parse_metadata(path): """Find and parse a metadata file in a folder, TAR or MTD file path""" mstr = read_metafile(path) return parse_metadata(mstr.splitlines())
30.555556
74
0.763636
42
275
4.857143
0.547619
0.191176
0.127451
0
0
0
0
0
0
0
0
0.008621
0.156364
275
8
75
34.375
0.87069
0.232727
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b95e92fdbacfb0e305dc01b17d116029deb58ac5
1,501
py
Python
server/application/turnable.py
IgorTerechtchenko/cybertanks
c0216d17bb5044c8ede2f386b6ee5f051389deb2
[ "MIT" ]
null
null
null
server/application/turnable.py
IgorTerechtchenko/cybertanks
c0216d17bb5044c8ede2f386b6ee5f051389deb2
[ "MIT" ]
null
null
null
server/application/turnable.py
IgorTerechtchenko/cybertanks
c0216d17bb5044c8ede2f386b6ee5f051389deb2
[ "MIT" ]
1
2022-03-02T15:41:14.000Z
2022-03-02T15:41:14.000Z
from displayable import Displayable class Turnable(Displayable): """ Base class for any object that can change it's rotation on gaming field. angle - turn angle for this object. angular_speed - speed of rotation of object at this moment. max_angular_speed - maximum of absolute value of t...
35.738095
77
0.688874
199
1,501
4.889447
0.351759
0.295992
0.16444
0.097636
0.307297
0.264132
0.135663
0.135663
0.135663
0.135663
0
0
0.241173
1,501
41
78
36.609756
0.854258
0.405063
0
0
0
0
0.023342
0
0
0
0
0.02439
0
1
0.235294
false
0
0.058824
0
0.352941
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
b96f2bc1ff8a67cee3eed016d92eade40b0671a6
469
py
Python
app/tests/user_test.py
freestyletear/personal-developer-blog
1a94ad3afd226cebcccab62430cd0829ce0352db
[ "Unlicense" ]
null
null
null
app/tests/user_test.py
freestyletear/personal-developer-blog
1a94ad3afd226cebcccab62430cd0829ce0352db
[ "Unlicense" ]
null
null
null
app/tests/user_test.py
freestyletear/personal-developer-blog
1a94ad3afd226cebcccab62430cd0829ce0352db
[ "Unlicense" ]
null
null
null
import unittest from app.models import User class TestUserModel(unittest.TestCase): def setUp(self): self.user = User(password="1234") def test_password_setter(self): self.assertTrue(self.user.password_hash is not None) def test_no_access_password(self): with self.assertRaises(A...
24.684211
60
0.707889
58
469
5.568966
0.5
0.099071
0.092879
0.136223
0.160991
0
0
0
0
0
0
0.021277
0.198294
469
18
61
26.055556
0.837766
0
0
0
0
0
0.017058
0
0
0
0
0
0.25
1
0.333333
false
0.583333
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b9701c5c55e1c3c2533fc3a1fa816f0a4b1473b2
116,553
py
Python
test/augmenters/test_color.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
null
null
null
test/augmenters/test_color.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
null
null
null
test/augmenters/test_color.py
HubukiNinten/imgaug
2570c5651ed1c90addbaffc0f8be226646c55334
[ "MIT" ]
null
null
null
from __future__ import print_function, division, absolute_import import itertools import sys # unittest only added in 3.4 self.subTest() if sys.version_info[0] < 3 or sys.version_info[1] < 4: import unittest2 as unittest else: import unittest # unittest.mock is not available in 2.7 (though unittest2 might cont...
36.698048
80
0.591302
14,689
116,553
4.469467
0.04888
0.019085
0.014988
0.01837
0.78514
0.743191
0.706422
0.677405
0.647612
0.619006
0
0.058757
0.293111
116,553
3,175
81
36.709606
0.738087
0.037854
0
0.606431
0
0
0.017584
0.008676
0
0
0
0.000315
0.220594
1
0.099715
false
0
0.010175
0.009768
0.148555
0.000407
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9ac2400b84777c489a3784cc76dafccc284dfe3
519
py
Python
data_mgr/models.py
chinawq/QuantIntelligence
32a37d56d8a7d7bb8c1776d5f0e7663f353dab6b
[ "MIT" ]
null
null
null
data_mgr/models.py
chinawq/QuantIntelligence
32a37d56d8a7d7bb8c1776d5f0e7663f353dab6b
[ "MIT" ]
null
null
null
data_mgr/models.py
chinawq/QuantIntelligence
32a37d56d8a7d7bb8c1776d5f0e7663f353dab6b
[ "MIT" ]
1
2021-01-09T13:37:21.000Z
2021-01-09T13:37:21.000Z
from django.db import models # Create your models here. class HistData(models.Model): name = models.CharField(max_length=30, unique=True) code = models.CharField(max_length=30) data_owner = models.CharField(max_length=128) start_date = models.DateTimeField(null=True,blank=True) end_date = models.D...
39.923077
63
0.755299
73
519
5.178082
0.493151
0.198413
0.238095
0.31746
0.518519
0.449735
0.21164
0
0
0
0
0.024444
0.132948
519
13
63
39.923077
0.815556
0.046243
0
0
0
0
0.024292
0
0
0
0
0
0
1
0
false
0
0.1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b9ae4b8457c1032ed9e4f1d135da0e1807901490
605
py
Python
meteor_reasoner/classes/term.py
wdimmy/MeTeoR
7d0b48bf32eca17a1d507476112379daa3dafc31
[ "MIT" ]
8
2021-12-01T14:17:06.000Z
2022-03-05T13:22:27.000Z
meteor_reasoner/classes/term.py
wdimmy/MeTeoR
7d0b48bf32eca17a1d507476112379daa3dafc31
[ "MIT" ]
null
null
null
meteor_reasoner/classes/term.py
wdimmy/MeTeoR
7d0b48bf32eca17a1d507476112379daa3dafc31
[ "MIT" ]
null
null
null
class Term: def __init__(self, name, type="constant"): """ Args: value (string): type (str): ``constant '' or ``variable'' """ self.name = name self.type = type @classmethod def new_term(cls, name, type="constant"): return cls(name, ty...
23.269231
70
0.540496
70
605
4.428571
0.357143
0.129032
0.103226
0
0
0
0
0
0
0
0
0
0.333884
605
25
71
24.2
0.769231
0.117355
0
0
0
0
0.032389
0
0
0
0
0
0
1
0.333333
false
0
0
0.2
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b9bdd0c77a5f7b7ca511c1a4ed8de9482155cd6e
2,354
py
Python
toontown/dna/DNAVisGroup.py
LittleNed/toontown-stride
1252a8f9a8816c1810106006d09c8bdfe6ad1e57
[ "Apache-2.0" ]
3
2020-01-02T08:43:36.000Z
2020-07-05T08:59:02.000Z
toontown/dna/DNAVisGroup.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
null
null
null
toontown/dna/DNAVisGroup.py
NoraTT/Historical-Commits-Project-Altis-Source
fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179
[ "Apache-2.0" ]
4
2019-06-20T23:45:23.000Z
2020-10-14T20:30:15.000Z
from panda3d.core import LVector3f from toontown.dna import DNAGroup from toontown.dna import DNABattleCell from toontown.dna import DNAUtil class DNAVisGroup(DNAGroup.DNAGroup): __slots__ = ( 'visibles', 'suitEdges', 'battleCells') COMPONENT_CODE = 2 def __init__(self, name): DNAGroup.DN...
27.057471
85
0.634664
250
2,354
5.88
0.284
0.04898
0.029932
0.040816
0.083673
0.036735
0.036735
0
0
0
0
0.013889
0.26593
2,354
87
85
27.057471
0.836806
0
0
0.031746
0
0
0.01189
0
0
0
0
0
0
1
0.269841
false
0
0.063492
0.126984
0.507937
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b9c2ac8565076aa2a7c3bd20c23cfce8af3682da
8,388
py
Python
tests/test_flatland_core_grid4_generators_util.py
tnarg999/CS238FinalProject
0ecbb66678f60d6cc525936e737d310361f171ad
[ "MIT" ]
1
2019-11-27T20:06:27.000Z
2019-11-27T20:06:27.000Z
tests/test_flatland_core_grid4_generators_util.py
tnarg999/CS238FinalProject
0ecbb66678f60d6cc525936e737d310361f171ad
[ "MIT" ]
null
null
null
tests/test_flatland_core_grid4_generators_util.py
tnarg999/CS238FinalProject
0ecbb66678f60d6cc525936e737d310361f171ad
[ "MIT" ]
1
2019-12-05T03:16:46.000Z
2019-12-05T03:16:46.000Z
import numpy as np from flatland.core.grid.rail_env_grid import RailEnvTransitions from flatland.core.transition_map import GridTransitionMap from flatland.envs.grid4_generators_utils import connect_rail_in_grid_map, connect_straight_line_in_grid_map, \ fix_inner_nodes def test_build_railway_infrastructure(): ...
46.860335
120
0.567358
1,448
8,388
3.102901
0.088398
0.167371
0.238371
0.309815
0.705987
0.566659
0.310706
0.285778
0.277988
0.277988
0
0.143136
0.267048
8,388
178
121
47.123596
0.587671
0.058655
0
0.18543
0
0
0.011159
0
0
0
0
0
0.423841
1
0.019868
false
0
0.02649
0
0.059603
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
b9ccf8d9832abed1db7de2c90df601f9950360d2
303
py
Python
compound_cleaners/common.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
null
null
null
compound_cleaners/common.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
7
2019-06-28T07:37:06.000Z
2022-02-09T20:08:54.000Z
compound_cleaners/common.py
fcoclavero/textpreprocess
09f646b74cd36f020c2a45fcca5bca520929cfef
[ "MIT" ]
1
2019-05-31T03:06:13.000Z
2019-05-31T03:06:13.000Z
from functools import reduce def clean(text, *cleaners): """ Cleans the given text using the provided cleaning functions. :param text: the text to be cleaned :type: str :return: the clean text :type: str """ return reduce(lambda part, func: func(part), cleaners, text)
23.307692
64
0.663366
41
303
4.902439
0.609756
0.089552
0.129353
0
0
0
0
0
0
0
0
0
0.244224
303
12
65
25.25
0.877729
0.468647
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
b9e2a1843b7c859028f9b5f6dab195b5d595fb23
25,165
py
Python
core/tests/test_polypod/test_main/test_main_container.py
admariner/polyaxon
ba355c38166047eb11e60de4cee4d7c3b48db323
[ "Apache-2.0" ]
3,200
2017-05-09T11:35:31.000Z
2022-03-28T05:43:22.000Z
core/tests/test_polypod/test_main/test_main_container.py
admariner/polyaxon
ba355c38166047eb11e60de4cee4d7c3b48db323
[ "Apache-2.0" ]
1,324
2017-06-29T07:21:27.000Z
2022-03-27T12:41:10.000Z
core/tests/test_polypod/test_main/test_main_container.py
admariner/polyaxon
ba355c38166047eb11e60de4cee4d7c3b48db323
[ "Apache-2.0" ]
341
2017-01-10T23:06:53.000Z
2022-03-10T08:15:18.000Z
#!/usr/bin/python # # Copyright 2018-2021 Polyaxon, Inc. # # 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 ...
36.523948
88
0.587642
2,611
25,165
5.436997
0.08694
0.123626
0.053254
0.078402
0.750845
0.731685
0.703508
0.68146
0.659834
0.624049
0
0.014061
0.330221
25,165
688
89
36.577035
0.828182
0.052533
0
0.668277
0
0
0.032642
0.002479
0
0
0
0
0.228663
1
0.014493
false
0
0.020934
0
0.037037
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9e816d058e51c841195287e253b78852fcff136
615
py
Python
app/routes/equipment.py
kunalbhatia-868/sih_backend22
7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa
[ "MIT" ]
1
2022-03-30T17:54:38.000Z
2022-03-30T17:54:38.000Z
app/routes/equipment.py
kunalbhatia-868/sih_backend22
7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa
[ "MIT" ]
null
null
null
app/routes/equipment.py
kunalbhatia-868/sih_backend22
7d9a15d57209715bfe8ef7c027fb6f386fe1fcfa
[ "MIT" ]
2
2022-03-28T04:36:15.000Z
2022-03-31T07:23:51.000Z
from fastapi import APIRouter, Depends, status from sqlalchemy.orm import Session from app.config import database from app.schema import schema from app.repository import equipment_repo router = APIRouter( prefix="/equipment", tags=['Equipment'] ) get_db = database.get_db @router.post("/", status_code=stat...
25.625
78
0.762602
87
615
5.218391
0.402299
0.044053
0.070485
0.088106
0.176211
0.176211
0.176211
0.176211
0
0
0
0.011152
0.125203
615
23
79
26.73913
0.832714
0
0
0
0
0
0.04065
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.125
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
6a0508aa8a3f6055c5168d98bf54d5f2bf67da9c
285
py
Python
open_data/dataset/nlp.py
balfroim/OpenData
f0334dae16c2806e81f7d2d53adeabc72403ecce
[ "MIT" ]
null
null
null
open_data/dataset/nlp.py
balfroim/OpenData
f0334dae16c2806e81f7d2d53adeabc72403ecce
[ "MIT" ]
null
null
null
open_data/dataset/nlp.py
balfroim/OpenData
f0334dae16c2806e81f7d2d53adeabc72403ecce
[ "MIT" ]
null
null
null
import spacy class NLP: def __init__(self): self.nlp = spacy.load("fr_core_news_sm") @classmethod def instance(cls): try: return cls._instance except AttributeError: cls._instance = cls() return cls._instance
17.8125
48
0.575439
31
285
4.967742
0.612903
0.214286
0.220779
0
0
0
0
0
0
0
0
0
0.34386
285
15
49
19
0.823529
0
0
0.181818
0
0
0.052632
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
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
1
0
0
3
6a207a8bc4be7c7c615a07232edd57308000dd6b
279
py
Python
naeval/ner/models/base.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
36
2020-03-22T09:37:10.000Z
2022-01-17T14:49:30.000Z
naeval/ner/models/base.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
11
2020-03-25T09:39:45.000Z
2020-08-16T05:37:02.000Z
naeval/ner/models/base.py
sdspieg/naeval
52c4a508bf212b95d4e610cfe1b5e23b8ca94d2f
[ "MIT" ]
6
2020-05-16T05:52:04.000Z
2022-01-16T06:45:29.000Z
from naeval.model import ( ContainerModel, ChunkMixin, ) from naeval.model import post, ModelError, ConnectionError # noqa class Model(ContainerModel): payload = 'Путин наш президент' retries = 30 delay = 2 class ChunkModel(ChunkMixin, Model): pass
16.411765
66
0.702509
30
279
6.533333
0.7
0.102041
0.153061
0.214286
0
0
0
0
0
0
0
0.013825
0.222222
279
16
67
17.4375
0.889401
0.014337
0
0
0
0
0.069853
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.636364
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
6a263bf7ad1cd9984e811bf9ef82f32c049c397a
57
py
Python
readability/__init__.py
clach04/python-readability
ba531679b906d576ce962b0870a74be13e23cf0d
[ "Apache-2.0" ]
null
null
null
readability/__init__.py
clach04/python-readability
ba531679b906d576ce962b0870a74be13e23cf0d
[ "Apache-2.0" ]
null
null
null
readability/__init__.py
clach04/python-readability
ba531679b906d576ce962b0870a74be13e23cf0d
[ "Apache-2.0" ]
null
null
null
__version__ = "0.8.2" from .readability import Document
14.25
33
0.754386
8
57
4.875
1
0
0
0
0
0
0
0
0
0
0
0.061224
0.140351
57
3
34
19
0.734694
0
0
0
0
0
0.087719
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6a326d2a4a2aaa1c37bd1bc0657e9e5b59399659
1,103
py
Python
var/spack/repos/builtin/packages/ck/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2,360
2017-11-06T08:47:01.000Z
2022-03-31T14:45:33.000Z
var/spack/repos/builtin/packages/ck/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
13,838
2017-11-04T07:49:45.000Z
2022-03-31T23:38:39.000Z
var/spack/repos/builtin/packages/ck/package.py
kkauder/spack
6ae8d5c380c1f42094b05d38be26b03650aafb39
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1,793
2017-11-04T07:45:50.000Z
2022-03-30T14:31:53.000Z
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Ck(MavenPackage): """CK calculates class-level and metric-level code metrics in Java p...
50.136364
95
0.782412
114
1,103
7.570175
0.614035
0.05562
0.031286
0.06489
0.069525
0
0
0
0
0
0
0.287462
0.110607
1,103
21
96
52.52381
0.592253
0.293744
0
0
0
0.1
0.665796
0.501305
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a36b2dc425659ce16e9e72eb4b0badbf2280390
2,750
py
Python
src/cauliflowervest/client/linux/main.py
j-lowry/cauliflowervest
444d7065293112edfc7ea2deb1d27f9b4047828b
[ "Apache-2.0" ]
null
null
null
src/cauliflowervest/client/linux/main.py
j-lowry/cauliflowervest
444d7065293112edfc7ea2deb1d27f9b4047828b
[ "Apache-2.0" ]
null
null
null
src/cauliflowervest/client/linux/main.py
j-lowry/cauliflowervest
444d7065293112edfc7ea2deb1d27f9b4047828b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Copyright 2012 Google Inc. 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 require...
30.555556
79
0.718182
365
2,750
5.276712
0.427397
0.057113
0.058152
0.069055
0.101246
0.036345
0
0
0
0
0
0.004374
0.168727
2,750
89
80
30.898876
0.838145
0.243273
0
0.122807
0
0
0.253598
0.010918
0
0
0
0.011236
0
0
null
null
0.122807
0.122807
null
null
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
6a3f6dec56816b980a50ad0b25d8372b6fd0c29a
661
py
Python
exercicios3/ex108.py
LuanGermano/Mundo-3-Curso-em-Video-Python
1dffda71ff769e4e901b85e4cca5595a5dbb545c
[ "MIT" ]
null
null
null
exercicios3/ex108.py
LuanGermano/Mundo-3-Curso-em-Video-Python
1dffda71ff769e4e901b85e4cca5595a5dbb545c
[ "MIT" ]
null
null
null
exercicios3/ex108.py
LuanGermano/Mundo-3-Curso-em-Video-Python
1dffda71ff769e4e901b85e4cca5595a5dbb545c
[ "MIT" ]
null
null
null
# adapte o codigo do desafio 107, criando uma função chamada moeda() # que consiga mostrar os valores como um valor monetario formatado. from UtilidadesCeV.moedas import __init__ p = float(input('Digite um Preço:R$ ')) d = int(input('Adicione o valor de desconto: ')) a = int(input('Adicione o valor de acrescimo: ')) p...
55.083333
91
0.726172
109
661
4
0.440367
0.123853
0.091743
0.12844
0.366972
0.366972
0.256881
0.256881
0
0
0
0.00519
0.125567
661
11
92
60.090909
0.749135
0.199697
0
0
0
0.5
0.718631
0.271863
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6a491e3bfb13f65c589bfecd1f9ee0c69364d49e
507
py
Python
api/models.py
subhakr11droy/IMDB-API
be9e8af6d8c7874b54cac46eb2d4bff676e27516
[ "Apache-2.0" ]
null
null
null
api/models.py
subhakr11droy/IMDB-API
be9e8af6d8c7874b54cac46eb2d4bff676e27516
[ "Apache-2.0" ]
null
null
null
api/models.py
subhakr11droy/IMDB-API
be9e8af6d8c7874b54cac46eb2d4bff676e27516
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Genre(models.Model): name = models.CharField(max_length=10, db_index=True) def __str__(self): return self.name class Movie(models.Model): popularity = models.FloatField() director = models.CharField(max_length=50, db_index=True) ...
24.142857
61
0.708087
67
507
5.134328
0.462687
0.130814
0.156977
0.209302
0.302326
0.139535
0
0
0
0
0
0.017032
0.189349
507
20
62
25.35
0.819951
0.047337
0
0.307692
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
dbe3763941ecc192a80899ba75bf829aaade1726
2,453
py
Python
angr/analyses/reaching_definitions/atoms.py
majacQ/angr
e52a6193d9b8d949b059354471f588e23e434067
[ "BSD-2-Clause" ]
null
null
null
angr/analyses/reaching_definitions/atoms.py
majacQ/angr
e52a6193d9b8d949b059354471f588e23e434067
[ "BSD-2-Clause" ]
1
2019-04-08T12:10:07.000Z
2019-04-08T12:10:07.000Z
angr/analyses/reaching_definitions/atoms.py
majacQ/angr
e52a6193d9b8d949b059354471f588e23e434067
[ "BSD-2-Clause" ]
null
null
null
class Atom: def __init__(self): pass def __repr__(self): raise NotImplementedError() class Tmp(Atom): __slots__ = ['tmp_idx'] def __init__(self, tmp_idx): super(Tmp, self).__init__() self.tmp_idx = tmp_idx def __repr__(self): return "<Tmp %d>" % self.tmp...
25.030612
100
0.574399
312
2,453
4.112179
0.137821
0.056118
0.042868
0.043648
0.281372
0.205768
0.205768
0.160561
0.063913
0.063913
0
0.000579
0.296372
2,453
97
101
25.28866
0.742758
0
0
0.268657
0
0
0.047308
0
0
0
0
0
0
1
0.283582
false
0.014925
0
0.179104
0.61194
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dbf9b811bf88c2c8185bc07a144d15d605007e29
122
py
Python
testGetStream.py
lguadagna/att-m2x-on-google-maps
05ba591e23f133e9ff8079b32c3ce64b7df7839a
[ "MIT" ]
null
null
null
testGetStream.py
lguadagna/att-m2x-on-google-maps
05ba591e23f133e9ff8079b32c3ce64b7df7839a
[ "MIT" ]
null
null
null
testGetStream.py
lguadagna/att-m2x-on-google-maps
05ba591e23f133e9ff8079b32c3ce64b7df7839a
[ "MIT" ]
null
null
null
#!/usr/bin/python import getDeviceNames d='1bce8e5ed43a5daaf85bc4516f8a575d' rv = getDeviceNames.getStream(d) print rv
15.25
36
0.803279
13
122
7.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0.145455
0.098361
122
7
37
17.428571
0.745455
0.131148
0
0
0
0
0.304762
0.304762
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e0116b0ca8c8d5aa6606cf4a69b62e4c00d58fb5
274
py
Python
PythonExercicios/ex031.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
PythonExercicios/ex031.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
PythonExercicios/ex031.py
Renanfn/python
f8b930599f76c4eee57e2917c924283a1deac4db
[ "MIT" ]
null
null
null
distancia = float(input('Qual é a distância da sua viagem? ')) print('Você está prestes a começar uma viagem de {} Km.'.format(distancia)) preco = distancia * 0.50 if distancia <= 200 else distancia * 0.45 print('E o preço da sua passagem será de R$ {:.2f}.'.format(preco))
54.8
75
0.70438
46
274
4.195652
0.717391
0.051813
0
0
0
0
0
0
0
0
0
0.04329
0.156934
274
4
76
68.5
0.792208
0
0
0
0
0
0.459854
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
e0389285630d514a04c4a00643427e9dfcbec2ab
378
py
Python
intellivoid_accounts/exception.py
intellivoid/Intellivoid-Accounts-Python
70eec7b4ac83314612c8aab2d260919605779c86
[ "MIT" ]
null
null
null
intellivoid_accounts/exception.py
intellivoid/Intellivoid-Accounts-Python
70eec7b4ac83314612c8aab2d260919605779c86
[ "MIT" ]
null
null
null
intellivoid_accounts/exception.py
intellivoid/Intellivoid-Accounts-Python
70eec7b4ac83314612c8aab2d260919605779c86
[ "MIT" ]
null
null
null
import six class AuthenticationError(Exception): """COA Authentication exception""" def __init__(self, reason, response=None, error_code=None): self.reason = six.text_type(reason) self.response = response self.error_code = error_code super(AuthenticationError, self).__init__(r...
25.2
63
0.685185
42
378
5.785714
0.47619
0.123457
0
0
0
0
0
0
0
0
0
0
0.219577
378
14
64
27
0.823729
0.074074
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
1
1
0
0
3