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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bbee29ba0d95c4dca840b621137c9ff855af01a6 | 790 | py | Python | test_python_toolbox/test_cute_iter_tools/test_pushback_iterator.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 119 | 2015-02-05T17:59:47.000Z | 2022-02-21T22:43:40.000Z | test_python_toolbox/test_cute_iter_tools/test_pushback_iterator.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 4 | 2019-04-24T14:01:14.000Z | 2020-05-21T12:03:29.000Z | test_python_toolbox/test_cute_iter_tools/test_pushback_iterator.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 14 | 2015-03-30T06:30:42.000Z | 2021-12-24T23:45:11.000Z | # Copyright 2009-2017 Ram Rachum.
# This program is distributed under the MIT license.
from python_toolbox import cute_testing
from python_toolbox.cute_iter_tools import PushbackIterator
def test_pushback_iterator():
pushback_iterator = PushbackIterator(iter([1, 2, 3]))
assert next(pushback_iterator) == 1
... | 31.6 | 59 | 0.75443 | 96 | 790 | 5.958333 | 0.375 | 0.363636 | 0.27972 | 0.272727 | 0.575175 | 0.479021 | 0.479021 | 0.479021 | 0.391608 | 0.391608 | 0 | 0.025797 | 0.165823 | 790 | 25 | 60 | 31.6 | 0.842185 | 0.103797 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a53d33fac1b5e0304d1f558a3b2f56778388ee19 | 78 | py | Python | knowledge_graph/crawler/runner/jd/__init__.py | Syhen/knowledge-graph | 35b35624f78ec58b3ca9f1e6eaf4a5e5ff80edc2 | [
"MIT"
] | 2 | 2019-07-01T02:18:33.000Z | 2020-01-14T11:20:44.000Z | knowledge_graph/crawler/runner/jd/__init__.py | Syhen/knowledge-graph | 35b35624f78ec58b3ca9f1e6eaf4a5e5ff80edc2 | [
"MIT"
] | null | null | null | knowledge_graph/crawler/runner/jd/__init__.py | Syhen/knowledge-graph | 35b35624f78ec58b3ca9f1e6eaf4a5e5ff80edc2 | [
"MIT"
] | 2 | 2020-03-19T10:22:34.000Z | 2022-03-06T01:41:56.000Z | # -*- coding: utf-8 -*-
"""
Author: @heyao
Created On: 2019/6/26 上午10:07
"""
| 11.142857 | 29 | 0.551282 | 12 | 78 | 3.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.179487 | 78 | 6 | 30 | 13 | 0.484375 | 0.871795 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a56573d1cd986e2ca56dcd4354455eb4ec0362fb | 129 | py | Python | musicsort/web/admin.py | markoshorro/MusicSort | fc85ceeb8c06a3c7486645b4f4b924146de45734 | [
"Apache-2.0"
] | null | null | null | musicsort/web/admin.py | markoshorro/MusicSort | fc85ceeb8c06a3c7486645b4f4b924146de45734 | [
"Apache-2.0"
] | null | null | null | musicsort/web/admin.py | markoshorro/MusicSort | fc85ceeb8c06a3c7486645b4f4b924146de45734 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from web.models import UploadFile
# Register your models here.
admin.site.register(UploadFile)
| 21.5 | 33 | 0.821705 | 18 | 129 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 129 | 5 | 34 | 25.8 | 0.929825 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a56a3991bd863b9a821850bf51c3bd8eb964d675 | 167 | py | Python | boa3_test/test_sc/built_in_methods_test/StrSplit.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/StrSplit.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/StrSplit.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from typing import List
from boa3.builtin import public
@public
def main(string: str, sep: str, maxsplit: int) -> List[str]:
return string.split(sep, maxsplit)
| 18.555556 | 60 | 0.724551 | 25 | 167 | 4.84 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.167665 | 167 | 8 | 61 | 20.875 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
a5753ba66364bfc00da52f102d50a9b75efcb714 | 72 | py | Python | lib/scripts/convertPrintable.py | gideontong/Bot4Christ | 4a503df857397cddebdc9e098c8ba7fd4ef3f17c | [
"MIT"
] | 1 | 2020-09-10T09:27:32.000Z | 2020-09-10T09:27:32.000Z | lib/scripts/convertPrintable.py | gideontong/Bot4Christ | 4a503df857397cddebdc9e098c8ba7fd4ef3f17c | [
"MIT"
] | 11 | 2020-07-31T04:59:09.000Z | 2021-02-23T18:21:30.000Z | lib/scripts/convertPrintable.py | gideontong/Bot4Christ | 4a503df857397cddebdc9e098c8ba7fd4ef3f17c | [
"MIT"
] | 1 | 2021-03-07T20:07:41.000Z | 2021-03-07T20:07:41.000Z | import json
print(json.loads(open('CUV.json', encoding='utf-8').read())) | 36 | 60 | 0.708333 | 12 | 72 | 4.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.041667 | 72 | 2 | 60 | 36 | 0.724638 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
3c36737ac656039ff1fd242e645063e199a24177 | 180 | py | Python | client/cart/errors.py | daniel-waruo/e-commerse-api | 6b080039398fb4099a34335317d649dd67783f63 | [
"Apache-2.0"
] | 6 | 2019-11-21T10:09:49.000Z | 2021-06-19T09:52:59.000Z | client/cart/errors.py | daniel-waruo/e-commerse-api | 6b080039398fb4099a34335317d649dd67783f63 | [
"Apache-2.0"
] | null | null | null | client/cart/errors.py | daniel-waruo/e-commerse-api | 6b080039398fb4099a34335317d649dd67783f63 | [
"Apache-2.0"
] | null | null | null | class NoUserIdOrSessionKeyError(Exception):
pass
class NoProductToDelete(Exception):
pass
class NoCart(Exception):
pass
class BadConfigError(Exception):
pass
| 12 | 43 | 0.744444 | 16 | 180 | 8.375 | 0.4375 | 0.38806 | 0.402985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 180 | 14 | 44 | 12.857143 | 0.917808 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3c7f4418c06b101fe9a141bc5d7934b71d420b48 | 161 | py | Python | scipy/io/arff/utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | 8 | 2015-10-07T00:37:32.000Z | 2022-01-21T17:02:33.000Z | scipy/io/arff/utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | null | null | null | scipy/io/arff/utils.py | lesserwhirls/scipy-cwt | ee673656d879d9356892621e23ed0ced3d358621 | [
"BSD-3-Clause"
] | 8 | 2015-05-09T14:23:57.000Z | 2018-11-15T05:56:00.000Z | #! /usr/bin/env python
# Last Change: Mon Aug 20 02:00 PM 2007 J
try:
from functools import partial
except ImportError:
from myfunctools import partial
| 20.125 | 41 | 0.732919 | 25 | 161 | 4.72 | 0.88 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 0.204969 | 161 | 7 | 42 | 23 | 0.84375 | 0.378882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3c9fe7670ba972fdb98b8f44d78954a29771ab45 | 146 | py | Python | learn_app/endpoints/index.py | alex-d-bondarev/learn-flask | dfa47821a3cf606f0535bbe79c373610afe1b957 | [
"MIT"
] | null | null | null | learn_app/endpoints/index.py | alex-d-bondarev/learn-flask | dfa47821a3cf606f0535bbe79c373610afe1b957 | [
"MIT"
] | null | null | null | learn_app/endpoints/index.py | alex-d-bondarev/learn-flask | dfa47821a3cf606f0535bbe79c373610afe1b957 | [
"MIT"
] | null | null | null | """
Index Page
"""
from learn_app.main import app
@app.route("/")
def index():
"""Default url
:return:
"""
return "Index Page"
| 10.428571 | 30 | 0.561644 | 18 | 146 | 4.5 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253425 | 146 | 13 | 31 | 11.230769 | 0.743119 | 0.212329 | 0 | 0 | 0 | 0 | 0.11828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b1c9c012f6a0fafcca2c9cee054e1bf1c9410db4 | 77 | py | Python | cherrypy/__main__.py | abancu/core | e110a1df32ec8bf67f007960e61df55f0a926219 | [
"MIT"
] | 674 | 2015-11-06T04:22:47.000Z | 2022-02-26T17:31:43.000Z | cherrypy/__main__.py | abancu/core | e110a1df32ec8bf67f007960e61df55f0a926219 | [
"MIT"
] | 713 | 2015-11-06T10:48:58.000Z | 2018-11-27T16:32:18.000Z | cherrypy/__main__.py | abancu/core | e110a1df32ec8bf67f007960e61df55f0a926219 | [
"MIT"
] | 115 | 2015-01-08T14:41:00.000Z | 2022-02-13T12:31:17.000Z | import cherrypy.daemon
if __name__ == '__main__':
cherrypy.daemon.run()
| 15.4 | 26 | 0.714286 | 9 | 77 | 5.222222 | 0.777778 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 4 | 27 | 19.25 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b1dbbd139bd089bb7853d3ab04dd3994a00683b3 | 50,191 | py | Python | ibis/driver/tests/test_driver.py | shivaathreya/ibis | f99e3b7a677652a8a1c00a069e645d97682e839c | [
"Apache-2.0"
] | 50 | 2018-09-27T13:03:45.000Z | 2021-04-06T15:36:59.000Z | ibis/driver/tests/test_driver.py | shivaathreya/ibis | f99e3b7a677652a8a1c00a069e645d97682e839c | [
"Apache-2.0"
] | null | null | null | ibis/driver/tests/test_driver.py | shivaathreya/ibis | f99e3b7a677652a8a1c00a069e645d97682e839c | [
"Apache-2.0"
] | 14 | 2018-10-03T20:36:15.000Z | 2021-05-18T07:08:57.000Z | """Driver tests."""
import copy
import difflib
import os
import sys
import time
import unittest
from mock import patch, Mock, MagicMock
from ibis.driver.driver import Driver
from ibis.inventor.tests.fixture_workflow_generator import *
from ibis.inventory.cb_inventory import CheckBalancesInventory
from ibis.inventory.... | 49.842105 | 103 | 0.635811 | 5,951 | 50,191 | 5.021341 | 0.074777 | 0.041162 | 0.042099 | 0.030922 | 0.798507 | 0.764206 | 0.728298 | 0.700823 | 0.668262 | 0.632856 | 0 | 0.009397 | 0.257895 | 50,191 | 1,006 | 104 | 49.89165 | 0.792869 | 0.002152 | 0 | 0.543632 | 0 | 0 | 0.206584 | 0.105498 | 0 | 0 | 0 | 0 | 0.106132 | 0 | null | null | 0.016509 | 0.028302 | null | null | 0.008255 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 5 |
b1e9fff1193157930749bf5098beb644524c8007 | 2,825 | py | Python | tests/test_sample_file.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 2 | 2021-10-06T00:14:40.000Z | 2021-11-27T18:39:06.000Z | tests/test_sample_file.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 3 | 2019-10-31T15:51:49.000Z | 2021-05-24T05:08:41.000Z | tests/test_sample_file.py | singer-io/singer-encodings | 51256b6d2aa0dc492264a8f8094f30b3f7a26259 | [
"Apache-2.0"
] | 7 | 2020-05-27T13:22:59.000Z | 2021-07-12T10:38:49.000Z | import unittest
from unittest import mock
from singer_encodings import json_schema
from singer_encodings import csv
import csv as _csv
import io
class Connection:
def get_file_handle(self, f):
if f.get("raise_error"):
raise OSError("OSError")
elif f.get("raise_permission_error"):
... | 54.326923 | 238 | 0.690265 | 390 | 2,825 | 4.802564 | 0.233333 | 0.06834 | 0.044848 | 0.074746 | 0.721837 | 0.709023 | 0.709023 | 0.709023 | 0.709023 | 0.709023 | 0 | 0.018675 | 0.203894 | 2,825 | 51 | 239 | 55.392157 | 0.81414 | 0.24708 | 0 | 0.285714 | 0 | 0 | 0.197256 | 0.06859 | 0 | 0 | 0 | 0 | 0.257143 | 1 | 0.114286 | false | 0 | 0.171429 | 0 | 0.371429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
b1fab5ca79bda60c6be92e0cf72089247b6368c1 | 9,914 | py | Python | 0000_students_work/2021tro/projection_liumethod_global_localrefine.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 23 | 2021-04-02T09:02:04.000Z | 2022-03-22T05:31:03.000Z | 0000_students_work/2021tro/projection_liumethod_global_localrefine.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 35 | 2021-04-12T09:41:05.000Z | 2022-03-26T13:32:46.000Z | 0000_students_work/2021tro/projection_liumethod_global_localrefine.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 16 | 2021-03-30T11:55:45.000Z | 2022-03-30T07:10:59.000Z | import numpy as np
import modeling.geometric_model as gm
import modeling.collision_model as cm
import visualization.panda.world as wd
import basis.robot_math as rm
import math
from scipy.spatial import cKDTree
import vision.depth_camera.surface.rbf_surface as rbfs
base = wd.World(cam_pos=np.array([-.3,-.7,.42]), looka... | 46.111628 | 147 | 0.694069 | 1,597 | 9,914 | 4.035066 | 0.097683 | 0.019863 | 0.039106 | 0.026071 | 0.788175 | 0.761949 | 0.761328 | 0.74612 | 0.729981 | 0.717877 | 0 | 0.04628 | 0.160884 | 9,914 | 214 | 148 | 46.327103 | 0.728333 | 0.034497 | 0 | 0.694301 | 0 | 0 | 0.006487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041451 | 0 | 0.041451 | 0.020725 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
594cb284abeb34f3dc359b047113ad375cf81c2f | 214 | py | Python | src/plexus/utils/logger.py | houseofbigseals/plexus | 370a4a7af2dc4df1ce353a6b8c5f1c54c4f3a06a | [
"Plexus"
] | 2 | 2022-02-25T17:46:49.000Z | 2022-02-25T17:49:46.000Z | src/plexus/utils/logger.py | houseofbigseals/plexus | 370a4a7af2dc4df1ce353a6b8c5f1c54c4f3a06a | [
"Plexus"
] | 11 | 2022-03-09T21:15:44.000Z | 2022-03-09T21:37:00.000Z | src/plexus/utils/logger.py | houseofbigseals/plexus | 370a4a7af2dc4df1ce353a6b8c5f1c54c4f3a06a | [
"Plexus"
] | null | null | null |
from datetime import datetime
class PrintLogger():
def __init__(self, name):
self.name = name
def __call__(self, arg):
print("{} | {} : {}".format(datetime.now(), self.name, arg)) | 23.777778 | 68 | 0.579439 | 24 | 214 | 4.833333 | 0.583333 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261682 | 214 | 9 | 68 | 23.777778 | 0.734177 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3ca197bc1347f2df110cdc0a84bc9933cd160740 | 33 | py | Python | samples/src/main/resources/datasets/python/78.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/78.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/78.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def test15(x, y):
{x.a, y.b}
| 11 | 17 | 0.454545 | 8 | 33 | 1.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.272727 | 33 | 2 | 18 | 16.5 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 1 | 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 | 5 |
3ce371b83b8d1ef63c4a66a5075f2d9fa2184cfd | 160 | py | Python | old-stuff-for-reference/nightjar-base/nightjar-src/python-src/nightjar/backend/impl/data_store_s3/tests/test_config.py | groboclown/nightjar-mesh | 3655307b4a0ad00a0f18db835b3a0d04cb8e9615 | [
"MIT"
] | 3 | 2019-12-23T23:46:02.000Z | 2020-08-07T23:10:20.000Z | old-stuff-for-reference/nightjar-base/nightjar-src/python-src/nightjar/backend/impl/data_store_s3/tests/test_config.py | groboclown/nightjar-mesh | 3655307b4a0ad00a0f18db835b3a0d04cb8e9615 | [
"MIT"
] | 2 | 2020-02-07T15:59:15.000Z | 2020-08-05T21:55:27.000Z | old-stuff-for-reference/nightjar-base/nightjar-src/python-src/nightjar/backend/impl/data_store_s3/tests/test_config.py | groboclown/nightjar-mesh | 3655307b4a0ad00a0f18db835b3a0d04cb8e9615 | [
"MIT"
] | 1 | 2020-05-28T00:46:05.000Z | 2020-05-28T00:46:05.000Z |
"""Test the config module"""
import unittest
# from .. import config
class S3ConfigTest(unittest.TestCase):
"""Tests for the S3 configuration class."""
| 16 | 47 | 0.70625 | 19 | 160 | 5.947368 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0.16875 | 160 | 9 | 48 | 17.777778 | 0.834586 | 0.51875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ce857ee41613daf8cc5e2954e66bfa836c04fc6 | 57 | py | Python | platon_account/__init__.py | awake006/platon-account | 81041b0e34ac35ad4bb629dd2ece8aeabbe20468 | [
"MIT"
] | null | null | null | platon_account/__init__.py | awake006/platon-account | 81041b0e34ac35ad4bb629dd2ece8aeabbe20468 | [
"MIT"
] | null | null | null | platon_account/__init__.py | awake006/platon-account | 81041b0e34ac35ad4bb629dd2ece8aeabbe20468 | [
"MIT"
] | null | null | null | from platon_account.account import Account # noqa: F401
| 28.5 | 56 | 0.807018 | 8 | 57 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.140351 | 57 | 1 | 57 | 57 | 0.857143 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3cfc7c16ac4fc66a4ff92ed42200fd5dc386cf24 | 31 | py | Python | ABC039/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC039/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | ABC039/B.py | shimomura314/AtcoderCodes | db1d62a7715f5f1b3c40eceff8d34f0f34839f41 | [
"MIT"
] | null | null | null | print(int(int(input())**(1/4))) | 31 | 31 | 0.580645 | 6 | 31 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 31 | 1 | 31 | 31 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a721a509ce8bdb945a1089a48b0eac692d8f266b | 33 | py | Python | test/output/096.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/output/096.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/output/096.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | print({i: i for i in range(10)})
| 16.5 | 32 | 0.606061 | 8 | 33 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 33 | 1 | 33 | 33 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
59742bbb92403cbdaba5f5656ba53238695af28d | 24 | py | Python | tests/modules/ambiguous/pkg1/__init__.py | jouve/coveragepy | 6aa3ae906a4d1fab8bbf5ef84e13ad7068ec361a | [
"Apache-2.0"
] | 2,254 | 2015-01-05T01:28:03.000Z | 2022-03-29T10:37:10.000Z | tests/modules/ambiguous/pkg1/__init__.py | jouve/coveragepy | 6aa3ae906a4d1fab8bbf5ef84e13ad7068ec361a | [
"Apache-2.0"
] | 707 | 2015-02-07T01:32:02.000Z | 2022-03-31T18:00:14.000Z | tests/modules/ambiguous/pkg1/__init__.py | jouve/coveragepy | 6aa3ae906a4d1fab8bbf5ef84e13ad7068ec361a | [
"Apache-2.0"
] | 439 | 2015-01-16T15:06:08.000Z | 2022-03-30T06:19:12.000Z | print("Ambiguous pkg1")
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 24 | 1 | 24 | 24 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
59c4f80d068cb2ddaeef67729553f8f9f270b91d | 101 | py | Python | CursoEmVideoPython/aula19.py | miguelabreuss/scripts_python | cf33934731a9d1b731672d4309aaea0a24ae151a | [
"MIT"
] | null | null | null | CursoEmVideoPython/aula19.py | miguelabreuss/scripts_python | cf33934731a9d1b731672d4309aaea0a24ae151a | [
"MIT"
] | 1 | 2020-07-04T16:27:25.000Z | 2020-07-04T16:27:25.000Z | CursoEmVideoPython/aula19.py | miguelabreuss/scripts_python | cf33934731a9d1b731672d4309aaea0a24ae151a | [
"MIT"
] | null | null | null | teste = [0, 2, 3, 4, 5]
print(teste)
teste.insert(0, teste[3])
print(teste)
teste.pop(4)
print(teste) | 16.833333 | 25 | 0.663366 | 20 | 101 | 3.35 | 0.45 | 0.447761 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0.118812 | 101 | 6 | 26 | 16.833333 | 0.662921 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
59e977bb1ef8b3dd72f60c247be6d06701b86f57 | 34 | py | Python | test3.py | khlaiqjd/pyneta | 0ee737308144fbf1b27984d561ca9d1ea2d2a680 | [
"Apache-2.0"
] | null | null | null | test3.py | khlaiqjd/pyneta | 0ee737308144fbf1b27984d561ca9d1ea2d2a680 | [
"Apache-2.0"
] | null | null | null | test3.py | khlaiqjd/pyneta | 0ee737308144fbf1b27984d561ca9d1ea2d2a680 | [
"Apache-2.0"
] | null | null | null | for x in range (10)
print(x)
| 6.8 | 20 | 0.558824 | 7 | 34 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.323529 | 34 | 4 | 21 | 8.5 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ab7f7794263bca02df5cd980478b72f9c2b0d7ca | 118 | py | Python | mentalhacks/music/admin.py | ShubhamPatel33/mental-health-games | bd15fa5bc5627525455e690b679811707b9ddf40 | [
"CC0-1.0"
] | null | null | null | mentalhacks/music/admin.py | ShubhamPatel33/mental-health-games | bd15fa5bc5627525455e690b679811707b9ddf40 | [
"CC0-1.0"
] | null | null | null | mentalhacks/music/admin.py | ShubhamPatel33/mental-health-games | bd15fa5bc5627525455e690b679811707b9ddf40 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from .models import Journal
# Register your models here.
admin.site.register(Journal) | 29.5 | 32 | 0.822034 | 17 | 118 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 33 | 29.5 | 0.92381 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ab81afccad793cc2cf0c06f8a0bcdf6dacf47836 | 5,808 | py | Python | medvision/ops/cuda_fun_tools.py | TimothyZero/MedVision | 92f5bc3f19f39542995f214818c93e3a870f8477 | [
"Apache-2.0"
] | 33 | 2021-06-16T08:49:34.000Z | 2022-03-16T01:04:02.000Z | medvision/ops/cuda_fun_tools.py | TimothyZero/MedVision | 92f5bc3f19f39542995f214818c93e3a870f8477 | [
"Apache-2.0"
] | 1 | 2021-12-04T08:30:24.000Z | 2021-12-09T02:30:52.000Z | medvision/ops/cuda_fun_tools.py | TimothyZero/MedVision | 92f5bc3f19f39542995f214818c93e3a870f8477 | [
"Apache-2.0"
] | 3 | 2021-08-23T05:48:58.000Z | 2021-12-16T07:12:23.000Z | # -*- coding:utf-8 -*-
import torch
from medvision import _C
def affine_2d(features,
rois,
out_size,
spatial_scale,
sampling_ratio=0,
aligned=True,
order=1):
if isinstance(out_size, int):
out_h = out_size
out_w = o... | 29.784615 | 91 | 0.534435 | 717 | 5,808 | 4.172943 | 0.157601 | 0.051471 | 0.051136 | 0.016043 | 0.871324 | 0.818516 | 0.775067 | 0.751337 | 0.692513 | 0.669118 | 0 | 0.03763 | 0.354855 | 5,808 | 194 | 92 | 29.938144 | 0.760875 | 0.039945 | 0 | 0.691824 | 0 | 0 | 0.057769 | 0 | 0 | 0 | 0 | 0 | 0.106918 | 1 | 0.037736 | false | 0 | 0.012579 | 0 | 0.100629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
abd46f3f796e0232106b0945fe70af10c2a75fcd | 117 | py | Python | app/src/services/__init__.py | beerjoa/flask-restplus-skeleton | efa221a00620746c9b7227d3840b2a43d788db1b | [
"Apache-2.0"
] | 1 | 2021-02-03T03:30:00.000Z | 2021-02-03T03:30:00.000Z | app/src/services/__init__.py | beerjoa/flask-restplus-skeleton | efa221a00620746c9b7227d3840b2a43d788db1b | [
"Apache-2.0"
] | null | null | null | app/src/services/__init__.py | beerjoa/flask-restplus-skeleton | efa221a00620746c9b7227d3840b2a43d788db1b | [
"Apache-2.0"
] | null | null | null | from .calculation import (
create_calc,
update_calc,
delete_calc,
select_calc,
select_calc_list
) | 16.714286 | 26 | 0.692308 | 14 | 117 | 5.357143 | 0.642857 | 0.266667 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247863 | 117 | 7 | 27 | 16.714286 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f9ec00be1f12d6ec54ce82bc2487a372d6d7349c | 215 | py | Python | pyPowerCLI/__init__.py | arielsafari/pyPowerCLI | 2dd2143199d32a0cc6256b9be9774a49c06e9d98 | [
"MIT"
] | null | null | null | pyPowerCLI/__init__.py | arielsafari/pyPowerCLI | 2dd2143199d32a0cc6256b9be9774a49c06e9d98 | [
"MIT"
] | null | null | null | pyPowerCLI/__init__.py | arielsafari/pyPowerCLI | 2dd2143199d32a0cc6256b9be9774a49c06e9d98 | [
"MIT"
] | 1 | 2020-10-13T12:14:04.000Z | 2020-10-13T12:14:04.000Z |
from .install import is_installed
from .install import install_powercli
from .install import uninstall_powercli
from .powershell import Powershell
from .powershell import PowershellException
__version__ = "0.0.1" | 23.888889 | 43 | 0.837209 | 27 | 215 | 6.407407 | 0.444444 | 0.190751 | 0.294798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015789 | 0.116279 | 215 | 9 | 44 | 23.888889 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e6064ab9f50b5bb33d70c208b56497aceb510bf2 | 150 | py | Python | dtc/enums/unbundled_trade_indicator_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 15 | 2020-04-26T05:25:53.000Z | 2022-02-11T19:38:42.000Z | dtc/enums/unbundled_trade_indicator_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 2 | 2021-01-08T19:58:08.000Z | 2021-11-29T06:08:48.000Z | dtc/enums/unbundled_trade_indicator_enum.py | jseparovic/python-ws-dtc-client | fd3952cdaf7ab8c9d5a26ccf53b5e9acb3a9ea0f | [
"Apache-2.0"
] | 4 | 2020-11-23T13:38:01.000Z | 2021-12-27T13:21:06.000Z |
class UnbundledTradeIndicatorEnum:
UNBUNDLED_TRADE_NONE = 0
FIRST_SUB_TRADE_OF_UNBUNDLED_TRADE = 1
LAST_SUB_TRADE_OF_UNBUNDLED_TRADE = 2
| 25 | 42 | 0.813333 | 20 | 150 | 5.5 | 0.6 | 0.381818 | 0.181818 | 0.345455 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.16 | 150 | 5 | 43 | 30 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e647ab50e8c80fcfb4dd71878f67f512b7143656 | 138 | py | Python | osf/files/addons-github-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-github-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-github-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | import os
# GitHub application credentials
CLIENT_ID = os.environ['GITHUB_CLIENT_ID']
CLIENT_SECRET = os.environ['GITHUB_CLIENT_SECRET']
| 23 | 50 | 0.811594 | 19 | 138 | 5.578947 | 0.473684 | 0.150943 | 0.283019 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 5 | 51 | 27.6 | 0.848 | 0.217391 | 0 | 0 | 0 | 0 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0515ec51b6d64c74e28390fb0f0e6e1a807c4f68 | 267 | py | Python | import_filter.py | jon2718/ipycool_2.0 | 34cf74ee99f4a725b997c50a7742ba788ac2dacd | [
"MIT"
] | null | null | null | import_filter.py | jon2718/ipycool_2.0 | 34cf74ee99f4a725b997c50a7742ba788ac2dacd | [
"MIT"
] | null | null | null | import_filter.py | jon2718/ipycool_2.0 | 34cf74ee99f4a725b997c50a7742ba788ac2dacd | [
"MIT"
] | null | null | null | from icoolobject import *
from regularregioncontainer import *
from regularregion import *
from hard_edge_transport import *
from icool_composite import *
from container import *
from cell import *
from field import *
from sregion import *
from hard_edge_sol import * | 26.7 | 36 | 0.816479 | 35 | 267 | 6.085714 | 0.428571 | 0.422535 | 0.131455 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 267 | 10 | 37 | 26.7 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55bcd00c2a99ae5705ec0b74e7d09173d52428fe | 153 | py | Python | exercicios/exercicio027.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio027.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | exercicios/exercicio027.py | NicoCassio/cursoemvideo-python | 2686ff74f4d45bdb0dc194f49f4dd19aae629d52 | [
"MIT"
] | null | null | null | n = str(input('Nome Completo: ')).strip()
print('Primeiro nome: {}'.format(n.split()[0]))
print('Último nome: {}'.format(n.split()[len(n.split()) - 1]))
| 38.25 | 62 | 0.607843 | 23 | 153 | 4.043478 | 0.608696 | 0.193548 | 0.236559 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.084967 | 153 | 3 | 63 | 51 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.30719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e99b58a5e9aa2ed895836703ecfa90a2e8eed06f | 96 | py | Python | enthought/blocks/ast_25/ast.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/blocks/ast_25/ast.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/blocks/ast_25/ast.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from codetools.blocks.ast_25.ast import *
| 24 | 41 | 0.833333 | 14 | 96 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.114583 | 96 | 3 | 42 | 32 | 0.847059 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9b8b9aff145ccaafa1e7b2d2c25110a231c7df3 | 42,189 | py | Python | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_7.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_7.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/loose_analysis_sdeta_2.6_mjj_1250/Output/Histos/MadAnalysis5job_0/selection_7.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_7():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 217.469072 | 2,424 | 0.789187 | 7,558 | 42,189 | 4.308547 | 0.271765 | 0.123326 | 0.176514 | 0.224542 | 0.24871 | 0.239252 | 0.236857 | 0.227521 | 0.225494 | 0.224665 | 0 | 0.649931 | 0.039276 | 42,189 | 193 | 2,425 | 218.595855 | 0.153484 | 0.029605 | 0 | 0.185841 | 0 | 0.00885 | 0.025499 | 0.00489 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e9cb61d999b3e8ff007f5af0d43063c443cb8c6b | 62 | py | Python | common/darts/api/__init__.py | j-woz/Benchmarks | d518162fdafb7cfa26071b6a30a3b456dad024f6 | [
"MIT"
] | 51 | 2017-01-24T20:57:27.000Z | 2022-02-15T00:33:45.000Z | common/darts/api/__init__.py | j-woz/Benchmarks | d518162fdafb7cfa26071b6a30a3b456dad024f6 | [
"MIT"
] | 59 | 2017-08-21T22:19:44.000Z | 2021-11-01T16:05:35.000Z | common/darts/api/__init__.py | j-woz/Benchmarks | d518162fdafb7cfa26071b6a30a3b456dad024f6 | [
"MIT"
] | 90 | 2016-11-22T03:57:07.000Z | 2022-01-11T04:43:23.000Z | from .model import Model
from .dataset import InMemoryDataset
| 20.666667 | 36 | 0.83871 | 8 | 62 | 6.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 37 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9cfa5403cc8e3974c33ff70c9186fd105e11ea1 | 101 | py | Python | sunday/sponsorapp/admin.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | 2 | 2020-10-18T21:02:54.000Z | 2020-10-18T21:03:46.000Z | sunday/sponsorapp/admin.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | null | null | null | sunday/sponsorapp/admin.py | H0oxy/zxc-djangoprjct | e5c56e16a876af1ece2a6727df89bb924ae8813b | [
"MIT"
] | null | null | null | from django.contrib import admin
from sponsorapp.models import Sponsor
admin.site.register(Sponsor) | 20.2 | 37 | 0.841584 | 14 | 101 | 6.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 5 | 38 | 20.2 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7590ef216c06a46f77e9be95921201f07c9fb14d | 191 | py | Python | test/test_del_contact.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | test/test_del_contact.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | test/test_del_contact.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def test_del_first_contact(app):
app.session.login(username = "admin", password = "secret")
app.contact.delete_first_contact()
app.session.logout() | 27.285714 | 63 | 0.659686 | 24 | 191 | 5.041667 | 0.708333 | 0.198347 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.17801 | 191 | 7 | 64 | 27.285714 | 0.764331 | 0.109948 | 0 | 0 | 0 | 0 | 0.067485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7592a8369f48ee5c95c640a8890cc582007d851a | 55 | py | Python | tinychat/__init__.py | alethea/udp-chat | 12a699920cab7881aabce502e07bddbf34e51749 | [
"Apache-2.0"
] | 1 | 2015-02-15T22:58:47.000Z | 2015-02-15T22:58:47.000Z | tinychat/__init__.py | alethea/udp-chat | 12a699920cab7881aabce502e07bddbf34e51749 | [
"Apache-2.0"
] | null | null | null | tinychat/__init__.py | alethea/udp-chat | 12a699920cab7881aabce502e07bddbf34e51749 | [
"Apache-2.0"
] | null | null | null | # 9/23/2013
# Charles O. Goddard
from . import server
| 11 | 20 | 0.690909 | 9 | 55 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0.2 | 55 | 4 | 21 | 13.75 | 0.704545 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
759a39ea4e265f566a0116a7299bc0ad7ff6cad7 | 109 | py | Python | library/favourite/admin.py | furkan-34/library-DRF-django-api | 3634133b7c543d6d05845dd8fa1f206386c1badb | [
"MIT"
] | null | null | null | library/favourite/admin.py | furkan-34/library-DRF-django-api | 3634133b7c543d6d05845dd8fa1f206386c1badb | [
"MIT"
] | null | null | null | library/favourite/admin.py | furkan-34/library-DRF-django-api | 3634133b7c543d6d05845dd8fa1f206386c1badb | [
"MIT"
] | null | null | null | from django.contrib import admin
from favourite.api.models import Favourite
admin.site.register(Favourite)
| 18.166667 | 42 | 0.834862 | 15 | 109 | 6.066667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 109 | 5 | 43 | 21.8 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
75e4a759c1c0db903673d30708c14c30316ea084 | 1,795 | py | Python | bot/player_commands/__init__.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 1 | 2021-06-15T07:31:13.000Z | 2021-06-15T07:31:13.000Z | bot/player_commands/__init__.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 1 | 2021-06-01T10:14:32.000Z | 2021-06-02T10:54:12.000Z | bot/player_commands/__init__.py | UP929312/CommunityBot | c16294e8ff4f47d9a1e8c18c9cd4011e7ebbd67a | [
"Apache-2.0"
] | 2 | 2021-06-01T10:59:15.000Z | 2021-06-03T18:29:36.000Z | from player_commands.bazaar import bazaar_cog
from player_commands.sky import sky_cog
from player_commands.wiki import wiki_cog
from player_commands.dungeons import dungeons_cog
from player_commands.kills import kills_cog
from player_commands.lowest_bin import lowest_bin_cog
fr... | 47.236842 | 93 | 0.773259 | 237 | 1,795 | 5.447257 | 0.156118 | 0.260263 | 0.320682 | 0.357862 | 0.049574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197772 | 1,795 | 37 | 94 | 48.513514 | 0.896528 | 0.022841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.709677 | 0 | 0.709677 | 0.064516 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
ddf33eb8cc06c0b70baa29d7b075e961d0bad0f8 | 5,363 | py | Python | tests/test_flask_twitter_oembedder.py | h3xh4wk/flask-twitter-oembedder | 4115778a12affe97313e39d2bfa017dd4c032852 | [
"MIT"
] | 9 | 2015-03-30T16:15:11.000Z | 2021-05-06T12:12:18.000Z | tests/test_flask_twitter_oembedder.py | h3xh4wk/flask-twitter-oembedder | 4115778a12affe97313e39d2bfa017dd4c032852 | [
"MIT"
] | null | null | null | tests/test_flask_twitter_oembedder.py | h3xh4wk/flask-twitter-oembedder | 4115778a12affe97313e39d2bfa017dd4c032852 | [
"MIT"
] | 3 | 2016-10-24T13:39:10.000Z | 2020-06-28T13:34:41.000Z | from flask import Flask, render_template_string, Markup
from flask.ext.testing import TestCase, ContextVariableDoesNotExist
from flask.ext.cache import Cache
from flask.ext.twitter_oembedder import TwitterOEmbedder
import types
import httpretty
class FlaskStaticTest(TestCase):
def create_app(self):
app = ... | 42.904 | 122 | 0.65262 | 646 | 5,363 | 5.210526 | 0.139319 | 0.098039 | 0.042781 | 0.049911 | 0.766191 | 0.766191 | 0.756387 | 0.756387 | 0.71123 | 0.683007 | 0 | 0.042878 | 0.230282 | 5,363 | 124 | 123 | 43.25 | 0.772529 | 0 | 0 | 0.672727 | 0 | 0.063636 | 0.182547 | 0.027037 | 0 | 0 | 0 | 0 | 0.109091 | 1 | 0.1 | false | 0 | 0.054545 | 0.009091 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
349b5c8834d9d9f9cd6eaf74debf6fec61ab3188 | 11,849 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimMaterialLayer_OpaqueMaterialLayer_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimMaterialLayer_OpaqueMaterialLayer_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimMaterialLayer_OpaqueMaterialLayer_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 44.378277 | 181 | 0.770276 | 1,162 | 11,849 | 7.282272 | 0.129088 | 0.384661 | 0.382179 | 0.205625 | 0.738951 | 0.69239 | 0.652328 | 0.587922 | 0.502836 | 0.401205 | 0 | 0.001707 | 0.159676 | 11,849 | 266 | 182 | 44.545113 | 0.848147 | 0.024812 | 0 | 0.383495 | 1 | 0 | 0.028064 | 0.007796 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169903 | false | 0.009709 | 0.053398 | 0.131068 | 0.558252 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
34aa5078e63278f98703ce0f89c002e42d8eb6f0 | 146 | py | Python | python/testData/stubs/AttrsKwOnlyOnField.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/stubs/AttrsKwOnlyOnField.py | alexey-anufriev/intellij-community | ffcd46f14e630acdefcc76e2bfc7c43d2449013a | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/stubs/AttrsKwOnlyOnField.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | import attr
@attr.s
class Foo:
bar1 = attr.ib(type=str)
bar2 = attr.ib(type=str, kw_only=True)
bar3 = attr.ib(type=str, kw_only=False) | 24.333333 | 43 | 0.664384 | 27 | 146 | 3.518519 | 0.555556 | 0.189474 | 0.315789 | 0.410526 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.184932 | 146 | 6 | 43 | 24.333333 | 0.773109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
34ba58f7e7aeb18886f43477b76462ba7c38e674 | 13,198 | py | Python | mi/dataset/parser/test/test_pco2w_abc_imodem.py | rmanoni/mi-dataset | c1012a0cd8f2ea075e008cdd1ab291ed54f44d43 | [
"BSD-2-Clause"
] | null | null | null | mi/dataset/parser/test/test_pco2w_abc_imodem.py | rmanoni/mi-dataset | c1012a0cd8f2ea075e008cdd1ab291ed54f44d43 | [
"BSD-2-Clause"
] | null | null | null | mi/dataset/parser/test/test_pco2w_abc_imodem.py | rmanoni/mi-dataset | c1012a0cd8f2ea075e008cdd1ab291ed54f44d43 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
__author__ = 'mworden'
"""
@package mi.dataset.parser.test.test_pco2w_abc_imodem
@author Mark Worden
@brief Test code for the pco2w_abc_imodem parser
"""
from mi.logging import log
import os
from nose.plugins.attrib import attr
from mi.core.exceptions import RecoverableSampleException
from mi... | 39.873112 | 97 | 0.654569 | 1,263 | 13,198 | 6.575614 | 0.125891 | 0.037568 | 0.060686 | 0.042986 | 0.755328 | 0.733895 | 0.726309 | 0.726309 | 0.726309 | 0.722095 | 0 | 0.035555 | 0.271177 | 13,198 | 330 | 98 | 39.993939 | 0.827841 | 0.095848 | 0 | 0.590164 | 0 | 0 | 0.114716 | 0.056879 | 0 | 0 | 0 | 0 | 0.185792 | 1 | 0.043716 | false | 0 | 0.04918 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
9b2da1805113ec9795d284933fb092c7e5290b97 | 210 | py | Python | Exercicios/Ex11.py | angeloridolfi/Python-CEV | fd11b7ea0725f83c84336b99304c50f183514245 | [
"MIT"
] | null | null | null | Exercicios/Ex11.py | angeloridolfi/Python-CEV | fd11b7ea0725f83c84336b99304c50f183514245 | [
"MIT"
] | null | null | null | Exercicios/Ex11.py | angeloridolfi/Python-CEV | fd11b7ea0725f83c84336b99304c50f183514245 | [
"MIT"
] | null | null | null | n = float(input('Qual a largura da pardede? :'))
n2 = float(input('Qual a altura da parede? :'))
print(f'A área da parede é igual a {n*n2}, e será necessário {(n*n2)/2} litros de tinta para pintar a parede.')
| 42 | 111 | 0.671429 | 40 | 210 | 3.525 | 0.625 | 0.141844 | 0.198582 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.171429 | 210 | 4 | 112 | 52.5 | 0.787356 | 0 | 0 | 0 | 0 | 0.333333 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9b635063d21cfdd4fba986ed81f94f977741e211 | 28 | py | Python | public/cmd/echo.py | sgframework/cdn | 28acfd0d1fcddc3179da9319d6c353ce95347e37 | [
"MIT"
] | 3 | 2019-05-21T22:54:01.000Z | 2019-06-05T09:27:40.000Z | public/cmd/echo.py | sgframework/cdn | 28acfd0d1fcddc3179da9319d6c353ce95347e37 | [
"MIT"
] | 10 | 2019-05-12T22:15:22.000Z | 2022-02-26T10:14:35.000Z | public/cmd/echo.py | sgframework/cdn | 28acfd0d1fcddc3179da9319d6c353ce95347e37 | [
"MIT"
] | 1 | 2019-05-23T16:41:33.000Z | 2019-05-23T16:41:33.000Z | #!/bin/python
print('hello') | 14 | 14 | 0.678571 | 4 | 28 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 28 | 2 | 14 | 14 | 0.703704 | 0.428571 | 0 | 0 | 0 | 0 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9b8c82ba5563266d6395cb1aad2eb5e182fdfebd | 13 | py | Python | windows-virtual-desktop/archive/19H2/powershell/runbooks/Renew-RegistrationTokenAfterExpiration.py | faroukfriha/azure-as-code | 687828825b4dbe2504e6e8f52500c751a4c8d452 | [
"MIT"
] | 1 | 2020-11-24T19:59:37.000Z | 2020-11-24T19:59:37.000Z | windows-virtual-desktop/archive/19H2/powershell/runbooks/Renew-RegistrationTokenAfterExpiration.py | faroukfriha/azure-as-code | 687828825b4dbe2504e6e8f52500c751a4c8d452 | [
"MIT"
] | null | null | null | windows-virtual-desktop/archive/19H2/powershell/runbooks/Renew-RegistrationTokenAfterExpiration.py | faroukfriha/azure-as-code | 687828825b4dbe2504e6e8f52500c751a4c8d452 | [
"MIT"
] | 1 | 2020-11-24T19:59:58.000Z | 2020-11-24T19:59:58.000Z | print("Toto") | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fd007dd08e8e8e1d33f548f59b3130093cc2c95f | 68 | py | Python | nitorch/io/volumes/babel/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/io/volumes/babel/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/io/volumes/babel/__init__.py | liamchalcroft/nitorch | 0de179aff97244a82213c528f0d6393725c868c9 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | from .array import BabelArray
from . import array, metadata, utils
| 17 | 36 | 0.779412 | 9 | 68 | 5.888889 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 37 | 22.666667 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fd527a11499bbd59a17f1c13a3f4f3f0215322a0 | 34 | py | Python | src/b2sum/__main__.py | karlrink/b2sum | 2769aa8505583349aeb9b2c06c96fd95a7252e3c | [
"MIT"
] | 1 | 2022-01-18T13:59:30.000Z | 2022-01-18T13:59:30.000Z | src/b2sum/__main__.py | karlrink/b2sum | 2769aa8505583349aeb9b2c06c96fd95a7252e3c | [
"MIT"
] | null | null | null | src/b2sum/__main__.py | karlrink/b2sum | 2769aa8505583349aeb9b2c06c96fd95a7252e3c | [
"MIT"
] | null | null | null |
from .b2sum import main
main()
| 5.666667 | 23 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.235294 | 34 | 5 | 24 | 6.8 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fd555d537bce1a776aed73925e9bbfc0f2b4c5ba | 159 | py | Python | src/common/models/line.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | src/common/models/line.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | src/common/models/line.py | wenksi/pren-robo-cube-ipcv | e2cf655a7e33aa63dae6e2b2a91abaa11d587f8f | [
"MIT"
] | null | null | null | from src.common.models.point import Point
import logging
class Line:
def __init__(self, p1: Point, p2: Point):
self.p1 = p1
self.p2 = p2
| 17.666667 | 45 | 0.641509 | 24 | 159 | 4.083333 | 0.583333 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.264151 | 159 | 8 | 46 | 19.875 | 0.786325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
b5da6e9818d71e47b2a8974d6bcaabbe40363f22 | 109 | py | Python | unrpyc/__main__.py | Dobby233Liu/unrpyc | d814a8a02d4fa658ec0e4476457c3832258aeca8 | [
"MIT"
] | 3 | 2021-12-05T09:26:41.000Z | 2022-03-28T12:15:50.000Z | unrpyc/__main__.py | Dobby233Liu/unrpyc | d814a8a02d4fa658ec0e4476457c3832258aeca8 | [
"MIT"
] | null | null | null | unrpyc/__main__.py | Dobby233Liu/unrpyc | d814a8a02d4fa658ec0e4476457c3832258aeca8 | [
"MIT"
] | 1 | 2022-02-11T22:49:50.000Z | 2022-02-11T22:49:50.000Z | #!/usr/bin/env python
# FIXME: main is in __init__
from . import main
if __name__ == '__main__':
main()
| 15.571429 | 28 | 0.66055 | 16 | 109 | 3.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201835 | 109 | 6 | 29 | 18.166667 | 0.689655 | 0.431193 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b5e2dcce54598d9e11a7a5a80d2478a94f24382d | 856 | py | Python | question2.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question2.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | question2.py | gusenov/test-tech-mail-ru-python2 | 70e37a3de447b6f7c4da5add75f65df1b51405fe | [
"MIT"
] | null | null | null | l = ['a', 'b', 'c']
# print l.values() # AttributeError: 'list' object has no attribute 'values'
# print l.contains() # AttributeError: 'list' object has no attribute 'contains'
# print l.sorted() # AttributeError: 'list' object has no attribute 'sorted'
# print l.type() # AttributeError: 'list' object has no attr... | 45.052632 | 81 | 0.663551 | 122 | 856 | 4.655738 | 0.196721 | 0.073944 | 0.295775 | 0.332746 | 0.5 | 0.46831 | 0 | 0 | 0 | 0 | 0 | 0.001416 | 0.175234 | 856 | 18 | 82 | 47.555556 | 0.803116 | 0.857477 | 0 | 0 | 0 | 0 | 0.030928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bd2ee5e4f091521676b07f93e09f40a8276df251 | 175 | py | Python | locintel/graphs/masks/apply/base.py | pedrofreitascampospro/locintel | eb9c56cdc308660c31d90abe9fe62bd3634ba273 | [
"MIT"
] | null | null | null | locintel/graphs/masks/apply/base.py | pedrofreitascampospro/locintel | eb9c56cdc308660c31d90abe9fe62bd3634ba273 | [
"MIT"
] | null | null | null | locintel/graphs/masks/apply/base.py | pedrofreitascampospro/locintel | eb9c56cdc308660c31d90abe9fe62bd3634ba273 | [
"MIT"
] | null | null | null | class ApplyMaskBase(object):
def __init__(self):
pass
def apply_mask(self, *arg, **kwargs):
raise NotImplementedError("Please implement in subclass")
| 25 | 65 | 0.674286 | 19 | 175 | 5.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222857 | 175 | 6 | 66 | 29.166667 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1f9d52354f52bce8878cf8cf2e60643813c97ead | 134 | py | Python | lldb/test/API/dotest.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | test/dotest.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | test/dotest.py | DalavanCloud/lldb | e913eaf2468290fb94c767d474d611b41a84dd69 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | #!/usr/bin/env python
if __name__ == "__main__":
import use_lldb_suite
import lldbsuite.test
lldbsuite.test.run_suite()
| 16.75 | 30 | 0.701493 | 18 | 134 | 4.611111 | 0.777778 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 134 | 7 | 31 | 19.142857 | 0.761468 | 0.149254 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1fe8abbc33a7710e8a33a6cda2fd803e8e6964c5 | 2,696 | py | Python | test/test_make_pdf.py | Konrad-Ziarko/DokiDokiMD | 1f1707fe9b5861fb0407daf663f1a45de5a0fdfb | [
"MIT"
] | 1 | 2019-06-30T10:08:01.000Z | 2019-06-30T10:08:01.000Z | test/test_make_pdf.py | Konrad-Ziarko/DokiDokiMD | 1f1707fe9b5861fb0407daf663f1a45de5a0fdfb | [
"MIT"
] | 17 | 2018-12-23T23:50:06.000Z | 2019-12-09T19:17:20.000Z | test/test_make_pdf.py | Konrad-Ziarko/DokiDokiMD | 1f1707fe9b5861fb0407daf663f1a45de5a0fdfb | [
"MIT"
] | 1 | 2019-01-30T15:34:29.000Z | 2019-01-30T15:34:29.000Z | import os
import shutil
import unittest
from dokidokimd.models import Chapter, Manga, MangaSite
RESULTS_DIRECTORY = 'unittest_results_temp_dir'
class TestMakePdfMethods(unittest.TestCase):
def test_make_pdf1(self):
"""
Make pdf from previously downloaded images - simulated on copied files
... | 39.647059 | 78 | 0.680638 | 361 | 2,696 | 4.714681 | 0.221607 | 0.049354 | 0.042303 | 0.061105 | 0.718566 | 0.718566 | 0.718566 | 0.718566 | 0.717979 | 0.717979 | 0 | 0.00381 | 0.221068 | 2,696 | 67 | 79 | 40.238806 | 0.806667 | 0.050445 | 0 | 0.673469 | 0 | 0 | 0.059292 | 0.009948 | 0 | 0 | 0 | 0 | 0.204082 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
951748b7de80db96124b09c7152b8db0c633f16b | 123 | py | Python | Ejercicio 1 - EspacioPorGuion - CP.py | 2167-Team1/TeamProject | c2146bc03999677a09d1ee65b3c09ed5a10d9da0 | [
"MIT"
] | null | null | null | Ejercicio 1 - EspacioPorGuion - CP.py | 2167-Team1/TeamProject | c2146bc03999677a09d1ee65b3c09ed5a10d9da0 | [
"MIT"
] | 4 | 2021-11-16T02:36:24.000Z | 2021-11-26T03:33:57.000Z | Ejercicio 1 - EspacioPorGuion - CP.py | 2167-Team1/TeamProject | c2146bc03999677a09d1ee65b3c09ed5a10d9da0 | [
"MIT"
] | 4 | 2021-11-16T01:02:42.000Z | 2021-11-27T03:07:36.000Z | texto = input("Ingrese su texto: ")
def SpaceToDash(texto):
return texto.replace(" ", "-")
print (SpaceToDash(texto)) | 20.5 | 35 | 0.666667 | 14 | 123 | 5.857143 | 0.642857 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 123 | 6 | 36 | 20.5 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
951e2d9bb1d117cc6eb13e5bd74c156839364891 | 79 | py | Python | enthought/chaco/axis.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/chaco/axis.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/chaco/axis.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from chaco.axis import *
| 19.75 | 38 | 0.822785 | 11 | 79 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 3 | 39 | 26.333333 | 0.882353 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1f5231c878cf2e7e850dff78cdbe053fc880ade1 | 1,133 | py | Python | vjesala_art.py | njecolina/vjesala-igra-python | 1c6d4b492bf6b5dfdd6032de7343089acfbd8335 | [
"MIT"
] | null | null | null | vjesala_art.py | njecolina/vjesala-igra-python | 1c6d4b492bf6b5dfdd6032de7343089acfbd8335 | [
"MIT"
] | null | null | null | vjesala_art.py | njecolina/vjesala-igra-python | 1c6d4b492bf6b5dfdd6032de7343089acfbd8335 | [
"MIT"
] | null | null | null | stages = ['''
+---+
| |
O |
/|\ |
/ \ |
|
=========
''', '''
+---+
| |
O |
/|\ |
/ |
|
=========
''', '''
+---+
| |
O |
/|\ |
|
|
=========
''', '''
+---+
| |
O |
/| |
|
|
=========''', '''
+---+
| |
O |
| |
|... | 15.736111 | 68 | 0.129744 | 21 | 1,133 | 3.190476 | 0.714286 | 0.149254 | 0.179104 | 0.179104 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015766 | 0.60812 | 1,133 | 71 | 69 | 15.957746 | 0.132883 | 0 | 0 | 0.538462 | 0 | 0 | 0.805825 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f0681496b5d81721c08f5a41bffb98565162e3a | 97 | py | Python | app/ws/admin.py | profefonso/ValuesArray | 97cc0b82404d428d4a009e65aa52bdac0e129401 | [
"MIT"
] | 1 | 2020-09-07T19:42:58.000Z | 2020-09-07T19:42:58.000Z | app/ws/admin.py | profefonso/ValuesArray | 97cc0b82404d428d4a009e65aa52bdac0e129401 | [
"MIT"
] | null | null | null | app/ws/admin.py | profefonso/ValuesArray | 97cc0b82404d428d4a009e65aa52bdac0e129401 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ValueArray
admin.site.register(ValueArray)
| 19.4 | 32 | 0.835052 | 13 | 97 | 6.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 4 | 33 | 24.25 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2f91534d6203d0dd0817a4758101a85db1d5248c | 35 | py | Python | addr2line/__init__.py | ramwin/addr2line | 24553fd5096fe2983a699cb12f97e8d124aa2fb5 | [
"MIT"
] | null | null | null | addr2line/__init__.py | ramwin/addr2line | 24553fd5096fe2983a699cb12f97e8d124aa2fb5 | [
"MIT"
] | null | null | null | addr2line/__init__.py | ramwin/addr2line | 24553fd5096fe2983a699cb12f97e8d124aa2fb5 | [
"MIT"
] | null | null | null | from .base import Addr2lineContext
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2f9d217917b5cd53b39a95aa30af0b5f70d42126 | 47 | py | Python | src_old/nsessoracle/mixins/__init__.py | rishikesh67/django-tenant-oracle-schemas | 918a64e842b678fc506eadbb4d7e51b0b38ab0a2 | [
"MIT"
] | null | null | null | src_old/nsessoracle/mixins/__init__.py | rishikesh67/django-tenant-oracle-schemas | 918a64e842b678fc506eadbb4d7e51b0b38ab0a2 | [
"MIT"
] | 8 | 2019-12-04T23:26:11.000Z | 2022-02-10T09:42:18.000Z | src_old/nsessoracle/mixins/__init__.py | rishikesh67/django-tenant-oracle-schemas | 918a64e842b678fc506eadbb4d7e51b0b38ab0a2 | [
"MIT"
] | 2 | 2019-06-26T05:31:16.000Z | 2019-07-01T12:22:50.000Z | from .tenant_data_mixin import TenantDataMixin
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
85d8fe5218e7c4f0b78a62ea39a8268976962f92 | 196 | py | Python | rsopt/conversion.py | radiasoft/rsopt | 6d4d123dd61e30c7f562b2f5a28c3ccbbcddbde3 | [
"Apache-2.0"
] | 6 | 2020-11-03T16:51:50.000Z | 2022-02-13T20:40:05.000Z | rsopt/conversion.py | radiasoft/rsopt | 6d4d123dd61e30c7f562b2f5a28c3ccbbcddbde3 | [
"Apache-2.0"
] | 97 | 2020-05-18T18:24:49.000Z | 2022-03-23T15:42:42.000Z | rsopt/conversion.py | radiasoft/rsopt | 6d4d123dd61e30c7f562b2f5a28c3ccbbcddbde3 | [
"Apache-2.0"
] | 4 | 2020-08-18T23:19:55.000Z | 2021-12-08T20:55:09.000Z |
def create_switchyard(input_file, file_code):
from rsbeams.rsdata.switchyard import Switchyard
switchyard = Switchyard()
switchyard.read(input_file, file_code)
return switchyard | 24.5 | 52 | 0.770408 | 23 | 196 | 6.347826 | 0.521739 | 0.410959 | 0.178082 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 196 | 8 | 53 | 24.5 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
85fcae2a03f0c51bb31ec2fb7187d02c3d1ffd8e | 1,609 | py | Python | iguanas/rule_selection/tests/test_base_filter.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | 20 | 2021-12-22T14:15:03.000Z | 2022-03-31T22:46:42.000Z | iguanas/rule_selection/tests/test_base_filter.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | 12 | 2022-01-18T16:55:56.000Z | 2022-03-10T11:39:39.000Z | iguanas/rule_selection/tests/test_base_filter.py | Aditya-Kapadiya/Iguanas | dcc2c1e71f00574c3427fa530191e7079834c11b | [
"Apache-2.0"
] | 5 | 2021-12-25T07:28:29.000Z | 2022-02-23T09:40:03.000Z | import pytest
import pandas as pd
from iguanas.rule_selection._base_filter import _BaseFilter
from iguanas.rules import Rules
@pytest.fixture
def _create_data():
X_rules = pd.DataFrame({
'A': [1, 0, 1],
'B': [1, 1, 1]
})
return X_rules
def test_transform(_create_data):
X_rules = _cre... | 29.254545 | 59 | 0.620261 | 239 | 1,609 | 3.853556 | 0.188285 | 0.143322 | 0.043431 | 0.065147 | 0.7557 | 0.736156 | 0.736156 | 0.736156 | 0.736156 | 0.736156 | 0 | 0.00967 | 0.228713 | 1,609 | 54 | 60 | 29.796296 | 0.732474 | 0.064015 | 0 | 0.590909 | 0 | 0 | 0.043304 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.068182 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
c809d932b9311dfb1f5787254fe055da5226a1c6 | 122 | py | Python | take_a_number/admin.py | take-a-number/api | fd44f8b328e76511dcb248d330faa1d3faf0ff6f | [
"MIT"
] | 1 | 2019-02-12T16:23:37.000Z | 2019-02-12T16:23:37.000Z | take_a_number/admin.py | take-a-number/api | fd44f8b328e76511dcb248d330faa1d3faf0ff6f | [
"MIT"
] | 8 | 2019-02-17T23:06:29.000Z | 2019-02-26T02:53:29.000Z | take_a_number/admin.py | take-a-number/api | fd44f8b328e76511dcb248d330faa1d3faf0ff6f | [
"MIT"
] | null | null | null | from django.contrib import admin
# from .models import Course
# Register your models here.
# admin.site.register(Course)
| 20.333333 | 32 | 0.778689 | 17 | 122 | 5.588235 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 122 | 5 | 33 | 24.4 | 0.904762 | 0.663934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c80fd5c863a9702cad2fa4b9b77f75606d32289d | 38 | py | Python | lesson01/xuegangqiang/hello.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson01/xuegangqiang/hello.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson01/xuegangqiang/hello.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | #encoding: utf8
print("hello world")
| 9.5 | 20 | 0.710526 | 5 | 38 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 38 | 3 | 21 | 12.666667 | 0.787879 | 0.368421 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c816140cbe126f091d030f258bd5da93c340d0b9 | 78 | py | Python | src/api/__init__.py | stephan-01010011/botty | d2d82602d1ecfb6be9d6af91b57895aae39e45de | [
"MIT"
] | 5 | 2022-01-21T20:08:24.000Z | 2022-01-28T14:37:17.000Z | src/api/__init__.py | stephan-01010011/botty | d2d82602d1ecfb6be9d6af91b57895aae39e45de | [
"MIT"
] | 1 | 2022-02-10T08:21:22.000Z | 2022-02-10T08:38:54.000Z | src/api/__init__.py | stephan-01010011/botty | d2d82602d1ecfb6be9d6af91b57895aae39e45de | [
"MIT"
] | 6 | 2022-01-29T05:09:57.000Z | 2022-02-11T21:48:52.000Z | from .generic_api import GenericApi
from .discord_embeds import DiscordEmbeds
| 26 | 41 | 0.871795 | 10 | 78 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 42 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c83d790655616d4075e57241f69eac74f562e716 | 384 | py | Python | environments_utils/is_os.py | LucaCappelletti94/environments_utils | c6b8cc7a0fa07f770ed361f3bafaf1adee138f77 | [
"MIT"
] | null | null | null | environments_utils/is_os.py | LucaCappelletti94/environments_utils | c6b8cc7a0fa07f770ed361f3bafaf1adee138f77 | [
"MIT"
] | null | null | null | environments_utils/is_os.py | LucaCappelletti94/environments_utils | c6b8cc7a0fa07f770ed361f3bafaf1adee138f77 | [
"MIT"
] | null | null | null | """Utilities relative to operative systems."""
import sys
def is_macos() -> bool:
"""Return whether OS is macOS."""
return sys.platform == "darwin"
def is_windows() -> bool:
"""Return whether OS is Windows."""
return sys.platform in ("win32", "cygwin")
def is_linux() -> bool:
"""Return whether... | 21.333333 | 46 | 0.630208 | 50 | 384 | 4.78 | 0.44 | 0.062762 | 0.213389 | 0.238494 | 0.263598 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.203125 | 384 | 17 | 47 | 22.588235 | 0.771242 | 0.328125 | 0 | 0 | 0 | 0 | 0.118143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c84b2d6f8b394fc074927d883ef63a8dfb52867a | 41 | py | Python | test/com/facebook/buck/features/python/testdata/python_binary/preload_deps/preload_order.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 8,027 | 2015-01-02T05:31:44.000Z | 2022-03-31T07:08:09.000Z | test/com/facebook/buck/features/python/testdata/python_binary/preload_deps/preload_order.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 2,355 | 2015-01-01T15:30:53.000Z | 2022-03-30T20:21:16.000Z | test/com/facebook/buck/features/python/testdata/python_binary/preload_deps/preload_order.py | Unknoob/buck | 2dfc734354b326f2f66896dde7746a11965d5a13 | [
"Apache-2.0"
] | 1,280 | 2015-01-09T03:29:04.000Z | 2022-03-30T15:14:14.000Z | import ctypes
ctypes.CDLL(None).func()
| 8.2 | 24 | 0.731707 | 6 | 41 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 4 | 25 | 10.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c08c0a07011156bc1e1739857200ee053b7961b1 | 115 | py | Python | oiasg/define/_resource.py | will7101/OIASG | 44badff57689da99a2c9896d176b32e7b51d42b5 | [
"BSD-3-Clause"
] | 1 | 2018-03-17T10:07:11.000Z | 2018-03-17T10:07:11.000Z | oiasg/define/_resource.py | will7101/OIASG | 44badff57689da99a2c9896d176b32e7b51d42b5 | [
"BSD-3-Clause"
] | 1 | 2018-03-17T11:35:54.000Z | 2018-03-17T11:35:54.000Z | oiasg/define/_resource.py | will7101/OIASG | 44badff57689da99a2c9896d176b32e7b51d42b5 | [
"BSD-3-Clause"
] | null | null | null | {
'FONTS': [
('杨任东竹石体-Regular.ttf', '杨任东竹石体-Regular'),
('杨任东竹石体-Semibold.ttf', '杨任东竹石体-Semibold')
],
}
| 16.428571 | 45 | 0.565217 | 11 | 115 | 5.909091 | 0.454545 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 115 | 6 | 46 | 19.166667 | 0.691489 | 0 | 0 | 0 | 0 | 0 | 0.651376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c0a17ee1377f938454f5acedd448736b70de37ee | 154 | py | Python | follows/admin.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | 1 | 2022-01-10T12:00:59.000Z | 2022-01-10T12:00:59.000Z | follows/admin.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | follows/admin.py | mohamed17717/Like-Reddit-Backend-Clone | d60d7a4625ee0f7354a21e53c26c7c52746d735f | [
"MIT"
] | null | null | null | from django.contrib import admin
from follows.models import UserFollow, ThreadFollow
admin.site.register(UserFollow)
admin.site.register(ThreadFollow)
| 19.25 | 51 | 0.837662 | 19 | 154 | 6.789474 | 0.578947 | 0.139535 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 154 | 7 | 52 | 22 | 0.921429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c0a4439eec24d573b0d6e5fdfb7e5e9388f02d65 | 134 | py | Python | cpg-language-python/src/test/resources/python/issue473.py | anon767/cpg | 985f981a94c1a43f4f4363f6d51a8087bad2430a | [
"Apache-2.0"
] | null | null | null | cpg-language-python/src/test/resources/python/issue473.py | anon767/cpg | 985f981a94c1a43f4f4363f6d51a8087bad2430a | [
"Apache-2.0"
] | null | null | null | cpg-language-python/src/test/resources/python/issue473.py | anon767/cpg | 985f981a94c1a43f4f4363f6d51a8087bad2430a | [
"Apache-2.0"
] | 1 | 2021-12-17T09:16:39.000Z | 2021-12-17T09:16:39.000Z | if sys.version_info.minor > 9:
phr = {"user_id": user_id} | content
else:
z = {"user_id": user_id}
phr = {**z, **content}
| 22.333333 | 40 | 0.574627 | 21 | 134 | 3.428571 | 0.571429 | 0.333333 | 0.277778 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.231343 | 134 | 5 | 41 | 26.8 | 0.68932 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c0a6ad76b49e490ec9d2c5e7a6cbb2dd09728dbf | 55 | py | Python | gym_duckhunt/envs/__init__.py | borijang/gym-duckhunt | 08fc5a5f6117ce782a696db5eb15f67bbc5ff8e6 | [
"MIT"
] | null | null | null | gym_duckhunt/envs/__init__.py | borijang/gym-duckhunt | 08fc5a5f6117ce782a696db5eb15f67bbc5ff8e6 | [
"MIT"
] | null | null | null | gym_duckhunt/envs/__init__.py | borijang/gym-duckhunt | 08fc5a5f6117ce782a696db5eb15f67bbc5ff8e6 | [
"MIT"
] | null | null | null | from gym_duckhunt.envs.duckhunt_env import DuckHuntEnv
| 27.5 | 54 | 0.890909 | 8 | 55 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c0e2a4256a320717e44188ca15cbdec7a0618d0d | 231 | py | Python | src/accent_analyser/__init__.py | stefantaubert/eng2ipa-accent-transformer | d620c70b06c83119402e255085046747ade87444 | [
"MIT"
] | null | null | null | src/accent_analyser/__init__.py | stefantaubert/eng2ipa-accent-transformer | d620c70b06c83119402e255085046747ade87444 | [
"MIT"
] | null | null | null | src/accent_analyser/__init__.py | stefantaubert/eng2ipa-accent-transformer | d620c70b06c83119402e255085046747ade87444 | [
"MIT"
] | null | null | null | from accent_analyser.app import load_probabilities
from accent_analyser.core import (ProbabilitiesDict, Symbols,
check_probabilities_are_valid,
replace_with_prob)
| 46.2 | 64 | 0.627706 | 21 | 231 | 6.52381 | 0.761905 | 0.145985 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341991 | 231 | 4 | 65 | 57.75 | 0.901316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2398a6803f4dd0c8aff6e76170e4cffab68edd4e | 73 | py | Python | backend/server/processor/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | 1 | 2021-03-03T13:54:15.000Z | 2021-03-03T13:54:15.000Z | backend/server/processor/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | null | null | null | backend/server/processor/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | 1 | 2021-03-03T13:59:48.000Z | 2021-03-03T13:59:48.000Z | from .lime_bike_socket_feed_processor import LimeBikeSocketFeedProcessor
| 36.5 | 72 | 0.931507 | 8 | 73 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 73 | 1 | 73 | 73 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1a7d25bbf44b54e295f1543f476ff76fa5c58f7 | 145 | py | Python | tests2/config.py | Nlioxa/QA-Labs | 211cbfb9e8be50e8192d4097c8c4f3f71c9bb59b | [
"MIT"
] | null | null | null | tests2/config.py | Nlioxa/QA-Labs | 211cbfb9e8be50e8192d4097c8c4f3f71c9bb59b | [
"MIT"
] | null | null | null | tests2/config.py | Nlioxa/QA-Labs | 211cbfb9e8be50e8192d4097c8c4f3f71c9bb59b | [
"MIT"
] | null | null | null | from exceptionManager import ExceptionManager
from exception import TrueException, FalseException
from server import Server, FactoryServerHandler | 48.333333 | 51 | 0.896552 | 14 | 145 | 9.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089655 | 145 | 3 | 52 | 48.333333 | 0.984848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1b818c9af09b63a55ef05c345ca4dcd557a0323 | 167 | py | Python | SimCalorimetry/EcalTrigPrimProducers/python/ecalTriggerPrimitiveDigis_readDBOffline_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimCalorimetry/EcalTrigPrimProducers/python/ecalTriggerPrimitiveDigis_readDBOffline_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimCalorimetry/EcalTrigPrimProducers/python/ecalTriggerPrimitiveDigis_readDBOffline_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# Trigger Primitive Producer
from SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_readDBOffline_cfi import *
| 27.833333 | 94 | 0.88024 | 16 | 167 | 9.0625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 167 | 5 | 95 | 33.4 | 0.947712 | 0.155689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f1bed78838325dc43f0863523b3cefb43090b929 | 31 | py | Python | src/data/__init__.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/data/__init__.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | null | null | null | src/data/__init__.py | super6liu/technical-analysis-julian | dd8868b65d80f78e536f3471d4dc09440de48e62 | [
"MIT"
] | 1 | 2021-10-03T13:18:09.000Z | 2021-10-03T13:18:09.000Z | from src.data.data import Data
| 15.5 | 30 | 0.806452 | 6 | 31 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f1e3ccd1951c725074018b732f5020fc51f1a744 | 24 | py | Python | src/test.py | MayD524/c69_shell | e89a2b6c90f59b5ef6db329dab39e595d28b5aa5 | [
"MIT"
] | null | null | null | src/test.py | MayD524/c69_shell | e89a2b6c90f59b5ef6db329dab39e595d28b5aa5 | [
"MIT"
] | null | null | null | src/test.py | MayD524/c69_shell | e89a2b6c90f59b5ef6db329dab39e595d28b5aa5 | [
"MIT"
] | null | null | null | print("it worked again") | 24 | 24 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f1f7da6b4e80330bb82573cae9657385086edceb | 22 | py | Python | GetErDone/GetErDone.py | kdmundale/GetErDone | 725fa14e1dce6476766ce44910034a5d95c1bd3b | [
"MIT"
] | null | null | null | GetErDone/GetErDone.py | kdmundale/GetErDone | 725fa14e1dce6476766ce44910034a5d95c1bd3b | [
"MIT"
] | null | null | null | GetErDone/GetErDone.py | kdmundale/GetErDone | 725fa14e1dce6476766ce44910034a5d95c1bd3b | [
"MIT"
] | null | null | null | print('initial test')
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7b3164568dfb6b206fb5de8b12ea33c2f90e025c | 77 | py | Python | nicos_ess/commands/epics.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 12 | 2019-11-06T15:40:36.000Z | 2022-01-01T16:23:00.000Z | nicos_ess/commands/epics.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 4 | 2019-11-08T10:18:16.000Z | 2021-01-13T13:07:29.000Z | nicos_ess/commands/epics.py | ISISComputingGroup/nicos | 94cb4d172815919481f8c6ee686f21ebb76f2068 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 6 | 2020-01-11T10:52:30.000Z | 2022-02-25T12:35:23.000Z | from nicos.devices.epics import pvget, pvput # pylint:disable=unused-import
| 38.5 | 76 | 0.805195 | 11 | 77 | 5.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 1 | 77 | 77 | 0.898551 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e80571da093975821272bc18d47fdfac379f563 | 173 | py | Python | katas/kyu_7/dropcaps.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/dropcaps.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/dropcaps.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from re import split
def drop_cap(string):
return ''.join(a.capitalize() if not a.isspace() and len(a) > 2 else a
for a in split(r'(\s+)', string))
| 24.714286 | 74 | 0.578035 | 29 | 173 | 3.413793 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.271676 | 173 | 6 | 75 | 28.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.028902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9e985837b8b900c0e1e92ddff4a3a11c794d65c1 | 29 | py | Python | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Exponentials and Logarithms/Simplification, possibly to trig functions.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Exponentials and Logarithms/Simplification, possibly to trig functions.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Exponentials and Logarithms/Simplification, possibly to trig functions.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | exptrigsimp(exp(z) + exp(-z)) | 29 | 29 | 0.655172 | 5 | 29 | 3.8 | 0.6 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7b85e98cb7ac332ea84237eb0f930cdedca00d37 | 158 | py | Python | Python/Python.py | JarryShaw/HelloWorld | 669984fa415e9bb65f5b7c261ec4f87ffbe56c6d | [
"Apache-2.0"
] | 1 | 2017-12-22T14:15:08.000Z | 2017-12-22T14:15:08.000Z | Python/Python.py | JarryShaw/HelloWorld | 669984fa415e9bb65f5b7c261ec4f87ffbe56c6d | [
"Apache-2.0"
] | 1 | 2018-01-16T09:22:52.000Z | 2018-01-16T09:22:52.000Z | Python/Python.py | JarryShaw/HelloWorld | 669984fa415e9bb65f5b7c261ec4f87ffbe56c6d | [
"Apache-2.0"
] | 1 | 2018-01-16T07:50:00.000Z | 2018-01-16T07:50:00.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
print('Across the Great Wall, we can reach every corner in the world.')
| 22.571429 | 71 | 0.71519 | 25 | 158 | 4.32 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.158228 | 158 | 6 | 72 | 26.333333 | 0.804511 | 0.265823 | 0 | 0 | 0 | 0 | 0.54386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
7b8e36151963bb1d6549ff828fe4342c5da0a7a2 | 46 | py | Python | tests/__init__.py | BenjaminDavison/aws_data_toolkit | 3980b745a2cac032bd751fd1aa80f2d49f959faa | [
"MIT"
] | null | null | null | tests/__init__.py | BenjaminDavison/aws_data_toolkit | 3980b745a2cac032bd751fd1aa80f2d49f959faa | [
"MIT"
] | 147 | 2020-04-26T16:08:08.000Z | 2022-03-27T18:32:18.000Z | tests/__init__.py | BenjaminDavison/aws_data_toolkit | 3980b745a2cac032bd751fd1aa80f2d49f959faa | [
"MIT"
] | null | null | null | """Unit test package for aws_data_toolkit."""
| 23 | 45 | 0.73913 | 7 | 46 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.780488 | 0.847826 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7ba3bd6037ba5caed4f968e6f6c641b2d589d8ea | 138 | py | Python | flowcat/classifier/__init__.py | xiamaz/flowCat | 5fea92eff3112ea3bb669595b469735b2bfa3938 | [
"MIT"
] | 4 | 2020-03-06T14:06:12.000Z | 2021-06-25T15:03:54.000Z | flowcat/classifier/__init__.py | xiamaz/flowCat | 5fea92eff3112ea3bb669595b469735b2bfa3938 | [
"MIT"
] | 3 | 2020-03-25T10:54:52.000Z | 2020-11-26T19:06:23.000Z | flowcat/classifier/__init__.py | xiamaz/flowCat | 5fea92eff3112ea3bb669595b469735b2bfa3938 | [
"MIT"
] | 2 | 2020-04-14T11:26:25.000Z | 2021-04-02T19:25:52.000Z | from .classifier import SOMClassifier, SOMClassifierConfig
from .saliency import SOMSaliency
from .models import create_model_multi_input
| 34.5 | 58 | 0.876812 | 16 | 138 | 7.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 3 | 59 | 46 | 0.944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c8a61c626df704a345f1d0e0cafb9c3e98bf1a83 | 1,093 | py | Python | Anotacoes/aula9.py | kaiquesouzasantos/python-solyd | 0dffcc8f5a163bca15d0967dd243a9f703779936 | [
"MIT"
] | null | null | null | Anotacoes/aula9.py | kaiquesouzasantos/python-solyd | 0dffcc8f5a163bca15d0967dd243a9f703779936 | [
"MIT"
] | null | null | null | Anotacoes/aula9.py | kaiquesouzasantos/python-solyd | 0dffcc8f5a163bca15d0967dd243a9f703779936 | [
"MIT"
] | null | null | null | # ===================== abrir texto(.txt) =====================
open('Caminho\NomeDoArvivo.[tipo_primitivo]') # open() => abrir arquivos em python # \ = \\ dentro
open('Caminho\NomeDoArvivo.[tipo_primitivo]','w') # 'w' => (w = write) cria o arquivo ou sobreescreve
open('Caminho\NomeDoArvivo.[tipo_primitivo]','r') # ... | 43.72 | 102 | 0.617566 | 131 | 1,093 | 5.091603 | 0.374046 | 0.148426 | 0.310345 | 0.323838 | 0.53973 | 0.385307 | 0.263868 | 0.137931 | 0 | 0 | 0 | 0.005308 | 0.138152 | 1,093 | 24 | 103 | 45.541667 | 0.70276 | 0.376029 | 0 | 0 | 0 | 0 | 0.57764 | 0.496894 | 0 | 0 | 0 | 0.041667 | 0 | 0 | null | null | 0 | 0 | null | null | 0.133333 | 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 | 1 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c8f0fb57dcd152c68fb189cf235fd2233078697d | 89 | py | Python | django_apollo_example/api/admin.py | jknaresh/django-graphql-ariadne | 6583d76c45f0e7244925601926cbd1c017c4f74f | [
"Apache-2.0"
] | null | null | null | django_apollo_example/api/admin.py | jknaresh/django-graphql-ariadne | 6583d76c45f0e7244925601926cbd1c017c4f74f | [
"Apache-2.0"
] | null | null | null | django_apollo_example/api/admin.py | jknaresh/django-graphql-ariadne | 6583d76c45f0e7244925601926cbd1c017c4f74f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from api.models import Post
admin.site.register(Post)
| 14.833333 | 32 | 0.808989 | 14 | 89 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 5 | 33 | 17.8 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a82d92eec56c0ad3e867e6cf1b2ea6843ef9862a | 2,326 | py | Python | detection/sample_tests/detection/unit_testing.py | Taicon42/CapCorrect | 686851cba54b44b5edb6c2b56ff3b95f387ff4b1 | [
"MIT"
] | null | null | null | detection/sample_tests/detection/unit_testing.py | Taicon42/CapCorrect | 686851cba54b44b5edb6c2b56ff3b95f387ff4b1 | [
"MIT"
] | null | null | null | detection/sample_tests/detection/unit_testing.py | Taicon42/CapCorrect | 686851cba54b44b5edb6c2b56ff3b95f387ff4b1 | [
"MIT"
] | null | null | null | import unittest
import preparation_functions as pf
import error_detection_functions as edf
import error_correction_functions as ecf
import exporting_functions as ef
class ErrorTotalTests(unittest.TestCase):
def test_filtered_total_errors_detected(self):
"""Test with profanity filter on"""
text_lis... | 35.242424 | 94 | 0.675838 | 280 | 2,326 | 5.242857 | 0.271429 | 0.06812 | 0.061308 | 0.071526 | 0.79564 | 0.79564 | 0.768392 | 0.768392 | 0.705722 | 0.705722 | 0 | 0.002256 | 0.237747 | 2,326 | 65 | 95 | 35.784615 | 0.825719 | 0.025795 | 0 | 0.521739 | 0 | 0 | 0.086475 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 1 | 0.108696 | false | 0 | 0.108696 | 0 | 0.23913 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
b575efaa222a5d25dc5d3faf4b1e7fe66c8e008c | 507 | py | Python | main/sitemaps.py | fideledev/Bhano-Blog | 1ad541cb18bc9cb468d48136d17d058d2863fb59 | [
"MIT"
] | null | null | null | main/sitemaps.py | fideledev/Bhano-Blog | 1ad541cb18bc9cb468d48136d17d058d2863fb59 | [
"MIT"
] | 3 | 2021-09-08T03:40:19.000Z | 2022-01-13T03:55:28.000Z | main/sitemaps.py | fidele000/Bhano-Blog | 21810f6ce2d0e5ae32151673a6a42a7eb5168a7e | [
"MIT"
] | null | null | null | from django.contrib.sitemaps import Sitemap
from .models import Post,Category
class PostSitemap(Sitemap):
changefreq = 'always'
priority = 0.9
def items(self):
return Post.published.all().order_by('-publish')
def lastmod(self, obj):
return obj.updated
class CategorySitemap(Sitemap... | 25.35 | 58 | 0.658777 | 61 | 507 | 5.442623 | 0.491803 | 0.10241 | 0.138554 | 0.186747 | 0.608434 | 0.608434 | 0.608434 | 0.608434 | 0.608434 | 0.608434 | 0 | 0.010256 | 0.230769 | 507 | 20 | 59 | 25.35 | 0.841026 | 0 | 0 | 0.625 | 0 | 0 | 0.055118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a90ba8de35136419270c289b2ea24ac17c583f67 | 153 | py | Python | silasdk/__init__.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | null | null | null | silasdk/__init__.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | null | null | null | silasdk/__init__.py | xuru/Sila-Python | 12fef8886580327779d32cf7596dae4516b36c11 | [
"Apache-2.0"
] | null | null | null | from .ethwallet import EthWallet
from .client import App
from .processingTypes import ProcessingTypes
from .registrationFields import RegistrationFields
| 30.6 | 50 | 0.869281 | 16 | 153 | 8.3125 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 153 | 4 | 51 | 38.25 | 0.970803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a90d5461929597e9f6c1a52129cdbaa7dc5181f2 | 3,755 | py | Python | ray_tracer/tests/test_ray.py | jjason/RayTracerChallenge | ab3cea8968407426bddfa9e11319664fc0b595f6 | [
"MIT"
] | 1 | 2020-05-13T03:54:00.000Z | 2020-05-13T03:54:00.000Z | ray_tracer/tests/test_ray.py | jjason/RayTracerChallenge | ab3cea8968407426bddfa9e11319664fc0b595f6 | [
"MIT"
] | null | null | null | ray_tracer/tests/test_ray.py | jjason/RayTracerChallenge | ab3cea8968407426bddfa9e11319664fc0b595f6 | [
"MIT"
] | null | null | null | import unittest
from matrix import Matrix
from point import Point
from vector import Vector
from ray import Ray
class TestRay(unittest.TestCase):
def test_create(self):
o = Point(x=1, y=2, z=3)
d = Vector(x=4, y=5, z=6)
r = Ray(origin=o, direction=d)
self.assertEqual(r.origin, o)
... | 37.929293 | 78 | 0.578961 | 678 | 3,755 | 3.171091 | 0.076696 | 0.075349 | 0.030698 | 0.139535 | 0.744186 | 0.717674 | 0.714419 | 0.70093 | 0.666977 | 0.652093 | 0 | 0.080941 | 0.230093 | 3,755 | 98 | 79 | 38.316327 | 0.662746 | 0 | 0 | 0.493333 | 0 | 0 | 0.00213 | 0 | 0 | 0 | 0 | 0 | 0.413333 | 1 | 0.093333 | false | 0 | 0.066667 | 0 | 0.173333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 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 | 5 |
a957be4a18b530737ff5086013ea9ddd64c3f8b7 | 316 | py | Python | skills_utils/__init__.py | workforce-data-initiative/skills-utils | 4cf9b7c2938984f34bbcc33d45482d23c52c7539 | [
"MIT"
] | null | null | null | skills_utils/__init__.py | workforce-data-initiative/skills-utils | 4cf9b7c2938984f34bbcc33d45482d23c52c7539 | [
"MIT"
] | 12 | 2017-04-06T22:34:14.000Z | 2018-02-11T20:08:32.000Z | skills_utils/__init__.py | workforce-data-initiative/skills-utils | 4cf9b7c2938984f34bbcc33d45482d23c52c7539 | [
"MIT"
] | 3 | 2018-03-05T18:36:26.000Z | 2020-07-29T23:08:06.000Z | from skills_utils.io import stream_json_file
from skills_utils.iteration import Batch
from skills_utils.job_posting_import import JobPostingImportBase
from skills_utils.s3 import split_s3_path
from skills_utils.time import datetime_to_quarter, overlaps, quarter_to_daterange
from skills_utils.common import safe_get
| 45.142857 | 81 | 0.892405 | 49 | 316 | 5.408163 | 0.510204 | 0.226415 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.082278 | 316 | 6 | 82 | 52.666667 | 0.906897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a98ff71e1cf9356cebd4a942b3483bfcd14aa0df | 15,673 | py | Python | RL_forest/ddpg_plant/multi_ddpg/models.py | NoListen/RL-forest | 6c43d43cc223a8be02256a60c38d72839b9d3fca | [
"MIT"
] | 2 | 2017-08-14T09:11:14.000Z | 2018-07-16T06:19:39.000Z | RL_forest/ddpg_plant/multi_ddpg/models.py | NoListen/RL-forest | 6c43d43cc223a8be02256a60c38d72839b9d3fca | [
"MIT"
] | null | null | null | RL_forest/ddpg_plant/multi_ddpg/models.py | NoListen/RL-forest | 6c43d43cc223a8be02256a60c38d72839b9d3fca | [
"MIT"
] | null | null | null | # https://github.com/openai/baselines/baselines/ddpg/models.py
import tensorflow as tf
import tensorflow.contrib as tc
from tensorflow.contrib import rnn
import numpy as np
# cover 2d and 3d
def get_w_bound(filter_shape):
# return np.sqrt(6./(np.prod(filter_shape[:-2]))*np.sum(filter_shape[-2:]))
return np.s... | 42.474255 | 118 | 0.55988 | 2,203 | 15,673 | 3.791648 | 0.123922 | 0.053873 | 0.031605 | 0.034119 | 0.784389 | 0.753382 | 0.718544 | 0.700347 | 0.691009 | 0.676164 | 0 | 0.030334 | 0.320615 | 15,673 | 368 | 119 | 42.589674 | 0.754132 | 0.166146 | 0 | 0.751073 | 0 | 0 | 0.008339 | 0 | 0 | 0 | 0 | 0.002717 | 0.008584 | 1 | 0.072961 | false | 0 | 0.017167 | 0.012876 | 0.171674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8d17516e9b780e3355cc21b96e4b4d6b07f6b793 | 169 | py | Python | kompassi/wsgi.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | kompassi/wsgi.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | kompassi/wsgi.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kompassi.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
| 21.125 | 68 | 0.828402 | 22 | 169 | 6.090909 | 0.590909 | 0.104478 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 7 | 69 | 24.142857 | 0.864516 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 0.130178 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
8d328c4601a037477cdc36cefc6cb622fe71093d | 11,701 | py | Python | build/lib/Scopuli/Interfaces/MySQL/Schema/Core/__init__.py | MaxOnNet/scopuli-core | 17d72d7f67286ae84b21aa2541f3e1f03b6154ca | [
"Apache-2.0"
] | null | null | null | build/lib/Scopuli/Interfaces/MySQL/Schema/Core/__init__.py | MaxOnNet/scopuli-core | 17d72d7f67286ae84b21aa2541f3e1f03b6154ca | [
"Apache-2.0"
] | null | null | null | build/lib/Scopuli/Interfaces/MySQL/Schema/Core/__init__.py | MaxOnNet/scopuli-core | 17d72d7f67286ae84b21aa2541f3e1f03b6154ca | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright [2017] Tatarnikov Viktor [viktor@tatarnikov.org]
#
# 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/licen... | 43.988722 | 160 | 0.678574 | 1,329 | 11,701 | 5.82167 | 0.177577 | 0.099134 | 0.097195 | 0.041877 | 0.825126 | 0.798371 | 0.74357 | 0.685149 | 0.685149 | 0.657231 | 0 | 0.011575 | 0.187847 | 11,701 | 265 | 161 | 44.154717 | 0.802589 | 0.090249 | 0 | 0.534161 | 0 | 0 | 0.260532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006211 | false | 0 | 0.006211 | 0 | 0.677019 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
8d3efcf59f1ae679322dc231bb9a8466aabe9ee1 | 89 | py | Python | irekia/__init__.py | eillarra/irekia | bbceb8d26c9dddf93f5015459bf53887703fb87e | [
"MIT"
] | 1 | 2017-04-29T11:37:59.000Z | 2017-04-29T11:37:59.000Z | irekia/__init__.py | eillarra/irekia | bbceb8d26c9dddf93f5015459bf53887703fb87e | [
"MIT"
] | 1 | 2021-03-31T18:50:59.000Z | 2021-03-31T18:50:59.000Z | irekia/__init__.py | eillarra/irekia | bbceb8d26c9dddf93f5015459bf53887703fb87e | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .client import Client, get_metadata # noqa
| 22.25 | 48 | 0.820225 | 12 | 89 | 5.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 3 | 49 | 29.666667 | 0.881579 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d6df2bbf0e86020114e72dfe033f37b704f09e3 | 1,682 | py | Python | modules/runnable/script5.py | Asichurter/Few-Shot-Project | 865cd6aa7b996c518dfa48dcc9ffad90445f9efe | [
"MIT"
] | null | null | null | modules/runnable/script5.py | Asichurter/Few-Shot-Project | 865cd6aa7b996c518dfa48dcc9ffad90445f9efe | [
"MIT"
] | null | null | null | modules/runnable/script5.py | Asichurter/Few-Shot-Project | 865cd6aa7b996c518dfa48dcc9ffad90445f9efe | [
"MIT"
] | null | null | null | import requests
import os
# save_path = 'C:/Users/Asichurter/Desktop/dl_malwares/'
#
# url = 'https://www.virustotal.com/vtapi/v2/file/download'
# apikey = 'c424abc9c8d7102cfaf9cf2d8f01fb95f4ddfd81a563d6e07738fa960b501d87'
# hashes = [ "63956d6417f8f43357d9a8e79e52257e"
# "6f7bde7a1126debf0cc359a54953efc1... | 39.116279 | 123 | 0.685493 | 101 | 1,682 | 11.336634 | 0.663366 | 0.018341 | 0.019214 | 0.036681 | 0.041921 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381749 | 0.218193 | 1,682 | 42 | 124 | 40.047619 | 0.488973 | 0.849584 | 0 | 0 | 0 | 0 | 0.532407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
8da0ed0bb0b0f2ad312d1b93fba7462bedf16e43 | 164 | py | Python | django_review/review/admin.py | edfranceschini/django_review | 6a03bd41d81a84949d635f4cc64efdfaff51e10c | [
"MIT"
] | null | null | null | django_review/review/admin.py | edfranceschini/django_review | 6a03bd41d81a84949d635f4cc64efdfaff51e10c | [
"MIT"
] | null | null | null | django_review/review/admin.py | edfranceschini/django_review | 6a03bd41d81a84949d635f4cc64efdfaff51e10c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Company, Profile, Review
admin.site.register(Company)
admin.site.register(Profile)
admin.site.register(Review) | 27.333333 | 44 | 0.823171 | 23 | 164 | 5.869565 | 0.478261 | 0.2 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 6 | 45 | 27.333333 | 0.89404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a5f2a97d7d498665423cabcef1dc59adede23787 | 382 | py | Python | Server/Data/scripts/player/skills/prayer.py | CoderMMK/RSPS | 5cf72f4203626e3bf3ab8790072547e260afa3f5 | [
"WTFPL"
] | null | null | null | Server/Data/scripts/player/skills/prayer.py | CoderMMK/RSPS | 5cf72f4203626e3bf3ab8790072547e260afa3f5 | [
"WTFPL"
] | null | null | null | Server/Data/scripts/player/skills/prayer.py | CoderMMK/RSPS | 5cf72f4203626e3bf3ab8790072547e260afa3f5 | [
"WTFPL"
] | 2 | 2019-07-19T21:28:47.000Z | 2020-01-07T14:23:31.000Z | # Bone Bury Functions
# Author: Lmctruck30
#
from server.util import ScriptManager
def itemClick_526(player, itemId, itemSlot):
player.getPA().buryBone(5, 1600, itemId, itemSlot)
def itemClick_532(player, itemId, itemSlot):
player.getPA().buryBone(10, 1600, itemId, itemSlot)
def itemClick_536(player, itemId, ite... | 22.470588 | 52 | 0.759162 | 49 | 382 | 5.857143 | 0.489796 | 0.292683 | 0.209059 | 0.271777 | 0.616725 | 0.407666 | 0 | 0 | 0 | 0 | 0 | 0.083086 | 0.117801 | 382 | 16 | 53 | 23.875 | 0.768546 | 0.099476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a5f4e46f6d82fde46b3af94a9cc6258e191f0f2f | 245 | py | Python | ch01/c118.py | claudiordgz/GoodrichTamassiaGoldwasser | 0e434caa5bf6f2adefaeff9c17b4f3910c1cff7b | [
"MIT"
] | 2 | 2017-01-04T02:00:39.000Z | 2018-10-10T17:43:51.000Z | ch01/c118.py | claudiordgz/GoodrichTamassiaGoldwasser | 0e434caa5bf6f2adefaeff9c17b4f3910c1cff7b | [
"MIT"
] | null | null | null | ch01/c118.py | claudiordgz/GoodrichTamassiaGoldwasser | 0e434caa5bf6f2adefaeff9c17b4f3910c1cff7b | [
"MIT"
] | null | null | null | __author__ = 'Claudio'
"""Demonstrate how to use Python’s list comprehension syntax to produce
the list [0, 2, 6, 12, 20, 30, 42, 56, 72, 90].
"""
def demonstration_list_comprehension():
return [idx*x for idx, x in enumerate(range(1,11))]
| 27.222222 | 71 | 0.693878 | 40 | 245 | 4.1 | 0.85 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0.167347 | 245 | 8 | 72 | 30.625 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0.057377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a5ff164795bd2b1745e48b05cf366f3770ea9640 | 89 | py | Python | cart/admin.py | geraldofada/flea-market | 174a269657dc148f52e2785933da73758e6e86be | [
"MIT"
] | null | null | null | cart/admin.py | geraldofada/flea-market | 174a269657dc148f52e2785933da73758e6e86be | [
"MIT"
] | null | null | null | cart/admin.py | geraldofada/flea-market | 174a269657dc148f52e2785933da73758e6e86be | [
"MIT"
] | null | null | null | from cart.models import Cart
from django.contrib import admin
admin.site.register(Cart) | 17.8 | 32 | 0.820225 | 14 | 89 | 5.214286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 5 | 33 | 17.8 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
572392deacfc0e33849ccd26e9c8fa2d3b4a5aac | 434 | py | Python | Bot/ExchangeBase.py | JHJohny/CryptoBuyInBot | 4a7ab4ff1c5dd92fc3853e4de75c54053f66871e | [
"MIT"
] | null | null | null | Bot/ExchangeBase.py | JHJohny/CryptoBuyInBot | 4a7ab4ff1c5dd92fc3853e4de75c54053f66871e | [
"MIT"
] | null | null | null | Bot/ExchangeBase.py | JHJohny/CryptoBuyInBot | 4a7ab4ff1c5dd92fc3853e4de75c54053f66871e | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Exchange(ABC):
@abstractmethod
def get_current_minute_candle(self, symbol):
"""Takes keyword of cryptocurrency and returns dict of - Open, High, Low, Close values"""
pass
@abstractmethod
def create_buy_order(self):
pass
@abstract... | 19.727273 | 97 | 0.66129 | 51 | 434 | 5.45098 | 0.647059 | 0.244604 | 0.226619 | 0.179856 | 0.230216 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267281 | 434 | 21 | 98 | 20.666667 | 0.874214 | 0.191244 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
573ad505fac4d4515eb374d85148e9fb951de2e4 | 80 | py | Python | 01_basic/exercise_042.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | null | null | null | 01_basic/exercise_042.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | 4 | 2020-03-24T18:00:07.000Z | 2021-06-02T00:51:22.000Z | 01_basic/exercise_042.py | sideroff/python-exercises | 6a9cc55735d977a71697204c734b3ade84a0c4fd | [
"MIT"
] | null | null | null | import struct
print("python is running on %i bit os" %(struct.calcsize("P")*8)) | 26.666667 | 65 | 0.7 | 14 | 80 | 4 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.125 | 80 | 3 | 65 | 26.666667 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.382716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.