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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5643f95e64cd3e2dda178de1cbc304fc88b25df8 | 188 | py | Python | testing/slides/examples/branching/branching.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 252 | 2021-05-18T11:58:17.000Z | 2022-03-12T06:48:52.000Z | testing/slides/examples/branching/branching.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 44 | 2021-05-21T14:28:34.000Z | 2021-07-12T22:36:06.000Z | testing/slides/examples/branching/branching.py | ramosmaria/school2021 | 3e162a05767bbc8fa6ce3f92c858d1bd639fee16 | [
"MIT"
] | 128 | 2021-05-24T18:32:54.000Z | 2022-03-26T11:24:16.000Z | def do_stuff():
print('stuff')
def do_other_stuff():
print('other stuff')
def branching(some_condition):
if some_condition is True:
do_stuff()
do_other_stuff()
| 14.461538 | 30 | 0.654255 | 26 | 188 | 4.423077 | 0.423077 | 0.26087 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228723 | 188 | 12 | 31 | 15.666667 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0 | 0.375 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
566f0fbae8bac9a945f430af424a338a7892297e | 1,419 | py | Python | msph/commands/auth/phish/msgs.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 11 | 2021-09-01T05:04:08.000Z | 2022-02-17T01:09:58.000Z | msph/commands/auth/phish/msgs.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | null | null | null | msph/commands/auth/phish/msgs.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 2 | 2021-09-08T19:12:53.000Z | 2021-10-05T17:52:11.000Z | from datetime import date, datetime
import colorful as cf
def ending_session(targets_authed_count, targets_expired_count):
return (
f"{cf.green('[Ending Session]')}({datetime.now()})\n"
"[session summary]\n"
f"\ttargets authed count: {cf.cyan(targets_authed_count)}\n"
f"\ttargets ex... | 39.416667 | 137 | 0.694151 | 198 | 1,419 | 4.828283 | 0.277778 | 0.0659 | 0.0659 | 0.087866 | 0.230126 | 0.17364 | 0.117155 | 0.117155 | 0.117155 | 0.117155 | 0 | 0.000805 | 0.124736 | 1,419 | 35 | 138 | 40.542857 | 0.768921 | 0 | 0 | 0 | 0 | 0.2 | 0.602257 | 0.346968 | 0 | 0 | 0 | 0 | 0 | 1 | 0.36 | false | 0 | 0.08 | 0.36 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
56848d67ee4517aefabba449ace422cab906eb8c | 30 | py | Python | testplan/common/utils/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 96 | 2018-03-14T13:14:50.000Z | 2021-01-14T08:26:08.000Z | testplan/common/utils/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 135 | 2018-06-28T02:41:05.000Z | 2021-01-19T02:16:58.000Z | testplan/common/utils/__init__.py | chiragmatkar/testplan | 13ee4fdeaaa41d8eea118d77921531277ef90147 | [
"Apache-2.0"
] | 53 | 2018-03-17T14:39:15.000Z | 2021-01-21T10:54:13.000Z | """Common utility modules."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56989d8d2ee975328e22a46baaa2e8c2568eb344 | 159 | py | Python | myblog/admin.py | a2leexx/myblog | d4972473b9d9800b19d097d5b3585bbd51580dbf | [
"MIT"
] | null | null | null | myblog/admin.py | a2leexx/myblog | d4972473b9d9800b19d097d5b3585bbd51580dbf | [
"MIT"
] | null | null | null | myblog/admin.py | a2leexx/myblog | d4972473b9d9800b19d097d5b3585bbd51580dbf | [
"MIT"
] | null | null | null | from django.contrib import admin
class BlogAdminSite(admin.AdminSite):
site_header = 'Администрирование блога'
site_title = 'Администрирование блога' | 26.5 | 43 | 0.786164 | 17 | 159 | 7.235294 | 0.764706 | 0.357724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 6 | 44 | 26.5 | 0.904412 | 0 | 0 | 0 | 0 | 0 | 0.2875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
5698cc15ab0b60537c3f70a4e521f9e5c8414266 | 1,280 | py | Python | Games/Utils.py | sturdyplum/ReinforcmentLearning | 17ab01d4d2a3e774cb732835eb4f3ffc565c324b | [
"MIT"
] | 3 | 2019-04-16T03:12:24.000Z | 2019-04-29T21:07:23.000Z | Games/Utils.py | sturdyplum/ReinforcmentLearning | 17ab01d4d2a3e774cb732835eb4f3ffc565c324b | [
"MIT"
] | null | null | null | Games/Utils.py | sturdyplum/ReinforcmentLearning | 17ab01d4d2a3e774cb732835eb4f3ffc565c324b | [
"MIT"
] | 1 | 2019-04-29T20:49:27.000Z | 2019-04-29T20:49:27.000Z | class Vector:
def __init__(self, x, y):
self.x = x
self.y = y
def add(self, other):
return Vector(self.x + other.x , self.y + other.y)
def sub(self, other):
return Vector(self.x - other.x, self.y - other.y)
def mag2(self):
return self.x ** 2 + self.y ** 2
... | 23.703704 | 69 | 0.5625 | 186 | 1,280 | 3.827957 | 0.188172 | 0.224719 | 0.077247 | 0.095506 | 0.191011 | 0.191011 | 0.129213 | 0.129213 | 0.129213 | 0.129213 | 0 | 0.007735 | 0.292969 | 1,280 | 53 | 70 | 24.150943 | 0.779006 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.405405 | false | 0 | 0 | 0.243243 | 0.702703 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
56a10c7f9c2b06a4841e92d328f4bf7c9d98dde6 | 92 | py | Python | statarb/src/python/bin/d2m.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | statarb/src/python/bin/d2m.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | statarb/src/python/bin/d2m.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | #!/usr/bin/env python
import sys
import util
print util.convert_date_to_millis(sys.argv[1])
| 18.4 | 46 | 0.793478 | 17 | 92 | 4.117647 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.086957 | 92 | 4 | 47 | 23 | 0.821429 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3b8b2f755ae70428728ec3d5e56ee45f1d2a4e80 | 140 | pyw | Python | examples/click2/main.pyw | pysrc/cvauto | 90466de8d6a56b7489ef2ad1139cdb4aafe84e9f | [
"MIT"
] | 5 | 2018-09-29T13:57:48.000Z | 2022-03-10T03:04:30.000Z | examples/click2/main.pyw | pysrc/cvauto | 90466de8d6a56b7489ef2ad1139cdb4aafe84e9f | [
"MIT"
] | 1 | 2019-01-24T23:56:00.000Z | 2019-02-12T07:51:16.000Z | examples/click2/main.pyw | pysrc/cvauto | 90466de8d6a56b7489ef2ad1139cdb4aafe84e9f | [
"MIT"
] | null | null | null | from keys import keys
from cvauto.auto import Auto
a = Auto()
a.click(keys["3"])
a.click(keys["+"])
a.click(keys["5"])
a.click(keys["="])
| 14 | 28 | 0.635714 | 25 | 140 | 3.56 | 0.36 | 0.269663 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.121429 | 140 | 9 | 29 | 15.555556 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8e7c73e033a4c645d000dc31c28366bc336086dd | 101 | py | Python | codes_auto/151.reverse-words-in-a-string.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/151.reverse-words-in-a-string.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | codes_auto/151.reverse-words-in-a-string.py | smartmark-pro/leetcode_record | 6504b733d892a705571eb4eac836fb10e94e56db | [
"MIT"
] | null | null | null | #
# @lc app=leetcode.cn id=151 lang=python3
#
# [151] reverse-words-in-a-string
#
None
# @lc code=end | 14.428571 | 41 | 0.673267 | 18 | 101 | 3.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 0.138614 | 101 | 7 | 42 | 14.428571 | 0.701149 | 0.831683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8e9951e389d868639379d18f88a0d3dd935eb193 | 149 | py | Python | scenarios/credit_show/executable.py | DisruptiveLabs/balanced-python | dbabd8a1c8cd0728d322f6f1caa08891d590e0a1 | [
"MIT"
] | null | null | null | scenarios/credit_show/executable.py | DisruptiveLabs/balanced-python | dbabd8a1c8cd0728d322f6f1caa08891d590e0a1 | [
"MIT"
] | null | null | null | scenarios/credit_show/executable.py | DisruptiveLabs/balanced-python | dbabd8a1c8cd0728d322f6f1caa08891d590e0a1 | [
"MIT"
] | null | null | null | import balanced
balanced.configure('ak-test-1kvvievk0Qqw5wQPsrlM9g7wQwNe62cyc')
credit = balanced.Credit.fetch('/credits/CR2UtQgq6L3FPd1YoOc8eyOC') | 29.8 | 67 | 0.845638 | 13 | 149 | 9.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.04698 | 149 | 5 | 67 | 29.8 | 0.802817 | 0 | 0 | 0 | 0 | 0 | 0.493333 | 0.493333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8e9ff88e4738daaa6a82574059b539514692fc7e | 83 | py | Python | raspberryjuice_functions.py | leha-code/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | 2 | 2021-01-27T00:23:39.000Z | 2021-01-27T15:46:38.000Z | raspberryjuice_functions.py | mcpiscript/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | null | null | null | raspberryjuice_functions.py | mcpiscript/mcpi-zero | fae9dbe1677fca64b9cc617e3a06858de2e220fd | [
"MIT"
] | null | null | null | from mcpi.minecraft import *
mc = Minecraft.create()
def setPitch(pitch):
pass
| 16.6 | 28 | 0.722892 | 11 | 83 | 5.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 4 | 29 | 20.75 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
8ea4ac5081f91eafe1c040791d5415eafe65c87b | 81 | py | Python | oeeBackend/bom/apps.py | yamenmarquez/oee_django | b192ecab930aac0922599b6a8fadf7e92350e5a7 | [
"MIT"
] | 1 | 2020-08-31T15:54:23.000Z | 2020-08-31T15:54:23.000Z | app/bom/apps.py | kalaLokia/bom-app-api | 6bff801c626dd0fc9659abcc8de6df07527aabc5 | [
"MIT"
] | null | null | null | app/bom/apps.py | kalaLokia/bom-app-api | 6bff801c626dd0fc9659abcc8de6df07527aabc5 | [
"MIT"
] | 1 | 2018-09-13T22:36:55.000Z | 2018-09-13T22:36:55.000Z | from django.apps import AppConfig
class BomConfig(AppConfig):
name = 'bom'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8ea9116078b7d4ae601d846f8c6c24561fea7586 | 2,402 | py | Python | network/algorithms/search.py | matejker/network | e2a3f5cb4e351fb682aa1736813cc74bca55c169 | [
"MIT"
] | 1 | 2020-12-16T18:33:59.000Z | 2020-12-16T18:33:59.000Z | network/algorithms/search.py | matejker/network | e2a3f5cb4e351fb682aa1736813cc74bca55c169 | [
"MIT"
] | 4 | 2020-06-17T08:14:23.000Z | 2020-06-18T22:31:47.000Z | network/algorithms/search.py | matejker/network | e2a3f5cb4e351fb682aa1736813cc74bca55c169 | [
"MIT"
] | 1 | 2021-05-30T22:55:27.000Z | 2021-05-30T22:55:27.000Z | from collections import deque
from network.network import Network
from network.algorithms.exceptions import NotNetworkNode
__all__ = ["dfs", "bfs"]
# Basic idea: https://xkcd.com/2407
def dfs(network: Network, source: int):
""" Depth First Search
Args:
network (Network): network object
sou... | 28.595238 | 91 | 0.638634 | 308 | 2,402 | 4.951299 | 0.275974 | 0.057705 | 0.041967 | 0.034098 | 0.740984 | 0.740984 | 0.740984 | 0.709508 | 0.64 | 0.64 | 0 | 0.017202 | 0.273938 | 2,402 | 83 | 92 | 28.939759 | 0.857225 | 0.497086 | 0 | 0.444444 | 0 | 0 | 0.1137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8edf90917a13451f0c616f43cc45abb6b8b51a27 | 177 | py | Python | app/auth/__init__.py | drewheathens/Pitch | b4704e93db53561c5bae88b500c914657e7b5e89 | [
"MIT"
] | null | null | null | app/auth/__init__.py | drewheathens/Pitch | b4704e93db53561c5bae88b500c914657e7b5e89 | [
"MIT"
] | null | null | null | app/auth/__init__.py | drewheathens/Pitch | b4704e93db53561c5bae88b500c914657e7b5e89 | [
"MIT"
] | null | null | null | from flask import Blueprint
auth = Blueprint('auth',__name__)
<<<<<<< HEAD
from . import *
=======
from . import views,forms
>>>>>>> 0d40a78dc1505fb4a4dcabc5ff2491f48afa6777
| 16.090909 | 48 | 0.694915 | 16 | 177 | 7.4375 | 0.625 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.129944 | 177 | 10 | 49 | 17.7 | 0.62987 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.428571 | null | null | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d91feb8df4aa614584905aaf98fa9629c3434ce2 | 170 | py | Python | packages/3.questions-backend/exceptions.py | fedemaidan/prueba-tecnica | 52e66dba4efd7b65971e304e186700309bf2afe5 | [
"MIT"
] | 1 | 2020-01-28T17:10:51.000Z | 2020-01-28T17:10:51.000Z | packages/3.questions-backend/exceptions.py | fedemaidan/prueba-tecnica | 52e66dba4efd7b65971e304e186700309bf2afe5 | [
"MIT"
] | 20 | 2019-11-15T14:53:57.000Z | 2022-03-02T06:20:14.000Z | packages/3.questions-backend/exceptions.py | fedemaidan/prueba-tecnica | 52e66dba4efd7b65971e304e186700309bf2afe5 | [
"MIT"
] | null | null | null | from werkzeug.exceptions import Unauthorized, BadRequest, HTTPException, NotFound, Conflict
class BadCredentials(Unauthorized):
description = "Invalid credentials"
| 28.333333 | 91 | 0.817647 | 15 | 170 | 9.266667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 170 | 5 | 92 | 34 | 0.926667 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d92ad360b04f13459f3a0db27cf2cda08c56f92c | 1,367 | py | Python | config/settings/local.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | null | null | null | config/settings/local.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | null | null | null | config/settings/local.py | efefre/poradnia | 8bf9c88888d538cf4d1224431355c850d31ef252 | [
"MIT"
] | null | null | null | # flake8: noqa: F405
"""
Local Configurations
- Runs in Debug mode
- Uses console backend for emails
- Use Django Debug Toolbar
"""
import sys
from .common import * # noqa
# DEBUG
DEBUG = env("DEBUG", default=True)
TESTING = len(sys.argv) > 1 and sys.argv[1] == "test"
TEMPLATES[0]["OPTIONS"]["debug"] = DEBUG
# END D... | 27.897959 | 72 | 0.739576 | 159 | 1,367 | 6.18239 | 0.484277 | 0.231943 | 0.256358 | 0.04883 | 0.083418 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015025 | 0.123628 | 1,367 | 48 | 73 | 28.479167 | 0.805509 | 0.13387 | 0 | 0 | 0 | 0 | 0.608027 | 0.538002 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9459a765bb7f1fb617aefe18298fc0a715c3f49 | 69 | py | Python | earthworm/hello.py | shubhamt619/earthworm | 6459cc96731b54ff7844fc60a68331410f4b999b | [
"MIT"
] | 1 | 2019-09-09T06:58:45.000Z | 2019-09-09T06:58:45.000Z | earthworm/hello.py | shubhamt619/earthworm | 6459cc96731b54ff7844fc60a68331410f4b999b | [
"MIT"
] | null | null | null | earthworm/hello.py | shubhamt619/earthworm | 6459cc96731b54ff7844fc60a68331410f4b999b | [
"MIT"
] | null | null | null | def sayHello(name):
print("Hello there " + name + " !")
pass
| 17.25 | 39 | 0.550725 | 8 | 69 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 69 | 3 | 40 | 23 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d95d845136afb984fa5d6bf3c3b08a93bfe4c3ea | 20 | py | Python | sample_app/foo/bar5.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/foo/bar5.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | sample_app/foo/bar5.py | ali5h/pazel | c861a358f577c81d6d8298b478bfe4449889be59 | [
"MIT"
] | null | null | null | """Ignored file."""
| 10 | 19 | 0.55 | 2 | 20 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.611111 | 0.65 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d96ef060437843562e6c5915bced00932e0f2a90 | 138 | py | Python | wordinserter/exceptions.py | ctxis/wordinserter | a367a310c0ab466eeb1f6d3357543a33cdbf4ecc | [
"MIT"
] | 99 | 2015-06-03T13:24:18.000Z | 2021-11-15T09:30:41.000Z | wordinserter/exceptions.py | ctxis/wordinserter | a367a310c0ab466eeb1f6d3357543a33cdbf4ecc | [
"MIT"
] | 13 | 2015-05-26T08:40:00.000Z | 2018-11-01T16:54:42.000Z | wordinserter/exceptions.py | ctxis/wordinserter | a367a310c0ab466eeb1f6d3357543a33cdbf4ecc | [
"MIT"
] | 25 | 2015-06-13T08:21:15.000Z | 2021-11-11T21:35:18.000Z |
class InsertError(RuntimeError):
def __init__(self, operation, cause):
self.operation = operation
self.cause = cause
| 23 | 41 | 0.673913 | 14 | 138 | 6.357143 | 0.571429 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 138 | 5 | 42 | 27.6 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d999f8978f3015561545a229f1a4539db6365f06 | 274 | py | Python | makemigrations_my_app.py | realsaeedhassani/mpkg-school-info | a7f8bd600c0d24043ea77353b69dfffa8d4087d9 | [
"MIT"
] | 2 | 2021-10-13T19:44:48.000Z | 2021-10-14T08:27:50.000Z | makemigrations_my_app.py | realSaeedHassani/mpkg-school-info | a7f8bd600c0d24043ea77353b69dfffa8d4087d9 | [
"MIT"
] | null | null | null | makemigrations_my_app.py | realSaeedHassani/mpkg-school-info | a7f8bd600c0d24043ea77353b69dfffa8d4087d9 | [
"MIT"
] | null | null | null | # school_info/makemigrations_my_app.py
from django.core.management import call_command
from boot_my_app import boot_my_app
boot_my_app()
# python manage.py makemigrations my_app
call_command("makemigrations", "my_app")
# python manage.py migrate
call_command("migrate")
| 21.076923 | 47 | 0.821168 | 42 | 274 | 5.02381 | 0.404762 | 0.14218 | 0.270142 | 0.161137 | 0.180095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09854 | 274 | 12 | 48 | 22.833333 | 0.854251 | 0.364964 | 0 | 0 | 0 | 0 | 0.158824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
79791a892967c593f18dc277acbcacd77fb10da3 | 161 | py | Python | examples/login.py | Slimakoi/Sankaku.py | 0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b | [
"MIT"
] | 1 | 2022-02-14T18:52:02.000Z | 2022-02-14T18:52:02.000Z | examples/login.py | Slimakoi/Sankaku.py | 0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b | [
"MIT"
] | null | null | null | examples/login.py | Slimakoi/Sankaku.py | 0d8c23413509483cb9e2c51242d5a1fdfbd1bb1b | [
"MIT"
] | null | null | null | import sankaku
sankaku = sankaku.Client()
login = sankaku.login(email = "__email__", password = "__password__")
print(f"Logged in as '{sankaku.profile.name}'") | 26.833333 | 69 | 0.732919 | 20 | 161 | 5.5 | 0.65 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 161 | 6 | 70 | 26.833333 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.358025 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
79afabea3a16fd82c172b394734ce64015ccf0fa | 670 | py | Python | otrs_python_api/exceptions.py | Infosecurity-LLC/otrs_python_api_v2 | 11ea41fe56aecca1605526ea171c4a5f41b67faa | [
"Apache-2.0"
] | 1 | 2022-02-04T10:00:31.000Z | 2022-02-04T10:00:31.000Z | otrs_python_api/exceptions.py | Infosecurity-LLC/otrs_python_api_v2 | 11ea41fe56aecca1605526ea171c4a5f41b67faa | [
"Apache-2.0"
] | null | null | null | otrs_python_api/exceptions.py | Infosecurity-LLC/otrs_python_api_v2 | 11ea41fe56aecca1605526ea171c4a5f41b67faa | [
"Apache-2.0"
] | 1 | 2022-02-04T10:00:32.000Z | 2022-02-04T10:00:32.000Z | class OTRSException(Exception):
pass
class HTTPMethodNotSupportedError(OTRSException):
pass
class OTRSBadResponse(OTRSException):
pass
class AuthError(OTRSException):
pass
class AccessDeniedError(OTRSException):
pass
class InvalidParameterError(OTRSException):
pass
class ArgumentMiss... | 13.137255 | 49 | 0.770149 | 52 | 670 | 9.923077 | 0.307692 | 0.209302 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171642 | 670 | 50 | 50 | 13.4 | 0.92973 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
79bb7eeda466524a553e46b8564e8ef5b46ba20b | 90 | py | Python | aphor/apps.py | Joaxin/django-welogs | 260a72322cdc5591ecd3ceae1dc99a66da333d2b | [
"MIT"
] | null | null | null | aphor/apps.py | Joaxin/django-welogs | 260a72322cdc5591ecd3ceae1dc99a66da333d2b | [
"MIT"
] | null | null | null | aphor/apps.py | Joaxin/django-welogs | 260a72322cdc5591ecd3ceae1dc99a66da333d2b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class AphorConfig(AppConfig):
name = 'aphor'
| 15 | 34 | 0.7 | 10 | 90 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 90 | 5 | 35 | 18 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79c9d8b9d4786dc1d8f1ab27b0181c5831748533 | 174 | py | Python | src/db/services/literature.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | src/db/services/literature.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | src/db/services/literature.py | josiahfmccoy/scholasterion | 2d547bc56b47a46448a4f1e5b83eb56e15310926 | [
"Apache-2.0"
] | null | null | null | from ..schema.literature.models import *
from .generic import GenericService
__all__ = ['DocumentService']
class DocumentService(GenericService):
__model__ = Document
| 19.333333 | 40 | 0.781609 | 16 | 174 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132184 | 174 | 8 | 41 | 21.75 | 0.847682 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8dcfd9c499e26f807cfb4259d2bd382162bd77dd | 155 | py | Python | tests/test_examples.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 87 | 2020-09-30T10:18:26.000Z | 2022-03-10T08:56:04.000Z | tests/test_examples.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 16 | 2020-09-30T10:57:17.000Z | 2022-01-16T02:10:45.000Z | tests/test_examples.py | dhruvmanila/pyinspect | ce90df243e5e5ee100f13de4329c111454b8c891 | [
"MIT"
] | 5 | 2020-11-20T07:39:26.000Z | 2022-01-13T04:54:51.000Z | import sys
sys.path.append("./")
import examples as ex
import pytest
import pyinspect as pi
def test_examples():
pi.search(ex) # runs all of them
| 12.916667 | 37 | 0.709677 | 25 | 155 | 4.36 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 155 | 11 | 38 | 14.090909 | 0.872 | 0.103226 | 0 | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.571429 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8dd88b872e9616a6b66443c1b8d6590a3fcb0f04 | 139 | py | Python | seconds2years.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | null | null | null | seconds2years.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | 1 | 2016-02-25T05:26:05.000Z | 2016-02-25T05:26:05.000Z | seconds2years.py | chapman-cpsc-230/hw1-johns660 | e84299e7ca8709dae3958bfd8231eee27a01d35f | [
"MIT"
] | null | null | null | second_in_minute = 60
minutes_in_hour = 60
hours_in_day = 24
days_in_a_year = 365.24
Second_in_year = 365.24*24*60*60
print Second_in_year
| 19.857143 | 32 | 0.805755 | 30 | 139 | 3.3 | 0.466667 | 0.242424 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 0.122302 | 139 | 6 | 33 | 23.166667 | 0.631148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dd8fca1a9bd0e231a658633212cde02a3f8953b | 181 | py | Python | Exemples cours 6/ISS.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | Exemples cours 6/ISS.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | Exemples cours 6/ISS.py | geocot/coursPython | 74f634a96146c2244f859b9d449534330d9542fb | [
"Apache-2.0"
] | null | null | null | import urllib.request
import json
x = urllib.request.urlopen('http://api.open-notify.org/astros.json')
donnees = json.load(x)
print(donnees['number'], donnees['people'])
| 20.111111 | 69 | 0.701657 | 25 | 181 | 5.08 | 0.68 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127072 | 181 | 8 | 70 | 22.625 | 0.803797 | 0 | 0 | 0 | 0 | 0 | 0.290698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8de5e9ca90f124e11cddd6726aa4affc1f3c756d | 232 | py | Python | math/decimal_to_binary/python/decimal_to_binary.py | CarbonDDR/al-go-rithms | 8e65affbe812931b7dde0e2933eb06c0f44b4130 | [
"CC0-1.0"
] | 1,253 | 2017-06-06T07:19:25.000Z | 2022-03-30T17:07:58.000Z | math/decimal_to_binary/python/decimal_to_binary.py | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 554 | 2017-09-29T18:56:01.000Z | 2022-02-21T15:48:13.000Z | math/decimal_to_binary/python/decimal_to_binary.py | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 2,226 | 2017-09-29T19:59:59.000Z | 2022-03-25T08:59:55.000Z | def decimal_to_binary(n):
if n > 1: decimal_to_binary(n//2)
print(n % 2, end = '')
try: decimal_to_binary(int(input("Enter an Integer to Covert into Binary: ")))
except ValueError: print("Input is not an integer.")
print()
| 29 | 78 | 0.685345 | 39 | 232 | 3.923077 | 0.564103 | 0.176471 | 0.294118 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015544 | 0.168103 | 232 | 7 | 79 | 33.142857 | 0.777202 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.5 | 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 | 1 | 0 | 4 |
8df5e1049b53a7469e226ac53c123bc5073c60c7 | 199 | py | Python | demo/models.py | stefan-koch-micro/django-bldtool | 686de6dd28ad029e9493cd47f603b6607b8ca0d8 | [
"MIT"
] | null | null | null | demo/models.py | stefan-koch-micro/django-bldtool | 686de6dd28ad029e9493cd47f603b6607b8ca0d8 | [
"MIT"
] | 2 | 2021-03-10T14:57:09.000Z | 2021-05-11T10:42:11.000Z | demo/models.py | stefan-koch-micro/django-bldtool | 686de6dd28ad029e9493cd47f603b6607b8ca0d8 | [
"MIT"
] | null | null | null | """'Standard django models."""
from django.db import models
# Create your models here.
class Data(models.Model):
"""Example data for the demo app"""
name = models.CharField(max_length=100)
| 22.111111 | 43 | 0.703518 | 28 | 199 | 4.964286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.165829 | 199 | 8 | 44 | 24.875 | 0.819277 | 0.40201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5c01c38114396a16fb0d6562fba581a5667a3a45 | 104 | py | Python | lib/d2yabt/service/check.py | jeffwhite530/d2yabt | ff70bc9e46f6d7238fdcc48bb2eff106b198270a | [
"BSD-3-Clause"
] | null | null | null | lib/d2yabt/service/check.py | jeffwhite530/d2yabt | ff70bc9e46f6d7238fdcc48bb2eff106b198270a | [
"BSD-3-Clause"
] | null | null | null | lib/d2yabt/service/check.py | jeffwhite530/d2yabt | ff70bc9e46f6d7238fdcc48bb2eff106b198270a | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
"""This file contains the health check functions used on a service bundle.
"""
| 17.333333 | 74 | 0.721154 | 16 | 104 | 4.6875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.163462 | 104 | 5 | 75 | 20.8 | 0.850575 | 0.894231 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c0544ce5a63503aafef5344cf3c57b1a30a0e9c | 105 | py | Python | HomeWork/Week1/TranKimTrung/server/boitoan/__init__.py | makotovnjp/Talent5PythonFlask | 18196fe0cc9a9f9e6571aa25bee274f71c15b197 | [
"MIT"
] | null | null | null | HomeWork/Week1/TranKimTrung/server/boitoan/__init__.py | makotovnjp/Talent5PythonFlask | 18196fe0cc9a9f9e6571aa25bee274f71c15b197 | [
"MIT"
] | null | null | null | HomeWork/Week1/TranKimTrung/server/boitoan/__init__.py | makotovnjp/Talent5PythonFlask | 18196fe0cc9a9f9e6571aa25bee274f71c15b197 | [
"MIT"
] | null | null | null | # Python
# 1 file: 1 module
# 1 package: là tổ hợp của những file .py và trong directory có __init__.py
| 21 | 75 | 0.714286 | 20 | 105 | 3.55 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.219048 | 105 | 4 | 76 | 26.25 | 0.829268 | 0.92381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c4be1808e09b56654be7924c44c4d3be0cd0af8 | 346 | py | Python | pinolo/utils/__init__.py | piger/pinolo | 9fca121adccb759c7f50c8862813c279c17b6d48 | [
"BSD-3-Clause"
] | 2 | 2016-04-13T07:12:28.000Z | 2018-04-10T15:14:25.000Z | pinolo/utils/__init__.py | piger/pinolo | 9fca121adccb759c7f50c8862813c279c17b6d48 | [
"BSD-3-Clause"
] | null | null | null | pinolo/utils/__init__.py | piger/pinolo | 9fca121adccb759c7f50c8862813c279c17b6d48 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8
# http://stackoverflow.com/questions/2082152/case-insensitive-dictionary
class CaseInsensitiveDict(dict):
def __setitem__(self, key, value):
super(Caseinsensitivedict, self).__setitem__(key.lower(), value)
def __getitem__(self, key):
return super(Caseinsensitivedict, self)... | 31.454545 | 72 | 0.725434 | 37 | 346 | 6.351351 | 0.621622 | 0.059574 | 0.238298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.138728 | 346 | 10 | 73 | 34.6 | 0.761745 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3099820122b8afe28f0b57ff1eb943c09d0698ca | 151 | py | Python | maskrcnn/lib/utils/torch_utils.py | quanhua92/maskrcnn-pytorch | d5dff68735ab175cba5604230141874aa6bd59b8 | [
"MIT"
] | 3 | 2018-12-29T12:57:48.000Z | 2021-12-10T10:13:35.000Z | maskrcnn/lib/utils/torch_utils.py | quanhua92/maskrcnn-pytorch | d5dff68735ab175cba5604230141874aa6bd59b8 | [
"MIT"
] | null | null | null | maskrcnn/lib/utils/torch_utils.py | quanhua92/maskrcnn-pytorch | d5dff68735ab175cba5604230141874aa6bd59b8 | [
"MIT"
] | 1 | 2019-01-07T23:04:24.000Z | 2019-01-07T23:04:24.000Z | import torch as th
def no_grad(f):
def new_f(*args, **kwargs):
with th.no_grad():
return f(*args, **kwargs)
return new_f
| 16.777778 | 37 | 0.562914 | 24 | 151 | 3.375 | 0.541667 | 0.148148 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304636 | 151 | 8 | 38 | 18.875 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30bdbb88ba216240a55ea02afe8ff3d06e1e2301 | 801 | py | Python | skeleton/views.py | ricklusive/django-skeleton | 7bf308eea7abd654ee96a8c1bf5a5ad486e1a83a | [
"CC0-1.0"
] | null | null | null | skeleton/views.py | ricklusive/django-skeleton | 7bf308eea7abd654ee96a8c1bf5a5ad486e1a83a | [
"CC0-1.0"
] | null | null | null | skeleton/views.py | ricklusive/django-skeleton | 7bf308eea7abd654ee96a8c1bf5a5ad486e1a83a | [
"CC0-1.0"
] | null | null | null | from django.http import HttpResponse, Http404
from django.shortcuts import render, render_to_response, RequestContext
from django.contrib.auth.decorators import login_required
from emailauth.models import MyUser
import logging
logger = logging.getLogger(__name__)
#standard views here
def home(request):
return rende... | 34.826087 | 100 | 0.813983 | 99 | 801 | 6.373737 | 0.40404 | 0.063391 | 0.126783 | 0.139461 | 0.438986 | 0.301109 | 0.155309 | 0 | 0 | 0 | 0 | 0.004104 | 0.087391 | 801 | 23 | 101 | 34.826087 | 0.859097 | 0.02372 | 0 | 0 | 0 | 0 | 0.071611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.3125 | 0.1875 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
30be8fce1efd6a00f21cbdf55f3f121e5c976952 | 167 | py | Python | app.py | gregroe/python-docs-hello-world | c62008e874ec1052f9d4c870af4a4bd76a3f5c70 | [
"MIT"
] | null | null | null | app.py | gregroe/python-docs-hello-world | c62008e874ec1052f9d4c870af4a4bd76a3f5c70 | [
"MIT"
] | null | null | null | app.py | gregroe/python-docs-hello-world | c62008e874ec1052f9d4c870af4a4bd76a3f5c70 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello, World!"
@app.route("/greg")
def hellogreg():
return "Hello, Greg!"
| 15.181818 | 26 | 0.640719 | 22 | 167 | 4.681818 | 0.545455 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 167 | 10 | 27 | 16.7 | 0.746377 | 0 | 0 | 0 | 0 | 0 | 0.185629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
30d417ac0424034a66a6508e2272395b7012065f | 816 | py | Python | My_Account/migrations/0018_auto_20200612_1927.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | My_Account/migrations/0018_auto_20200612_1927.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | My_Account/migrations/0018_auto_20200612_1927.py | CHESyrian/Syrians | 8376e9bed6e3a03f536d8aacd523d630f6bc4345 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.6 on 2020-06-12 16:27
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('My_Account', '0017_auto_20200612_1522'),
]
operations = [
migrations.RenameField(
model_name='sharing_image',
old_name='Like... | 24 | 50 | 0.546569 | 81 | 816 | 5.209877 | 0.481481 | 0.199052 | 0.246446 | 0.28436 | 0.654028 | 0.654028 | 0.654028 | 0.57109 | 0.443128 | 0.312796 | 0 | 0.057944 | 0.344363 | 816 | 33 | 51 | 24.727273 | 0.730841 | 0.055147 | 0 | 0.740741 | 1 | 0 | 0.183355 | 0.029909 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
30ed19720b23d32f02bf4627084b943d0e99f40d | 90 | py | Python | tasks-around-university/rest/alias/apps.py | JaliJuhola/tasks-around-tampere | 87853210187764fc7cfcf89397256efbcd324c09 | [
"MIT"
] | null | null | null | tasks-around-university/rest/alias/apps.py | JaliJuhola/tasks-around-tampere | 87853210187764fc7cfcf89397256efbcd324c09 | [
"MIT"
] | 2 | 2020-06-05T19:08:46.000Z | 2021-06-10T20:51:31.000Z | tasks-around-university/rest/alias/apps.py | JaliJuhola/tasks-around-tampere | 87853210187764fc7cfcf89397256efbcd324c09 | [
"MIT"
] | 1 | 2019-02-18T08:58:04.000Z | 2019-02-18T08:58:04.000Z | from django.apps import AppConfig
class AliasConfig(AppConfig):
name = 'rest.alias'
| 15 | 33 | 0.744444 | 11 | 90 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a504ed2346edfb3bb300a8784e31896f99cac1cf | 356 | py | Python | tests/test_tutorial/test_testing/test_main_b_py310.py | ddanier/fastapi | 440d2d2d1a72867b3f38b5c7359e021cccbfea8b | [
"MIT"
] | 13 | 2022-01-13T10:02:42.000Z | 2022-03-23T20:32:14.000Z | tests/test_tutorial/test_testing/test_main_b_py310.py | numan-hussain/fastapi | 672c55ac626b20cc6219696023cdcc5871e5141d | [
"MIT"
] | 1 | 2022-01-07T21:04:04.000Z | 2022-01-07T21:04:04.000Z | tests/test_tutorial/test_testing/test_main_b_py310.py | numan-hussain/fastapi | 672c55ac626b20cc6219696023cdcc5871e5141d | [
"MIT"
] | 1 | 2022-03-29T05:58:30.000Z | 2022-03-29T05:58:30.000Z | from ...utils import needs_py310
@needs_py310
def test_app():
from docs_src.app_testing.app_b_py310 import test_main
test_main.test_create_existing_item()
test_main.test_create_item()
test_main.test_create_item_bad_token()
test_main.test_read_inexistent_item()
test_main.test_read_item()
t... | 25.428571 | 58 | 0.789326 | 57 | 356 | 4.368421 | 0.350877 | 0.2249 | 0.337349 | 0.257028 | 0.369478 | 0.369478 | 0 | 0 | 0 | 0 | 0 | 0.029221 | 0.134831 | 356 | 13 | 59 | 27.384615 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.2 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a50664121a96337e566fb1447a8b8e88a6d6850b | 39 | py | Python | imagetagger/venv/lib/python3.7/rlcompleter.py | wrigsa/ImageTagger | d8a7ab7d004eeda8deae423eccc7236c4accab47 | [
"MIT"
] | 8 | 2020-04-09T13:37:16.000Z | 2021-11-22T01:26:02.000Z | env/lib/python3.7/rlcompleter.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 23 | 2019-01-19T08:54:48.000Z | 2022-03-11T23:39:37.000Z | env/lib/python3.7/rlcompleter.py | karenhao/Office-365-Flask-App-kudos | 95500ec55169f49eb281fff9905ad0b7f94d6fa3 | [
"MIT"
] | 5 | 2021-01-12T07:03:31.000Z | 2021-09-27T16:30:24.000Z | /anaconda3/lib/python3.7/rlcompleter.py | 39 | 39 | 0.846154 | 6 | 39 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 39 | 1 | 39 | 39 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb721a7460b07aa15ceff0baf3f310769ac44eea | 61 | py | Python | pt/115c/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | pt/115c/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | pt/115c/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Vamos finalizar o projeto de acesso a arquivos em Python.
| 20.333333 | 59 | 0.770492 | 10 | 61 | 4.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 2 | 60 | 30.5 | 0.959184 | 0.934426 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb732367bc4be1868dd9a9ea3796e720b7f8565c | 23 | py | Python | jesse/version.py | Dungtobocavoi/Jesse-Test | e51e5f261087ed06cbdd74b6ff69586368b89d3b | [
"MIT"
] | null | null | null | jesse/version.py | Dungtobocavoi/Jesse-Test | e51e5f261087ed06cbdd74b6ff69586368b89d3b | [
"MIT"
] | null | null | null | jesse/version.py | Dungtobocavoi/Jesse-Test | e51e5f261087ed06cbdd74b6ff69586368b89d3b | [
"MIT"
] | null | null | null | __version__ = '0.27.8'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb76ee386cc0274ee0b4c3ae6a6e685c7c253778 | 114 | py | Python | examples/ForPatching/MediumOverCapacitiesRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 1 | 2020-07-29T13:48:32.000Z | 2020-07-29T13:48:32.000Z | examples/ForPatching/MediumOverCapacitiesRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 2 | 2020-11-17T20:27:57.000Z | 2021-01-11T15:41:10.000Z | examples/ForPatching/MediumOverCapacitiesRunner.py | supermihi/scgen | 844144b8fb59de6a81c305ebcf0e39cf5af7c01d | [
"MIT"
] | 1 | 2020-11-16T12:59:40.000Z | 2020-11-16T12:59:40.000Z | from examples.exampleRunner import runExample
runExample("ForPatching/MediumOverCapacities.json", withExcel=False) | 57 | 68 | 0.877193 | 11 | 114 | 9.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 114 | 2 | 68 | 57 | 0.917431 | 0 | 0 | 0 | 0 | 0 | 0.321739 | 0.321739 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb788da1797f599db0e87aadeb79ef4db880da72 | 84 | py | Python | segmentation_pipeline/analize.py | petrochenko-pavel-a/segmentation_training_pipeline | 46d721204f6dbd4af73396a591254dcf3e24fd06 | [
"MIT"
] | 31 | 2018-11-26T09:15:28.000Z | 2019-05-10T13:59:28.000Z | segmentation_pipeline/analize.py | musket-ml/segmentation_training_pipeline | 46d721204f6dbd4af73396a591254dcf3e24fd06 | [
"MIT"
] | 11 | 2018-10-25T14:48:23.000Z | 2019-04-11T19:47:29.000Z | segmentation_pipeline/analize.py | musket-ml/segmentation_training_pipeline | 46d721204f6dbd4af73396a591254dcf3e24fd06 | [
"MIT"
] | 5 | 2019-05-16T02:21:44.000Z | 2019-11-07T01:37:14.000Z | import musket_core.analize as analize
if __name__ == '__main__':
analize.main()
| 21 | 37 | 0.738095 | 11 | 84 | 4.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 84 | 3 | 38 | 28 | 0.746479 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb8cb1d3dcd227948d2308831b01753f6bedce4c | 2,388 | py | Python | fiche_produit/migrations/0024_auto_20211002_1752.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | fiche_produit/migrations/0024_auto_20211002_1752.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | fiche_produit/migrations/0024_auto_20211002_1752.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.2.6 on 2021-10-02 12:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fiche_produit', '0023_rename_no_order_number'),
]
operations = [
migrations.RemoveConstraint(
model_name='annexe5',
... | 28.771084 | 109 | 0.526801 | 202 | 2,388 | 6.039604 | 0.257426 | 0.110656 | 0.191803 | 0.221311 | 0.521311 | 0.32459 | 0.32459 | 0.298361 | 0.298361 | 0.298361 | 0 | 0.014184 | 0.350503 | 2,388 | 82 | 110 | 29.121951 | 0.772405 | 0.018844 | 0 | 0.723684 | 1 | 0 | 0.161897 | 0.020931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013158 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eba9a22f99e1ffef6219b675d7548d8bdc264f7b | 10,736 | py | Python | tests/test_location.py | HoldYourBreath/Library | 776d4e31beb3ce976c23dc423c88839435bf26ae | [
"MIT"
] | 2 | 2017-04-29T07:27:04.000Z | 2017-06-17T14:49:14.000Z | tests/test_location.py | HoldYourBreath/Library | 776d4e31beb3ce976c23dc423c88839435bf26ae | [
"MIT"
] | 45 | 2017-06-16T13:34:45.000Z | 2022-03-08T22:46:52.000Z | tests/test_location.py | HoldYourBreath/Library | 776d4e31beb3ce976c23dc423c88839435bf26ae | [
"MIT"
] | null | null | null | import json
import codecs
from .test_server import ServerTestCase
import library.database as database
class SitesTestCase(ServerTestCase):
def setUp(self):
ServerTestCase.setUp(self)
# Make sure sites and rooms tables are empty
with self.app.session_transaction():
db = databa... | 39.182482 | 79 | 0.610563 | 1,401 | 10,736 | 4.497502 | 0.091363 | 0.111887 | 0.044279 | 0.098556 | 0.810982 | 0.80273 | 0.794636 | 0.696397 | 0.665926 | 0.617204 | 0 | 0.016412 | 0.25652 | 10,736 | 273 | 80 | 39.326007 | 0.772989 | 0.071814 | 0 | 0.58 | 0 | 0 | 0.107042 | 0.025352 | 0 | 0 | 0 | 0 | 0.235 | 1 | 0.085 | false | 0 | 0.02 | 0 | 0.11 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebb0cd41b710672695b2c81c5532c8196641e3fb | 83 | py | Python | lemys/__init__.py | oyyablokov/lemys | 7a1f4b4516f22f2a995e096caefbf6c0f086dad1 | [
"MIT"
] | 1 | 2017-11-14T11:09:45.000Z | 2017-11-14T11:09:45.000Z | tests/__init__.py | oyyablokov/lemys | 7a1f4b4516f22f2a995e096caefbf6c0f086dad1 | [
"MIT"
] | null | null | null | tests/__init__.py | oyyablokov/lemys | 7a1f4b4516f22f2a995e096caefbf6c0f086dad1 | [
"MIT"
] | null | null | null | import sys, os
sys.path.append(sys.argv[0] + '/..') # to include parent packages
| 20.75 | 66 | 0.662651 | 13 | 83 | 4.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.156627 | 83 | 3 | 67 | 27.666667 | 0.771429 | 0.313253 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ccdbd6c2012e1eb51f9732fc47f3d3b27cbd2722 | 242 | py | Python | src/Week2/unicode-output.py | dcavar/Py3L | b11d66174e9b5a9e4c372cdd5fa413a790aeb00c | [
"Apache-2.0"
] | 3 | 2018-01-11T22:14:17.000Z | 2019-06-09T22:02:17.000Z | src/Week2/unicode-output.py | dcavar/Py3L | b11d66174e9b5a9e4c372cdd5fa413a790aeb00c | [
"Apache-2.0"
] | null | null | null | src/Week2/unicode-output.py | dcavar/Py3L | b11d66174e9b5a9e4c372cdd5fa413a790aeb00c | [
"Apache-2.0"
] | 1 | 2019-11-24T10:46:52.000Z | 2019-11-24T10:46:52.000Z | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import sys, codecs
sys.stdout = codecs.getwriter('utf-8')(sys.stdout.detach())
print("some åäö-string cvrčak Ʒɺʃɳ Жиба こんにちは。 また明日。 幸会 你好 안녕하세요 안녕히 주무셨어요? 안녕하세요? مرحبا سلام إشتقت إليك كثيرا")
| 26.888889 | 112 | 0.702479 | 39 | 242 | 4.358974 | 0.820513 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.140496 | 242 | 8 | 113 | 30.25 | 0.802885 | 0.177686 | 0 | 0 | 0 | 0.333333 | 0.548223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6903bc54fa92e24e65ccfb6e8eb1ea7ba2afb3a5 | 311 | py | Python | arduino_basic/basic_parser.py | marielme/Basic-for-arduino-board | 3eacba62eac436eb7ada5f9d963353b8bbfc2a1a | [
"Unlicense"
] | null | null | null | arduino_basic/basic_parser.py | marielme/Basic-for-arduino-board | 3eacba62eac436eb7ada5f9d963353b8bbfc2a1a | [
"Unlicense"
] | null | null | null | arduino_basic/basic_parser.py | marielme/Basic-for-arduino-board | 3eacba62eac436eb7ada5f9d963353b8bbfc2a1a | [
"Unlicense"
] | null | null | null | """
We use the library textx for parse and the grammar is in arduino_basic/basic.tx.
"""
from textx import metamodel_from_file
basic_model = metamodel_from_file('arduino_basic/basic.tx')
def cname(o):
return o.__class__.__name__
def program_parser(code):
return basic_model.model_from_str(code)
| 20.733333 | 80 | 0.765273 | 49 | 311 | 4.469388 | 0.591837 | 0.109589 | 0.155251 | 0.173516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14791 | 311 | 15 | 81 | 20.733333 | 0.826415 | 0.257235 | 0 | 0 | 0 | 0 | 0.098655 | 0.098655 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
690ef4cd79a4be13fdfc39a638baaf8010266dfe | 157 | py | Python | cli/env.py | quintenroets/cli | 8faa81d212259173c612b9dc2d8c0fd092afda6e | [
"MIT"
] | null | null | null | cli/env.py | quintenroets/cli | 8faa81d212259173c612b9dc2d8c0fd092afda6e | [
"MIT"
] | null | null | null | cli/env.py | quintenroets/cli | 8faa81d212259173c612b9dc2d8c0fd092afda6e | [
"MIT"
] | null | null | null | from dotenv import load_dotenv
from plib import Path
def load(path=None):
path = path or Path.HOME / ".bash_profile"
load_dotenv(dotenv_path=path)
| 19.625 | 46 | 0.738854 | 25 | 157 | 4.48 | 0.48 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 157 | 7 | 47 | 22.428571 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6921bd03444747dc61a5c059137ac0782c43c0c8 | 31 | py | Python | data/studio21_generated/introductory/4367/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4367/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4367/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def area_or_perimeter(l , w):
| 15.5 | 29 | 0.709677 | 6 | 31 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
693a19df3ea0a8e356dd28f04fe76f1762be2591 | 81 | py | Python | backend/__init__.py | viniaraujoo/Recommender-system | 712386fa874851d0cc4776d3d82c7dbbebd4cf88 | [
"Apache-2.0"
] | null | null | null | backend/__init__.py | viniaraujoo/Recommender-system | 712386fa874851d0cc4776d3d82c7dbbebd4cf88 | [
"Apache-2.0"
] | null | null | null | backend/__init__.py | viniaraujoo/Recommender-system | 712386fa874851d0cc4776d3d82c7dbbebd4cf88 | [
"Apache-2.0"
] | null | null | null | from .recomendation_algorithm import *
__all__ = recomendation_algorithm.__all__ | 27 | 41 | 0.864198 | 8 | 81 | 7.5 | 0.625 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 3 | 41 | 27 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
693ee450ecf57e7f618364d17e0e5501d6ae5604 | 277 | py | Python | src/data/types.py | cuizelin99/strategyqa | 1a7abf3dc98d5a0335126d9f4080ce376631be07 | [
"MIT"
] | 19 | 2021-01-17T02:19:36.000Z | 2021-12-06T14:35:24.000Z | src/data/types.py | cuizelin99/strategyqa | 1a7abf3dc98d5a0335126d9f4080ce376631be07 | [
"MIT"
] | 6 | 2021-03-08T16:09:29.000Z | 2021-11-04T04:21:25.000Z | src/data/types.py | cuizelin99/strategyqa | 1a7abf3dc98d5a0335126d9f4080ce376631be07 | [
"MIT"
] | 6 | 2021-06-07T14:42:38.000Z | 2022-02-08T04:54:39.000Z | from typing import NamedTuple
class Span(NamedTuple):
start: int
end: int
def is_subspan_of(self, other_span):
return (
other_span.start <= self.start <= other_span.end
and other_span.start <= self.end <= other_span.end
)
| 21.307692 | 62 | 0.613718 | 36 | 277 | 4.527778 | 0.472222 | 0.276074 | 0.171779 | 0.220859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296029 | 277 | 12 | 63 | 23.083333 | 0.835897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
695bc415c1dc9cf7dde940b43760bf9e98c6d82d | 516 | py | Python | make_dataset.py | westernguy2/lux-benchmark | 6d7aaaeeb93e1ee4e100e31e0324e9757c616337 | [
"Apache-2.0"
] | 2 | 2022-02-02T08:16:14.000Z | 2022-03-18T05:18:15.000Z | make_dataset.py | westernguy2/lux-benchmark | 6d7aaaeeb93e1ee4e100e31e0324e9757c616337 | [
"Apache-2.0"
] | 1 | 2021-09-22T03:37:06.000Z | 2021-09-22T03:37:06.000Z | make_dataset.py | westernguy2/lux-benchmark | 6d7aaaeeb93e1ee4e100e31e0324e9757c616337 | [
"Apache-2.0"
] | 2 | 2021-04-09T21:16:49.000Z | 2021-09-14T04:43:11.000Z | from utils.data_utils import generate_airbnb_copies, generate_communities_copies, save_downsample_communities, save_downsample_airbnb
generate_airbnb_copies(100)
generate_airbnb_copies(250)
generate_communities_copies(100) # assumes lux-datasets is in the same directory as lux-benchmark
save_downsample_communities(2000... | 39.692308 | 133 | 0.893411 | 68 | 516 | 6.352941 | 0.426471 | 0.291667 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094262 | 0.054264 | 516 | 13 | 134 | 39.692308 | 0.790984 | 0.120155 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6960120b0817aeff85c0f312b239e2ef79b1c512 | 87 | py | Python | ctgapi/apps.py | prkhrv/CTG-rest-API | 352a55a8d698ef92d8872888bc68a1226d94c1f5 | [
"MIT"
] | null | null | null | ctgapi/apps.py | prkhrv/CTG-rest-API | 352a55a8d698ef92d8872888bc68a1226d94c1f5 | [
"MIT"
] | null | null | null | ctgapi/apps.py | prkhrv/CTG-rest-API | 352a55a8d698ef92d8872888bc68a1226d94c1f5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CtgapiConfig(AppConfig):
name = 'ctgapi'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6965bca585119586f0900744fd1bc717c354a26b | 181 | py | Python | config.py | cozyBrain/MySQL_Module | 30912b9452efa2afb74cbb7626de138a08a54930 | [
"MIT"
] | 34 | 2018-05-25T15:53:24.000Z | 2022-03-04T11:41:19.000Z | config.py | cozyBrain/MySQL_Module | 30912b9452efa2afb74cbb7626de138a08a54930 | [
"MIT"
] | 12 | 2018-08-09T18:04:42.000Z | 2021-11-04T15:34:12.000Z | config.py | cozyBrain/MySQL_Module | 30912b9452efa2afb74cbb7626de138a08a54930 | [
"MIT"
] | 11 | 2019-01-15T06:55:41.000Z | 2021-09-26T06:44:19.000Z | # config.py
def can_build(env, platform):
return True
def configure(env):
pass
def get_doc_path():
return "doc_classes"
def get_doc_classes():
return [
"MySQL",
]
| 8.227273 | 29 | 0.668508 | 26 | 181 | 4.423077 | 0.615385 | 0.104348 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209945 | 181 | 21 | 30 | 8.619048 | 0.804196 | 0.049724 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.3 | 0.7 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
15c4bd252f97c6712e0035ad61590969e18a5aa8 | 86 | py | Python | src/greet.py | mikemarango/test-ubuntu | c81adbf3644994d2e65a83f85744461f5ec5ee3e | [
"MIT"
] | null | null | null | src/greet.py | mikemarango/test-ubuntu | c81adbf3644994d2e65a83f85744461f5ec5ee3e | [
"MIT"
] | null | null | null | src/greet.py | mikemarango/test-ubuntu | c81adbf3644994d2e65a83f85744461f5ec5ee3e | [
"MIT"
] | null | null | null | # greet.py| prints hello world to the console
message = 'Hello World'
print(message)
| 17.2 | 45 | 0.744186 | 13 | 86 | 4.923077 | 0.769231 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 4 | 46 | 21.5 | 0.888889 | 0.5 | 0 | 0 | 0 | 0 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
15d7fecf3a9943626eb8299ae9b1f2c39a380c29 | 287 | py | Python | Bioinformatics II/Week I/StringSpelledByGenomePath.py | egeulgen/Bioinformatics_Specialization | 38581b471a54c41d780d9eeb26a7033eb57f3a01 | [
"MIT"
] | 3 | 2021-04-03T23:46:42.000Z | 2021-08-08T01:19:32.000Z | Bioinformatics II/Week I/StringSpelledByGenomePath.py | egeulgen/Bioinformatics_Specialization | 38581b471a54c41d780d9eeb26a7033eb57f3a01 | [
"MIT"
] | null | null | null | Bioinformatics II/Week I/StringSpelledByGenomePath.py | egeulgen/Bioinformatics_Specialization | 38581b471a54c41d780d9eeb26a7033eb57f3a01 | [
"MIT"
] | null | null | null | def StringSpelledByGenomePath(DNA_list):
string = DNA_list[0]
del DNA_list[0]
DNA_list
for i, dna in enumerate(DNA_list):
string += dna[-1]
return string
if __name__ == "__main__":
import sys
DNA_list = sys.stdin.read().splitlines()
print StringSpelledByGenomePath(DNA_list)
| 20.5 | 42 | 0.745645 | 41 | 287 | 4.853659 | 0.536585 | 0.246231 | 0.321608 | 0.160804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.142857 | 287 | 13 | 43 | 22.076923 | 0.796748 | 0 | 0 | 0 | 0 | 0 | 0.027875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15eebbbdb73cec9523196fc5c929e9bdc54da8c4 | 309 | py | Python | examples/basic_writes.py | startupcodebr/pycomm3 | d20e8dc79d5fe389b9cbd1942cbb5e0630b6dcc2 | [
"MIT"
] | null | null | null | examples/basic_writes.py | startupcodebr/pycomm3 | d20e8dc79d5fe389b9cbd1942cbb5e0630b6dcc2 | [
"MIT"
] | null | null | null | examples/basic_writes.py | startupcodebr/pycomm3 | d20e8dc79d5fe389b9cbd1942cbb5e0630b6dcc2 | [
"MIT"
] | null | null | null | from pycomm3 import LogixDriver
def write_single():
with LogixDriver('10.61.50.4/10') as plc:
return plc.write(('DINT2', 100_000_000))
def write_multiple():
with LogixDriver('10.61.50.4/10') as plc:
return plc.write(('REAL2', 25.2), ('STRING3', 'A test for writing to a string.'))
| 25.75 | 89 | 0.650485 | 49 | 309 | 4.020408 | 0.591837 | 0.081218 | 0.172589 | 0.192893 | 0.436548 | 0.436548 | 0.436548 | 0.436548 | 0.436548 | 0.436548 | 0 | 0.135458 | 0.187702 | 309 | 11 | 90 | 28.090909 | 0.649402 | 0 | 0 | 0.285714 | 0 | 0 | 0.239482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
15f6204a486ede6f1dc241344245969a56ddc96e | 849 | py | Python | models/users.py | Teddy-Schmitz/temperature_admin | dd899b4b7bd9d1e27f9e00c1eb65d11fdf49bfc8 | [
"MIT"
] | null | null | null | models/users.py | Teddy-Schmitz/temperature_admin | dd899b4b7bd9d1e27f9e00c1eb65d11fdf49bfc8 | [
"MIT"
] | 1 | 2015-07-13T12:30:06.000Z | 2015-07-13T12:30:06.000Z | models/users.py | Teddy-Schmitz/temperature_admin | dd899b4b7bd9d1e27f9e00c1eb65d11fdf49bfc8 | [
"MIT"
] | null | null | null | from app.extensions import db
from sqlalchemy_utils import PasswordType
class User(db.Model):
"""Defines the model that holders user data for log ins."""
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
username = db.Column(db.String(120), nullable=False)
pa... | 25.727273 | 81 | 0.645465 | 105 | 849 | 5.066667 | 0.542857 | 0.06015 | 0.056391 | 0.06015 | 0.172932 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.250883 | 849 | 32 | 82 | 26.53125 | 0.81761 | 0.084806 | 0 | 0.208333 | 0 | 0 | 0.035065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0.083333 | 0.083333 | 0.166667 | 0.791667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
15f9dd210d2407efa1bfe247845019db23b2975f | 120 | py | Python | app/controllers/__init__.py | panicneo/fastapi-tortoise-template | 44ac6bc07846137900033122de17c963a89e68c2 | [
"MIT"
] | null | null | null | app/controllers/__init__.py | panicneo/fastapi-tortoise-template | 44ac6bc07846137900033122de17c963a89e68c2 | [
"MIT"
] | null | null | null | app/controllers/__init__.py | panicneo/fastapi-tortoise-template | 44ac6bc07846137900033122de17c963a89e68c2 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
from app.controllers import demo
router = APIRouter()
router.include_router(demo.router)
| 20 | 34 | 0.825 | 16 | 120 | 6.125 | 0.5625 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 5 | 35 | 24 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c61f80c3e0af85e6a3b922035659ee65464ce172 | 47 | py | Python | ML_Nizar/wikidata/tmp/user-config.py | KBNLresearch/Demosaurus | 9235e315d9eef9d8d64f94a90ab4fc8220670ef2 | [
"Apache-2.0"
] | 1 | 2020-06-25T16:39:35.000Z | 2020-06-25T16:39:35.000Z | ML_Nizar/wikidata/tmp/user-config.py | KBNLresearch/Demosaurus | 9235e315d9eef9d8d64f94a90ab4fc8220670ef2 | [
"Apache-2.0"
] | 6 | 2020-03-06T12:31:38.000Z | 2021-09-20T15:08:17.000Z | ML_Nizar/wikidata/tmp/user-config.py | KBNLresearch/Demosaurus | 9235e315d9eef9d8d64f94a90ab4fc8220670ef2 | [
"Apache-2.0"
] | null | null | null | usernames['wikidata']['wikidata'] = u'NizarBot' | 47 | 47 | 0.723404 | 5 | 47 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 47 | 1 | 47 | 47 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c62072ee0f0a07499a69bd893d4bf1946024dbe4 | 709 | py | Python | tests/server.py | rtmigo/runwerk_py | 9de4e2529d0404478824a6ef44589577bce880b0 | [
"MIT"
] | null | null | null | tests/server.py | rtmigo/runwerk_py | 9de4e2529d0404478824a6ef44589577bce880b0 | [
"MIT"
] | null | null | null | tests/server.py | rtmigo/runwerk_py | 9de4e2529d0404478824a6ef44589577bce880b0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# SPDX-FileCopyrightText: (c) 2021 Artёm IG <github.com/rtmigo>
# SPDX-License-Identifier: MIT
# unit tests will run this file as an external process to check the terminal
# output and the HTTP responses
import os
import sys
# the following import will fail without correct PYTHONPATH
from test... | 17.292683 | 76 | 0.708039 | 108 | 709 | 4.462963 | 0.601852 | 0.06639 | 0.049793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011864 | 0.167842 | 709 | 40 | 77 | 17.725 | 0.805085 | 0.38787 | 0 | 0 | 0 | 0 | 0.156542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.368421 | 0.210526 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
d6754bdcb17f73f4dcddf45b6fc4cbe5dfb7b5b1 | 42 | py | Python | Python/klampt/math/__init__.py | hpbader42/Klampt | 89faaef942c0c6fca579a3770314c6610e2ac772 | [
"BSD-3-Clause"
] | 238 | 2015-01-09T15:21:27.000Z | 2022-03-30T22:48:45.000Z | Python/klampt/math/__init__.py | hpbader42/Klampt | 89faaef942c0c6fca579a3770314c6610e2ac772 | [
"BSD-3-Clause"
] | 89 | 2015-08-26T16:56:42.000Z | 2022-03-29T23:45:46.000Z | Python/klampt/math/__init__.py | hpbader42/Klampt | 89faaef942c0c6fca579a3770314c6610e2ac772 | [
"BSD-3-Clause"
] | 84 | 2015-01-10T18:41:52.000Z | 2022-03-30T03:32:50.000Z | __all__ = ['vectorops','so2','so3','se3']
| 21 | 41 | 0.595238 | 5 | 42 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.071429 | 42 | 1 | 42 | 42 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d69a757b1d6d3d2a30beed8a7b6159b76d678b26 | 181 | py | Python | callthehill/phonebank/urls.py | 16zzundel5/callthehill | 2dbd9b2da5d0212ddf78a592fda9fadfd5eff227 | [
"Apache-2.0"
] | 3 | 2017-01-26T07:03:34.000Z | 2018-03-07T10:52:33.000Z | callthehill/phonebank/urls.py | callthehill/callthehill | 2dbd9b2da5d0212ddf78a592fda9fadfd5eff227 | [
"Apache-2.0"
] | 7 | 2017-01-26T03:50:37.000Z | 2017-01-30T02:31:22.000Z | callthehill/phonebank/urls.py | callthehill/callthehill | 2dbd9b2da5d0212ddf78a592fda9fadfd5eff227 | [
"Apache-2.0"
] | null | null | null | from phonebank.views import CallViewSet
from rest_framework.routers import DefaultRouter
router = DefaultRouter()
router.register(r'call', CallViewSet)
urlpatterns = router.urls
| 22.625 | 48 | 0.823204 | 21 | 181 | 7.047619 | 0.714286 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 181 | 7 | 49 | 25.857143 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0.022099 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6a35f540791af82d38b173fdc65b93eeee87d36 | 942 | py | Python | analytics/models.py | marcusaj0114/aion | 345c7eb19af74c7a1fcde734f655b09710b0fb30 | [
"MIT"
] | null | null | null | analytics/models.py | marcusaj0114/aion | 345c7eb19af74c7a1fcde734f655b09710b0fb30 | [
"MIT"
] | 8 | 2020-06-05T19:54:18.000Z | 2022-02-10T10:50:47.000Z | analytics/models.py | marcusaj0114/aion | 345c7eb19af74c7a1fcde734f655b09710b0fb30 | [
"MIT"
] | 3 | 2019-04-12T08:15:06.000Z | 2019-10-04T12:37:05.000Z | from django.db import models
from reservations.models import School, Organization
# Create your models here.
class LifetimeAionStat(models.Model):
reservations=models.IntegerField(default=0)
users=models.IntegerField(default=0)
resources=models.IntegerField(default=0)
time_blocks=models.IntegerField(d... | 33.642857 | 98 | 0.725053 | 109 | 942 | 6.137615 | 0.366972 | 0.188341 | 0.261584 | 0.272048 | 0.418535 | 0.418535 | 0.418535 | 0.418535 | 0.418535 | 0.304933 | 0 | 0.008974 | 0.171975 | 942 | 28 | 99 | 33.642857 | 0.848718 | 0.025478 | 0 | 0.421053 | 0 | 0 | 0.097056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.105263 | 0.105263 | 0.947368 | 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 | 1 | 1 | 0 | 0 | 4 |
d6abc6d0d03038f92ecf3d9188a072c8a83dccca | 120 | py | Python | factorialprimedecomposition.py | Rafisto/python-codebase | 1178f4e6ac54d54278ff61be8fe8f0463d734084 | [
"Apache-2.0"
] | null | null | null | factorialprimedecomposition.py | Rafisto/python-codebase | 1178f4e6ac54d54278ff61be8fe8f0463d734084 | [
"Apache-2.0"
] | null | null | null | factorialprimedecomposition.py | Rafisto/python-codebase | 1178f4e6ac54d54278ff61be8fe8f0463d734084 | [
"Apache-2.0"
] | null | null | null | # https://www.codewars.com/kata/5a045fee46d843effa000070/train/python
import math
def decomp(d):
print(decomp(14))
| 12 | 69 | 0.758333 | 16 | 120 | 5.6875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 0.1 | 120 | 9 | 70 | 13.333333 | 0.685185 | 0.558333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6c3934f033e28f91a521ed586013dd6329064ef | 7,354 | py | Python | src/rascore/util/PDBrenum/src/download/longusagemessage.py | mitch-parker/rascore | d6105db80359b43a7573edf7f36a756061be6965 | [
"Apache-2.0"
] | 7 | 2022-02-10T06:27:22.000Z | 2022-03-16T16:46:05.000Z | src/rascore/util/PDBrenum/src/download/longusagemessage.py | mitch-parker/rascore | d6105db80359b43a7573edf7f36a756061be6965 | [
"Apache-2.0"
] | null | null | null | src/rascore/util/PDBrenum/src/download/longusagemessage.py | mitch-parker/rascore | d6105db80359b43a7573edf7f36a756061be6965 | [
"Apache-2.0"
] | null | null | null | def long_usage_messenger():
return """
PDB.py
optional arguments:
-h, --help show this help message and exit
-rftf text_file_with_PDB.tsv, --renumber_from_text_file text_file_with_PDB.tsv
This option will download and renumber specified files
usage $ python3 PDB.py -rftf text_file_with_PDB_in_it.tsv -mm... | 51.788732 | 110 | 0.793446 | 1,193 | 7,354 | 4.680637 | 0.138307 | 0.043875 | 0.12894 | 0.146132 | 0.801397 | 0.763789 | 0.647564 | 0.603152 | 0.551397 | 0.368374 | 0 | 0.025379 | 0.121295 | 7,354 | 141 | 111 | 52.156028 | 0.83875 | 0 | 0 | 0.032 | 0 | 0 | 0.993745 | 0.329753 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008 | true | 0 | 0 | 0.008 | 0.016 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6d053ccf6383633be2432740c2582720452ebbd | 153 | py | Python | app/routes/custom_tempfilter.py | xieh1995/hellobt-web | 835952e5954c1a34f872fdcfadd7f3f0a18fa098 | [
"MIT"
] | 23 | 2019-01-17T02:31:27.000Z | 2022-02-27T02:57:12.000Z | app/routes/custom_tempfilter.py | Lusanren/bthello-app | 835952e5954c1a34f872fdcfadd7f3f0a18fa098 | [
"MIT"
] | 3 | 2020-05-02T08:23:24.000Z | 2021-02-22T08:52:35.000Z | app/routes/custom_tempfilter.py | Lusanren/bthello-app | 835952e5954c1a34f872fdcfadd7f3f0a18fa098 | [
"MIT"
] | 14 | 2019-02-27T00:33:28.000Z | 2021-12-29T08:19:22.000Z | #!/usr/bin/env python3
# encoding: utf-8
def init_ctfilter(app):
app.add_template_filter(eval_filter,'eval')
def eval_filter(i):
return eval(i) | 19.125 | 47 | 0.718954 | 25 | 153 | 4.2 | 0.68 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.137255 | 153 | 8 | 48 | 19.125 | 0.780303 | 0.24183 | 0 | 0 | 0 | 0 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d6e47599b7bc1f02890c574d63bc532b4ea7fccd | 96 | py | Python | setup.py | symonk/restpite | dbc39bea502f8c8c75004ad71933cc45c9c8b081 | [
"MIT"
] | null | null | null | setup.py | symonk/restpite | dbc39bea502f8c8c75004ad71933cc45c9c8b081 | [
"MIT"
] | 131 | 2020-12-13T14:34:20.000Z | 2022-03-28T15:18:24.000Z | setup.py | symonk/restpite | dbc39bea502f8c8c75004ad71933cc45c9c8b081 | [
"MIT"
] | null | null | null | import setuptools
# This is necessary to support editable installs with pip
setuptools.setup()
| 19.2 | 57 | 0.8125 | 13 | 96 | 6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 4 | 58 | 24 | 0.95122 | 0.572917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6ec11fb7222de9afb1e1d386be881b28f2c440e | 79 | py | Python | shaderlab/__init__.py | andburn/chasm | ed0e2e4c27f848de2dec8707c3573d0c4301e7a9 | [
"MIT"
] | 1 | 2020-05-01T14:03:52.000Z | 2020-05-01T14:03:52.000Z | shaderlab/__init__.py | andburn/chasm | ed0e2e4c27f848de2dec8707c3573d0c4301e7a9 | [
"MIT"
] | null | null | null | shaderlab/__init__.py | andburn/chasm | ed0e2e4c27f848de2dec8707c3573d0c4301e7a9 | [
"MIT"
] | null | null | null | from .lexer import tokenize
from .parser import parse
from .shaderlab import *
| 19.75 | 27 | 0.797468 | 11 | 79 | 5.727273 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 28 | 26.333333 | 0.940299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bae1224f0d02090dc8d702fa1cd06a26c1d682a7 | 140 | py | Python | demosys/exceptions.py | Contraz/demosys-py | 0479e0f3b0a3901f601bffd2d11e155f97b47555 | [
"0BSD"
] | 70 | 2017-03-31T12:01:41.000Z | 2022-01-05T06:30:57.000Z | demosys/exceptions.py | Contraz/demosys-py | 0479e0f3b0a3901f601bffd2d11e155f97b47555 | [
"0BSD"
] | 69 | 2017-06-18T22:37:46.000Z | 2020-01-23T04:02:22.000Z | demosys/exceptions.py | Contraz/demosys-py | 0479e0f3b0a3901f601bffd2d11e155f97b47555 | [
"0BSD"
] | 9 | 2017-05-13T21:13:02.000Z | 2020-10-01T18:09:49.000Z | """
Custom exceptions
"""
class ImproperlyConfigured(Exception):
"""Raised when demosys is configured incorrectly"""
pass
| 15.555556 | 56 | 0.671429 | 12 | 140 | 7.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221429 | 140 | 8 | 57 | 17.5 | 0.862385 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bae1db76c730c5928c8fca7c1920de6a10d8b8d2 | 208 | py | Python | grtoolkit/GUI.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | 3 | 2020-02-02T14:33:30.000Z | 2020-07-29T00:27:46.000Z | grtoolkit/GUI.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | null | null | null | grtoolkit/GUI.py | ZenosParadox/grtoolkit | 2e34f151a78f57864e39e572c221ca4b73e48bb7 | [
"MIT"
] | 2 | 2020-02-02T14:33:32.000Z | 2022-03-21T14:33:34.000Z | import tkinter as tk
from tkinter import filedialog
def chooseFile(parent, title = "Select file"):
root = tk.Tk()
root.withdraw()
return filedialog.askopenfilename(initialdir=parent, title=title) | 29.714286 | 69 | 0.745192 | 26 | 208 | 5.961538 | 0.653846 | 0.141935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158654 | 208 | 7 | 69 | 29.714286 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
24023f7e72fd36e7fd318e1689124a18ca068f76 | 782 | py | Python | src/astrolib/solar_system/motion_models.py | space-geek/integrationutils | 384375702a6c053aa2e5aaca6b9d5c43d86a16ad | [
"MIT"
] | null | null | null | src/astrolib/solar_system/motion_models.py | space-geek/integrationutils | 384375702a6c053aa2e5aaca6b9d5c43d86a16ad | [
"MIT"
] | null | null | null | src/astrolib/solar_system/motion_models.py | space-geek/integrationutils | 384375702a6c053aa2e5aaca6b9d5c43d86a16ad | [
"MIT"
] | null | null | null | from astrolib.base_objects import Matrix
from astrolib.base_objects import TimeSpan
from astrolib.base_objects import Vector3
from astrolib.orbit_elements import CartesianElements
class CelestialObjectMotionModel:
def __init__(self):
pass
def get_position_at_epoch(self, t: TimeSpan) -> Vector3:
... | 27.928571 | 84 | 0.753197 | 84 | 782 | 6.654762 | 0.357143 | 0.085868 | 0.078712 | 0.123435 | 0.359571 | 0.171735 | 0 | 0 | 0 | 0 | 0 | 0.00774 | 0.173913 | 782 | 27 | 85 | 28.962963 | 0.857585 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.055556 | 0.222222 | 0.111111 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
2408ee03c19565bee9c637bd150c254229ee8f81 | 905 | py | Python | as/src/asm/preprocessing/preprocessor.py | arklight-lang/little-arklight | 9b799db386e7c5f7b90ff4dfa9d59d9c08340e73 | [
"MIT"
] | 1 | 2020-03-19T14:49:39.000Z | 2020-03-19T14:49:39.000Z | as/src/asm/preprocessing/preprocessor.py | arklight-lang/little-arklight | 9b799db386e7c5f7b90ff4dfa9d59d9c08340e73 | [
"MIT"
] | null | null | null | as/src/asm/preprocessing/preprocessor.py | arklight-lang/little-arklight | 9b799db386e7c5f7b90ff4dfa9d59d9c08340e73 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Author : Ntwali Bashige
Copyright : Copyright 2019 - Ntwali Bashige
License : MIT
Version : 0.0.1
Maintainer : Ntwali Bashige
Email : ntwali.bashige@gmail.com
"""
from common.token_type import TokenType
from common.token import Token
from asm.l... | 25.857143 | 107 | 0.661878 | 118 | 905 | 5.033898 | 0.70339 | 0.087542 | 0.050505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01203 | 0.265193 | 905 | 34 | 108 | 26.617647 | 0.881203 | 0.662983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.222222 | false | 0.111111 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
2443c7e1a3dbbcf3fc557838d69aa00c25529df0 | 1,012 | py | Python | aiotdlib/api/functions/get_chat_sponsored_message.py | mostafa-arshadi/aiotdlib | 59f430a65dfb424fc69d471a0d7bcd77ad7acf08 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/get_chat_sponsored_message.py | mostafa-arshadi/aiotdlib | 59f430a65dfb424fc69d471a0d7bcd77ad7acf08 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/get_chat_sponsored_message.py | mostafa-arshadi/aiotdlib | 59f430a65dfb424fc69d471a0d7bcd77ad7acf08 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 36.142857 | 141 | 0.475296 | 84 | 1,012 | 5.630952 | 0.666667 | 0.038055 | 0.042283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004304 | 0.311265 | 1,012 | 27 | 142 | 37.481481 | 0.674319 | 0.602767 | 0 | 0 | 1 | 0 | 0.077994 | 0.064067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
245fbe66b6d53e9b4ddb4b8d550b82a05b13638f | 101 | py | Python | apps/news_hunter/apps.py | kohhi/exist | c688a228ac9fee56ff29990a6d75b2a09f8457ca | [
"MIT"
] | 159 | 2019-03-15T10:46:19.000Z | 2022-03-12T09:19:31.000Z | apps/news_hunter/apps.py | kohhi/exist | c688a228ac9fee56ff29990a6d75b2a09f8457ca | [
"MIT"
] | 6 | 2019-03-16T12:51:24.000Z | 2020-07-09T02:25:42.000Z | apps/news_hunter/apps.py | kohhi/exist | c688a228ac9fee56ff29990a6d75b2a09f8457ca | [
"MIT"
] | 36 | 2019-03-16T10:37:14.000Z | 2021-11-14T21:04:18.000Z | from django.apps import AppConfig
class NewsHunterConfig(AppConfig):
name = 'apps.news_hunter'
| 16.833333 | 34 | 0.772277 | 12 | 101 | 6.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 35 | 20.2 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
79eb8aa2c5ae4cb20f9b40380e50241c1db4d42a | 148 | py | Python | backend/apps/core/apps.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | backend/apps/core/apps.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | backend/apps/core/apps.py | ambient-innovation/workshop-django | 3105f6684097a4443919edc0ac300f64937a1371 | [
"MIT"
] | null | null | null | from django.contrib.admin.apps import AdminConfig
class CustomAdminConfig(AdminConfig):
default_site = 'apps.core.admin.site.CustomAdminSite'
| 24.666667 | 57 | 0.810811 | 17 | 148 | 7 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101351 | 148 | 5 | 58 | 29.6 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
030901beee0dea07ed41cc7482e0108dcd980852 | 193 | py | Python | 1-mouth01/day06/hw01.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | 4 | 2021-02-01T10:28:11.000Z | 2021-02-01T10:34:40.000Z | 1-mouth01/day06/hw01.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | null | null | null | 1-mouth01/day06/hw01.py | gary-gggggg/gary | d8ba30ea4bc2b662a2d6a87d247f813e5680d63e | [
"Apache-2.0"
] | null | null | null | """3. 将列表中的数字累减
list02 = [5, 1, 4, 6, 7, 4, 6, 8, 5]
提示:初始为第一个元素"""
list02 = [5, 1, 4, 6, 7, 4, 6, 8, 5]
start=list02[0]
for i in list02[1:len(list02)]:
start-=int(i)
print(start)
| 19.3 | 40 | 0.533679 | 39 | 193 | 2.641026 | 0.487179 | 0.07767 | 0.15534 | 0.174757 | 0.291262 | 0.291262 | 0.291262 | 0.291262 | 0.291262 | 0.291262 | 0 | 0.209459 | 0.233161 | 193 | 9 | 41 | 21.444444 | 0.486486 | 0.316062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03262c24d102b0a5d6d58e6fade9a53ec579c669 | 166,232 | py | Python | com/vmware/vcenter/namespace_management_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/namespace_management_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/vcenter/namespace_management_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.vcenter.namespace_management.
#-----------------------------------------------------... | 44.758212 | 144 | 0.611519 | 17,036 | 166,232 | 5.775769 | 0.045022 | 0.024971 | 0.027481 | 0.032847 | 0.774564 | 0.74687 | 0.715822 | 0.684733 | 0.660017 | 0.642841 | 0 | 0.001037 | 0.309688 | 166,232 | 3,713 | 145 | 44.770267 | 0.85643 | 0.424443 | 0 | 0.571429 | 1 | 0 | 0.220897 | 0.163193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038549 | false | 0.007937 | 0.006803 | 0 | 0.092404 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03294599b364654b245fa220d863d0180dbdff4e | 129 | py | Python | releases/egg/setup.py | tgolsson/appJar | 5e2f8bff44e927e7c2bae17fccddc6dbf79952f0 | [
"Apache-2.0"
] | 666 | 2016-11-14T18:17:40.000Z | 2022-03-29T03:53:22.000Z | releases/egg/setup.py | tgolsson/appJar | 5e2f8bff44e927e7c2bae17fccddc6dbf79952f0 | [
"Apache-2.0"
] | 598 | 2016-10-20T21:04:09.000Z | 2022-03-15T22:44:49.000Z | releases/egg/setup.py | tgolsson/appJar | 5e2f8bff44e927e7c2bae17fccddc6dbf79952f0 | [
"Apache-2.0"
] | 95 | 2017-01-19T12:23:58.000Z | 2022-03-06T18:16:21.000Z | from setuptools import setup, find_packages
setup(
name = "appJar",
version = "0.93",
packages = find_packages()
)
| 16.125 | 43 | 0.651163 | 15 | 129 | 5.466667 | 0.733333 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.232558 | 129 | 7 | 44 | 18.428571 | 0.79798 | 0 | 0 | 0 | 0 | 0 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
032a004452db95a5a9d7f409942bba8ef916e6e2 | 375 | py | Python | python/geospark/core/utils.py | Maxar-Corp/GeoSpark | 6248c6773dc88bf3354ea9b223f16ceb064e7627 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-10-19T07:57:29.000Z | 2021-10-19T07:57:29.000Z | python/geospark/core/utils.py | mayankkt9/GeoSpark | 618da90413f7d86c59def92ba765fbd6d9d49761 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-03-24T18:20:35.000Z | 2021-02-02T22:36:37.000Z | python/geospark/core/utils.py | mayankkt9/GeoSpark | 618da90413f7d86c59def92ba765fbd6d9d49761 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-26T15:51:22.000Z | 2021-09-26T15:51:22.000Z | class ImportedJvmLib:
_imported_libs = []
@classmethod
def has_library(cls, library: str) -> bool:
return library in cls._imported_libs
@classmethod
def import_lib(cls, library: str) -> bool:
if library not in cls._imported_libs:
cls._imported_libs.append(library)
... | 23.4375 | 47 | 0.624 | 43 | 375 | 5.209302 | 0.488372 | 0.214286 | 0.200893 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301333 | 375 | 15 | 48 | 25 | 0.854962 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.083333 | 1.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
033e2d18924a997685b69b654c4b654726aab664 | 95 | py | Python | lesson09/liyongli/devops/apps/usermanger/apps.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson09/liyongli/devops/apps/usermanger/apps.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | lesson09/liyongli/devops/apps/usermanger/apps.py | herrywen-nanj/51reboot | 1130c79a360e1b548a6eaad176eb60f8bed22f40 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class UsermangerConfig(AppConfig):
name = 'usermanger'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
03427a76ca8fb9ae71f448abfbc54843de3dad27 | 6,142 | py | Python | test/testPLY/demo/parsetab.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null | test/testPLY/demo/parsetab.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null | test/testPLY/demo/parsetab.py | liaoxiong3x/pyspark | 2a16ad495780b1b37f5dc571cb7ea11260765366 | [
"Apache-2.0"
] | null | null | null |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'AND CLOSE_B COLUMN_FUNCTION_NAME COMMA DIVIDE EQUALITY FROM_T GREATER_THAN LESS_THAN MINUS NOT NUMBER OPEN_B OR PLUS SELECT_T SEMICOLON TIMES WHERE_TSQLselect : SELECT_... | 115.886792 | 1,646 | 0.674048 | 988 | 6,142 | 3.968623 | 0.15081 | 0.128539 | 0.165264 | 0.096914 | 0.640143 | 0.614129 | 0.562612 | 0.488141 | 0.457536 | 0.389186 | 0 | 0.131658 | 0.131879 | 6,142 | 52 | 1,647 | 118.115385 | 0.603713 | 0.013676 | 0 | 0.047619 | 1 | 0.02381 | 0.624153 | 0.003635 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
03656f5d1398c61b4b20abebc118a9baaac9c466 | 237 | py | Python | quite/core/__init__.py | Wingsgo/PyQtGraphEmbedded | e1992606c7beacde6b24ea5c858ba26a800accdd | [
"MIT"
] | 4 | 2019-04-08T04:13:33.000Z | 2020-12-25T13:15:10.000Z | quite/core/__init__.py | Wingsgo/PyQtGraphEmbedded | e1992606c7beacde6b24ea5c858ba26a800accdd | [
"MIT"
] | 2 | 2018-01-03T12:13:53.000Z | 2018-05-03T08:05:52.000Z | quite/core/__init__.py | Wingsgo/PyQtGraphEmbedded | e1992606c7beacde6b24ea5c858ba26a800accdd | [
"MIT"
] | 3 | 2018-01-03T11:29:57.000Z | 2018-03-12T00:34:21.000Z | from .qt_core import * # noqa: F403
from prett import SignalSender, connect_with
from .timer import Timer
from .event_loop import EventLoop, wait, later, run_until
assert SignalSender is SignalSender
assert connect_with is connect_with
| 33.857143 | 57 | 0.822785 | 35 | 237 | 5.4 | 0.571429 | 0.174603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014634 | 0.135021 | 237 | 6 | 58 | 39.5 | 0.907317 | 0.042194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
03707a56dfc81002b41089faa790ebce3d70d6a2 | 262 | py | Python | optimizers/activations.py | ppeigne/optimizers | 42eed8adb010ca0549cb269fab5e21f2e1693279 | [
"MIT"
] | null | null | null | optimizers/activations.py | ppeigne/optimizers | 42eed8adb010ca0549cb269fab5e21f2e1693279 | [
"MIT"
] | null | null | null | optimizers/activations.py | ppeigne/optimizers | 42eed8adb010ca0549cb269fab5e21f2e1693279 | [
"MIT"
] | null | null | null | import numpy as np
def sigmoid(z: np.ndarray) -> np.ndarray:
return 1 / (1 + np.exp(-z))
def relu(z: np.ndarray) -> np.ndarray:
return np.maximum(0, z)
def leaky_relu(z: np.ndarray, rate: float = .01) -> np.ndarray:
return np.maximum(z * rate, z)
| 23.818182 | 63 | 0.629771 | 46 | 262 | 3.565217 | 0.391304 | 0.329268 | 0.182927 | 0.146341 | 0.506098 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.198473 | 262 | 10 | 64 | 26.2 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cee055d10f8b595fa58027d7b59f3e8f5d13616d | 1,122 | py | Python | hubspot3/cms_templates.py | benaduggan/hubspot3 | 534af726d803ca1aa26b6f9ab90118649c52f26d | [
"MIT"
] | 137 | 2018-02-14T14:24:12.000Z | 2022-03-31T13:34:51.000Z | hubspot3/cms_templates.py | benaduggan/hubspot3 | 534af726d803ca1aa26b6f9ab90118649c52f26d | [
"MIT"
] | 105 | 2018-02-14T14:25:22.000Z | 2022-01-25T15:38:06.000Z | hubspot3/cms_templates.py | benaduggan/hubspot3 | 534af726d803ca1aa26b6f9ab90118649c52f26d | [
"MIT"
] | 80 | 2017-10-20T12:54:46.000Z | 2022-03-17T10:36:56.000Z | """
hubspot cms_templates api client
"""
from hubspot3.base import BaseClient
TEMPLATES_API_VERSION = "2"
class CMSTemplatesClient(BaseClient):
"""
provides a client for accessing hubspot template info
"""
def _get_path(self, subpath: str) -> str:
return f"content/api/v{TEMPLATES_API_VERSIO... | 32.057143 | 86 | 0.699643 | 145 | 1,122 | 5.131034 | 0.262069 | 0.134409 | 0.137097 | 0.169355 | 0.36828 | 0.334677 | 0.334677 | 0.334677 | 0.334677 | 0.334677 | 0 | 0.002141 | 0.167558 | 1,122 | 34 | 87 | 33 | 0.794433 | 0.076649 | 0 | 0 | 0 | 0 | 0.178677 | 0.145114 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0.058824 | 0.411765 | 0.941176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3008da5178de18dfef97e91f544192efd0deb7f7 | 42 | py | Python | lang/py/cookbook/v2/source/cb2_18_17_exm_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_18_17_exm_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_18_17_exm_3.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | Points.sort(key=lambda p: p.real, p.imag)
| 21 | 41 | 0.714286 | 9 | 42 | 3.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
302be506a6aa3dc9da573f438ae13373a572d445 | 3,197 | py | Python | pytest/test_MPICH_DQN.py | NCAR/AITuning | 8c0ba1786586ced3b0c9db9dc80a2e8d0b732ddf | [
"BSD-3-Clause"
] | null | null | null | pytest/test_MPICH_DQN.py | NCAR/AITuning | 8c0ba1786586ced3b0c9db9dc80a2e8d0b732ddf | [
"BSD-3-Clause"
] | null | null | null | pytest/test_MPICH_DQN.py | NCAR/AITuning | 8c0ba1786586ced3b0c9db9dc80a2e8d0b732ddf | [
"BSD-3-Clause"
] | null | null | null | import MPICH_DQN_parabola_Q_learning as MPICH
def test_read_performance_vars():
stuff = MPICH._read_performance_vars(
"""
unexpected_recvq_length_avg=1.46711
unexpected_recvq_length_max=7
num_procs_avg=8
num_procs_max=8
total_time_avg=0.03125
total_time_max=0.03125
put_time_avg=0
put_time_max=0
get_time_avg=0
get_... | 35.131868 | 75 | 0.707851 | 595 | 3,197 | 3.65042 | 0.213445 | 0.077348 | 0.099448 | 0.096225 | 0.673112 | 0.619245 | 0.565838 | 0.55663 | 0.542818 | 0.504144 | 0 | 0.483789 | 0.141383 | 3,197 | 90 | 76 | 35.522222 | 0.307468 | 0 | 0 | 0.272727 | 0 | 0.436364 | 0.838299 | 0.046148 | 0 | 0 | 0 | 0 | 0.127273 | 1 | 0.054545 | false | 0 | 0.018182 | 0 | 0.072727 | 0.018182 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
303c83ab5990dc6642e2a1fdd365ed1d67eebe6f | 97 | py | Python | ai2business/ai_engines/__init__.py | SimonBOai/ai2business | 68b5e63841e2636310095184b453fe6450baf372 | [
"Apache-2.0"
] | null | null | null | ai2business/ai_engines/__init__.py | SimonBOai/ai2business | 68b5e63841e2636310095184b453fe6450baf372 | [
"Apache-2.0"
] | 24 | 2020-12-03T07:47:42.000Z | 2020-12-19T16:38:01.000Z | ai2business/ai_engines/__init__.py | Anselmoo/ai2business | 98af02afe5317e6a6271528e062f00118396645f | [
"Apache-2.0"
] | null | null | null | """AI Engines
Here is a set of AI- and ML-patterns for adavanced research of business data.
"""
| 19.4 | 77 | 0.721649 | 17 | 97 | 4.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 4 | 78 | 24.25 | 0.886076 | 0.917526 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
307d39de0087f1f8f7cd0d34c2c68a8c6ab6cc56 | 110 | py | Python | cpcforge/cpcforge/apps/platforms/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/platforms/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | cpcforge/cpcforge/apps/platforms/apps.py | ptjung/cpcforge | f9bc3742207a1191cfcf6c122d95790bcbb56f5d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PlatformsConfig(AppConfig):
name = 'cpcforge.apps.platforms'
| 22 | 37 | 0.754545 | 12 | 110 | 6.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 4 | 38 | 27.5 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 0.216981 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
307fecba1652d37bb625ca1216e20b70b12a6fb4 | 335 | py | Python | ismo/train/multivariate_trainer.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 6 | 2020-10-20T14:03:50.000Z | 2021-11-02T15:08:55.000Z | ismo/train/multivariate_trainer.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-11-13T19:04:10.000Z | 2022-02-10T02:12:18.000Z | ismo/train/multivariate_trainer.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-10-20T14:03:53.000Z | 2021-03-19T23:11:34.000Z | class MultiVariateTrainer:
def __init__(self, trainers):
self._trainers = trainers
def fit(self, parameters, values):
for n, trainer in enumerate(self._trainers):
trainer.fit(parameters, values[:,n])
@property
def models(self):
return [trainer.model for trainer in ... | 27.916667 | 60 | 0.656716 | 38 | 335 | 5.605263 | 0.473684 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244776 | 335 | 12 | 60 | 27.916667 | 0.841897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0628e178d291dbd6b1fd74ca9a5cfdca55541027 | 57 | py | Python | unitary.py | mahkons/orthogonal | 19a69134ca9a01ef564eab624b8c1526291770aa | [
"MIT"
] | null | null | null | unitary.py | mahkons/orthogonal | 19a69134ca9a01ef564eab624b8c1526291770aa | [
"MIT"
] | null | null | null | unitary.py | mahkons/orthogonal | 19a69134ca9a01ef564eab624b8c1526291770aa | [
"MIT"
] | null | null | null |
# it might be intereseting to play with compex matrices
| 19 | 55 | 0.789474 | 9 | 57 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 2 | 56 | 28.5 | 0.978261 | 0.929825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
067d8d82f5b10395d4b5746728b46aa35250d07a | 55 | py | Python | keyboard/__init__.py | nv-d/open-tamil | 0fcb1cece5ffd6263210db987bede09566353e80 | [
"MIT"
] | 218 | 2016-03-19T20:59:17.000Z | 2022-03-31T03:35:32.000Z | keyboard/__init__.py | nv-d/open-tamil | 0fcb1cece5ffd6263210db987bede09566353e80 | [
"MIT"
] | 132 | 2016-02-23T06:16:32.000Z | 2022-02-17T05:16:43.000Z | keyboard/__init__.py | nv-d/open-tamil | 0fcb1cece5ffd6263210db987bede09566353e80 | [
"MIT"
] | 62 | 2016-03-19T20:59:26.000Z | 2022-03-01T11:34:48.000Z | # (C) 2014,2015 Muthiah Annamalai
from . import bamini
| 18.333333 | 33 | 0.745455 | 8 | 55 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.163636 | 55 | 2 | 34 | 27.5 | 0.717391 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
069d13347759b259acb1d55e1113c06186febff4 | 771 | py | Python | test-runner/adapters/abstract_provisioning_apis.py | brycewang-microsoft/iot-sdks-e2e-fx | 211c9c2615a82076bda02a27152d67366755edbf | [
"MIT"
] | 12 | 2019-02-02T00:15:13.000Z | 2022-02-08T18:20:08.000Z | test-runner/adapters/abstract_provisioning_apis.py | brycewang-microsoft/iot-sdks-e2e-fx | 211c9c2615a82076bda02a27152d67366755edbf | [
"MIT"
] | 36 | 2019-02-14T22:53:17.000Z | 2022-03-22T22:41:38.000Z | test-runner/adapters/abstract_provisioning_apis.py | brycewang-microsoft/iot-sdks-e2e-fx | 211c9c2615a82076bda02a27152d67366755edbf | [
"MIT"
] | 12 | 2019-02-19T13:28:25.000Z | 2022-02-08T18:20:55.000Z | # Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for
# full license information.
import six
import abc
@six.add_metaclass(abc.ABCMeta)
class AbstractDeviceProvisioningApi(object):
@abc.abstractmethod
def create_from_symmetric_key(
s... | 23.363636 | 82 | 0.701686 | 89 | 771 | 5.910112 | 0.539326 | 0.161597 | 0.190114 | 0.18251 | 0.209125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.229572 | 771 | 32 | 83 | 24.09375 | 0.875421 | 0.18677 | 0 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0.217391 | 0.086957 | 0 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ebebac4a16ed9f1e7ee3205c307b8835c49593ca | 30,874 | py | Python | fetch-ohlcv-kraken.py | jkrumm/algorithmic-trading | c56a1f04c8dd294b6cd5f2dd21ef4ffc2c0791e1 | [
"Apache-2.0"
] | 1 | 2021-08-02T23:47:31.000Z | 2021-08-02T23:47:31.000Z | fetch-ohlcv-kraken.py | jkrumm/algorithmic-trading | c56a1f04c8dd294b6cd5f2dd21ef4ffc2c0791e1 | [
"Apache-2.0"
] | null | null | null | fetch-ohlcv-kraken.py | jkrumm/algorithmic-trading | c56a1f04c8dd294b6cd5f2dd21ef4ffc2c0791e1 | [
"Apache-2.0"
] | 1 | 2021-10-08T18:34:13.000Z | 2021-10-08T18:34:13.000Z | import os
import sys
# -----------------------------------------------------------------------------
from datetime import datetime
import dateutil.parser
this_folder = os.path.dirname(os.path.abspath(__file__))
root_folder = os.path.dirname(os.path.dirname(this_folder))
sys.path.append(root_folder + '/python')
sys.p... | 78.559796 | 120 | 0.532616 | 3,393 | 30,874 | 4.83908 | 0.165046 | 0.132164 | 0.207686 | 0.236007 | 0.645167 | 0.455022 | 0.4482 | 0.445825 | 0.445825 | 0.314818 | 0 | 0.241753 | 0.210598 | 30,874 | 392 | 121 | 78.760204 | 0.43193 | 0.020179 | 0 | 0 | 0 | 0 | 0.418238 | 0.001025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011204 | false | 0 | 0.028011 | 0 | 0.044818 | 0.014006 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ebf25e86e1ea45e8693be7b7c857b2c8f171d65d | 86 | py | Python | frlearn/networks/__init__.py | oulenz/fuzzy-rough-learn | 4565c1809f5ac426442ecf392c8ec7aeb438ada0 | [
"MIT"
] | 7 | 2019-12-17T15:11:05.000Z | 2022-01-19T17:05:22.000Z | frlearn/networks/__init__.py | oulenz/fuzzy-rough-learn | 4565c1809f5ac426442ecf392c8ec7aeb438ada0 | [
"MIT"
] | 8 | 2020-05-26T21:56:02.000Z | 2022-01-15T18:50:26.000Z | frlearn/networks/__init__.py | oulenz/fuzzy-rough-learn | 4565c1809f5ac426442ecf392c8ec7aeb438ada0 | [
"MIT"
] | 2 | 2020-11-06T12:27:47.000Z | 2021-04-29T15:25:06.000Z | """
The :mod:`frlearn.networks` subpackage implements neural networks algorithms.
"""
| 21.5 | 77 | 0.755814 | 9 | 86 | 7.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 86 | 3 | 78 | 28.666667 | 0.844156 | 0.895349 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2311d532e1a8b8e12d29ec638c8f78db03c8b35d | 443 | py | Python | tests/identity/test_public_key.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | 13 | 2018-06-15T06:12:09.000Z | 2021-11-25T04:40:48.000Z | tests/identity/test_public_key.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | 90 | 2018-06-17T14:35:04.000Z | 2021-06-02T16:42:39.000Z | tests/identity/test_public_key.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | 27 | 2018-06-14T17:47:16.000Z | 2022-03-01T12:37:51.000Z | from crypto.identity.public_key import PublicKey
def test_private_key_from_passphrase(identity):
public_key = PublicKey.from_passphrase(identity['passphrase'])
assert public_key == identity['data']['public_key']
def test_private_key_from_hex(identity):
public_key = PublicKey.from_hex(identity['data']['p... | 34.076923 | 67 | 0.767494 | 58 | 443 | 5.517241 | 0.275862 | 0.253125 | 0.159375 | 0.196875 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110609 | 443 | 12 | 68 | 36.916667 | 0.812183 | 0 | 0 | 0 | 0 | 0 | 0.117381 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
2313dd939e7c1b194a1c697af90c73ab254dd716 | 175 | py | Python | semeval2020/factory_hub/abstract_evaluation_suite.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 8 | 2020-12-02T23:18:59.000Z | 2021-12-19T11:19:28.000Z | semeval2020/factory_hub/abstract_evaluation_suite.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 1 | 2020-05-24T15:22:26.000Z | 2020-05-25T08:08:07.000Z | semeval2020/factory_hub/abstract_evaluation_suite.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class AbstractEvaluationSuite(ABC):
@abstractmethod
def evaluate(self, predictions, truth):
raise NotImplementedError()
| 19.444444 | 43 | 0.742857 | 16 | 175 | 8.125 | 0.8125 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188571 | 175 | 8 | 44 | 21.875 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
23178b61d1bbe9a22f9812e8c7f772768ff9bad7 | 434 | py | Python | everest/ptolemaic/datalike/primary/scalar/text.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 2 | 2020-12-17T02:27:28.000Z | 2020-12-17T23:50:13.000Z | everest/ptolemaic/datalike/primary/scalar/text.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-12-07T10:14:45.000Z | 2020-12-07T10:14:45.000Z | everest/ptolemaic/datalike/primary/scalar/text.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-10-22T11:16:50.000Z | 2020-10-22T11:16:50.000Z | ###############################################################################
''''''
###############################################################################
import numpy as _np
from . import Scalar as _Scalar
class Text(_Scalar):
dtype = _np.character
##############################################... | 24.111111 | 79 | 0.170507 | 15 | 434 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073733 | 434 | 17 | 80 | 25.529412 | 0.174129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2319a17bdda4a4dc45a2bf7bae1de468b7093cc3 | 9,818 | py | Python | src/test/python/carla_adapter_suite/carla_adapter_Test.py | bartoszgaj/moral-dilema-detector | 548ebe3db47caaae71a6f93162ebdf2b9b66325c | [
"Apache-2.0"
] | null | null | null | src/test/python/carla_adapter_suite/carla_adapter_Test.py | bartoszgaj/moral-dilema-detector | 548ebe3db47caaae71a6f93162ebdf2b9b66325c | [
"Apache-2.0"
] | 11 | 2020-08-28T08:41:04.000Z | 2021-12-09T22:44:30.000Z | src/test/python/carla_adapter_suite/carla_adapter_Test.py | bartoszgaj/moral-dilema-detector | 548ebe3db47caaae71a6f93162ebdf2b9b66325c | [
"Apache-2.0"
] | 3 | 2020-07-07T15:13:41.000Z | 2021-08-24T21:40:48.000Z | import math
import unittest
from unittest.mock import MagicMock
import carla
from carla_reader import Creators
from carla_reader.Creators import MapCreator, create_entity
from common import objects
from common.objects import Lane, Cyclist, Vehicle, Pedestrian
from common.strings import KEY_CYCLIST, KEY_VEHICLE, KEY_... | 38.501961 | 101 | 0.661642 | 1,310 | 9,818 | 4.748855 | 0.114504 | 0.069121 | 0.060762 | 0.057869 | 0.805176 | 0.755345 | 0.718695 | 0.68976 | 0.682848 | 0.66372 | 0 | 0.017771 | 0.24343 | 9,818 | 254 | 102 | 38.653543 | 0.819736 | 0.149419 | 0 | 0.591195 | 0 | 0 | 0.010484 | 0 | 0 | 0 | 0 | 0 | 0.232704 | 1 | 0.081761 | false | 0 | 0.056604 | 0 | 0.144654 | 0.018868 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
231ffdd96b5c86b512990a32acea271e20e946d7 | 594,988 | py | Python | backend/objectiv_backend/snowplow/schema/ttypes.py | objectiv/objectiv-analytics | 86ec1508f71c2d61ea7d67479800e4dc417a46e1 | [
"Apache-2.0"
] | 23 | 2021-11-10T21:37:42.000Z | 2022-03-30T11:46:19.000Z | backend/objectiv_backend/snowplow/schema/ttypes.py | objectiv/objectiv-analytics | 86ec1508f71c2d61ea7d67479800e4dc417a46e1 | [
"Apache-2.0"
] | 163 | 2021-11-10T10:11:26.000Z | 2022-03-31T16:04:27.000Z | backend/objectiv_backend/snowplow/schema/ttypes.py | objectiv/objectiv-analytics | 86ec1508f71c2d61ea7d67479800e4dc417a46e1 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
# type: ignore
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift... | 18.846627 | 240 | 0.465724 | 63,856 | 594,988 | 4.337901 | 0.492843 | 0.001509 | 0.000563 | 0.000845 | 0.008639 | 0.00622 | 0.00583 | 0.005643 | 0.005643 | 0.005643 | 0 | 0.427596 | 0.426817 | 594,988 | 31,569 | 241 | 18.847224 | 0.384636 | 0.297895 | 0 | 0.995369 | 1 | 0 | 0.001157 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000222 | false | 0 | 0.000159 | 0.000095 | 0.000603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.