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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0bc45ba825dec45f194ef809c71e03efdebfd664 | 210 | py | Python | nlu_analysers/rasa_analyser.py | kanbehmw/NLU-Evaluation-Scripts | 7af0d3eb5c9693bcf99a9781a0bf8a5cdcd93fef | [
"MIT"
] | null | null | null | nlu_analysers/rasa_analyser.py | kanbehmw/NLU-Evaluation-Scripts | 7af0d3eb5c9693bcf99a9781a0bf8a5cdcd93fef | [
"MIT"
] | null | null | null | nlu_analysers/rasa_analyser.py | kanbehmw/NLU-Evaluation-Scripts | 7af0d3eb5c9693bcf99a9781a0bf8a5cdcd93fef | [
"MIT"
] | null | null | null | from luis_analyser import *
class RasaAnalyser(LuisAnalyser):
def __init__(self, rasa_url, project):
super(LuisAnalyser, self).__init__()
self.project = project
self.url = rasa_url + "?q=%s&project=%s"
| 26.25 | 42 | 0.733333 | 28 | 210 | 5.107143 | 0.571429 | 0.111888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 210 | 7 | 43 | 30 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0bcadebe37f26611409f19b3d5b161e7bd09b386 | 1,416 | py | Python | src/tests/test_utils_batchprocessors.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 5 | 2015-01-30T08:47:59.000Z | 2022-01-22T19:27:03.000Z | src/tests/test_utils_batchprocessors.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 2 | 2017-12-28T21:36:48.000Z | 2017-12-28T21:36:57.000Z | src/tests/test_utils_batchprocessors.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 1 | 2019-01-05T15:51:37.000Z | 2019-01-05T15:51:37.000Z | import unittest
class TestReadBatchfile(unittest.TestCase):
def test_read_batchfile(self):
# self.assertEqual(expected, read_batchfile(pythonpath, file_ending))
assert True # TODO: implement your test here
class TestBatchCommandProcessor(unittest.TestCase):
def test_parse_file(self):
#... | 38.27027 | 100 | 0.72952 | 161 | 1,416 | 6.167702 | 0.267081 | 0.042296 | 0.138973 | 0.138973 | 0.596173 | 0.487412 | 0.446123 | 0.410876 | 0.365559 | 0.280967 | 0 | 0 | 0.187147 | 1,416 | 36 | 101 | 39.333333 | 0.862728 | 0.503531 | 0 | 0.4 | 0 | 0 | 0.011645 | 0 | 0 | 0 | 0 | 0.027778 | 0.3 | 1 | 0.3 | false | 0 | 0.05 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0be5da4a6ce1b507e352169be705462103dca83c | 11,555 | pyt | Python | POW_FootprintSubmit/Astrogeology_POW.pyt | thareUSGS/ArcGIS_Plugins | aefc1cf709f13873cff68fb39eafaea1bb391cd7 | [
"Unlicense"
] | null | null | null | POW_FootprintSubmit/Astrogeology_POW.pyt | thareUSGS/ArcGIS_Plugins | aefc1cf709f13873cff68fb39eafaea1bb391cd7 | [
"Unlicense"
] | null | null | null | POW_FootprintSubmit/Astrogeology_POW.pyt | thareUSGS/ArcGIS_Plugins | aefc1cf709f13873cff68fb39eafaea1bb391cd7 | [
"Unlicense"
] | null | null | null | # -*- coding: cp1252 -*-
import arcpy
import webbrowser
import string
class Toolbox(object):
def __init__(self):
self.label = "Astrogeology POW toolbox"
self.alias = "POW"
# List of tool classes associated with this toolbox
self.tools = [SubmitToPOW]
class SubmitToPOW(object):... | 49.806034 | 504 | 0.632107 | 1,543 | 11,555 | 4.705768 | 0.290343 | 0.025341 | 0.026029 | 0.027544 | 0.325713 | 0.298719 | 0.231373 | 0.192673 | 0.167745 | 0.142129 | 0 | 0.016397 | 0.213587 | 11,555 | 231 | 505 | 50.021645 | 0.782326 | 0.021895 | 0 | 0.230392 | 0 | 0.171569 | 0.689017 | 0.073162 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.009804 | 0.014706 | null | null | 0.029412 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0bebbb911e1d68ff2b80a7bdf4f0ae08c49094fc | 176 | py | Python | src/1_wrapper/0_method/0.py | ytyaru/Python.curses.Main.20210609114611 | 625688235053735b227be9948956d1477ef3c780 | [
"CC0-1.0"
] | null | null | null | src/1_wrapper/0_method/0.py | ytyaru/Python.curses.Main.20210609114611 | 625688235053735b227be9948956d1477ef3c780 | [
"CC0-1.0"
] | null | null | null | src/1_wrapper/0_method/0.py | ytyaru/Python.curses.Main.20210609114611 | 625688235053735b227be9948956d1477ef3c780 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
# coding: utf8
import os, curses
def main(stdscr): pass
if __name__ == "__main__":
os.environ['TERM'] = 'xterm-256color'
curses.wrapper(main)
| 16 | 41 | 0.670455 | 24 | 176 | 4.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.170455 | 176 | 10 | 42 | 17.6 | 0.719178 | 0.193182 | 0 | 0 | 0 | 0 | 0.18705 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
0bf15d64a9bdd69cfce294fe7951afe92b0712cd | 600 | py | Python | python-exercise300/071_080.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | 9 | 2020-10-25T15:13:32.000Z | 2022-03-26T11:27:21.000Z | python-exercise300/071_080.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | null | null | null | python-exercise300/071_080.py | sharebook-kr/learningspoons-bootcamp-finance | 0288f3f3b39f54420e4e9987f1de12892dc680ea | [
"MIT"
] | 7 | 2021-03-01T11:06:45.000Z | 2022-03-14T07:06:04.000Z | # 071
# my_variable = ()
# print(type(my_variable))
# print(len(my_variable))
# 072
# movie_rank = ('닥터 스트레인지', '스플릿', '럭키')
# print(movie_rank)
# 073
# a = (1, )
# print(a, type(a))
# 074
# t = (0, 1, 2)
# t[0] = 'a'
# 075
#t = 1, 2, 3, 4
#print(type(t))
# 076
# t = ('a', 'b', 'c')
# t = ('A', 'b', 'c')
# print(t... | 14.285714 | 41 | 0.511667 | 98 | 600 | 3.081633 | 0.459184 | 0.02649 | 0.039735 | 0.02649 | 0.18543 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0.091102 | 0.213333 | 600 | 42 | 42 | 14.285714 | 0.548729 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
040183c34647311d7bc69f2c708040fe8268a31f | 353 | py | Python | brambox/boxes/formats.py | thesuperorange/task-conditioned | dd700bbed6806d166b8ede6142a2129bc69fdef6 | [
"MIT"
] | 331 | 2020-06-05T05:10:21.000Z | 2022-03-29T07:32:42.000Z | brambox/boxes/formats.py | xiongcaihua/ObjectDetection-OneStageDet | d29f69cdce32b006bd040edb6e66427b3c987c70 | [
"Apache-2.0"
] | 10 | 2020-06-12T07:53:42.000Z | 2021-05-11T00:09:10.000Z | brambox/boxes/formats.py | xiongcaihua/ObjectDetection-OneStageDet | d29f69cdce32b006bd040edb6e66427b3c987c70 | [
"Apache-2.0"
] | 84 | 2020-06-05T10:21:11.000Z | 2022-03-27T23:42:44.000Z | #
# Copyright EAVISE
#
from .annotations import annotation_formats
from .detections import detection_formats
__all__ = ['formats', 'annotation_formats', 'detection_formats']
formats = {}
for key in annotation_formats:
formats['anno_'+key] = annotation_formats[key]
for key in detection_formats:
formats['det... | 23.533333 | 64 | 0.759207 | 41 | 353 | 6.195122 | 0.365854 | 0.267717 | 0.181102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135977 | 353 | 14 | 65 | 25.214286 | 0.832787 | 0.045326 | 0 | 0 | 0 | 0 | 0.154079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0404694d002d2f4212591102150ec02cc31f0d13 | 164 | py | Python | netscrypt/development/preliminary/code/basics/client.py | QQuick/Netscrypt | 285879d4fded3ac5d441cff4285f966f09c3c0ad | [
"Apache-2.0"
] | 2 | 2019-01-29T12:58:10.000Z | 2019-07-08T17:21:12.000Z | netscrypt/development/preliminary/code/basics/client.py | QQuick/Netscrypt | 285879d4fded3ac5d441cff4285f966f09c3c0ad | [
"Apache-2.0"
] | null | null | null | netscrypt/development/preliminary/code/basics/client.py | QQuick/Netscrypt | 285879d4fded3ac5d441cff4285f966f09c3c0ad | [
"Apache-2.0"
] | 2 | 2020-04-23T19:05:45.000Z | 2021-06-05T17:22:12.000Z | import netscrypt
with netscrypt.Client ('localhost', 6666) as client:
dogs = client ('dogs')
for dog in dogs:
print (dog.name)
print (dog.speak ('wraff'))
| 18.222222 | 52 | 0.676829 | 23 | 164 | 4.826087 | 0.652174 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.182927 | 164 | 8 | 53 | 20.5 | 0.798507 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
040576aa48547cbf85dfe00d22c79eb04b4c66a4 | 254 | py | Python | dev/tools/leveleditor/direct/showbase/PandaObject.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | dev/tools/leveleditor/direct/showbase/PandaObject.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | dev/tools/leveleditor/direct/showbase/PandaObject.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | """Undocumented Module"""
__all__ = []
## from DirectObject import *
## from pandac.PandaModules import *
##
## class PandaObject(DirectObject):
## """
## This is the class that all Panda/Show classes should inherit from
## """
## pass
| 19.538462 | 72 | 0.633858 | 26 | 254 | 6.038462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216535 | 254 | 12 | 73 | 21.166667 | 0.788945 | 0.822835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
041b0227f1384cc196f037f49c235b35561ddfe1 | 228 | py | Python | symmetricDifference.py | Pratyaksh7/PythonPrograms-Hackerrank | 171108851f8f90336123e383f945e8d36922d53b | [
"MIT"
] | null | null | null | symmetricDifference.py | Pratyaksh7/PythonPrograms-Hackerrank | 171108851f8f90336123e383f945e8d36922d53b | [
"MIT"
] | null | null | null | symmetricDifference.py | Pratyaksh7/PythonPrograms-Hackerrank | 171108851f8f90336123e383f945e8d36922d53b | [
"MIT"
] | null | null | null | M = int(input())
m1 = set(map(int, input().split()))
N = int(input())
n1 = set(map(int, input().split()))
output = list(m1.union(n1).difference(m1.intersection(n1)))
output.sort()
for i in output:
print(i)
| 19 | 61 | 0.583333 | 35 | 228 | 3.8 | 0.542857 | 0.240602 | 0.135338 | 0.210526 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.197368 | 228 | 11 | 62 | 20.727273 | 0.693989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
041bdf9ef0e1fb47557229d2dd90d695ee803eb9 | 249 | py | Python | Python/moveFromCurrentDirectory.py | frankcash/Misc | 18a8ac6032ba48f48c3c6402a0ec3fdd164b9e34 | [
"MIT"
] | null | null | null | Python/moveFromCurrentDirectory.py | frankcash/Misc | 18a8ac6032ba48f48c3c6402a0ec3fdd164b9e34 | [
"MIT"
] | null | null | null | Python/moveFromCurrentDirectory.py | frankcash/Misc | 18a8ac6032ba48f48c3c6402a0ec3fdd164b9e34 | [
"MIT"
] | null | null | null | import subprocess
PATH = "pwd"
process = subprocess.Popen(PATH.split(), stdout=subprocess.PIPE)
output = process.communicate()[0]
currentDirectory = output.rstrip()
documentsDirectory = "~/Documents/"
print currentDirectory
#shutil.copy(src, dst)
| 22.636364 | 64 | 0.767068 | 27 | 249 | 7.074074 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.096386 | 249 | 10 | 65 | 24.9 | 0.844444 | 0.084337 | 0 | 0 | 0 | 0 | 0.066079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
041fe672c22f7c990ab9d64f598957e7d421857e | 8,338 | py | Python | extras/test_octasphere.py | BruegelN/svg3d | a5e7f5cc2230852bd634c6438ea31fc1afc58704 | [
"MIT"
] | 286 | 2019-07-07T12:26:36.000Z | 2022-03-28T01:31:12.000Z | extras/test_octasphere.py | BruegelN/svg3d | a5e7f5cc2230852bd634c6438ea31fc1afc58704 | [
"MIT"
] | 3 | 2019-07-10T03:32:35.000Z | 2020-12-11T00:36:11.000Z | extras/test_octasphere.py | BruegelN/svg3d | a5e7f5cc2230852bd634c6438ea31fc1afc58704 | [
"MIT"
] | 26 | 2019-07-08T19:55:13.000Z | 2021-09-03T00:18:57.000Z | #!/usr/bin/env python3
import numpy as np
import svgwrite.utils
from octasphere import octasphere
import pyrr
from parent_folder import svg3d
from math import *
create_ortho = pyrr.matrix44.create_orthogonal_projection
create_perspective = pyrr.matrix44.create_perspective_projection
create_lookat = pyrr.matrix44.crea... | 39.516588 | 90 | 0.628088 | 1,277 | 8,338 | 4.026625 | 0.140172 | 0.008168 | 0.035006 | 0.046674 | 0.747764 | 0.731816 | 0.656359 | 0.641579 | 0.641579 | 0.604045 | 0 | 0.072678 | 0.204605 | 8,338 | 210 | 91 | 39.704762 | 0.702654 | 0.002519 | 0 | 0.572222 | 0 | 0 | 0.033309 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0.011111 | 0.188889 | 0.011111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
04229bc707b99469b131df8ca650bd593d2d66a0 | 55 | py | Python | drf_editable/__init__.py | raiderrobert/drf-editable | 3b421ade15203b82c0dee1f9de23f2dac5d01cf6 | [
"MIT"
] | null | null | null | drf_editable/__init__.py | raiderrobert/drf-editable | 3b421ade15203b82c0dee1f9de23f2dac5d01cf6 | [
"MIT"
] | null | null | null | drf_editable/__init__.py | raiderrobert/drf-editable | 3b421ade15203b82c0dee1f9de23f2dac5d01cf6 | [
"MIT"
] | null | null | null | """
Version of drf_editable
"""
__version__ = '0.0.1'
| 11 | 24 | 0.636364 | 8 | 55 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.163636 | 55 | 4 | 25 | 13.75 | 0.586957 | 0.418182 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
043fcecef0d6b3c77f4dd3b8fb6d3a573b0c24b3 | 414 | py | Python | autox/autox_server/model/lgb_with_fe.py | fanghy06/AutoX | 0bad349ef1b047152e2608760fd5d197128be723 | [
"Apache-2.0"
] | 499 | 2021-07-27T02:57:58.000Z | 2022-03-28T12:08:27.000Z | autox/autox_server/model/lgb_with_fe.py | fanghy06/AutoX | 0bad349ef1b047152e2608760fd5d197128be723 | [
"Apache-2.0"
] | 9 | 2021-08-03T15:14:56.000Z | 2022-03-11T07:06:06.000Z | autox/autox_server/model/lgb_with_fe.py | fanghy06/AutoX | 0bad349ef1b047152e2608760fd5d197128be723 | [
"Apache-2.0"
] | 87 | 2021-07-27T01:13:02.000Z | 2022-03-29T02:14:09.000Z | import warnings
warnings.filterwarnings('ignore')
from autox.autox_server.model import model_util
def lgb_with_fe(G_df_dict, G_data_info, G_hist, is_train, remain_time, params, lgb_para_dict, data_name, exp_name):
remain_time = model_util.lgb_model(G_df_dict['BIG_FE'], G_data_info, G_hist, is_train, remain_time, e... | 46 | 121 | 0.756039 | 68 | 414 | 4.147059 | 0.426471 | 0.141844 | 0.049645 | 0.070922 | 0.397163 | 0.397163 | 0.219858 | 0.219858 | 0.219858 | 0 | 0 | 0 | 0.161836 | 414 | 9 | 122 | 46 | 0.81268 | 0 | 0 | 0 | 0 | 0 | 0.028916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
04501f304f4110f13b2c896f2b3a960e3760f0ba | 75,962 | py | Python | hrl_dynamic_mpc/src/darci_left_dynamics.py | gt-ros-pkg/hrl-haptic-manip | 6458187075033ecd3a22fbcdc1a632df39b0cba1 | [
"Apache-2.0"
] | 1 | 2017-07-13T14:58:35.000Z | 2017-07-13T14:58:35.000Z | hrl_dynamic_mpc/src/darci_left_dynamics.py | gt-ros-pkg/hrl-haptic-manip | 6458187075033ecd3a22fbcdc1a632df39b0cba1 | [
"Apache-2.0"
] | null | null | null | hrl_dynamic_mpc/src/darci_left_dynamics.py | gt-ros-pkg/hrl-haptic-manip | 6458187075033ecd3a22fbcdc1a632df39b0cba1 | [
"Apache-2.0"
] | 2 | 2017-03-08T14:44:22.000Z | 2019-07-15T23:46:35.000Z | #
#
# Copyright (c) 2013, Georgia Tech Research Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, ... | 35.36406 | 551 | 0.584266 | 12,443 | 75,962 | 3.505505 | 0.121514 | 0.162315 | 0.095371 | 0.00149 | 0.018593 | 0.006694 | 0.003118 | 0.003118 | 0.003118 | 0.003118 | 0 | 0.401271 | 0.249967 | 75,962 | 2,147 | 552 | 35.380531 | 0.364324 | 0.030068 | 0 | 0.014613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002923 | false | 0 | 0.001461 | 0 | 0.007306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
04533e7da07212f6edfcc8bf7a0aa3636452a510 | 3,504 | py | Python | identity.py | inorton/NULLTeamPlugin | 05d84addb511b748edef41273345cecf0cfef6c0 | [
"BSD-2-Clause"
] | null | null | null | identity.py | inorton/NULLTeamPlugin | 05d84addb511b748edef41273345cecf0cfef6c0 | [
"BSD-2-Clause"
] | null | null | null | identity.py | inorton/NULLTeamPlugin | 05d84addb511b748edef41273345cecf0cfef6c0 | [
"BSD-2-Clause"
] | null | null | null | import binascii
import hashlib
import os
import sys
from ecdsa import SigningKey, VerifyingKey, curves
from ecdsa import ecdsa
from ecdsa import util as ecdsautil
DEFAULT_KEYTYPE = curves.NIST192p
def get_keys_folder(datafolder):
"""
:param datafolder:
:return:
"""
return os.path.join(datafolder,... | 21.763975 | 99 | 0.645833 | 414 | 3,504 | 5.391304 | 0.2657 | 0.057348 | 0.047043 | 0.041219 | 0.180556 | 0.148297 | 0.119624 | 0.119624 | 0.095878 | 0.095878 | 0 | 0.002997 | 0.238299 | 3,504 | 160 | 100 | 21.9 | 0.833271 | 0.223174 | 0 | 0.084746 | 0 | 0 | 0.031786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237288 | false | 0 | 0.118644 | 0 | 0.576271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
f08ae09dfac36016de686e8d627fcfe3a3b332cd | 185 | py | Python | chapter6/hello_debug_object_pdb.py | paiml/testing-in-python | d670b97c0377f4deaf3ddf9acf7f86be281c95e3 | [
"MIT"
] | 7 | 2020-02-24T14:59:00.000Z | 2022-02-22T19:17:42.000Z | chapter6/hello_debug_object_pdb.py | paiml/testing-in-python | d670b97c0377f4deaf3ddf9acf7f86be281c95e3 | [
"MIT"
] | 1 | 2020-02-16T18:15:12.000Z | 2020-03-04T22:57:28.000Z | chapter6/hello_debug_object_pdb.py | paiml/testing-in-python | d670b97c0377f4deaf3ddf9acf7f86be281c95e3 | [
"MIT"
] | 4 | 2020-12-25T22:52:22.000Z | 2022-01-23T03:53:28.000Z | class Z: pass
zz = Z()
def add(x,y):
import pdb;pdb.set_trace()
print(f"The value of x: {x}")
print(f"The value of y: {y}")
return x+y
result = add(3,zz)
print(result) | 16.818182 | 33 | 0.589189 | 37 | 185 | 2.918919 | 0.540541 | 0.037037 | 0.166667 | 0.259259 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.232432 | 185 | 11 | 34 | 16.818182 | 0.753521 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0 | 0.444444 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
f0900719f294002648e6ead5b172dca17f18bbd5 | 552 | py | Python | micropython-maixpy-0_6_2-66/stubs/cmath.py | mongonta0716/stub_for_maixpy | f8f29454668919873f9a0f14bb5a9b01ab103bc8 | [
"MIT"
] | 1 | 2021-08-22T09:10:43.000Z | 2021-08-22T09:10:43.000Z | micropython-maixpy-0_6_2-66/stubs/cmath.py | mongonta0716/stub_for_maixpy | f8f29454668919873f9a0f14bb5a9b01ab103bc8 | [
"MIT"
] | null | null | null | micropython-maixpy-0_6_2-66/stubs/cmath.py | mongonta0716/stub_for_maixpy | f8f29454668919873f9a0f14bb5a9b01ab103bc8 | [
"MIT"
] | null | null | null | """
Module: 'cmath' on micropython-maixpy-0.6.2-66
"""
# MCU: {'ver': '0.6.2-66', 'build': '66', 'sysname': 'MaixPy', 'platform': 'MaixPy', 'version': '0.6.2', 'release': '0.6.2', 'port': 'MaixPy', 'family': 'micropython', 'name': 'micropython', 'machine': 'Sipeed_M1 with kendryte-k210', 'nodename': 'MaixPy'}
# Stubber... | 15.771429 | 255 | 0.567029 | 80 | 552 | 3.9 | 0.5625 | 0.134615 | 0.038462 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093394 | 0.20471 | 552 | 34 | 256 | 16.235294 | 0.617312 | 0.572464 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45 | false | 0.45 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
f0929b6a073f7da27a372710645672f9fdc27183 | 4,049 | py | Python | whitehat.vn/pwn/pwn002/exploit.py | anarcheuz/CTF | beaccbfe036d90c7d7018978bad288c831d3f8f5 | [
"MIT"
] | 2 | 2015-03-24T22:20:08.000Z | 2018-05-12T16:41:13.000Z | whitehat.vn/pwn/pwn002/exploit.py | anarcheuz/CTF | beaccbfe036d90c7d7018978bad288c831d3f8f5 | [
"MIT"
] | null | null | null | whitehat.vn/pwn/pwn002/exploit.py | anarcheuz/CTF | beaccbfe036d90c7d7018978bad288c831d3f8f5 | [
"MIT"
] | null | null | null | import struct
import socket
import time
def p(a):
return struct.pack("<Q", a)
def u(a):
return struct.unpack("<Q", a)[0]
def recv_until(sock, s="\n"):
res = ""
while 1:
res += sock.recv(1)
if res.endswith(s):
break
return res
s = socket.create_connection(('lab30.wargame.whitehat.vn', 7002))
#s = socket.... | 27.924138 | 98 | 0.639417 | 754 | 4,049 | 3.391247 | 0.281167 | 0.09386 | 0.056316 | 0.04693 | 0.2851 | 0.241298 | 0.168557 | 0.129057 | 0.129057 | 0.084474 | 0 | 0.20203 | 0.221289 | 4,049 | 145 | 99 | 27.924138 | 0.608944 | 0.071129 | 0 | 0.057143 | 0 | 0 | 0.086731 | 0.016181 | 0 | 0 | 0.077023 | 0 | 0 | 0 | null | null | 0 | 0.042857 | null | null | 0.085714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f09bf75204cb3da53dacdf26e010bd48be3b22ac | 846 | py | Python | app/main/forms.py | CheboiDerrick/flask-blog-app | 197417786c025a1700610b4324c8df3c90fade91 | [
"MIT"
] | null | null | null | app/main/forms.py | CheboiDerrick/flask-blog-app | 197417786c025a1700610b4324c8df3c90fade91 | [
"MIT"
] | null | null | null | app/main/forms.py | CheboiDerrick/flask-blog-app | 197417786c025a1700610b4324c8df3c90fade91 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SelectField, TextAreaField, SubmitField
from wtforms.validators import Required
class UpdateProfile(FlaskForm):
bio = TextAreaField('Tell us a little about your awesome self.',validators = [Required()])
submit = SubmitField('Update')
class BlogF... | 49.764706 | 219 | 0.731678 | 83 | 846 | 7.445783 | 0.506024 | 0.145631 | 0.116505 | 0.169903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115839 | 846 | 17 | 220 | 49.764706 | 0.826203 | 0 | 0 | 0 | 0 | 0 | 0.236128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
f0a8707556b1429a1c6207c1b4710b684c15854c | 100 | py | Python | pywikibot/.pywikibot/user-config.py | Arkanosis/Arkonf | 4270061196a53890a49f40588d2174491b55a921 | [
"ISC"
] | 13 | 2015-04-21T15:30:23.000Z | 2021-11-15T10:41:13.000Z | pywikibot/.pywikibot/user-config.py | alexvanacker/Arkonf | 32160843607804b2b95f53a76db1b4cbea13a04b | [
"MIT"
] | null | null | null | pywikibot/.pywikibot/user-config.py | alexvanacker/Arkonf | 32160843607804b2b95f53a76db1b4cbea13a04b | [
"MIT"
] | 3 | 2015-11-12T07:36:01.000Z | 2021-12-29T05:33:23.000Z | mylang='fr'
family = 'wikipedia'
usernames['wikipedia']['fr']=u'Arktest'
console_encoding = 'utf-8'
| 20 | 39 | 0.71 | 13 | 100 | 5.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.08 | 100 | 4 | 40 | 25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f0bdc72e0cfbfbe7c8cabcb236f4df4f2ac337c4 | 292 | py | Python | context_propagation_python/module/__init__.py | AminoApps/context-propagation-python | ddde90d468c43e669c0c0a325e0127d9a755e1a6 | [
"Apache-2.0"
] | null | null | null | context_propagation_python/module/__init__.py | AminoApps/context-propagation-python | ddde90d468c43e669c0c0a325e0127d9a755e1a6 | [
"Apache-2.0"
] | null | null | null | context_propagation_python/module/__init__.py | AminoApps/context-propagation-python | ddde90d468c43e669c0c0a325e0127d9a755e1a6 | [
"Apache-2.0"
] | 1 | 2020-01-21T09:13:39.000Z | 2020-01-21T09:13:39.000Z | import logging
logger = logging.getLogger("context_propagation_python.module")
def auto_register():
try:
from context_propagation_python.module.requests import register
register()
except Exception as e:
logger.debug("Register requests failed! %s" % str(e))
| 24.333333 | 71 | 0.712329 | 34 | 292 | 5.970588 | 0.647059 | 0.17734 | 0.236453 | 0.295567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19863 | 292 | 11 | 72 | 26.545455 | 0.867521 | 0 | 0 | 0 | 0 | 0 | 0.208904 | 0.113014 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f0cceb4e3d969d61ffe0ed8c899b9d924996e4b4 | 1,462 | py | Python | services/dy-static-file-server/src/dy_static_file_server/ensure_random_workdir_data.py | sanderegg/osparc-services | 4a0fb05e3f1482ecdd5e6cb3dbc3034e1ce162cf | [
"MIT"
] | 2 | 2019-08-16T16:54:48.000Z | 2020-06-10T05:50:35.000Z | services/dy-static-file-server/src/dy_static_file_server/ensure_random_workdir_data.py | ITISFoundation/osparc-services | ebccabed6611b98db5dbd70d4c356162fe697ae1 | [
"MIT"
] | 63 | 2019-07-04T07:03:42.000Z | 2022-02-09T18:03:55.000Z | services/dy-static-file-server/src/dy_static_file_server/ensure_random_workdir_data.py | sanderegg/osparc-services | 4a0fb05e3f1482ecdd5e6cb3dbc3034e1ce162cf | [
"MIT"
] | 9 | 2019-04-17T07:11:10.000Z | 2020-06-03T13:42:58.000Z | import random
from pathlib import Path
from typing import List
import uuid
import grp, pwd
import getpass
import os
TARGET_DIRECTORY = Path("/workdir/generated-data")
def make_random_file(target_dir: Path) -> None:
file_path = target_dir / f"{uuid.uuid4()}.txt"
file_path.write_text("no random data here")
... | 25.206897 | 71 | 0.708618 | 212 | 1,462 | 4.617925 | 0.396226 | 0.073544 | 0.030644 | 0.058223 | 0.15526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004149 | 0.175787 | 1,462 | 58 | 72 | 25.206897 | 0.808299 | 0.028044 | 0 | 0 | 1 | 0 | 0.152817 | 0.016197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162162 | false | 0.054054 | 0.189189 | 0.054054 | 0.432432 | 0.162162 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
f0d427b7910efe35f22e77a5a8992a09ab481572 | 219 | py | Python | module6/13 BBS&BLOG/blog/blog_app01/urls.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2021-06-15T07:01:23.000Z | 2021-06-15T07:01:23.000Z | module6/13 BBS&BLOG/blog/blog_app01/urls.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 3 | 2020-02-13T14:35:36.000Z | 2021-06-10T21:27:14.000Z | module6/13 BBS&BLOG/blog/blog_app01/urls.py | Strugglingrookie/oldboy2 | 8ed6723cab1f54f2ff8ea0947c6f982aef7e1b47 | [
"Apache-2.0"
] | 1 | 2020-04-09T02:13:12.000Z | 2020-04-09T02:13:12.000Z | from django.urls import path
from blog_app01 import views
urlpatterns = [
path('index/', views.index),
path('login/', views.login),
path('regist/', views.regist),
path('valid_img/', views.valid_img),
]
| 21.9 | 40 | 0.666667 | 29 | 219 | 4.931034 | 0.482759 | 0.111888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.16895 | 219 | 9 | 41 | 24.333333 | 0.774725 | 0 | 0 | 0 | 0 | 0 | 0.13242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f0de5cb1a75702a640f369331d0b06c3f4320981 | 427 | py | Python | server/player.py | S4more/web-dev-project | 24d2c6479e5377ffc5ddaab889a31fd461a43a9e | [
"Xnet",
"X11"
] | null | null | null | server/player.py | S4more/web-dev-project | 24d2c6479e5377ffc5ddaab889a31fd461a43a9e | [
"Xnet",
"X11"
] | null | null | null | server/player.py | S4more/web-dev-project | 24d2c6479e5377ffc5ddaab889a31fd461a43a9e | [
"Xnet",
"X11"
] | null | null | null | class Player:
def __init__(self, socket, name, color, board):
self.name = name
self.board = board
self.socket = socket
self.lastMove = []
self.isTurn = False
#self.color = color
self.color = 'w'
async def init(self):
await self.board.addPlayer(se... | 23.722222 | 51 | 0.566745 | 51 | 427 | 4.509804 | 0.372549 | 0.104348 | 0.095652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330211 | 427 | 17 | 52 | 25.117647 | 0.804196 | 0.042155 | 0 | 0 | 0 | 0 | 0.002451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
f0f9caab6c0d28e3441a3ce9ddf48c703f3a1443 | 28,398 | py | Python | src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 695 | 2020-01-30T14:34:51.000Z | 2022-03-31T09:31:57.000Z | src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 845 | 2020-01-29T23:53:36.000Z | 2022-03-31T19:45:04.000Z | src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py | r3m0t/debugpy | 090e3c3ef5758e5b316514c9d6f44f9b9b488cf1 | [
"MIT"
] | 66 | 2020-01-30T13:10:38.000Z | 2022-03-29T07:11:17.000Z | import sys
try:
from _pydevd_bundle import pydevd_bytecode_utils
except ImportError:
pass
import pytest
pytestmark = pytest.mark.skipif(sys.version_info[0] < 3, reason='Only available for Python 3.')
@pytest.fixture(autouse=True, scope='function')
def enable_strict():
# In tests enable strict mode (in re... | 25.175532 | 186 | 0.597084 | 3,622 | 28,398 | 4.299006 | 0.096908 | 0.060112 | 0.086828 | 0.05857 | 0.786334 | 0.75358 | 0.739452 | 0.697772 | 0.625265 | 0.596365 | 0 | 0.040025 | 0.260969 | 28,398 | 1,127 | 187 | 25.19787 | 0.701911 | 0.016198 | 0 | 0.53856 | 0 | 0 | 0.146106 | 0.00795 | 0 | 0 | 0 | 0 | 0.025707 | 1 | 0.131105 | false | 0.017995 | 0.015424 | 0 | 0.169666 | 0.001285 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f0feda7f86d7e69df0e8fcea56b9eddeb467c98c | 294 | py | Python | pykeops/torch/kernel_product/__init__.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 695 | 2019-04-29T10:20:55.000Z | 2022-03-31T13:07:24.000Z | pykeops/torch/kernel_product/__init__.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 213 | 2019-04-18T09:24:39.000Z | 2022-03-31T14:27:12.000Z | pykeops/torch/kernel_product/__init__.py | mdiazmel/keops | 52a3d2ee80a720639f52898305f85399b7b45a63 | [
"MIT"
] | 52 | 2019-04-18T09:18:08.000Z | 2022-03-27T01:48:33.000Z | import warnings
warnings.simplefilter("default")
warnings.warn(
"[pyKeOps]: the kernel_product syntax is deprecated. Please consider using the LazyTensor helper instead.",
DeprecationWarning,
)
from .kernels import Kernel, kernel_product, kernel_formulas
from .formula import Formula
| 26.727273 | 111 | 0.795918 | 34 | 294 | 6.794118 | 0.676471 | 0.112554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 294 | 10 | 112 | 29.4 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.377551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f0ff81a2c37c8fbec4b65a774613b7beaf0758d4 | 1,101 | py | Python | mitmproxy/exceptions.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | null | null | null | mitmproxy/exceptions.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | null | null | null | mitmproxy/exceptions.py | dolfly/mitmproxy | 4604c25c6055a37e5f25a238d2a089759bd5d98a | [
"MIT"
] | null | null | null | """
We try to be very hygienic regarding the exceptions we throw:
Every Exception mitmproxy raises shall be a subclass of ProxyException.
See also: http://lucumr.pocoo.org/2014/10/16/on-error-handling/
"""
from __future__ import (absolute_import, print_function, division)
class ProxyException(Exception):
"""
... | 18.982759 | 71 | 0.75386 | 110 | 1,101 | 7.345455 | 0.554545 | 0.07797 | 0.113861 | 0.044554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009825 | 0.168029 | 1,101 | 57 | 72 | 19.315789 | 0.872271 | 0.227066 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.333333 | 0.041667 | 0 | 0.541667 | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
0b0f934ad7b915baf8e1a95ce7f37dd14cb7086b | 9,180 | py | Python | LR/lr/lib/uri_validate.py | LearningRegistry/LearningRegistry | d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2 | [
"Apache-2.0"
] | 26 | 2015-04-14T03:11:58.000Z | 2022-01-06T14:31:07.000Z | LR/lr/lib/uri_validate.py | LearningRegistry/LearningRegistry | d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2 | [
"Apache-2.0"
] | 11 | 2015-04-03T21:54:03.000Z | 2017-05-02T17:20:03.000Z | LR/lr/lib/uri_validate.py | LearningRegistry/LearningRegistry | d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2 | [
"Apache-2.0"
] | 16 | 2015-02-11T09:30:18.000Z | 2020-11-20T02:06:24.000Z | #!/usr/bin/env python
"""
Regex for URIs
These regex are directly derived from the collected ABNF in RFC3986
(except for DIGIT, ALPHA and HEXDIG, defined by RFC2234).
They should be processed with re.VERBOSE.
"""
__license__ = """
Copyright (c) 2009 Mark Nottingham (code portions)
Permission is hereby granted, fre... | 36.141732 | 95 | 0.456972 | 982 | 9,180 | 4.197556 | 0.230143 | 0.052644 | 0.018195 | 0.015526 | 0.292334 | 0.220524 | 0.178797 | 0.159389 | 0.121786 | 0.072538 | 0 | 0.041618 | 0.343028 | 9,180 | 253 | 96 | 36.284585 | 0.64185 | 0.337691 | 0 | 0.210526 | 0 | 0.04386 | 0.686197 | 0 | 0 | 0 | 0 | 0.003953 | 0 | 0 | null | null | 0 | 0.017544 | null | null | 0.096491 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0b0fa1517eed970b324181a732527b63257533c2 | 226 | py | Python | feedler/__meta__.py | xheuz/feedler | 44965d508f7afca8092101a2c4ffadcbb14809d6 | [
"MIT"
] | null | null | null | feedler/__meta__.py | xheuz/feedler | 44965d508f7afca8092101a2c4ffadcbb14809d6 | [
"MIT"
] | null | null | null | feedler/__meta__.py | xheuz/feedler | 44965d508f7afca8092101a2c4ffadcbb14809d6 | [
"MIT"
] | null | null | null | __title__ = "feedler"
__description__ = "A dead simple parser"
__version__ = "0.0.2"
__author__ = "Victor Natschke"
__author_email__ = "vnatschke@gmail.com"
__license__ = "MIT"
__copyright__ = "Copyright 2020 Victor Natschke"
| 28.25 | 48 | 0.765487 | 26 | 226 | 5.538462 | 0.807692 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 0.123894 | 226 | 7 | 49 | 32.285714 | 0.691919 | 0 | 0 | 0 | 0 | 0 | 0.438053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0b11fdbfacdde7e81585f30eb81ee71278224d42 | 531 | py | Python | tests/integration/test_fixture_builders.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | 3 | 2019-06-17T13:59:20.000Z | 2021-05-02T22:09:13.000Z | tests/integration/test_fixture_builders.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | 2 | 2019-04-30T06:22:12.000Z | 2019-06-14T04:27:18.000Z | tests/integration/test_fixture_builders.py | dendisuhubdy/trinity | 001664781259c7dd0779a0ef6f822451b608ded4 | [
"MIT"
] | 2 | 2019-12-14T02:52:32.000Z | 2021-02-18T23:04:44.000Z | import pytest
from eth.db.atomic import AtomicDB
from .integration_fixture_builders import build_pow_fixture, build_pow_churning_fixture
@pytest.mark.parametrize('builder', (build_pow_fixture, build_pow_churning_fixture))
def test_fixture_builders(builder):
# just make sure it doesn't crash, for now
db = At... | 31.235294 | 87 | 0.783427 | 82 | 531 | 4.890244 | 0.670732 | 0.079801 | 0.074813 | 0.099751 | 0.189526 | 0.189526 | 0.189526 | 0 | 0 | 0 | 0 | 0.002227 | 0.154426 | 531 | 16 | 88 | 33.1875 | 0.890869 | 0.387947 | 0 | 0 | 0 | 0 | 0.021807 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
0b17b4e021731101650845804d3e918e89800c49 | 341 | py | Python | BAEKJOON/Python/10102.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | BAEKJOON/Python/10102.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | BAEKJOON/Python/10102.py | cmsong111/NJ_code | 2df6176d179e168a2789a825ddeb977a82eb8d97 | [
"MIT"
] | null | null | null | import sys
count = int(input())
stringarr = sys.stdin.readline().strip()
score = [0,0]
for i in range(count):
if stringarr[i] == "A":
score[0] +=1
elif stringarr[i] == "B":
score[1] +=1
if score[0] == score[1]:
print("Tie")
elif score[0] > score[1]:
print("A")
elif score[0] < scor... | 17.947368 | 40 | 0.536657 | 53 | 341 | 3.45283 | 0.415094 | 0.163934 | 0.180328 | 0.196721 | 0.322404 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.249267 | 341 | 18 | 41 | 18.944444 | 0.667969 | 0 | 0 | 0 | 0 | 0 | 0.020528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0b1e57ebdc864e9f095ff240f3fb9ecd2b343ffb | 84,539 | py | Python | biostarPython/service/connect_master_pb2.py | gcartlidge/biostarPython | 4985371ef99c9241b9ed3e5ce107ab5bcdf9eb64 | [
"MIT"
] | null | null | null | biostarPython/service/connect_master_pb2.py | gcartlidge/biostarPython | 4985371ef99c9241b9ed3e5ce107ab5bcdf9eb64 | [
"MIT"
] | null | null | null | biostarPython/service/connect_master_pb2.py | gcartlidge/biostarPython | 4985371ef99c9241b9ed3e5ce107ab5bcdf9eb64 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: connect_master.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as... | 35.625369 | 7,970 | 0.780527 | 8,423 | 84,539 | 7.49721 | 0.058886 | 0.060729 | 0.036073 | 0.044229 | 0.567483 | 0.468463 | 0.44623 | 0.445676 | 0.438803 | 0.422857 | 0 | 0.027522 | 0.109452 | 84,539 | 2,372 | 7,971 | 35.640388 | 0.811266 | 0.050083 | 0 | 0.642857 | 1 | 0.001401 | 0.242127 | 0.201989 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003268 | 0 | 0.003268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9be094b6bdb134c6bb5ac15889eb6f38cad3b5be | 2,204 | py | Python | backend/api/apps/authentication/serializers.py | vivekthoppil/InsuranceSuite | 700392ee71f4afeefb4f2fb768402d4839b992e2 | [
"MIT"
] | 2 | 2021-05-20T06:11:48.000Z | 2022-02-06T16:09:54.000Z | backend/api/apps/authentication/serializers.py | vivekthoppil/InsuranceSuite | 700392ee71f4afeefb4f2fb768402d4839b992e2 | [
"MIT"
] | 8 | 2021-03-10T03:57:49.000Z | 2022-01-22T10:12:43.000Z | backend/api/apps/authentication/serializers.py | vivekthoppil/InsuranceSuite | 700392ee71f4afeefb4f2fb768402d4839b992e2 | [
"MIT"
] | null | null | null | from django.contrib.auth import authenticate
from django.core import exceptions as django_exceptions
from rest_framework import exceptions as drf_exceptions
from rest_framework import serializers
from .services import create_user_token
class RegistrationSerializer(serializers.Serializer):
username = serializers... | 32.411765 | 71 | 0.671506 | 243 | 2,204 | 5.958848 | 0.300412 | 0.062155 | 0.142956 | 0.180249 | 0.459945 | 0.339779 | 0.255525 | 0.255525 | 0.225138 | 0.225138 | 0 | 0.018845 | 0.25363 | 2,204 | 67 | 72 | 32.895522 | 0.861398 | 0 | 0 | 0.196078 | 0 | 0 | 0.083485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0.176471 | 0.098039 | 0 | 0.392157 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
9be9ec25c8c1b1bebd63856291ff75335faa48ac | 544 | py | Python | autodriver/src/autodriver/models/ros_subscriber.py | rel1c/robocar | 6e83391b84873781c839cfc57a9fc1a49f641dbb | [
"MIT"
] | null | null | null | autodriver/src/autodriver/models/ros_subscriber.py | rel1c/robocar | 6e83391b84873781c839cfc57a9fc1a49f641dbb | [
"MIT"
] | null | null | null | autodriver/src/autodriver/models/ros_subscriber.py | rel1c/robocar | 6e83391b84873781c839cfc57a9fc1a49f641dbb | [
"MIT"
] | null | null | null | import rospy
from abc import abstractmethod
from ros_node import ROSNode
class ROSSubscriber(ROSNode):
"""A base class for all ROS Nodes with subscribing functionality."""
def __init__(self, name, topic, msg_type, q_size=None):
super(ROSSubscriber, self).__init__(name)
self.listener = rospy.S... | 25.904762 | 72 | 0.678309 | 67 | 544 | 5.298507 | 0.552239 | 0.04507 | 0.067606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227941 | 544 | 20 | 73 | 27.2 | 0.845238 | 0.113971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.214286 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
9bf45e0e616b9ac6ea45ef76e1e0ca9f815ec882 | 1,640 | py | Python | scipy-example/fitsincos.py | truongduy134/levenberg-marquardt | 525b7eab6a39c8a063ea27ab5a9ccac1028b4a07 | [
"MIT"
] | 6 | 2017-06-05T08:43:34.000Z | 2021-04-26T15:09:01.000Z | scipy-example/fitsincos.py | truongduy134/levenberg-marquardt | 525b7eab6a39c8a063ea27ab5a9ccac1028b4a07 | [
"MIT"
] | 3 | 2015-04-14T17:06:39.000Z | 2021-09-13T13:28:21.000Z | scipy-example/fitsincos.py | truongduy134/levenberg-marquardt | 525b7eab6a39c8a063ea27ab5a9ccac1028b4a07 | [
"MIT"
] | 7 | 2015-03-26T07:19:13.000Z | 2021-02-21T15:05:31.000Z | """ Given the set of points generated by
f(x) = 0.5 * cos(2 * x) + 2 * sin(0.5 * x) with some noise,
use Levenberg-Marquardt algorithm to find the model of the form
f(x) = a * cos(b * x) + b * sin(a * x) to fit all the points.
"""
import numpy as np
import scipy.optimize as scipy_opt
def sincos_func(x_data, a, b):
... | 34.893617 | 79 | 0.555488 | 316 | 1,640 | 2.800633 | 0.357595 | 0.033898 | 0.010169 | 0.033898 | 0.122034 | 0.122034 | 0.051977 | 0.051977 | 0.051977 | 0.051977 | 0 | 0.146341 | 0.275 | 1,640 | 46 | 80 | 35.652174 | 0.597982 | 0 | 0 | 0.086957 | 1 | 0 | 0.041304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.086957 | null | null | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9bf9f3320a42f07d358ea2cf9126cd3d4c132056 | 136 | py | Python | tasks.py | daffidwilde/blog | 225a439cd3bfe4ff4d3f65798134a5e55cc44a89 | [
"MIT"
] | null | null | null | tasks.py | daffidwilde/blog | 225a439cd3bfe4ff4d3f65798134a5e55cc44a89 | [
"MIT"
] | null | null | null | tasks.py | daffidwilde/blog | 225a439cd3bfe4ff4d3f65798134a5e55cc44a89 | [
"MIT"
] | null | null | null | from invoke import task
@task
def test(c):
c.run("pytest --doctest-glob='*.md'")
@task
def main(c):
c.run("python main.py")
| 11.333333 | 41 | 0.610294 | 23 | 136 | 3.608696 | 0.652174 | 0.168675 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 136 | 11 | 42 | 12.363636 | 0.754545 | 0 | 0 | 0.285714 | 0 | 0 | 0.308824 | 0.154412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9bfe4e7e05971d86c8f631b16c327b5bc4ee3e1c | 105 | py | Python | configs/BostonHousing/mc_dropout.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | 1 | 2020-07-07T12:28:59.000Z | 2020-07-07T12:28:59.000Z | configs/BostonHousing/mc_dropout.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | null | null | null | configs/BostonHousing/mc_dropout.py | Neronjust2017/pytorch-regression-project | 28ff39b829837b68a42f0e6dd5324a40eac05343 | [
"MIT"
] | null | null | null | pdrop = 0.1
tau = 0.1
lengthscale = 0.01
N = 364
print(lengthscale ** 2 * (1 - pdrop) / (2. * N * tau)) | 15 | 54 | 0.552381 | 19 | 105 | 3.052632 | 0.526316 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 0.247619 | 105 | 7 | 54 | 15 | 0.56962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5004ab93fce76b3fa25e02c5944921d67afb7e39 | 4,650 | py | Python | biblio/stats-and-tops.py | lokal-profil/isfdb_site | 0ce20d6347849926d4eda961ea9249c31519eea5 | [
"BSD-3-Clause"
] | null | null | null | biblio/stats-and-tops.py | lokal-profil/isfdb_site | 0ce20d6347849926d4eda961ea9249c31519eea5 | [
"BSD-3-Clause"
] | null | null | null | biblio/stats-and-tops.py | lokal-profil/isfdb_site | 0ce20d6347849926d4eda961ea9249c31519eea5 | [
"BSD-3-Clause"
] | null | null | null | #!_PYTHONLOC
#
# (C) COPYRIGHT 2013-2022 Ahasuerus
# ALL RIGHTS RESERVED
#
# The copyright notice above does not evidence any actual or
# intended publication of such source code.
#
# Version: $Revision$
# Date: $Date$
from isfdb import *
from common import PrintHeader, PrintNavbar, PrintT... | 39.07563 | 141 | 0.703871 | 682 | 4,650 | 4.662757 | 0.258065 | 0.124528 | 0.090566 | 0.122956 | 0.430189 | 0.365409 | 0.203774 | 0.125786 | 0.052201 | 0.024528 | 0 | 0.022114 | 0.115054 | 4,650 | 118 | 142 | 39.40678 | 0.750668 | 0.048817 | 0 | 0.270833 | 0 | 0.03125 | 0.573533 | 0.125538 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03125 | null | null | 0.916667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
50085c1a72f74b652c944256ac669ba9ed6b7323 | 6,875 | py | Python | varsom_flood_client/models/formatted_content_result_list_alert.py | NVE/python-varsom-flood-client | 0e072b13bf743ba12a1e44f326514bfd21e49c47 | [
"MIT"
] | null | null | null | varsom_flood_client/models/formatted_content_result_list_alert.py | NVE/python-varsom-flood-client | 0e072b13bf743ba12a1e44f326514bfd21e49c47 | [
"MIT"
] | null | null | null | varsom_flood_client/models/formatted_content_result_list_alert.py | NVE/python-varsom-flood-client | 0e072b13bf743ba12a1e44f326514bfd21e49c47 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Flomvarsel API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: v1.0.5
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import ... | 30.968468 | 249 | 0.606255 | 738 | 6,875 | 5.51355 | 0.231707 | 0.054067 | 0.181863 | 0.151143 | 0.374785 | 0.305726 | 0.270337 | 0.12116 | 0.018678 | 0.018678 | 0 | 0.041267 | 0.302109 | 6,875 | 221 | 250 | 31.108597 | 0.806795 | 0.344582 | 0 | 0.067308 | 1 | 0 | 0.068841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.028846 | 0 | 0.317308 | 0.019231 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5032f3c30097e4268409f7324a6cd38930003586 | 1,398 | py | Python | api/serializers.py | winny-/sillypaste | bf6125b35225046226328d1077d7bc7ea5e11c94 | [
"Unlicense"
] | 3 | 2021-05-21T03:45:59.000Z | 2022-01-23T18:26:45.000Z | api/serializers.py | winny-/sillypaste | bf6125b35225046226328d1077d7bc7ea5e11c94 | [
"Unlicense"
] | 13 | 2021-04-03T19:56:35.000Z | 2022-01-23T18:39:47.000Z | api/serializers.py | winny-/sillypaste | bf6125b35225046226328d1077d7bc7ea5e11c94 | [
"Unlicense"
] | 1 | 2021-10-03T18:22:55.000Z | 2021-10-03T18:22:55.000Z | from django.contrib.auth.models import User
from core.models import Paste, ExpiryLog, Language
from rest_framework import serializers
from core.validators import validate_future_datetime
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['id', 'usernam... | 25.418182 | 66 | 0.576538 | 120 | 1,398 | 6.55 | 0.433333 | 0.081425 | 0.21374 | 0.234097 | 0.318066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321888 | 1,398 | 54 | 67 | 25.888889 | 0.829114 | 0 | 0 | 0.266667 | 0 | 0 | 0.123748 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.088889 | 0 | 0.311111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
50405cc650589d3bb7fbe123086a1b0e6adf3b24 | 22,689 | py | Python | Documentation/Scripts/generateSwagger.py | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | 15 | 2019-08-08T02:06:36.000Z | 2019-10-15T17:52:58.000Z | Documentation/Scripts/generateSwagger.py | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | null | null | null | Documentation/Scripts/generateSwagger.py | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
################################################################################
### @brief creates swagger json files from doc headers of rest files
###
### find files in
### arangod/RestHandler/*.cpp
### js/actions/api-*.js
###
### @usage generateSwagger.py < RestXXXX.cpp... | 32.930334 | 113 | 0.422099 | 1,823 | 22,689 | 5.178278 | 0.172244 | 0.018432 | 0.027013 | 0.013983 | 0.294703 | 0.249894 | 0.23125 | 0.217161 | 0.193644 | 0.170763 | 0 | 0.004698 | 0.174402 | 22,689 | 688 | 114 | 32.978198 | 0.499253 | 0.111199 | 0 | 0.309038 | 0 | 0 | 0.125376 | 0.028301 | 0 | 0 | 0 | 0.001453 | 0 | 0 | null | null | 0.002915 | 0.002915 | null | null | 0.023324 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5045faf57c99be1cd51e1fa40bfc594c0ea216fa | 871 | py | Python | ciukune/core/apps.py | an-otter-world/ciukune | a0e0501076c5adc98c200b7bf438f3c70e88d357 | [
"WTFPL"
] | null | null | null | ciukune/core/apps.py | an-otter-world/ciukune | a0e0501076c5adc98c200b7bf438f3c70e88d357 | [
"WTFPL"
] | null | null | null | ciukune/core/apps.py | an-otter-world/ciukune | a0e0501076c5adc98c200b7bf438f3c70e88d357 | [
"WTFPL"
] | null | null | null | """Tovarich core app."""
from typing import Optional
from os.path import dirname
from ciukune.core.utils.apps import CiukuneAppConfig
from ciukune.core.utils.apps import GrapheneType
class AppConfig(CiukuneAppConfig):
"""AppConfig implementation for ciukune core."""
name = 'ciukune.core'
label = 'ciukun... | 30.034483 | 61 | 0.703789 | 97 | 871 | 6.257732 | 0.402062 | 0.108731 | 0.098847 | 0.065898 | 0.477759 | 0.369028 | 0.270181 | 0.270181 | 0.270181 | 0.270181 | 0 | 0 | 0.206659 | 871 | 28 | 62 | 31.107143 | 0.878437 | 0.270953 | 0 | 0.125 | 0 | 0 | 0.030995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
504e35d717c658a857dd23a54f7d79d31d2153f1 | 558 | py | Python | API/src/main/resources/images/_backup/_color/color.sikuli/color.py | MiguelDomingues/SikuliX1 | 4ff932ae616b1c1fd5409f6e8fbf6c4615aa52f3 | [
"MIT"
] | 1,746 | 2018-03-10T11:09:19.000Z | 2022-03-31T12:56:37.000Z | API/src/main/resources/images/_backup/_color/color.sikuli/color.py | MiguelDomingues/SikuliX1 | 4ff932ae616b1c1fd5409f6e8fbf6c4615aa52f3 | [
"MIT"
] | 461 | 2018-03-12T22:21:56.000Z | 2022-03-31T11:18:42.000Z | API/src/main/resources/images/_backup/_color/color.sikuli/color.py | MiguelDomingues/SikuliX1 | 4ff932ae616b1c1fd5409f6e8fbf6c4615aa52f3 | [
"MIT"
] | 269 | 2018-03-10T11:10:17.000Z | 2022-03-26T19:16:15.000Z | reg = Region(106,108,370,160)
img1 = "source_activate.jpg"
img2 = "source_activated.jpg"
button = "buttonactivate.png"
"""
m = find(button)
m.highlight(2)
exit()
"""
ib = Finder(Image.create(button))
ib.find(button)
print "button:", ib.next().getScore()
ib = Finder(Image.create(img1))
ib.find(button)
print "img1:", ... | 19.928571 | 43 | 0.682796 | 81 | 558 | 4.679012 | 0.333333 | 0.184697 | 0.197889 | 0.150396 | 0.174142 | 0.174142 | 0.174142 | 0 | 0 | 0 | 0 | 0.045726 | 0.098566 | 558 | 27 | 44 | 20.666667 | 0.707753 | 0 | 0 | 0.230769 | 0 | 0 | 0.195251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.230769 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ac90c501d87c8c765182f5998dec53255d930adf | 334 | py | Python | venv/lib/python3.8/site-packages/arch/__init__.py | YileC928/finm-portfolio-2021 | 3fa1e97423fa731bce0cad3457807e1873120891 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/arch/__init__.py | YileC928/finm-portfolio-2021 | 3fa1e97423fa731bce0cad3457807e1873120891 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/arch/__init__.py | YileC928/finm-portfolio-2021 | 3fa1e97423fa731bce0cad3457807e1873120891 | [
"MIT"
] | null | null | null | from arch._version import get_versions
from arch.univariate.mean import arch_model
from arch.utility import test
__version__ = get_versions()["version"]
del get_versions
def doc() -> None:
import webbrowser
webbrowser.open("http://arch.readthedocs.org/en/latest/")
__all__ = ["arch_model", "__version__", "... | 20.875 | 61 | 0.739521 | 44 | 334 | 5.204545 | 0.522727 | 0.104803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131737 | 334 | 15 | 62 | 22.266667 | 0.789655 | 0 | 0 | 0 | 0 | 0 | 0.218563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
acb04397633805f97c3349fec47ce1704c6ac20f | 3,100 | py | Python | vodscrepe/aliases.py | dawsonbooth/vodscrepe | 094d05f887681e3d8a795c0d58c7b1976b657264 | [
"MIT"
] | 2 | 2021-02-21T20:43:03.000Z | 2021-11-01T22:02:12.000Z | vodscrepe/aliases.py | dawsonbooth/vodscrepe | 094d05f887681e3d8a795c0d58c7b1976b657264 | [
"MIT"
] | null | null | null | vodscrepe/aliases.py | dawsonbooth/vodscrepe | 094d05f887681e3d8a795c0d58c7b1976b657264 | [
"MIT"
] | null | null | null | import re
stages = {
"Battlefield": re.compile(r"battle", flags=re.I),
"Dream Land N64": re.compile(r"land", flags=re.I),
"Final Destination": re.compile(r"final|fd", flags=re.I),
"Fountain of Dreams": re.compile(r"fount|fod", flags=re.I),
"Yoshi's Story": re.compile(r"yoshi", flags=re.I),... | 36.904762 | 75 | 0.594194 | 491 | 3,100 | 3.743381 | 0.244399 | 0.215452 | 0.239391 | 0.030468 | 0.145811 | 0.130577 | 0.095756 | 0.070729 | 0.070729 | 0 | 0 | 0.001606 | 0.196774 | 3,100 | 83 | 76 | 37.349398 | 0.736546 | 0 | 0 | 0.136986 | 0 | 0 | 0.26417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.013699 | 0 | 0.178082 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
acc32bc5fd32e6512c9c2b1f239f9b6af32f3c7a | 640 | py | Python | restapi/github_request_with_auth_api.py | k19ran/python-net_automation | f86978bdbb899032892de30fbfbc41e6270acdef | [
"Apache-2.0"
] | null | null | null | restapi/github_request_with_auth_api.py | k19ran/python-net_automation | f86978bdbb899032892de30fbfbc41e6270acdef | [
"Apache-2.0"
] | 4 | 2021-04-07T20:50:07.000Z | 2021-12-13T20:32:49.000Z | restapi/github_request_with_auth_api.py | k19ran/python-net_automation | f86978bdbb899032892de30fbfbc41e6270acdef | [
"Apache-2.0"
] | null | null | null | import requests
from pprint import pprint
from requests.auth import HTTPBasicAuth
from getpass import getpass
from urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
if __name__ == "__main__":
username = "k19ran"
password = getpass()... | 26.666667 | 92 | 0.757813 | 74 | 640 | 6.405405 | 0.513514 | 0.046414 | 0.080169 | 0.092827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008945 | 0.126563 | 640 | 23 | 93 | 27.826087 | 0.838998 | 0.226563 | 0 | 0.133333 | 0 | 0 | 0.083164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.333333 | 0 | 0.333333 | 0.266667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
acc589bab5f35b7f02758ee9f1e0dcb81060791a | 5,261 | py | Python | kubernetes/test/test_io_xk8s_cluster_v1alpha4_cluster_spec.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/test/test_io_xk8s_cluster_v1alpha4_cluster_spec.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | kubernetes/test/test_io_xk8s_cluster_v1alpha4_cluster_spec.py | mariusgheorghies/python | 68ac7e168963d8b5a81dc493b1973d29e903a15b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.20.7
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import unitte... | 51.07767 | 247 | 0.616613 | 511 | 5,261 | 5.874755 | 0.270059 | 0.080613 | 0.043971 | 0.09527 | 0.514324 | 0.493671 | 0.476016 | 0.464357 | 0.381746 | 0.330113 | 0 | 0.044859 | 0.31781 | 5,261 | 102 | 248 | 51.578431 | 0.791585 | 0.027181 | 0 | 0.364865 | 1 | 0 | 0.017555 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.027027 | 0.081081 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
acd234c64cc6d1269a2868661cbca13afb714f00 | 1,416 | py | Python | cterasdk/core/reports.py | CTERA-Networks/ctera-python-sdk | 35d9cb6949590e664fd237d29f54ce054fe80a9e | [
"Apache-2.0"
] | 5 | 2020-02-25T22:34:48.000Z | 2020-02-29T22:56:39.000Z | cterasdk/core/reports.py | ctera/ctera-python-sdk | a86cb575d538620a12f326fe5e92f5abb5cc1f6b | [
"Apache-2.0"
] | 16 | 2020-03-25T19:12:03.000Z | 2021-06-02T14:45:34.000Z | cterasdk/core/reports.py | ctera/ctera-python-sdk | a86cb575d538620a12f326fe5e92f5abb5cc1f6b | [
"Apache-2.0"
] | 3 | 2020-10-22T18:22:06.000Z | 2021-10-03T18:38:41.000Z | from .base_command import BaseCommand
class Reports(BaseCommand):
"""
Reports APIs
"""
def storage(self):
"""
Retrieve the portals statistics report.\n
To retrieve this report, you must first browse the Global Administration Portal, using: `GlobalAdmin.portals.browse_global_adm... | 37.263158 | 139 | 0.680085 | 157 | 1,416 | 6.012739 | 0.280255 | 0.052966 | 0.063559 | 0.080508 | 0.599576 | 0.599576 | 0.599576 | 0.599576 | 0.599576 | 0.599576 | 0 | 0 | 0.232345 | 1,416 | 37 | 140 | 38.27027 | 0.868445 | 0.502825 | 0 | 0 | 0 | 0 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0.083333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
acd8478c1418875765fe3e1bf647b3e4d09442f6 | 120 | py | Python | nps.py | BenDelgado/now-playing-spotify | 88fb24126013f1d96dcf36c08e96bf1935cfd6f9 | [
"MIT"
] | null | null | null | nps.py | BenDelgado/now-playing-spotify | 88fb24126013f1d96dcf36c08e96bf1935cfd6f9 | [
"MIT"
] | null | null | null | nps.py | BenDelgado/now-playing-spotify | 88fb24126013f1d96dcf36c08e96bf1935cfd6f9 | [
"MIT"
] | null | null | null | import spotipy
def artist(x):
print(x)
radiohead = 'Radiohead'
artist('Radiohead')
artist(123)
artist(radiohead)
| 10.909091 | 23 | 0.716667 | 15 | 120 | 5.733333 | 0.533333 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.15 | 120 | 10 | 24 | 12 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
acdd6771425072d7247f871906a040f432f6e225 | 408 | py | Python | tests/view/test_images.py | hnesk/ocrd-browser | c84e55cf58cab3821e04f8691958a44bca018b17 | [
"MIT"
] | 14 | 2020-07-31T14:50:13.000Z | 2022-03-01T12:25:47.000Z | tests/view/test_images.py | hnesk/ocrd-browser | c84e55cf58cab3821e04f8691958a44bca018b17 | [
"MIT"
] | 34 | 2020-07-23T13:11:33.000Z | 2022-01-21T18:49:20.000Z | tests/view/test_images.py | hnesk/ocrd-browser | c84e55cf58cab3821e04f8691958a44bca018b17 | [
"MIT"
] | 4 | 2020-08-20T08:00:58.000Z | 2021-05-05T14:18:26.000Z | import unittest
from unittest.mock import MagicMock
from ocrd_browser.view import ViewImages
from ocrd_browser.ui import MainWindow
from tests import TestCase
class ViewImagesTestCase(TestCase):
def setUp(self):
self.vx = ViewImages('unique', MagicMock(spec=MainWindow))
def test_can_construct(self):... | 21.473684 | 66 | 0.75 | 50 | 408 | 5.88 | 0.56 | 0.054422 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 408 | 18 | 67 | 22.666667 | 0.864706 | 0 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.166667 | false | 0 | 0.416667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
ace620475b63b52c77df552bdc09e91d814d9ed2 | 4,730 | py | Python | main.py | riandeoliveira/mern-stack-project-starter | 06b6425e1e2309f4d3c84ba205740de640e7045c | [
"MIT"
] | null | null | null | main.py | riandeoliveira/mern-stack-project-starter | 06b6425e1e2309f4d3c84ba205740de640e7045c | [
"MIT"
] | null | null | null | main.py | riandeoliveira/mern-stack-project-starter | 06b6425e1e2309f4d3c84ba205740de640e7045c | [
"MIT"
] | null | null | null | import pyautogui
import pyperclip
import time
print('========== MERN STACK PROJECT STARTER ==========\n')
print('by Rian Oliveira\n')
# Pega os dados necessários do usuário.
USERNAME = input('Nome de usuário do GitHub: ')
PROJECT_NAME = input('Nome do projeto: ')
DB_NAME = input('Nome do banco de dados: ')
PROJECT_LO... | 23.186275 | 99 | 0.713742 | 761 | 4,730 | 4.424442 | 0.201051 | 0.195129 | 0.16335 | 0.179685 | 0.62875 | 0.613009 | 0.549154 | 0.467775 | 0.416097 | 0.389664 | 0 | 0.030636 | 0.095983 | 4,730 | 204 | 100 | 23.186275 | 0.756782 | 0.15666 | 0 | 0.716981 | 0 | 0 | 0.241935 | 0.024698 | 0 | 0 | 0 | 0.004902 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0.031447 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4a0f66ae5ab2c7fd899f1eb68141593b2d9f5b69 | 192 | py | Python | cinema/movies/apps.py | kevinGarcia15/cinemaAPI | d83a9f57223842378e413936d4ccdba0463f1f0a | [
"MIT"
] | null | null | null | cinema/movies/apps.py | kevinGarcia15/cinemaAPI | d83a9f57223842378e413936d4ccdba0463f1f0a | [
"MIT"
] | null | null | null | cinema/movies/apps.py | kevinGarcia15/cinemaAPI | d83a9f57223842378e413936d4ccdba0463f1f0a | [
"MIT"
] | null | null | null | """users apps"""
#django
from django.apps import AppConfig
class MoviesAppConfig(AppConfig):
"""
Movies app config
"""
name = 'cinema.movies'
verbose_name = 'Movies' | 17.454545 | 33 | 0.635417 | 20 | 192 | 6.05 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239583 | 192 | 11 | 34 | 17.454545 | 0.828767 | 0.182292 | 0 | 0 | 0 | 0 | 0.138686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
4a1461568dce72047bfc5633431f67883116fc32 | 1,372 | py | Python | tests/test_vlan/test_network.py | mteter-upenn/bacpypes | 88623988103a48a3f5c8dfd0eb0ca7ffa0bd82b6 | [
"MIT"
] | null | null | null | tests/test_vlan/test_network.py | mteter-upenn/bacpypes | 88623988103a48a3f5c8dfd0eb0ca7ffa0bd82b6 | [
"MIT"
] | null | null | null | tests/test_vlan/test_network.py | mteter-upenn/bacpypes | 88623988103a48a3f5c8dfd0eb0ca7ffa0bd82b6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Test Module Template
--------------------
"""
import unittest
from bacpypes.debugging import bacpypes_debugging, ModuleLogger
# some debugging
_debug = 0
_log = ModuleLogger(globals())
@bacpypes_debugging
def setup_module():
if _debug: setup_module._debug("set... | 22.866667 | 73 | 0.727405 | 156 | 1,372 | 6.051282 | 0.230769 | 0.074153 | 0.146186 | 0.177966 | 0.364407 | 0.264831 | 0.188559 | 0 | 0 | 0 | 0 | 0.001727 | 0.155977 | 1,372 | 59 | 74 | 23.254237 | 0.813472 | 0.072157 | 0 | 0.21875 | 0 | 0 | 0.122724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.0625 | 0 | 0.40625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4a1a6ac065146619777ac795268f62a704014ede | 11,623 | py | Python | cwr/grammar/factory/adapter.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 37 | 2015-04-21T15:33:53.000Z | 2022-02-07T00:02:29.000Z | cwr/grammar/factory/adapter.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 86 | 2015-02-01T22:26:02.000Z | 2021-07-09T08:49:36.000Z | cwr/grammar/factory/adapter.py | orenyodfat/CWR-DataApi | f3b6ba8308c901b6ab87073c155c08e30692333c | [
"MIT"
] | 27 | 2015-01-26T16:01:09.000Z | 2021-11-08T23:53:55.000Z | # -*- coding: utf-8 -*-
from abc import ABCMeta, abstractmethod
from cwr.grammar.field import basic, special, table, filename
"""
CWR fields grammar adapters.
These classes allow the factories to create rules in an homogeneous way,
by setting a basic interface which will wrap around field rules, giving
a basic comm... | 27.220141 | 78 | 0.677364 | 1,455 | 11,623 | 5.22543 | 0.169072 | 0.029462 | 0.037617 | 0.051296 | 0.559516 | 0.520058 | 0.451532 | 0.430751 | 0.430751 | 0.424701 | 0 | 0.00202 | 0.233244 | 11,623 | 426 | 79 | 27.284038 | 0.8511 | 0.294846 | 0 | 0.407643 | 0 | 0 | 0.011272 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.343949 | false | 0.006369 | 0.012739 | 0.133758 | 0.694268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
4a226a6340a329ba5eaf5f09d74f2c382ff19cfe | 516 | py | Python | tests/r/test_swahili.py | hajime9652/observations | 2c8b1ac31025938cb17762e540f2f592e302d5de | [
"Apache-2.0"
] | 199 | 2017-07-24T01:34:27.000Z | 2022-01-29T00:50:55.000Z | tests/r/test_swahili.py | hajime9652/observations | 2c8b1ac31025938cb17762e540f2f592e302d5de | [
"Apache-2.0"
] | 46 | 2017-09-05T19:27:20.000Z | 2019-01-07T09:47:26.000Z | tests/r/test_swahili.py | hajime9652/observations | 2c8b1ac31025938cb17762e540f2f592e302d5de | [
"Apache-2.0"
] | 45 | 2017-07-26T00:10:44.000Z | 2022-03-16T20:44:59.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import shutil
import sys
import tempfile
from observations.r.swahili import swahili
def test_swahili():
"""Test module swahili.py by downloading
swahili.csv and testing shape of
extracted data has 48... | 21.5 | 44 | 0.753876 | 72 | 516 | 5.125 | 0.569444 | 0.081301 | 0.130081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018913 | 0.180233 | 516 | 23 | 45 | 22.434783 | 0.853428 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.466667 | 0 | 0.533333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
c58afd466b3fd34390c871a6207d182ef8bd43a1 | 1,688 | py | Python | test/terra/backends/test_qasm_stabilizer_simulator.py | eliarbel/qiskit-aer | 827f8922948dd18a588e8617bccaec465934280f | [
"Apache-2.0"
] | null | null | null | test/terra/backends/test_qasm_stabilizer_simulator.py | eliarbel/qiskit-aer | 827f8922948dd18a588e8617bccaec465934280f | [
"Apache-2.0"
] | 29 | 2018-12-19T10:11:00.000Z | 2018-12-19T10:16:18.000Z | test/terra/backends/test_qasm_stabilizer_simulator.py | atilag/qiskit-aer | d964795b0a24b1d3287ba2ba2dda45d1dfed4a5d | [
"Apache-2.0"
] | null | null | null | # This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... | 39.255814 | 84 | 0.701422 | 187 | 1,688 | 6.208556 | 0.491979 | 0.055125 | 0.089578 | 0.126615 | 0.229113 | 0.229113 | 0.229113 | 0 | 0 | 0 | 0 | 0.009339 | 0.238744 | 1,688 | 42 | 85 | 40.190476 | 0.894163 | 0.315166 | 0 | 0 | 0 | 0 | 0.021183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.45 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
c590d30582cd6c3c0e51d2bf88c3005dcfe0b451 | 1,793 | py | Python | machine_learn2.py | agw2105/Natural-Language-Processing | ea146b49f8ca7efadf1a7e60fe2e4668dd8ba749 | [
"MIT"
] | 1 | 2021-07-15T00:07:14.000Z | 2021-07-15T00:07:14.000Z | machine_learn2.py | agw2105/Natural-Language-Processing | ea146b49f8ca7efadf1a7e60fe2e4668dd8ba749 | [
"MIT"
] | null | null | null | machine_learn2.py | agw2105/Natural-Language-Processing | ea146b49f8ca7efadf1a7e60fe2e4668dd8ba749 | [
"MIT"
] | null | null | null | import pandas as pd
import nltk
import sklearn
from sklearn.model_selection import train_test_split
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.pipeline import Pipeline
from sklearn.svm import LinearSVC
from sklearn.naive_b... | 41.697674 | 126 | 0.778026 | 265 | 1,793 | 5.075472 | 0.362264 | 0.073606 | 0.035688 | 0.055762 | 0.299628 | 0.187361 | 0.034201 | 0 | 0 | 0 | 0 | 0.008906 | 0.123257 | 1,793 | 42 | 127 | 42.690476 | 0.846692 | 0 | 0 | 0.057143 | 0 | 0 | 0.037446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.485714 | null | null | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
c5923f39298173410012904f426c9754609b308e | 4,178 | py | Python | rest.py | yjlou/simple-restful | 1a81571cba27a8f8d92400de11cb28fc9e56c45e | [
"MIT"
] | 2 | 2015-09-09T17:56:16.000Z | 2016-06-25T15:39:41.000Z | rest.py | yjlou/simple-restful | 1a81571cba27a8f8d92400de11cb28fc9e56c45e | [
"MIT"
] | null | null | null | rest.py | yjlou/simple-restful | 1a81571cba27a8f8d92400de11cb28fc9e56c45e | [
"MIT"
] | null | null | null | #!/usr/bin/python
#
# Access control, file/directory permission, authorization.
#
# TODO:
# ~ for home of HTTP authenticator
#
DEBUG = 4
class Rest():
def __init__(self, db):
self.db = db
def can_access(self, user, path):
"""
If the user is permitted to access this directory
'user' --... | 27.853333 | 83 | 0.556008 | 589 | 4,178 | 3.828523 | 0.191851 | 0.058537 | 0.099335 | 0.111752 | 0.361863 | 0.320177 | 0.293126 | 0.262084 | 0.226164 | 0.134812 | 0 | 0.021817 | 0.33078 | 4,178 | 149 | 84 | 28.040268 | 0.784692 | 0.05529 | 0 | 0.39604 | 0 | 0 | 0.189308 | 0 | 0 | 0 | 0 | 0.013423 | 0 | 0 | null | null | 0.009901 | 0 | null | null | 0.049505 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c5ab0b5953a6f15104984fcef297e4a25d74739f | 1,086 | py | Python | graphs/sequence_result_plot.py | kavinyao/SKBPR | 305aeb846ee89234d8eae3b73452c2fdad2496b4 | [
"MIT"
] | null | null | null | graphs/sequence_result_plot.py | kavinyao/SKBPR | 305aeb846ee89234d8eae3b73452c2fdad2496b4 | [
"MIT"
] | null | null | null | graphs/sequence_result_plot.py | kavinyao/SKBPR | 305aeb846ee89234d8eae3b73452c2fdad2496b4 | [
"MIT"
] | 1 | 2018-09-29T08:31:40.000Z | 2018-09-29T08:31:40.000Z | from plot_common import output_graph
# results of N = 5, 10, 15, 20
Ns = [5, 10, 15, 20]
large_dataset_precisions = {
'SKBPR-BC': (Ns, [0.0366, 0.0297, 0.0263, 0.0244], [0.0004, 0.0003, 0.0002, 0.0002], [0.0002, 0.0003, 0.0003, 0.0003]),
'SKBPR-BC-SEQ': (Ns, [0.0363, 0.0293, 0.0260, 0.0241], [0.0001, 0.0002, ... | 41.769231 | 127 | 0.621547 | 190 | 1,086 | 3.410526 | 0.352632 | 0.054012 | 0.055556 | 0.061728 | 0.174383 | 0.094136 | 0.094136 | 0.054012 | 0.054012 | 0.054012 | 0 | 0.306145 | 0.175875 | 1,086 | 25 | 128 | 43.44 | 0.417877 | 0.089319 | 0 | 0 | 0 | 0 | 0.11066 | 0.036548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c5ad5e531edbcee99d6e211354d5dc6ba5c2dc96 | 313 | py | Python | mods/Maze/main.py | SummitChen/opennero | 1bb1ba083cf2576e09bb7cfeac013d6940a47afe | [
"BSD-3-Clause"
] | 215 | 2015-08-26T19:41:28.000Z | 2022-01-19T13:23:17.000Z | mods/Maze/main.py | SummitChen/opennero | 1bb1ba083cf2576e09bb7cfeac013d6940a47afe | [
"BSD-3-Clause"
] | 6 | 2015-11-03T19:40:24.000Z | 2019-10-15T11:19:32.000Z | mods/Maze/main.py | SummitChen/opennero | 1bb1ba083cf2576e09bb7cfeac013d6940a47afe | [
"BSD-3-Clause"
] | 56 | 2015-08-26T19:42:05.000Z | 2022-02-26T16:45:41.000Z | # OpenNero will execute ModMain when this mod is loaded
from Maze.client import ClientMain
def ModMain(mode = ""):
ClientMain(mode)
def StartMe():
from Maze.module import getMod
getMod().set_speedup(1.0) # full speed ahead
getMod().start_sarsa() # start an algorithm for headless mode
| 28.454545 | 66 | 0.702875 | 43 | 313 | 5.069767 | 0.744186 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008097 | 0.210863 | 313 | 10 | 67 | 31.3 | 0.874494 | 0.341853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
c5b1970c613544baed8cbcfd842b9cfac3791080 | 7,016 | py | Python | Push2/bank_selection_component.py | phatblat/AbletonLiveMIDIRemoteScripts | ef6e87237a9dcea1046fb6836b18af01b160736a | [
"MIT"
] | 4 | 2015-12-31T19:13:32.000Z | 2017-04-23T19:52:16.000Z | Push2/bank_selection_component.py | phatblat/AbletonLiveMIDIRemoteScripts | ef6e87237a9dcea1046fb6836b18af01b160736a | [
"MIT"
] | 1 | 2015-12-23T09:59:18.000Z | 2015-12-23T18:53:01.000Z | Push2/bank_selection_component.py | phatblat/AbletonLiveMIDIRemoteScripts | ef6e87237a9dcea1046fb6836b18af01b160736a | [
"MIT"
] | null | null | null | # Source Generated with Decompyle++
# File: bank_selection_component.pyc (Python 2.5)
from __future__ import absolute_import
from ableton.v2.base import NamedTuple, listenable_property, listens, listens_group, liveobj_valid, SlotManager, nop
from ableton.v2.control_surface import Component
from ableton.v2.control_surf... | 31.890909 | 158 | 0.661916 | 764 | 7,016 | 5.643979 | 0.157068 | 0.041744 | 0.048701 | 0.017625 | 0.209879 | 0.089518 | 0.058905 | 0.03757 | 0.019481 | 0 | 0 | 0.003866 | 0.262685 | 7,016 | 219 | 159 | 32.03653 | 0.829693 | 0.011545 | 0 | 0.233333 | 1 | 0 | 0.014572 | 0.003896 | 0.006667 | 0 | 0 | 0 | 0.013333 | 1 | 0.173333 | false | 0.053333 | 0.04 | 0.013333 | 0.386667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
c5d596f21abdd787d7ccae862fb4a49219ac7e97 | 580 | py | Python | WORKFLOW/code/python_code/tes.py | tabhitmy/MLTF | 0622570840ea51a851e98fc6a4151bc4475d7b3d | [
"MIT"
] | null | null | null | WORKFLOW/code/python_code/tes.py | tabhitmy/MLTF | 0622570840ea51a851e98fc6a4151bc4475d7b3d | [
"MIT"
] | null | null | null | WORKFLOW/code/python_code/tes.py | tabhitmy/MLTF | 0622570840ea51a851e98fc6a4151bc4475d7b3d | [
"MIT"
] | null | null | null |
import numpy
import numpy as np
import time
print(' $$$ WELCOME to MLTF(v0.1) ! $$$')
print(' <Author: Josep GAO> ')
print(' <Copyright Reserved.>')
timenow = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))
print(' <' + timenow + '>')
a = time.strftime('%Y-%m-%d %H:%M:%S', time.l... | 23.2 | 74 | 0.52931 | 90 | 580 | 3.411111 | 0.422222 | 0.078176 | 0.166124 | 0.205212 | 0.413681 | 0.351792 | 0.286645 | 0.286645 | 0.286645 | 0.286645 | 0 | 0.043573 | 0.208621 | 580 | 24 | 75 | 24.166667 | 0.625272 | 0.232759 | 0 | 0 | 0 | 0 | 0.301703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.214286 | 0 | 0.214286 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
c5ddc18300d1ee02a2685af3e266931e018ab562 | 696 | py | Python | ngrams.py | RichardLitt/language-niche-research | d2a4f6536b59821ef9a75e4f2bc40330f4701096 | [
"MIT"
] | 2 | 2015-08-11T17:12:32.000Z | 2015-08-12T07:19:20.000Z | ngrams.py | RichardLitt/language-niche-research | d2a4f6536b59821ef9a75e4f2bc40330f4701096 | [
"MIT"
] | 4 | 2015-08-11T15:47:34.000Z | 2017-09-13T17:34:20.000Z | ngrams.py | RichardLitt/language-niche-research | d2a4f6536b59821ef9a75e4f2bc40330f4701096 | [
"MIT"
] | null | null | null | import nltk
from nltk import bigrams
from nltk import trigrams
from nltk.util import ngrams
from sys import argv
script, filename = argv
text = open(filename)
# for n in range (2,7):
for line in text:
tokens = nltk.word_tokenize(line)
tokens = [token.lower() for token in tokens if len(token) > 1] #same as unigram... | 24.857143 | 82 | 0.682471 | 112 | 696 | 4.1875 | 0.4375 | 0.051173 | 0.059701 | 0.046908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009042 | 0.20546 | 696 | 27 | 83 | 25.777778 | 0.83906 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.384615 | null | null | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
c5f4a0a34c7fa2e64eec440dadf9eeca1329c8b9 | 17,696 | py | Python | tests/test_rs_compute_tex.py | pygfx/wgpu-py | 3cc6f36684b63b683b9d24cc14b7dde5d16f11b2 | [
"BSD-2-Clause"
] | 74 | 2020-07-07T06:27:55.000Z | 2022-03-21T10:50:00.000Z | tests/test_rs_compute_tex.py | pygfx/wgpu-py | 3cc6f36684b63b683b9d24cc14b7dde5d16f11b2 | [
"BSD-2-Clause"
] | 98 | 2020-06-16T12:20:27.000Z | 2022-03-23T17:35:44.000Z | tests/test_rs_compute_tex.py | pygfx/wgpu-py | 3cc6f36684b63b683b9d24cc14b7dde5d16f11b2 | [
"BSD-2-Clause"
] | 11 | 2020-06-16T11:57:01.000Z | 2021-10-05T13:55:07.000Z | import random
import ctypes
import sys
import wgpu.backends.rs # noqa
import numpy as np
from pytest import skip
from testutils import run_tests, get_default_device
from testutils import can_use_wgpu_lib, is_ci
from renderutils import render_to_texture, render_to_screen # noqa
if not can_use_wgpu_lib:
skip("S... | 29.641541 | 98 | 0.565721 | 2,326 | 17,696 | 4.132416 | 0.106191 | 0.01623 | 0.021848 | 0.020807 | 0.737516 | 0.71161 | 0.697253 | 0.693508 | 0.672909 | 0.671036 | 0 | 0.061203 | 0.297355 | 17,696 | 596 | 99 | 29.691275 | 0.711839 | 0.056171 | 0 | 0.606742 | 0 | 0.026966 | 0.412062 | 0.057964 | 0 | 0 | 0 | 0 | 0.013483 | 1 | 0.029213 | false | 0.022472 | 0.020225 | 0 | 0.049438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
c5f9c82751543c1f215f6b50c3c13c80fa6f773e | 1,404 | py | Python | string_op.py | princejvm/python | e569afa5f2621695c92ac373c70acc58d2cb95df | [
"MIT"
] | null | null | null | string_op.py | princejvm/python | e569afa5f2621695c92ac373c70acc58d2cb95df | [
"MIT"
] | null | null | null | string_op.py | princejvm/python | e569afa5f2621695c92ac373c70acc58d2cb95df | [
"MIT"
] | null | null | null | # Set the variable brian on line 3!
brian = "Hello life!"
# Assign your variables below, each on its own line!
caesar = "Graham"
praline = "John"
viking = "Teresa"
# Put your variables above this line
print caesar
print praline
print viking
# The string below is broken. Fix it using the escape backslash!
str1 = "... | 20.057143 | 67 | 0.666667 | 235 | 1,404 | 3.931915 | 0.476596 | 0.045455 | 0.022727 | 0.030303 | 0.077922 | 0.077922 | 0.077922 | 0.077922 | 0.077922 | 0 | 0 | 0.029152 | 0.193732 | 1,404 | 69 | 68 | 20.347826 | 0.787102 | 0.212963 | 0 | 0 | 0 | 0 | 0.301092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
6804a47f89e09cdde9e9e2badb4bd40f728ec1aa | 207 | py | Python | FluentPy/basic_data_sturcture/NumpyAndScipy.py | QAlexBall/Learning_Py | 8a5987946928a9d86f6807555ed435ac604b2c44 | [
"MIT"
] | 2 | 2019-01-24T15:06:59.000Z | 2019-01-25T07:34:45.000Z | FluentPy/basic_data_sturcture/NumpyAndScipy.py | QAlexBall/Learning_Py | 8a5987946928a9d86f6807555ed435ac604b2c44 | [
"MIT"
] | 1 | 2019-12-23T09:45:11.000Z | 2019-12-23T09:45:11.000Z | FluentPy/basic_data_sturcture/NumpyAndScipy.py | QAlexBall/Learning_Py | 8a5987946928a9d86f6807555ed435ac604b2c44 | [
"MIT"
] | 1 | 2019-07-18T14:21:35.000Z | 2019-07-18T14:21:35.000Z | import numpy
a = numpy.arange(12)
print(a)
print(type(a))
print(a.shape)
a.shape = 3, 4
print(a)
print(a[2])
print(a[2, 1])
print(a[:, 1])
print(a.transpose())
# Numpy也可以对numpy.ndarray 中的元素进行抽象的读取,保存和其他操作
| 13.8 | 44 | 0.68599 | 37 | 207 | 3.837838 | 0.459459 | 0.295775 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 0.115942 | 207 | 14 | 45 | 14.785714 | 0.73224 | 0.202899 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.727273 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
68058ee1ede2b0e33d6741f9b36017afb91e8409 | 3,264 | py | Python | iot_search.py | BoneLee/IOT-search-engine | b89ad5e601a727dac29695e5d5116aa27b75ad5b | [
"BSD-2-Clause"
] | 1 | 2017-06-03T15:32:57.000Z | 2017-06-03T15:32:57.000Z | iot_search.py | BoneLee/IOT-search-engine | b89ad5e601a727dac29695e5d5116aa27b75ad5b | [
"BSD-2-Clause"
] | null | null | null | iot_search.py | BoneLee/IOT-search-engine | b89ad5e601a727dac29695e5d5116aa27b75ad5b | [
"BSD-2-Clause"
] | null | null | null | import nltk
from influxdb import InfluxDBClient
from baeza_yates_intersect import BaezaYates_intersect
class IotSearcher(object):
def __init__(self, database='searcher', host="localhost", port=8086, user='root', password='root'):
self._client = InfluxDBClient(host, port, user, password, database)
... | 39.804878 | 173 | 0.567096 | 381 | 3,264 | 4.690289 | 0.330709 | 0.039172 | 0.039172 | 0.024622 | 0.169558 | 0.142697 | 0.142697 | 0.142697 | 0.142697 | 0.100168 | 0 | 0.00692 | 0.291667 | 3,264 | 81 | 174 | 40.296296 | 0.766003 | 0.046569 | 0 | 0.061538 | 0 | 0.015385 | 0.145894 | 0 | 0 | 0 | 0 | 0.012346 | 0 | 0 | null | null | 0.030769 | 0.046154 | null | null | 0.015385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
681381b892e874d6f4f471caaef86f5c67c15540 | 1,407 | py | Python | mani_skill_learn/utils/torch/misc.py | art-e-fact/ManiSkill-Learn | 9742da932448a5234222cf94381ca0f861dc83fd | [
"Apache-2.0"
] | 39 | 2021-07-29T05:59:20.000Z | 2022-03-25T06:32:51.000Z | mani_skill_learn/utils/torch/misc.py | art-e-fact/ManiSkill-Learn | 9742da932448a5234222cf94381ca0f861dc83fd | [
"Apache-2.0"
] | 27 | 2021-08-04T03:37:03.000Z | 2022-03-08T06:18:25.000Z | mani_skill_learn/utils/torch/misc.py | art-e-fact/ManiSkill-Learn | 9742da932448a5234222cf94381ca0f861dc83fd | [
"Apache-2.0"
] | 5 | 2021-08-24T14:21:06.000Z | 2022-02-21T04:31:01.000Z | from functools import wraps
import numpy as np
import torch
from mani_skill_learn.utils.data import split_in_dict_array, concat_list_of_array
def disable_gradients(network):
for param in network.parameters():
param.requires_grad = False
def worker_init_fn(worker_id):
"""The function is designed for ... | 29.3125 | 103 | 0.703625 | 213 | 1,407 | 4.455399 | 0.450704 | 0.047418 | 0.034773 | 0.03372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002695 | 0.208955 | 1,407 | 47 | 104 | 29.93617 | 0.849955 | 0.385217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.173913 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
6819a1081b7fdb4660f9aa0007c95d612601162d | 7,324 | py | Python | lib/TmpGnmAnnApi/TmpGnmAnnApiClient.py | rsutormin/TmpGnmAnnApi | e025d985742581ad3832b539ab2de6071a34260e | [
"MIT"
] | null | null | null | lib/TmpGnmAnnApi/TmpGnmAnnApiClient.py | rsutormin/TmpGnmAnnApi | e025d985742581ad3832b539ab2de6071a34260e | [
"MIT"
] | null | null | null | lib/TmpGnmAnnApi/TmpGnmAnnApiClient.py | rsutormin/TmpGnmAnnApi | e025d985742581ad3832b539ab2de6071a34260e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
############################################################
#
# Autogenerated by the KBase type compiler -
# any changes made here will be overwritten
#
############################################################
from __future__ import print_function
# the following is a hack to get the basec... | 59.064516 | 123 | 0.652103 | 948 | 7,324 | 4.840717 | 0.212025 | 0.147091 | 0.162998 | 0.05949 | 0.528873 | 0.395075 | 0.325125 | 0.297886 | 0.276967 | 0.267814 | 0 | 0.00883 | 0.257783 | 7,324 | 123 | 124 | 59.544715 | 0.835357 | 0.728973 | 0 | 0 | 1 | 0 | 0.098765 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0.076923 | 0.115385 | 0.038462 | 0.346154 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
a85788834abc6dc14d334fa562e1524f313c666f | 4,003 | py | Python | fuji_server/models/persistence_output.py | ignpelloz/fuji | 5e6fe8333c1706d1b628a84108bff7a97fdf11a7 | [
"MIT"
] | 25 | 2020-09-22T08:28:45.000Z | 2022-02-23T07:10:28.000Z | fuji_server/models/persistence_output.py | ignpelloz/fuji | 5e6fe8333c1706d1b628a84108bff7a97fdf11a7 | [
"MIT"
] | 188 | 2020-05-11T08:54:59.000Z | 2022-03-31T12:28:15.000Z | fuji_server/models/persistence_output.py | ignpelloz/fuji | 5e6fe8333c1706d1b628a84108bff7a97fdf11a7 | [
"MIT"
] | 20 | 2020-05-04T13:56:26.000Z | 2022-03-02T13:39:04.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from fuji_server.models.base_model_ import Model
from fuji_server import util
class PersistenceOutput(Model):
"""NOTE: This class is auto generated by the... | 28.390071 | 108 | 0.630527 | 455 | 4,003 | 5.336264 | 0.162637 | 0.081549 | 0.198929 | 0.024712 | 0.541598 | 0.38056 | 0.231878 | 0.172158 | 0.135914 | 0 | 0 | 0.008772 | 0.288034 | 4,003 | 140 | 109 | 28.592857 | 0.843158 | 0.438671 | 0 | 0.244898 | 0 | 0 | 0.076676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204082 | false | 0 | 0.102041 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a85dc5947ab98d37d119e2677a85438575531ac1 | 935 | py | Python | models/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | models/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | models/__init__.py | doslindos/ml_crapwrap | f9daa2904234492921c6c344bfcd24992e2ff421 | [
"MIT"
] | null | null | null | from numpy import save as npsave, load as npload, array as nparray, append as npappend, expand_dims as npexpand, prod as npprod, argmax, zeros as npzeros
from datetime import datetime
from json import dump as jsondump, load as jsonload
from pickle import dump as pkldump, load as pklload
from inspect import signature
fr... | 44.52381 | 226 | 0.845989 | 142 | 935 | 5.387324 | 0.528169 | 0.023529 | 0.031373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124064 | 935 | 20 | 227 | 46.75 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
a86c534792754af79991081d894bb4191efd434f | 922 | py | Python | tests/test_gtfsrt.py | carsonyl/tilapya | 343182bd20fd553117b4295ad5be1b698772da6e | [
"Apache-2.0"
] | 6 | 2018-02-21T07:20:16.000Z | 2020-03-10T01:42:51.000Z | tests/test_gtfsrt.py | carsonyl/tilapya | 343182bd20fd553117b4295ad5be1b698772da6e | [
"Apache-2.0"
] | 4 | 2020-03-24T16:47:22.000Z | 2021-02-28T21:41:58.000Z | tests/test_gtfsrt.py | carsonyl/tilapya | 343182bd20fd553117b4295ad5be1b698772da6e | [
"Apache-2.0"
] | 2 | 2018-10-04T20:11:21.000Z | 2020-05-11T20:37:14.000Z | import pytest
from requests import codes
from tilapya.errors import TransLinkAPIError
from tilapya.gtfsrt import GTFSRT
from .conftest import remove_response_headers_func
# Apply VCR to all tests in this file.
pytestmark = pytest.mark.vcr(before_record_response=remove_response_headers_func('Set-Cookie'))
@pytest.f... | 25.611111 | 95 | 0.79718 | 129 | 922 | 5.434109 | 0.449612 | 0.099857 | 0.064194 | 0.094151 | 0.11127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126898 | 922 | 35 | 96 | 26.342857 | 0.870807 | 0.039046 | 0 | 0 | 0 | 0 | 0.0181 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.238095 | false | 0 | 0.238095 | 0.047619 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a87a46842f92f13a06eb8d8070edf8d47546f5ca | 2,518 | py | Python | pagarme/transaction.py | ch1ninha/analisar-pagarme | 2bee0427ae347eee5bb21d6528c935c9b5ca818f | [
"MIT"
] | null | null | null | pagarme/transaction.py | ch1ninha/analisar-pagarme | 2bee0427ae347eee5bb21d6528c935c9b5ca818f | [
"MIT"
] | null | null | null | pagarme/transaction.py | ch1ninha/analisar-pagarme | 2bee0427ae347eee5bb21d6528c935c9b5ca818f | [
"MIT"
] | null | null | null | from pagarme.resources import handler_request
from pagarme.resources.routes import transaction_routes
def calculate_installments_amount(dictionary):
return handler_request.get(transaction_routes.CALCULATE_INSTALLMENTS_AMOUNT, dictionary)
def capture(transaction_id, dictionary):
return handler_request.post(t... | 34.493151 | 112 | 0.846307 | 317 | 2,518 | 6.337539 | 0.160883 | 0.161772 | 0.179194 | 0.125933 | 0.607765 | 0.536088 | 0.432554 | 0.349925 | 0.294674 | 0.058736 | 0 | 0 | 0.080222 | 2,518 | 73 | 113 | 34.493151 | 0.867444 | 0.045274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472222 | false | 0 | 0.055556 | 0.472222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
a882caa2c16bb817ab6f658a2b98b2b53cf9a600 | 2,529 | py | Python | app/home/urls.py | Allen-lang/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | 1 | 2019-12-31T01:53:04.000Z | 2019-12-31T01:53:04.000Z | app/home/urls.py | fuyang123/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | null | null | null | app/home/urls.py | fuyang123/FXTest | ccbc5e986f4d0f9d3145a857674529380d873719 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author : lileilei
# @File : urls.py
# @Time : 2017/12/7 9:27
from .views import *
from .views import home
home.add_url_rule('/index',view_func=Indexview.as_view('index'))
home.add_url_rule('/login',view_func=LoginView.as_view('login'))
home.add_url_rule('/logt',view_func=Logt... | 68.351351 | 101 | 0.781732 | 377 | 2,529 | 4.904509 | 0.214854 | 0.109789 | 0.156842 | 0.219578 | 0.5192 | 0.054083 | 0 | 0 | 0 | 0 | 0 | 0.004527 | 0.039146 | 2,529 | 36 | 102 | 70.25 | 0.756379 | 0.034006 | 0 | 0 | 0 | 0 | 0.293089 | 0.065779 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.064516 | 0 | 0.064516 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a88a35b0724c71fa28a10cd077caa7c56773559f | 163 | py | Python | Inheritance_5.py | SahilSandasani/Py2 | 1561f1597ba74403f4d2c86c5f15501371fc8473 | [
"MIT"
] | null | null | null | Inheritance_5.py | SahilSandasani/Py2 | 1561f1597ba74403f4d2c86c5f15501371fc8473 | [
"MIT"
] | null | null | null | Inheritance_5.py | SahilSandasani/Py2 | 1561f1597ba74403f4d2c86c5f15501371fc8473 | [
"MIT"
] | null | null | null | class A:
def __init__(self):
self._x = 5
class B(A):
def display(self):
print(self._x)
def main():
obj = B()
obj.display()
main() | 13.583333 | 23 | 0.521472 | 24 | 163 | 3.291667 | 0.5 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.319018 | 163 | 12 | 24 | 13.583333 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.5 | 0.1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a88a496556feb3c364cff7b2af80d0f2e369297a | 848 | py | Python | picklachu/storage/s3.py | fowbi/picklachu | 287ad8504c9f549fdcb123af3a24594de4a3f0d3 | [
"MIT"
] | 1 | 2018-12-04T12:40:31.000Z | 2018-12-04T12:40:31.000Z | picklachu/storage/s3.py | fowbi/picklachu | 287ad8504c9f549fdcb123af3a24594de4a3f0d3 | [
"MIT"
] | null | null | null | picklachu/storage/s3.py | fowbi/picklachu | 287ad8504c9f549fdcb123af3a24594de4a3f0d3 | [
"MIT"
] | null | null | null | import boto3
from botocore.client import BaseClient
from picklachu.storage.base import BaseStorage
class S3(BaseStorage):
def __init__(self, client: BaseClient, bucket: str):
self.bucket = bucket
self.client = client
def persist(self, path: str, data: bytes):
"""Persist data to s3
... | 23.555556 | 71 | 0.581368 | 99 | 848 | 4.919192 | 0.373737 | 0.082136 | 0.045175 | 0.053388 | 0.193018 | 0.193018 | 0 | 0 | 0 | 0 | 0 | 0.010399 | 0.319575 | 848 | 35 | 72 | 24.228571 | 0.833622 | 0.222877 | 0 | 0 | 0 | 0 | 0.007168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.230769 | 0 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a891c6c9053cf85aa1946b5ef6ba207643a028e7 | 145 | py | Python | PATH ANALYSIS Left Coordinate_Commited to SVN/calculus.py | abricot1025/Sloan_January_2018 | 9513123b3a12aed4e8163d518175ecdcc399cead | [
"MIT"
] | 1 | 2018-04-13T16:06:49.000Z | 2018-04-13T16:06:49.000Z | PATH ANALYSIS Left Coordinate_Commited to SVN/calculus.py | abricot1025/Sloan_January_2018 | 9513123b3a12aed4e8163d518175ecdcc399cead | [
"MIT"
] | null | null | null | PATH ANALYSIS Left Coordinate_Commited to SVN/calculus.py | abricot1025/Sloan_January_2018 | 9513123b3a12aed4e8163d518175ecdcc399cead | [
"MIT"
] | null | null | null | import numpy as np
theta = np.tan(1.3/22.4)
print(theta*180/np.pi)
a = np.sqrt(1.3**2 + 22.4**2)
print(a)
delta_a = a - 22.4
print(delta_a) | 11.153846 | 29 | 0.62069 | 35 | 145 | 2.514286 | 0.485714 | 0.102273 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.172414 | 145 | 13 | 30 | 11.153846 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
a8a4bfd97cc586f3f23e2d68b7061229ee2cd63a | 263 | py | Python | pyzipcin/__init__.py | ravigoel08/Zipcin | 870c7a9e65084800fa0a63a2c2082447505b9247 | [
"MIT"
] | 4 | 2020-12-22T19:13:30.000Z | 2020-12-23T08:42:56.000Z | pyzipcin/__init__.py | ravigoel08/Zipcin | 870c7a9e65084800fa0a63a2c2082447505b9247 | [
"MIT"
] | null | null | null | pyzipcin/__init__.py | ravigoel08/Zipcin | 870c7a9e65084800fa0a63a2c2082447505b9247 | [
"MIT"
] | null | null | null | from .modules import *
"""
decode: Convert PINCODE to Information(District, State etc.).
encode: Convert District to PINCODE.
validate: Verify if Pincode is Correct or Not
"""
__version__ = "0.1.0"
__all__ = [decode.__name__, encode.__name__, validate.__name__]
| 26.3 | 63 | 0.752852 | 35 | 263 | 5.085714 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.13308 | 263 | 9 | 64 | 29.222222 | 0.767544 | 0 | 0 | 0 | 0 | 0 | 0.045045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
a8b6578a4bb7f92970b80b55907432032137e0b2 | 5,886 | py | Python | Core/Rate.py | sybila/eBCSgen | d3e66c84eb908c989d22efbee20e41766948bdec | [
"MIT"
] | 1 | 2020-11-09T15:51:35.000Z | 2020-11-09T15:51:35.000Z | Core/Rate.py | sybila/eBCSgen | d3e66c84eb908c989d22efbee20e41766948bdec | [
"MIT"
] | 33 | 2020-01-29T09:51:45.000Z | 2022-03-30T10:09:32.000Z | Core/Rate.py | sybila/eBCSgen | d3e66c84eb908c989d22efbee20e41766948bdec | [
"MIT"
] | 1 | 2020-09-07T11:24:22.000Z | 2020-09-07T11:24:22.000Z | import numpy as np
import sympy
from lark import Transformer, Tree
from sortedcontainers import SortedList
from TS.State import Vector
class Rate:
def __init__(self, expression):
self.expression = expression
def __eq__(self, other):
return self.expression == other.expression
def __repr_... | 29.138614 | 108 | 0.620625 | 665 | 5,886 | 5.378947 | 0.227068 | 0.054795 | 0.03858 | 0.024602 | 0.248253 | 0.148169 | 0.131954 | 0.10232 | 0.10232 | 0.10232 | 0 | 0.004711 | 0.278797 | 5,886 | 201 | 109 | 29.283582 | 0.837927 | 0.201325 | 0 | 0.224138 | 0 | 0 | 0.009524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.043103 | 0.086207 | 0.577586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
a8bc3e9aff51b65a258a1d93882503411c2c8f3b | 1,094 | py | Python | cnn/struct/updatelist_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | cnn/struct/updatelist_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | cnn/struct/updatelist_module.py | hslee1539/GIS_GANs | 6901c830b924e59fd06247247db3f925bab26583 | [
"MIT"
] | null | null | null | from import_lib import lib
from cnn.struct.updateset_module import UpdateSet
from ctypes import Structure, c_int, POINTER, c_float
class _UpdateList(Structure):
_fields_ = [
('sets', POINTER(UpdateSet)),
('setSize', c_int)
]
def _create(size):
return lib.cnn_create_updatelist(size)
de... | 26.682927 | 71 | 0.765996 | 133 | 1,094 | 5.969925 | 0.330827 | 0.037783 | 0.04534 | 0.083123 | 0.06801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140768 | 1,094 | 40 | 72 | 27.35 | 0.844681 | 0 | 0 | 0 | 0 | 0 | 0.05398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0.103448 | 0.103448 | 0.482759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
a8bd3c60c0f12c10f59211509edde6625ce73707 | 70 | py | Python | constants/download_data.py | zagaran/instant-census | 62dd5bbc62939f43776a10708ef663722ead98af | [
"MIT"
] | 1 | 2021-06-01T17:03:47.000Z | 2021-06-01T17:03:47.000Z | constants/download_data.py | zagaran/instant-census | 62dd5bbc62939f43776a10708ef663722ead98af | [
"MIT"
] | null | null | null | constants/download_data.py | zagaran/instant-census | 62dd5bbc62939f43776a10708ef663722ead98af | [
"MIT"
] | null | null | null | TS_FORMAT = "%Y-%m-%d__%I-%M-%S%p"
JAVASCRIPT_NULL_VALUE = "__NULL__" | 35 | 35 | 0.671429 | 13 | 70 | 2.923077 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 2 | 36 | 35 | 0.59375 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
a8c9c825caa6b5cd8730eacef247c071b11e5b6f | 2,240 | py | Python | eta/modules/video_stream_info.py | saiprakash-c/504 | 3f8ae16c944fa08cbd7106eb28ef6fbcf360e4a8 | [
"BSD-4-Clause"
] | null | null | null | eta/modules/video_stream_info.py | saiprakash-c/504 | 3f8ae16c944fa08cbd7106eb28ef6fbcf360e4a8 | [
"BSD-4-Clause"
] | null | null | null | eta/modules/video_stream_info.py | saiprakash-c/504 | 3f8ae16c944fa08cbd7106eb28ef6fbcf360e4a8 | [
"BSD-4-Clause"
] | null | null | null | #!/usr/bin/env python
'''
A module for getting the stream info for a video.
Info:
type: eta.core.types.Module
version: 0.1.0
Copyright 2017-2018, Voxel51, LLC
voxel51.com
Brian Moore, brian@voxel51.com
'''
# pragma pylint: disable=redefined-builtin
# pragma pylint: disable=unused-wildcard-import
# pragma pyl... | 26.352941 | 77 | 0.737946 | 295 | 2,240 | 5.308475 | 0.325424 | 0.102171 | 0.051086 | 0.03576 | 0.113665 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0.009704 | 0.171875 | 2,240 | 84 | 78 | 26.666667 | 0.834501 | 0.385268 | 0 | 0.066667 | 0 | 0 | 0.041635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0 | 0.533333 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
a8d084f15c1e2a9eed2aaaeab601d4662976cf32 | 789 | py | Python | Test/assi_test.py | shemaaali/lambdata-shimadaoud-ds18 | 5599617106a62aa2b4c697fc9ca5c9e1fd1b7a3e | [
"MIT"
] | null | null | null | Test/assi_test.py | shemaaali/lambdata-shimadaoud-ds18 | 5599617106a62aa2b4c697fc9ca5c9e1fd1b7a3e | [
"MIT"
] | null | null | null | Test/assi_test.py | shemaaali/lambdata-shimadaoud-ds18 | 5599617106a62aa2b4c697fc9ca5c9e1fd1b7a3e | [
"MIT"
] | 1 | 2020-09-01T23:20:45.000Z | 2020-09-01T23:20:45.000Z | # Import a library related to my test called unittest
import unittest
from pandas import DataFrame
from lambdata.assi import add_state_names_column
class TestAssi(unittest.TestCase):
def test_assi(self):
df = DataFrame({"abbrev": ["CA", "CO", "CT", "DC", "TX"]})
self.assertEqual(len(df.col... | 35.863636 | 66 | 0.651458 | 100 | 789 | 4.94 | 0.44 | 0.212551 | 0.052632 | 0.076923 | 0.117409 | 0.117409 | 0 | 0 | 0 | 0 | 0 | 0.007899 | 0.197719 | 789 | 22 | 67 | 35.863636 | 0.772512 | 0.064639 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
76497e598a34766fb996793593197c97fb3ac769 | 10,144 | py | Python | simplegexf.py | demux/simplegexf | 0219661f668059733c89a403888cccc4aeaab683 | [
"MIT"
] | 6 | 2016-02-19T19:07:28.000Z | 2019-05-14T11:55:25.000Z | simplegexf.py | demux/simplegexf | 0219661f668059733c89a403888cccc4aeaab683 | [
"MIT"
] | 3 | 2016-02-20T18:16:55.000Z | 2017-03-29T12:58:31.000Z | simplegexf.py | demux/simplegexf | 0219661f668059733c89a403888cccc4aeaab683 | [
"MIT"
] | 6 | 2016-08-26T19:27:16.000Z | 2017-09-21T08:26:14.000Z | import os
from collections import OrderedDict, MutableMapping, MutableSequence
from operator import itemgetter, attrgetter
from copy import deepcopy
import xmltodict
TEMPLATE = """<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2draft"
xmlns:viz="http://www.gexf.net/1.1draft/viz"
... | 28.099723 | 97 | 0.572457 | 1,164 | 10,144 | 4.743986 | 0.166667 | 0.030424 | 0.022818 | 0.01992 | 0.219305 | 0.155741 | 0.087831 | 0.075516 | 0.061391 | 0.061391 | 0 | 0.002791 | 0.293474 | 10,144 | 360 | 98 | 28.177778 | 0.767685 | 0.039136 | 0 | 0.25 | 0 | 0.003906 | 0.087006 | 0 | 0 | 0 | 0 | 0.002778 | 0 | 1 | 0.21875 | false | 0 | 0.019531 | 0.101563 | 0.417969 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
764bd9f7894b9412e984bebb9e540f26fda24b4e | 1,741 | py | Python | my/google/paths.py | ktaranov/HPI | 3aa21107465b19b8b09884fbda8326617d3324ae | [
"MIT"
] | 1 | 2021-08-04T18:54:53.000Z | 2021-08-04T18:54:53.000Z | my/google/paths.py | ktaranov/HPI | 3aa21107465b19b8b09884fbda8326617d3324ae | [
"MIT"
] | null | null | null | my/google/paths.py | ktaranov/HPI | 3aa21107465b19b8b09884fbda8326617d3324ae | [
"MIT"
] | null | null | null | """
Module for locating and accessing [[https://takeout.google.com][Google Takeout]] data
"""
from dataclasses import dataclass
from typing import Optional
from my.config import google as user_config
from ..core.common import Paths
@dataclass
class google(user_config):
# directory to unzipped takeout data
... | 28.540984 | 116 | 0.706491 | 248 | 1,741 | 4.814516 | 0.419355 | 0.055276 | 0.040201 | 0.050251 | 0.043551 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000733 | 0.215968 | 1,741 | 60 | 117 | 29.016667 | 0.873993 | 0.271683 | 0 | 0 | 0 | 0 | 0.078212 | 0.023943 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.34375 | 0.03125 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
764dc85f016fd3108ea39a0b5ab2c1d77140fc32 | 3,025 | py | Python | pcg_libraries/src/pcg_gazebo/parsers/sdf/script.py | boschresearch/pcg_gazebo_pkgs | 1c112d01847ca4f8da61ce9b273e13d13bc7eb73 | [
"Apache-2.0",
"BSD-3-Clause"
] | 42 | 2019-06-26T09:46:03.000Z | 2022-03-18T17:56:26.000Z | pcg_libraries/src/pcg_gazebo/parsers/sdf/script.py | boschresearch/pcg_gazebo_pkgs | 1c112d01847ca4f8da61ce9b273e13d13bc7eb73 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2019-07-18T10:36:05.000Z | 2020-10-02T15:26:32.000Z | pcg_libraries/src/pcg_gazebo/parsers/sdf/script.py | boschresearch/pcg_gazebo_pkgs | 1c112d01847ca4f8da61ce9b273e13d13bc7eb73 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-11-01T03:20:11.000Z | 2020-10-15T23:23:44.000Z | # Copyright (c) 2019 - The Procedural Generation for Gazebo authors
# For information on the respective copyright owner see the NOTICE file
#
# 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
#
#... | 31.510417 | 135 | 0.680992 | 398 | 3,025 | 4.992462 | 0.311558 | 0.07851 | 0.042275 | 0.066935 | 0.226975 | 0.214394 | 0.067438 | 0 | 0 | 0 | 0 | 0.003761 | 0.208926 | 3,025 | 95 | 136 | 31.842105 | 0.826578 | 0.21719 | 0 | 0.096774 | 0 | 0 | 0.101997 | 0.01955 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.112903 | 0.096774 | 0.548387 | 0.016129 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
766eac5ea178a7d26bdd427d1a863b95d81c61bb | 485 | py | Python | config.py | the-data-science-union/dsu-mlpp | fb1bd4022b20a74b90e98bc8798a8586fcf8f197 | [
"MIT"
] | null | null | null | config.py | the-data-science-union/dsu-mlpp | fb1bd4022b20a74b90e98bc8798a8586fcf8f197 | [
"MIT"
] | 37 | 2021-01-27T19:10:52.000Z | 2021-03-08T01:09:06.000Z | config.py | the-data-science-union/dsu-mlpp | fb1bd4022b20a74b90e98bc8798a8586fcf8f197 | [
"MIT"
] | 2 | 2021-03-04T02:02:40.000Z | 2021-04-21T04:55:41.000Z | import os
from os.path import join, dirname
from dotenv import load_dotenv
from pymongo import MongoClient
import pymysql.cursors
dotenv_path = join(dirname(__file__), '.env')
load_dotenv(dotenv_path)
client = MongoClient('localhost', 27017, username='admin', password="dsumlppftw")
sql_client = lambda db: pymysql.co... | 32.333333 | 81 | 0.639175 | 54 | 485 | 5.574074 | 0.592593 | 0.07309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019553 | 0.261856 | 485 | 15 | 82 | 32.333333 | 0.821229 | 0 | 0 | 0 | 0 | 0 | 0.113169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
76744529e30dc19eacfe53cc0f04c62990754ef8 | 33,354 | py | Python | elib/strings.py | MasterEnderman/EnderLib | 0a84f2e420fdffce7b49f83519c660bfd6bdd7d2 | [
"MIT"
] | 1 | 2020-01-28T03:03:32.000Z | 2020-01-28T03:03:32.000Z | elib/strings.py | MasterEnderman/EnderLib | 0a84f2e420fdffce7b49f83519c660bfd6bdd7d2 | [
"MIT"
] | null | null | null | elib/strings.py | MasterEnderman/EnderLib | 0a84f2e420fdffce7b49f83519c660bfd6bdd7d2 | [
"MIT"
] | null | null | null | from elib import *
class strings(enderlib):
pass
class stringsUnification(strings):
pass
class stringsUnificationSettings(stringsUnification):
head = """#priority {}
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import crafttweaker.liquid.ILiquidDefinition;
import crafttweak... | 33.555332 | 151 | 0.620615 | 2,974 | 33,354 | 6.926362 | 0.098184 | 0.044177 | 0.081557 | 0.081266 | 0.456187 | 0.430167 | 0.414243 | 0.393563 | 0.348269 | 0.294043 | 0 | 0.011108 | 0.260449 | 33,354 | 994 | 152 | 33.555332 | 0.823975 | 0 | 0 | 0.346241 | 0 | 0.023918 | 0.970259 | 0.448209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002278 | 0.145786 | 0 | 0.209567 | 0.002278 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
767de7b9cc692c3faf0ba519b80c60bd13ac6226 | 279 | py | Python | papermerge/core/serializers/content_type.py | papermerge/papermerge-core | e377441a8e5ddb748fa3861f686fa22c00d407fe | [
"Apache-2.0"
] | 45 | 2021-01-10T14:33:52.000Z | 2022-03-27T14:02:56.000Z | papermerge/core/serializers/content_type.py | papermerge/papermerge-core | e377441a8e5ddb748fa3861f686fa22c00d407fe | [
"Apache-2.0"
] | 8 | 2021-01-08T20:02:21.000Z | 2022-02-01T13:12:24.000Z | papermerge/core/serializers/content_type.py | papermerge/papermerge-core | e377441a8e5ddb748fa3861f686fa22c00d407fe | [
"Apache-2.0"
] | 12 | 2021-01-07T20:03:07.000Z | 2022-03-24T04:07:51.000Z | from django.contrib.auth.models import ContentType
from rest_framework_json_api import serializers
class ContentTypeSerializer(serializers.ModelSerializer):
class Meta:
model = ContentType
resource_name = 'content-types'
fields = ('id', 'model',)
| 23.25 | 57 | 0.727599 | 29 | 279 | 6.862069 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 279 | 11 | 58 | 25.363636 | 0.884444 | 0 | 0 | 0 | 0 | 0 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
767f2fd279bc53b0f3fceb795a4d45558823ed45 | 7,382 | py | Python | src/test.py | MasayukiNagai/VersUS | 2368453b641a7b314ae9dd876ab0ce02258b2bf9 | [
"MIT"
] | 2 | 2020-12-04T15:26:50.000Z | 2021-01-10T13:07:34.000Z | src/test.py | MasayukiNagai/VersUS | 2368453b641a7b314ae9dd876ab0ce02258b2bf9 | [
"MIT"
] | null | null | null | src/test.py | MasayukiNagai/VersUS | 2368453b641a7b314ae9dd876ab0ce02258b2bf9 | [
"MIT"
] | null | null | null | # test script
import os
import logging
from Handlers.SeqHandler import *
from Handlers.ClinVarHandler import *
from Handlers.BLASTHandler import *
from Handlers.CADDHandler import *
from Handlers.VEPHandler import *
from Handlers.FileHandler import *
from VersUS import *
gene_file = './data/gene/HumanEnzWithEC.csv'
se... | 41.943182 | 285 | 0.690734 | 979 | 7,382 | 4.914198 | 0.161389 | 0.050925 | 0.020578 | 0.016629 | 0.543962 | 0.499273 | 0.46747 | 0.42673 | 0.42673 | 0.410102 | 0 | 0.002694 | 0.094961 | 7,382 | 176 | 286 | 41.943182 | 0.717408 | 0.82227 | 0 | 0 | 0 | 0.074074 | 0.369347 | 0.266332 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.185185 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
767f88b1d1dcba0f44a8d55bc30a5c5fc03b88da | 411 | py | Python | packageopt/repositories/implementations/vola_repo.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | packageopt/repositories/implementations/vola_repo.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | packageopt/repositories/implementations/vola_repo.py | nspostnov/for-article-optimal-position-liquidation | 857152b0450c39cfcdb3d329e57ed07efe344356 | [
"MIT"
] | null | null | null | from ..abstract_base_classes import RepoABC
from ...models.vola import Vola
__all__ = ['VolaRepo']
class VolaRepo(RepoABC):
def __init__(self, volatablecruder):
self._volatablecruder = volatablecruder
def get(self, key):
vola = Vola()
vola.set_key(key)
return self._volatabl... | 20.55 | 47 | 0.666667 | 46 | 411 | 5.652174 | 0.434783 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231144 | 411 | 19 | 48 | 21.631579 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.019465 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
768189da83c454587636e57e4209f285153e4c77 | 702 | py | Python | app/config.py | RyanHartje/base_flask | 32ded617530dbd452e7b60c51fe1a19807da3bdc | [
"MIT"
] | null | null | null | app/config.py | RyanHartje/base_flask | 32ded617530dbd452e7b60c51fe1a19807da3bdc | [
"MIT"
] | null | null | null | app/config.py | RyanHartje/base_flask | 32ded617530dbd452e7b60c51fe1a19807da3bdc | [
"MIT"
] | null | null | null | # You can gen a bcrypt hash here:
## http://bcrypthashgenerator.apphb.com/
pwhash = 'bcrypt'
# You can generate salts and other secrets with openssl
# For example:
# $ openssl rand -hex 16
# 1ca632d8567743f94352545abe2e313d
salt = "141202e6b20aa53596a339a0d0b92e79"
secret_key = 'fe65757e00193b8bc2e18444fa51d87... | 23.4 | 56 | 0.777778 | 90 | 702 | 5.811111 | 0.677778 | 0.022945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 0.138177 | 702 | 29 | 57 | 24.206897 | 0.73719 | 0.283476 | 0 | 0 | 1 | 0 | 0.381339 | 0.129817 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
768a31ddde23314da728b346aa3c4e4f92544ad6 | 385 | py | Python | src/main/python/client/PythonClient.py | mfentler-tgm/sew5-simple-user-database-mfentler-tgm | 98fba2cdca4243c3b2f25c45ceb043c258a5db53 | [
"MIT"
] | null | null | null | src/main/python/client/PythonClient.py | mfentler-tgm/sew5-simple-user-database-mfentler-tgm | 98fba2cdca4243c3b2f25c45ceb043c258a5db53 | [
"MIT"
] | null | null | null | src/main/python/client/PythonClient.py | mfentler-tgm/sew5-simple-user-database-mfentler-tgm | 98fba2cdca4243c3b2f25c45ceb043c258a5db53 | [
"MIT"
] | null | null | null | #from clientController import ClientController
from client.clientController import ClientController
from PyQt5 import QtCore, QtGui, QtWidgets
import sys
def main():
try:
app = QtWidgets.QApplication([])
controller = ClientController()
controller.show()
app.exec_()
except Except... | 24.0625 | 52 | 0.680519 | 39 | 385 | 6.487179 | 0.615385 | 0.173913 | 0.300395 | 0.332016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.233766 | 385 | 16 | 53 | 24.0625 | 0.854237 | 0.116883 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.230769 | 0 | 0.307692 | 0.076923 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
76adeeaedc90aba1868bbc06ec2a353739abdba8 | 774 | py | Python | astropy/cosmology/__init__.py | jvictor42/astropy | 37a441d1f1f80d147e9e71bdcc93bfaac1d58b3c | [
"BSD-3-Clause"
] | null | null | null | astropy/cosmology/__init__.py | jvictor42/astropy | 37a441d1f1f80d147e9e71bdcc93bfaac1d58b3c | [
"BSD-3-Clause"
] | null | null | null | astropy/cosmology/__init__.py | jvictor42/astropy | 37a441d1f1f80d147e9e71bdcc93bfaac1d58b3c | [
"BSD-3-Clause"
] | 1 | 2020-02-18T04:10:00.000Z | 2020-02-18T04:10:00.000Z | # Licensed under a 3-clause BSD style license - see LICENSE.rst
""" astropy.cosmology contains classes and functions for cosmological
distance measures and other cosmology-related calculations.
See the `Astropy documentation
<https://docs.astropy.org/en/latest/cosmology/index.html>`_ for more
detailed usage examples a... | 32.25 | 69 | 0.726098 | 95 | 774 | 5.652632 | 0.557895 | 0.074488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001595 | 0.189922 | 774 | 23 | 70 | 33.652174 | 0.854864 | 0.536176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.727273 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
76b33c0abe9a38d4b20f8cd555dc32c3efa54ee6 | 1,214 | py | Python | kikola/templatetags/json_tags.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | 4 | 2015-10-23T21:57:54.000Z | 2021-01-08T04:17:07.000Z | kikola/templatetags/json_tags.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | null | null | null | kikola/templatetags/json_tags.py | playpauseandstop/kikola | 0dcce731dc609922697c21c198d00bdc61b412b3 | [
"BSD-3-Clause"
] | 1 | 2016-03-29T22:09:16.000Z | 2016-03-29T22:09:16.000Z | """
=============================
kikola.templatetags.json_tags
=============================
Template filter to dumps Python var to JSON in templates.
Installation
============
Just add ``kikola`` to ``INSTALLED_APPS`` var of your project settings.
Filters
=======
jsonify
-------
Custom template filter ``jsonify... | 20.576271 | 85 | 0.609555 | 146 | 1,214 | 5.041096 | 0.527397 | 0.043478 | 0.040761 | 0.040761 | 0.081522 | 0.081522 | 0.081522 | 0.081522 | 0 | 0 | 0 | 0.002964 | 0.166392 | 1,214 | 58 | 86 | 20.931034 | 0.724308 | 0.777595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2 |
76cb47e442f03ac1e6455b6916b595e16bd1f1c2 | 907 | py | Python | setup.py | bodenr/onmcast | 975a580dcedbade29b70a90e157cecbfc4a1bce7 | [
"Apache-2.0"
] | null | null | null | setup.py | bodenr/onmcast | 975a580dcedbade29b70a90e157cecbfc4a1bce7 | [
"Apache-2.0"
] | null | null | null | setup.py | bodenr/onmcast | 975a580dcedbade29b70a90e157cecbfc4a1bce7 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(
name='onmcast',
version='0.1',
description='oslo-messaging notification multicast',
author='Boden',
author_email='bodenru@gmail.com',
classifiers=[
'Development Status :: 1 - Beta',
'Programming Language :: Python :: 2',
... | 29.258065 | 77 | 0.610805 | 86 | 907 | 6.337209 | 0.627907 | 0.174312 | 0.229358 | 0.143119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016105 | 0.246968 | 907 | 31 | 78 | 29.258065 | 0.781845 | 0 | 0 | 0 | 0 | 0 | 0.454846 | 0.077093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4f1427b1c252e9769b30e833ead520ed512cfac4 | 4,478 | gyp | Python | binding.gyp | VinCSS-Public-Projects/FIDO2Client | 3d42f1aadc69b514865381c89dbb6b26ddb177cb | [
"MIT"
] | 79 | 2020-05-19T04:48:26.000Z | 2022-03-21T04:31:45.000Z | binding.gyp | VinCSS-Public-Projects/FIDO2Client | 3d42f1aadc69b514865381c89dbb6b26ddb177cb | [
"MIT"
] | 7 | 2020-05-23T13:06:02.000Z | 2021-10-30T02:37:09.000Z | binding.gyp | VinCSS-Public-Projects/FIDO2Client | 3d42f1aadc69b514865381c89dbb6b26ddb177cb | [
"MIT"
] | 17 | 2020-05-21T13:08:15.000Z | 2022-01-20T12:26:47.000Z | {
"targets": [
{
"target_name": "usb",
"conditions": [
[
"OS==\"win\"",
{
"sources": [
"third_party/usb/src/win.cc"
],
"librarie... | 31.314685 | 60 | 0.200313 | 164 | 4,478 | 5.335366 | 0.256098 | 0.125714 | 0.136 | 0.097143 | 0.64 | 0.366857 | 0.237714 | 0.164571 | 0.164571 | 0 | 0 | 0.001491 | 0.700536 | 4,478 | 143 | 61 | 31.314685 | 0.651007 | 0 | 0 | 0.468531 | 0 | 0 | 0.216566 | 0.067649 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4f1eef1b86800fee50b3db932b6e14983c00b8da | 278 | py | Python | World 1/First attempts/ex001 - First Try.py | MiguelChichorro/PythonExercises | 3b2726e7d9ef92c1eb6b977088692c42a2a7b86e | [
"MIT"
] | 2 | 2021-04-23T19:18:06.000Z | 2021-05-15T17:45:21.000Z | World 1/First attempts/ex001 - First Try.py | MiguelChichorro/PythonExercises | 3b2726e7d9ef92c1eb6b977088692c42a2a7b86e | [
"MIT"
] | 1 | 2021-05-14T00:29:23.000Z | 2021-05-14T00:29:23.000Z | World 1/First attempts/ex001 - First Try.py | MiguelChichorro/PythonExercises | 3b2726e7d9ef92c1eb6b977088692c42a2a7b86e | [
"MIT"
] | 1 | 2021-05-14T00:19:33.000Z | 2021-05-14T00:19:33.000Z | colors = {"clean": "\033[m",
"red": "\033[31m",
"green": "\033[32m",
"yellow": "\033[33m",
"blue": "\033[34m",
"purple": "\033[35m",
"cian": "\033[36m"}
msg = "Hello World!!!"
print("{}{}".format(colors["cian"], msg))
| 27.8 | 41 | 0.417266 | 30 | 278 | 3.866667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168367 | 0.294964 | 278 | 9 | 42 | 30.888889 | 0.423469 | 0 | 0 | 0 | 0 | 0 | 0.392086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4f24aeaf949fa6072ae58c5aac5322061a2d622d | 1,167 | py | Python | scrapy_bench/middlewares.py | whalebot-helmsman/scrapy-bench | 2b88e573a9983507c1100d8dbda979ce47b04042 | [
"MIT"
] | null | null | null | scrapy_bench/middlewares.py | whalebot-helmsman/scrapy-bench | 2b88e573a9983507c1100d8dbda979ce47b04042 | [
"MIT"
] | null | null | null | scrapy_bench/middlewares.py | whalebot-helmsman/scrapy-bench | 2b88e573a9983507c1100d8dbda979ce47b04042 | [
"MIT"
] | 1 | 2021-11-24T17:54:06.000Z | 2021-11-24T17:54:06.000Z | import os
from scrapy import Request
class RandomPayloadMiddleware:
def __init__(self, size):
"""
Middleware adds a random payload to request's meta. Such behaviour
simulates requests with large size and helps understand performance
impact during usage of external storages (disk, ... | 26.522727 | 79 | 0.650386 | 139 | 1,167 | 5.323741 | 0.489209 | 0.043243 | 0.045946 | 0.059459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001193 | 0.281919 | 1,167 | 43 | 80 | 27.139535 | 0.881862 | 0.238218 | 0 | 0.090909 | 0 | 0 | 0.055825 | 0.038835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.090909 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
4f266ef1106e82bfe60c27342ba49becc87a5817 | 247 | py | Python | audream_v0.9/main.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | null | null | null | audream_v0.9/main.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | null | null | null | audream_v0.9/main.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | 1 | 2021-05-07T20:35:14.000Z | 2021-05-07T20:35:14.000Z | from tkinter import Tk, Label
from tkinter.filedialog import askopenfilename
import fileinput
import threading
import pyaudio
import wave
import mywindows as win
root = Tk()
root.withdraw()
win.showReg(root)
root.mainloop()
| 13.722222 | 47 | 0.740891 | 31 | 247 | 5.903226 | 0.580645 | 0.120219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202429 | 247 | 17 | 48 | 14.529412 | 0.928934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.636364 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.