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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c01922655ec41e4d6fc3470bad1df3adf182d0aa | 126 | py | Python | cryptofeed_werks/exchanges/ftx/__init__.py | globophobe/crypto-tick-data | 7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4 | [
"MIT"
] | null | null | null | cryptofeed_werks/exchanges/ftx/__init__.py | globophobe/crypto-tick-data | 7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4 | [
"MIT"
] | null | null | null | cryptofeed_werks/exchanges/ftx/__init__.py | globophobe/crypto-tick-data | 7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4 | [
"MIT"
] | null | null | null | from .constants import BTCMOVE
from .controllers import ftx_move, ftx_trades
__all__ = ["BTCMOVE", "ftx_trades", "ftx_move"]
| 25.2 | 47 | 0.769841 | 17 | 126 | 5.235294 | 0.529412 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 4 | 48 | 31.5 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0.198413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c0205242039181a756652c0ddd7b0a4d20c1f7f3 | 3,111 | py | Python | test/test_analytics_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:32:37.000Z | 2022-02-24T05:13:20.000Z | test/test_analytics_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | null | null | null | test/test_analytics_api.py | billforward/bf-python | d2b812329ca3ed1fd94364d7f46f69ad74665596 | [
"Apache-2.0"
] | 1 | 2016-12-30T20:02:48.000Z | 2016-12-30T20:02:48.000Z | # coding: utf-8
"""
BillForward REST API
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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... | 23.044444 | 76 | 0.634201 | 397 | 3,111 | 4.798489 | 0.319899 | 0.04042 | 0.063517 | 0.08084 | 0.426247 | 0.370079 | 0.271916 | 0.23727 | 0.174278 | 0.151181 | 0 | 0.003676 | 0.300546 | 3,111 | 134 | 77 | 23.216418 | 0.871783 | 0.514626 | 0 | 0.333333 | 1 | 0 | 0.007253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.361111 | false | 0.333333 | 0.194444 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
c0233718f62cfd225ac746308d100ae4c4eb96c3 | 391 | py | Python | tests/test_testprog.py | DavinderJolly/pytest-testprog | 2b0e39bb0eb072bfc12993a388a80a8b51ac96c4 | [
"MIT"
] | null | null | null | tests/test_testprog.py | DavinderJolly/pytest-testprog | 2b0e39bb0eb072bfc12993a388a80a8b51ac96c4 | [
"MIT"
] | null | null | null | tests/test_testprog.py | DavinderJolly/pytest-testprog | 2b0e39bb0eb072bfc12993a388a80a8b51ac96c4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import time
def test_foo():
"""Test.
First test
"""
time.sleep(2)
assert True
def test_bar():
"""Test.
Second test
"""
time.sleep(2)
assert True
def test_baz():
"""Test.
Third test
"""
time.sleep(2)
assert False
def test_buz():
... | 11.171429 | 23 | 0.508951 | 49 | 391 | 3.979592 | 0.408163 | 0.14359 | 0.266667 | 0.287179 | 0.54359 | 0.441026 | 0.317949 | 0.317949 | 0 | 0 | 0 | 0.019231 | 0.335038 | 391 | 34 | 24 | 11.5 | 0.730769 | 0.235294 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | true | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c0309bcb6cf5cdf33fe5481194347cbc0e76d4ac | 102 | py | Python | smartystreets_python_sdk_version/__init__.py | jasonrfarkas/smartystreets-python-sdk | bcb94efc09c795222eb1bd85544073a6cc063a46 | [
"Apache-2.0"
] | 19 | 2017-01-20T16:34:19.000Z | 2021-12-09T15:56:09.000Z | smartystreets_python_sdk_version/__init__.py | jasonrfarkas/smartystreets-python-sdk | bcb94efc09c795222eb1bd85544073a6cc063a46 | [
"Apache-2.0"
] | 25 | 2016-12-11T01:20:19.000Z | 2022-03-24T19:59:25.000Z | smartystreets_python_sdk_version/__init__.py | jasonrfarkas/smartystreets-python-sdk | bcb94efc09c795222eb1bd85544073a6cc063a46 | [
"Apache-2.0"
] | 28 | 2016-12-31T17:06:07.000Z | 2022-02-17T00:09:02.000Z | __version__ = '0.0.0' # DO NOT EDIT (this is updated by a build job when a new release is published)
| 51 | 101 | 0.715686 | 20 | 102 | 3.45 | 0.8 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.205882 | 102 | 1 | 102 | 102 | 0.814815 | 0.745098 | 0 | 0 | 1 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c035b072727964bbafb393e63911ac8fa5dacbc9 | 159 | py | Python | processing.py | Qwinpin/NeuroDemo | 52220dd2904e96485ce92adb171e68522915a1fb | [
"MIT"
] | 1 | 2021-03-09T22:59:55.000Z | 2021-03-09T22:59:55.000Z | processing.py | Qwinpin/NeuroDemo | 52220dd2904e96485ce92adb171e68522915a1fb | [
"MIT"
] | null | null | null | processing.py | Qwinpin/NeuroDemo | 52220dd2904e96485ce92adb171e68522915a1fb | [
"MIT"
] | null | null | null | import numpy as np
import loader
import responser
def processing(data):
data = loader.load(data)
# perform something
return responser.save(data)
| 15.9 | 31 | 0.72956 | 21 | 159 | 5.52381 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201258 | 159 | 9 | 32 | 17.666667 | 0.913386 | 0.106918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c03756a16758d98d8cd8aacec7780bbd24b33179 | 1,204 | py | Python | dataprofiler/labelers/__init__.py | gautomdas/DataProfiler | 7afaa61a814c1bf24c51272dc2aa657397d9f1e5 | [
"Apache-2.0"
] | 690 | 2021-02-19T19:57:31.000Z | 2022-03-29T23:08:39.000Z | dataprofiler/labelers/__init__.py | gautomdas/DataProfiler | 7afaa61a814c1bf24c51272dc2aa657397d9f1e5 | [
"Apache-2.0"
] | 179 | 2021-02-17T20:49:16.000Z | 2022-03-21T18:49:49.000Z | dataprofiler/labelers/__init__.py | gautomdas/DataProfiler | 7afaa61a814c1bf24c51272dc2aa657397d9f1e5 | [
"Apache-2.0"
] | 48 | 2021-02-19T19:25:32.000Z | 2022-03-21T17:36:50.000Z | """
The following will list the built-in models, processors, and data labelers.
Models:
1. CharacterLevelCnnModel - character classification of text.
2. RegexModel - character classification of text.
Processors:
Preprocessors
1. CharPreprocessor
2. StructCharPreprocessor
3. DirectP... | 29.365854 | 79 | 0.7201 | 105 | 1,204 | 8.152381 | 0.47619 | 0.056075 | 0.058411 | 0.067757 | 0.093458 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0.0141 | 0.234219 | 1,204 | 40 | 80 | 30.1 | 0.914317 | 0.630399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
c05a2b49b31692e02c080d4cb26b6221aa7bec8f | 1,805 | py | Python | DBMan.py | Alux-Alpha/Encr_Pass_Repo | 8b7218b2e4695eff8b1253bdc224dcc8a43cd330 | [
"MIT"
] | null | null | null | DBMan.py | Alux-Alpha/Encr_Pass_Repo | 8b7218b2e4695eff8b1253bdc224dcc8a43cd330 | [
"MIT"
] | null | null | null | DBMan.py | Alux-Alpha/Encr_Pass_Repo | 8b7218b2e4695eff8b1253bdc224dcc8a43cd330 | [
"MIT"
] | null | null | null | # MIT License
# Copyright (c) 2020 Nehal Gowrish (Alias: Alanthiel)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | 34.056604 | 90 | 0.741828 | 258 | 1,805 | 5.139535 | 0.565891 | 0.066365 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002755 | 0.195568 | 1,805 | 52 | 91 | 34.711538 | 0.910468 | 0.657618 | 0 | 0 | 0 | 0 | 0.078727 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.166667 | false | 0.055556 | 0.111111 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fbe4bbb9bd38d8c11456d7278b8b0fab29cd97b2 | 469 | py | Python | test/creational/test_abstract_factory.py | BruceWW/python_designer_pattern | c5f8b5ee32c8984401b4a217fa35364170331063 | [
"Apache-2.0"
] | 1 | 2020-08-29T09:17:12.000Z | 2020-08-29T09:17:12.000Z | test/creational/test_abstract_factory.py | BruceWW/python_design_pattern | c5f8b5ee32c8984401b4a217fa35364170331063 | [
"Apache-2.0"
] | null | null | null | test/creational/test_abstract_factory.py | BruceWW/python_design_pattern | c5f8b5ee32c8984401b4a217fa35364170331063 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Date : 2020/8/10
# @Author : Bruce Liu /Lin Luo
# @Mail : 15869300264@163.com
from unittest import TestCase
class TestCreation(TestCase):
def test_abstract_factory(self):
pass
def test_builder(self):
pass
def test_factory_method(self):
... | 17.37037 | 37 | 0.622601 | 59 | 469 | 4.79661 | 0.59322 | 0.14841 | 0.194346 | 0.265018 | 0.155477 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067449 | 0.272921 | 469 | 26 | 38 | 18.038462 | 0.762463 | 0.251599 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.071429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2238b8b0d086d0c0e496cc174258d132dfbd557d | 1,605 | py | Python | JumpToClass.py | kanarinios/JumpToClass | 173d320f7768a439d27400c81e73771f4c0d664f | [
"MIT"
] | null | null | null | JumpToClass.py | kanarinios/JumpToClass | 173d320f7768a439d27400c81e73771f4c0d664f | [
"MIT"
] | null | null | null | JumpToClass.py | kanarinios/JumpToClass | 173d320f7768a439d27400c81e73771f4c0d664f | [
"MIT"
] | null | null | null | import sublime
import sublime_plugin
import re
class JumpToClassCommand(sublime_plugin.TextCommand):
def run(self, edit):
settings = self.view.settings()
separator = settings.get("jump_to_class_separator")
old_word_separators = settings.get("word_separators")
jump_to_class_word_sepa... | 40.125 | 97 | 0.65919 | 195 | 1,605 | 5.128205 | 0.205128 | 0.224 | 0.077 | 0.09 | 0.817 | 0.795 | 0.736 | 0.572 | 0.572 | 0.572 | 0 | 0 | 0.219315 | 1,605 | 39 | 98 | 41.153846 | 0.798085 | 0 | 0 | 0.645161 | 0 | 0 | 0.161994 | 0.050467 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 4 |
223d854e3deb817d73bbf88f5c2ad880e7dc066e | 199 | py | Python | textX-LS/core/textx_ls_core/languages/textx/__init__.py | goto40/textX-LS | a6b357186f7adaf7c30aed4d543ae8d149c80a25 | [
"MIT"
] | null | null | null | textX-LS/core/textx_ls_core/languages/textx/__init__.py | goto40/textX-LS | a6b357186f7adaf7c30aed4d543ae8d149c80a25 | [
"MIT"
] | null | null | null | textX-LS/core/textx_ls_core/languages/textx/__init__.py | goto40/textX-LS | a6b357186f7adaf7c30aed4d543ae8d149c80a25 | [
"MIT"
] | null | null | null | from .. import LanguageTemplate
class TextXLang(LanguageTemplate):
@property
def extensions(self):
return ['tx']
@property
def language_name(self):
return 'TextX'
| 15.307692 | 34 | 0.643216 | 19 | 199 | 6.684211 | 0.736842 | 0.173228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261307 | 199 | 12 | 35 | 16.583333 | 0.863946 | 0 | 0 | 0.25 | 0 | 0 | 0.035176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
223ff98a520f088c06f0054f026fe756043c5be7 | 81 | py | Python | Init.py | furti/FreeCAD-Lithophane | 5b6de36a20ecb49d26e27154788117f1e9785f40 | [
"MIT"
] | 21 | 2018-06-10T04:00:06.000Z | 2022-02-20T12:20:00.000Z | Init.py | furti/FreeCAD-Lithophane | 5b6de36a20ecb49d26e27154788117f1e9785f40 | [
"MIT"
] | 37 | 2018-06-24T06:49:23.000Z | 2021-11-05T13:49:15.000Z | Init.py | furti/FreeCAD-Lithophane | 5b6de36a20ecb49d26e27154788117f1e9785f40 | [
"MIT"
] | 4 | 2018-09-28T00:05:26.000Z | 2022-01-15T21:18:10.000Z | # Setup Preferences
from utils import preferences
preferences.setupParameters() | 16.2 | 29 | 0.839506 | 8 | 81 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 5 | 30 | 16.2 | 0.944444 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
224cd58e54e427d325b66f9920bfda8af5b3fc56 | 66 | py | Python | tests/modules/__init__.py | RecursionSpace/OpenPod | 92fefd23ea76aadee3b7b243d1a65c1170e6a2e4 | [
"MIT"
] | 1 | 2022-02-18T06:30:32.000Z | 2022-02-18T06:30:32.000Z | tests/modules/__init__.py | RecursionSpace/OpenPod | 92fefd23ea76aadee3b7b243d1a65c1170e6a2e4 | [
"MIT"
] | null | null | null | tests/modules/__init__.py | RecursionSpace/OpenPod | 92fefd23ea76aadee3b7b243d1a65c1170e6a2e4 | [
"MIT"
] | null | null | null | ''' Required for tests to recognize folder and perform tests. '''
| 33 | 65 | 0.727273 | 9 | 66 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 1 | 66 | 66 | 0.872727 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2256575f1f30721f9593a1989e83c4cdd4d4e0d1 | 126 | py | Python | utils/box/__init__.py | pzheng2018/MutualGuide | e0ea62abf128925836e4337a7fef400b135b7cbe | [
"MIT"
] | 124 | 2020-10-01T13:37:02.000Z | 2022-03-25T13:31:03.000Z | utils/box/__init__.py | pzheng2018/MutualGuide | e0ea62abf128925836e4337a7fef400b135b7cbe | [
"MIT"
] | 4 | 2020-10-09T06:20:42.000Z | 2021-12-19T22:28:50.000Z | utils/box/__init__.py | pzheng2018/MutualGuide | e0ea62abf128925836e4337a7fef400b135b7cbe | [
"MIT"
] | 18 | 2020-10-03T13:32:48.000Z | 2021-12-21T06:13:42.000Z | from .box_utils import *
from .seq_matcher import SeqBoxMatcher
from .detection import Detect
from .prior_box import PriorBox
| 25.2 | 38 | 0.833333 | 18 | 126 | 5.666667 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 4 | 39 | 31.5 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3f0e8348e5072e2c6d48a56d4c5e348a51b733dd | 550 | py | Python | challenges/breadth_first_traversal/test_breadth_first_traversal.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | challenges/breadth_first_traversal/test_breadth_first_traversal.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | 2 | 2020-09-24T13:13:49.000Z | 2021-06-25T15:15:35.000Z | challenges/breadth_first_traversal/test_breadth_first_traversal.py | grandquista/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | from .breadth_first_traversal import breadth_first_traversal
def test_empty_bst_breadth_first(new_bst):
breadth_first_traversal(new_bst)
def test_filled_bst_breadth_first(filled_bst):
breadth_first_traversal(filled_bst)
def test_left_bst_breadth_first(left_bst):
breadth_first_traversal(left_bst)
def... | 22.916667 | 60 | 0.807273 | 83 | 550 | 4.819277 | 0.253012 | 0.36 | 0.375 | 0.24 | 0.15 | 0.15 | 0.15 | 0 | 0 | 0 | 0 | 0.006198 | 0.12 | 550 | 23 | 61 | 23.913043 | 0.820248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.384615 | false | 0 | 0.076923 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3f100a4f4d874496148e59cb0d296361e179b64c | 173 | py | Python | tests/test_tutorial/test_settings/test_app02.py | parampavar/fastapi | 4e77737a3f7bf2608132ea170e9ff013b5af6732 | [
"MIT"
] | 2 | 2020-07-17T21:33:28.000Z | 2020-07-17T21:33:38.000Z | tests/test_tutorial/test_settings/test_app02.py | parampavar/fastapi | 4e77737a3f7bf2608132ea170e9ff013b5af6732 | [
"MIT"
] | 1 | 2021-07-24T15:25:13.000Z | 2021-07-24T15:25:13.000Z | tests/test_tutorial/test_settings/test_app02.py | parampavar/fastapi | 4e77737a3f7bf2608132ea170e9ff013b5af6732 | [
"MIT"
] | 1 | 2020-04-19T17:43:43.000Z | 2020-04-19T17:43:43.000Z | from fastapi.testclient import TestClient
from settings.app02 import main, test_main
client = TestClient(main.app)
def test_setting_override():
test_main.test_app()
| 17.3 | 42 | 0.791908 | 24 | 173 | 5.5 | 0.541667 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.132948 | 173 | 9 | 43 | 19.222222 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f3f7a4179b554aabf2e22bdaac01ec61e68b68d | 192 | py | Python | challenges/2020/19-monsterMessages/python/partOne.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 9 | 2020-12-06T23:18:30.000Z | 2021-12-19T22:31:26.000Z | challenges/2020/19-monsterMessages/python/partOne.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | null | null | null | challenges/2020/19-monsterMessages/python/partOne.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 3 | 2020-12-08T09:45:44.000Z | 2020-12-15T19:20:20.000Z | from common import *
import re
def partOne(instr: str) -> int:
rules, messages = parse(instr)
rule_regex = re.compile(make_ruleset_regex(rules))
return run(messages, rule_regex)
| 21.333333 | 54 | 0.713542 | 27 | 192 | 4.925926 | 0.703704 | 0.135338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182292 | 192 | 8 | 55 | 24 | 0.847134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3f57751b32845ff9a7c18dd2dfbde89e5a38e8c2 | 145 | py | Python | meteo/db/engine.py | bpptkg/bpptkg-meteo | 8b554c58ffa5bc41377e8bdde7434abaaae49c27 | [
"MIT"
] | null | null | null | meteo/db/engine.py | bpptkg/bpptkg-meteo | 8b554c58ffa5bc41377e8bdde7434abaaae49c27 | [
"MIT"
] | 2 | 2021-11-22T03:42:28.000Z | 2022-01-13T09:26:06.000Z | meteo/db/engine.py | bpptkg/bpptkg-meteo | 8b554c58ffa5bc41377e8bdde7434abaaae49c27 | [
"MIT"
] | null | null | null | def prepare(base_class, engine):
"""
Reflect base class to current database engine.
"""
base_class.prepare(engine, reflect=True)
| 24.166667 | 50 | 0.682759 | 18 | 145 | 5.388889 | 0.555556 | 0.278351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 145 | 5 | 51 | 29 | 0.843478 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3f6efe1f991880527e3683966ca7f0ce6cd60c4b | 27 | py | Python | import_export/__init__.py | arpesanif/django-import-export | 0bfe9c79a6825c1246bc79d0d7903b2e9bcb179f | [
"BSD-2-Clause"
] | null | null | null | import_export/__init__.py | arpesanif/django-import-export | 0bfe9c79a6825c1246bc79d0d7903b2e9bcb179f | [
"BSD-2-Clause"
] | null | null | null | import_export/__init__.py | arpesanif/django-import-export | 0bfe9c79a6825c1246bc79d0d7903b2e9bcb179f | [
"BSD-2-Clause"
] | null | null | null | __version__ = '2.7.1.dev0'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
58cc237098b520ea246387f9622dae98c37e6a71 | 177 | py | Python | diversity_filters/diversity_filter_parameters.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | diversity_filters/diversity_filter_parameters.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | diversity_filters/diversity_filter_parameters.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | from dataclasses import dataclass
@dataclass
class DiversityFilterParameters:
name: str
minscore: float = 0.4
bucket_size: int = 25
minsimilarity: float = 0.4
| 17.7 | 33 | 0.717514 | 21 | 177 | 6 | 0.809524 | 0.095238 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.220339 | 177 | 9 | 34 | 19.666667 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
58e68ead61afc8f64764972b7c4077c171239611 | 87 | py | Python | docarray/__init__.py | delgermurun/docarray | 7a868d3b37744ba9618912657198fc5b29532f06 | [
"Apache-2.0"
] | null | null | null | docarray/__init__.py | delgermurun/docarray | 7a868d3b37744ba9618912657198fc5b29532f06 | [
"Apache-2.0"
] | null | null | null | docarray/__init__.py | delgermurun/docarray | 7a868d3b37744ba9618912657198fc5b29532f06 | [
"Apache-2.0"
] | null | null | null | __version__ = '0.4.4'
from .document import Document
from .array import DocumentArray
| 17.4 | 32 | 0.781609 | 12 | 87 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.137931 | 87 | 4 | 33 | 21.75 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
45012263e47c153a5c9d9f7a0deabca424471151 | 1,747 | py | Python | tests/elf/test_section_header.py | drazisil/dasm-python | 571f1a030de92a4626b77f9ead76d60dc91efe25 | [
"Apache-2.0"
] | 1 | 2021-08-14T12:07:19.000Z | 2021-08-14T12:07:19.000Z | tests/elf/test_section_header.py | drazisil/dasm-python | 571f1a030de92a4626b77f9ead76d60dc91efe25 | [
"Apache-2.0"
] | null | null | null | tests/elf/test_section_header.py | drazisil/dasm-python | 571f1a030de92a4626b77f9ead76d60dc91efe25 | [
"Apache-2.0"
] | null | null | null | from dasm.elf.section_header import parse_section_header, get_sh_type
def test_parse_section_header():
bytes = (b'\x01\x02\x03\x04\x05\x02\x07\x03'
+ b'\x09\x0A\x0B\x0c\x0d\x0e\x0f'
+ b'\x10\x11\x12\x03\x00\x15\x15'
+ b'\x15\x15\x15\x15\x15\x15\x15'
+ b'\x15\x15... | 33.596154 | 69 | 0.626216 | 273 | 1,747 | 3.714286 | 0.304029 | 0.218935 | 0.266272 | 0.284024 | 0.319527 | 0.209073 | 0.136095 | 0.136095 | 0.136095 | 0.136095 | 0 | 0.125848 | 0.240412 | 1,747 | 51 | 70 | 34.254902 | 0.638282 | 0 | 0 | 0.340426 | 0 | 0 | 0.258729 | 0.146537 | 0 | 0 | 0 | 0 | 0.531915 | 1 | 0.042553 | false | 0 | 0.021277 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
189e64943b599e54c1ff2a9c62a26dff22ec1c15 | 69 | py | Python | EduNLP/SIF/parser/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 18 | 2021-02-15T13:10:42.000Z | 2022-03-17T12:57:34.000Z | EduNLP/SIF/parser/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 81 | 2021-06-02T07:45:20.000Z | 2022-03-29T15:21:32.000Z | EduNLP/SIF/parser/__init__.py | karin0018/EduNLP | 172c36a2cd2c41a1f1c5833d7b1abcbc5e3bbd5f | [
"Apache-2.0"
] | 29 | 2021-05-18T08:34:58.000Z | 2022-03-12T00:19:09.000Z | # coding: utf-8
# 2021/6/02 @ fannazya
from .parser import (Parser)
| 13.8 | 28 | 0.681159 | 11 | 69 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 0.173913 | 69 | 4 | 29 | 17.25 | 0.684211 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
18ec27a6ce6c2507f1b26f174d181afd45507904 | 360 | py | Python | SimTracker/TrackerMaterialAnalysis/python/trackingMaterialAnalyser_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimTracker/TrackerMaterialAnalysis/python/trackingMaterialAnalyser_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimTracker/TrackerMaterialAnalysis/python/trackingMaterialAnalyser_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# Define arbitrary tracker material groups
from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
from SimTracker.TrackerMaterialAnalysis.trackingMaterialGroups_cff import *
# Analyze and plot the tracking material
from SimTracker.TrackerMaterialAnalysi... | 40 | 78 | 0.877778 | 35 | 360 | 8.942857 | 0.742857 | 0.057508 | 0.236422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086111 | 360 | 8 | 79 | 45 | 0.951368 | 0.219444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
18f1f071bf35c87367b1382fd3e2e1d765bb3112 | 149 | py | Python | Mundo 1_Fundamentos/Desafio_14.py | VictorOliveira02/Desafios-Python3-Curso-em-Video | 53ee8bd814b816f3a21936677ef3f155b582843f | [
"MIT"
] | null | null | null | Mundo 1_Fundamentos/Desafio_14.py | VictorOliveira02/Desafios-Python3-Curso-em-Video | 53ee8bd814b816f3a21936677ef3f155b582843f | [
"MIT"
] | null | null | null | Mundo 1_Fundamentos/Desafio_14.py | VictorOliveira02/Desafios-Python3-Curso-em-Video | 53ee8bd814b816f3a21936677ef3f155b582843f | [
"MIT"
] | null | null | null | c = float(input('Digite a temperatura em Celsius: '))
f = (c * 1.8) + 32
print(f'A temperatura de {c} Grau Celsius em fahrenheit equivale a {f}F')
| 24.833333 | 73 | 0.66443 | 27 | 149 | 3.666667 | 0.62963 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.187919 | 149 | 5 | 74 | 29.8 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.644295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18fab4f103b78b7acaa645dd1abb0f7fe1286ea9 | 569 | py | Python | python/Alura/data science/pandas/selecao_tuplas.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | python/Alura/data science/pandas/selecao_tuplas.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | python/Alura/data science/pandas/selecao_tuplas.py | alifoliveira/rep-estudos | 73ffb7cfe77890f6cca8b5447db332f88454ef7e | [
"MIT"
] | null | null | null | # seleção simples
nome_carros = tuple(['Jetta Variant', 'Passat', 'Crossfox', 'DS5'])
print(nome_carros[0]) # selecionando indice 0
print(nome_carros[1]) # selecionando indice 1
print(nome_carros[-1]) # selecionando indice -1 (ultimo)
print(nome_carros[1:3]) # slice do indice 1 ao 3-1(2)
# seleção interna
nome_c... | 37.933333 | 85 | 0.699473 | 87 | 569 | 4.425287 | 0.321839 | 0.233766 | 0.272727 | 0.124675 | 0.532468 | 0.337662 | 0.337662 | 0.155844 | 0 | 0 | 0 | 0.050813 | 0.135325 | 569 | 14 | 86 | 40.642857 | 0.731707 | 0.369069 | 0 | 0 | 0 | 0 | 0.200573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0 | 0 | 0 | 0.777778 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
e130896161fc8761918afa77c9338bf8e1a1a2fa | 50 | py | Python | shop/admin.py | PeterTP/Keysight-Spectrum-Analyzer | 20be5b82bff69b2fb37a97ded16f355d4f31e4c8 | [
"Apache-2.0"
] | null | null | null | shop/admin.py | PeterTP/Keysight-Spectrum-Analyzer | 20be5b82bff69b2fb37a97ded16f355d4f31e4c8 | [
"Apache-2.0"
] | null | null | null | shop/admin.py | PeterTP/Keysight-Spectrum-Analyzer | 20be5b82bff69b2fb37a97ded16f355d4f31e4c8 | [
"Apache-2.0"
] | null | null | null | # shop/admin.py
from django.contrib import admin
| 12.5 | 32 | 0.78 | 8 | 50 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 3 | 33 | 16.666667 | 0.906977 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e13488a40921e9ca215989812adc5f510ede01d5 | 138 | py | Python | ucwallet/udfs/__init__.py | UlordChain/Ulord-Sidechain-SDK-py- | c3c56da1bbae0dca453da869b9cfaa11e0b437d4 | [
"MIT"
] | 17 | 2018-08-20T12:30:23.000Z | 2019-08-01T18:27:42.000Z | ucwallet/udfs/__init__.py | UlordChain/Ulord-Sidechain-SDK-py- | c3c56da1bbae0dca453da869b9cfaa11e0b437d4 | [
"MIT"
] | 1 | 2021-06-01T22:23:55.000Z | 2021-06-01T22:23:55.000Z | ucwallet/udfs/__init__.py | UlordChain/Ulord-Sidechain-SDK-py- | c3c56da1bbae0dca453da869b9cfaa11e0b437d4 | [
"MIT"
] | 1 | 2019-01-02T01:03:11.000Z | 2019-01-02T01:03:11.000Z | # coding=utf-8
# Copyright (c) 2016-2018 The Ulord Core Developers
# @File : __init__.py
# @Author: Ulord_PuJi
# @Date : 2018/5/19 0019
| 23 | 51 | 0.688406 | 22 | 138 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0.173913 | 138 | 5 | 52 | 27.6 | 0.614035 | 0.92029 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e19de2c782a1df578b9e42edcfbfca9c51e7a8bb | 91 | py | Python | src/oscar/apps/dashboard/partners/__init__.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 68 | 2016-11-06T05:07:57.000Z | 2021-12-17T09:17:38.000Z | src/oscar/apps/dashboard/partners/__init__.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 10 | 2020-05-11T20:33:31.000Z | 2022-03-12T00:24:28.000Z | src/oscar/apps/dashboard/partners/__init__.py | akiyoko/oscar_sandbox | b384f1c0b5f297fd4b84509a575f6766a48630a5 | [
"BSD-3-Clause"
] | 28 | 2016-12-04T07:12:50.000Z | 2021-02-06T21:13:15.000Z | default_app_config = (
'oscar.apps.dashboard.partners.config.PartnersDashboardConfig')
| 30.333333 | 67 | 0.802198 | 9 | 91 | 7.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 68 | 45.5 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.659341 | 0.659341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e1b9e6a05915e6ae50ea276947bdb55ac43cf549 | 410 | py | Python | ScriptRunner/exceptions.py | mag-id/ScriptRunner | cb45e52e0f35c50a305da2c36e176b65d1836ffc | [
"MIT"
] | null | null | null | ScriptRunner/exceptions.py | mag-id/ScriptRunner | cb45e52e0f35c50a305da2c36e176b65d1836ffc | [
"MIT"
] | 1 | 2021-01-24T23:22:53.000Z | 2021-01-24T23:24:04.000Z | ScriptRunner/exceptions.py | mag-id/ScriptRunner | cb45e52e0f35c50a305da2c36e176b65d1836ffc | [
"MIT"
] | null | null | null | """ScriptRunner custom exceptions."""
class ScriptRunnerException(BaseException):
"""Base ScriptRunner exception."""
class FailuresException(ScriptRunnerException):
"""Failures parent exception."""
class StopKeywordFailures(FailuresException):
"""ScriptRunner `"stop"` keyword exception."""
class Unk... | 22.777778 | 50 | 0.756098 | 29 | 410 | 10.689655 | 0.551724 | 0.135484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119512 | 410 | 17 | 51 | 24.117647 | 0.858726 | 0.409756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
bed3510eb0c4584c747cc472f46f221d8441689a | 89 | py | Python | coreAPI/apps.py | agriev/DjangoPostGISCanvas | 17b149a60ab9a8c59c653e920c89f4feeb1f5e43 | [
"MIT"
] | null | null | null | coreAPI/apps.py | agriev/DjangoPostGISCanvas | 17b149a60ab9a8c59c653e920c89f4feeb1f5e43 | [
"MIT"
] | null | null | null | coreAPI/apps.py | agriev/DjangoPostGISCanvas | 17b149a60ab9a8c59c653e920c89f4feeb1f5e43 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CoreapiConfig(AppConfig):
name = 'coreAPI'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bed51edddb3df88d9425aabc23811bb6fa97f483 | 89 | py | Python | compute/apps.py | pockemon/Loan-emi-calculator | 18086183cccf043133d34070ace07eccb7a0aae1 | [
"Apache-2.0"
] | null | null | null | compute/apps.py | pockemon/Loan-emi-calculator | 18086183cccf043133d34070ace07eccb7a0aae1 | [
"Apache-2.0"
] | 3 | 2021-03-10T20:35:07.000Z | 2021-03-30T14:05:30.000Z | backend/compute/apps.py | FrederikBanke/map-granted-applications | efa9d9d2ab4dda4d5982c929e7dedbbb956cf674 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ComputeConfig(AppConfig):
name = 'compute'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
831abb0a96d1bba177a01fe981f02bd30a68cce9 | 121 | py | Python | acmicpc/14753.py | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/14753.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/14753.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | input()
l = [*map(int, input().split())]
l.sort()
print(max(l[0]*l[1], l[0]*l[1]*l[-1], l[-1]*l[-2]*l[-3], l[-1]*l[-2]))
| 24.2 | 70 | 0.454545 | 30 | 121 | 1.833333 | 0.4 | 0.181818 | 0.272727 | 0.145455 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 0.082645 | 121 | 4 | 71 | 30.25 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 1 | null | 0 | 1 | 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 | 4 |
83419c45c9dbc51f726b588b0ea849d33d2ea524 | 72 | py | Python | chat_test.py | Nalin-2005/The2020CoderBot | f4521e488dc7963cb16140b737d2dd25f4ff30c2 | [
"MIT"
] | 4 | 2021-04-28T04:07:20.000Z | 2021-06-12T12:36:47.000Z | chat_test.py | NrdyBhu1/The2020CoderBot | ef3f9c79d6ba1c5755be49e5ec7aa85072a28a8a | [
"MIT"
] | 2 | 2021-06-14T06:47:10.000Z | 2021-06-15T14:10:14.000Z | chat_test.py | NrdyBhu1/The2020CoderBot | ef3f9c79d6ba1c5755be49e5ec7aa85072a28a8a | [
"MIT"
] | 1 | 2021-06-12T12:29:19.000Z | 2021-06-12T12:29:19.000Z | from ext.chat import predict
while True:
print(predict(input(">> "))) | 18 | 30 | 0.694444 | 10 | 72 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 72 | 4 | 30 | 18 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
834602b2c098809ea21e567b6ae8990bfd3f3f17 | 213 | py | Python | todclean/use_cases/task/checker.py | marioidival/todclean | 75be8ccdaaa443ebdeb6a7ef270cd92eb693afe4 | [
"MIT"
] | null | null | null | todclean/use_cases/task/checker.py | marioidival/todclean | 75be8ccdaaa443ebdeb6a7ef270cd92eb693afe4 | [
"MIT"
] | null | null | null | todclean/use_cases/task/checker.py | marioidival/todclean | 75be8ccdaaa443ebdeb6a7ef270cd92eb693afe4 | [
"MIT"
] | null | null | null | from todclean import repo_manager as manager
class TaskCheck:
def __init__(self):
self.repository = manager('task')
def check_task(self, task_id):
return self.repository.check(task_id)
| 19.363636 | 45 | 0.699531 | 28 | 213 | 5.035714 | 0.571429 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215962 | 213 | 10 | 46 | 21.3 | 0.844311 | 0 | 0 | 0 | 0 | 0 | 0.018779 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
83689931b9ba77fc3225a7845eaaf77a38af9aca | 243 | py | Python | python-flask/wordcount/hello_world/__init__.py | getconvey/interview-boilerplates | 236ffdc3e421a9a6e39a382a39512c809fc9104d | [
"MIT"
] | null | null | null | python-flask/wordcount/hello_world/__init__.py | getconvey/interview-boilerplates | 236ffdc3e421a9a6e39a382a39512c809fc9104d | [
"MIT"
] | 31 | 2020-03-12T18:11:15.000Z | 2022-03-01T17:55:32.000Z | python-flask/wordcount/hello_world/__init__.py | getconvey/interview-boilerplates | 236ffdc3e421a9a6e39a382a39512c809fc9104d | [
"MIT"
] | 5 | 2019-05-23T19:16:11.000Z | 2021-08-16T16:38:52.000Z | from flask import Blueprint, current_app, jsonify
from typing import Any
hello_world = Blueprint('hello_world', __name__)
@hello_world.route("/helloworld")
def reply() -> Any:
return jsonify({"text": current_app.config['HELLO_WORLD']})
| 24.3 | 63 | 0.748971 | 32 | 243 | 5.375 | 0.59375 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119342 | 243 | 9 | 64 | 27 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0.152263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
55f8405835e0c62209c4bab8a29f6542c8f94b11 | 105 | py | Python | meiduo_mall/meiduo_mall/__init__.py | yy12950906/meiduo_project | e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29 | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/__init__.py | yy12950906/meiduo_project | e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29 | [
"MIT"
] | null | null | null | meiduo_mall/meiduo_mall/__init__.py | yy12950906/meiduo_project | e49f9a784cfb2f35ff0cae6b947ce2eb178d7c29 | [
"MIT"
] | null | null | null | import pymysql
pymysql.install_as_MySQLdb() # 因为MySQLdb只适用于Python2.x的版本,Python3.x的版本中使用PyMySQL替代MySQLdb | 35 | 89 | 0.87619 | 10 | 105 | 9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.057143 | 105 | 3 | 89 | 35 | 0.888889 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
361727b962e031de1b50da6bc9423275a3848b41 | 593 | py | Python | jetavator_databricks_client/jetavator_databricks_client/config/DatabricksConfig.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | jetavator_databricks_client/jetavator_databricks_client/config/DatabricksConfig.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | jetavator_databricks_client/jetavator_databricks_client/config/DatabricksConfig.py | jetavator/jetavator_databricks | 719c934b6391f6f41ca34b4d4df8c697c1a25283 | [
"Apache-2.0"
] | null | null | null | from typing import List
from jetavator.config import ComputeServiceConfig
import wysdom
DatabricksLibraryConfig = wysdom.SchemaDict(wysdom.SchemaAnything())
class DatabricksConfig(ComputeServiceConfig):
type: str = wysdom.UserProperty(wysdom.SchemaConst('remote_databricks'))
host: str = wysdom.UserProperty... | 32.944444 | 76 | 0.772344 | 58 | 593 | 7.844828 | 0.465517 | 0.237363 | 0.230769 | 0.210989 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131535 | 593 | 17 | 77 | 34.882353 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0.028668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
362261a572573073e702bb379793470816186c93 | 68 | py | Python | subcommander/__init__.py | 7tupel/subcommander | 54f6bf6bccc4344dacb6434b479f502be649cef6 | [
"Apache-2.0"
] | null | null | null | subcommander/__init__.py | 7tupel/subcommander | 54f6bf6bccc4344dacb6434b479f502be649cef6 | [
"Apache-2.0"
] | null | null | null | subcommander/__init__.py | 7tupel/subcommander | 54f6bf6bccc4344dacb6434b479f502be649cef6 | [
"Apache-2.0"
] | null | null | null | from .command import Command
from .subcommander import Subcommander
| 22.666667 | 38 | 0.852941 | 8 | 68 | 7.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 39 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
363f985fa741f05813e5faac6614b568c468def9 | 298 | py | Python | component/speed.py | ywchiao/shot | 4b7c55bdcca44d05e07fffa59fe4e23364032cb5 | [
"MIT"
] | null | null | null | component/speed.py | ywchiao/shot | 4b7c55bdcca44d05e07fffa59fe4e23364032cb5 | [
"MIT"
] | null | null | null | component/speed.py | ywchiao/shot | 4b7c55bdcca44d05e07fffa59fe4e23364032cb5 | [
"MIT"
] | 1 | 2020-03-27T02:07:27.000Z | 2020-03-27T02:07:27.000Z |
class Speed:
def __init__(self):
self._cache = {}
def get_value(self, entity):
value = 0
if entity in self._cache:
value = self._cache[entity]
return value
def update(self, entity, value):
self._cache[entity] = value
# speed.py
| 16.555556 | 39 | 0.560403 | 36 | 298 | 4.388889 | 0.416667 | 0.227848 | 0.189873 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005076 | 0.338926 | 298 | 17 | 40 | 17.529412 | 0.796954 | 0.026846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
36415eca57e8fe4d8cef834832800eb07a6bfb7d | 18,593 | py | Python | pykinect_azure/k4arecord/_k4arecord.py | necoxt/pyKinectAzure | 1e1fa845bd8299b7534a647f12ca0b49c5bc57d4 | [
"MIT"
] | 170 | 2020-06-29T05:37:49.000Z | 2022-03-30T01:09:16.000Z | pykinect_azure/k4arecord/_k4arecord.py | necoxt/pyKinectAzure | 1e1fa845bd8299b7534a647f12ca0b49c5bc57d4 | [
"MIT"
] | 49 | 2020-06-29T06:30:58.000Z | 2022-03-31T04:04:35.000Z | pykinect_azure/k4arecord/_k4arecord.py | necoxt/pyKinectAzure | 1e1fa845bd8299b7534a647f12ca0b49c5bc57d4 | [
"MIT"
] | 52 | 2020-06-29T11:15:03.000Z | 2022-03-24T08:53:24.000Z | import ctypes
import sys
import traceback
from ._k4arecordTypes import *
from ..k4a._k4atypes import *
record_dll = None
def setup_library(module_k4arecord_path):
global record_dll
try:
record_dll = ctypes.CDLL(module_k4arecord_path)
except Exception as e:
print("Failed to load library", e)
sys.exit(1)
d... | 43.441589 | 122 | 0.81251 | 2,638 | 18,593 | 5.062926 | 0.041319 | 0.211665 | 0.110063 | 0.059898 | 0.911575 | 0.839997 | 0.750674 | 0.623839 | 0.504268 | 0.395927 | 0 | 0.026705 | 0.123918 | 18,593 | 427 | 123 | 43.543326 | 0.793235 | 0.451191 | 0 | 0.130045 | 0 | 0 | 0.001627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156951 | false | 0 | 0.022422 | 0 | 0.318386 | 0.013453 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 4 |
3645db9d7372b70149e5e8eba4a66effadb89d6a | 124 | py | Python | Views/shortcuts/get_object_or_404/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Views/shortcuts/get_object_or_404/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | Views/shortcuts/get_object_or_404/models.py | looking-for-a-job/django-examples | dfafa450668cac5c0351f6c7238b8886511229bf | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
from django.db import models
class Model(models.Model):
title = models.CharField(max_length=30)
| 17.714286 | 43 | 0.741935 | 19 | 124 | 4.789474 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.137097 | 124 | 6 | 44 | 20.666667 | 0.831776 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36608193628f3b138f6ce69b9e83ed0377864c1b | 157 | py | Python | example/ex5.py | stotubalina/lab.2.13 | 80f60f26486073c9523fa8da9e9fa5071ca341f5 | [
"MIT"
] | null | null | null | example/ex5.py | stotubalina/lab.2.13 | 80f60f26486073c9523fa8da9e9fa5071ca341f5 | [
"MIT"
] | null | null | null | example/ex5.py | stotubalina/lab.2.13 | 80f60f26486073c9523fa8da9e9fa5071ca341f5 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
from math import *
if __name__ == '__main__':
print(cos(pi))
print(sin(pi))
print(factorial(2))
| 17.444444 | 26 | 0.592357 | 22 | 157 | 3.863636 | 0.863636 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.203822 | 157 | 8 | 27 | 19.625 | 0.656 | 0.280255 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
36a7c4f7823c3799f4c570261a0f26d9beea792c | 286 | py | Python | towerdefense/engine/map.py | nurrix/LexTowerDefense | 40b9c29cd7c0c6f150b18562995f6c15eb43435d | [
"Apache-2.0"
] | null | null | null | towerdefense/engine/map.py | nurrix/LexTowerDefense | 40b9c29cd7c0c6f150b18562995f6c15eb43435d | [
"Apache-2.0"
] | null | null | null | towerdefense/engine/map.py | nurrix/LexTowerDefense | 40b9c29cd7c0c6f150b18562995f6c15eb43435d | [
"Apache-2.0"
] | null | null | null | import tkinter as tk
from abc import ABC
import towerdefense.engine.engine as engine
class Map(ABC):
def __init__(self):
pass
def update(self):
""" Update game object. """
def paint(self, canvas: tk.Canvas):
""" Paint game object. """ | 20.428571 | 43 | 0.597902 | 36 | 286 | 4.638889 | 0.527778 | 0.107784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293706 | 286 | 14 | 44 | 20.428571 | 0.826733 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
36bc541b66cd5fcb7119de5ee7cab9808e3d1774 | 2,822 | py | Python | backend/polzyFunctions/ConnectionFactory.py | Athos1972/PoLZy | 794eb152cfa2ad3d02c1c5110bd106b7486ff615 | [
"MIT"
] | null | null | null | backend/polzyFunctions/ConnectionFactory.py | Athos1972/PoLZy | 794eb152cfa2ad3d02c1c5110bd106b7486ff615 | [
"MIT"
] | 4 | 2020-12-30T11:01:08.000Z | 2021-06-29T15:41:23.000Z | backend/polzyFunctions/ConnectionFactory.py | Athos1972/PoLZy | 794eb152cfa2ad3d02c1c5110bd106b7486ff615 | [
"MIT"
] | null | null | null | from requests import Session
from dataclasses import dataclass
from polzyFunctions.GlobalSystemConstants import GlobalSystemConstants
globalSystemConstants = GlobalSystemConstants()
@dataclass
class BackendSystemConnectorClasses():
backendDict = {}
class SessionBuffer(object):
# This class must be a single... | 32.068182 | 116 | 0.658044 | 297 | 2,822 | 6.077441 | 0.468013 | 0.058172 | 0.024377 | 0.018837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2764 | 2,822 | 87 | 117 | 32.436782 | 0.883937 | 0.57158 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0.08 | 0.12 | 0.12 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
36be8cbb0e46dca2b0fed13e62322ea5aa017538 | 141 | py | Python | fastapi_crudrouter/core/utils.py | agallant/fastapi-crudrouter | 99321b9b98146b3a3dc2c6d230b25311dc81e25e | [
"MIT"
] | null | null | null | fastapi_crudrouter/core/utils.py | agallant/fastapi-crudrouter | 99321b9b98146b3a3dc2c6d230b25311dc81e25e | [
"MIT"
] | null | null | null | fastapi_crudrouter/core/utils.py | agallant/fastapi-crudrouter | 99321b9b98146b3a3dc2c6d230b25311dc81e25e | [
"MIT"
] | null | null | null | def get_pk_type(schema, pk_field) -> type:
try:
return schema.__fields__[pk_field].type_
except KeyError:
return int
| 23.5 | 48 | 0.659574 | 19 | 141 | 4.421053 | 0.631579 | 0.166667 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 141 | 5 | 49 | 28.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
36c48f8233004d32dbb5d12369252a2065ae8ce3 | 63 | py | Python | beantools/teardrops/__init__.py | beanjs-kicad/beantools | 3fa82ba92ba97d7aac80ee6898f3168596498a56 | [
"MIT"
] | 9 | 2021-06-19T11:14:18.000Z | 2021-11-16T09:33:25.000Z | beantools/teardrops/__init__.py | beanjs-kicad/beantools | 3fa82ba92ba97d7aac80ee6898f3168596498a56 | [
"MIT"
] | 4 | 2021-09-30T10:07:04.000Z | 2022-03-31T10:44:24.000Z | beantools/teardrops/__init__.py | beanjs-kicad/beantools | 3fa82ba92ba97d7aac80ee6898f3168596498a56 | [
"MIT"
] | 2 | 2021-10-06T19:46:45.000Z | 2022-03-31T12:45:03.000Z | from .plugin import TeardropPlugin
TeardropPlugin().register() | 21 | 34 | 0.825397 | 6 | 63 | 8.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 63 | 3 | 35 | 21 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
36c4ddea46ac26671a2343940fa860690c5d9139 | 141 | py | Python | functions_example.py/sibling_folder/file_D.py | Tommy3121173/tommy | 429aefb377f84a1d49e85f825a32ac2c160ebc85 | [
"MIT"
] | null | null | null | functions_example.py/sibling_folder/file_D.py | Tommy3121173/tommy | 429aefb377f84a1d49e85f825a32ac2c160ebc85 | [
"MIT"
] | null | null | null | functions_example.py/sibling_folder/file_D.py | Tommy3121173/tommy | 429aefb377f84a1d49e85f825a32ac2c160ebc85 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed May 23 14:55:00 2018
@author: tommy_mizuki
"""
import sys
sys.path.append('../')
import file_B
| 11.75 | 35 | 0.631206 | 23 | 141 | 3.782609 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.170213 | 141 | 11 | 36 | 12.818182 | 0.632479 | 0.574468 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36ce7ea99bf50012b3e233414401b64cfe0ff9d6 | 95 | py | Python | django_sourcebook/sourcebook/apps.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | django_sourcebook/sourcebook/apps.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | django_sourcebook/sourcebook/apps.py | maxblee/django_sourcebook | f90ca62cfe43c875a485f783ca1a06be40d9bbc5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SourcebookConfig(AppConfig):
name = "sourcebook"
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
36f675600a81cb37446c1aafd724ff2c2b40c6ff | 66 | py | Python | tests/utils/__init__.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 32 | 2019-10-06T19:59:44.000Z | 2022-02-09T02:18:37.000Z | tests/utils/__init__.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 7 | 2019-12-16T22:17:23.000Z | 2021-12-13T18:34:33.000Z | tests/utils/__init__.py | Nikolay-Lysenko/rl-musician | 559be64fbbe19fd82c591ddd4208c6327c3dfa57 | [
"MIT"
] | 7 | 2019-11-10T04:55:43.000Z | 2021-07-10T19:14:11.000Z | """
Test `rlmusician.utils` package.
Author: Nikolay Lysenko
"""
| 11 | 32 | 0.69697 | 7 | 66 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 5 | 33 | 13.2 | 0.807018 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7ffc0202cec9e5ab02bd01401aa0b08478b196ef | 184 | py | Python | test/wsgi_flask_test.py | prprprus/viola | 63cce05f8b393f6166278d9361823ca1a3544545 | [
"MIT"
] | 6 | 2019-02-12T16:22:15.000Z | 2020-05-30T11:14:51.000Z | test/wsgi_flask_test.py | hsxhr-10/viola | 63cce05f8b393f6166278d9361823ca1a3544545 | [
"MIT"
] | 1 | 2019-02-19T06:22:04.000Z | 2019-02-23T04:47:38.000Z | test/wsgi_flask_test.py | hsxhr-10/viola | 63cce05f8b393f6166278d9361823ca1a3544545 | [
"MIT"
] | 1 | 2019-02-19T06:15:00.000Z | 2019-02-19T06:15:00.000Z | from flask import Flask, render_template
# from flask import request
app = Flask(__name__)
@app.route('/')
def hello_world():
return render_template("hello.tpl", name="tiger")
| 16.727273 | 53 | 0.722826 | 25 | 184 | 5.04 | 0.6 | 0.142857 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146739 | 184 | 10 | 54 | 18.4 | 0.802548 | 0.13587 | 0 | 0 | 0 | 0 | 0.095541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3d0282eadf6c40b67b20b09eb6c9eb3da82602cf | 12,503 | py | Python | model_sparse_bert_hf.py | playing-code/fairseq2 | ac97b18c0aecca9eb36146492a1e95e521cb345a | [
"MIT"
] | null | null | null | model_sparse_bert_hf.py | playing-code/fairseq2 | ac97b18c0aecca9eb36146492a1e95e521cb345a | [
"MIT"
] | null | null | null | model_sparse_bert_hf.py | playing-code/fairseq2 | ac97b18c0aecca9eb36146492a1e95e521cb345a | [
"MIT"
] | null | null | null | import torch
from torch import nn
# import torch_blocksparse as tbs
# from deepscale.pt.deepscale_constants import ROUTE_TRAIN
# import types
# from base.base_model import BaseModel
# from models.bert.masked_lm_loss import MaskedLMLoss
#from models.bert.modeling_bert import BertOnlyMLMHead, BertModel
from transformers.... | 37.659639 | 175 | 0.639447 | 1,749 | 12,503 | 4.305317 | 0.126358 | 0.051129 | 0.073041 | 0.026029 | 0.765073 | 0.730279 | 0.721647 | 0.70239 | 0.682603 | 0.673838 | 0 | 0.041327 | 0.235543 | 12,503 | 331 | 176 | 37.773414 | 0.746495 | 0.247061 | 0 | 0.556818 | 0 | 0 | 0.039578 | 0.010755 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.022727 | false | 0 | 0.0625 | 0 | 0.107955 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3d3883150d9541ca4b7584d12d3cd0e6d92b76c7 | 361 | py | Python | commands/leaderboards.py | Dabomstew/goldenrod | 36c4f9e5321788779840371b09a78cc6b26b38b1 | [
"MIT"
] | 2 | 2015-05-20T00:42:03.000Z | 2015-05-23T04:18:42.000Z | commands/leaderboards.py | Dabomstew/goldenrod | 36c4f9e5321788779840371b09a78cc6b26b38b1 | [
"MIT"
] | null | null | null | commands/leaderboards.py | Dabomstew/goldenrod | 36c4f9e5321788779840371b09a78cc6b26b38b1 | [
"MIT"
] | null | null | null | # coding=utf-8
import random
import time
import goldenrod, config
def execute(parser, bot, user, args):
bot.sendInfoMessage("leaderboards", user, "For more detailed leaderboards go here - http://twitchbot.dabomstew.com/goldenrod/leaderboards.php")
def requiredPerm():
return "anyone"
de... | 24.066667 | 148 | 0.695291 | 41 | 361 | 6.121951 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.204986 | 361 | 14 | 149 | 25.785714 | 0.87108 | 0.033241 | 0 | 0 | 0 | 0 | 0.349398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
3d39ce3a564de6d32433112bbcf131e6f03b9068 | 196 | py | Python | docs/source/plots/logical_systems/dombi_with_p_0_dot_1.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | docs/source/plots/logical_systems/dombi_with_p_0_dot_1.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | docs/source/plots/logical_systems/dombi_with_p_0_dot_1.py | Parowicz/Yvain | e6caba0ef0c5bd030250a4ab67381aff4d653ba6 | [
"Apache-2.0"
] | null | null | null | from docs.source.plots.logical_systems.draw_logic import draw_system
from yvain.logical_systems import Dombi
if __name__ == '__main__':
draw_system(Dombi(0.1), "Dombi system with $p = 0.1$")
| 32.666667 | 68 | 0.765306 | 31 | 196 | 4.419355 | 0.612903 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.122449 | 196 | 5 | 69 | 39.2 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3d5faea45d847105024b917262a74bfcd2547c15 | 404 | py | Python | kiekie/middleware/cors.py | walterl/kiekie-server | 30fad74e007d6331d4107d354571477bed0537d2 | [
"MIT"
] | null | null | null | kiekie/middleware/cors.py | walterl/kiekie-server | 30fad74e007d6331d4107d354571477bed0537d2 | [
"MIT"
] | null | null | null | kiekie/middleware/cors.py | walterl/kiekie-server | 30fad74e007d6331d4107d354571477bed0537d2 | [
"MIT"
] | null | null | null | from corsheaders.middleware import CorsMiddleware
from django.utils.deprecation import MiddlewareMixin
class UpgradedCorsMiddleware(MiddlewareMixin, CorsMiddleware):
"""
Middleware changed in Django 1.10, so this class with the
``MiddlewareMixin`` is now necessary.
:seealso:
https://docs.djan... | 28.857143 | 91 | 0.75 | 44 | 404 | 6.886364 | 0.727273 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.160891 | 404 | 13 | 92 | 31.076923 | 0.876106 | 0.480198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3d629bd77859ddf5f404cda55c7d1392a99dab24 | 139 | py | Python | breeze/backend/accounts/models.py | fmdzimin13/Breeze | 10603b3828ce196eb6b97d63e386e06bd33029a4 | [
"MIT"
] | null | null | null | breeze/backend/accounts/models.py | fmdzimin13/Breeze | 10603b3828ce196eb6b97d63e386e06bd33029a4 | [
"MIT"
] | null | null | null | breeze/backend/accounts/models.py | fmdzimin13/Breeze | 10603b3828ce196eb6b97d63e386e06bd33029a4 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
class User(AbstractUser):
token = models.TextField() | 23.166667 | 51 | 0.791367 | 18 | 139 | 6.111111 | 0.666667 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129496 | 139 | 6 | 52 | 23.166667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e9f5b33fb51fd39fb1501be1833bb2040a84da2b | 453 | py | Python | coalescence/exception.py | sterfield/coalescence | e9b1a786fc7cd42785afca50a1ee3a3c67cccca7 | [
"MIT"
] | null | null | null | coalescence/exception.py | sterfield/coalescence | e9b1a786fc7cd42785afca50a1ee3a3c67cccca7 | [
"MIT"
] | null | null | null | coalescence/exception.py | sterfield/coalescence | e9b1a786fc7cd42785afca50a1ee3a3c67cccca7 | [
"MIT"
] | null | null | null |
class CoalescenceException(Exception):
def __init__(self, msg=''):
self.msg = msg
class NoSuchSourceException(CoalescenceException):
pass
class NotAnElementException(CoalescenceException):
pass
class NotAValueException(CoalescenceException):
pass
class NoValueException(CoalescenceExceptio... | 18.875 | 51 | 0.779249 | 34 | 453 | 10.264706 | 0.411765 | 0.412607 | 0.415473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154525 | 453 | 24 | 52 | 18.875 | 0.911227 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.4 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
181cd59b3cc07de091518a8746ae035e850f8ebf | 2,935 | py | Python | generator/scripts/lextab.py | daewoong-jang/androidjnipp | 0b87adb4c80ea817bceceb54a42e82e14f6d9bb6 | [
"BSD-3-Clause"
] | 10 | 2016-12-08T16:48:34.000Z | 2021-09-06T15:01:19.000Z | generator/scripts/lextab.py | daewoong-jang/androidjnipp | 0b87adb4c80ea817bceceb54a42e82e14f6d9bb6 | [
"BSD-3-Clause"
] | null | null | null | generator/scripts/lextab.py | daewoong-jang/androidjnipp | 0b87adb4c80ea817bceceb54a42e82e14f6d9bb6 | [
"BSD-3-Clause"
] | 6 | 2016-12-06T13:06:11.000Z | 2021-09-07T02:15:21.000Z | # lextab.py. This file automatically created by PLY (version 3.4). Don't edit!
_tabversion = '3.4'
_lextokens = {'DO': 1, 'REMAINDER_ASSIGN': 1, 'RSHIFT': 1, 'SYNCHRONIZED': 1, 'GTEQ': 1, 'MINUS_ASSIGN': 1, 'OR_ASSIGN': 1, 'VOID': 1, 'STRING_LITERAL': 1, 'ABSTRACT': 1, 'CHAR': 1, 'LSHIFT_ASSIGN': 1, 'WHILE': 1, 'S... | 293.5 | 1,523 | 0.57138 | 427 | 2,935 | 3.709602 | 0.283372 | 0.039141 | 0.055556 | 0.012626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035768 | 0.09506 | 2,935 | 9 | 1,524 | 326.111111 | 0.560617 | 0.025894 | 0 | 0 | 0 | 0.25 | 0.587329 | 0.273014 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
18302010bbec67f854b19d2d121973d6cca2bbbc | 66 | py | Python | src/core/distancematrix/__init__.py | wei200/intelli-trip-planner | dbeb7829497731f32b59547cc69dcb90dbf80794 | [
"BSD-3-Clause"
] | 3 | 2020-05-02T11:51:49.000Z | 2020-05-09T14:46:43.000Z | src/core/distancematrix/__init__.py | wei200/intelli-trip-planner | dbeb7829497731f32b59547cc69dcb90dbf80794 | [
"BSD-3-Clause"
] | 344 | 2020-06-10T02:37:32.000Z | 2022-03-31T00:12:33.000Z | src/core/distancematrix/__init__.py | dongskyler/RouteOptimization | 06dd2d002692fb35ba8af75a60c1c8df2aa64a3d | [
"BSD-3-Clause"
] | 4 | 2020-05-02T18:07:49.000Z | 2020-05-31T11:35:09.000Z | """
Get and manipulate distance matrices from Google Maps API
"""
| 16.5 | 57 | 0.742424 | 9 | 66 | 5.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 3 | 58 | 22 | 0.890909 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
184388b14fe6c4d1081dec28ade94743c5e20741 | 52 | py | Python | src/foursquare_swarm_ical/__main__.py | liskin/foursquare-swarm-ical | 2497f496f6430059c2cc5fc13be0ce4aeaa643e6 | [
"MIT"
] | 6 | 2021-03-20T07:32:05.000Z | 2022-03-13T00:22:54.000Z | src/foursquare_swarm_ical/__main__.py | liskin/foursquare-swarm-ical | 2497f496f6430059c2cc5fc13be0ce4aeaa643e6 | [
"MIT"
] | null | null | null | src/foursquare_swarm_ical/__main__.py | liskin/foursquare-swarm-ical | 2497f496f6430059c2cc5fc13be0ce4aeaa643e6 | [
"MIT"
] | 1 | 2022-03-13T00:21:39.000Z | 2022-03-13T00:21:39.000Z | from foursquare_swarm_ical.main import main
main()
| 13 | 43 | 0.826923 | 8 | 52 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 3 | 44 | 17.333333 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
184b51794453bd8462d75ad272836b0f30feb6d9 | 59 | py | Python | problem/01000~09999/01252/1252.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01252/1252.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01252/1252.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | a,b=[int(i,2) for i in input().split()]
print(bin(a+b)[2:]) | 29.5 | 39 | 0.576271 | 15 | 59 | 2.266667 | 0.733333 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.084746 | 59 | 2 | 40 | 29.5 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
185ee4264430b2f615dfc9500e637734b28fea7a | 50 | py | Python | custom_components/hive/switch.py | rjenx/HomeAssistant_Public | 97701f4b8b41beefd87350149f347704fe51df0b | [
"MIT"
] | null | null | null | custom_components/hive/switch.py | rjenx/HomeAssistant_Public | 97701f4b8b41beefd87350149f347704fe51df0b | [
"MIT"
] | null | null | null | custom_components/hive/switch.py | rjenx/HomeAssistant_Public | 97701f4b8b41beefd87350149f347704fe51df0b | [
"MIT"
] | null | null | null | from homeassistant.components.hive.switch import * | 50 | 50 | 0.86 | 6 | 50 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 1 | 50 | 50 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
186d4171adbb49fa2bca577340d9322cc150a238 | 145 | py | Python | api/serializers.py | mkeller3/django_celery_redis | 193e550644ef79b5f12d51aa8866c20f1a7a2a3a | [
"Apache-2.0"
] | null | null | null | api/serializers.py | mkeller3/django_celery_redis | 193e550644ef79b5f12d51aa8866c20f1a7a2a3a | [
"Apache-2.0"
] | null | null | null | api/serializers.py | mkeller3/django_celery_redis | 193e550644ef79b5f12d51aa8866c20f1a7a2a3a | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import *
class taskSerializer(serializers.Serializer):
task_id = serializers.CharField() | 29 | 45 | 0.813793 | 16 | 145 | 7.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 145 | 5 | 46 | 29 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1876f90433b82dc1312d2eeaceac50e780eea60e | 900 | py | Python | wepy/resampling/distances/randomwalk.py | fabian-paul/wepy | 3a470f364a5ffbefcdb5d17a12cd08d90f4944e4 | [
"MIT"
] | null | null | null | wepy/resampling/distances/randomwalk.py | fabian-paul/wepy | 3a470f364a5ffbefcdb5d17a12cd08d90f4944e4 | [
"MIT"
] | null | null | null | wepy/resampling/distances/randomwalk.py | fabian-paul/wepy | 3a470f364a5ffbefcdb5d17a12cd08d90f4944e4 | [
"MIT"
] | null | null | null | """
This module here is part of RandomWalk object that implements computing
distance between pairs of positions of RandomWalk walkers.
"""
import numpy as np
from wepy.resampling.distances.distance import Distance
class RandomWalkDistance(Distance):
"""
Computes the distance between pairs of positions and r... | 26.470588 | 82 | 0.691111 | 119 | 900 | 5.12605 | 0.512605 | 0.072131 | 0.065574 | 0.072131 | 0.101639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242222 | 900 | 33 | 83 | 27.272727 | 0.894428 | 0.543333 | 0 | 0 | 0 | 0 | 0.026946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.222222 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
a113e0bd2a0b1f7ed0916b842ea1b2d543fa5399 | 74 | py | Python | src/InstPyr/MyDevices/helpers.py | soodsidd/instpyr | 138d0a8164dc388187fde58329b9ff770af77af4 | [
"MIT"
] | null | null | null | src/InstPyr/MyDevices/helpers.py | soodsidd/instpyr | 138d0a8164dc388187fde58329b9ff770af77af4 | [
"MIT"
] | null | null | null | src/InstPyr/MyDevices/helpers.py | soodsidd/instpyr | 138d0a8164dc388187fde58329b9ff770af77af4 | [
"MIT"
] | null | null | null | from dataclasses import dataclass,fields
@dataclass
class Sensor:
pass | 14.8 | 40 | 0.810811 | 9 | 74 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 5 | 41 | 14.8 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a12648775682d874b9b4dd999713691642fa5bf7 | 65 | py | Python | userbot/config.py | TAMILVIP007/javes-3.0 | d9238785fa2d79740bbb526aca92455dbccb3838 | [
"MIT"
] | 1 | 2021-05-06T18:30:50.000Z | 2021-05-06T18:30:50.000Z | userbot/config.py | hellboi-atul/javes-3.0 | 8777d482bd1ee877a96332a2cd84d880c151fa43 | [
"MIT"
] | null | null | null | userbot/config.py | hellboi-atul/javes-3.0 | 8777d482bd1ee877a96332a2cd84d880c151fa43 | [
"MIT"
] | null | null | null | from userbot.javes_main.heroku_var import config
Config = config
| 21.666667 | 48 | 0.846154 | 10 | 65 | 5.3 | 0.8 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 49 | 32.5 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a155b5e4cfcbb29e0ce942f23f4ebfd994f7e92f | 377 | py | Python | numba/cuda/initialize.py | luk-f-a/numba | 3a682bd827e416335e3574bc7b10f0ec69adb701 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 3 | 2017-08-11T13:05:44.000Z | 2021-08-10T07:47:13.000Z | numba/cuda/initialize.py | luk-f-a/numba | 3a682bd827e416335e3574bc7b10f0ec69adb701 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | numba/cuda/initialize.py | luk-f-a/numba | 3a682bd827e416335e3574bc7b10f0ec69adb701 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2021-01-31T18:58:54.000Z | 2021-01-31T18:58:54.000Z | def init_jit():
from numba.cuda.compiler import Dispatcher
return Dispatcher
def initialize_all():
# Import models to register them with the data model manager
import numba.cuda.models # noqa: F401
from numba.core.registry import dispatcher_registry
dispatcher_registry.ondemand['gpu'] = init... | 29 | 64 | 0.748011 | 49 | 377 | 5.612245 | 0.55102 | 0.076364 | 0.189091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.180371 | 377 | 12 | 65 | 31.416667 | 0.880259 | 0.183024 | 0 | 0 | 0 | 0 | 0.022951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a188882f4befae3b8e008f7a1615a212f3f2cc40 | 73 | py | Python | example/__init__.py | Tunnel-vision/LambdaLog | b68e67b14f0c9afd0497495ae43354f4dc28e034 | [
"MIT"
] | 1 | 2020-01-01T07:29:51.000Z | 2020-01-01T07:29:51.000Z | example/__init__.py | Tunnel-vision/LambdaLog | b68e67b14f0c9afd0497495ae43354f4dc28e034 | [
"MIT"
] | null | null | null | example/__init__.py | Tunnel-vision/LambdaLog | b68e67b14f0c9afd0497495ae43354f4dc28e034 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
__author__ = '10029'
__time__ = '2019/12/31 10:10' | 24.333333 | 29 | 0.616438 | 11 | 73 | 3.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.136986 | 73 | 3 | 29 | 24.333333 | 0.301587 | 0.273973 | 0 | 0 | 0 | 0 | 0.403846 | 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 | 1 | 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 | 4 |
a1c282d5dd5726c07e2ea6e7a03d9bca6b9a2b0f | 27 | py | Python | mkdocs/__init__.py | samhatfield/mkdocs | 4948ef9a3a4fb0b3f17f6037ffa9c9062821d2ee | [
"BSD-2-Clause"
] | null | null | null | mkdocs/__init__.py | samhatfield/mkdocs | 4948ef9a3a4fb0b3f17f6037ffa9c9062821d2ee | [
"BSD-2-Clause"
] | 1 | 2022-02-17T04:10:43.000Z | 2022-02-17T04:10:43.000Z | mkdocs/__init__.py | samhatfield/mkdocs | 4948ef9a3a4fb0b3f17f6037ffa9c9062821d2ee | [
"BSD-2-Clause"
] | null | null | null | __version__ = '0.14.0.dev'
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a1f08e85d361108fc0afd6c10be549fcba931c6f | 63,870 | py | Python | my_server/dist/ba_root/mods/BsTextOnMap.py | FireFighter1027/ba_1.6 | 8e0460c4d7228102726578fb4acd4ff081e12fc3 | [
"MIT"
] | 6 | 2021-04-16T14:25:25.000Z | 2021-11-18T17:20:19.000Z | my_server/dist/ba_root/mods/BsTextOnMap.py | FireFighter1027/ba_1.6 | 8e0460c4d7228102726578fb4acd4ff081e12fc3 | [
"MIT"
] | 1 | 2021-08-30T10:09:06.000Z | 2021-09-21T10:44:15.000Z | my_server/dist/ba_root/mods/BsTextOnMap.py | FireFighter1027/ba_1.6 | 8e0460c4d7228102726578fb4acd4ff081e12fc3 | [
"MIT"
] | 2 | 2021-04-20T15:39:27.000Z | 2021-07-18T08:45:56.000Z | texts = []
#texts = ["\ue00cPlay 2 Games to Get Registered\ue00c", "Only Top 5 Players of this server can only use custom Tag\n Create a profile with '/tag<space>' as prefix\n Ex : '/tag MyCustomTag'", "\ue046DO NOT ASK FOR ADMINSHIP\ue046", "Visit eoni.ml website or join Discord @ \nhttp://discord.io/EoniOfficial \ngr... | 39.646182 | 338 | 0.499327 | 6,017 | 63,870 | 5.125312 | 0.097889 | 0.085606 | 0.064204 | 0.057784 | 0.754013 | 0.737054 | 0.711275 | 0.697429 | 0.676773 | 0.661046 | 0 | 0.023662 | 0.376029 | 63,870 | 1,611 | 339 | 39.646183 | 0.750157 | 0.037655 | 0 | 0.724187 | 0 | 0.005658 | 0.206399 | 0.045577 | 0 | 0 | 0 | 0.000621 | 0 | 1 | 0.052334 | false | 0 | 0.016266 | 0.01273 | 0.133663 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b810bfed0938840d1cd44df291b50dfd3b37e391 | 139 | py | Python | opwen_email_server/constants/sync.py | kulado/mailserver | d05c0b2e8d8c97b7b7a08028a9eacd4427a59c4b | [
"Apache-2.0"
] | 15 | 2020-07-06T02:33:15.000Z | 2021-08-09T19:24:11.000Z | opwen_email_server/constants/sync.py | kulado/mailserver | d05c0b2e8d8c97b7b7a08028a9eacd4427a59c4b | [
"Apache-2.0"
] | 298 | 2016-12-24T20:19:56.000Z | 2020-04-29T03:13:21.000Z | opwen_email_server/constants/sync.py | sbathgate/lokole | a4e3fa5da5373880f6783379f7ef8d843e4cc79d | [
"Apache-2.0"
] | 12 | 2017-06-05T12:13:35.000Z | 2020-01-23T03:26:05.000Z | from typing_extensions import Final # noqa: F401
EMAILS_FILE = 'emails.jsonl' # type: Final
USERS_FILE = 'zzusers.jsonl' # type: Final
| 27.8 | 49 | 0.733813 | 19 | 139 | 5.210526 | 0.684211 | 0.181818 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.165468 | 139 | 4 | 50 | 34.75 | 0.827586 | 0.244604 | 0 | 0 | 0 | 0 | 0.247525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b819478ef07b2101e4644905438fce6c362780e1 | 9,921 | py | Python | whatrecord/tests/test_graph.py | klauer/whatrecord | 8d09828d8e1a6024d2036303186e43ebe36c4b34 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-06-16T00:21:57.000Z | 2021-06-16T00:21:57.000Z | whatrecord/tests/test_graph.py | klauer/whatrecord | 8d09828d8e1a6024d2036303186e43ebe36c4b34 | [
"BSD-3-Clause-LBNL"
] | null | null | null | whatrecord/tests/test_graph.py | klauer/whatrecord | 8d09828d8e1a6024d2036303186e43ebe36c4b34 | [
"BSD-3-Clause-LBNL"
] | null | null | null | import pytest
from .. import graph
from ..common import LoadContext, RecordField
from ..db import Database
def create_record_def(record_type):
return f"""
recordtype({record_type}) {{
field(INP, DBF_INLINK) {{
}}
field(OUT, DBF_OUTLINK) {{
}}
field(VAL, DBF_STRING) {{
}}
}}
"""
def crea... | 30.155015 | 99 | 0.503477 | 1,055 | 9,921 | 4.436019 | 0.087204 | 0.070299 | 0.096154 | 0.061538 | 0.808547 | 0.765385 | 0.708974 | 0.69765 | 0.657692 | 0.626496 | 0 | 0.014039 | 0.310755 | 9,921 | 328 | 100 | 30.246951 | 0.670371 | 0.042334 | 0 | 0.549828 | 0 | 0 | 0.222726 | 0.007062 | 0 | 0 | 0 | 0 | 0.072165 | 1 | 0.034364 | false | 0 | 0.013746 | 0.006873 | 0.058419 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b81c24028c8ac589ff7f25c5d4b45ffb78525376 | 479 | py | Python | tests/globals/documents/nested_documents.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 21 | 2021-11-23T13:01:36.000Z | 2022-03-23T03:45:30.000Z | tests/globals/documents/nested_documents.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 217 | 2021-11-23T00:11:01.000Z | 2022-03-30T08:11:49.000Z | tests/globals/documents/nested_documents.py | RelevanceAI/RelevanceAI | a0542f35153d9c842f3d2cd0955d6b07f6dfc07b | [
"Apache-2.0"
] | 4 | 2022-01-04T01:48:30.000Z | 2022-02-11T03:19:32.000Z | import pytest
from typing import List
from tests.globals.constants import NUMBER_OF_DOCUMENTS
from tests.globals.document import complex_nested_document, simple_nested_document
@pytest.fixture(scope="session")
def assorted_nested_documents() -> List:
return [complex_nested_document() for _ in range(NUMBER_OF_D... | 26.611111 | 82 | 0.805846 | 63 | 479 | 5.809524 | 0.380952 | 0.153005 | 0.139344 | 0.136612 | 0.377049 | 0.224044 | 0.224044 | 0.224044 | 0 | 0 | 0 | 0 | 0.10856 | 479 | 17 | 83 | 28.176471 | 0.857143 | 0 | 0 | 0.2 | 0 | 0 | 0.029228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
6299790ee34160be8bd5256bbf20a752cdfd3b37 | 77 | py | Python | acesso_site.py | tobiaspontes/ScriptsPython | 21ed779e49adca500ce5815dd100f4ec999a2571 | [
"MIT"
] | null | null | null | acesso_site.py | tobiaspontes/ScriptsPython | 21ed779e49adca500ce5815dd100f4ec999a2571 | [
"MIT"
] | null | null | null | acesso_site.py | tobiaspontes/ScriptsPython | 21ed779e49adca500ce5815dd100f4ec999a2571 | [
"MIT"
] | null | null | null | import webbrowser
webbrowser.open('https://tobiaspontes.github.io/Viagens/') | 25.666667 | 58 | 0.805195 | 9 | 77 | 6.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 77 | 3 | 58 | 25.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
62a1d5c7ef3f9dec41d69a6444750f87614134b1 | 290 | py | Python | rocksdb/errors.py | HathorNetwork/python-rocksdb | 2d64988e8e1fd73aa8ee86ad35e902c827d63293 | [
"BSD-3-Clause"
] | null | null | null | rocksdb/errors.py | HathorNetwork/python-rocksdb | 2d64988e8e1fd73aa8ee86ad35e902c827d63293 | [
"BSD-3-Clause"
] | null | null | null | rocksdb/errors.py | HathorNetwork/python-rocksdb | 2d64988e8e1fd73aa8ee86ad35e902c827d63293 | [
"BSD-3-Clause"
] | null | null | null | class Error(Exception):
pass
class NotFound(Error):
pass
class Corruption(Error):
pass
class NotSupported(Error):
pass
class InvalidArgument(Error):
pass
class RocksIOError(Error):
pass
class MergeInProgress(Error):
pass
class Incomplete(Error):
pass
| 12.083333 | 29 | 0.7 | 32 | 290 | 6.34375 | 0.34375 | 0.310345 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217241 | 290 | 23 | 30 | 12.608696 | 0.894273 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
62c5790193d0f2b4faa59fc1073c452979303c24 | 49 | py | Python | keras_embed_sim/__init__.py | CyberZHG/keras-embed-sim | 023de628801bc1ff10ee10cbf1b60413eae60eca | [
"MIT"
] | 9 | 2018-12-10T12:01:35.000Z | 2021-03-03T15:38:39.000Z | keras_embed_sim/__init__.py | CyberZHG/keras-embed-sim | 023de628801bc1ff10ee10cbf1b60413eae60eca | [
"MIT"
] | 2 | 2019-02-16T08:21:42.000Z | 2020-07-26T16:37:08.000Z | keras_embed_sim/__init__.py | CyberZHG/keras-embed-sim | 023de628801bc1ff10ee10cbf1b60413eae60eca | [
"MIT"
] | 3 | 2019-02-05T07:44:56.000Z | 2020-02-14T05:03:57.000Z | from .embeddings import *
__version__ = '0.9.0'
| 12.25 | 25 | 0.693878 | 7 | 49 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 3 | 26 | 16.333333 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c5441e2f4e89526a1d43d4948fd604fd23f6d720 | 198 | py | Python | ppy_terminal/sketches_yaco/test_A/test_import.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | 1 | 2022-03-03T19:41:02.000Z | 2022-03-03T19:41:02.000Z | ppy_terminal/sketches_yaco/test_A/test_import.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | null | null | null | ppy_terminal/sketches_yaco/test_A/test_import.py | TechnologyClassroom/generative_art | eb1730d90e438327edaa53375765a9690b968d2b | [
"MIT"
] | null | null | null | def print_something():
print('something')
def get_git_hash(filepath):
import subprocess
return subprocess.check_output(["git", "rev-list", "-1", "--abbrev-commit", "HEAD", filepath]).strip()
| 28.285714 | 104 | 0.70202 | 25 | 198 | 5.4 | 0.76 | 0.207407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.106061 | 198 | 6 | 105 | 33 | 0.757062 | 0 | 0 | 0 | 0 | 0 | 0.207071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c55419e4a132f30629b9eb776b6ebbae91040801 | 38 | py | Python | Problem146.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem146.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | Problem146.py | Cleancode404/ProjectEuler | 2f93b256b107bfb6a395b8aa197cfeacc599b00b | [
"MIT"
] | null | null | null | """
Investigating a Prime Pattern
""" | 12.666667 | 30 | 0.684211 | 4 | 38 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 31 | 12.666667 | 0.8125 | 0.763158 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c56330a2a072bda92482d674aea2c16f266073e9 | 195 | py | Python | utils.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | utils.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | utils.py | jroimartin/androguard_plugins | 1cfb73d7347e1729a8f6ff52e51fd0bfe0081ed2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import string
def str_to_filename(ustr):
safechars = '_' + string.digits + string.ascii_letters
return "".join(x for x in ustr.replace("/","_") if x in safechars)
| 24.375 | 70 | 0.682051 | 29 | 195 | 4.413793 | 0.758621 | 0.046875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 195 | 7 | 71 | 27.857143 | 0.790123 | 0.102564 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3d73f9a9d137eb23cd8fb8bad50753c7803445fb | 316 | py | Python | thinkutils_plus/common/StringBuilder.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | thinkutils_plus/common/StringBuilder.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | thinkutils_plus/common/StringBuilder.py | ThinkmanWang/thinkutils_plus | 65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#coding=utf-8
from cStringIO import StringIO
class StringBuilder:
_file_str = None
def __init__(self):
self._file_str = StringIO()
def append(self, str):
self._file_str.write(str)
def __str__(self):
return self._file_str.getvalue() | 19.75 | 41 | 0.613924 | 39 | 316 | 4.564103 | 0.564103 | 0.157303 | 0.185393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 0.28481 | 316 | 16 | 41 | 19.75 | 0.783186 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 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 | 1 | 1 | 0 | 0 | 4 |
3d86036df107acd7de09b8e15a154072d93fc931 | 48 | py | Python | pufsim/__init__.py | gregschmit/django-pufsim | 5578cdbd2ced5b897868ca6a84217f0843c1269b | [
"MIT"
] | null | null | null | pufsim/__init__.py | gregschmit/django-pufsim | 5578cdbd2ced5b897868ca6a84217f0843c1269b | [
"MIT"
] | null | null | null | pufsim/__init__.py | gregschmit/django-pufsim | 5578cdbd2ced5b897868ca6a84217f0843c1269b | [
"MIT"
] | null | null | null | default_app_config = 'pufsim.apps.CustomConfig'
| 24 | 47 | 0.833333 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3db0b5e924fae1112fbbab0ea8b5762fb54b2696 | 94 | py | Python | django_ops/apps.py | alan404/django-ops | 799128cdc24e98838a7cb88d4dd717a71dd4b85c | [
"Apache-2.0"
] | null | null | null | django_ops/apps.py | alan404/django-ops | 799128cdc24e98838a7cb88d4dd717a71dd4b85c | [
"Apache-2.0"
] | null | null | null | django_ops/apps.py | alan404/django-ops | 799128cdc24e98838a7cb88d4dd717a71dd4b85c | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class DjangoOpsConfig(AppConfig):
name = 'django_ops'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3dbdefa94209cf8fc6e044873121bd2a1dd6495a | 202 | py | Python | yolo/config.py | robsonzagrejr/computer_vision_project | 3caf7bb724058465b1037035dd26e8d3162e7a21 | [
"MIT"
] | null | null | null | yolo/config.py | robsonzagrejr/computer_vision_project | 3caf7bb724058465b1037035dd26e8d3162e7a21 | [
"MIT"
] | null | null | null | yolo/config.py | robsonzagrejr/computer_vision_project | 3caf7bb724058465b1037035dd26e8d3162e7a21 | [
"MIT"
] | null | null | null | coco_file = 'yolo/darknet/coco.names'
yolo_cfg_file = 'yolo/darknet/yolov3-tiny.cfg'
yolo_weights_file = 'yolo/darknet/yolov3-tiny.weights'
img_size = (320,320)
conf_threshold = 0.5
nms_threshold = 0.3 | 28.857143 | 54 | 0.772277 | 34 | 202 | 4.352941 | 0.529412 | 0.162162 | 0.304054 | 0.283784 | 0.337838 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.089109 | 202 | 7 | 55 | 28.857143 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0.408867 | 0.408867 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3dd15d494701e2b295c4edd9e99921f126b72de4 | 110 | py | Python | nhl/raw/stats/enumerations.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | nhl/raw/stats/enumerations.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | nhl/raw/stats/enumerations.py | devinsba/py-nhl | d6f560d9a43cd2b7183ba465e03ee7871365814c | [
"Apache-2.0"
] | null | null | null | # Includes:
# Game Types
# Game Status
# Play Types
# Standings Types
# Stats Types
# Event Types
| 13.75 | 19 | 0.636364 | 13 | 110 | 5.384615 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 110 | 7 | 20 | 15.714286 | 0.897436 | 0.863636 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3def1b29e37a332d4d958bd4bd88114812ae6bb1 | 119 | py | Python | crawlab/tasks/celery.py | anhilo/crawlab | 363f4bf7a4ccc192a99850998c1bd0fc363832a1 | [
"BSD-3-Clause"
] | 1 | 2019-08-20T14:26:39.000Z | 2019-08-20T14:26:39.000Z | crawlab/tasks/celery.py | anhilo/crawlab | 363f4bf7a4ccc192a99850998c1bd0fc363832a1 | [
"BSD-3-Clause"
] | 9 | 2019-05-24T03:53:09.000Z | 2022-02-26T10:53:48.000Z | crawlab/tasks/celery.py | anhilo/crawlab | 363f4bf7a4ccc192a99850998c1bd0fc363832a1 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T08:12:40.000Z | 2019-11-08T08:12:40.000Z | from celery import Celery
# celery app instance
celery_app = Celery(__name__)
celery_app.config_from_object('config')
| 19.833333 | 39 | 0.815126 | 17 | 119 | 5.235294 | 0.470588 | 0.303371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109244 | 119 | 5 | 40 | 23.8 | 0.839623 | 0.159664 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9a71bbf8372c982b1bfab2518ea48cf8110c10fb | 30 | py | Python | modules/2.79/bpy/types/UserPreferences.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/UserPreferences.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/UserPreferences.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | UserPreferences.view = None
| 7.5 | 27 | 0.766667 | 3 | 30 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 28 | 10 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a77914b283ea4c8bce4e4303f20f579eaa82d19 | 2,466 | py | Python | bank.py | chulpyo/simple-atm-controller | 18bd0243f267a7bbb0226adc927773fcbe040acc | [
"MIT"
] | null | null | null | bank.py | chulpyo/simple-atm-controller | 18bd0243f267a7bbb0226adc927773fcbe040acc | [
"MIT"
] | null | null | null | bank.py | chulpyo/simple-atm-controller | 18bd0243f267a7bbb0226adc927773fcbe040acc | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import List, Dict, Optional
from abc import ABCMeta, abstractmethod
class AbstractBank(metaclass=ABCMeta):
def __init__(self, name: str) -> None:
self.name = name
self.card_numbers = dict()
@abstractmethod
def add_account(
self, card_... | 33.324324 | 90 | 0.58678 | 301 | 2,466 | 4.61794 | 0.149502 | 0.143885 | 0.183453 | 0.164029 | 0.726619 | 0.708633 | 0.699281 | 0.632374 | 0.577698 | 0.520144 | 0 | 0.010083 | 0.316302 | 2,466 | 73 | 91 | 33.780822 | 0.814354 | 0 | 0 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147541 | false | 0.065574 | 0.04918 | 0 | 0.442623 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9a7c0ba9aee433fb27cd8cfaae086ce4f514ddc9 | 47 | py | Python | Flask-todolist-Sqlite3-master/venv/lib/python3.6/bisect.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | null | null | null | Flask-todolist-Sqlite3-master/venv/lib/python3.6/bisect.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | null | null | null | Flask-todolist-Sqlite3-master/venv/lib/python3.6/bisect.py | IncredibleDraco/MyScholar | 272aafa33f7227d1bc0d937d046788cbabede453 | [
"Apache-2.0"
] | 1 | 2019-11-25T10:25:21.000Z | 2019-11-25T10:25:21.000Z | /home/sheldon/anaconda3/lib/python3.6/bisect.py | 47 | 47 | 0.829787 | 8 | 47 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 47 | 1 | 47 | 47 | 0.765957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9aa663dd66eb65dc5504ad9c0809ae33ff35a8db | 69 | py | Python | rec/download_wordnet.py | semodi/arxiv_app | e33e8e1eae96e25cf41d4169dca82d88615e5d08 | [
"BSD-3-Clause"
] | 1 | 2022-02-08T19:55:19.000Z | 2022-02-08T19:55:19.000Z | rec/download_wordnet.py | semodi/paper-scraper | e33e8e1eae96e25cf41d4169dca82d88615e5d08 | [
"BSD-3-Clause"
] | null | null | null | rec/download_wordnet.py | semodi/paper-scraper | e33e8e1eae96e25cf41d4169dca82d88615e5d08 | [
"BSD-3-Clause"
] | null | null | null | import nltk
if __name__ == '__main__':
nltk.download('wordnet')
| 13.8 | 28 | 0.681159 | 8 | 69 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 4 | 29 | 17.25 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9aad2c4d86396aa96863863ce7e7f9a448a93f35 | 845 | py | Python | aiotdlib/api/types/group_call_id.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/types/group_call_id.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/types/group_call_id.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 30.178571 | 83 | 0.4 | 59 | 845 | 5.644068 | 0.661017 | 0.054054 | 0.114114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346746 | 845 | 27 | 84 | 31.296296 | 0.603261 | 0.586982 | 0 | 0 | 1 | 0 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
9ad7243ed045a4290e7c611afefcf5eb50e8ddff | 796 | py | Python | pyminder/python.py | HaydenMacDonald/pyminder | 0717a8b84145ee5bb44f9da9959b26f5d54488ee | [
"MIT"
] | 19 | 2019-09-05T15:28:25.000Z | 2022-03-06T23:37:28.000Z | pyminder/python.py | HaydenMacDonald/pyminder | 0717a8b84145ee5bb44f9da9959b26f5d54488ee | [
"MIT"
] | 8 | 2019-12-15T22:41:32.000Z | 2021-04-20T08:16:45.000Z | pyminder/python.py | HaydenMacDonald/pyminder | 0717a8b84145ee5bb44f9da9959b26f5d54488ee | [
"MIT"
] | 3 | 2019-12-16T13:39:58.000Z | 2021-07-13T05:47:49.000Z | import time
import random
import datetime
import os
class Python:
@staticmethod
def print(*lines):
if not lines:
print('')
for line in lines:
print(line)
@staticmethod
def input(prompt):
return input(prompt)
@staticmethod
def sleep(secs):
... | 18.952381 | 75 | 0.615578 | 96 | 796 | 4.958333 | 0.385417 | 0.220588 | 0.071429 | 0.063025 | 0.067227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281407 | 796 | 41 | 76 | 19.414634 | 0.832168 | 0 | 0 | 0.225806 | 0 | 0 | 0.002513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.129032 | 0.193548 | 0.612903 | 0.096774 | 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 | 1 | 1 | 0 | 0 | 4 |
9adc697a788eaf072c23c9b8f263644ac54f17da | 15,058 | py | Python | angr/engines/pcode/arch/ArchPcode_MIPS_LE_32_default.py | matthewpruett/angr | bfba2af1ea2eb941001339f47a1264a685c60eec | [
"BSD-2-Clause"
] | 6,132 | 2015-08-06T23:24:47.000Z | 2022-03-31T21:49:34.000Z | angr/engines/pcode/arch/ArchPcode_MIPS_LE_32_default.py | matthewpruett/angr | bfba2af1ea2eb941001339f47a1264a685c60eec | [
"BSD-2-Clause"
] | 2,272 | 2015-08-10T08:40:07.000Z | 2022-03-31T23:46:44.000Z | angr/engines/pcode/arch/ArchPcode_MIPS_LE_32_default.py | matthewpruett/angr | bfba2af1ea2eb941001339f47a1264a685c60eec | [
"BSD-2-Clause"
] | 1,155 | 2015-08-06T23:37:39.000Z | 2022-03-31T05:54:11.000Z | ###
### This file was automatically generated
###
from archinfo.arch import register_arch, Endness, Register
from .common import ArchPcode
class ArchPcode_MIPS_LE_32_default(ArchPcode):
name = 'MIPS:LE:32:default'
pcode_arch = 'MIPS:LE:32:default'
description = 'MIPS32 32-bit addresses, little endian, w... | 40.047872 | 83 | 0.554456 | 1,845 | 15,058 | 4.426016 | 0.306775 | 0.218957 | 0.016654 | 0.009184 | 0.010531 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247132 | 0.264776 | 15,058 | 375 | 84 | 40.154667 | 0.490471 | 0.002457 | 0 | 0 | 1 | 0 | 0.199987 | 0 | 0 | 0 | 0.136966 | 0 | 0 | 1 | 0 | false | 0 | 0.00545 | 0 | 0.032698 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9add0e864e8d8e7f68f6524284539a24935e307c | 724 | py | Python | node_exec/table_nodes.py | compix/NodeGraphQt | 511c02aef02a7e16a9f40aa368c2f560bd3bbdff | [
"MIT"
] | null | null | null | node_exec/table_nodes.py | compix/NodeGraphQt | 511c02aef02a7e16a9f40aa368c2f560bd3bbdff | [
"MIT"
] | null | null | null | node_exec/table_nodes.py | compix/NodeGraphQt | 511c02aef02a7e16a9f40aa368c2f560bd3bbdff | [
"MIT"
] | null | null | null | from node_exec.base_nodes import defNode, defInlineNode
TABLE_IDENTIFIER = 'Table'
@defNode(name='Row Values', returnNames=['row values'], identifier=TABLE_IDENTIFIER)
def getRowValues(table, rowIndex):
return table.getRowValues(rowIndex)
@defInlineNode(name='Number Of Columns', returnNames=['value'], identifier... | 38.105263 | 92 | 0.777624 | 83 | 724 | 6.698795 | 0.385542 | 0.134892 | 0.179856 | 0.201439 | 0.23741 | 0.23741 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093923 | 724 | 19 | 93 | 38.105263 | 0.847561 | 0 | 0 | 0 | 0 | 0 | 0.153103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.285714 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9aedf445aec88daa7a1586c072d0fcc239fb7b6d | 60 | py | Python | utils/loss.py | chansoopark98/CSNet-colorization | 071fbd95f58bafb9991720f73b3b51cddd5e234c | [
"MIT"
] | 3 | 2021-11-29T05:30:12.000Z | 2022-01-23T11:06:56.000Z | utils/loss.py | chansoopark98/CSNet-colorization | 071fbd95f58bafb9991720f73b3b51cddd5e234c | [
"MIT"
] | null | null | null | utils/loss.py | chansoopark98/CSNet-colorization | 071fbd95f58bafb9991720f73b3b51cddd5e234c | [
"MIT"
] | null | null | null | import tensorflow as tf
def ssim_loss(y_true, y_pred):
| 15 | 30 | 0.733333 | 11 | 60 | 3.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 4 | 31 | 15 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9afe89b0bcd96642f21e80e15ece0207747e7790 | 1,294 | py | Python | src/systemmanager.py | WinterLicht/Chaos-Projectile | 3fffb788b241b7baa4247c1e630d83a7210ddc2e | [
"CC-BY-4.0"
] | 59 | 2015-03-25T21:29:06.000Z | 2022-01-17T22:48:05.000Z | src/systemmanager.py | WinterLicht/Chaos-Projectile | 3fffb788b241b7baa4247c1e630d83a7210ddc2e | [
"CC-BY-4.0"
] | 11 | 2015-07-07T07:10:42.000Z | 2021-11-21T12:47:42.000Z | src/systemmanager.py | WinterLicht/Chaos-Projectile | 3fffb788b241b7baa4247c1e630d83a7210ddc2e | [
"CC-BY-4.0"
] | 19 | 2015-07-13T06:44:44.000Z | 2022-02-05T03:09:27.000Z | """
.. module:: systemmanager
:Platform: Unix, Windows
:Synopsis: system manager contains all game systems.
"""
import rendersystem
import collisionsystem
import inputsystem
import animationsystem
import combatsystem
import statesystem
import soundsystem
class SystemManager(object):
"""System manager is a ... | 34.972973 | 86 | 0.729521 | 130 | 1,294 | 7.153846 | 0.323077 | 0.141935 | 0.180645 | 0.16129 | 0.245161 | 0.245161 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180835 | 1,294 | 36 | 87 | 35.944444 | 0.877358 | 0.346213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.4375 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9afea5c52e54a880a31bb5169e3b9b5252a54f03 | 976 | py | Python | setup.py | AlexisLeon/read_env | c5784207d880bdb8d1add36e275895f752ba6166 | [
"MIT"
] | null | null | null | setup.py | AlexisLeon/read_env | c5784207d880bdb8d1add36e275895f752ba6166 | [
"MIT"
] | null | null | null | setup.py | AlexisLeon/read_env | c5784207d880bdb8d1add36e275895f752ba6166 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='read_env',
version='1.0',
py_modules=['read_env'],
description='Read .env files for your python project',
author='Alexis Leon',
author_email='alexis.leon@icloud.com',
url='https://github.com/AlexisLeon/read_env',
install_requires=[],
license... | 34.857143 | 70 | 0.614754 | 100 | 976 | 5.93 | 0.56 | 0.256324 | 0.337268 | 0.175379 | 0.091062 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016194 | 0.240779 | 976 | 28 | 71 | 34.857143 | 0.784076 | 0 | 0 | 0 | 0 | 0 | 0.599795 | 0.022518 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.037037 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b127bf3f6b4ad86b3ae7ca3fd5fb8d9e1c2de683 | 370 | py | Python | __init__.py | CCapelini/limpeza-de-alimentos-skill | a97f1fa468c783c0637d37cc400aa490a67df6b3 | [
"Apache-2.0"
] | null | null | null | __init__.py | CCapelini/limpeza-de-alimentos-skill | a97f1fa468c783c0637d37cc400aa490a67df6b3 | [
"Apache-2.0"
] | null | null | null | __init__.py | CCapelini/limpeza-de-alimentos-skill | a97f1fa468c783c0637d37cc400aa490a67df6b3 | [
"Apache-2.0"
] | null | null | null | from mycroft import MycroftSkill, intent_file_handler
class LimpezaDeAlimentos(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('alimentos.de.limpeza.intent')
def handle_alimentos_de_limpeza(self, message):
self.speak_dialog('alimentos.de.limpeza')
def... | 23.125 | 55 | 0.754054 | 41 | 370 | 6.390244 | 0.536585 | 0.125954 | 0.206107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154054 | 370 | 15 | 56 | 24.666667 | 0.837061 | 0 | 0 | 0 | 0 | 0 | 0.127371 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 4 |
b1335a92c378fca669a39091e38a586a48973b93 | 307 | py | Python | Robot.py | rhester5/robot_sim | 9d715911f5ff08c6b325ff71fa8ee51586e6aee8 | [
"MIT"
] | 1 | 2022-02-16T08:50:07.000Z | 2022-02-16T08:50:07.000Z | Robot.py | rhester5/robot_sim | 9d715911f5ff08c6b325ff71fa8ee51586e6aee8 | [
"MIT"
] | null | null | null | Robot.py | rhester5/robot_sim | 9d715911f5ff08c6b325ff71fa8ee51586e6aee8 | [
"MIT"
] | 1 | 2022-02-16T08:50:16.000Z | 2022-02-16T08:50:16.000Z |
import numpy as np
from Polygon import Polygon
class Robot(Polygon):
"""docstring for Robot"""
def __init__(self, pose):
super(Robot, self).__init__(pose)
self.pose = pose
def get_pose(self):
return self.pose
def set_pose(self, pose):
self.pose = pose
if __name__ == '__main__':
main() | 15.35 | 35 | 0.690554 | 45 | 307 | 4.311111 | 0.466667 | 0.206186 | 0.185567 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185668 | 307 | 20 | 36 | 15.35 | 0.776 | 0.061889 | 0 | 0.166667 | 0 | 0 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.083333 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b134c44efd263e19e4279f4e43dd337c6579b4f1 | 110 | py | Python | personal_portfolio/apps.py | js0823/portfolio | 3be6b4731d4ce3376e67bdca5def1dd32c363a17 | [
"MIT"
] | 1 | 2021-08-04T19:44:20.000Z | 2021-08-04T19:44:20.000Z | personal_portfolio/apps.py | js0823/portfolio | 3be6b4731d4ce3376e67bdca5def1dd32c363a17 | [
"MIT"
] | null | null | null | personal_portfolio/apps.py | js0823/portfolio | 3be6b4731d4ce3376e67bdca5def1dd32c363a17 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PersonalPortfolioConfig(AppConfig):
name = 'personal_portfolio'
| 18.333333 | 41 | 0.8 | 11 | 110 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 5 | 42 | 22 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b13c65380ccf8c0d9baa37cacdc35a4f7069975a | 37,191 | py | Python | tfne/visualizer/codeepneat/tfnev_codeepneat_mainwindow_ui.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 121 | 2019-06-27T17:30:52.000Z | 2022-03-24T07:32:42.000Z | tfne/visualizer/codeepneat/tfnev_codeepneat_mainwindow_ui.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 10 | 2021-01-03T19:52:13.000Z | 2022-02-10T00:15:26.000Z | tfne/visualizer/codeepneat/tfnev_codeepneat_mainwindow_ui.py | githealthy18/Tensorflow-Neuroevolution | 15f6e906e8000c64f5c9a60907f53fe835f0b28c | [
"Apache-2.0"
] | 31 | 2019-07-31T10:45:53.000Z | 2022-03-21T08:31:09.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'tfnev_codeepneat_mainwindow_ui.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from Py... | 79.298507 | 124 | 0.787852 | 5,398 | 37,191 | 4.952946 | 0.039644 | 0.070018 | 0.099491 | 0.087522 | 0.880685 | 0.804945 | 0.715552 | 0.600239 | 0.534448 | 0.462373 | 0 | 0.022111 | 0.124439 | 37,191 | 468 | 125 | 79.467949 | 0.798944 | 0.007932 | 0 | 0.030837 | 1 | 0 | 0.081165 | 0.051426 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004405 | false | 0 | 0.002203 | 0 | 0.008811 | 0.037445 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
b15c63cc1f38853136810b336da30d86ce243826 | 50 | py | Python | python/1 - Intro to Python for Data Science/1- Python Basics/2- Any comments.py | Gabriela-Santos/datacamp | f2dd595a39f35ae558411d92aaa97a11398a5bb1 | [
"MIT"
] | null | null | null | python/1 - Intro to Python for Data Science/1- Python Basics/2- Any comments.py | Gabriela-Santos/datacamp | f2dd595a39f35ae558411d92aaa97a11398a5bb1 | [
"MIT"
] | null | null | null | python/1 - Intro to Python for Data Science/1- Python Basics/2- Any comments.py | Gabriela-Santos/datacamp | f2dd595a39f35ae558411d92aaa97a11398a5bb1 | [
"MIT"
] | null | null | null | # Division
print(5 / 8)
# Addition
print(7 + 10)
| 8.333333 | 13 | 0.62 | 8 | 50 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.22 | 50 | 5 | 14 | 10 | 0.666667 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.