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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9281d39b347903a8a190faf60dc6841146943081 | 438 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpv6Neighbors/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpv6Neighbors/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpv6Neighbors/cli/equal/golden_output3_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"interface": {
"GigabitEthernet3.90": {
"interface": "GigabitEthernet3.90",
"neighbors": {
"FE80::5C00:40FF:FEFF:209": {
"age": "22",
"ip": "FE80::5C00:40FF:FEFF:209",
"link_layer_address"... | 27.375 | 59 | 0.392694 | 31 | 438 | 5.419355 | 0.709677 | 0.297619 | 0.321429 | 0.190476 | 0.22619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154167 | 0.452055 | 438 | 15 | 60 | 29.2 | 0.545833 | 0 | 0 | 0 | 0 | 0 | 0.390411 | 0.109589 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
92883432b9224195c409d4078da881d119a331a3 | 319 | py | Python | Chapter1/Statements.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | Chapter1/Statements.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | Chapter1/Statements.py | rabbitism/Beginning-Python-Practice | f34163291db621a38226841aeb59e71b68fae00c | [
"MIT"
] | null | null | null | print("Statements")
print("Statement does something, while expression is something")
2*2 # this is an expression, it will not do anything if not using interactive interpreter.
print(2*2) #this is an statement, it does print
x=3 #this is also an statement, it has no values to print out, but x is already assigned.
| 35.444444 | 91 | 0.755486 | 55 | 319 | 4.381818 | 0.563636 | 0.074689 | 0.049793 | 0.06639 | 0.082988 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018939 | 0.172414 | 319 | 8 | 92 | 39.875 | 0.893939 | 0.639498 | 0 | 0 | 0 | 0 | 0.601852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
929915d0814aaa404e5699aac92b556df2351410 | 788 | py | Python | qutebrowser/fkd/tiparoj-vulpo.py | ebzzry/dotfiles | 0c775392a031c0e24ee7b165f2533a4254eedc78 | [
"CC0-1.0"
] | 30 | 2016-06-17T01:52:37.000Z | 2021-08-20T11:39:30.000Z | qutebrowser/fkd/tiparoj-vulpo.py | ebzzry/dotfiles | 0c775392a031c0e24ee7b165f2533a4254eedc78 | [
"CC0-1.0"
] | null | null | null | qutebrowser/fkd/tiparoj-vulpo.py | ebzzry/dotfiles | 0c775392a031c0e24ee7b165f2533a4254eedc78 | [
"CC0-1.0"
] | 3 | 2019-04-08T13:09:10.000Z | 2019-11-04T12:20:43.000Z | #---------------------------------------------------------------------------------------------------
# Tiparoj
#---------------------------------------------------------------------------------------------------
c.fonts.completion.category = "bold 8pt monospace"
c.fonts.completion.entry = "8pt monospace"
c.fonts.debug... | 41.473684 | 100 | 0.559645 | 87 | 788 | 5.045977 | 0.333333 | 0.191344 | 0.296128 | 0.410023 | 0.400911 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017981 | 0.082487 | 788 | 18 | 101 | 43.777778 | 0.589212 | 0.261421 | 0 | 0 | 0 | 0 | 0.360967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
929ba59dba2549bb8c4a8cfd84759bad83058500 | 249 | py | Python | app/schema.py | totoro0104/fastapi-example | edb197fc0160a72c72f9bd071751fd3e4dae9193 | [
"Apache-2.0"
] | 2 | 2021-05-06T07:51:48.000Z | 2022-01-25T05:50:22.000Z | app/schema.py | totoro0104/fastapi-example | edb197fc0160a72c72f9bd071751fd3e4dae9193 | [
"Apache-2.0"
] | null | null | null | app/schema.py | totoro0104/fastapi-example | edb197fc0160a72c72f9bd071751fd3e4dae9193 | [
"Apache-2.0"
] | null | null | null | from tortoise.contrib.pydantic import pydantic_model_creator, pydantic_queryset_creator
from app.models.models import User
# build `Pydantic Model`
User_Pydantic = pydantic_model_creator(User)
User_Pydantic_List = pydantic_queryset_creator(User)
| 27.666667 | 87 | 0.855422 | 33 | 249 | 6.121212 | 0.393939 | 0.193069 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088353 | 249 | 8 | 88 | 31.125 | 0.889868 | 0.088353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2b913f215c74ee5a10f25590ace6c988d54333ff | 73,364 | py | Python | src/__wallaby_local.py | tyngsboroughrobotics/botball-2019 | d69e1dc75b5dc66f5bce4519f5db15ddbacb0911 | [
"MIT"
] | 1 | 2018-11-20T16:05:01.000Z | 2018-11-20T16:05:01.000Z | src/__wallaby_local.py | tyngsboroughrobotics/botball-2019 | d69e1dc75b5dc66f5bce4519f5db15ddbacb0911 | [
"MIT"
] | null | null | null | src/__wallaby_local.py | tyngsboroughrobotics/botball-2019 | d69e1dc75b5dc66f5bce4519f5db15ddbacb0911 | [
"MIT"
] | 1 | 2019-03-01T14:31:13.000Z | 2019-03-01T14:31:13.000Z | ######################################
# DO NOT USE ON WALLABY #
# USE THE ONE IN /usr/lib/wallaby.py #
# INSTEAD #
######################################
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.2
#
# Do not make changes to this file ... | 35.752437 | 107 | 0.778079 | 9,463 | 73,364 | 5.397548 | 0.044066 | 0.094935 | 0.054251 | 0.022398 | 0.484308 | 0.345576 | 0.284903 | 0.263504 | 0.236936 | 0.220314 | 0 | 0.002307 | 0.131509 | 73,364 | 2,051 | 108 | 35.769868 | 0.799328 | 0.00548 | 0 | 0.178066 | 0 | 0 | 0.01644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245873 | false | 0.021226 | 0.005307 | 0.219929 | 0.614387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2bb80913e59ead10c845183c0a0f85a3b9652c94 | 128 | py | Python | bridgekeeper/__init__.py | edly-io/bridgekeeper | ac2e57bb7716001e6816fc761315944311f8ea82 | [
"MIT"
] | null | null | null | bridgekeeper/__init__.py | edly-io/bridgekeeper | ac2e57bb7716001e6816fc761315944311f8ea82 | [
"MIT"
] | null | null | null | bridgekeeper/__init__.py | edly-io/bridgekeeper | ac2e57bb7716001e6816fc761315944311f8ea82 | [
"MIT"
] | 3 | 2021-03-19T10:01:06.000Z | 2021-04-08T08:08:48.000Z | from .permission_map import PermissionMap
default_app_config = 'bridgekeeper.apps.BridgekeeperConfig'
perms = PermissionMap()
| 21.333333 | 59 | 0.835938 | 13 | 128 | 8 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 128 | 5 | 60 | 25.6 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
2bec12d574b5d559de985da88e54eef05c85204d | 633 | py | Python | basic-calculator-ii/basic-calculator-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | 1 | 2021-06-05T06:26:32.000Z | 2021-06-05T06:26:32.000Z | basic-calculator-ii/basic-calculator-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | null | null | null | basic-calculator-ii/basic-calculator-ii.py | Dongfang1021/Leetcode | 4ecdad3279300720e92eeac683962ebc52c98a12 | [
"MIT"
] | null | null | null | class Solution:
def calculate(self, s: str) -> int:
inner, outer, result, opt = 0, 0, 0, '+'
for c in s+'+':
if c == ' ': continue
if c.isdigit():
inner = 10*inner + int(c)
continue
if opt == '+':
result += outer
... | 31.65 | 48 | 0.375987 | 61 | 633 | 3.901639 | 0.360656 | 0.168067 | 0.189076 | 0.239496 | 0.361345 | 0.361345 | 0.247899 | 0 | 0 | 0 | 0 | 0.018987 | 0.50079 | 633 | 20 | 49 | 31.65 | 0.734177 | 0 | 0 | 0.1 | 0 | 0 | 0.011041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2bf3d1929d66e669db35bc3af0f14a7b80758620 | 225 | py | Python | g2p/evaluation/evaluate.py | kumatheworld/g2p | 7f85ca1b7829c2129a38328db03fb3fe7ad84d5c | [
"MIT"
] | null | null | null | g2p/evaluation/evaluate.py | kumatheworld/g2p | 7f85ca1b7829c2129a38328db03fb3fe7ad84d5c | [
"MIT"
] | null | null | null | g2p/evaluation/evaluate.py | kumatheworld/g2p | 7f85ca1b7829c2129a38328db03fb3fe7ad84d5c | [
"MIT"
] | null | null | null | import numpy as np
from g2p.data import DoubleBets
def mean_score(eval_func, pred, label_seq):
return np.mean([
eval_func(p, DoubleBets.arpabet.unwrap_iseq(l))
for p, l in zip(pred, label_seq.t())
])
| 25 | 55 | 0.675556 | 37 | 225 | 3.945946 | 0.702703 | 0.109589 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00565 | 0.213333 | 225 | 8 | 56 | 28.125 | 0.819209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2bf5dc991a157d63f82fd54dda3da72c2b90cf85 | 676 | py | Python | spark/spark_streaming/src/com/example/handler/kafka.py | jonathansantoscunha/data_engineering | f45c6238b27aca70f3ae25d8a377c790e656d5eb | [
"MIT"
] | null | null | null | spark/spark_streaming/src/com/example/handler/kafka.py | jonathansantoscunha/data_engineering | f45c6238b27aca70f3ae25d8a377c790e656d5eb | [
"MIT"
] | null | null | null | spark/spark_streaming/src/com/example/handler/kafka.py | jonathansantoscunha/data_engineering | f45c6238b27aca70f3ae25d8a377c790e656d5eb | [
"MIT"
] | null | null | null | from pyspark.streaming.kafka import KafkaUtils, KafkaDStream
from com.example.settings.settings import Settings
class KafkaConsumer:
@staticmethod
def get_consumer_properties():
return {
"metadata.broker.list": Settings.kafka["consumer"]["brokers"]
}
@staticmethod
def get_topics():
return ... | 27.04 | 114 | 0.754438 | 75 | 676 | 6.64 | 0.48 | 0.120482 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001721 | 0.140533 | 676 | 24 | 115 | 28.166667 | 0.855422 | 0 | 0 | 0.222222 | 0 | 0 | 0.072485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.166667 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
2bfd688dddce8b72f99dcb23688d845ba6aa77f7 | 347 | py | Python | tests/grooves/test_circular_oval.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | tests/grooves/test_circular_oval.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | tests/grooves/test_circular_oval.py | pyroll-project/pyroll-core | f59094d58c2f7493ddc6345b3afc4700ca259681 | [
"BSD-3-Clause"
] | null | null | null | from numpy import pi, isclose
from pyroll.core import CircularOvalGroove
def test_circular_oval():
g = CircularOvalGroove(depth=5.05, r1=7, r2=33)
assert isclose(g.usable_width, 17.63799973 * 2)
assert isclose(g.alpha1, 29.102618 / 180 * pi)
assert isclose(g.alpha2, 29.102618 / 180 * pi)
assert ... | 26.692308 | 51 | 0.708934 | 53 | 347 | 4.584906 | 0.641509 | 0.213992 | 0.230453 | 0.106996 | 0.222222 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0.189474 | 0.178674 | 347 | 12 | 52 | 28.916667 | 0.663158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a62d3065ac98529d8598a58fbf5c055e012eb16a | 224 | py | Python | jiracmd/cli/__init__.py | rfsantanna/jiracmd | 0fe654c7d8599fb1e1d42f93e3d5cfcbf51e1150 | [
"Apache-2.0"
] | null | null | null | jiracmd/cli/__init__.py | rfsantanna/jiracmd | 0fe654c7d8599fb1e1d42f93e3d5cfcbf51e1150 | [
"Apache-2.0"
] | null | null | null | jiracmd/cli/__init__.py | rfsantanna/jiracmd | 0fe654c7d8599fb1e1d42f93e3d5cfcbf51e1150 | [
"Apache-2.0"
] | null | null | null | import os
import click
from jiracmd.cli.worklog import worklog_cli
from jiracmd.cli.issue import issue_cli
@click.group()
@click.version_option()
def cli():
pass
cli.add_command(worklog_cli)
cli.add_command(issue_cli)
| 17.230769 | 43 | 0.794643 | 36 | 224 | 4.75 | 0.416667 | 0.128655 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111607 | 224 | 12 | 44 | 18.666667 | 0.859296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0.1 | 0.4 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
a64c545e1b1331dcdfe87370a372b47bfb0306d4 | 6,270 | py | Python | pandarallel/dataframe.py | sagarkar10/pandarallel | 48e14a3c9011e8a19440abe0a49192982d485b8e | [
"BSD-3-Clause"
] | null | null | null | pandarallel/dataframe.py | sagarkar10/pandarallel | 48e14a3c9011e8a19440abe0a49192982d485b8e | [
"BSD-3-Clause"
] | null | null | null | pandarallel/dataframe.py | sagarkar10/pandarallel | 48e14a3c9011e8a19440abe0a49192982d485b8e | [
"BSD-3-Clause"
] | null | null | null | from time import time
from ctypes import c_double, c_uint64
from multiprocessing import Manager
import pyarrow.plasma as plasma
import pandas as pd
from pathos.multiprocessing import ProcessingPool
from .utils import (parallel, chunk, ProgressBarsConsole,
ProgressBarsNotebookLab)
REFRESH_PROGRESS_T... | 33 | 78 | 0.558054 | 669 | 6,270 | 4.989537 | 0.150972 | 0.059317 | 0.03595 | 0.022768 | 0.775914 | 0.748951 | 0.724386 | 0.681845 | 0.681845 | 0.658478 | 0 | 0.007754 | 0.36236 | 6,270 | 189 | 79 | 33.174603 | 0.827164 | 0.000159 | 0 | 0.608696 | 0 | 0 | 0.003191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072464 | false | 0 | 0.050725 | 0 | 0.202899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a64eb4b6e954b250e7b4c1095e379e40909c688b | 53 | py | Python | ArkDiscordBot/__init__.py | Jackybeat/ArkDiscordBot | f902d024e6f90540e2d15dc3d1b3f220998ea182 | [
"MIT"
] | 1 | 2018-08-20T14:11:39.000Z | 2018-08-20T14:11:39.000Z | ArkDiscordBot/__init__.py | Jackybeat/ArkDiscordBot | f902d024e6f90540e2d15dc3d1b3f220998ea182 | [
"MIT"
] | 1 | 2018-03-17T19:00:55.000Z | 2018-06-03T14:38:45.000Z | ArkDiscordBot/__init__.py | Jackybeat/ArkDiscordBot | f902d024e6f90540e2d15dc3d1b3f220998ea182 | [
"MIT"
] | 1 | 2018-08-20T14:11:46.000Z | 2018-08-20T14:11:46.000Z | default_app_config = 'ArkDiscordBot.apps.MyAppConfig' | 53 | 53 | 0.867925 | 6 | 53 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 53 | 1 | 53 | 53 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a65ea9139d71a0a8c8f82b4fb5f317b063bc3022 | 511 | py | Python | fms/__init__.py | namtranhoai/lamdong | 6027367fd27caccabc275bd56f871f08aecd7a6e | [
"BSD-3-Clause"
] | null | null | null | fms/__init__.py | namtranhoai/lamdong | 6027367fd27caccabc275bd56f871f08aecd7a6e | [
"BSD-3-Clause"
] | 4 | 2021-03-18T20:49:57.000Z | 2022-03-11T23:26:45.000Z | fms/__init__.py | namtranhoai/lamdong | 6027367fd27caccabc275bd56f871f08aecd7a6e | [
"BSD-3-Clause"
] | 1 | 2018-08-20T08:12:58.000Z | 2018-08-20T08:12:58.000Z | import os
from flask_sqlalchemy import SQLAlchemy
from flask import Flask
_basedir = os.path.abspath(os.path.dirname(__file__))
app = Flask(__name__)
app.config.from_object('fms.settings.local')
from fms.apps.core.views import main_blueprint
app.register_blueprint(main_blueprint)
from fms.apps.users.views import us... | 26.894737 | 62 | 0.823875 | 76 | 511 | 5.25 | 0.407895 | 0.052632 | 0.082707 | 0.218045 | 0.115288 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004246 | 0.078278 | 511 | 18 | 63 | 28.388889 | 0.842887 | 0 | 0 | 0 | 0 | 0 | 0.062745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
a6605dce95e16b49e3df125dba5e365441c86a2c | 654 | py | Python | config.py | jaehobang/cs7643_project | 7ec3d1934fc462ba230bd0615c939e7de00dc10c | [
"Apache-2.0"
] | null | null | null | config.py | jaehobang/cs7643_project | 7ec3d1934fc462ba230bd0615c939e7de00dc10c | [
"Apache-2.0"
] | null | null | null | config.py | jaehobang/cs7643_project | 7ec3d1934fc462ba230bd0615c939e7de00dc10c | [
"Apache-2.0"
] | null | null | null | import os
import torch
eva_dir = os.path.dirname(os.path.abspath(__file__))
device_number = 0 # main gpu
train_device = torch.device('cuda:0')
eval_device = train_device
"""
>>>>>>> 67e8b0c4ba11976cd937d930ad7b49e20cabbf8c
if torch.cuda.device_count() > 1:
train_device = torch.device('cuda:0')
eval_device =... | 23.357143 | 96 | 0.706422 | 90 | 654 | 4.911111 | 0.3 | 0.174208 | 0.230769 | 0.199095 | 0.395928 | 0.395928 | 0.395928 | 0.395928 | 0.395928 | 0.395928 | 0 | 0.051418 | 0.137615 | 654 | 27 | 97 | 24.222222 | 0.73227 | 0.157492 | 0 | 0 | 0 | 0 | 0.035928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a665cb8e342f033bbace455ef2d7eb83d80eaf37 | 443 | py | Python | backend/stock/migrations/0029_auto_20210310_0249.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 1 | 2021-09-30T05:25:08.000Z | 2021-09-30T05:25:08.000Z | backend/stock/migrations/0029_auto_20210310_0249.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 8 | 2021-09-30T05:27:09.000Z | 2021-12-03T23:02:24.000Z | backend/stock/migrations/0029_auto_20210310_0249.py | fengxia41103/stock | 1bba08f77e9038ebdd3905fe734bb51e5fb1bdf1 | [
"MIT"
] | 3 | 2021-09-29T05:11:45.000Z | 2021-10-31T07:26:31.000Z | # Generated by Django 3.1.7 on 2021-03-10 02:49
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('stock', '0028_balancesheet_share_issued'),
]
operations = [
migrations.RemoveField(
model_name='mysector',
name='code',
... | 20.136364 | 52 | 0.571106 | 42 | 443 | 5.904762 | 0.738095 | 0.169355 | 0.209677 | 0.241935 | 0.33871 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0.062914 | 0.318284 | 443 | 21 | 53 | 21.095238 | 0.758278 | 0.10158 | 0 | 0.4 | 1 | 0 | 0.166667 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6672ebda83d745db6842d373dcd12e428405c2c | 459 | py | Python | Python/oddgnome.py | JaredLGillespie/OpenKattis | 71d26883cb5b8a4a1d63a072587de5575d7c29af | [
"MIT"
] | null | null | null | Python/oddgnome.py | JaredLGillespie/OpenKattis | 71d26883cb5b8a4a1d63a072587de5575d7c29af | [
"MIT"
] | null | null | null | Python/oddgnome.py | JaredLGillespie/OpenKattis | 71d26883cb5b8a4a1d63a072587de5575d7c29af | [
"MIT"
] | null | null | null | # https://open.kattis.com/problems/oddgnome
n = int(input())
for _ in range(n):
gnomes = list(map(int, input().split()))[1:]
for i in range(1, len(gnomes) - 1):
if gnomes[i + 1] > gnomes[i - 1]:
if gnomes[i] < gnomes[i - 1] and gnomes[i] < gnomes[i + 1]:
print(i + 1)
... | 30.6 | 71 | 0.470588 | 67 | 459 | 3.208955 | 0.343284 | 0.325581 | 0.223256 | 0.260465 | 0.437209 | 0.437209 | 0.437209 | 0.437209 | 0.437209 | 0.437209 | 0 | 0.037543 | 0.361656 | 459 | 14 | 72 | 32.785714 | 0.696246 | 0.089325 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a66f9013277d183a24351e724441cca520ae1078 | 1,240 | py | Python | format-ci/display.py | nabijaczleweli/format-ci | 779ff474d1f99dfd9997096ef6bf7ac98618c5e3 | [
"MIT"
] | null | null | null | format-ci/display.py | nabijaczleweli/format-ci | 779ff474d1f99dfd9997096ef6bf7ac98618c5e3 | [
"MIT"
] | 1 | 2016-03-19T21:28:08.000Z | 2016-03-22T21:43:49.000Z | format-ci/display.py | nabijaczleweli/format-ci | 779ff474d1f99dfd9997096ef6bf7ac98618c5e3 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from flask import render_template
import os
import data
def cook_projects_html(projects):
return "".join(map(lambda pr: render_template("repo_box.html", repo_owner=pr[0], repo_name=pr[1], repo_passed=pr[2], repo_job_amount=pr[3],
last_job_id=eval(p... | 33.513514 | 141 | 0.684677 | 206 | 1,240 | 3.825243 | 0.291262 | 0.053299 | 0.06599 | 0.072335 | 0.096447 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017958 | 0.146774 | 1,240 | 36 | 142 | 34.444444 | 0.726843 | 0.01371 | 0 | 0 | 0 | 0 | 0.080196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.130435 | 0.130435 | 0.217391 | 0.782609 | 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 | 0 | 0 | 0 | 3 |
a6988eceead95cd142b7950ef3cda7ccee9c2d6d | 347 | py | Python | pyDSlib/ML/NeuralNet/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/NeuralNet/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null | pyDSlib/ML/NeuralNet/__init__.py | jlnerd/JLpy_Utilities | 486fb0ae379d079596d290ba9fc65c9be4d44785 | [
"MIT"
] | null | null | null |
"""
sub-modules/functions/classes for streamlining common neural-net architectures implemented in tensorflow/keras.
"""
from . import Conv2D
from . import Conv2D_AutoEncoder
from . import plot
from . import DenseNet
from . import utils
from . import Bert
from . import RCNN
from ._search import GridSearchCV
from ._sea... | 23.133333 | 111 | 0.798271 | 46 | 347 | 5.913043 | 0.608696 | 0.257353 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.14121 | 347 | 14 | 112 | 24.785714 | 0.90604 | 0.319885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a6a8a214d223738805183ebe46e71d44e2a60c7c | 3,830 | py | Python | tests/test_VcfFilter_GATK.py | igsr/igsr_analysis | 4d9055c3bf4d08e6d089cd7470752fabad264e02 | [
"Apache-2.0"
] | 3 | 2018-04-20T15:04:34.000Z | 2022-03-30T06:36:02.000Z | tests/test_VcfFilter_GATK.py | igsr/igsr_analysis | 4d9055c3bf4d08e6d089cd7470752fabad264e02 | [
"Apache-2.0"
] | 7 | 2019-06-06T09:22:20.000Z | 2021-11-23T17:41:52.000Z | tests/test_VcfFilter_GATK.py | igsr/igsr_analysis | 4d9055c3bf4d08e6d089cd7470752fabad264e02 | [
"Apache-2.0"
] | 5 | 2017-11-02T11:17:35.000Z | 2021-12-11T19:34:09.000Z | import os
import glob
import time
import pytest
from VCF.VCFfilter.GATK import GATK
# test_VcfFilter_GATK.py
@pytest.fixture
def vcf_object(datadir, gatk_folder):
"""Returns a GATK object"""
vcf_file = "{0}/test.vcf.gz".format(datadir)
reference = "{0}/exampleFASTA.fasta".format(datadir)
vcf_object... | 42.555556 | 114 | 0.56188 | 398 | 3,830 | 5.251256 | 0.20603 | 0.111962 | 0.03445 | 0.03445 | 0.763636 | 0.763636 | 0.747847 | 0.686124 | 0.686124 | 0.614833 | 0 | 0.007896 | 0.338642 | 3,830 | 89 | 115 | 43.033708 | 0.817213 | 0.183812 | 0 | 0.54902 | 0 | 0 | 0.124918 | 0.049967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098039 | false | 0 | 0.098039 | 0 | 0.215686 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6b94eaf00298797d3920d386a17e559f34d6931 | 25 | py | Python | mymongolib/__init__.py | furuiyang0715/mymongo | 99e610e36e2264552548b69acfd9de6fdff2739c | [
"Apache-2.0"
] | null | null | null | mymongolib/__init__.py | furuiyang0715/mymongo | 99e610e36e2264552548b69acfd9de6fdff2739c | [
"Apache-2.0"
] | null | null | null | mymongolib/__init__.py | furuiyang0715/mymongo | 99e610e36e2264552548b69acfd9de6fdff2739c | [
"Apache-2.0"
] | null | null | null | __author__ = 'furuiyang'
| 12.5 | 24 | 0.76 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a6eaf401ea010e1fd45ca4499bbea0dfd75b862c | 373 | py | Python | platformen/__init__.py | koaben/helpradar | a61857beda5c1c397fbd8f890217ad92b57f1676 | [
"MIT"
] | null | null | null | platformen/__init__.py | koaben/helpradar | a61857beda5c1c397fbd8f890217ad92b57f1676 | [
"MIT"
] | null | null | null | platformen/__init__.py | koaben/helpradar | a61857beda5c1c397fbd8f890217ad92b57f1676 | [
"MIT"
] | null | null | null | from .heldnodig import HeldNodig
from .nlvoorelkaar import NLvoorElkaar
from .wijamsterdam import WijAmsterdam
from .mensendiewillenhelpen import MensenDieWillenHelpen
from .zorgheldenauto import Zorgheldenauto
from .puurpapendrecht import PuurPapendrecht
from .coronahelpers import CoronaHelpers
from .nijmegenoost impo... | 37.3 | 56 | 0.873995 | 37 | 373 | 8.810811 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099196 | 373 | 9 | 57 | 41.444444 | 0.970238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a6fe755a00a5783914d3d4b3b4016d56c85b4400 | 250 | py | Python | tests/test_stats.py | kennethleungty/StatsAssume | c22dece0d5f4632f03670f0219ec5e985c8c00b2 | [
"MIT"
] | 3 | 2022-03-09T17:17:21.000Z | 2022-03-15T10:31:55.000Z | tests/test_stats.py | kennethleungty/StatsAssume | c22dece0d5f4632f03670f0219ec5e985c8c00b2 | [
"MIT"
] | null | null | null | tests/test_stats.py | kennethleungty/StatsAssume | c22dece0d5f4632f03670f0219ec5e985c8c00b2 | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.abspath(".."))
# from checkassume.datasets import load_data
# def test_stat_breuschpagan():
# var1 = 1
# var2 = 2
# var3 = 3
# assert (var1 + var2) == var3
# def test_stat_durbin()
| 15.625 | 44 | 0.636 | 35 | 250 | 4.4 | 0.685714 | 0.090909 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051813 | 0.228 | 250 | 15 | 45 | 16.666667 | 0.746114 | 0.668 | 0 | 0 | 0 | 0 | 0.026667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4728855a79bfce10d36521e9b8f72ce6b856ff90 | 277 | py | Python | Python/leetcode/FindMinimumInRotatedSortedArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | 2 | 2015-12-02T06:44:01.000Z | 2016-05-04T21:40:54.000Z | Python/leetcode/FindMinimumInRotatedSortedArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | Python/leetcode/FindMinimumInRotatedSortedArray.py | darrencheng0817/AlgorithmLearning | aec1ddd0c51b619c1bae1e05f940d9ed587aa82f | [
"MIT"
] | null | null | null | '''
Created on 1.12.2016
@author: Darren
''''''
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in the array."
'''
| 19.785714 | 76 | 0.635379 | 51 | 277 | 3.45098 | 0.784314 | 0.022727 | 0.034091 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10396 | 0.270758 | 277 | 13 | 77 | 21.307692 | 0.767327 | 0.895307 | 0 | 0.333333 | 0 | 0.166667 | 0.968037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
47289bd6c744dd7fccc3402945aabbba4a9bbc35 | 22,462 | py | Python | examples/test/generated/oss.py | Jumpscale/web | 8e8ec2ce01f3105c7647ee8a0c90af09311cbbeb | [
"Apache-2.0"
] | 1 | 2015-10-26T10:38:32.000Z | 2015-10-26T10:38:32.000Z | examples/test/generated/oss.py | Jumpscale/web | 8e8ec2ce01f3105c7647ee8a0c90af09311cbbeb | [
"Apache-2.0"
] | null | null | null | examples/test/generated/oss.py | Jumpscale/web | 8e8ec2ce01f3105c7647ee8a0c90af09311cbbeb | [
"Apache-2.0"
] | null | null | null | from mongoengine import *
classes=[]
class oss_comment(Document):
comment = StringField(required=True)
time = IntField(required=True,help_text='epoch')
author = IntField(required=True,help_text=' who created comment')
author_name = StringField(required=True,help_text=' who created comment')
id = In... | 54.125301 | 190 | 0.747885 | 2,787 | 22,462 | 5.937926 | 0.108719 | 0.179104 | 0.230709 | 0.106351 | 0.788265 | 0.745725 | 0.699438 | 0.638105 | 0.597559 | 0.576168 | 0 | 0.00145 | 0.140548 | 22,462 | 414 | 191 | 54.256039 | 0.855789 | 0 | 0 | 0.51436 | 0 | 0.002611 | 0.197899 | 0.002404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010444 | 0.002611 | 0 | 0.91906 | 0.013055 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5b2fd4b5d6a59a4f2840f652cd831062001ae03b | 142 | py | Python | trailscraper/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | null | null | null | trailscraper/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | null | null | null | trailscraper/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | null | null | null | """Top-level package for trailscraper."""
__author__ = """Florian Sellmayr"""
__email__ = 'florian.sellmayr@gmail.com'
__version__ = '0.6.5'
| 23.666667 | 41 | 0.711268 | 17 | 142 | 5.235294 | 0.882353 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.105634 | 142 | 5 | 42 | 28.4 | 0.677165 | 0.246479 | 0 | 0 | 0 | 0 | 0.465347 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5b56d68ac42334595e751524647ce916fe95300f | 3,613 | py | Python | ngcccbase/p2ptrade/tests/test_basic.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | 2 | 2021-10-31T19:08:48.000Z | 2021-10-31T19:09:31.000Z | ngcccbase/p2ptrade/tests/test_basic.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | null | null | null | ngcccbase/p2ptrade/tests/test_basic.py | petertodd/ngcccbase | 9e346eebaf4461589e5fdce098c8d0c5793c9461 | [
"MIT"
] | 1 | 2021-10-31T19:10:02.000Z | 2021-10-31T19:10:02.000Z | from ..ewctrl import EWalletController
from ..protocol_objects import MyEOffer, EOffer
from ..agent import EAgent
from ..comm import CommBase
from coloredcoinlib import (SimpleColorValue,
OBColorDefinition, UNCOLORED_MARKER)
import unittest
class MockAddressRecord(object):
def __init... | 31.146552 | 74 | 0.633546 | 422 | 3,613 | 5.208531 | 0.324645 | 0.021838 | 0.020018 | 0.023203 | 0.062784 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01416 | 0.276778 | 3,613 | 115 | 75 | 31.417391 | 0.827019 | 0.097426 | 0 | 0.046512 | 0 | 0 | 0.031663 | 0.006456 | 0 | 0 | 0 | 0 | 0.05814 | 1 | 0.209302 | false | 0.011628 | 0.069767 | 0.104651 | 0.546512 | 0.011628 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5b89a0e4022f3436a4d11478d2c53fd02c40ba90 | 632 | py | Python | test/mp_modbus_server.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 2 | 2022-01-06T02:21:16.000Z | 2022-03-08T07:55:43.000Z | test/mp_modbus_server.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 2 | 2021-12-10T15:56:52.000Z | 2022-02-19T23:45:24.000Z | test/mp_modbus_server.py | eydam-prototyping/mp_modbus | 8007c41dd16e6f71bd27b587628f57f38f27a7e0 | [
"MIT"
] | 3 | 2021-07-30T11:16:55.000Z | 2022-01-05T18:19:55.000Z | import sys
sys.path.append(r"C:\Projekte\01_eydamPrototyping\mp_modbus")
import mp_modbus
srv = mp_modbus.modbus_tcp_server("127.0.0.1", 503, context={
"co":{"startAddr": 1000, "registers": bytearray([0xFF, 0x00, 0x00, 0x00]*5)},
"di":{"startAddr": 1000, "registers": bytearray([0xFF, 0x00, 0x00, 0x00]*5)},
... | 57.454545 | 151 | 0.664557 | 91 | 632 | 4.549451 | 0.505495 | 0.125604 | 0.21256 | 0.299517 | 0.690821 | 0.690821 | 0.690821 | 0.690821 | 0.690821 | 0.458937 | 0 | 0.240942 | 0.126582 | 632 | 11 | 152 | 57.454545 | 0.509058 | 0 | 0 | 0 | 0 | 0 | 0.205371 | 0.064771 | 0 | 0 | 0.252765 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5b89af1533a75e75ed04165432fa9c13feb8e1c5 | 71 | py | Python | test/output/064.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/output/064.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/output/064.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | try:
raise Exception()
except Exception as e:
print("hello", str(e))
| 14.2 | 23 | 0.690141 | 11 | 71 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 4 | 24 | 17.75 | 0.816667 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5ba53affe730c2eb8585463a3d48156ad33ebd1b | 113 | py | Python | lesson 1/p2-concatenation.py | hamburgcodingschool/L2C-1903 | 759c273edb4b2e1685c28f932694f7a5a1e2b0a1 | [
"MIT"
] | null | null | null | lesson 1/p2-concatenation.py | hamburgcodingschool/L2C-1903 | 759c273edb4b2e1685c28f932694f7a5a1e2b0a1 | [
"MIT"
] | null | null | null | lesson 1/p2-concatenation.py | hamburgcodingschool/L2C-1903 | 759c273edb4b2e1685c28f932694f7a5a1e2b0a1 | [
"MIT"
] | null | null | null | # CONCATENATION
firstName = "Helder"
lastName = "Pereira"
fullName = "Helder" + " " + lastName
print(fullName) | 14.125 | 36 | 0.690265 | 10 | 113 | 7.8 | 0.7 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 113 | 8 | 37 | 14.125 | 0.829787 | 0.115044 | 0 | 0 | 0 | 0 | 0.20202 | 0 | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5bb3bf3d46ab2ed878ab08c3842cf751836be8fd | 4,953 | py | Python | sim/tools/data_processor/data_format.py | DengBoCong/text-sim | 2c6c323649aa259a7b3d5c6d3714bd1860114826 | [
"MIT"
] | 21 | 2021-12-24T16:03:57.000Z | 2022-03-31T00:34:14.000Z | sim/tools/data_processor/data_format.py | DengBoCong/text-sim | 2c6c323649aa259a7b3d5c6d3714bd1860114826 | [
"MIT"
] | null | null | null | sim/tools/data_processor/data_format.py | DengBoCong/text-sim | 2c6c323649aa259a7b3d5c6d3714bd1860114826 | [
"MIT"
] | 6 | 2022-03-04T14:19:53.000Z | 2022-03-29T05:58:55.000Z | #! -*- coding: utf-8 -*-
""" Data Format
"""
# Author: DengBoCong <bocongdeng@gmail.com>
#
# License: MIT License
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import csv
import sys
from typing import Any
from typing import NoReturn
class Classification... | 31.547771 | 107 | 0.624874 | 586 | 4,953 | 5.020478 | 0.215017 | 0.048946 | 0.045887 | 0.058124 | 0.513256 | 0.508498 | 0.481985 | 0.481985 | 0.481985 | 0.442556 | 0 | 0.004672 | 0.265294 | 4,953 | 156 | 108 | 31.75 | 0.803792 | 0.182718 | 0 | 0.435897 | 0 | 0 | 0.056594 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217949 | false | 0 | 0.089744 | 0.102564 | 0.512821 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5bc72854ea6b6b537f637d3ca2cc0367edcfec97 | 156 | py | Python | src/bot/face.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | src/bot/face.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | src/bot/face.py | achillesrasquinha/bot | d908892a1026af155c81572ef507c05239b2549a | [
"MIT"
] | null | null | null | from deepface import DeepFace
from bot.base import Object
class FaceRecognizer(Object):
def recognize(self, array):
DeepFace.detectFace(array) | 22.285714 | 34 | 0.75641 | 19 | 156 | 6.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 7 | 34 | 22.285714 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5bc8978e23c2f7793e2de9bac638f9d3cadeab93 | 38 | py | Python | icr2model/__init__.py | nooRok/icr2model | 8cf395f8c6fd72524bac692e4e0d0696bda8aeb1 | [
"MIT"
] | null | null | null | icr2model/__init__.py | nooRok/icr2model | 8cf395f8c6fd72524bac692e4e0d0696bda8aeb1 | [
"MIT"
] | null | null | null | icr2model/__init__.py | nooRok/icr2model | 8cf395f8c6fd72524bac692e4e0d0696bda8aeb1 | [
"MIT"
] | null | null | null | # coding: utf-8
__version__ = '0.3.5'
| 12.666667 | 21 | 0.631579 | 7 | 38 | 2.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.157895 | 38 | 2 | 22 | 19 | 0.5 | 0.342105 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5bedf098082a98dd6017e7295970926280a97b37 | 545 | py | Python | app/utils/FaceMaskDetection/run_detection.py | zhenyit/mask_detection | c381e262118ee06a5f6c3d48ce885972ccde217e | [
"MIT"
] | 1 | 2021-02-21T12:07:04.000Z | 2021-02-21T12:07:04.000Z | app/utils/FaceMaskDetection/run_detection.py | zhenyit/mask_detection | c381e262118ee06a5f6c3d48ce885972ccde217e | [
"MIT"
] | null | null | null | app/utils/FaceMaskDetection/run_detection.py | zhenyit/mask_detection | c381e262118ee06a5f6c3d48ce885972ccde217e | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import cv2, os
from PIL import Image
import numpy as np
from .pytorch_infer import inference
def start(img):
# img = cv2.imread(img_path)
# img = cv2.cvtColor(response, cv2.COLOR_BGR2RGB)
nfaces, nmasks, flag, image_ori, image = inference(img, show_result=True, target_shape=(360,... | 25.952381 | 102 | 0.708257 | 78 | 545 | 4.820513 | 0.551282 | 0.095745 | 0.12766 | 0.167553 | 0.154255 | 0.154255 | 0 | 0 | 0 | 0 | 0 | 0.028322 | 0.157798 | 545 | 21 | 103 | 25.952381 | 0.79085 | 0.456881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5beed9f77330388b3d53293f45784281be048ff2 | 4,972 | py | Python | test/test_pythoscope_generator_builder.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_generator_builder.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_generator_builder.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | import unittest
class TestTemplate(unittest.TestCase):
def test_equal_assertion(self):
# template = Template()
# self.assertEqual(expected, template.equal_assertion(expected, actual))
assert False # TODO: implement your test here
def test_raises_assertion(self):
# template = ... | 41.781513 | 102 | 0.731698 | 559 | 4,972 | 6.280859 | 0.137746 | 0.043862 | 0.144118 | 0.150385 | 0.738251 | 0.688408 | 0.620336 | 0.564227 | 0.463116 | 0.377101 | 0 | 0 | 0.188656 | 4,972 | 118 | 103 | 42.135593 | 0.870352 | 0.491754 | 0 | 0.492063 | 0 | 0 | 0.003235 | 0 | 0 | 0 | 0 | 0.008475 | 0.47619 | 1 | 0.349206 | false | 0 | 0.047619 | 0 | 0.650794 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
750352c0c4ec308176eafd4edfe7e5275a12da69 | 426 | py | Python | tests/integrations/app/models/User.py | yubarajshrestha/masonite-permission | 5807b80a50b94526efbc03f0933d3960087a7e54 | [
"MIT"
] | 4 | 2022-03-15T13:52:37.000Z | 2022-03-17T05:26:54.000Z | tests/integrations/app/models/User.py | yubarajshrestha/masonite-permission | 5807b80a50b94526efbc03f0933d3960087a7e54 | [
"MIT"
] | 2 | 2022-03-15T06:36:59.000Z | 2022-03-15T09:41:47.000Z | tests/integrations/app/models/User.py | yubarajshrestha/masonite-permission | 5807b80a50b94526efbc03f0933d3960087a7e54 | [
"MIT"
] | null | null | null | """User Model."""
from masoniteorm.models import Model
from masoniteorm.scopes import SoftDeletesMixin
from masonite.authentication import Authenticates
from src.masonite_permission.mixins import HasPermissions, HasRoles
class User(Model, SoftDeletesMixin, Authenticates, HasRoles, HasPermissions):
"""User Model."... | 30.428571 | 77 | 0.758216 | 42 | 426 | 7.380952 | 0.547619 | 0.087097 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 426 | 13 | 78 | 32.769231 | 0.840108 | 0.053991 | 0 | 0 | 0 | 0 | 0.076531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
752eeb87d8366695a0fc1c21d0ef062dead005bf | 280 | py | Python | autode/constants.py | Crossfoot/autodE | 2c452c954a5268e6c9a80cd4efbbfe855e61f6bb | [
"MIT"
] | 1 | 2021-02-17T02:50:33.000Z | 2021-02-17T02:50:33.000Z | autode/constants.py | Crossfoot/autodE | 2c452c954a5268e6c9a80cd4efbbfe855e61f6bb | [
"MIT"
] | 4 | 2021-10-14T09:32:49.000Z | 2022-01-22T09:07:19.000Z | autode/constants.py | t-young31/autodE | 4f4e5792e6edf446ff939552a14d82965aaff8e0 | [
"MIT"
] | null | null | null | class Constants:
ha2kcalmol = 627.509 # Hartee^-1 kcal mol^-1
ha2kJmol = 2625.50 # Hartree^-1 kJ mol^-1
eV2ha = 0.0367493 # Hartree ev^-1
a02ang = 0.529177 # Å bohr^-1
ang2a0 = 1.0 / a02ang # bohr Å^-1
kcal2kJ = 4.184 # kJ kcal^-1
| 31.111111 | 50 | 0.546429 | 43 | 280 | 3.55814 | 0.604651 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 0.325 | 280 | 8 | 51 | 35 | 0.539683 | 0.310714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7540f4de2f6d1ca8012c3acc930eb5d680f5f94d | 2,935 | py | Python | core/recc/task/task_connection_pool.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | 3 | 2021-06-20T02:24:10.000Z | 2022-01-26T23:55:33.000Z | core/recc/task/task_connection_pool.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | core/recc/task/task_connection_pool.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from typing import Optional, Dict, KeysView
from recc.rpc.rpc_client import RpcClient
from recc.task.task_key import TaskKey
class TaskConnectionPool:
_clients: Dict[TaskKey, RpcClient]
_timeout: float
def __init__(self, timeout: Optional[float] = None):
self._clients = ... | 29.35 | 87 | 0.655877 | 368 | 2,935 | 5.048913 | 0.179348 | 0.07535 | 0.040366 | 0.048439 | 0.39451 | 0.203445 | 0.127557 | 0.127557 | 0.083961 | 0 | 0 | 0.001329 | 0.231005 | 2,935 | 99 | 88 | 29.646465 | 0.821887 | 0.007155 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.358209 | false | 0.014925 | 0.044776 | 0.283582 | 0.731343 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
754d7b2c7ea36d5a3faacede524e972e88c2d5e3 | 1,196 | py | Python | operators/app.py | treedbox/python-3-basic-exercises | 631e86f8ad97bca7ab06e1f3ebd9d104fc5c43b8 | [
"MIT"
] | null | null | null | operators/app.py | treedbox/python-3-basic-exercises | 631e86f8ad97bca7ab06e1f3ebd9d104fc5c43b8 | [
"MIT"
] | null | null | null | operators/app.py | treedbox/python-3-basic-exercises | 631e86f8ad97bca7ab06e1f3ebd9d104fc5c43b8 | [
"MIT"
] | null | null | null | import numpy as np
a = 10
b = 3
c = 10
# Addition
print(a + b)
# 13
# Subtraction
print(a - b)
# 7
# Multiplication
print(a * b)
# 30
# Division
print(a / b)
# 3.3333333333333335
# Modulo
print(a % b)
# 1
# Exponentiation
print(a ** b)
# 1000
# Floor Division
print(a // b)
# 3
# Bitwise And
print(a & b)
# 2
... | 8.859259 | 31 | 0.584448 | 199 | 1,196 | 3.512563 | 0.301508 | 0.23176 | 0.180258 | 0.062947 | 0.198856 | 0.153076 | 0.041488 | 0 | 0 | 0 | 0 | 0.078775 | 0.235786 | 1,196 | 134 | 32 | 8.925373 | 0.685996 | 0.34699 | 0 | 0 | 0 | 0 | 0.033435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0.820513 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f330334ed400c444afaf4beadb73d5e60f834495 | 192 | py | Python | 7_Modules/E_from_Import_module.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 7_Modules/E_from_Import_module.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 7_Modules/E_from_Import_module.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | """
Import module example
"""
from C_my_module import my_sum, __version__, __sprint__, some_value
print(my_sum(1.25, 3.2))
print(__version__)
print(__sprint__)
print(some_value)
| 16 | 68 | 0.723958 | 28 | 192 | 4.178571 | 0.571429 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031056 | 0.161458 | 192 | 11 | 69 | 17.454545 | 0.695652 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f373edc3fe704d220abb3201ea5fc7785937e32b | 2,722 | py | Python | git_sentry/handlers/git_org.py | git-sentry/git-sentry | 4212ed19e91525656a40b73cb3fa12c30d7097bf | [
"MIT"
] | null | null | null | git_sentry/handlers/git_org.py | git-sentry/git-sentry | 4212ed19e91525656a40b73cb3fa12c30d7097bf | [
"MIT"
] | 1 | 2020-06-15T17:07:43.000Z | 2020-06-15T18:18:33.000Z | git_sentry/handlers/git_org.py | git-sentry/git-sentry | 4212ed19e91525656a40b73cb3fa12c30d7097bf | [
"MIT"
] | null | null | null | from github3.orgs import ShortOrganization
from git_sentry.handlers.access_controlled_git_object import AccessControlledGitObject
from git_sentry.handlers.git_repo import GitRepo
from git_sentry.handlers.git_team import GitTeam
from git_sentry.handlers.git_user import GitUser
from git_sentry.parsing.org_config import ... | 35.815789 | 117 | 0.669361 | 349 | 2,722 | 5.008596 | 0.206304 | 0.046339 | 0.059497 | 0.034325 | 0.184783 | 0.117277 | 0.10984 | 0.10984 | 0.040046 | 0 | 0 | 0.000475 | 0.226304 | 2,722 | 75 | 118 | 36.293333 | 0.829535 | 0 | 0 | 0.035088 | 0 | 0 | 0.032697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22807 | false | 0 | 0.122807 | 0.105263 | 0.596491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f377e6d25e1afce83de3ff397845ad0e408b0fdf | 429 | py | Python | utils/__init__.py | bearpelican/PSSR | 551f477f4ca2c337f9a525d087c21fb83e3af346 | [
"BSD-3-Clause"
] | 69 | 2019-08-18T11:33:40.000Z | 2022-03-28T17:47:40.000Z | utils/__init__.py | Photonics-Precision-Technologies/PSSR | a90b7d208d4369946500a70a6f31c44e3367e4c7 | [
"BSD-3-Clause"
] | 3 | 2021-03-02T05:48:47.000Z | 2021-06-17T12:51:26.000Z | utils/__init__.py | Photonics-Precision-Technologies/PSSR | a90b7d208d4369946500a70a6f31c44e3367e4c7 | [
"BSD-3-Clause"
] | 24 | 2019-09-03T14:27:26.000Z | 2022-03-15T13:47:12.000Z | "bpho utility functions and classes"
from .czi import *
from .synth import *
from .metrics import *
from .multi import *
from .unet import *
from .utils import *
from .rrdb import *
from .tile import *
from .models import *
# pylint: disable=undefined-variable
__all__ = [
*czi.__all__, *synth.__all__, *metrics.__a... | 23.833333 | 67 | 0.713287 | 55 | 429 | 4.836364 | 0.381818 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16317 | 429 | 17 | 68 | 25.235294 | 0.740947 | 0.16317 | 0 | 0 | 0 | 0 | 0.086514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f3825eca524795f4d9742873a773cd7749636e2a | 299 | py | Python | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/lib_version.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 20,453 | 2015-01-02T09:00:47.000Z | 2022-03-31T23:35:56.000Z | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/lib_version.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 14,862 | 2015-01-01T01:28:34.000Z | 2022-03-31T23:48:52.000Z | crabageprediction/venv/Lib/site-packages/numpy/typing/tests/data/pass/lib_version.py | 13rianlucero/CrabAgePrediction | 92bc7fbe1040f49e820473e33cc3902a5a7177c7 | [
"MIT"
] | 9,362 | 2015-01-01T15:49:43.000Z | 2022-03-31T21:26:51.000Z | from numpy.lib import NumpyVersion
version = NumpyVersion("1.8.0")
version.vstring
version.version
version.major
version.minor
version.bugfix
version.pre_release
version.is_devversion
version == version
version != version
version < "1.8.0"
version <= version
version > version
version >= "1.8.0"
| 15.736842 | 34 | 0.772575 | 42 | 299 | 5.452381 | 0.404762 | 0.611354 | 0.641921 | 0.489083 | 0.331878 | 0.331878 | 0.331878 | 0.331878 | 0 | 0 | 0 | 0.034091 | 0.117057 | 299 | 18 | 35 | 16.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.050167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 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 | 0 | 0 | 0 | 3 |
f3ca4f18d4ca96b2cd072cc421b2a2ef58052327 | 314 | py | Python | tests/test_env_creation.py | SwamyDev/gym-datums | 1f4ebcf5855e3d0329638931c402d6e567f4d61c | [
"MIT"
] | 1 | 2020-01-12T19:08:04.000Z | 2020-01-12T19:08:04.000Z | tests/test_env_creation.py | SwamyDev/gym-datums | 1f4ebcf5855e3d0329638931c402d6e567f4d61c | [
"MIT"
] | null | null | null | tests/test_env_creation.py | SwamyDev/gym-datums | 1f4ebcf5855e3d0329638931c402d6e567f4d61c | [
"MIT"
] | null | null | null | import gym
def test_creating_environment(datums):
env = gym.make('gym_datums:portfolio-v0', datums=datums.get_list())
assert env
def test_pass_configuration_to_environment(datums):
env = gym.make('gym_datums:portfolio-v0', datums=datums.get_list(), window_size=10)
assert env.window_size == 10
| 26.166667 | 87 | 0.751592 | 46 | 314 | 4.869565 | 0.434783 | 0.0625 | 0.178571 | 0.205357 | 0.589286 | 0.589286 | 0.589286 | 0.589286 | 0.589286 | 0.589286 | 0 | 0.021978 | 0.130573 | 314 | 11 | 88 | 28.545455 | 0.798535 | 0 | 0 | 0 | 0 | 0 | 0.146497 | 0.146497 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
45f223724fb76f6f424c660714fbb9049c4b98c3 | 3,244 | py | Python | package/kedro_viz/data_access/repositories/graph.py | deepyaman/kedro-viz | 3aef612b6dd405baac0bde68ef37c1f39eb6fa34 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 125 | 2022-01-10T14:18:32.000Z | 2022-03-31T16:08:29.000Z | package/kedro_viz/data_access/repositories/graph.py | deepyaman/kedro-viz | 3aef612b6dd405baac0bde68ef37c1f39eb6fa34 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 81 | 2022-01-10T15:14:24.000Z | 2022-03-31T16:20:59.000Z | package/kedro_viz/data_access/repositories/graph.py | admariner/kedro-viz | 371f7f943ee1c9a69545ed6aa1cd468deafed7f0 | [
"BSD-3-Clause-Clear",
"Apache-2.0"
] | 11 | 2022-01-12T14:57:54.000Z | 2022-03-07T06:48:30.000Z | """`kedro_viz.data_access.repositories.graph` defines interface to
centralise access to graph objects."""
# pylint: disable=missing-class-docstring,missing-function-docstring
from typing import Dict, Generator, List, Optional, Set
from kedro_viz.models.graph import GraphEdge, GraphNode
class GraphNodesRepository:
... | 34.147368 | 86 | 0.612207 | 421 | 3,244 | 4.543943 | 0.206651 | 0.040251 | 0.040774 | 0.075274 | 0.399373 | 0.271824 | 0.271824 | 0.215369 | 0.178777 | 0.153685 | 0 | 0 | 0.270037 | 3,244 | 94 | 87 | 34.510638 | 0.807855 | 0.414612 | 0 | 0.057143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.371429 | false | 0 | 0.057143 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
45f5974c25b21ce59942b408619892ecadcb31bf | 1,749 | py | Python | api/tests/scheme/user_queries.py | mingrammer/pyconkr-api | 3c9fc70ed26008a50d3b4c296a4da84a8f93babb | [
"Apache-2.0"
] | 1 | 2021-01-06T21:22:31.000Z | 2021-01-06T21:22:31.000Z | api/tests/scheme/user_queries.py | mingrammer/pyconkr-api | 3c9fc70ed26008a50d3b4c296a4da84a8f93babb | [
"Apache-2.0"
] | null | null | null | api/tests/scheme/user_queries.py | mingrammer/pyconkr-api | 3c9fc70ed26008a50d3b4c296a4da84a8f93babb | [
"Apache-2.0"
] | null | null | null | ME = '''
query getMe {
me {
username
isStaff
isSuperuser
isAgreed
profile {
id
oauthType
name
nameKo
nameEn
bio
bioKo
bioEn
email
phone
organiz... | 18.21875 | 93 | 0.399085 | 95 | 1,749 | 7.326316 | 0.378947 | 0.057471 | 0.091954 | 0.109195 | 0.561782 | 0.561782 | 0.520115 | 0.520115 | 0.520115 | 0.520115 | 0 | 0 | 0.558033 | 1,749 | 96 | 94 | 18.21875 | 0.900388 | 0 | 0 | 0.72043 | 0 | 0 | 0.953143 | 0.037143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
45f68b8631cf87fd8dfe82e771c103745b8f315c | 113 | py | Python | ex4.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | null | null | null | ex4.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | null | null | null | ex4.py | FernandaMakiHirose/programas-jupyter | 40ebfc820fefceb14293715104641ef184acfff4 | [
"MIT"
] | 1 | 2021-06-09T22:33:11.000Z | 2021-06-09T22:33:11.000Z | # Saber se algo é numérico, não pode colocar o tipo primitivo.
n = input('Digite algo: ')
print(n.isnumeric())
| 18.833333 | 62 | 0.699115 | 18 | 113 | 4.388889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 113 | 5 | 63 | 22.6 | 0.849462 | 0.530973 | 0 | 0 | 0 | 0 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
45fde9aa791799f7d835682a1882fde4ca6c7d48 | 131 | py | Python | dggbot/user.py | Fritz-02/dgg-bot | f8b023e9152006dd6baa66b9557a5bace025e07b | [
"MIT"
] | 2 | 2022-01-30T14:17:44.000Z | 2022-01-31T13:39:04.000Z | dggbot/user.py | Fritz-02/dgg-bot | f8b023e9152006dd6baa66b9557a5bace025e07b | [
"MIT"
] | null | null | null | dggbot/user.py | Fritz-02/dgg-bot | f8b023e9152006dd6baa66b9557a5bace025e07b | [
"MIT"
] | null | null | null | import dataclasses
@dataclasses.dataclass
class User:
name: str
features: list = dataclasses.field(default_factory=list)
| 16.375 | 60 | 0.763359 | 15 | 131 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160305 | 131 | 7 | 61 | 18.714286 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
34181c562b800818d3cdcf73d4ce090d08aaeb43 | 290 | py | Python | opcsim/rc_style.py | drewmee/opcsim | c430d359196939e219a2bdd20cd277f3c3dcc548 | [
"MIT"
] | 3 | 2020-11-07T03:24:19.000Z | 2022-03-30T17:45:04.000Z | opcsim/rc_style.py | drewmee/opcsim | c430d359196939e219a2bdd20cd277f3c3dcc548 | [
"MIT"
] | 61 | 2017-10-30T15:58:33.000Z | 2020-11-26T12:32:10.000Z | opcsim/rc_style.py | drewmee/opcsim | c430d359196939e219a2bdd20cd277f3c3dcc548 | [
"MIT"
] | 2 | 2019-09-19T14:47:49.000Z | 2020-11-07T03:06:42.000Z | """Make changes to the default styling which seaborn doesn't support
"""
import matplotlib as mpl
def set(**kwargs):
mpl.rcParams['figure.autolayout'] = kwargs.pop('figure.autolayout', False)
mpl.rcParams['mathtext.default'] = kwargs.pop('mathtext.default', 'regular')
return
| 29 | 80 | 0.717241 | 37 | 290 | 5.621622 | 0.702703 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 290 | 9 | 81 | 32.222222 | 0.832 | 0.224138 | 0 | 0 | 0 | 0 | 0.334862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
342283450fc2f69ba6e4ac9ac90965d0aee74af1 | 413 | py | Python | association-backend/src/customers/tests/factories.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 56 | 2018-01-20T17:18:40.000Z | 2022-03-28T22:42:04.000Z | association-backend/src/customers/tests/factories.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 2,029 | 2018-01-20T11:37:24.000Z | 2022-03-31T04:10:51.000Z | association-backend/src/customers/tests/factories.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 17 | 2018-03-17T09:44:28.000Z | 2021-12-27T19:57:35.000Z | import factory
from faker import Faker
from src.association.tests.factories import ModelFactory
from src.customers.domain.entities import Customer
fake = Faker()
class CustomerFactory(ModelFactory):
class Meta:
model = Customer
user_id = factory.LazyAttribute(lambda _: fake.pyint(min_value=1, max_v... | 25.8125 | 86 | 0.769976 | 54 | 413 | 5.740741 | 0.592593 | 0.045161 | 0.141935 | 0.180645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014164 | 0.145278 | 413 | 15 | 87 | 27.533333 | 0.864023 | 0 | 0 | 0 | 0 | 0 | 0.041162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
34450ea5c3c40b7f5641207407865966e1c84ea4 | 43,300 | py | Python | pysnmp-with-texts/Nortel-Magellan-Passport-DataCollectionMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-DataCollectionMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-DataCollectionMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-Magellan-Passport-DataCollectionMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-DataCollectionMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:26:47 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user ... | 185.042735 | 2,940 | 0.787829 | 5,734 | 43,300 | 5.94925 | 0.122951 | 0.008853 | 0.083722 | 0.009381 | 0.535338 | 0.408525 | 0.376074 | 0.370738 | 0.340721 | 0.316829 | 0 | 0.046507 | 0.11261 | 43,300 | 233 | 2,941 | 185.83691 | 0.841297 | 0.00873 | 0 | 0 | 0 | 0.119469 | 0.489688 | 0.032461 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.084071 | 0.039823 | 0 | 0.039823 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
34535e54870006d4a3d5e43f4a2bdf26d9b6928d | 138 | py | Python | hacker/challenges/coding/bcd.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | hacker/challenges/coding/bcd.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | hacker/challenges/coding/bcd.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | from hacker.decoder import decode, int2
value = '0111 0011 1001 0011 1001 0001'
result = decode(value.split(), int2, str)
print(result)
| 19.714286 | 41 | 0.73913 | 21 | 138 | 4.857143 | 0.714286 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.152174 | 138 | 6 | 42 | 23 | 0.649573 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
347fb44411535a64923256ce2f175757d9bebbb7 | 112 | py | Python | OldCode/Old/draw.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | OldCode/Old/draw.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | OldCode/Old/draw.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | import turtle as t
t.goto(100,0)
for i in range(50):
t.left(80)
t.fd(100)
t.left(135)
t.fd(105) | 16 | 20 | 0.571429 | 25 | 112 | 2.56 | 0.68 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 0.258929 | 112 | 7 | 21 | 16 | 0.566265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3482b58d2da27163116fe081a9abc1372530b434 | 891 | py | Python | pynmodl/model_utils.py | tjbanks/pynmodl | b7d6bb378711ce19cd651561c08146e3571d986a | [
"MIT"
] | 9 | 2017-06-03T19:33:46.000Z | 2019-10-27T22:19:37.000Z | pynmodl/model_utils.py | tjbanks/pynmodl | b7d6bb378711ce19cd651561c08146e3571d986a | [
"MIT"
] | 11 | 2017-10-13T16:09:10.000Z | 2019-05-08T16:37:11.000Z | pynmodl/model_utils.py | tjbanks/pynmodl | b7d6bb378711ce19cd651561c08146e3571d986a | [
"MIT"
] | 2 | 2017-08-29T14:29:45.000Z | 2019-12-31T19:45:02.000Z | from textx.model import children_of_type, metamodel
# should probably go into handcoded 'FuncDef' class
def side_effects(funcdef):
if funcdef.is_procedure:
side_effs = [asgn.variable.name
for asgn in children_of_type('Assignment', funcdef)
if is_assignment(asgn)
... | 27.84375 | 72 | 0.666667 | 113 | 891 | 5.061947 | 0.460177 | 0.06993 | 0.097902 | 0.06993 | 0.195804 | 0.094406 | 0 | 0 | 0 | 0 | 0 | 0.002915 | 0.230079 | 891 | 31 | 73 | 28.741935 | 0.830904 | 0.114478 | 0 | 0 | 0 | 0 | 0.076336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.052632 | 0.210526 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
caa2dc182ed6c5b1cef5d0340367dd85235354aa | 723 | py | Python | demo_numpy/numpy_11_single_array.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | 1 | 2019-05-04T07:27:18.000Z | 2019-05-04T07:27:18.000Z | demo_numpy/numpy_11_single_array.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | null | null | null | demo_numpy/numpy_11_single_array.py | caserwin/daily-learning-python | 01fea4c5d4e86cbea2dbef8817146f018b5f1479 | [
"Apache-2.0"
] | 1 | 2018-09-20T01:49:36.000Z | 2018-09-20T01:49:36.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019-04-17 15:58
# @Author : erwin
import numpy as np
from common.util_function import *
np.set_printoptions(precision=3)
arr = np.linspace(0, 100, 10).reshape((2, 5))
print_line("原始数据")
print_br(arr)
print_line("单个array操作")
print_br(np.add(arr, 2))
print_b... | 20.657143 | 45 | 0.705394 | 137 | 723 | 3.562044 | 0.423358 | 0.215164 | 0.258197 | 0.112705 | 0.190574 | 0.094262 | 0.094262 | 0 | 0 | 0 | 0 | 0.044275 | 0.094053 | 723 | 34 | 46 | 21.264706 | 0.700763 | 0.152144 | 0 | 0.086957 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0.869565 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
caba240cf2c604c3c43b635f1eed202578b98632 | 227 | py | Python | py_backwards/conf.py | graingert/py-backwards | fd2d89ad972148024ee667eff5b9f19ac91d98ad | [
"MIT"
] | 338 | 2017-04-27T15:03:46.000Z | 2022-03-29T18:59:34.000Z | py_backwards/conf.py | graingert/py-backwards | fd2d89ad972148024ee667eff5b9f19ac91d98ad | [
"MIT"
] | 43 | 2017-04-27T19:20:18.000Z | 2021-10-11T10:39:35.000Z | py_backwards/conf.py | graingert/py-backwards | fd2d89ad972148024ee667eff5b9f19ac91d98ad | [
"MIT"
] | 17 | 2017-04-28T00:36:14.000Z | 2021-08-04T15:59:59.000Z | from argparse import Namespace
class Settings:
def __init__(self) -> None:
self.debug = False
settings = Settings()
def init_settings(args: Namespace) -> None:
if args.debug:
settings.debug = True
| 15.133333 | 43 | 0.660793 | 27 | 227 | 5.37037 | 0.555556 | 0.151724 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246696 | 227 | 14 | 44 | 16.214286 | 0.847953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
caea9da207896bbfe1f086ad49e463268ea1f6bc | 797 | py | Python | faculty/apps.py | bbengfort/webfolio | 16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb | [
"BSD-3-Clause"
] | 1 | 2020-04-07T03:43:34.000Z | 2020-04-07T03:43:34.000Z | faculty/apps.py | bbengfort/webfolio | 16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb | [
"BSD-3-Clause"
] | 18 | 2020-01-02T16:35:58.000Z | 2021-09-22T18:18:09.000Z | faculty/apps.py | bbengfort/webfolio | 16a38c59d11a34f7fe32eee3ee46e1bdc788a9eb | [
"BSD-3-Clause"
] | 1 | 2020-03-04T01:39:00.000Z | 2020-03-04T01:39:00.000Z | # faculty.apps
# Faculty apps and configuration.
#
# Author: Benjamin Bengfort <benjamin@bengfort.com>
# Created: Thu Dec 26 16:06:48 2019 -0600
#
# Copyright (C) 2019 Georgetown University
# For license information, see LICENSE.txt
#
# ID: apps.py [] benjamin@bengfort.com $
"""
Faculty apps and configuration.
"""
... | 24.151515 | 74 | 0.437892 | 61 | 797 | 5.721311 | 0.672131 | 0.094556 | 0.080229 | 0.154728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.121706 | 797 | 32 | 75 | 24.90625 | 0.47 | 0.393977 | 0 | 0 | 0 | 0 | 0.042424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
caf9ce60b8dcfa9dceb4bf7e18b1b1d67f4b1a9c | 620 | py | Python | core-python/Core_Python/regexpkg/Regex_Example5.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 9 | 2020-04-23T05:24:19.000Z | 2022-02-17T16:37:51.000Z | core-python/Core_Python/regexpkg/Regex_Example5.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 5 | 2020-10-01T05:08:37.000Z | 2020-10-12T03:18:10.000Z | core-python/Core_Python/regexpkg/Regex_Example5.py | theumang100/tutorials-1 | 497f54c2adb022c316530319a168fca1c007d4b1 | [
"MIT"
] | 9 | 2020-04-28T14:06:41.000Z | 2021-10-19T18:32:28.000Z | ''' Fill in the code to check if the text passed looks like a standard sentence,
meaning that it starts with an uppercase letter, followed by at least some
lowercase letters or a space, and ends with a period, question mark, or
exclamation point. '''
import re
def check_sentence(text):
result = re.search... | 41.333333 | 80 | 0.703226 | 101 | 620 | 4.257426 | 0.594059 | 0.181395 | 0.209302 | 0.160465 | 0.162791 | 0.162791 | 0.162791 | 0.162791 | 0 | 0 | 0 | 0.005769 | 0.16129 | 620 | 15 | 81 | 41.333333 | 0.821154 | 0.43871 | 0 | 0 | 0 | 0 | 0.294479 | 0.070552 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0.555556 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cafdc6421f11842d347ba8f8317a8946d5c38bee | 180 | py | Python | setup.py | abbec/niji | 0f404fdfab22c2f75b8d076e48ac292ab44f7030 | [
"BSD-2-Clause"
] | 2 | 2015-02-20T15:10:30.000Z | 2021-11-17T03:19:10.000Z | setup.py | abbec/niji | 0f404fdfab22c2f75b8d076e48ac292ab44f7030 | [
"BSD-2-Clause"
] | null | null | null | setup.py | abbec/niji | 0f404fdfab22c2f75b8d076e48ac292ab44f7030 | [
"BSD-2-Clause"
] | null | null | null | from setuptools import setup
setup(name='niji',
version='0.1-alpha`',
packages=['niji'],
install_requires=[
'requests',
]
)
| 20 | 29 | 0.488889 | 16 | 180 | 5.4375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.372222 | 180 | 8 | 30 | 22.5 | 0.752212 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 3 |
1b04104e780e33078b438c2693001b5b0bb640b5 | 67 | py | Python | CSES/Sorting_and_Searching/Distinct_Numbers.py | kancharlaraju21/Competitive_Programming | 98dc9ff17ce42a5b884b0460c161b42bbb203f0e | [
"MIT"
] | null | null | null | CSES/Sorting_and_Searching/Distinct_Numbers.py | kancharlaraju21/Competitive_Programming | 98dc9ff17ce42a5b884b0460c161b42bbb203f0e | [
"MIT"
] | null | null | null | CSES/Sorting_and_Searching/Distinct_Numbers.py | kancharlaraju21/Competitive_Programming | 98dc9ff17ce42a5b884b0460c161b42bbb203f0e | [
"MIT"
] | null | null | null | n=int(input())
a=list(map(int,input().split()))
print(len(set(a)))
| 16.75 | 32 | 0.626866 | 13 | 67 | 3.230769 | 0.769231 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 3 | 33 | 22.333333 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b212ef43232ab5b27bd44324e68f158f280b2f8 | 123 | py | Python | flinx/__init__.py | graingert/flinx | 4abef5ccd78e598549830ab69d3c36b6b0080cbd | [
"MIT"
] | 6 | 2018-06-12T02:18:05.000Z | 2021-01-13T13:12:41.000Z | flinx/__init__.py | graingert/flinx | 4abef5ccd78e598549830ab69d3c36b6b0080cbd | [
"MIT"
] | 5 | 2018-12-28T15:31:08.000Z | 2020-11-07T11:02:19.000Z | flinx/__init__.py | graingert/flinx | 4abef5ccd78e598549830ab69d3c36b6b0080cbd | [
"MIT"
] | 1 | 2020-09-03T21:37:19.000Z | 2020-09-03T21:37:19.000Z | """Configuration-free Python doc generation via Sphinx."""
__version__ = '0.2.0'
from .commands import cli # noqa: F401
| 20.5 | 58 | 0.715447 | 17 | 123 | 4.941176 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.154472 | 123 | 5 | 59 | 24.6 | 0.75 | 0.520325 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1b2ee826c1f2cc5d33957c812f9dbd23d4ab9395 | 106 | py | Python | colosseum/mdps/minigrid_rooms/episodic/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/mdps/minigrid_rooms/episodic/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | colosseum/mdps/minigrid_rooms/episodic/__init__.py | MichelangeloConserva/Colosseum | b0711fd9ce75520deb74cda75c148984a8e4152f | [
"MIT"
] | null | null | null | from colosseum.mdps.minigrid_rooms.episodic.mdp import MiniGridRoomsEpisodic
MDP = MiniGridRoomsEpisodic
| 26.5 | 76 | 0.877358 | 11 | 106 | 8.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 3 | 77 | 35.333333 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1b42ff92bd840d16cfba2122acf8887aed890be9 | 181 | py | Python | tests/plugins/endpoints.py | vyahello/Blog | 5e0dae383be2eedde221f31bc61d29bfc436a44a | [
"MIT"
] | 4 | 2018-05-22T10:02:23.000Z | 2018-06-04T19:58:46.000Z | tests/plugins/endpoints.py | vyahello/blog | 5e0dae383be2eedde221f31bc61d29bfc436a44a | [
"MIT"
] | 1 | 2020-09-28T21:01:05.000Z | 2020-09-28T21:01:05.000Z | tests/plugins/endpoints.py | vyahello/blog | 5e0dae383be2eedde221f31bc61d29bfc436a44a | [
"MIT"
] | 1 | 2021-04-10T22:32:39.000Z | 2021-04-10T22:32:39.000Z | import pytest
_endpoint: str = "http://localhost:5000"
@pytest.fixture(scope="module")
def url_endpoint() -> str:
"""Represent default url endpoint."""
return _endpoint
| 16.454545 | 41 | 0.690608 | 21 | 181 | 5.809524 | 0.714286 | 0.180328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.160221 | 181 | 10 | 42 | 18.1 | 0.776316 | 0.171271 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1b63a05649ee32a6b509ae2cb4cbb731c868a181 | 838 | py | Python | burplist/commands/prune.py | ngshiheng/burplist | 87c4340e63fde476b25c3e7674b9486e8225f87f | [
"MIT"
] | 7 | 2021-11-02T03:19:23.000Z | 2022-01-27T08:05:51.000Z | burplist/commands/prune.py | ngshiheng/burplist | 87c4340e63fde476b25c3e7674b9486e8225f87f | [
"MIT"
] | 10 | 2021-11-10T08:20:50.000Z | 2022-03-04T15:23:25.000Z | burplist/commands/prune.py | ngshiheng/burplist | 87c4340e63fde476b25c3e7674b9486e8225f87f | [
"MIT"
] | 2 | 2021-11-05T04:27:02.000Z | 2022-01-27T08:05:53.000Z | from argparse import ArgumentParser
from burplist.utils.misc import remove_stale_products_prices
from scrapy.commands import ScrapyCommand
class Command(ScrapyCommand):
requires_project = False
default_settings = {'LOG_ENABLED': True}
def syntax(self) -> str:
return '[options]'
def short_de... | 29.928571 | 92 | 0.675418 | 106 | 838 | 5.216981 | 0.575472 | 0.059675 | 0.103074 | 0.090416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00156 | 0.235084 | 838 | 27 | 93 | 31.037037 | 0.861154 | 0.00716 | 0 | 0 | 0 | 0 | 0.203614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1b7bf65f4b83b6fc36a7dd5bbe2ce16ef215c7b1 | 481 | py | Python | additional_code/utils_new.py | UCSD-ECE140/140A-lab-5 | b43bf5c2456e9c78d4576a1d5c352c6b11b888d0 | [
"MIT"
] | 3 | 2020-02-29T01:27:32.000Z | 2020-03-11T01:34:04.000Z | additional_code/utils_new.py | UCSD-ECE140/140A-lab-5 | b43bf5c2456e9c78d4576a1d5c352c6b11b888d0 | [
"MIT"
] | null | null | null | additional_code/utils_new.py | UCSD-ECE140/140A-lab-5 | b43bf5c2456e9c78d4576a1d5c352c6b11b888d0 | [
"MIT"
] | 3 | 2020-03-04T21:06:40.000Z | 2020-03-04T21:51:13.000Z | def euclidean_distance(x1, y1, x2, y2):
"""Compute euclidean distance between two points."""
def which_start_and_pitstop(pitstop_num, pitstop_coords, start_coords):
"""Computes the relevant pitstop and startpoint info.
Extracts the pitstop coordinates, relevant startpoint number and
startpoint co... | 30.0625 | 71 | 0.756757 | 65 | 481 | 5.4 | 0.630769 | 0.096866 | 0.068376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010127 | 0.178794 | 481 | 16 | 72 | 30.0625 | 0.878481 | 0.553015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0.666667 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1b920314ed2fe742eb439c7d8ec7124af9025146 | 5,239 | py | Python | sources/decks.py | andrewmelo/END | 9982e3b9f127ffa1b7edfbb96d3222448decb33f | [
"MIT"
] | null | null | null | sources/decks.py | andrewmelo/END | 9982e3b9f127ffa1b7edfbb96d3222448decb33f | [
"MIT"
] | null | null | null | sources/decks.py | andrewmelo/END | 9982e3b9f127ffa1b7edfbb96d3222448decb33f | [
"MIT"
] | null | null | null | from discord_components import SelectOption
DECKS = {
'Basic Playing Cards': {
'Ace of Spades': '',
'2 of Spades': '',
'3 of Spades': '',
'4 of Spades': '',
'5 of Spades': '',
'6 of Spades': '',
'7 of Spades': '',
'8 of Spades': '',
'9 of Spad... | 53.459184 | 156 | 0.635617 | 637 | 5,239 | 5.155416 | 0.248038 | 0.073691 | 0.107186 | 0.16078 | 0.29324 | 0.29324 | 0.29324 | 0.229294 | 0.032887 | 0.032887 | 0 | 0.102249 | 0.193548 | 5,239 | 97 | 157 | 54.010309 | 0.67503 | 0 | 0 | 0 | 0 | 0.231579 | 0.699179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010526 | 0 | 0.010526 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1bc44711a82d89ff03a78f612f1268176c9e5b60 | 711 | py | Python | test/integration/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 128 | 2019-02-02T17:53:23.000Z | 2022-03-28T09:28:35.000Z | test/integration/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 168 | 2019-02-26T22:14:16.000Z | 2022-03-27T06:25:28.000Z | test/integration/__init__.py | KernelErr/b2-sdk-python | 5310ebdf29f073895f34ffe58893fc50ebdd8c83 | [
"MIT"
] | 52 | 2019-01-28T16:40:56.000Z | 2022-03-14T19:55:05.000Z | ######################################################################
#
# File: test/integration/__init__.py
#
# Copyright 2020 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
import os
def get_b2_au... | 32.318182 | 70 | 0.606188 | 84 | 711 | 4.75 | 0.452381 | 0.350877 | 0.200501 | 0.200501 | 0.37594 | 0.365915 | 0.365915 | 0.205514 | 0 | 0 | 0 | 0.016103 | 0.126582 | 711 | 21 | 71 | 33.857143 | 0.626409 | 0.194093 | 0 | 0 | 0 | 0 | 0.287059 | 0.230588 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 3 |
1bc952161bbc8a492c919ba0838e8646c61b1256 | 161 | py | Python | file_changed_command_runner/__init__.py | AtakamaLLC/plugin-runcmd-on-file-change | 58ae97a2c5f84284f6351a635f75825a7df44abc | [
"BSD-3-Clause"
] | null | null | null | file_changed_command_runner/__init__.py | AtakamaLLC/plugin-runcmd-on-file-change | 58ae97a2c5f84284f6351a635f75825a7df44abc | [
"BSD-3-Clause"
] | null | null | null | file_changed_command_runner/__init__.py | AtakamaLLC/plugin-runcmd-on-file-change | 58ae97a2c5f84284f6351a635f75825a7df44abc | [
"BSD-3-Clause"
] | null | null | null | """Atakama plugin: runs a command every time a file is modified"""
from .plugin import FileChangedCommandRunner
__version__ = "1.0.0"
ATAKAMA_SDK_VERSION = 1
| 20.125 | 66 | 0.763975 | 23 | 161 | 5.086957 | 0.73913 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029197 | 0.149068 | 161 | 7 | 67 | 23 | 0.824818 | 0.372671 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
1bcf9279157b4c95b94867753587cf2e228b9769 | 128 | py | Python | src/main.py | 8nhuman8/pyanitsa-simulation | 1a595aa98d60985483a9f5df2015612dbc0f4396 | [
"MIT"
] | null | null | null | src/main.py | 8nhuman8/pyanitsa-simulation | 1a595aa98d60985483a9f5df2015612dbc0f4396 | [
"MIT"
] | null | null | null | src/main.py | 8nhuman8/pyanitsa-simulation | 1a595aa98d60985483a9f5df2015612dbc0f4396 | [
"MIT"
] | null | null | null | from game import Game
if __name__ == '__main__':
PLAYERS_AMOUNT = 2
game = Game(PLAYERS_AMOUNT)
game.main_loop()
| 14.222222 | 31 | 0.671875 | 17 | 128 | 4.411765 | 0.588235 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.234375 | 128 | 8 | 32 | 16 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
942805c8804b4fa0043c2ea20e710e86124d3b86 | 334 | py | Python | OpenAttack/metric/selectors/semantic.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 444 | 2020-07-14T12:13:26.000Z | 2022-03-28T02:46:30.000Z | OpenAttack/metric/selectors/semantic.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 50 | 2020-07-15T01:34:42.000Z | 2022-01-24T12:19:19.000Z | OpenAttack/metric/selectors/semantic.py | e-tornike/OpenAttack | b19c53af2e01f096505f8ebb8f48a54388295003 | [
"MIT"
] | 86 | 2020-08-02T13:16:45.000Z | 2022-03-27T06:22:04.000Z | from .base import MetricSelector
class SemanticSimilarity(MetricSelector):
"""
:English: :py:class:`.UniversalSentenceEncoder`
"""
def _select(self, lang):
if lang.name == "english":
from ..algorithms.usencoder import UniversalSentenceEncoder
return UniversalSentenceEnco... | 30.363636 | 71 | 0.661677 | 26 | 334 | 8.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239521 | 334 | 11 | 72 | 30.363636 | 0.866142 | 0.140719 | 0 | 0 | 0 | 0 | 0.025735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
942efadc67b7770e499fd8fc5036bcedb5963ac5 | 250 | py | Python | PP4E/Examples/PP4E/System/whereami.py | BeacherHou/Python-_Markdown- | 015d79a02d32f49395b80ca10919b3a09b72c4df | [
"MIT"
] | null | null | null | PP4E/Examples/PP4E/System/whereami.py | BeacherHou/Python-_Markdown- | 015d79a02d32f49395b80ca10919b3a09b72c4df | [
"MIT"
] | null | null | null | PP4E/Examples/PP4E/System/whereami.py | BeacherHou/Python-_Markdown- | 015d79a02d32f49395b80ca10919b3a09b72c4df | [
"MIT"
] | null | null | null | import os, sys
print('my os.getcwd =>', os.getcwd()) # show my cwd execution dir
print('my sys.path =>', sys.path[:6]) # show first 6 import paths
input() # wait for keypress if clicked
| 50 | 79 | 0.508 | 32 | 250 | 3.96875 | 0.625 | 0.110236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.376 | 250 | 4 | 80 | 62.5 | 0.801282 | 0.32 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9488f38cb88e91deeb4cb03c9b82f3eb2ae932e4 | 300 | py | Python | Jarvan/checkers.py | jabezborja/Jarvan-AI | fe3b1ede98cbc2213fcedb886c282e5236e97bfa | [
"MIT"
] | 1 | 2021-03-07T11:53:54.000Z | 2021-03-07T11:53:54.000Z | Jarvan/checkers.py | jabezborja/Jarvan | fe3b1ede98cbc2213fcedb886c282e5236e97bfa | [
"MIT"
] | null | null | null | Jarvan/checkers.py | jabezborja/Jarvan | fe3b1ede98cbc2213fcedb886c282e5236e97bfa | [
"MIT"
] | 2 | 2020-12-18T02:13:44.000Z | 2021-05-04T00:00:20.000Z |
class Checkers:
def __init__(self):
pass
def is_operation(self, command):
operations = ['+', '-', 'x', '*', '/',
'plus', 'minus', 'times', 'divide']
for operation in operations:
if operation in command:
return True
| 23.076923 | 57 | 0.476667 | 27 | 300 | 5.111111 | 0.740741 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.38 | 300 | 12 | 58 | 25 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.083612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
84684047c3182bc760a3079b8b85672e11b760ab | 3,781 | py | Python | copg_optim/utils.py | shatayu/copg | 830b654c8db7ec74f84ee8584e2215200cf8a68d | [
"MIT"
] | 16 | 2020-06-22T17:13:36.000Z | 2022-01-29T10:46:20.000Z | copg_optim/utils.py | shatayu/copg | 830b654c8db7ec74f84ee8584e2215200cf8a68d | [
"MIT"
] | 2 | 2020-08-19T11:31:35.000Z | 2020-11-12T16:11:15.000Z | copg_optim/utils.py | shatayu/copg | 830b654c8db7ec74f84ee8584e2215200cf8a68d | [
"MIT"
] | 7 | 2020-06-24T21:54:17.000Z | 2021-08-30T03:58:32.000Z | import torch
import torch.autograd as autograd
def zero_grad(params):
for p in params:
if p.grad is not None:
p.grad.detach()
p.grad.zero_()
def conjugate_gradient(grad_x, grad_y, tot_grad_x, tot_grad_y, x_params, y_params, b, x=None, nsteps=10, residual_tol=1e-18,
... | 35.336449 | 125 | 0.573922 | 641 | 3,781 | 3.134165 | 0.137285 | 0.039821 | 0.023892 | 0.017919 | 0.774017 | 0.741663 | 0.732205 | 0.667994 | 0.63116 | 0.63116 | 0 | 0.024806 | 0.285639 | 3,781 | 106 | 126 | 35.669811 | 0.718993 | 0.250198 | 0 | 0.542373 | 0 | 0 | 0.017375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050847 | false | 0 | 0.033898 | 0 | 0.118644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
849da74d12d5dc48cca4538a54c44bd5465ec334 | 80 | py | Python | .history/List of Capstone Projects/FibonacciSequence_20200516130117.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | 1 | 2020-05-18T17:50:00.000Z | 2020-05-18T17:50:00.000Z | .history/List of Capstone Projects/FibonacciSequence_20200516130117.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | null | null | null | .history/List of Capstone Projects/FibonacciSequence_20200516130117.py | EvanthiosPapadopoulos/Python3 | ab773fd458e365c1510f98ecac65965234c881e8 | [
"MIT"
] | null | null | null | '''
Fibonacci Sequence
'''
print("Enter a number for Fibonacci")
f = input()
| 8.888889 | 37 | 0.65 | 10 | 80 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 80 | 8 | 38 | 10 | 0.8 | 0.225 | 0 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
84a3dca567d6d2d5fd4a68653e83c270525397d3 | 40 | py | Python | pajbot/models/__init__.py | gigglearrows/anniesbot | fb9fb92b827c6c78efebb415f10d015216fb3ba2 | [
"MIT"
] | null | null | null | pajbot/models/__init__.py | gigglearrows/anniesbot | fb9fb92b827c6c78efebb415f10d015216fb3ba2 | [
"MIT"
] | 1 | 2015-12-24T02:01:21.000Z | 2018-02-19T01:08:16.000Z | pajbot/models/__init__.py | gigglearrows/anniesbot | fb9fb92b827c6c78efebb415f10d015216fb3ba2 | [
"MIT"
] | null | null | null | __all__ = ['user', 'command', 'filter']
| 20 | 39 | 0.6 | 4 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84ba7808857610e17a671b961a093515538a298b | 155 | py | Python | transport/processing/config.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 15 | 2018-04-18T13:25:30.000Z | 2022-03-04T09:25:41.000Z | transport/processing/config.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 221 | 2018-04-12T06:29:43.000Z | 2022-03-27T03:01:40.000Z | transport/processing/config.py | zkdev/cc-utils | 042c6632ca6f61a484bc0a71f85957aeba7f7278 | [
"BSD-3-Clause"
] | 29 | 2018-04-11T14:42:23.000Z | 2021-11-09T16:26:32.000Z | import typing
ACTIONS: typing.List[str] = list()
PROCESSING_CFG = 'transport.yaml'
RESOURCES_DIR = 'resources'
TAR_FILE = 'resources.tar'
DRY_RUN = False
| 19.375 | 34 | 0.754839 | 21 | 155 | 5.380952 | 0.761905 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122581 | 155 | 7 | 35 | 22.142857 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
84cb30176a5e50e38a6cce67f86d2ae064510aa3 | 1,128 | py | Python | src/dg_calculations/duration.py | dazed-gerbil/dg_calculations | b1f678676a04a20778521e592c58e70b91a3e55c | [
"BSD-3-Clause"
] | null | null | null | src/dg_calculations/duration.py | dazed-gerbil/dg_calculations | b1f678676a04a20778521e592c58e70b91a3e55c | [
"BSD-3-Clause"
] | null | null | null | src/dg_calculations/duration.py | dazed-gerbil/dg_calculations | b1f678676a04a20778521e592c58e70b91a3e55c | [
"BSD-3-Clause"
] | null | null | null | class Duration:
def __init__(self, hours: int = 0, minutes: int = 0, seconds: int = 0):
# setup the class instance and convert any provided times to seconds
self.total_duration: int = (hours * 60 * 60) + (minutes * 60) + seconds
def __add__(self, other):
new_total: int = self.total_dur... | 37.6 | 89 | 0.635638 | 152 | 1,128 | 4.519737 | 0.263158 | 0.13246 | 0.123726 | 0.074236 | 0.22853 | 0.141194 | 0.101892 | 0.101892 | 0.101892 | 0 | 0 | 0.029691 | 0.253546 | 1,128 | 29 | 90 | 38.896552 | 0.786223 | 0.222518 | 0 | 0 | 0 | 0 | 0.081609 | 0.07931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0 | 0.3125 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
84d444ce66261efff4a9f1dcd096ec85161d4859 | 152 | py | Python | Chapter14/file_test.py | MJC-code/thinkpython | c92702b64a174e85294b17d8bed870977007842b | [
"Unlicense"
] | null | null | null | Chapter14/file_test.py | MJC-code/thinkpython | c92702b64a174e85294b17d8bed870977007842b | [
"Unlicense"
] | null | null | null | Chapter14/file_test.py | MJC-code/thinkpython | c92702b64a174e85294b17d8bed870977007842b | [
"Unlicense"
] | null | null | null | fout = open('output.txt', 'w')
line1 = "This here's the wattle,\n"
fout.write(line1)
line2 = "the emblem of our land.\n"
fout.write(line2)
fout.close()
| 21.714286 | 35 | 0.677632 | 27 | 152 | 3.814815 | 0.703704 | 0.097087 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.131579 | 152 | 6 | 36 | 25.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.401316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 3 |
84e5e1c8fd0162798866f27859c934001656db2d | 165 | py | Python | Python/Unsorted/41a.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | Python/Unsorted/41a.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | Python/Unsorted/41a.py | LittleEndu/Codeforces | 82c49b10702c58bc5ce062801d740a2f5f600062 | [
"MIT"
] | null | null | null | # Smallest: r=input;print("YNEOS"[r()!=r()[::-1]::2])
# Because != and == are same size, but "NYOE S" and "YNEOS" are not
i=input;print("NYOE S"[i()==i()[::-1]::2]) | 41.25 | 67 | 0.551515 | 30 | 165 | 3.033333 | 0.566667 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.121212 | 165 | 4 | 68 | 41.25 | 0.6 | 0.709091 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
84f688d12ac0454e849a16fc344c9155930c39c5 | 239 | py | Python | src/zzsn2021/systems/__init__.py | 2021L-ZZSN/template | 0cea7744701bb702d563acbf0cbd9ecf371f45bf | [
"MIT"
] | null | null | null | src/zzsn2021/systems/__init__.py | 2021L-ZZSN/template | 0cea7744701bb702d563acbf0cbd9ecf371f45bf | [
"MIT"
] | null | null | null | src/zzsn2021/systems/__init__.py | 2021L-ZZSN/template | 0cea7744701bb702d563acbf0cbd9ecf371f45bf | [
"MIT"
] | 1 | 2021-05-09T21:27:39.000Z | 2021-05-09T21:27:39.000Z | # Using redundant module aliases for public export
# https://github.com/microsoft/pyright/blob/master/docs/typed-libraries.md#library-interface
from __future__ import annotations
from .classifier import ImageClassifier as ImageClassifier
| 39.833333 | 92 | 0.841004 | 30 | 239 | 6.566667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087866 | 239 | 5 | 93 | 47.8 | 0.90367 | 0.577406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
17069e99d222a83b6d6cb9434374858de6da28de | 451 | py | Python | MACD/huobi_Python-1.0.3/example/restful/get24htradestatistics.py | yangdemin/dingpan | 0b68c7f9b497c7becab6ec3e7a2b21b5c03a1dd9 | [
"MIT"
] | null | null | null | MACD/huobi_Python-1.0.3/example/restful/get24htradestatistics.py | yangdemin/dingpan | 0b68c7f9b497c7becab6ec3e7a2b21b5c03a1dd9 | [
"MIT"
] | 1 | 2020-12-05T11:41:35.000Z | 2020-12-05T11:41:35.000Z | MACD/huobi_Python-1.0.3/example/restful/get24htradestatistics.py | yangdemin/dingpan | 0b68c7f9b497c7becab6ec3e7a2b21b5c03a1dd9 | [
"MIT"
] | null | null | null | from huobi import RequestClient
request_client = RequestClient()
trade_statistics = request_client.get_24h_trade_statistics("btcusdt")
print("---- Statistics ----")
print("Timestamp: " + str(trade_statistics.timestamp))
print("High: " + str(trade_statistics.high))
print("Low: " + str(trade_statistics.low))
print("Ope... | 34.692308 | 69 | 0.747228 | 54 | 451 | 6.018519 | 0.351852 | 0.369231 | 0.332308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.086475 | 451 | 12 | 70 | 37.583333 | 0.783981 | 0 | 0 | 0 | 0 | 0 | 0.155211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.7 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
ca1489331ad7dcecdbf65e9a9a5cb2ffc03ee713 | 109 | py | Python | ciri/modules/checker.py | AmarnathCJD/Cirilla-Userbot | a580f2d3442ab7ebc4497aee7e381e6e220dbf93 | [
"MIT"
] | null | null | null | ciri/modules/checker.py | AmarnathCJD/Cirilla-Userbot | a580f2d3442ab7ebc4497aee7e381e6e220dbf93 | [
"MIT"
] | null | null | null | ciri/modules/checker.py | AmarnathCJD/Cirilla-Userbot | a580f2d3442ab7ebc4497aee7e381e6e220dbf93 | [
"MIT"
] | 2 | 2022-01-01T06:58:10.000Z | 2022-01-12T15:59:38.000Z | from ciri.utils import ciri_cmd, eor
@ciri_cmd(pattern="ck")
async def chk(e):
await eor(e, "rex gei")
| 15.571429 | 36 | 0.678899 | 20 | 109 | 3.6 | 0.75 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174312 | 109 | 6 | 37 | 18.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca234762f3e767d741149de9a100ca8971ea4a6b | 111 | py | Python | Chapter11/moviereviewsproject/news/urls.py | PacktPublishing/Django-4-for-the-Impatient | a7571124eb414fb0f8bcabe7ae23d64460a1a882 | [
"MIT"
] | null | null | null | Chapter11/moviereviewsproject/news/urls.py | PacktPublishing/Django-4-for-the-Impatient | a7571124eb414fb0f8bcabe7ae23d64460a1a882 | [
"MIT"
] | null | null | null | Chapter11/moviereviewsproject/news/urls.py | PacktPublishing/Django-4-for-the-Impatient | a7571124eb414fb0f8bcabe7ae23d64460a1a882 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.news, name='news'),
]
| 15.857143 | 38 | 0.63964 | 14 | 111 | 5.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 111 | 6 | 39 | 18.5 | 0.816092 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca42dd5c89d0bfd3b660dd32afbe04f69cd85bd9 | 487 | py | Python | py_headless_daw/project/content/midi_note.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 22 | 2020-06-09T18:46:56.000Z | 2021-09-28T02:11:42.000Z | py_headless_daw/project/content/midi_note.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 19 | 2020-06-03T06:34:57.000Z | 2021-01-26T07:36:17.000Z | py_headless_daw/project/content/midi_note.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 1 | 2020-06-18T09:25:21.000Z | 2020-06-18T09:25:21.000Z | from py_headless_daw.project.content.midi_clip import MidiClipEvent, MidiClip
class MidiNote(MidiClipEvent):
def __init__(self, clip, clip_time, note, velocity, length):
# type: (MidiClip, float, int, int, float)->None
super().__init__(clip, clip_time)
self.note: int = note
self.v... | 32.466667 | 77 | 0.685832 | 62 | 487 | 5.080645 | 0.483871 | 0.07619 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211499 | 487 | 14 | 78 | 34.785714 | 0.820313 | 0.094456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ca804c507c9eae6b891697c2866fc2ce9b5675be | 3,903 | py | Python | ao/ovh_group/models.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/ovh_group/models.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/ovh_group/models.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | import uuid
from django.db import models
FLAVOR_TYPES = (
('ovh.ssd.eg', 'ovh.ssd.eg'),
('ovh.ssd.cpu', 'ovh.ssd.cpu'),
('ovh.ceph.eg', 'ovh.ceph.eg'),
('ovh.cpu', 'ovh.cpu'),
('ovh.ssd.ram', 'ovh.ssd.ram'),
('ovh.vps-ssd', 'ovh.vps-ssd'),
('ovh.ram', 'ovh.ram'),
)
OS_TYPES = (
('linux'... | 32.256198 | 94 | 0.71176 | 481 | 3,903 | 5.636175 | 0.203742 | 0.099594 | 0.185909 | 0.247879 | 0.462929 | 0.373663 | 0.313537 | 0.208779 | 0.208779 | 0.140907 | 0 | 0.019602 | 0.150397 | 3,903 | 120 | 95 | 32.525 | 0.797949 | 0 | 0 | 0.231579 | 0 | 0 | 0.067128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021053 | 0 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ca86f4ec11dafc2a3a273b2e1a0fce28e7dc4629 | 211 | py | Python | src/model/charactors/warrior.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | null | null | null | src/model/charactors/warrior.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | null | null | null | src/model/charactors/warrior.py | Matimed/Barbarism | 4892092f24f314bc6cfacc1c780436dc59fc90ac | [
"MIT"
] | null | null | null | from src.model.charactors import Aggressive
class Warrior(Aggressive):
""" An aggressive character that is able to fight.
"""
def __init__(self, nation):
super().__init__(nation)
| 19.181818 | 54 | 0.654028 | 24 | 211 | 5.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246446 | 211 | 11 | 55 | 19.181818 | 0.81761 | 0.218009 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
ca8cb5cae2772c3b21c76272ec003afaac8e5836 | 3,218 | py | Python | google/api/servicemanagement/v1/google-cloud-servicemanagement-v1-py/google/cloud/servicemanagement_v1/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/api/servicemanagement/v1/google-cloud-servicemanagement-v1-py/google/cloud/servicemanagement_v1/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/api/servicemanagement/v1/google-cloud-servicemanagement-v1-py/google/cloud/servicemanagement_v1/__init__.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 36.988506 | 74 | 0.845867 | 294 | 3,218 | 9.238095 | 0.367347 | 0.102725 | 0.194772 | 0.245582 | 0.023564 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003064 | 0.087321 | 3,218 | 86 | 75 | 37.418605 | 0.921689 | 0.176818 | 0 | 0 | 0 | 0 | 0.254842 | 0.168629 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.485294 | 0 | 0.485294 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ca97ba10632a642d96a4ab8e4f7d2d42b7b5c677 | 897 | py | Python | apps/portalbase/system/system__docgenerator/methodclass/system_docgenerator.gen.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | 1 | 2015-10-26T10:38:13.000Z | 2015-10-26T10:38:13.000Z | apps/portalbase/system/system__docgenerator/methodclass/system_docgenerator.gen.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | apps/portalbase/system/system__docgenerator/methodclass/system_docgenerator.gen.py | Jumpscale/jumpscale6_core | 0502ddc1abab3c37ed982c142d21ea3955d471d3 | [
"BSD-2-Clause"
] | null | null | null | from JumpScale import j
class system_docgenerator(j.code.classGetBase()):
"""
Initializes the swagger entry point for listing the available APIs
"""
def __init__(self):
pass
self._te={}
self.actorname="docgenerator"
self.appname="system"
#system_docgener... | 28.935484 | 75 | 0.636566 | 96 | 897 | 5.822917 | 0.541667 | 0.064401 | 0.046512 | 0.060823 | 0.322004 | 0.322004 | 0.322004 | 0.322004 | 0.322004 | 0.322004 | 0 | 0 | 0.287625 | 897 | 30 | 76 | 29.9 | 0.874804 | 0.347826 | 0 | 0 | 0 | 0 | 0.182178 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 1 | 0.272727 | false | 0.090909 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
04635c853fd503731a8d62814118c480fbafb76f | 85 | py | Python | vmaig_blog/uwsgi-2.0.14/plugins/router_xmldir/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | 1 | 2018-11-24T16:10:49.000Z | 2018-11-24T16:10:49.000Z | vmaig_blog/uwsgi-2.0.14/plugins/router_xmldir/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | null | null | null | vmaig_blog/uwsgi-2.0.14/plugins/router_xmldir/uwsgiplugin.py | StanYaha/Blog | 3cb38918e14ebe6ce2e2952ef272de116849910d | [
"BSD-3-Clause"
] | null | null | null | NAME='router_xmldir'
CFLAGS = []
LDFLAGS = []
LIBS = []
GCC_LIST = ['router_xmldir']
| 14.166667 | 28 | 0.647059 | 10 | 85 | 5.2 | 0.8 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 5 | 29 | 17 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04829b09961c36916721a20bc96b1e0fb992c3a4 | 165 | py | Python | routes/__init__.py | kolybasov/ankor | 0b1aac9d00adf55906293c46c6c2101a5b3f2da7 | [
"MIT"
] | null | null | null | routes/__init__.py | kolybasov/ankor | 0b1aac9d00adf55906293c46c6c2101a5b3f2da7 | [
"MIT"
] | null | null | null | routes/__init__.py | kolybasov/ankor | 0b1aac9d00adf55906293c46c6c2101a5b3f2da7 | [
"MIT"
] | null | null | null | from .links import LinksRoute
from .root import RootRoute
from .settings import SettingsRoute
__all__ = [
'RootRoute',
'LinksRoute',
'SettingsRoute',
]
| 16.5 | 35 | 0.715152 | 16 | 165 | 7.125 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 165 | 9 | 36 | 18.333333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
04ac419b066986c607fb10d9b1a2b367f2438a0c | 458 | py | Python | tests/api_workflow.py | Ramanth/analyticsapi-engines-python-sdk | 93af954e3bd2107146d4914437feb8e27c159741 | [
"Apache-2.0"
] | 12 | 2019-12-01T10:34:50.000Z | 2022-03-14T00:11:21.000Z | tests/api_workflow.py | Ramanth/analyticsapi-engines-python-sdk | 93af954e3bd2107146d4914437feb8e27c159741 | [
"Apache-2.0"
] | 33 | 2019-12-01T12:14:01.000Z | 2022-03-22T04:50:30.000Z | tests/api_workflow.py | Ramanth/analyticsapi-engines-python-sdk | 93af954e3bd2107146d4914437feb8e27c159741 | [
"Apache-2.0"
] | 1 | 2019-12-01T10:34:52.000Z | 2019-12-01T10:34:52.000Z | def run_api_workflow_with_assertions(workflow_specification, current_request, test_context):
current_request_result = current_request(test_context)
if current_request_result is not None and current_request_result["continue_workflow"]:
run_api_workflow_with_assertions(
workflow_specification,... | 50.888889 | 92 | 0.768559 | 51 | 458 | 6.352941 | 0.372549 | 0.302469 | 0.308642 | 0.111111 | 0.302469 | 0.302469 | 0.302469 | 0 | 0 | 0 | 0 | 0 | 0.172489 | 458 | 8 | 93 | 57.25 | 0.854881 | 0 | 0 | 0 | 0 | 0 | 0.08952 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04ad46b6e7521decb5097d7fef950d301003359e | 4,820 | py | Python | crawling_prac/recipeKR/recipeKR/pipelines.py | chunbo777/RECIPENLGforMC | 144e4d5fe9d02a0dc644b018322268fa30af984e | [
"Apache-2.0"
] | 1 | 2022-01-21T05:58:50.000Z | 2022-01-21T05:58:50.000Z | crawling_prac/recipeKR/recipeKR/pipelines.py | chunbo777/RECIPENLGforMC | 144e4d5fe9d02a0dc644b018322268fa30af984e | [
"Apache-2.0"
] | null | null | null | crawling_prac/recipeKR/recipeKR/pipelines.py | chunbo777/RECIPENLGforMC | 144e4d5fe9d02a0dc644b018322268fa30af984e | [
"Apache-2.0"
] | null | null | null | # Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
'''
Scraped data -> Item Containers -> Json/CSV files
Scraped data -> Item Containers -> Pipeline -> SQL/MongoDB
'''
# useful for handling different ... | 30.125 | 77 | 0.527178 | 496 | 4,820 | 5.052419 | 0.322581 | 0.035116 | 0.053871 | 0.061053 | 0.326417 | 0.297287 | 0.276137 | 0.231445 | 0.231445 | 0.122107 | 0 | 0.013997 | 0.332988 | 4,820 | 159 | 78 | 30.314465 | 0.765474 | 0.848755 | 0 | 0 | 0 | 0 | 0.051325 | 0.043046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.090909 | 0.272727 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
04b307b716543b93f9977c29689d84449e7820bd | 312 | py | Python | oscomp/src/oscomp/fork_test.py | wei-huan/MyOS | 0592dd73fd9768a9a69975f7d18c758999195774 | [
"MIT"
] | 2 | 2022-02-21T08:37:46.000Z | 2022-03-03T06:01:47.000Z | oscomp/src/oscomp/fork_test.py | wei-huan/MyOS | 0592dd73fd9768a9a69975f7d18c758999195774 | [
"MIT"
] | null | null | null | oscomp/src/oscomp/fork_test.py | wei-huan/MyOS | 0592dd73fd9768a9a69975f7d18c758999195774 | [
"MIT"
] | null | null | null | from test_base import TestBase
import re
class fork_test(TestBase):
def __init__(self):
super().__init__("fork", 3)
def test(self, data):
self.assert_ge(len(data), 2)
self.assert_in_str(" parent process\. wstatus:\d+", data)
self.assert_in_str(" child process", data) | 26 | 66 | 0.644231 | 44 | 312 | 4.227273 | 0.568182 | 0.16129 | 0.150538 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.224359 | 312 | 12 | 67 | 26 | 0.760331 | 0 | 0 | 0 | 0 | 0 | 0.15655 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
04d776ab689d0da73d992f53cab94ca3e0603adc | 804 | py | Python | bsidesns/api/__init__.py | Dervish13/bsidesns-backend | ba8173f2b81210a561b203973eb48d5c124870b1 | [
"BSD-2-Clause"
] | 1 | 2019-05-06T20:54:06.000Z | 2019-05-06T20:54:06.000Z | bsidesns/api/__init__.py | Dervish13/bsidesns-backend | ba8173f2b81210a561b203973eb48d5c124870b1 | [
"BSD-2-Clause"
] | null | null | null | bsidesns/api/__init__.py | Dervish13/bsidesns-backend | ba8173f2b81210a561b203973eb48d5c124870b1 | [
"BSD-2-Clause"
] | 3 | 2020-01-12T13:34:35.000Z | 2021-11-01T17:50:21.000Z | from freenit.api import register_endpoints
def create_api(app):
from .blog import blueprint as blog
from .cfp import blueprint as cfp
from .cfs import blueprint as cfs
from .email import blueprint as email
from .event import blueprint as event
from .gallery import blueprint as gallery
from... | 22.971429 | 45 | 0.579602 | 91 | 804 | 5.087912 | 0.252747 | 0.323974 | 0.367171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00198 | 0.371891 | 804 | 34 | 46 | 23.647059 | 0.914851 | 0 | 0 | 0 | 0 | 0 | 0.008706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.4 | 0 | 0.433333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
04da9f5b3f0a1562d09fdc750f3512c5846f329f | 1,288 | py | Python | nativedroid/nativedroid/analyses/resolver/annotation/jfield_id_annotation.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 152 | 2016-06-10T19:10:03.000Z | 2022-02-26T12:43:00.000Z | nativedroid/nativedroid/analyses/resolver/annotation/jfield_id_annotation.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 83 | 2016-07-08T16:49:37.000Z | 2022-01-16T10:48:27.000Z | nativedroid/nativedroid/analyses/resolver/annotation/jfield_id_annotation.py | CherishAZ/Argus-SAF | 06596c6bb03fe2560030b52bf2b47d17d1bd3068 | [
"Apache-2.0"
] | 47 | 2016-06-22T01:28:21.000Z | 2022-03-06T14:18:08.000Z | from claripy import Annotation
__author__ = "Xingwei Lin, Fengguo Wei"
__copyright__ = "Copyright 2018, The Argus-SAF Project"
__license__ = "Apache v2.0"
class JfieldIDAnnotation(Annotation):
"""
This annotation is used to store jfieldID type information.
"""
def __init__(self, class_name=None, fie... | 22.206897 | 79 | 0.65528 | 150 | 1,288 | 5.28 | 0.313333 | 0.102273 | 0.065657 | 0.045455 | 0.255051 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006342 | 0.265528 | 1,288 | 57 | 80 | 22.596491 | 0.830867 | 0.093944 | 0 | 0.2 | 0 | 0 | 0.064806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.028571 | 0.171429 | 0.514286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
04dcff8e1dcd705817263defe7d2fdfa25281153 | 149 | py | Python | BOJ2530.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | 2 | 2019-03-05T15:42:46.000Z | 2019-07-24T15:52:36.000Z | BOJ2530.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | BOJ2530.py | INYEONGKIM/BOJ | 5e83d77a92d18b0d20d26645c7cfe4ba3e2d25bc | [
"MIT"
] | null | null | null | h,m,s = map(int, input().split())
s += (m*60 + h*3600 + int(input()))
h = s//3600
m = (s%3600)//60
s = (s%3600)%60
if h>23:
h %= 24
print(h,m,s)
| 16.555556 | 35 | 0.496644 | 34 | 149 | 2.176471 | 0.382353 | 0.081081 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218487 | 0.201342 | 149 | 8 | 36 | 18.625 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 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 | 3 |
b6c39fa781b6df8a3f88b2972d39de4a20c64e4d | 209 | py | Python | acubed/src/server/acubed_svr/databaseConfig.py | AaronBerman/acubed | 22f0471ea56ba8a793fcc22af7881479ade78cc2 | [
"Apache-2.0"
] | null | null | null | acubed/src/server/acubed_svr/databaseConfig.py | AaronBerman/acubed | 22f0471ea56ba8a793fcc22af7881479ade78cc2 | [
"Apache-2.0"
] | null | null | null | acubed/src/server/acubed_svr/databaseConfig.py | AaronBerman/acubed | 22f0471ea56ba8a793fcc22af7881479ade78cc2 | [
"Apache-2.0"
] | null | null | null | import mysql.connector
config = {
'user': 'root',
'password': 'rT1@4PlgTd',
'host': 'acubed_db',
'port': '3306'
}
connection = mysql.connector.connect(**config)
cursor = connection.cursor() | 19 | 47 | 0.626794 | 22 | 209 | 5.909091 | 0.772727 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.186603 | 209 | 11 | 48 | 19 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0.22381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b6c491708f7c2dd222bf81695a2e379fa4ce9e01 | 182 | py | Python | ksusta/admin.py | ayuba-hub/eExams | 5c9920cf55b9cb258c7c732bffceb10e5e9188b5 | [
"MIT"
] | null | null | null | ksusta/admin.py | ayuba-hub/eExams | 5c9920cf55b9cb258c7c732bffceb10e5e9188b5 | [
"MIT"
] | null | null | null | ksusta/admin.py | ayuba-hub/eExams | 5c9920cf55b9cb258c7c732bffceb10e5e9188b5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Facultie,Department,Program
# Register your models here.
my_list = [Department,Facultie,Program]
admin.site.register(my_list)
| 20.222222 | 47 | 0.807692 | 25 | 182 | 5.8 | 0.6 | 0.082759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 182 | 8 | 48 | 22.75 | 0.895062 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b6cb6dd802ed8926890a8272606dae1d0103add4 | 3,416 | py | Python | src/spark/internal/engine/core.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | 1 | 2015-05-21T20:00:12.000Z | 2015-05-21T20:00:12.000Z | src/spark/internal/engine/core.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | null | null | null | src/spark/internal/engine/core.py | jbalint/spark | caccf1cd9122dd4a7dc0f26a57ee4a649056aa6f | [
"CNRI-Jython"
] | null | null | null | #*****************************************************************************#
#* Copyright (c) 2004-2008, SRI International. *#
#* All rights reserved. *#
#* ... | 53.375 | 84 | 0.554742 | 347 | 3,416 | 5.414986 | 0.507205 | 0.021288 | 0.019159 | 0.024481 | 0.12347 | 0.072379 | 0.072379 | 0.072379 | 0.072379 | 0.072379 | 0 | 0.004599 | 0.299766 | 3,416 | 63 | 85 | 54.222222 | 0.780936 | 0.834602 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b6de0bcbabe2fb0255ae79911d0c45a4168e20e2 | 189 | py | Python | MVP - 2 [Deploying model on django portal]/Portal/base/urls.py | Dhaval-B-Patel/ENSE-885---spring-2021 | 7ec15060cbb6c12f61112e414b4b976c819ffa2c | [
"MIT"
] | null | null | null | MVP - 2 [Deploying model on django portal]/Portal/base/urls.py | Dhaval-B-Patel/ENSE-885---spring-2021 | 7ec15060cbb6c12f61112e414b4b976c819ffa2c | [
"MIT"
] | null | null | null | MVP - 2 [Deploying model on django portal]/Portal/base/urls.py | Dhaval-B-Patel/ENSE-885---spring-2021 | 7ec15060cbb6c12f61112e414b4b976c819ffa2c | [
"MIT"
] | 1 | 2021-06-20T18:54:43.000Z | 2021-06-20T18:54:43.000Z | from django.contrib import admin
from django.urls import path
from .views import home, result
urlpatterns = [
path('', home, name='home'),
path('result/', result, name='result')
] | 21 | 42 | 0.687831 | 25 | 189 | 5.2 | 0.48 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 9 | 43 | 21 | 0.828025 | 0 | 0 | 0 | 0 | 0 | 0.089474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.