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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
55f6f1882d17db2effee19e93f579bedb094d182 | 3,833 | py | Python | apps/api/authorization.py | muffinresearch/addons-server | 66613e9262a5e9475254091552de28a53b5b4072 | [
"BSD-3-Clause"
] | 1 | 2015-10-29T06:55:20.000Z | 2015-10-29T06:55:20.000Z | apps/api/authorization.py | magopian/olympia | 70cad15111a89e3d5c715cbade8925b12d1b98dc | [
"BSD-3-Clause"
] | null | null | null | apps/api/authorization.py | magopian/olympia | 70cad15111a89e3d5c715cbade8925b12d1b98dc | [
"BSD-3-Clause"
] | null | null | null | """
This file is intentionally kept with `App` names to be as close as
possible to the marketplace/zamboni one. It'll ease comparisons in case
of bugs from one side or the other before we can put that in a separate
app, see: https://bugzilla.mozilla.org/show_bug.cgi?id=984865
"""
from collections import defaultdict
i... | 32.760684 | 78 | 0.698409 | 489 | 3,833 | 5.341513 | 0.343558 | 0.080015 | 0.096478 | 0.114855 | 0.358346 | 0.335375 | 0.295942 | 0.201761 | 0.151608 | 0.1317 | 0 | 0.002015 | 0.223324 | 3,833 | 116 | 79 | 33.043103 | 0.875378 | 0.314636 | 0 | 0.415094 | 0 | 0 | 0.001966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301887 | false | 0 | 0.056604 | 0.207547 | 0.754717 | 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 |
55facd052781622c3e1a9c0e26c779edb3f62050 | 1,313 | py | Python | test/cases/response/text.py | zefirka/bobot | 76d4f9e8d1cf57341ae1c709b46d7f9ceea5064d | [
"MIT"
] | 5 | 2016-08-07T06:05:05.000Z | 2017-01-12T20:19:28.000Z | test/cases/response/text.py | zefirka/bobot | 76d4f9e8d1cf57341ae1c709b46d7f9ceea5064d | [
"MIT"
] | 1 | 2016-12-15T16:28:01.000Z | 2016-12-16T09:26:27.000Z | test/cases/response/text.py | zefirka/bobot | 76d4f9e8d1cf57341ae1c709b46d7f9ceea5064d | [
"MIT"
] | 2 | 2016-08-07T09:38:59.000Z | 2016-10-05T16:10:35.000Z | "Testcases for text messages"
from .. import Case
from bobot.Rule import Rule
from bobot.Response import Text
responseAsTextDict = Case.Case([
Rule({
'match': 'text',
'response': {
'text': 'Waiting for text'
}
})
], [
{
'expected': [Case.Expectation('Waiting fo... | 21.177419 | 67 | 0.514851 | 114 | 1,313 | 5.929825 | 0.192982 | 0.093195 | 0.16568 | 0.100592 | 0.736686 | 0.736686 | 0.736686 | 0.68787 | 0.68787 | 0.68787 | 0 | 0 | 0.303123 | 1,313 | 61 | 68 | 21.52459 | 0.738798 | 0.020564 | 0 | 0.545455 | 0 | 0 | 0.248286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 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 |
55fb3bd3425ed8092ddae1566a69972d5b2fcc51 | 177 | py | Python | elementium/__init__.py | dwt/elementium | b003f906d94295397eaf5a53a46f75a8be0e0dd6 | [
"Apache-2.0"
] | 64 | 2015-03-03T18:01:45.000Z | 2022-03-13T15:08:11.000Z | elementium/__init__.py | dwt/elementium | b003f906d94295397eaf5a53a46f75a8be0e0dd6 | [
"Apache-2.0"
] | 22 | 2015-11-21T22:45:07.000Z | 2021-06-25T15:26:57.000Z | elementium/__init__.py | dwt/elementium | b003f906d94295397eaf5a53a46f75a8be0e0dd6 | [
"Apache-2.0"
] | 23 | 2015-07-03T03:06:23.000Z | 2021-11-06T06:26:41.000Z | """Elementium provides a wrapper around existing web testing drivers to enable
a more consistent, less frustrating experience."""
from . import elements
__version__ = '2.0.2'
| 25.285714 | 78 | 0.774011 | 24 | 177 | 5.541667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019868 | 0.146893 | 177 | 6 | 79 | 29.5 | 0.860927 | 0.694915 | 0 | 0 | 0 | 0 | 0.104167 | 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 |
3606da7efe91b083f558d9ac8effe855d2b3d284 | 2,627 | py | Python | test_add_film.py | Golom3402/my_first_test | 3dd385b3cab8d828eb54862ff670ff9ed0e81dd5 | [
"Apache-2.0"
] | null | null | null | test_add_film.py | Golom3402/my_first_test | 3dd385b3cab8d828eb54862ff670ff9ed0e81dd5 | [
"Apache-2.0"
] | null | null | null | test_add_film.py | Golom3402/my_first_test | 3dd385b3cab8d828eb54862ff670ff9ed0e81dd5 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from selenium.webdriver.firefox.webdriver import WebDriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
import time, unittest
def is_alert_present(wd):
try:
wd.switch_to_... | 38.072464 | 96 | 0.649791 | 351 | 2,627 | 4.564103 | 0.264957 | 0.097378 | 0.210986 | 0.215356 | 0.530587 | 0.52809 | 0.306492 | 0.203496 | 0.203496 | 0.147316 | 0 | 0.021097 | 0.188047 | 2,627 | 68 | 97 | 38.632353 | 0.729958 | 0 | 0 | 0.113208 | 0 | 0 | 0.156675 | 0.079936 | 0 | 0 | 0 | 0 | 0.018868 | 0 | null | null | 0 | 0.09434 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3650a9214ae5bc57705d8efceda2d74b9d284410 | 62 | py | Python | plugs_filter/__init__.py | solocompt/plugs-filter | cb34c7d662d3f96c07c10b3ed0a34bafef78b52c | [
"MIT"
] | 1 | 2017-01-10T23:25:08.000Z | 2017-01-10T23:25:08.000Z | plugs_filter/__init__.py | solocompt/plugs-filter | cb34c7d662d3f96c07c10b3ed0a34bafef78b52c | [
"MIT"
] | 1 | 2017-01-08T00:01:08.000Z | 2017-01-08T00:01:08.000Z | plugs_filter/__init__.py | solocompt/plugs-filter | cb34c7d662d3f96c07c10b3ed0a34bafef78b52c | [
"MIT"
] | null | null | null | __version__ = '0.3.0-alpha'
from plugs_filter import lookups
| 15.5 | 32 | 0.774194 | 10 | 62 | 4.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.129032 | 62 | 3 | 33 | 20.666667 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 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 |
3654515d64c9578a6b4128f28cb09d3015ce596f | 484 | py | Python | setup.py | skillupco/airflow-valohai-plugin | fffd3d239aec1f907fb4273d7e9edaf60ff00165 | [
"MIT"
] | 12 | 2019-11-26T19:37:08.000Z | 2021-09-01T21:15:45.000Z | setup.py | skillupco/airflow-valohai-plugin | fffd3d239aec1f907fb4273d7e9edaf60ff00165 | [
"MIT"
] | 14 | 2019-09-02T09:56:45.000Z | 2022-03-01T23:10:45.000Z | setup.py | skillupco/airflow-valohai-plugin | fffd3d239aec1f907fb4273d7e9edaf60ff00165 | [
"MIT"
] | 2 | 2020-07-30T22:09:20.000Z | 2020-07-30T22:47:26.000Z | from setuptools import find_packages, setup
setup(
name='airflow-valohai-plugin',
version='0.1.0',
description='Airflow plugin to launch Valohai executions from Airflow tasks',
author='Skillup',
author_email='arimbr@gmail.com',
license='MIT',
packages=find_packages(include=('airflow_valoha... | 26.888889 | 82 | 0.681818 | 53 | 484 | 6.037736 | 0.584906 | 0.203125 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007732 | 0.198347 | 484 | 17 | 83 | 28.470588 | 0.81701 | 0 | 0 | 0 | 0 | 0 | 0.456612 | 0.198347 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
366483519fed7a1c35f400733d736a67056e404f | 7,859 | py | Python | tests/test_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | 3 | 2022-03-21T05:03:39.000Z | 2022-03-23T01:32:51.000Z | tests/test_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | tests/test_sql_rewriter.py | Agile-Data/flat-ql | 3212ae9d0ec4ba822c065bb5e4beccf9e936971b | [
"MIT"
] | null | null | null | import os
from flatql import parse_from_hocon_path
from flatql.parser.ast import Identifier, StringLiteral, IntegerLiteral, DecimalLiteral, Column, Table, View, \
FunctionCall, Comparison, IsNull, Like, In, Between, BinaryExpression, ParenExpression
from flatql.rewriter.sql import SqlIdentifier, SqlContext, SqlLit... | 38.714286 | 119 | 0.732918 | 932 | 7,859 | 5.883047 | 0.104077 | 0.0766 | 0.08809 | 0.102134 | 0.775123 | 0.757797 | 0.712019 | 0.696334 | 0.666971 | 0.623746 | 0 | 0.013285 | 0.128388 | 7,859 | 202 | 120 | 38.905941 | 0.787153 | 0 | 0 | 0.435714 | 0 | 0 | 0.059168 | 0.005344 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.035714 | 0 | 0.178571 | 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 |
366c8b3eff0048faf67c89716dcbf52e58da1aa0 | 13,715 | py | Python | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/hik/retargeter.py | CountZer0/PipelineConstructionSet | 0aa73a8a63c72989b2d1c677efd78dad4388d335 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T05:01:36.000Z | 2021-11-22T13:45:14.000Z | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/hik/retargeter.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | null | null | null | python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/hik/retargeter.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | 7 | 2015-04-11T11:37:19.000Z | 2020-05-22T09:49:04.000Z | import maya.OpenMaya as OpenMaya
import math
import os
import maya.cmds as cmds
import xml.etree.ElementTree as ET
import sys
import xml
import string
import maya
class HIKRetargeter:
"""
TODO: Add python doc description of HIKRetargeter
"""
def __del__(self):
pass
... | 22.156704 | 126 | 0.56121 | 1,416 | 13,715 | 5.424435 | 0.252825 | 0.075641 | 0.021482 | 0.028121 | 0.291368 | 0.247624 | 0.199193 | 0.129931 | 0.104023 | 0.104023 | 0 | 0.002595 | 0.381845 | 13,715 | 618 | 127 | 22.192557 | 0.903397 | 0.423478 | 0 | 0.507937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0 | 1 | 0.460317 | false | 0.465608 | 0.047619 | 0 | 0.534392 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
36746b87a86aefa1778c6d64b2795437b8fa2356 | 188 | py | Python | VSCode_work/chapter9/admin_1.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | 12 | 2020-10-22T14:03:27.000Z | 2022-03-28T08:14:22.000Z | VSCode_work/chapter9/admin_1.py | syncccc/Python-Crash-Course | 51fe429dd606583a790f3c1603bb3439382c09e0 | [
"MIT"
] | null | null | null | VSCode_work/chapter9/admin_1.py | syncccc/Python-Crash-Course | 51fe429dd606583a790f3c1603bb3439382c09e0 | [
"MIT"
] | 9 | 2020-12-22T10:22:12.000Z | 2022-03-28T08:14:53.000Z | # 导入类
from user_0 import User
from user_1 import Admin,Privileges
# 创建一个Admin实例
admin_1 = Admin('yang', 'yahu', 'haerbin', 'navigation')
# 调用方法
admin_1.three_privileges.show_privileges() | 20.888889 | 56 | 0.765957 | 27 | 188 | 5.111111 | 0.592593 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.117021 | 188 | 9 | 57 | 20.888889 | 0.807229 | 0.106383 | 0 | 0 | 0 | 0 | 0.151515 | 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 |
367b2ca58d9d801b0eb0244b8581d6513fd5cdd1 | 459 | py | Python | examples/docs_snippets/docs_snippets/concepts/io_management/root_input_manager.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | examples/docs_snippets/docs_snippets/concepts/io_management/root_input_manager.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | examples/docs_snippets/docs_snippets/concepts/io_management/root_input_manager.py | rpatil524/dagster | 6f918d94cbd543ab752ab484a65e3a40fd441716 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | # pylint: disable=unused-argument
from dagster import In, job, op, root_input_manager
def read_dataframe_from_table(**_kwargs):
pass
# start_marker
@op(ins={"dataframe": In(root_manager_key="my_root_manager")})
def my_op(dataframe):
"""Do some stuff"""
@root_input_manager
def table1_loader(_):
return ... | 17.653846 | 62 | 0.738562 | 67 | 459 | 4.671642 | 0.507463 | 0.095847 | 0.102236 | 0.121406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.130719 | 459 | 25 | 63 | 18.36 | 0.776942 | 0.152505 | 0 | 0 | 0 | 0 | 0.11811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0.090909 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
368af935b990f90dd20b4fcb5419a8dbf82480da | 233 | py | Python | index.py | RubenGamezTorrijos/WebPython3 | f4448641e2bf847a43afcc8ff6dff2da93a99b82 | [
"Apache-2.0"
] | null | null | null | index.py | RubenGamezTorrijos/WebPython3 | f4448641e2bf847a43afcc8ff6dff2da93a99b82 | [
"Apache-2.0"
] | null | null | null | index.py | RubenGamezTorrijos/WebPython3 | f4448641e2bf847a43afcc8ff6dff2da93a99b82 | [
"Apache-2.0"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route()
def Inicio(/):
return render_template ('Inicio.html')
def Sobre Mi(/):
return render_template ('SobreMi.html'
if __name__ == '__main__':
app.run()
| 17.923077 | 40 | 0.708155 | 31 | 233 | 4.83871 | 0.580645 | 0.28 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150215 | 233 | 12 | 41 | 19.416667 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.133047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
368f257705e16eef2aa8ff37fede171f80e90bc8 | 11,793 | py | Python | tests/app/questionnaire/test_rules.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | tests/app/questionnaire/test_rules.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | 8 | 2020-03-24T15:24:18.000Z | 2022-03-02T04:32:56.000Z | tests/app/questionnaire/test_rules.py | qateam123/eq | 704757952323647d659c49a71975c56406ff4047 | [
"MIT"
] | null | null | null | from unittest import TestCase
from app.data_model.answer_store import AnswerStore, Answer
from app.questionnaire.rules import evaluate_rule, evaluate_goto, evaluate_repeat, evaluate_skip_condition, \
evaluate_when_rules
class TestRules(TestCase): # pylint: disable=too-many-public-methods
def test_evaluate_r... | 29.70529 | 109 | 0.478589 | 1,029 | 11,793 | 5.135083 | 0.101069 | 0.104088 | 0.03785 | 0.071915 | 0.809235 | 0.765519 | 0.753785 | 0.690954 | 0.640235 | 0.593679 | 0 | 0.003606 | 0.412109 | 11,793 | 396 | 110 | 29.780303 | 0.758546 | 0.016366 | 0 | 0.508091 | 0 | 0 | 0.12446 | 0.001901 | 0 | 0 | 0 | 0 | 0.074434 | 1 | 0.067961 | false | 0 | 0.009709 | 0 | 0.080906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
369efd0b71aaddb4aa8441d4c2e1cb679ca31149 | 343 | py | Python | VizualisePose.py | Alex-Greenen/SpectralNeuralAnimation | 0f5569f6f78705b11350ff18ccecb1205c642ffd | [
"MIT"
] | null | null | null | VizualisePose.py | Alex-Greenen/SpectralNeuralAnimation | 0f5569f6f78705b11350ff18ccecb1205c642ffd | [
"MIT"
] | null | null | null | VizualisePose.py | Alex-Greenen/SpectralNeuralAnimation | 0f5569f6f78705b11350ff18ccecb1205c642ffd | [
"MIT"
] | null | null | null | from ProcessData.Utils import rotType, getX_full
from VAE.DataBase import DataBase
from ModelCompatibilityRefinement.Vizualise import motion_animation
import Format
db = DataBase('TrainingData')
poses = db.poses[400:800]
motion_animation(getX_full(poses, db.poseDimDiv, Format.skeleton, Format.rotation), Format.skeleto... | 38.111111 | 120 | 0.825073 | 44 | 343 | 6.318182 | 0.568182 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022293 | 0.084548 | 343 | 8 | 121 | 42.875 | 0.863057 | 0 | 0 | 0 | 0 | 0 | 0.046647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
369fae1550964b978dad23a5777afaf3cd833fed | 145 | py | Python | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/exceptions.py | oblalex/simple-python-cli-app-templeate | 63659cf42b9df6a27403c701f805f2d1a9275a93 | [
"MIT"
] | 7 | 2020-02-19T13:26:02.000Z | 2022-03-19T10:35:22.000Z | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/exceptions.py | oblalex/simple-python-cli-app-template | 63659cf42b9df6a27403c701f805f2d1a9275a93 | [
"MIT"
] | null | null | null | {{cookiecutter.package_name}}/{{cookiecutter.package_name}}/exceptions.py | oblalex/simple-python-cli-app-template | 63659cf42b9df6a27403c701f805f2d1a9275a93 | [
"MIT"
] | null | null | null | class {{ cookiecutter.class_name_prefix }}Exception(Exception):
"""
Generic class for errors of {{ cookiecutter.project_name }}.
"""
| 29 | 64 | 0.682759 | 15 | 145 | 6.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17931 | 145 | 4 | 65 | 36.25 | 0.806723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36a68792d071d57921d7ddf63f5e459e96a31847 | 914 | py | Python | src/python/doufo/tensor/vector.py | Hong-Xiang/doufo | 3d375fef30670597768a6eef809b75b4b1b5a3fd | [
"Apache-2.0"
] | 3 | 2018-08-05T07:16:34.000Z | 2018-08-10T05:28:24.000Z | src/python/doufo/tensor/vector.py | tech-pi/doufo | 3d375fef30670597768a6eef809b75b4b1b5a3fd | [
"Apache-2.0"
] | 10 | 2018-09-16T15:44:19.000Z | 2018-10-06T10:39:59.000Z | src/python/doufo/tensor/vector.py | tech-pi/doufo | 3d375fef30670597768a6eef809b75b4b1b5a3fd | [
"Apache-2.0"
] | 1 | 2018-08-04T08:13:50.000Z | 2018-08-04T08:13:50.000Z | from .tensor import Tensor
from typing import TypeVar
from .binary import matmul
from doufo.tensor import as_scalar
from doufo import multidispatch
from typing import Union
import numpy as np
T = TypeVar('T')
__all__ = ['Vector']
class Vector(Tensor[T]):
def __init__(self, data):
super().__init__(data)
... | 17.245283 | 71 | 0.608315 | 130 | 914 | 4.107692 | 0.384615 | 0.061798 | 0.078652 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010687 | 0.28337 | 914 | 52 | 72 | 17.576923 | 0.80458 | 0.043764 | 0 | 0.09375 | 0 | 0 | 0.008343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.21875 | 0.1875 | 0.71875 | 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 |
36b131980e15090346fd96281420c8723b14b558 | 173 | py | Python | 14681.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | 14681.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | 14681.py | pgw00/Beakjoon-python | 677bf6ece5be4843a37aace02edaa29c532721fb | [
"MIT"
] | null | null | null | x=int(input())
y=int(input())
if(x>0 and y>0):
print('1')
elif(x<0 and y>0):
print('2')
elif(x<0 and y<0):
print('3')
elif(x>0 and y<0):
print('4')
| 15.727273 | 19 | 0.485549 | 38 | 173 | 2.210526 | 0.342105 | 0.095238 | 0.238095 | 0.285714 | 0.714286 | 0.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0.092308 | 0.248555 | 173 | 10 | 20 | 17.3 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0.023121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36bc2f5117a92483e8ff5eac8d8fdaf13d6fdb2b | 18,265 | py | Python | tests/unit_tests.py | ptitoliv/cineapp | 4b6a8c68144436c5497353135a013ea783cfd224 | [
"MIT"
] | 2 | 2016-12-02T02:29:01.000Z | 2019-03-03T15:48:50.000Z | tests/unit_tests.py | ptitoliv/cineapp | 4b6a8c68144436c5497353135a013ea783cfd224 | [
"MIT"
] | 128 | 2016-05-22T21:44:20.000Z | 2022-03-11T23:14:18.000Z | tests/unit_tests.py | ptitoliv/cineapp | 4b6a8c68144436c5497353135a013ea783cfd224 | [
"MIT"
] | 1 | 2017-08-20T14:14:52.000Z | 2017-08-20T14:14:52.000Z | # -*- coding: utf-8 -*-
from future import standard_library
standard_library.install_aliases()
import os, sys, json
from cineapp import app, db
from cineapp import slack
from cineapp.models import User, Type, Origin
from bcrypt import hashpw, gensalt
import unittest
import tempfile
import shutil
import io
from bs4 imp... | 44.87715 | 1,887 | 0.613359 | 2,352 | 18,265 | 4.63648 | 0.144133 | 0.029711 | 0.044567 | 0.091701 | 0.714443 | 0.694911 | 0.654837 | 0.64044 | 0.622192 | 0.60807 | 0 | 0.012355 | 0.237832 | 18,265 | 406 | 1,888 | 44.987685 | 0.770993 | 0.075335 | 0 | 0.467433 | 0 | 0 | 0.223423 | 0.039176 | 0 | 0 | 0 | 0 | 0.210728 | 1 | 0.065134 | false | 0.076628 | 0.045977 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
36c138af513c5a28dc5cb0c9989233f94d56896f | 107 | py | Python | Math.py | johnnynieves/Kids_Math_Game | 7b7eb3a9f4c89a8123f9c1e0748637a641480a23 | [
"MIT"
] | null | null | null | Math.py | johnnynieves/Kids_Math_Game | 7b7eb3a9f4c89a8123f9c1e0748637a641480a23 | [
"MIT"
] | null | null | null | Math.py | johnnynieves/Kids_Math_Game | 7b7eb3a9f4c89a8123f9c1e0748637a641480a23 | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
import menu
def main():
menu.console()
if __name__ == "__main__":
main() | 11.888889 | 26 | 0.616822 | 14 | 107 | 4.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.214953 | 107 | 9 | 27 | 11.888889 | 0.678571 | 0.205607 | 0 | 0 | 0 | 0 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
36cc4e1a2385310c06ad6abddd7847f5731ff7df | 641 | py | Python | app/models/scienceWork.py | Tharitos/mse_teacher_plan | 4c577f810eb040c4a74810c98e2c8c4b514caf5d | [
"MIT"
] | null | null | null | app/models/scienceWork.py | Tharitos/mse_teacher_plan | 4c577f810eb040c4a74810c98e2c8c4b514caf5d | [
"MIT"
] | null | null | null | app/models/scienceWork.py | Tharitos/mse_teacher_plan | 4c577f810eb040c4a74810c98e2c8c4b514caf5d | [
"MIT"
] | null | null | null | from mongoengine import DateTimeField, StringField
from app.models.default_model import *
class ScienceWork(DefaultModel):
start_date = DateTimeField(**default_params, verbose_name='Дата начала')
organization = StringField(**default_string_params, verbose_name='Организация')
work_name = StringField(**defa... | 53.416667 | 92 | 0.780031 | 70 | 641 | 6.857143 | 0.5 | 0.1625 | 0.2125 | 0.25 | 0.529167 | 0.529167 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0.112324 | 641 | 12 | 93 | 53.416667 | 0.843585 | 0 | 0 | 0 | 0 | 0 | 0.138629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
36dfcca774d38fe4023f98e90caaf8b9500c5385 | 69 | py | Python | face_recognition/helpers/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | null | null | null | face_recognition/helpers/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | 3 | 2020-06-19T13:27:25.000Z | 2020-06-19T13:50:29.000Z | face_recognition/helpers/__init__.py | platanus/face-recognition | def3b4d1a679cea4358336cb5c0a2b8d076143ae | [
"MIT"
] | null | null | null | from . import simple_metric_report as reports
__all__ = ["reports"]
| 17.25 | 45 | 0.768116 | 9 | 69 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 3 | 46 | 23 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 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 |
36e12ae7a5c760cca86592926fb2c178ca59eafe | 430 | py | Python | benchmarks/method-call.py | aument-lang/aument | 5db67132fa1976deafbac246c6613d4ebcceb4f8 | [
"Apache-2.0"
] | 30 | 2021-03-13T08:06:32.000Z | 2022-03-21T10:09:58.000Z | benchmarks/method-call.py | aument-lang/aument | 5db67132fa1976deafbac246c6613d4ebcceb4f8 | [
"Apache-2.0"
] | 2 | 2021-03-28T14:40:37.000Z | 2021-04-01T08:56:31.000Z | benchmarks/method-call.py | chm8d/aulang | 5db67132fa1976deafbac246c6613d4ebcceb4f8 | [
"Apache-2.0"
] | null | null | null | class Counter:
def reset(self):
self.number = 0
def up(self):
self.number += 1
def main():
counter = Counter()
counter.reset()
for i in range(1000000):
counter.up()
counter.up()
counter.up()
counter.up()
counter.up()
counter.up()
... | 18.695652 | 28 | 0.493023 | 48 | 430 | 4.416667 | 0.3125 | 0.424528 | 0.754717 | 0.764151 | 0.457547 | 0.457547 | 0.457547 | 0.457547 | 0.457547 | 0.457547 | 0 | 0.03321 | 0.369767 | 430 | 23 | 29 | 18.695652 | 0.749077 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.190476 | 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 |
7fed66cae06c0f80c80c3d7cb7e32ab5c812a25c | 141 | py | Python | source/resourcer_defines.py | KonstantIMP/resourcer | aee6c2986e026167d85108f746633b969c739be2 | [
"MIT"
] | null | null | null | source/resourcer_defines.py | KonstantIMP/resourcer | aee6c2986e026167d85108f746633b969c739be2 | [
"MIT"
] | null | null | null | source/resourcer_defines.py | KonstantIMP/resourcer | aee6c2986e026167d85108f746633b969c739be2 | [
"MIT"
] | null | null | null | major_ver = '0'
minor_ver = '0'
build_num = '0'
version_str = major_ver + '.' + minor_ver + '.' + build_num + " (BUILD : " + build_num + ')' | 28.2 | 92 | 0.58156 | 20 | 141 | 3.7 | 0.4 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.205674 | 141 | 5 | 92 | 28.2 | 0.633929 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 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 |
7ff31454e0ff4efbb0fa054c1c41b8461c46ffe0 | 955 | py | Python | backend/config.py | Kwsswart/writter | 851b887d0c8b0a9489f530065f0efe744bb149f3 | [
"MIT"
] | null | null | null | backend/config.py | Kwsswart/writter | 851b887d0c8b0a9489f530065f0efe744bb149f3 | [
"MIT"
] | null | null | null | backend/config.py | Kwsswart/writter | 851b887d0c8b0a9489f530065f0efe744bb149f3 | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
basedir = os.path.abspath(os.path.dirname(__file__))
load_dotenv(os.path.join(basedir, '.env'))
class Config(object):
""" Retain all config variables """
SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess'
SQLALCHEMY_DATABASE_URI = os.environ.g... | 34.107143 | 71 | 0.704712 | 137 | 955 | 4.635037 | 0.445255 | 0.141732 | 0.188976 | 0.125984 | 0.066142 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002488 | 0.158115 | 955 | 27 | 72 | 35.37037 | 0.787313 | 0.028272 | 0 | 0 | 0 | 0 | 0.184984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.105263 | 0 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7ffe10e6e304bc57689ce55eaa2423d52838e030 | 634 | py | Python | tests/functional/pages/sign_up.py | Alex-T13/sts_13_on_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 3 | 2020-11-03T23:49:28.000Z | 2020-11-13T07:25:33.000Z | tests/functional/pages/sign_up.py | Alex-T13/sts_13_on_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 6 | 2021-04-06T18:21:20.000Z | 2021-09-22T19:45:26.000Z | tests/functional/pages/sign_up.py | Alex-T13/sts_13_without_FastAPI | aab2a5b542b75230c7f0d7bdcdad292f424c638c | [
"MIT"
] | 1 | 2021-01-26T19:45:37.000Z | 2021-01-26T19:45:37.000Z | from selenium.webdriver.common.by import By
from .abstract import PageElement
from .abstract import PageObject
class SignUpPage(PageObject):
username = PageElement(By.CSS_SELECTOR, "#id_sign_up_form #id_username")
email = PageElement(By.CSS_SELECTOR, "#id_sign_up_form #id_email")
password = PageElement(B... | 39.625 | 81 | 0.768139 | 90 | 634 | 5.011111 | 0.277778 | 0.119734 | 0.141907 | 0.31929 | 0.532151 | 0.532151 | 0.532151 | 0.532151 | 0.532151 | 0.195122 | 0 | 0.003643 | 0.134069 | 634 | 15 | 82 | 42.266667 | 0.817851 | 0 | 0 | 0 | 0 | 0 | 0.288644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3d026dd5db1590ba4c82e8520c4765ba1a6bcc56 | 482 | py | Python | relax/relax/estimators/BayesFactor.py | jtristan/FormalML | b9f54593c7f2badde15953de876ee214e23b34a0 | [
"Apache-2.0"
] | 4 | 2020-07-15T07:57:28.000Z | 2021-02-22T11:10:19.000Z | relax/relax/estimators/BayesFactor.py | jtristan/FormalML | b9f54593c7f2badde15953de876ee214e23b34a0 | [
"Apache-2.0"
] | null | null | null | relax/relax/estimators/BayesFactor.py | jtristan/FormalML | b9f54593c7f2badde15953de876ee214e23b34a0 | [
"Apache-2.0"
] | null | null | null | # Copyright © 2020, Oracle and/or its affiliates. All rights reserved.
import numpy as np
from scipy.special import logsumexp
class BFEstimator():
def descriptor(self):
pass
def estimate(self,num_samples,bf):
pass
def MC_BF_integrator(self,num_samples, log_p_0, log_p_a):
ev... | 22.952381 | 70 | 0.647303 | 75 | 482 | 3.933333 | 0.506667 | 0.135593 | 0.094915 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022535 | 0.263485 | 482 | 20 | 71 | 24.1 | 0.805634 | 0.141079 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.166667 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3d0e04269e8cb3a194010782ded96d33b6eb03f2 | 170 | py | Python | libgsync/__init__.py | iwonbigbro/gsync | 03db22fe826f073e56877918b0acb7b4ba908f18 | [
"BSD-3-Clause"
] | 199 | 2015-01-05T04:45:03.000Z | 2021-08-15T12:04:03.000Z | libgsync/__init__.py | iwonbigbro/gsync | 03db22fe826f073e56877918b0acb7b4ba908f18 | [
"BSD-3-Clause"
] | 42 | 2015-01-06T13:38:49.000Z | 2021-11-23T19:36:20.000Z | libgsync/__init__.py | iwonbigbro/gsync | 03db22fe826f073e56877918b0acb7b4ba908f18 | [
"BSD-3-Clause"
] | 49 | 2015-01-06T13:45:11.000Z | 2022-03-22T11:46:29.000Z | #!/usr/bin/env python
# -*- coding: utf8 -*-
# Copyright (C) 2013-2014 Craig Phillips. All rights reserved.
"""Gsync Library version 0.1.14"""
__version__ = '0.1.14'
| 18.888889 | 63 | 0.652941 | 25 | 170 | 4.28 | 0.84 | 0.149533 | 0.168224 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 0.158824 | 170 | 8 | 64 | 21.25 | 0.629371 | 0.776471 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3d16369d384d0fcca02278246fedcb06403835ae | 311 | py | Python | Test/Locators/generator/group.py | TestQA14/RobotFrameworkTest | 3acf9e859e8938f77aae4628d9d335b315489d65 | [
"Apache-2.0"
] | null | null | null | Test/Locators/generator/group.py | TestQA14/RobotFrameworkTest | 3acf9e859e8938f77aae4628d9d335b315489d65 | [
"Apache-2.0"
] | null | null | null | Test/Locators/generator/group.py | TestQA14/RobotFrameworkTest | 3acf9e859e8938f77aae4628d9d335b315489d65 | [
"Apache-2.0"
] | null | null | null | import random
import string
import Variables.py
def random_string(prefix, maxlen):
symbols = string.ascii_letters + string.digits + string.punctuation + " "*10
return prefix + "".join([random.choice(symbols) for i in range(random.randrange(maxlen))])
Variables.FB_FirstName = random_string("name", 10) | 34.555556 | 94 | 0.749196 | 41 | 311 | 5.585366 | 0.609756 | 0.104803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01476 | 0.128617 | 311 | 9 | 95 | 34.555556 | 0.830258 | 0 | 0 | 0 | 0 | 0 | 0.016026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3d1a4dbc036b04b8dd1fa47d1f6c5f84fe5b1a5d | 15,585 | py | Python | azure-quantum/tests/unit/test_qiskit.py | rigetti/qdk-python | 217fa111a6a955b3ec49e4013df70fb36cdd9a42 | [
"MIT"
] | 1 | 2022-03-27T16:43:20.000Z | 2022-03-27T16:43:20.000Z | azure-quantum/tests/unit/test_qiskit.py | rigetti/qdk-python | 217fa111a6a955b3ec49e4013df70fb36cdd9a42 | [
"MIT"
] | null | null | null | azure-quantum/tests/unit/test_qiskit.py | rigetti/qdk-python | 217fa111a6a955b3ec49e4013df70fb36cdd9a42 | [
"MIT"
] | null | null | null | #!/bin/env python
# -*- coding: utf-8 -*-
##
# test_qiskit.py: Tests for Qiskit plugin
##
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
##
import unittest
import warnings
import pytest
import numpy as np
from qiskit import QuantumCircuit
from qiskit.providers import Job... | 42.350543 | 111 | 0.647738 | 1,855 | 15,585 | 5.168733 | 0.115364 | 0.044118 | 0.035044 | 0.042553 | 0.784835 | 0.758552 | 0.715791 | 0.684814 | 0.650083 | 0.621819 | 0 | 0.017376 | 0.25409 | 15,585 | 367 | 112 | 42.46594 | 0.807398 | 0.045685 | 0 | 0.579861 | 0 | 0 | 0.077172 | 0.0215 | 0 | 0 | 0 | 0 | 0.225694 | 1 | 0.076389 | false | 0 | 0.041667 | 0.003472 | 0.138889 | 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 |
3d42b6b3c09cfd1abf6cd9860a6d845a1f5c6706 | 713 | py | Python | thirdparty/open_pdk/C4M.Sky130/libs.tech/coriolis/techno/etc/coriolis2/node130/sky130/StdCellLib_fix.py | jpc-lip6/mpw4 | 10ffe21769db0a4cfaa14694bdaa9f6c0672dee8 | [
"BSD-2-Clause"
] | 3 | 2021-12-23T13:19:07.000Z | 2021-12-29T23:44:53.000Z | thirdparty/open_pdk/C4M.Sky130/libs.tech/coriolis/techno/etc/coriolis2/node130/sky130/StdCellLib_fix.py | jpc-lip6/mpw4 | 10ffe21769db0a4cfaa14694bdaa9f6c0672dee8 | [
"BSD-2-Clause"
] | 8 | 2021-12-10T22:05:32.000Z | 2021-12-29T13:36:05.000Z | thirdparty/open_pdk/C4M.Sky130/libs.tech/coriolis/techno/etc/coriolis2/node130/sky130/StdCellLib_fix.py | jpc-lip6/mpw4 | 10ffe21769db0a4cfaa14694bdaa9f6c0672dee8 | [
"BSD-2-Clause"
] | 1 | 2021-12-18T16:52:06.000Z | 2021-12-18T16:52:06.000Z | from Hurricane import Net
def fix(lib):
for cell in lib.getCells():
for net in cell.getNets():
if net.getName() == 'vdd':
net.setType( Net.Type.POWER )
net.setDirection( Net.Direction.IN )
elif net.getName() == 'vss':
net.setType( Net.... | 37.526316 | 61 | 0.506311 | 78 | 713 | 4.628205 | 0.397436 | 0.207756 | 0.249307 | 0.373961 | 0.437673 | 0.357341 | 0.357341 | 0.357341 | 0 | 0 | 0 | 0 | 0.363254 | 713 | 18 | 62 | 39.611111 | 0.795154 | 0 | 0 | 0.235294 | 0 | 0 | 0.025245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 |
3d584ea547606ec8c85a5cd74ffbb6a458e24280 | 2,675 | py | Python | src/Pybind11Wraps/Plane.py | bransonstephens/PolyClipper | 9a86d1a2398c120952de3494ead9e6790c66fcdd | [
"BSD-3-Clause"
] | 9 | 2020-07-05T14:20:41.000Z | 2021-12-25T20:30:47.000Z | src/Pybind11Wraps/Plane.py | bransonstephens/PolyClipper | 9a86d1a2398c120952de3494ead9e6790c66fcdd | [
"BSD-3-Clause"
] | 8 | 2021-01-28T08:51:53.000Z | 2021-12-30T08:57:07.000Z | src/Pybind11Wraps/Plane.py | bransonstephens/PolyClipper | 9a86d1a2398c120952de3494ead9e6790c66fcdd | [
"BSD-3-Clause"
] | 1 | 2021-12-20T10:22:08.000Z | 2021-12-20T10:22:08.000Z | from PYB11Generator import *
@PYB11template("VA")
class Plane:
"""The PolyClipper plane.
A plane is defined by a signed scalar distance (dist) and unit normal (normal).
The distance d represents the signed shortest distance from the plane to the
origin:
dist = -P0.dot(normal),
where "P0" is a point in the... | 32.621951 | 191 | 0.445981 | 259 | 2,675 | 4.517375 | 0.374517 | 0.047863 | 0.034188 | 0.028205 | 0.155556 | 0.105983 | 0.105983 | 0.052991 | 0 | 0 | 0 | 0.011263 | 0.236636 | 2,675 | 81 | 192 | 33.024691 | 0.561704 | 0.570467 | 0 | 0.189189 | 0 | 0.027027 | 0.395757 | 0.060717 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.027027 | 0.135135 | 0.540541 | 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 |
e9fc53eff4e31d54657fa0940bd23390da470a4d | 667 | py | Python | views/__init__.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | views/__init__.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | views/__init__.py | MatthewKosloski/student-information-system | a3469647298d62c45c793e70a3ac70c0524340e2 | [
"CECILL-B"
] | null | null | null | from .main import MainView
from .login import LoginView
from .about import AboutView
from .student import StudentView
from .profile import ProfileView
from .password import PasswordView
from .grades import GradesView
from .sections import SectionsView
from .term_selection import TermSelectionView
from .search import Se... | 37.055556 | 56 | 0.866567 | 78 | 667 | 7.333333 | 0.5 | 0.104895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106447 | 667 | 18 | 56 | 37.055556 | 0.959732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.055556 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
1804a0e3cd34c6c0daebccbef4b81a6886d23931 | 431 | py | Python | nidaqmx/__init__.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 252 | 2017-03-22T02:43:16.000Z | 2022-03-27T14:44:44.000Z | nidaqmx/__init__.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 133 | 2017-03-21T20:57:59.000Z | 2022-03-31T16:08:12.000Z | nidaqmx/__init__.py | stafak/nidaqmx-python | f354d7971b21074c120c6f298dbbf4a5e0e4f4f4 | [
"MIT"
] | 124 | 2017-04-01T18:35:24.000Z | 2022-03-25T06:30:00.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from nidaqmx.errors import DaqError, DaqWarning, DaqResourceWarning
from nidaqmx.scale import Scale
from nidaqmx.task import Task
from nidaqmx._task_modules.read_functio... | 35.916667 | 74 | 0.832947 | 55 | 431 | 6.036364 | 0.490909 | 0.120482 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104408 | 431 | 11 | 75 | 39.181818 | 0.857513 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.888889 | null | null | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
183b4a52d74c4e047507be8525f2bd0c3bb14a07 | 4,291 | py | Python | cyberpandas/mac_array.py | jbrockmendel/cyberpandas | 0db23fcdf91eede631ed603cb321f39d834bd12c | [
"BSD-3-Clause"
] | 89 | 2018-02-10T18:12:24.000Z | 2022-03-25T22:42:29.000Z | cyberpandas/mac_array.py | jbrockmendel/cyberpandas | 0db23fcdf91eede631ed603cb321f39d834bd12c | [
"BSD-3-Clause"
] | 24 | 2018-02-21T14:47:22.000Z | 2021-09-22T17:50:31.000Z | cyberpandas/mac_array.py | jbrockmendel/cyberpandas | 0db23fcdf91eede631ed603cb321f39d834bd12c | [
"BSD-3-Clause"
] | 21 | 2018-02-22T12:39:39.000Z | 2022-01-14T21:52:58.000Z | from collections import Iterable
import numpy as np
import six
from pandas.api.extensions import (
ExtensionDtype, take, register_extension_dtype)
from .base import NumPyBackedExtensionArrayMixin
@register_extension_dtype
class MACType(ExtensionDtype):
"""Dtype for MAC Address Data."""
name = 'mac'
... | 26.652174 | 79 | 0.622 | 541 | 4,291 | 4.737523 | 0.286506 | 0.034335 | 0.029263 | 0.029653 | 0.124464 | 0.124464 | 0.103394 | 0.067109 | 0.033554 | 0 | 0 | 0.019054 | 0.266138 | 4,291 | 160 | 80 | 26.81875 | 0.794856 | 0.091121 | 0 | 0.055556 | 0 | 0 | 0.019385 | 0 | 0 | 0 | 0 | 0.0125 | 0.009259 | 1 | 0.259259 | false | 0 | 0.046296 | 0.166667 | 0.648148 | 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 | 1 | 0 | 0 | 0 | 3 |
18711733839349c2a714e8ebf8dcf5e6d4a6e34d | 243 | py | Python | list2dictionary.py | ananyakharbanda/vanilla-latte | ad6cef32710f6e716e638a73dd87ee128796fe95 | [
"MIT"
] | null | null | null | list2dictionary.py | ananyakharbanda/vanilla-latte | ad6cef32710f6e716e638a73dd87ee128796fe95 | [
"MIT"
] | null | null | null | list2dictionary.py | ananyakharbanda/vanilla-latte | ad6cef32710f6e716e638a73dd87ee128796fe95 | [
"MIT"
] | null | null | null |
def l2d(list):
dictionary = {}
for i in list:
if i in dictionary:
dictionary[i] = dictionary[i] + 1
else:
dictionary[i] = 1
return dictionary
if __name__ == '__main__':
print(l2d(list)) | 20.25 | 45 | 0.534979 | 29 | 243 | 4.206897 | 0.482759 | 0.270492 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.353909 | 243 | 12 | 46 | 20.25 | 0.751592 | 0 | 0 | 0 | 0 | 0 | 0.032922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.2 | 0.1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a103e64f2fc649253c3e68a4c64f1fb18f718cef | 1,678 | py | Python | QAL.py | rp25/wheelofjeopardy | 8f9e3ee56afbcddc5e3c12ca3273db8b0a83a63c | [
"MIT"
] | null | null | null | QAL.py | rp25/wheelofjeopardy | 8f9e3ee56afbcddc5e3c12ca3273db8b0a83a63c | [
"MIT"
] | null | null | null | QAL.py | rp25/wheelofjeopardy | 8f9e3ee56afbcddc5e3c12ca3273db8b0a83a63c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Aug 5 09:57:21 2019
@author: Rajan
"""
#This class creates a QAL object (Question, Answer, Level)
class QAL:
#Each QAL object requires a question, answer and level
def __init__(self, question, answer, level):
self.question = question
self... | 27.508197 | 89 | 0.581049 | 219 | 1,678 | 4.43379 | 0.383562 | 0.061792 | 0.057673 | 0.028836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012015 | 0.355185 | 1,678 | 61 | 90 | 27.508197 | 0.885397 | 0.410012 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0 | 0 | 0.148148 | 0.592593 | 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 |
a135e71571fc39d1b8c64f2bd1919dd293bf766c | 444 | py | Python | test_skcuda.py | anubhav-jangra/CCA-images-text | bdb912abeda326e066051aead4ce1b6c08ad58e3 | [
"MIT"
] | 16 | 2017-07-17T03:48:41.000Z | 2021-09-08T07:49:22.000Z | test_skcuda.py | anubhav-jangra/CCA-images-text | bdb912abeda326e066051aead4ce1b6c08ad58e3 | [
"MIT"
] | 1 | 2020-03-12T09:31:47.000Z | 2020-03-12T09:31:47.000Z | test_skcuda.py | anubhav-jangra/CCA-images-text | bdb912abeda326e066051aead4ce1b6c08ad58e3 | [
"MIT"
] | 8 | 2018-07-21T16:37:39.000Z | 2021-04-09T11:10:08.000Z | import pycuda.gpuarray as gpuarray
import pycuda.autoinit
import numpy as np
import skcuda.linalg as linalg
linalg.init()
a = np.asarray(np.random.rand(4,2), np.float32)
b = np.asarray(np.random.rand(2,2), np.float32)
c = np.asarray(np.random.rand(2,2), np.float32)
a_gpu = gpuarray.to_gpu(a)
b_gpu = gpuarray.to_gpu(b)... | 29.6 | 54 | 0.734234 | 90 | 444 | 3.5 | 0.3 | 0.085714 | 0.104762 | 0.161905 | 0.269841 | 0.203175 | 0.203175 | 0.203175 | 0.203175 | 0 | 0 | 0.030151 | 0.103604 | 444 | 14 | 55 | 31.714286 | 0.761307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.307692 | null | null | 0.076923 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a13cd01db34b00c3f709ed9189db22a97e6e2fff | 875 | py | Python | flask_debugtoolbar/panels/route_list.py | holg/flask-debugtoolbar | 30297abbd97aae5f51ad5cc2ae40c4b8366de86a | [
"BSD-3-Clause"
] | 504 | 2015-01-04T12:27:43.000Z | 2020-02-23T01:14:37.000Z | flask_debugtoolbar/panels/route_list.py | holg/flask-debugtoolbar | 30297abbd97aae5f51ad5cc2ae40c4b8366de86a | [
"BSD-3-Clause"
] | 75 | 2015-01-08T08:57:28.000Z | 2020-02-23T16:37:03.000Z | flask_debugtoolbar/panels/route_list.py | holg/flask-debugtoolbar | 30297abbd97aae5f51ad5cc2ae40c4b8366de86a | [
"BSD-3-Clause"
] | 85 | 2015-01-11T01:57:42.000Z | 2020-02-26T19:39:24.000Z | from flask_debugtoolbar.panels import DebugPanel
from flask import current_app
_ = lambda x: x
class RouteListDebugPanel(DebugPanel):
"""
Panel that displays the URL routing rules.
"""
name = 'RouteList'
has_content = True
routes = []
def nav_title(self):
return _('Route List')
... | 22.435897 | 69 | 0.587429 | 102 | 875 | 4.892157 | 0.509804 | 0.08016 | 0.06012 | 0.08016 | 0.108216 | 0.108216 | 0 | 0 | 0 | 0 | 0 | 0.001637 | 0.301714 | 875 | 38 | 70 | 23.026316 | 0.815057 | 0.048 | 0 | 0.076923 | 0 | 0 | 0.107711 | 0.026928 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.653846 | 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 |
a14966fcc6840f4aff4e62a5a73265cae1c9488b | 2,877 | py | Python | environment.py | andrewevans0102/reys-wines | f2bb65a9896ad9f2bc519704b46fea7d19c585d0 | [
"MIT"
] | null | null | null | environment.py | andrewevans0102/reys-wines | f2bb65a9896ad9f2bc519704b46fea7d19c585d0 | [
"MIT"
] | null | null | null | environment.py | andrewevans0102/reys-wines | f2bb65a9896ad9f2bc519704b46fea7d19c585d0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import fileinput
import os
RW_PROJECT_ID = os.environ['RW_PROJECT_ID']
RW_API_KEY = os.environ['RW_API_KEY']
RW_AUTH_DOMAIN = os.environ['RW_AUTH_DOMAIN']
RW_DATABASE_URL = os.environ['RW_DATABASE_URL']
RW_STORAGE_BUCKET = os.environ['RW_STORAGE_BUCKET']
RW_MESSAGING_SENDER_ID = os.environ['RW_M... | 40.521127 | 81 | 0.735141 | 387 | 2,877 | 5.191214 | 0.157623 | 0.135391 | 0.194624 | 0.211548 | 0.727725 | 0.680438 | 0.680438 | 0.680438 | 0.621702 | 0.621702 | 0 | 0.000414 | 0.159889 | 2,877 | 71 | 82 | 40.521127 | 0.830782 | 0.082377 | 0 | 0.517857 | 0 | 0 | 0.267199 | 0.050551 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053571 | false | 0 | 0.035714 | 0 | 0.089286 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a159356d419b22ddefda82e4ea07bd015d876477 | 359 | py | Python | worker/app.py | marcopaga/feeding-the-ci-process | 96ff757758835a7e03b28042a9bfecaa72c85595 | [
"MIT"
] | null | null | null | worker/app.py | marcopaga/feeding-the-ci-process | 96ff757758835a7e03b28042a9bfecaa72c85595 | [
"MIT"
] | null | null | null | worker/app.py | marcopaga/feeding-the-ci-process | 96ff757758835a7e03b28042a9bfecaa72c85595 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
import redis
host="redis"
# Uncomment next two lines if you do not have Kube-DNS working.
import os
redis_service_host = os.getenv("REDIS_SERVICE_HOST")
redisClient = redis.StrictRedis(host=redis_service_host, password="password", port=6379, db=0)
while(True):
print(redisClien... | 23.933333 | 95 | 0.752089 | 55 | 359 | 4.8 | 0.690909 | 0.136364 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.125348 | 359 | 15 | 96 | 23.933333 | 0.821656 | 0.228412 | 0 | 0 | 0 | 0 | 0.148551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.333333 | 0 | 0.333333 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
a15ee3a2176ce798952bf800b885971a09d69333 | 506 | py | Python | solver/eulerlib.py | EricMei542/ProjectEulerSolutions | c841dca04545e2f32001c7fcfca7c1a253d3ce02 | [
"MIT"
] | null | null | null | solver/eulerlib.py | EricMei542/ProjectEulerSolutions | c841dca04545e2f32001c7fcfca7c1a253d3ce02 | [
"MIT"
] | null | null | null | solver/eulerlib.py | EricMei542/ProjectEulerSolutions | c841dca04545e2f32001c7fcfca7c1a253d3ce02 | [
"MIT"
] | null | null | null | import numpy as np
import math
def is_prime(n: int) -> bool:
"""Return if n is a prime number."""
if n > 2 and n % 2 == 0:
return False
return n == 2 or np.all([n % x for x in range(3, int(np.sqrt(n)) + 1)])
def prime_factors(n: int) -> list:
prime_factors_list = []
for i in range(2,int(m... | 24.095238 | 75 | 0.559289 | 88 | 506 | 3.102273 | 0.375 | 0.21978 | 0.234432 | 0.161172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02849 | 0.306324 | 506 | 20 | 76 | 25.3 | 0.749288 | 0.059289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.133333 | 0 | 0.466667 | 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 |
a1934fa39531edf2203a1d0160adab652241fcb7 | 212 | py | Python | TD_1/config.py | GuillaumeVIMONT/TD_UP2_EEJSI | 7d8efcd03df08d2b7bccbb70bd167bb94ebf88da | [
"MIT"
] | 1 | 2020-07-14T11:25:10.000Z | 2020-07-14T11:25:10.000Z | TD_1/config.py | GuillaumeVIMONT/TD_UP2_EEJSI | 7d8efcd03df08d2b7bccbb70bd167bb94ebf88da | [
"MIT"
] | null | null | null | TD_1/config.py | GuillaumeVIMONT/TD_UP2_EEJSI | 7d8efcd03df08d2b7bccbb70bd167bb94ebf88da | [
"MIT"
] | null | null | null | class TwitterAuth:
# Go to http://dev.twitter.com and create an app.
# The consumer key and secret will be generated for you after
consumer_key=""
consumer_secret=""
access_token=""
access_token_secret=""
| 26.5 | 62 | 0.745283 | 32 | 212 | 4.78125 | 0.75 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15566 | 212 | 7 | 63 | 30.285714 | 0.854749 | 0.509434 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a19ee83c42c9171d4a7d0037c98f367b42fe67e0 | 846 | py | Python | test/test_util.py | ScottWales/metadata-db | 487f340c4cf7826da5fa435097ca1650f6f13c20 | [
"Apache-2.0"
] | null | null | null | test/test_util.py | ScottWales/metadata-db | 487f340c4cf7826da5fa435097ca1650f6f13c20 | [
"Apache-2.0"
] | 13 | 2018-03-15T00:36:57.000Z | 2018-04-18T01:15:11.000Z | test/test_util.py | ScottWales/metadata-db | 487f340c4cf7826da5fa435097ca1650f6f13c20 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2018 ARC Centre of Excellence for Climate Extremes
# author: Scott Wales <scott.wales@unimelb.edu.au>
#
# 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
#
# ... | 35.25 | 74 | 0.747045 | 135 | 846 | 4.614815 | 0.688889 | 0.096308 | 0.041734 | 0.051364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025605 | 0.169031 | 846 | 23 | 75 | 36.782609 | 0.860597 | 0.770686 | 0 | 0 | 0 | 0 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.2 | 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 |
a1aa08629cfdb86f9c79e4bc9a1d7e6cffa2855d | 83 | py | Python | notes/code/sockets/myip.py | skrilladeville/msds692 | 1690846e7299819cd5b1b24a56968bf1074e16bf | [
"MIT"
] | 87 | 2018-08-10T23:27:24.000Z | 2022-03-29T05:07:45.000Z | notes/code/sockets/myip.py | skrilladeville/msds692 | 1690846e7299819cd5b1b24a56968bf1074e16bf | [
"MIT"
] | 1 | 2019-10-06T15:45:03.000Z | 2019-10-06T15:45:03.000Z | notes/code/sockets/myip.py | skrilladeville/msds692 | 1690846e7299819cd5b1b24a56968bf1074e16bf | [
"MIT"
] | 171 | 2018-08-20T23:59:43.000Z | 2022-03-31T16:21:52.000Z | import netifaces as ni
ip = ni.ifaddresses('en0')[ni.AF_INET][0]['addr']
print(ip)
| 20.75 | 49 | 0.698795 | 15 | 83 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.096386 | 83 | 3 | 50 | 27.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a1ca16a3b29b524ff0a2d751f894cfb32daf448d | 139 | py | Python | py/minsk/analysis/binding/operators/unary/kind.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | py/minsk/analysis/binding/operators/unary/kind.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | 1 | 2022-03-23T03:34:48.000Z | 2022-03-24T06:47:30.000Z | py/minsk/analysis/binding/operators/unary/kind.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | from enum import Enum, auto
class BoundUnaryOperatorKind(Enum):
Identity = auto()
Negation = auto()
LogicalNegation = auto()
| 17.375 | 35 | 0.690647 | 14 | 139 | 6.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215827 | 139 | 7 | 36 | 19.857143 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a1ef922dd22e5cffa58985ac0076a5cdde9b37bb | 674 | py | Python | cplxmodule/nn/modules/__init__.py | sophiaas/cplxmodule | ff051d96a7465ce7f155850a90a3664101f2b032 | [
"MIT"
] | null | null | null | cplxmodule/nn/modules/__init__.py | sophiaas/cplxmodule | ff051d96a7465ce7f155850a90a3664101f2b032 | [
"MIT"
] | null | null | null | cplxmodule/nn/modules/__init__.py | sophiaas/cplxmodule | ff051d96a7465ce7f155850a90a3664101f2b032 | [
"MIT"
] | null | null | null | from .base import CplxToCplx, CplxParameter
from .casting import AsTypeCplx
from .casting import CplxToInterleavedReal as CplxToReal
from .casting import InterleavedRealToCplx as RealToCplx
from .linear import CplxLinear, CplxBilinear
from .linear import CplxReal, CplxImag, CplxIdentity
from .conv import CplxConv1d,... | 32.095238 | 79 | 0.851632 | 68 | 674 | 8.441176 | 0.558824 | 0.057491 | 0.08885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015025 | 0.111276 | 674 | 20 | 80 | 33.7 | 0.943239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1f1f2c51ab5dc003c188c50173b681db49e1431 | 13,376 | py | Python | app/model.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | 1 | 2019-09-10T15:01:28.000Z | 2019-09-10T15:01:28.000Z | app/model.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | null | null | null | app/model.py | JONGWE1/BankManagement | 363ecdc950ee9c38538b83cddaf1c1d8bd6322d0 | [
"MIT"
] | null | null | null | from . import db
# 对应的关系表 比如1-男 0-女 0-普通 1-副主治 2-主治 3-专家等写死还是创建表
class UserGroup(db.Model):
__tablename__ = 'usergroup'
id = db.Column(db.Integer, primary_key=True) # 每个用户记得添加用户组
name = db.Column(db.String(64))
class UserInfo(db.Model): # 医生,管理员,院长一张表
__tablename__ = 'userinfo'
id = db.Column(... | 36.646575 | 104 | 0.677931 | 1,687 | 13,376 | 5.244221 | 0.123889 | 0.162767 | 0.203459 | 0.160959 | 0.655589 | 0.606194 | 0.548548 | 0.53894 | 0.510116 | 0.464677 | 0 | 0.020289 | 0.178304 | 13,376 | 364 | 105 | 36.747253 | 0.784642 | 0.036857 | 0 | 0.438596 | 0 | 0 | 0.10868 | 0.027404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003509 | 0.003509 | 0 | 0.933333 | 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 |
a1f61f113aae2b0597175960cf061ec3e5e4e5e1 | 2,890 | py | Python | check-engine-lib/checkengine/_constraints/_Numbers.py | mikulskibartosz/correct-horse | 383cf4106605cc6f94e800bdc707789c0cedbe95 | [
"MIT"
] | 14 | 2020-07-06T05:37:02.000Z | 2021-06-30T16:59:31.000Z | check-engine-lib/checkengine/_constraints/_Numbers.py | mikulskibartosz/correct-horse | 383cf4106605cc6f94e800bdc707789c0cedbe95 | [
"MIT"
] | 1 | 2021-10-15T23:33:34.000Z | 2021-10-16T10:15:06.000Z | check-engine-lib/checkengine/_constraints/_Numbers.py | mikulskibartosz/correct-horse | 383cf4106605cc6f94e800bdc707789c0cedbe95 | [
"MIT"
] | 4 | 2020-10-08T05:14:32.000Z | 2021-07-02T14:07:46.000Z | from abc import ABC
from typing import List, Tuple
from pyspark.sql import DataFrame
from checkengine._constraints._Constraint import _Constraint
class _Number(_Constraint, ABC):
def __init__(self, column_name: str):
super().__init__(column_name)
def prepare_df_for_check(self, data_frame: DataFrame... | 38.026316 | 147 | 0.691003 | 379 | 2,890 | 4.931398 | 0.168865 | 0.091493 | 0.104869 | 0.105939 | 0.743178 | 0.699304 | 0.672552 | 0.624933 | 0.600321 | 0.600321 | 0 | 0.001293 | 0.196886 | 2,890 | 75 | 148 | 38.533333 | 0.803964 | 0 | 0 | 0.509434 | 0 | 0.037736 | 0.161246 | 0.007266 | 0 | 0 | 0 | 0 | 0 | 1 | 0.301887 | false | 0 | 0.075472 | 0.188679 | 0.716981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b80c54b8ae5817766b8ee2ec7c92eb73c456d7cb | 356 | py | Python | resource_manager/leases/admin.py | jsaunders/resource_manager | 29d106bec49f74c4b2d9ecd8cab1b788eb1477e0 | [
"MIT"
] | null | null | null | resource_manager/leases/admin.py | jsaunders/resource_manager | 29d106bec49f74c4b2d9ecd8cab1b788eb1477e0 | [
"MIT"
] | null | null | null | resource_manager/leases/admin.py | jsaunders/resource_manager | 29d106bec49f74c4b2d9ecd8cab1b788eb1477e0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Resource, Lease
@admin.register(Resource)
class ResourceAdmin(admin.ModelAdmin):
list_display = ('name','key','path','next_time_available','available','booked_by')
@admin.register(Lease)
class LeaseAdmin(admin.ModelAdmin):
list_display = ('resource','star... | 25.428571 | 86 | 0.744382 | 44 | 356 | 5.863636 | 0.613636 | 0.100775 | 0.147287 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106742 | 356 | 13 | 87 | 27.384615 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.219101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b80dda665930705799b26b68368ccf11757b0b38 | 936 | py | Python | Model/Session.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | Model/Session.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | Model/Session.py | TheConstructRIT/Machine-Swipe-System | 857e5c5205638a212736d58ac9e1ae27fa300946 | [
"MIT"
] | null | null | null | """
Zachary Cook
Class representing a session for a user.
"""
from Model import Time
"""
Class for a session.
"""
class Session():
"""
Constructor for a session.
"""
def __init__(self,user,sessionStart):
self.user = user
self.sessionStart = sessionStart
"""
Returns the user.
"""
def getUser(self):
ret... | 16.714286 | 55 | 0.695513 | 114 | 936 | 5.675439 | 0.307018 | 0.07728 | 0.108192 | 0.069552 | 0.108192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175214 | 936 | 56 | 56 | 16.714286 | 0.838083 | 0.086538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 0.352941 | 0.882353 | 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 |
b8120c25f1b6456895de447aed783dff04e1dd6d | 988 | py | Python | basic/nextclosetime.py | mengyangbai/leetcode | e7a6906ecc5bce665dec5d0f057b302a64d50f40 | [
"MIT"
] | null | null | null | basic/nextclosetime.py | mengyangbai/leetcode | e7a6906ecc5bce665dec5d0f057b302a64d50f40 | [
"MIT"
] | null | null | null | basic/nextclosetime.py | mengyangbai/leetcode | e7a6906ecc5bce665dec5d0f057b302a64d50f40 | [
"MIT"
] | null | null | null | class Solution:
def nextClosestTime(self, time: str) -> str:
"""
:type time: str
:rtype: str
"""
hour, minute = time.split(":")
# Generate all possible 2 digit values
# There are at most 16 sorted values here
nums = sorted(set(hour + minute))
... | 38 | 74 | 0.578947 | 143 | 988 | 3.832168 | 0.356643 | 0.260949 | 0.306569 | 0.109489 | 0.346715 | 0.145985 | 0.145985 | 0.145985 | 0.145985 | 0.145985 | 0 | 0.023881 | 0.321862 | 988 | 26 | 75 | 38 | 0.79403 | 0.245951 | 0 | 0 | 1 | 0 | 0.011268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.416667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b81aa50936a8bca6fa634a47006640c0fe7a085a | 247 | py | Python | evennia/web/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,544 | 2015-01-01T22:16:31.000Z | 2022-03-31T19:17:45.000Z | evennia/web/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,686 | 2015-01-02T18:26:31.000Z | 2022-03-31T20:12:03.000Z | evennia/web/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 867 | 2015-01-02T21:01:54.000Z | 2022-03-29T00:28:27.000Z | """
This sub-package holds the web presence of Evennia, using normal
Django to relate the database contents to web pages. Also the basic
webclient and the website are defined in here (the webserver itself is
found under the `server` package).
"""
| 35.285714 | 70 | 0.777328 | 40 | 247 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165992 | 247 | 6 | 71 | 41.166667 | 0.932039 | 0.963563 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6294e20e2cfc5e9c50cd7733c7cc2d9bd2574040 | 931 | py | Python | Python/PycharmProjects/aula17/main1.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula17/main1.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | Python/PycharmProjects/aula17/main1.py | MarcelaSamili/Desafios-do-curso-de-Python | f331e91821c0c25b3e32d2075254ef650292f280 | [
"MIT"
] | null | null | null | '''lista_de_time = []
for cc in range(0, 3):
time = str(input(f'Digite o time {cc}:')).strip().upper()
lista_de_time.append(time)
print(lista_de_time[0], 'X', lista_de_time[1])
print(lista_de_time[0], 'X', lista_de_time[2])
print(lista_de_time[1], 'X', lista_de_time[0])
print(lista_de_time[1], 'X', lista_de_ti... | 28.212121 | 74 | 0.611171 | 163 | 931 | 3.300614 | 0.226994 | 0.182156 | 0.286245 | 0.178439 | 0.442379 | 0.330855 | 0.330855 | 0.330855 | 0.330855 | 0 | 0 | 0.038411 | 0.189044 | 931 | 32 | 75 | 29.09375 | 0.674172 | 0.447905 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 |
62a033b470ff0f1ebf6498f103e894ab1efd1886 | 606 | py | Python | fluent_pages/pagetypes/redirectnode/fields.py | masschallenge/django-fluent-pages | 8beb083d89fba935ef3bfeda8cacf566f28b1334 | [
"Apache-2.0"
] | null | null | null | fluent_pages/pagetypes/redirectnode/fields.py | masschallenge/django-fluent-pages | 8beb083d89fba935ef3bfeda8cacf566f28b1334 | [
"Apache-2.0"
] | 1 | 2021-03-24T18:53:10.000Z | 2021-03-24T18:53:10.000Z | fluent_pages/pagetypes/redirectnode/fields.py | masschallenge/django-fluent-pages | 8beb083d89fba935ef3bfeda8cacf566f28b1334 | [
"Apache-2.0"
] | null | null | null | """
Small URLField wrapper to support ``any_urlfield.models.AnyUrlField`` if it's available.
"""
from django.conf import settings
from django.db import models
# subclassing here so South migrations detect a single class.
if 'any_urlfield' in settings.INSTALLED_APPS:
from any_urlfield.models import AnyUrlField
... | 26.347826 | 88 | 0.727723 | 73 | 606 | 5.876712 | 0.561644 | 0.076923 | 0.079254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169967 | 606 | 22 | 89 | 27.545455 | 0.852883 | 0.245875 | 0 | 0.333333 | 0 | 0 | 0.057906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.333333 | 0 | 0.466667 | 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 |
62bc37d47414583bdf1018b7ad0a560abcc47adc | 995 | py | Python | norm/models/user.py | reasoned-ai/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | 8 | 2019-07-22T08:57:20.000Z | 2021-03-26T13:51:02.000Z | norm/models/user.py | xumiao/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | null | null | null | norm/models/user.py | xumiao/norm | 5e45d5917ce8745c9a757a0c6b5e689ea0cac19f | [
"Apache-2.0"
] | 1 | 2019-11-16T13:37:35.000Z | 2019-11-16T13:37:35.000Z | from sqlalchemy import Column, Integer, String, DateTime
from norm.models import Model
class User(Model):
"""
Partial declaration to be compatible to the server side
"""
__tablename__ = 'users'
id = Column(Integer, primary_key=True)
first_name = Column(String(64), nullable=False)
last_na... | 24.268293 | 62 | 0.668342 | 125 | 995 | 5.08 | 0.408 | 0.094488 | 0.088189 | 0.056693 | 0.377953 | 0.377953 | 0.116535 | 0 | 0 | 0 | 0 | 0.010444 | 0.230151 | 995 | 40 | 63 | 24.875 | 0.818538 | 0.055276 | 0 | 0.259259 | 0 | 0 | 0.010823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.074074 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
62c02383c6c2a6291367ed881ad92658b971e667 | 2,149 | py | Python | tests/strategies.py | kylase/annotated_reference_strings | 4b1125b4d52fd1f36cfaf5d98215c4701417f756 | [
"MIT"
] | null | null | null | tests/strategies.py | kylase/annotated_reference_strings | 4b1125b4d52fd1f36cfaf5d98215c4701417f756 | [
"MIT"
] | 1 | 2021-12-30T05:31:51.000Z | 2021-12-30T05:31:51.000Z | tests/strategies.py | kylase/rs-dataset-test | 4b1125b4d52fd1f36cfaf5d98215c4701417f756 | [
"MIT"
] | null | null | null | from string import ascii_letters, digits
from dataset.csl import Variable
from hypothesis import assume
from hypothesis.strategies import composite, lists, sampled_from, text
alphanumerics = ascii_letters + digits + ".,()"
@composite
def flat_open_tags(draw) -> str:
variable = draw(sampled_from(Variable))
va... | 31.602941 | 135 | 0.725454 | 281 | 2,149 | 5.27758 | 0.145907 | 0.17532 | 0.133513 | 0.155091 | 0.775455 | 0.742414 | 0.700607 | 0.674983 | 0.674983 | 0.674983 | 0 | 0.004341 | 0.142392 | 2,149 | 67 | 136 | 32.074627 | 0.800326 | 0 | 0 | 0.565217 | 0 | 0 | 0.179702 | 0.160149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152174 | false | 0 | 0.086957 | 0 | 0.391304 | 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 |
62cbc158f73dadbea5189966f054ec9b6659346c | 16 | py | Python | interface/login_user_data.py | kermitjam/youku | 098a4a64190ebeb2a84209c1689c0924c6a3b155 | [
"MIT"
] | 1 | 2021-07-24T09:21:01.000Z | 2021-07-24T09:21:01.000Z | interface/login_user_data.py | kermitjam/youku | 098a4a64190ebeb2a84209c1689c0924c6a3b155 | [
"MIT"
] | null | null | null | interface/login_user_data.py | kermitjam/youku | 098a4a64190ebeb2a84209c1689c0924c6a3b155 | [
"MIT"
] | null | null | null | alive_user = {}
| 8 | 15 | 0.625 | 2 | 16 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 16 | 1 | 16 | 16 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
62d2a84201a4ac3039bf87594e4b6281e81ef73b | 707 | py | Python | local_modules/BaseModule.py | bison--/polygonDrawer | b763ddaf8229b0d22a3fe72166e609b7111f5b49 | [
"MIT"
] | null | null | null | local_modules/BaseModule.py | bison--/polygonDrawer | b763ddaf8229b0d22a3fe72166e609b7111f5b49 | [
"MIT"
] | null | null | null | local_modules/BaseModule.py | bison--/polygonDrawer | b763ddaf8229b0d22a3fe72166e609b7111f5b49 | [
"MIT"
] | null | null | null | import time
from pygame.surface import Surface
class BaseModule:
def __init__(self, screen: Surface):
self._screen = screen
self.timer_interval = 1.1
self.__next_calculation_time = time.time()
def timer(self):
if self.__next_calculation_time <= time.time():
self._... | 20.794118 | 76 | 0.635078 | 85 | 707 | 4.952941 | 0.317647 | 0.114014 | 0.135392 | 0.163895 | 0.43943 | 0.35867 | 0.15677 | 0 | 0 | 0 | 0 | 0.003945 | 0.282885 | 707 | 33 | 77 | 21.424242 | 0.82643 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0.26087 | 0.086957 | 0 | 0.478261 | 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 |
62ecf132093425e20ff8e413e6468e05783e656f | 649 | py | Python | src/setup.py | jeffbuttars/django-email-user-model | 77b920294cc336901916f0b4aaf8ea5e9c4865f7 | [
"MIT"
] | null | null | null | src/setup.py | jeffbuttars/django-email-user-model | 77b920294cc336901916f0b4aaf8ea5e9c4865f7 | [
"MIT"
] | null | null | null | src/setup.py | jeffbuttars/django-email-user-model | 77b920294cc336901916f0b4aaf8ea5e9c4865f7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
import setuptools
from setuptools import setup, find_packages
import django_email_user_model
setup(name='django-email-user-model',
version=django_email_user_model.__version__,
description="Django custom user model that enable E-Mail as username",
author="Jef... | 25.96 | 76 | 0.657935 | 78 | 649 | 5.192308 | 0.589744 | 0.133333 | 0.185185 | 0.246914 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001961 | 0.214176 | 649 | 24 | 77 | 27.041667 | 0.792157 | 0.14792 | 0 | 0 | 0 | 0 | 0.30292 | 0.164234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 |
1a037417aa70158a741bd0d4826873dd1ee875bf | 2,938 | py | Python | fairest/plugins_core/BasicText.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | fairest/plugins_core/BasicText.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | fairest/plugins_core/BasicText.py | houfu/fairest | 4ca7b1d2981bcb8f15bfd04da1c00d390ebfefaa | [
"MIT"
] | null | null | null | # Copyright (c) 2021. Ang Hou Fu
#
# This software is licensed under the The MIT License.
# You should have received a copy of the license terms with the software.
# Otherwise, you can find the text here: https://opensource.org/licenses/MIT
#
#
# This software is licensed under the The MIT License.
# You should ... | 35.39759 | 119 | 0.668142 | 371 | 2,938 | 5.210243 | 0.307278 | 0.01552 | 0.013968 | 0.01552 | 0.375065 | 0.350233 | 0.350233 | 0.338334 | 0.338334 | 0.338334 | 0 | 0.00181 | 0.247788 | 2,938 | 82 | 120 | 35.829268 | 0.872851 | 0.330837 | 0 | 0 | 0 | 0 | 0.083243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.222222 | 0.638889 | 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 |
1a0fa565f1e6c6b833082106c6dacba62120feaa | 241 | py | Python | 0193 [Easy] Volume solver/challenge.py | jwthomson/dailyprogrammer | 44eb1c4e0ec9e8c8660721b24c949013fe3acdc6 | [
"MIT"
] | null | null | null | 0193 [Easy] Volume solver/challenge.py | jwthomson/dailyprogrammer | 44eb1c4e0ec9e8c8660721b24c949013fe3acdc6 | [
"MIT"
] | null | null | null | 0193 [Easy] Volume solver/challenge.py | jwthomson/dailyprogrammer | 44eb1c4e0ec9e8c8660721b24c949013fe3acdc6 | [
"MIT"
] | null | null | null | # volume
import math
def cube_root(x):
return math.exp(math.log(x) / 3)
def cube(vol):
return [cube_root(vol)]
def cylinder(vol):
r = math.sqrt(vol)
h = vol / (math.pi * (r**2))
return [r, h]
print(cube(27))
print(cylinder(27)) | 15.0625 | 34 | 0.626556 | 43 | 241 | 3.465116 | 0.465116 | 0.09396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0.182573 | 241 | 16 | 35 | 15.0625 | 0.725888 | 0.024896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0.181818 | 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 |
a7e3172b42073a1eab19f0bff384386280d18c26 | 150 | py | Python | nadlogar/students/context_processors.py | nikerzetic/nadlogar | 45d264e292c1fc3d3cc1473600703a24d567fd26 | [
"MIT"
] | null | null | null | nadlogar/students/context_processors.py | nikerzetic/nadlogar | 45d264e292c1fc3d3cc1473600703a24d567fd26 | [
"MIT"
] | null | null | null | nadlogar/students/context_processors.py | nikerzetic/nadlogar | 45d264e292c1fc3d3cc1473600703a24d567fd26 | [
"MIT"
] | null | null | null | from .models import StudentGroup
def my_groups(request):
return {
"my_groups": StudentGroup.objects.all(),
"group": None,
}
| 16.666667 | 48 | 0.62 | 16 | 150 | 5.6875 | 0.8125 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26 | 150 | 8 | 49 | 18.75 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
a7e4dab4c3df7ed9b843274c991733d377bcb3ff | 2,294 | py | Python | actions/actions.py | souvikg10/rasa-core-experiment | aff46f1fa6730a7f44bd849b4c2e467b8753b521 | [
"Apache-2.0"
] | 2 | 2018-10-17T20:13:13.000Z | 2018-10-24T16:39:33.000Z | actions/actions.py | souvikg10/rasa-core-experiment | aff46f1fa6730a7f44bd849b4c2e467b8753b521 | [
"Apache-2.0"
] | 1 | 2018-10-22T23:28:24.000Z | 2018-10-25T18:37:18.000Z | actions/actions.py | souvikg10/rasa-core-experiment | aff46f1fa6730a7f44bd849b4c2e467b8753b521 | [
"Apache-2.0"
] | 4 | 2018-10-26T14:52:46.000Z | 2021-07-12T18:01:37.000Z | from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet
class ActionCheckOrder(Action):
def name(self):
# type: () -> Text
return "check_order_available"
def run(self, dispatcher, tracker, domain):
# type: (Dispatcher, DialogueStateTracker, Domain) -> List[Event]
if(tracke... | 35.292308 | 115 | 0.662162 | 257 | 2,294 | 5.824903 | 0.280156 | 0.036072 | 0.052104 | 0.068136 | 0.533734 | 0.507014 | 0.507014 | 0.382766 | 0.382766 | 0.382766 | 0 | 0 | 0.212729 | 2,294 | 65 | 115 | 35.292308 | 0.828904 | 0.211421 | 0 | 0.35 | 0 | 0 | 0.253756 | 0.011686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.15 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c50ae098bb034847fdd5100cc9cfad76bd6d94b0 | 181 | py | Python | main.py | Igormandello/space-invaders-python | 8488b36f0d7384f521570c924ebf0e898a2bb4fc | [
"MIT"
] | null | null | null | main.py | Igormandello/space-invaders-python | 8488b36f0d7384f521570c924ebf0e898a2bb4fc | [
"MIT"
] | null | null | null | main.py | Igormandello/space-invaders-python | 8488b36f0d7384f521570c924ebf0e898a2bb4fc | [
"MIT"
] | null | null | null | import pygame as pg
from src.controller import Controller
if __name__ == '__main__':
controller = Controller('Space Invaders', './assets/icon.png', (500, 750))
controller.run() | 30.166667 | 76 | 0.729282 | 23 | 181 | 5.391304 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038217 | 0.132597 | 181 | 6 | 77 | 30.166667 | 0.751592 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 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 |
c52c3ae199c442e293bc6a4652494d809f422c7e | 1,526 | py | Python | functional-programming/solution/functional_brackets.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | 1 | 2019-01-02T15:04:08.000Z | 2019-01-02T15:04:08.000Z | functional-programming/solution/functional_brackets.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | functional-programming/solution/functional_brackets.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | """
Napisz kod który sprawdzi zbalansowanie nawiasów, tzn. czy ilość otwieranych nawiasów jest równa ilości nawiasów
zamykanych. Zwórć uwagę, że mogą być cztery typy nawiasów:
- okrągłe: ( i )
- kwadratowe: [ i ]
- klamrowe { i }
- ostre < i >
"""
NAWIASY_OTWIERAJACE = ('(', '{', '[', '<')
NAWIASY_ZAMYKAJACE = (')', '... | 25.433333 | 112 | 0.602883 | 136 | 1,526 | 6.558824 | 0.382353 | 0.329596 | 0.196188 | 0.298206 | 0.371076 | 0.371076 | 0.371076 | 0.371076 | 0.371076 | 0.309417 | 0 | 0 | 0.240498 | 1,526 | 59 | 113 | 25.864407 | 0.769629 | 0.5 | 0 | 0.111111 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 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 |
c53d769f5db75c4ae413c5f3af545f859dfe5a70 | 86 | py | Python | src/Sephrasto/Version.py | qeqar/Sephrasto | ce46d46299b2c793f015e25c98908773c39b1dee | [
"MIT"
] | null | null | null | src/Sephrasto/Version.py | qeqar/Sephrasto | ce46d46299b2c793f015e25c98908773c39b1dee | [
"MIT"
] | null | null | null | src/Sephrasto/Version.py | qeqar/Sephrasto | ce46d46299b2c793f015e25c98908773c39b1dee | [
"MIT"
] | null | null | null | _sephrasto_version_major = 1
_sephrasto_version_minor = 7
_sephrasto_version_build = 0 | 28.666667 | 28 | 0.872093 | 12 | 86 | 5.5 | 0.666667 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.093023 | 86 | 3 | 29 | 28.666667 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c54199e4889fdf9160eb19f066fbca9a98989a9d | 234 | py | Python | bitbots_test/src/bitbots_test/known_tags.py | bit-bots/bitbots_tools | 9cbd0798dc57a36397a68c994f08cafa5961e1c5 | [
"MIT"
] | null | null | null | bitbots_test/src/bitbots_test/known_tags.py | bit-bots/bitbots_tools | 9cbd0798dc57a36397a68c994f08cafa5961e1c5 | [
"MIT"
] | 35 | 2019-09-11T11:43:18.000Z | 2021-11-24T18:48:54.000Z | bitbots_test/src/bitbots_test/known_tags.py | bit-bots/bitbots_tools | 9cbd0798dc57a36397a68c994f08cafa5961e1c5 | [
"MIT"
] | 1 | 2019-10-27T10:44:16.000Z | 2019-10-27T10:44:16.000Z | """Known test tags so that common tags can safely reused in :func:`bitbots_test.decorators.tag`"""
INTERACTIVE = "interactive"
"Tests which require user interaction in order to be run"
WEBOTS = "webots"
"Tests which require webots"
| 29.25 | 98 | 0.760684 | 34 | 234 | 5.205882 | 0.735294 | 0.112994 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 234 | 7 | 99 | 33.428571 | 0.885 | 0.393162 | 0 | 0 | 0 | 0 | 0.720588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c54cf02dbb5955030ca366f1a0ae9b814eda5bc8 | 80 | py | Python | djangobench/benchmarks/query_all/settings.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 92 | 2015-02-07T11:03:45.000Z | 2022-03-23T10:51:06.000Z | djangobench/benchmarks/query_all/settings.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 19 | 2015-03-22T14:30:03.000Z | 2022-03-24T22:43:24.000Z | djangobench/benchmarks/query_all/settings.py | smithdc1/djangobench | 912dc536db706fb73d24a53d10d1739a0824d2c1 | [
"BSD-3-Clause"
] | 25 | 2015-01-22T19:53:25.000Z | 2022-03-20T11:15:54.000Z | from djangobench.base_settings import * # NOQA
INSTALLED_APPS = ['query_all']
| 20 | 47 | 0.7625 | 10 | 80 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 3 | 48 | 26.666667 | 0.84058 | 0.05 | 0 | 0 | 0 | 0 | 0.121622 | 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 |
c5518621da9d70d58aed32201f0a17e859a84342 | 335 | py | Python | tests/unit/synapseclient/core/unit_utils.py | kimyen/synapsePythonClient | b2cea141ea6b2857ae8eb61c0f79b5b61c556083 | [
"Apache-2.0"
] | null | null | null | tests/unit/synapseclient/core/unit_utils.py | kimyen/synapsePythonClient | b2cea141ea6b2857ae8eb61c0f79b5b61c556083 | [
"Apache-2.0"
] | null | null | null | tests/unit/synapseclient/core/unit_utils.py | kimyen/synapsePythonClient | b2cea141ea6b2857ae8eb61c0f79b5b61c556083 | [
"Apache-2.0"
] | 1 | 2019-09-11T21:50:20.000Z | 2019-09-11T21:50:20.000Z | from io import StringIO
class StringIOContextManager(StringIO):
"""
A StringIO that can be used as a context manager
"""
def __enter__(self):
return self
def __exit__(self, *args):
# reset the pointer to the beginning of the string, so that we can read it again
self.seek(0... | 22.333333 | 88 | 0.638806 | 46 | 335 | 4.478261 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004237 | 0.295522 | 335 | 14 | 89 | 23.928571 | 0.868644 | 0.38209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
3d7bd80b0c39d3b93b3916f4b6646b9b431797c2 | 982 | py | Python | codigo_practicas/archivos.py | samuel14luis/Proyecto-en-Python-criptograf-a-II | 2c1812299f46aa7fb8f289d78ca9004fe334b618 | [
"MIT"
] | null | null | null | codigo_practicas/archivos.py | samuel14luis/Proyecto-en-Python-criptograf-a-II | 2c1812299f46aa7fb8f289d78ca9004fe334b618 | [
"MIT"
] | null | null | null | codigo_practicas/archivos.py | samuel14luis/Proyecto-en-Python-criptograf-a-II | 2c1812299f46aa7fb8f289d78ca9004fe334b618 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from io import open
from generarHTML import html_create
html_create("index","_cifrado","_contenido","_nombre", True)
#archivo_texto = open('prueba.html', 'w')
# w -> write | Modo Escritura write(contenido)
# r -> read | Modo Lectura read(), readlines() devu... | 29.757576 | 99 | 0.698574 | 133 | 982 | 5.067669 | 0.586466 | 0.124629 | 0.071217 | 0.097923 | 0.115727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.156823 | 982 | 32 | 100 | 30.6875 | 0.804348 | 0.796334 | 0 | 0 | 0 | 0 | 0.205479 | 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 |
3d8ea5dec98195b5b08d61ab276f4b8cd0a04033 | 144 | py | Python | livres/apps.py | LombaAnderson/Librairie_Django | d9988d763e28aa66ed572f2b1df439b54e85742e | [
"MIT"
] | null | null | null | livres/apps.py | LombaAnderson/Librairie_Django | d9988d763e28aa66ed572f2b1df439b54e85742e | [
"MIT"
] | null | null | null | livres/apps.py | LombaAnderson/Librairie_Django | d9988d763e28aa66ed572f2b1df439b54e85742e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LivresConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'livres'
| 20.571429 | 56 | 0.756944 | 17 | 144 | 6.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 6 | 57 | 24 | 0.877049 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 0.201389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3d988b788c9bd23f0ba5d0dd38304d13d67e0831 | 216 | py | Python | hello_app/__init__.py | FoXx1337x2/python-sample-vscode-flask-tutorial | 28dcdfccf212cb1c72c54f8da3afef34699af5c6 | [
"MIT"
] | null | null | null | hello_app/__init__.py | FoXx1337x2/python-sample-vscode-flask-tutorial | 28dcdfccf212cb1c72c54f8da3afef34699af5c6 | [
"MIT"
] | null | null | null | hello_app/__init__.py | FoXx1337x2/python-sample-vscode-flask-tutorial | 28dcdfccf212cb1c72c54f8da3afef34699af5c6 | [
"MIT"
] | null | null | null | from flask import Flask # Import the Flask class
app = Flask(__name__) # Create an instance of the class for our use
app.secret_key = "super secret key" # super secret key
app.debug = True
app.env = "development" | 43.2 | 70 | 0.740741 | 35 | 216 | 4.428571 | 0.6 | 0.174194 | 0.180645 | 0.258065 | 0.23871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 216 | 5 | 71 | 43.2 | 0.880682 | 0.384259 | 0 | 0 | 0 | 0 | 0.207692 | 0 | 0 | 0 | 0 | 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 | 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 |
3da39628111a3fd7e29a393e09b788e360166ad5 | 529 | py | Python | chairbot_snapshot/chairbot_neato_node/nodes/what_is_my_name.py | stoddabr/chairbot_ui_rework | 01419e004e37c5a33d5cdbf32fffcacfaea3952c | [
"Apache-2.0"
] | null | null | null | chairbot_snapshot/chairbot_neato_node/nodes/what_is_my_name.py | stoddabr/chairbot_ui_rework | 01419e004e37c5a33d5cdbf32fffcacfaea3952c | [
"Apache-2.0"
] | null | null | null | chairbot_snapshot/chairbot_neato_node/nodes/what_is_my_name.py | stoddabr/chairbot_ui_rework | 01419e004e37c5a33d5cdbf32fffcacfaea3952c | [
"Apache-2.0"
] | null | null | null | """
Abrar: This will return the chairbot number by extracting it from the hostname of the machine
e.g. if the hostname is chairbot03-desktop, it will return the String "03"
Last update: Feb 12, 2019
"""
import platform
def what_is_my_name():
hostname = platform.node()
return hostname.split('-')[0][-2:]
def ... | 24.045455 | 93 | 0.720227 | 87 | 529 | 4.103448 | 0.517241 | 0.084034 | 0.112045 | 0.134454 | 0.134454 | 0.134454 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.177694 | 529 | 21 | 94 | 25.190476 | 0.793103 | 0.457467 | 0 | 0.2 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.2 | 0.7 | 0.1 | 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 |
3db41564cbd3d184134735015953dc7cf0ca0149 | 16,821 | py | Python | tests/test_rest_api/test_rest_api.py | EdinburghGenomics/Reporting-App | dbcc152079152b06be275e7226eaffb4b6153e9b | [
"MIT"
] | 4 | 2018-05-07T14:48:19.000Z | 2020-12-27T10:55:05.000Z | tests/test_rest_api/test_rest_api.py | EdinburghGenomics/Reporting-App | dbcc152079152b06be275e7226eaffb4b6153e9b | [
"MIT"
] | 168 | 2015-11-12T14:34:33.000Z | 2019-09-30T13:37:36.000Z | tests/test_rest_api/test_rest_api.py | EdinburghGenomics/Reporting-App | dbcc152079152b06be275e7226eaffb4b6153e9b | [
"MIT"
] | 1 | 2020-07-01T11:04:26.000Z | 2020-07-01T11:04:26.000Z | import json
import os
from collections import Counter
from time import sleep
from unittest.mock import patch
from config import rest_config as cfg
from docker.load_data_to_lims_db import DataAdder
from rest_api import app
from tests.test_rest_api import TestBase
def ordered(obj):
if isinstance(obj, dict):
... | 46.211538 | 139 | 0.489864 | 1,658 | 16,821 | 4.764777 | 0.15199 | 0.031899 | 0.038987 | 0.061266 | 0.773291 | 0.747468 | 0.71481 | 0.692405 | 0.687468 | 0.664177 | 0 | 0.053673 | 0.35093 | 16,821 | 363 | 140 | 46.338843 | 0.669903 | 0.008917 | 0 | 0.50774 | 0 | 0.003096 | 0.354647 | 0.059078 | 0 | 0 | 0 | 0 | 0.111455 | 1 | 0.040248 | false | 0.009288 | 0.027864 | 0 | 0.092879 | 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 |
3dc2f92e373430c722ebb8c105e76d4475740ad0 | 117 | py | Python | catalog/__init__.py | KnowledgeLinks/local-bibcat | 9afe457c7828481bd72f12e036e4afa653c0f50b | [
"Apache-2.0"
] | null | null | null | catalog/__init__.py | KnowledgeLinks/local-bibcat | 9afe457c7828481bd72f12e036e4afa653c0f50b | [
"Apache-2.0"
] | 12 | 2018-02-05T03:53:27.000Z | 2018-03-01T22:36:18.000Z | catalog/__init__.py | KnowledgeLinks/bibcat-publisher | 9afe457c7828481bd72f12e036e4afa653c0f50b | [
"Apache-2.0"
] | null | null | null | from flask import Flask
app = Flask(
__name__,
static_folder='static/dist',
template_folder='static')
| 13 | 32 | 0.683761 | 14 | 117 | 5.285714 | 0.642857 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213675 | 117 | 8 | 33 | 14.625 | 0.804348 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 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 |
9a771be7e48b6eab982883d6e4b46ae379dcbc35 | 110 | py | Python | src/model_helpers/stats_helper.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 10 | 2015-10-06T00:14:17.000Z | 2022-02-04T14:03:30.000Z | src/model_helpers/stats_helper.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 10 | 2017-05-05T11:10:19.000Z | 2019-06-04T15:30:24.000Z | src/model_helpers/stats_helper.py | LightStage-Aber/LightStage-Repo | 92f21b1b8a9f701cac3976a8db7034ecfefc58c7 | [
"Apache-2.0"
] | 2 | 2016-04-16T13:47:54.000Z | 2019-10-09T20:16:41.000Z | import numpy as np
def iqr( x ):
q75, q25 = np.percentile(x, [75, 25])
iqr = q75 - q25
return iqr | 18.333333 | 41 | 0.572727 | 19 | 110 | 3.315789 | 0.684211 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 0.3 | 110 | 6 | 42 | 18.333333 | 0.662338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9a8ac847d6eb58947c24c5e1ab0ddf82eb334d29 | 41,587 | py | Python | telepythy/gui/resources.py | dhagrow/telepythy | ed06510eb5ae8190387ab82e4acbfda63e2abf7f | [
"MIT"
] | 1 | 2022-01-07T16:06:31.000Z | 2022-01-07T16:06:31.000Z | telepythy/gui/resources.py | dhagrow/telepythy | ed06510eb5ae8190387ab82e4acbfda63e2abf7f | [
"MIT"
] | 1 | 2021-08-23T21:08:14.000Z | 2021-08-23T21:08:14.000Z | telepythy/gui/resources.py | dhagrow/telepythy | ed06510eb5ae8190387ab82e4acbfda63e2abf7f | [
"MIT"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x08W\
\x00\
\x00B>x\x9c\xed\x9b{p\x13E\x1c\xc7\xc3\xa0\x83\
\x8e\xce\xa8\xa08\xfa\x87\... | 46.156493 | 96 | 0.709404 | 9,270 | 41,587 | 3.174757 | 0.222654 | 0.017533 | 0.015902 | 0.012232 | 0.029018 | 0.028033 | 0.02647 | 0.026368 | 0.023683 | 0.021237 | 0 | 0.235226 | 0.025489 | 41,587 | 900 | 97 | 46.207778 | 0.490957 | 0.003944 | 0 | 0.011249 | 0 | 0.695163 | 0 | 0 | 0 | 0 | 0.000193 | 0 | 0 | 1 | 0.00225 | false | 0 | 0.001125 | 0 | 0.003375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a9cbae770cec7f890426e17d416e06817924d53 | 1,080 | py | Python | core/migrations/remove-old-allocation-models.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 197 | 2016-12-08T02:33:32.000Z | 2022-03-23T14:27:47.000Z | core/migrations/remove-old-allocation-models.py | simpsonw/atmosphere | 3a5203ef0b563de3a0e8c8c8715df88186532d7a | [
"BSD-3-Clause"
] | 385 | 2017-01-03T22:51:46.000Z | 2020-12-16T16:20:42.000Z | core/migrations/remove-old-allocation-models.py | benlazarine/atmosphere | 38fad8e4002e510e8b4294f2bb5bc75e8e1817fa | [
"BSD-3-Clause"
] | 50 | 2016-12-08T08:32:25.000Z | 2021-12-10T00:21:39.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-08-31 20:48
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', 'remove_identitymembership_allocation'),
]
operations = [
migrations.DeleteM... | 29.189189 | 60 | 0.62037 | 86 | 1,080 | 7.627907 | 0.511628 | 0.160061 | 0.190549 | 0.182927 | 0.317073 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0.021465 | 0.266667 | 1,080 | 36 | 61 | 30 | 0.806818 | 0.062963 | 0 | 0.413793 | 1 | 0 | 0.23885 | 0.035679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.172414 | 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 |
9aa4834bdfdbae2b59971689294f518b2dc8f46c | 352 | py | Python | Mundo_1/condicoes_em_python/ex0035.py | gabizinha12/CursoEmVideoPython | 3f0931b3ef5f26d13f031f217cad7c8f345c0ff0 | [
"MIT"
] | 6 | 2021-05-18T10:55:12.000Z | 2021-11-08T08:56:36.000Z | Mundo_1/condicoes_em_python/ex0035.py | gabizinha12/CursoEmVideoPython | 3f0931b3ef5f26d13f031f217cad7c8f345c0ff0 | [
"MIT"
] | null | null | null | Mundo_1/condicoes_em_python/ex0035.py | gabizinha12/CursoEmVideoPython | 3f0931b3ef5f26d13f031f217cad7c8f345c0ff0 | [
"MIT"
] | null | null | null | r1 = float(input("Digite o comprimento da segunda reta: "))
r2 = float(input("Digite o comprimento da segunda reta: "))
r3 = float(input("Digite o comprimento da terceira reta: "))
if r1 < r2 + r3 and r2 < r1 + r3 and r3 < r2 + r2:
print("Com as retas acima é possível fazer um triângulo")
else:
print("Não é... | 44 | 61 | 0.678977 | 57 | 352 | 4.192982 | 0.473684 | 0.125523 | 0.200837 | 0.213389 | 0.468619 | 0.468619 | 0.343096 | 0.343096 | 0 | 0 | 0 | 0.043011 | 0.207386 | 352 | 7 | 62 | 50.285714 | 0.81362 | 0 | 0 | 0 | 0 | 0 | 0.571023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9aafbac820f00282e9cb13ce54f1d19f7a294c93 | 149 | py | Python | backend/agencia/urls.py | miguelo12/BusesCompany | e79d72231cd1e8ab2fba5d65dbcf15561c2e9c07 | [
"Unlicense"
] | 2 | 2018-11-04T14:48:12.000Z | 2019-02-26T18:31:59.000Z | backend/agencia/urls.py | miguelo12/BusesCompany | e79d72231cd1e8ab2fba5d65dbcf15561c2e9c07 | [
"Unlicense"
] | null | null | null | backend/agencia/urls.py | miguelo12/BusesCompany | e79d72231cd1e8ab2fba5d65dbcf15561c2e9c07 | [
"Unlicense"
] | 1 | 2018-11-04T14:48:15.000Z | 2018-11-04T14:48:15.000Z | from django.conf.urls import include, url
from . import views
from .routers import router
urlpatterns = [
url(r'^api/', include(router.urls)),
] | 21.285714 | 41 | 0.718121 | 21 | 149 | 5.095238 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154362 | 149 | 7 | 42 | 21.285714 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 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 |
b1051a8b383276a6c2415181b445ce1d7f4c0aa9 | 108 | py | Python | chat_wars_database/app/craft/apps.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | 1 | 2019-12-30T19:16:52.000Z | 2019-12-30T19:16:52.000Z | chat_wars_database/app/craft/apps.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | null | null | null | chat_wars_database/app/craft/apps.py | ricardochaves/chat-wars-database | 597f192fb6ddf290c6c7477cf8c7d0ca654925f6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CraftConfig(AppConfig):
name = "chat_wars_database.app.craft"
| 18 | 41 | 0.777778 | 14 | 108 | 5.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 42 | 21.6 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b108716864d8c325ea2757e393f38a17a3ce0b55 | 1,246 | py | Python | Nduja/address_checkers/ltc_address_checker.py | herrBez/Nduja | 51f93c6a8827ddf8605f88cf062d524b0ca5cebf | [
"BSD-3-Clause"
] | 2 | 2019-07-12T00:52:39.000Z | 2020-02-13T17:09:07.000Z | Nduja/address_checkers/ltc_address_checker.py | herrBez/Nduja | 51f93c6a8827ddf8605f88cf062d524b0ca5cebf | [
"BSD-3-Clause"
] | 2 | 2018-05-04T09:28:37.000Z | 2019-11-09T13:37:00.000Z | Nduja/address_checkers/ltc_address_checker.py | herrBez/Nduja | 51f93c6a8827ddf8605f88cf062d524b0ca5cebf | [
"BSD-3-Clause"
] | 2 | 2018-12-04T11:33:31.000Z | 2021-09-07T20:13:52.000Z | """Module for checking Litecoin addresses"""
from address_checkers.chainso_address_checker import ChainSoAddressChecker
class LtcAddressChecker(ChainSoAddressChecker):
"""Litecoin Address Checker"""
CHAIN_SO = ChainSoAddressChecker.CHAIN_SO + "LTC/"
CHAIN_SO_TXS_RECEIVED_NUM = \
ChainSoAddressChe... | 36.647059 | 74 | 0.684591 | 154 | 1,246 | 5.25974 | 0.311688 | 0.077778 | 0.074074 | 0.066667 | 0.334568 | 0.162963 | 0.162963 | 0.11358 | 0.11358 | 0 | 0 | 0.005187 | 0.226324 | 1,246 | 33 | 75 | 37.757576 | 0.835062 | 0.080257 | 0 | 0 | 0 | 0 | 0.015929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.045455 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b10dc0b06ac759670334742f8cd1c9f24218f753 | 420 | py | Python | pyre_extensions/generic.py | ekmixon/pyre-check | bd2475cc0cf4bef941f0aea6df10d674e6c907ab | [
"MIT"
] | 5,975 | 2018-05-11T15:54:32.000Z | 2022-03-31T14:38:00.000Z | pyre_extensions/generic.py | ekmixon/pyre-check | bd2475cc0cf4bef941f0aea6df10d674e6c907ab | [
"MIT"
] | 524 | 2018-05-11T16:47:20.000Z | 2022-03-22T17:43:06.000Z | pyre_extensions/generic.py | ekmixon/pyre-check | bd2475cc0cf4bef941f0aea6df10d674e6c907ab | [
"MIT"
] | 501 | 2018-05-11T16:46:29.000Z | 2022-03-19T04:41:57.000Z | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# pyre-ignore-all-errors
from typing import Any
class GenericMeta(type):
def __getitem__(cls, *args) -> Any:
return cls.__class_... | 24.705882 | 77 | 0.733333 | 60 | 420 | 4.8 | 0.75 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17619 | 420 | 16 | 78 | 26.25 | 0.83237 | 0.454762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
b11e617a15382df992024ec62f6aec87eb05de10 | 2,739 | py | Python | lino_xl/lib/pages/fixtures/intro.py | khchine5/xl | b1634937a9ce87af1e948eb712b934b11f221d9d | [
"BSD-2-Clause"
] | 1 | 2018-01-12T14:09:48.000Z | 2018-01-12T14:09:48.000Z | lino_xl/lib/pages/fixtures/intro.py | khchine5/xl | b1634937a9ce87af1e948eb712b934b11f221d9d | [
"BSD-2-Clause"
] | 1 | 2019-09-10T05:03:47.000Z | 2019-09-10T05:03:47.000Z | lino_xl/lib/pages/fixtures/intro.py | khchine5/xl | b1634937a9ce87af1e948eb712b934b11f221d9d | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: UTF-8 -*-
# Copyright 2012-2016 Luc Saffre
#
# License: BSD (see file COPYING for details)
"""
This fixture defines pages `/`, `/admin` and `/about`,
with automatically generated introductory content.
Currently in English, German and French.
This is no longer a "reloadable" fixture. If you say::
pyt... | 26.085714 | 85 | 0.698795 | 386 | 2,739 | 4.816062 | 0.468912 | 0.088757 | 0.121033 | 0.081764 | 0.38354 | 0.371705 | 0.369554 | 0.26412 | 0.26412 | 0.215169 | 0 | 0.003825 | 0.140927 | 2,739 | 104 | 86 | 26.336538 | 0.78623 | 0.137641 | 0 | 0.47541 | 1 | 0 | 0.879097 | 0.188165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.032787 | 0 | 0.032787 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b12bf3dfe63018213a82d575c7ca0d21bb496e29 | 422 | py | Python | bonspy/tests/test_features.py | markovianhq/bonspy | f13b6d0fbf91e8cafa19f685c500be7fa04563d5 | [
"BSD-3-Clause"
] | 15 | 2016-09-29T01:27:24.000Z | 2021-05-19T10:30:06.000Z | bonspy/tests/test_features.py | markovianhq/bonspy | f13b6d0fbf91e8cafa19f685c500be7fa04563d5 | [
"BSD-3-Clause"
] | 49 | 2016-09-02T01:09:02.000Z | 2017-09-25T13:28:53.000Z | bonspy/tests/test_features.py | markovianhq/bonspy | f13b6d0fbf91e8cafa19f685c500be7fa04563d5 | [
"BSD-3-Clause"
] | null | null | null | from bonspy.features import _apply_operations
def test_apply_operations_domain():
value = _apply_operations('domain', 'www.test.com')
assert value == 'test.com'
def test_apply_operations_other_feature():
value = _apply_operations('other_feature', 'www.test.com')
assert value == 'www.test.com'
de... | 21.1 | 62 | 0.725118 | 54 | 422 | 5.314815 | 0.314815 | 0.365854 | 0.125436 | 0.229965 | 0.348432 | 0.202091 | 0 | 0 | 0 | 0 | 0 | 0.005634 | 0.158768 | 422 | 19 | 63 | 22.210526 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0.165877 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b144cb9c5b918dd4b01c40873f1c59e5a9eb910f | 160 | py | Python | serve.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | serve.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | serve.py | RealityAbb/panSky | fadf7063094f809f679d0bcaafbd161054b6b63b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from CTFd import create_app
app = create_app()
app.debug=True
if __name__ == '__main__':
app.run(host="0.0.0.0", port=84, threaded=True)
| 22.857143 | 48 | 0.7125 | 29 | 160 | 3.586207 | 0.689655 | 0.057692 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.1125 | 160 | 6 | 49 | 26.666667 | 0.690141 | 0.125 | 0 | 0 | 0 | 0 | 0.107914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
b15a628cfb64ab91e6e811f6566ab3d484e6cbd8 | 362 | py | Python | tests/test_utils/test_autodiff.py | schmidtjonathan/probfindiff | 8d7e3fc991d8589ca70dacac9c01ab93d185dd82 | [
"MIT"
] | 3 | 2022-02-07T18:09:18.000Z | 2022-02-18T07:17:41.000Z | tests/test_utils/test_autodiff.py | schmidtjonathan/probfindiff | 8d7e3fc991d8589ca70dacac9c01ab93d185dd82 | [
"MIT"
] | 2 | 2022-02-07T09:12:10.000Z | 2022-02-18T07:20:04.000Z | tests/test_utils/test_autodiff.py | schmidtjonathan/probfindiff | 8d7e3fc991d8589ca70dacac9c01ab93d185dd82 | [
"MIT"
] | 3 | 2022-02-08T15:10:34.000Z | 2022-02-18T15:05:02.000Z | """Tests for differential operators."""
import pytest_cases
from probfindiff.utils import autodiff
def case_div():
return autodiff.div
def case_derivative():
return autodiff.derivative
def case_laplace():
return autodiff.laplace
@pytest_cases.parametrize_with_cases("D", cases=".")
def test_diff(D)... | 15.73913 | 52 | 0.718232 | 50 | 362 | 5.04 | 0.56 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006601 | 0.162983 | 362 | 22 | 53 | 16.454545 | 0.825083 | 0.09116 | 0 | 0 | 0 | 0 | 0.006192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.272727 | 0.818182 | 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 |
b172113eaa165b01f82cc9c07442cfc7993490db | 1,887 | py | Python | build.py | bensuperpc/distcc-docker-images | 7119b6727f640bfff23728e9f8d47aa25d3fc977 | [
"Apache-2.0"
] | 1 | 2021-06-04T20:33:22.000Z | 2021-06-04T20:33:22.000Z | build.py | Bensuperpc/distcc-docker-images | 5c9174a3ef49c21ecc4b563f6130f7e9475fb02a | [
"Apache-2.0"
] | 2 | 2021-11-02T23:15:06.000Z | 2022-03-01T23:18:21.000Z | build.py | bensuperpc/distcc-docker-images | 7119b6727f640bfff23728e9f8d47aa25d3fc977 | [
"Apache-2.0"
] | null | null | null | #!/bin/python3
import yaml
import subprocess
images = [
{"image": "fedora", "tag": "34", "Dockerfile": "Dockerfile_fedora"},
{"image": "fedora", "tag": "33", "Dockerfile": "Dockerfile_fedora"},
{"image": "fedora", "tag": "32", "Dockerfile": "Dockerfile_fedora"},
{"image": "fedora", "tag": "31", "Docker... | 49.657895 | 102 | 0.604663 | 205 | 1,887 | 5.458537 | 0.307317 | 0.321716 | 0.18588 | 0.221626 | 0.588025 | 0.55496 | 0.340483 | 0 | 0 | 0 | 0 | 0.026087 | 0.146794 | 1,887 | 38 | 103 | 49.657895 | 0.668944 | 0.006889 | 0 | 0 | 0 | 0 | 0.504803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.060606 | 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 |
b187034c059c0eabce7ff3e3eb72f56e04fcf781 | 423 | py | Python | 1-Fundamentals/assignments/wk02/solution1/banking_pkg/account.py | JD-Williams/Nucamp | 5a370577f69bc806ea975ec0d8b1f4e3f52a74c9 | [
"MIT"
] | null | null | null | 1-Fundamentals/assignments/wk02/solution1/banking_pkg/account.py | JD-Williams/Nucamp | 5a370577f69bc806ea975ec0d8b1f4e3f52a74c9 | [
"MIT"
] | 1 | 2021-08-23T13:09:52.000Z | 2021-08-23T13:50:49.000Z | 1-Fundamentals/assignments/wk02/solution1/banking_pkg/account.py | JD-Williams/Nucamp | 5a370577f69bc806ea975ec0d8b1f4e3f52a74c9 | [
"MIT"
] | null | null | null | #=========================
# TASK 4
#=========================
def show_balance(balance):
print(f"Current Balance: ${balance}")
def deposit(balance):
amount = float(input("Enter amount to deposit: "))
balance += amount
return balance
def withdraw(balance):
amount = float(input("Enter amount to w... | 21.15 | 55 | 0.576832 | 46 | 423 | 5.282609 | 0.413043 | 0.213992 | 0.164609 | 0.1893 | 0.534979 | 0.296296 | 0.296296 | 0 | 0 | 0 | 0 | 0.002907 | 0.186761 | 423 | 19 | 56 | 22.263158 | 0.703488 | 0.137116 | 0 | 0.166667 | 0 | 0 | 0.256906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1886b21637ee45fe92cb2a593ca4f538e0ec5e9 | 160 | py | Python | samples/python/42.scaleout/bots/__init__.py | Aliacf21/BotBuilder-Samples | be48548edafd4efdc074f5a59ef2bb3af735ad9a | [
"MIT"
] | 1,998 | 2019-05-07T06:33:22.000Z | 2022-03-31T12:59:15.000Z | samples/python/42.scaleout/bots/__init__.py | Aliacf21/BotBuilder-Samples | be48548edafd4efdc074f5a59ef2bb3af735ad9a | [
"MIT"
] | 1,526 | 2020-09-05T18:57:14.000Z | 2020-12-03T01:45:40.000Z | samples/python/42.scaleout/bots/__init__.py | stevkan/BotBuilder-Samples | 75a21b412d8873906bed3460f7c5f0940a067d58 | [
"MIT"
] | 2,820 | 2016-09-21T03:47:43.000Z | 2019-05-03T15:12:46.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .scaleout_bot import ScaleoutBot
__all__ = ["ScaleoutBot"]
| 22.857143 | 59 | 0.775 | 19 | 160 | 6.263158 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14375 | 160 | 6 | 60 | 26.666667 | 0.868613 | 0.55625 | 0 | 0 | 0 | 0 | 0.161765 | 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 |
b18db762845446d5cb8d4c36feed7c15c488404e | 1,424 | py | Python | moto/ec2/responses/general.py | EvaSDK/moto | 8095f31772fb144f2045c0991f4c8ed17f324b91 | [
"Apache-2.0"
] | null | null | null | moto/ec2/responses/general.py | EvaSDK/moto | 8095f31772fb144f2045c0991f4c8ed17f324b91 | [
"Apache-2.0"
] | 2 | 2016-07-01T03:43:37.000Z | 2016-07-18T19:38:06.000Z | moto/ec2/responses/general.py | EvaSDK/moto | 8095f31772fb144f2045c0991f4c8ed17f324b91 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from moto.core.responses import BaseResponse
from moto.ec2.utils import instance_ids_from_querystring
class General(BaseResponse):
def get_console_output(self):
self.instance_ids = instance_ids_from_querystring(self.querystring)
instance_id = self.instance_i... | 49.103448 | 86 | 0.860955 | 108 | 1,424 | 11.111111 | 0.546296 | 0.036667 | 0.04 | 0.043333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072782 | 0.073736 | 1,424 | 28 | 87 | 50.857143 | 0.836998 | 0 | 0 | 0 | 0 | 0 | 0.617978 | 0.538624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b1976cbcfd8e5cbdea00f1c809f64d1b8221f0fb | 30,875 | py | Python | esx_service/vmodl/vmodl_test.py | pshahzeb/docker-volume-vsphere | 9a728ce0a656a1d70c6264d6ffa379031afbc1b9 | [
"Apache-2.0"
] | null | null | null | esx_service/vmodl/vmodl_test.py | pshahzeb/docker-volume-vsphere | 9a728ce0a656a1d70c6264d6ffa379031afbc1b9 | [
"Apache-2.0"
] | null | null | null | esx_service/vmodl/vmodl_test.py | pshahzeb/docker-volume-vsphere | 9a728ce0a656a1d70c6264d6ffa379031afbc1b9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2016 VMWare, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | 36.538462 | 132 | 0.68434 | 3,615 | 30,875 | 5.680221 | 0.090733 | 0.07977 | 0.050453 | 0.064965 | 0.77491 | 0.734051 | 0.709263 | 0.674491 | 0.633437 | 0.613763 | 0 | 0.026245 | 0.237344 | 30,875 | 844 | 133 | 36.581754 | 0.845798 | 0.185522 | 0 | 0.535792 | 0 | 0 | 0.021006 | 0.008354 | 0 | 0 | 0 | 0 | 0.197397 | 1 | 0.121475 | false | 0 | 0.034707 | 0 | 0.195228 | 0.004338 | 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 |
b1a431b3040b97c020917af870130bbfb7021321 | 80 | py | Python | idioms_examples/reduce/reduce_bad.py | jjmerchante/Pythonic-webserver | b57fe35975b60d7fe8d04d63094068e54d9e3ee8 | [
"Apache-2.0"
] | 3 | 2017-11-06T14:00:30.000Z | 2018-04-07T08:02:40.000Z | idioms_examples/reduce/reduce_bad.py | jjmerchante/Pythonic-webserver | b57fe35975b60d7fe8d04d63094068e54d9e3ee8 | [
"Apache-2.0"
] | null | null | null | idioms_examples/reduce/reduce_bad.py | jjmerchante/Pythonic-webserver | b57fe35975b60d7fe8d04d63094068e54d9e3ee8 | [
"Apache-2.0"
] | null | null | null | numbers = range(20)
result = 0
for n in numbers:
result += n
print result
| 10 | 19 | 0.65 | 13 | 80 | 4 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.2625 | 80 | 7 | 20 | 11.428571 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4927375b0c4713b3894e2e60fa6335c6230acf38 | 62 | py | Python | users/__init__.py | Lucasfeelix/ong-joao-de-barro | be20042714883dac0a75a97f5ff9fd7804e6e218 | [
"MIT"
] | null | null | null | users/__init__.py | Lucasfeelix/ong-joao-de-barro | be20042714883dac0a75a97f5ff9fd7804e6e218 | [
"MIT"
] | null | null | null | users/__init__.py | Lucasfeelix/ong-joao-de-barro | be20042714883dac0a75a97f5ff9fd7804e6e218 | [
"MIT"
] | null | null | null | # coding=utf-8
default_app_config = 'users.apps.UsersConfig'
| 15.5 | 45 | 0.774194 | 9 | 62 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.096774 | 62 | 3 | 46 | 20.666667 | 0.803571 | 0.193548 | 0 | 0 | 0 | 0 | 0.458333 | 0.458333 | 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 |
492cd1b28c554751c45fd1e5cbf22b48084d928c | 362 | py | Python | morseus/app.py | cmin764/morseus | 8754d2e27e710fb556667ddccb064c11ab9d0372 | [
"MIT"
] | 23 | 2018-07-03T19:16:00.000Z | 2021-09-14T11:28:54.000Z | morseus/app.py | cmin764/morseus | 8754d2e27e710fb556667ddccb064c11ab9d0372 | [
"MIT"
] | null | null | null | morseus/app.py | cmin764/morseus | 8754d2e27e710fb556667ddccb064c11ab9d0372 | [
"MIT"
] | 2 | 2018-07-07T15:31:12.000Z | 2019-07-31T12:58:48.000Z | """Morseus application controller."""
from kivy.app import App
from morseus import settings
from morseus.nui import MorseusLayout
class Morseus(App):
def build(self):
self.icon = settings.ICON
return MorseusLayout()
def on_stop(self):
# Stop sending Morse signals in case we're doi... | 19.052632 | 62 | 0.685083 | 47 | 362 | 5.234043 | 0.595745 | 0.089431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232044 | 362 | 18 | 63 | 20.111111 | 0.884892 | 0.234807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4942fc7330d1cae20ffad1862799b826fe48f738 | 2,024 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/ProjectLocation.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/ProjectLocation.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/ProjectLocation.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class ProjectLocation(Instance, IDisposable):
""" An object that represents a named location in a project. """
def Dispose(self):
""" Dispose(self: Element,A_0: bool) """
pass
def Duplicate(self, name):
"""
Duplicate(self: ProjectLocation,name: str) -> ProjectLocation
... | 26.986667 | 221 | 0.630929 | 217 | 2,024 | 5.608295 | 0.322581 | 0.040263 | 0.046836 | 0.046836 | 0.184881 | 0.184881 | 0.184881 | 0.184881 | 0.184881 | 0.184881 | 0 | 0.000665 | 0.257411 | 2,024 | 74 | 222 | 27.351351 | 0.809049 | 0.453557 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.380952 | false | 0.380952 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
494740a10dd17fc1169c78b4035a055506354ddd | 240 | py | Python | src/wsgi.py | peibol888/StarWars | 2515283febe6e2a634e76224f8cc2c20967f06ad | [
"OML"
] | null | null | null | src/wsgi.py | peibol888/StarWars | 2515283febe6e2a634e76224f8cc2c20967f06ad | [
"OML"
] | null | null | null | src/wsgi.py | peibol888/StarWars | 2515283febe6e2a634e76224f8cc2c20967f06ad | [
"OML"
] | 3 | 2021-05-02T19:28:14.000Z | 2021-05-02T23:16:43.000Z | # This file was created to run the application on heroku using gunicorn.
# Read more about it here: https://devcenter.heroku.com/articles/python-gunicorn
from app import app as application
if __name__ == "__main__":
application.run()
| 30 | 80 | 0.7625 | 35 | 240 | 5 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154167 | 240 | 7 | 81 | 34.285714 | 0.862069 | 0.620833 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4956365d004b674104ccbf4522a22e6d1aad1141 | 68 | py | Python | aienv/lib/python3.5/site-packages/youtube_dl/version.py | anh-ngo-saltovn/aibot | 042e86a9e04b5ebab9d5e95a3bfb3109fab31153 | [
"MIT"
] | null | null | null | aienv/lib/python3.5/site-packages/youtube_dl/version.py | anh-ngo-saltovn/aibot | 042e86a9e04b5ebab9d5e95a3bfb3109fab31153 | [
"MIT"
] | null | null | null | aienv/lib/python3.5/site-packages/youtube_dl/version.py | anh-ngo-saltovn/aibot | 042e86a9e04b5ebab9d5e95a3bfb3109fab31153 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
__version__ = '2018.11.23'
| 17 | 39 | 0.808824 | 9 | 68 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.117647 | 68 | 3 | 40 | 22.666667 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 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 |
4984a2d3011c15b04e5df7855cf7f1194d339194 | 94 | py | Python | example/django/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | example/django/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | example/django/__init__.py | estudio89/maestro-python | 331079cb3f0c10de2e19210cbade793544510f33 | [
"BSD-3-Clause"
] | null | null | null | default_app_config = "example.django.apps.TodosAppConfig"
from .factory import create_provider | 47 | 57 | 0.861702 | 12 | 94 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 2 | 58 | 47 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.357895 | 0.357895 | 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 |
4986beec1cb757fca1eb9b59577633ec90e81492 | 123 | py | Python | catalog/bindings/wfs/empty_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/wfs/empty_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | catalog/bindings/wfs/empty_type.py | NIVANorge/s-enda-playground | 56ae0a8978f0ba8a5546330786c882c31e17757a | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
__NAMESPACE__ = "http://www.opengis.net/wfs/2.0"
@dataclass
class EmptyType:
pass
| 13.666667 | 48 | 0.747967 | 16 | 123 | 5.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 0.146341 | 123 | 8 | 49 | 15.375 | 0.819048 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
499ddbd24b943d4e3660285637ef1a546db012fa | 1,456 | py | Python | program_konversi_temperatur.py.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | program_konversi_temperatur.py.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | program_konversi_temperatur.py.py | bejo-cyber/bejo-world | 15b22fef330bf304918d406ba6a3f9e3addb5f11 | [
"Apache-2.0"
] | null | null | null | print('====PROGRAM KONVERSI TEMPERATUR====')
print('1. Celcius')
print('2. Reamour')
print('3. Fahrenheit')
print('4. Kelvin')
x = int(input('Pilihlah opsi berikut: '))
if x == 1:
C = float(input('Masukan suhu dalam Celcius:'))
R = (4/5)*C
F = (9/5)*C+32
K = C+273
print('Suhu da... | 24.266667 | 55 | 0.520604 | 221 | 1,456 | 3.429864 | 0.167421 | 0.237467 | 0.295515 | 0.110818 | 0.653034 | 0.515831 | 0.486807 | 0.486807 | 0.469657 | 0.408971 | 0 | 0.054976 | 0.275412 | 1,456 | 59 | 56 | 24.677966 | 0.663507 | 0 | 0 | 0.363636 | 0 | 0 | 0.420259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.