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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f2a533dc694f80e9fd7ecaa7a9fecbc981a901e3 | 222 | py | Python | python_advanced/2.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | python_advanced/2.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | python_advanced/2.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#-*- coding:utf-8 -*-
import sys
def isNum(s):
for i in s:
if i in '0123456789':
pass
else:
print "%s is not a number" %s
sys.exit()
else:
print "%s is a number" %s
isNum(sys.argv[1])
| 13.058824 | 32 | 0.581081 | 41 | 222 | 3.146341 | 0.634146 | 0.046512 | 0.155039 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.243243 | 222 | 16 | 33 | 13.875 | 0.696429 | 0.162162 | 0 | 0.181818 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.090909 | 0.090909 | null | null | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f2c1f5181c903d1fa92c2cb2bfa7cd1bf11bdf50 | 66 | py | Python | formataTexto/__init__.py | DanilooSilva/Formats-text | 5050bd42522ecb0d819bd0946d85349cfd455572 | [
"MIT"
] | null | null | null | formataTexto/__init__.py | DanilooSilva/Formats-text | 5050bd42522ecb0d819bd0946d85349cfd455572 | [
"MIT"
] | null | null | null | formataTexto/__init__.py | DanilooSilva/Formats-text | 5050bd42522ecb0d819bd0946d85349cfd455572 | [
"MIT"
] | null | null | null | from .formataTexto import FormataTexto
__all__ = ['FormataTexto'] | 22 | 38 | 0.80303 | 6 | 66 | 8.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 3 | 39 | 22 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f2c34a9d3b956d0f29f373402eddc35145599731 | 544 | py | Python | cto/debug/intrinsic_check.py | SBCV/ColmapTexturingWithOpen3D | d45f10331c563ca874b618d5fee38d311de9437e | [
"MIT"
] | 5 | 2020-06-24T10:40:15.000Z | 2022-01-17T01:41:11.000Z | cto/debug/intrinsic_check.py | SBCV/ColmapTextureMapping | d45f10331c563ca874b618d5fee38d311de9437e | [
"MIT"
] | null | null | null | cto/debug/intrinsic_check.py | SBCV/ColmapTextureMapping | d45f10331c563ca874b618d5fee38d311de9437e | [
"MIT"
] | 1 | 2021-01-07T08:32:16.000Z | 2021-01-07T08:32:16.000Z | from cto.ext.colmap.read_write_model import read_model
sfm_model_idp ='model_after_sfm'
dense_model_idp = 'workspace/sparse'
# Points are definitively equal
colmap_camera_sfm_parameter_dict, colmap_image_parameter_dict, _ = read_model(
sfm_model_idp, ext='.bin')
colmap_camera_dense_parameter_dict, colmap_image_... | 30.222222 | 80 | 0.838235 | 79 | 544 | 5.177215 | 0.303797 | 0.254279 | 0.185819 | 0.176039 | 0.662592 | 0.474328 | 0.224939 | 0.224939 | 0 | 0 | 0 | 0 | 0.086397 | 544 | 17 | 81 | 32 | 0.822938 | 0.053309 | 0 | 0 | 0 | 0 | 0.205078 | 0.128906 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b3a731ec89f7217df96a5395752d774bd32dd8c | 209 | py | Python | src/friendlypics2/scripts/fpics2.py | TheFriendlyCoder/friendlypics2 | 5136d1b8ebab038b5c126f01e58f41f064c3f393 | [
"Apache-2.0"
] | null | null | null | src/friendlypics2/scripts/fpics2.py | TheFriendlyCoder/friendlypics2 | 5136d1b8ebab038b5c126f01e58f41f064c3f393 | [
"Apache-2.0"
] | 21 | 2020-07-31T19:45:33.000Z | 2021-09-08T02:25:07.000Z | src/friendlypics2/scripts/fpics2.py | TheFriendlyCoder/friendlypics2 | 5136d1b8ebab038b5c126f01e58f41f064c3f393 | [
"Apache-2.0"
] | null | null | null | """Command line interface to the project"""
import sys
from friendlypics2.main import run
def main():
"""primary entry point method"""
sys.exit(run(sys.argv))
if __name__ == "__main__":
main()
| 16.076923 | 43 | 0.669856 | 28 | 209 | 4.714286 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.191388 | 209 | 12 | 44 | 17.416667 | 0.775148 | 0.30622 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 0 | 3 |
4b57e701bab7ee4074aee517d482f2627c11fb56 | 5,171 | py | Python | test/test_version.py | bradfordboyle/python-semi-semantic | 94f0aa500f3cc5e1a6ff4d8a11b87f40c9b8727b | [
"Apache-2.0"
] | null | null | null | test/test_version.py | bradfordboyle/python-semi-semantic | 94f0aa500f3cc5e1a6ff4d8a11b87f40c9b8727b | [
"Apache-2.0"
] | null | null | null | test/test_version.py | bradfordboyle/python-semi-semantic | 94f0aa500f3cc5e1a6ff4d8a11b87f40c9b8727b | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import patch
from semi_semantic import Version, VersionSegment, ParseError
class TestVersion(unittest.TestCase):
def test_release(self):
self.assertEqual(Version.parse("1.0").release, VersionSegment.parse("1.0"))
self.assertEqual(
Version.parse("1.0-a... | 40.398438 | 87 | 0.645523 | 698 | 5,171 | 4.669054 | 0.097421 | 0.114145 | 0.187481 | 0.120282 | 0.779687 | 0.705431 | 0.582694 | 0.52378 | 0.425898 | 0.315741 | 0 | 0.044114 | 0.193386 | 5,171 | 127 | 88 | 40.716535 | 0.737233 | 0 | 0 | 0.168317 | 0 | 0.009901 | 0.083736 | 0.004448 | 0 | 0 | 0 | 0 | 0.504951 | 1 | 0.148515 | false | 0 | 0.029703 | 0 | 0.188119 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ba99b4568dabe9f06aace67f6d32b83bd10d7b8 | 214 | py | Python | evennia/accounts/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,544 | 2015-01-01T22:16:31.000Z | 2022-03-31T19:17:45.000Z | evennia/accounts/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,686 | 2015-01-02T18:26:31.000Z | 2022-03-31T20:12:03.000Z | evennia/accounts/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 867 | 2015-01-02T21:01:54.000Z | 2022-03-29T00:28:27.000Z | """
This sub-package defines the out-of-character entities known as
Accounts. These are equivalent to 'accounts' and can puppet one or
more Objects depending on settings. An Account has no in-game existence.
"""
| 30.571429 | 72 | 0.771028 | 34 | 214 | 4.852941 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 214 | 6 | 73 | 35.666667 | 0.916667 | 0.953271 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4badfcf372555737cc1550b20e18a41516d49437 | 454 | py | Python | test_scripts/sample_generators.py | Sumukha21/AutoPipeline | 5d335ea63400a546983b2a1f0c46b3915b25cd94 | [
"MIT"
] | 2 | 2021-05-19T12:19:31.000Z | 2021-07-02T13:10:56.000Z | test_scripts/sample_generators.py | Sumukha21/AutoPypline | 5d335ea63400a546983b2a1f0c46b3915b25cd94 | [
"MIT"
] | null | null | null | test_scripts/sample_generators.py | Sumukha21/AutoPypline | 5d335ea63400a546983b2a1f0c46b3915b25cd94 | [
"MIT"
] | null | null | null | import numpy as np
class ListIterator:
def __init__(self, batch_size, input_iterator, sample_name=None):
self.batch_size = batch_size
self.input_iterator = input_iterator
self.input_length = int(np.ceil(len(input_iterator) / batch_size))
self.sample_name = sample_name
def __ca... | 34.923077 | 114 | 0.693833 | 64 | 454 | 4.5625 | 0.421875 | 0.184932 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00277 | 0.204846 | 454 | 12 | 115 | 37.833333 | 0.806094 | 0 | 0 | 0 | 0 | 0 | 0.011013 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4bb39e41953746907cc4cf2ae4c883432940fca3 | 191 | py | Python | dotties/main.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | dotties/main.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | dotties/main.py | tinytacoteam/dotties-core.py | 1597cb09299f58df696f1a2de537c13d844d63bb | [
"Unlicense"
] | null | null | null | import click
@click.group()
def cli():
pass
@cli.command()
@click.option('-c', '--count', default=1, help='Number of greetings.')
def meow(count):
click.echo('Synching %s' % count)
| 17.363636 | 70 | 0.638743 | 27 | 191 | 4.518519 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.151832 | 191 | 10 | 71 | 19.1 | 0.746914 | 0 | 0 | 0 | 0 | 0 | 0.209424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4bc2faa02a08284a8e784c9c159b0c0f0899579d | 14,224 | py | Python | ecogvis/signal_processing/tests/test_periodogram.py | NKI-ECOG/ecogVIS | f65212fc238e5b2588a4674a6aa1236f99e7d833 | [
"BSD-3-Clause"
] | 13 | 2020-04-01T22:39:24.000Z | 2022-03-04T13:27:51.000Z | ecogvis/signal_processing/tests/test_periodogram.py | NKI-ECOG/ecogVIS | f65212fc238e5b2588a4674a6aa1236f99e7d833 | [
"BSD-3-Clause"
] | 56 | 2020-04-01T14:27:21.000Z | 2022-03-23T21:33:06.000Z | ecogvis/signal_processing/tests/test_periodogram.py | luiztauffer/ecogVIS | c97e79a20b3af1074a3a5e1f1ad864a580c97e04 | [
"BSD-3-Clause"
] | 11 | 2020-05-15T17:48:53.000Z | 2022-02-01T23:55:12.000Z | import numpy as np
from datetime import datetime
from dateutil.tz import tzlocal
from pynwb import NWBFile
from pynwb import NWBHDF5IO
from pynwb.ecephys import ElectricalSeries
from pynwb.ecephys import LFP
from ecogvis.signal_processing.periodogram import psd_estimate
import unittest
import os
class periodogramTest... | 53.074627 | 122 | 0.399044 | 1,153 | 14,224 | 4.810061 | 0.300954 | 0.006491 | 0.022719 | 0.014425 | 0.574107 | 0.55211 | 0.55211 | 0.55211 | 0.55211 | 0.55211 | 0 | 0.373641 | 0.508718 | 14,224 | 267 | 123 | 53.273408 | 0.420006 | 0.003023 | 0 | 0.467532 | 0 | 0 | 0.066582 | 0.019185 | 0 | 0 | 0 | 0 | 0.017316 | 1 | 0.012987 | false | 0 | 0.04329 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 3 |
298bf0bb91cc58c3d1388e77741df5c3a9a4e45f | 2,826 | py | Python | PreprocessData/all_class_files/Thing.py | wkid-neu/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 3 | 2021-11-06T12:29:05.000Z | 2022-03-22T12:48:55.000Z | PreprocessData/all_class_files/Thing.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | null | null | null | PreprocessData/all_class_files/Thing.py | DylanNEU/Schema | 4854720a15894dd814691a55e03329ecbbb6f558 | [
"MIT"
] | 1 | 2021-11-06T12:29:12.000Z | 2021-11-06T12:29:12.000Z | import global_data
class Thing(object):
def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, potentialAction=None, sameAs=None, url=None):
self.additionalType = additionalType
... | 30.06383 | 223 | 0.659943 | 279 | 2,826 | 6.480287 | 0.154122 | 0.036504 | 0.085177 | 0.014381 | 0.022124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268931 | 2,826 | 93 | 224 | 30.387097 | 0.875121 | 0 | 0 | 0.358209 | 0 | 0 | 0.007318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.358209 | false | 0 | 0.014925 | 0.164179 | 0.567164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
29a2d00efb1ea60022329f84dd65e1eec242ce83 | 129 | py | Python | sam-template/{{cookiecutter.project_name}}/hello.py | bedge/serverless-applications-with-aws-sam | cdb041f565eef28395b622d26adb02e5f7665f9d | [
"MIT"
] | 1 | 2018-05-15T06:55:15.000Z | 2018-05-15T06:55:15.000Z | sam-template/{{cookiecutter.project_name}}/hello.py | bedge/serverless-applications-with-aws-sam | cdb041f565eef28395b622d26adb02e5f7665f9d | [
"MIT"
] | 1 | 2018-08-11T05:09:32.000Z | 2018-08-11T05:09:32.000Z | sam-template/{{cookiecutter.project_name}}/hello.py | bedge/serverless-applications-with-aws-sam | cdb041f565eef28395b622d26adb02e5f7665f9d | [
"MIT"
] | 1 | 2018-08-01T18:25:29.000Z | 2018-08-01T18:25:29.000Z | def handler(event, context):
return {
"headers": {"content-type": "text/plain"},
"body": "Hello World"
}
| 21.5 | 50 | 0.534884 | 13 | 129 | 5.307692 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 129 | 5 | 51 | 25.8 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.341085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
29b70fe615460807da709557122722247dc56810 | 2,597 | py | Python | jaxnet/core_test.py | j-towns/pointy-stax | 72a4babdcced0548465a4e7b815b2831c24c0efa | [
"MIT"
] | null | null | null | jaxnet/core_test.py | j-towns/pointy-stax | 72a4babdcced0548465a4e7b815b2831c24c0efa | [
"MIT"
] | null | null | null | jaxnet/core_test.py | j-towns/pointy-stax | 72a4babdcced0548465a4e7b815b2831c24c0efa | [
"MIT"
] | null | null | null | from jax import random, vmap, jit
import jax.numpy as np
import core
RNG = random.PRNGKey(0)
def Layer(name):
out_dim = 3
def init_fun(rng, example_input):
input_shape = example_input.shape
k1, k2 = random.split(rng)
W, b = (random.normal(k1, (out_dim, input_shape[-1])),
... | 30.916667 | 68 | 0.658452 | 381 | 2,597 | 4.254593 | 0.12336 | 0.074028 | 0.061073 | 0.059223 | 0.702653 | 0.702653 | 0.689698 | 0.668106 | 0.615669 | 0.476866 | 0 | 0.014764 | 0.217559 | 2,597 | 83 | 69 | 31.289157 | 0.782972 | 0 | 0 | 0.514286 | 0 | 0 | 0.003851 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.242857 | false | 0 | 0.042857 | 0.114286 | 0.442857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
29c06d5512010ef7d1a5181c55d2a69d8d8f9a29 | 141 | py | Python | readthedocs/redirects/exceptions.py | tkoyama010/readthedocs.org | aac8fb39586db902d9fbb51b639dd281c819dae2 | [
"MIT"
] | 4,054 | 2015-01-01T00:58:07.000Z | 2019-06-28T05:50:49.000Z | readthedocs/redirects/exceptions.py | tkoyama010/readthedocs.org | aac8fb39586db902d9fbb51b639dd281c819dae2 | [
"MIT"
] | 4,282 | 2015-01-01T21:38:49.000Z | 2019-06-28T15:41:00.000Z | readthedocs/redirects/exceptions.py | mondeja/readthedocs.org | fb01c6d9d78272e3f4fd146697e8760c04e4fbb6 | [
"MIT"
] | 3,224 | 2015-01-01T07:38:45.000Z | 2019-06-28T09:19:10.000Z | """Redirects related exceptions."""
class InfiniteRedirectException(Exception):
"""Exception raised when a redirect loops forever."""
| 20.142857 | 57 | 0.744681 | 13 | 141 | 8.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 6 | 58 | 23.5 | 0.860656 | 0.546099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
29f30139958f6f796b804683fcedad3743dacf2f | 2,487 | py | Python | nabto_client/session.py | nabto/nabto4-python-wrapper | 376de0cf690b4befacb2aba393f00a86d3c64765 | [
"MIT"
] | null | null | null | nabto_client/session.py | nabto/nabto4-python-wrapper | 376de0cf690b4befacb2aba393f00a86d3c64765 | [
"MIT"
] | null | null | null | nabto_client/session.py | nabto/nabto4-python-wrapper | 376de0cf690b4befacb2aba393f00a86d3c64765 | [
"MIT"
] | null | null | null | import nabto
def startup(home_dir: str):
"""
Initializes the Nabto client API.
The nabtoStartup function must be invoked prior to invoking most of the
other functions in the Nabto client API.
Specify an alternative location of the Nabto home directory (for
certificates and log files) in the ... | 28.261364 | 95 | 0.650583 | 307 | 2,487 | 5.211726 | 0.472313 | 0.035 | 0.04375 | 0.053125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274226 | 2,487 | 87 | 96 | 28.586207 | 0.886427 | 0.530358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.115385 | 0.038462 | 0 | 0.653846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
29f3c483c326c1338609fb4c16c24eb98f528902 | 210 | py | Python | kopf/__main__.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 1,038 | 2019-03-26T16:32:56.000Z | 2022-03-27T09:15:03.000Z | kopf/__main__.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 715 | 2019-12-23T14:17:35.000Z | 2022-03-30T20:54:45.000Z | kopf/__main__.py | tavaresrodrigo/kopf | 97e1c7a926705a79dabce2931e96a924252b61df | [
"MIT"
] | 116 | 2019-03-31T23:01:09.000Z | 2022-03-18T16:44:58.000Z | """
CLI entry point, when used as a module: `python -m kopf`.
Useful for debugging in the IDEs (use the start-mode "Module", module "kopf").
"""
from kopf import cli
if __name__ == '__main__':
cli.main()
| 21 | 78 | 0.671429 | 33 | 210 | 4.030303 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 210 | 9 | 79 | 23.333333 | 0.782353 | 0.652381 | 0 | 0 | 0 | 0 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4b009547001ccb158435c3e4c14ebb2545a979a3 | 2,624 | py | Python | pyfbook/facebook/graph/api.py | Leouldan/pyfbook | 642c514d560f32a48585fc5e3f2c852c25bc76b2 | [
"BSD-2-Clause"
] | null | null | null | pyfbook/facebook/graph/api.py | Leouldan/pyfbook | 642c514d560f32a48585fc5e3f2c852c25bc76b2 | [
"BSD-2-Clause"
] | null | null | null | pyfbook/facebook/graph/api.py | Leouldan/pyfbook | 642c514d560f32a48585fc5e3f2c852c25bc76b2 | [
"BSD-2-Clause"
] | null | null | null | import os
import requests
from .. import credentials
DEFAULT_GRAPH_API_VERSION = "v3.3"
def get_request(app_name, endpoint, params):
api_version = os.environ.get("DEFAULT_GRAPH_API_VERSION")
if not api_version:
api_version = DEFAULT_GRAPH_API_VERSION
fb_credentials = credentials.get_fb_credential... | 33.21519 | 72 | 0.592607 | 328 | 2,624 | 4.573171 | 0.182927 | 0.126667 | 0.07 | 0.102667 | 0.782 | 0.752 | 0.691333 | 0.691333 | 0.629333 | 0.629333 | 0 | 0.0069 | 0.282012 | 2,624 | 78 | 73 | 33.641026 | 0.789278 | 0 | 0 | 0.732394 | 0 | 0 | 0.160442 | 0.028582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.042254 | 0 | 0.140845 | 0.028169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4b27d338b11fdf9992319b6921c92d71314d5e9c | 1,766 | py | Python | tests/feature/test_cli.py | e1senh0rn/kasane | f8bd47186de2bf41c4e952dec3c9d6a16686480e | [
"Apache-2.0"
] | 164 | 2018-05-22T22:30:22.000Z | 2022-03-31T15:04:07.000Z | tests/feature/test_cli.py | e1senh0rn/kasane | f8bd47186de2bf41c4e952dec3c9d6a16686480e | [
"Apache-2.0"
] | 15 | 2018-05-24T19:43:38.000Z | 2018-11-02T17:12:53.000Z | tests/feature/test_cli.py | e1senh0rn/kasane | f8bd47186de2bf41c4e952dec3c9d6a16686480e | [
"Apache-2.0"
] | 13 | 2018-07-11T07:34:36.000Z | 2020-10-13T16:50:50.000Z | # coding=utf-8
"""cli feature tests."""
from pytest_bdd import (parsers, scenario, given, when, then)
from kasane import cmd
@scenario('cli.feature', "Showing a simple Kasanefile")
def test_showing_a_simple_kasanefile():
pass
@scenario('cli.feature', "Showing a remote layer fails when the layer isn't vendored")
... | 25.594203 | 86 | 0.711778 | 236 | 1,766 | 5.182203 | 0.364407 | 0.028618 | 0.044154 | 0.061325 | 0.088307 | 0.067048 | 0.067048 | 0.067048 | 0 | 0 | 0 | 0.001314 | 0.138165 | 1,766 | 68 | 87 | 25.970588 | 0.802234 | 0.043035 | 0 | 0.113636 | 0 | 0 | 0.271207 | 0 | 0 | 0 | 0 | 0.014706 | 0.068182 | 1 | 0.227273 | false | 0.113636 | 0.045455 | 0 | 0.295455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
d9c87938de1528e4ee9e8e526e476b3b6486f5f2 | 66 | py | Python | code/pandas.py | brownsarahm/python-ecology-min | 8136d586912cd1d523ade778a56647100ffc338d | [
"CC-BY-4.0"
] | null | null | null | code/pandas.py | brownsarahm/python-ecology-min | 8136d586912cd1d523ade778a56647100ffc338d | [
"CC-BY-4.0"
] | null | null | null | code/pandas.py | brownsarahm/python-ecology-min | 8136d586912cd1d523ade778a56647100ffc338d | [
"CC-BY-4.0"
] | null | null | null | import pandas as pd
data_file = "data/surveys.csv"
pd.read_csv()
| 16.5 | 31 | 0.742424 | 12 | 66 | 3.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 66 | 3 | 32 | 22 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8a0133a2f59f11a7f93ec04342eecb33484c718e | 432 | py | Python | atest/testdata/test_libraries/dynamic_libraries/NonAsciiKeywordNames.py | rdagum/robotframework | b7069d505374e9f09a140ed5a9727d2a40716446 | [
"ECL-2.0",
"Apache-2.0"
] | 7,073 | 2015-01-01T17:19:16.000Z | 2022-03-31T22:01:29.000Z | atest/testdata/test_libraries/dynamic_libraries/NonAsciiKeywordNames.py | imust6226/robotframework | 08c56fef2ebc64d682c7f99acd77c480d8d0e028 | [
"ECL-2.0",
"Apache-2.0"
] | 2,412 | 2015-01-02T09:29:05.000Z | 2022-03-31T13:10:46.000Z | atest/testdata/test_libraries/dynamic_libraries/NonAsciiKeywordNames.py | 3mdeb/robotframework | 6006ce0b3d5fc6b45c5eb040dc859acd64bfa846 | [
"ECL-2.0",
"Apache-2.0"
] | 2,298 | 2015-01-03T02:47:15.000Z | 2022-03-31T02:00:16.000Z | class NonAsciiKeywordNames:
def __init__(self, include_latin1=False):
self.names = ['Unicode nön-äscïï',
'\u2603', # snowman
'UTF-8 nön-äscïï'.encode('UTF-8')]
if include_latin1:
self.names.append('Latin1 nön-äscïï'.encode('latin1'))
def... | 28.8 | 66 | 0.576389 | 49 | 432 | 4.897959 | 0.510204 | 0.1125 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.305556 | 432 | 14 | 67 | 30.857143 | 0.766667 | 0.016204 | 0 | 0 | 0 | 0 | 0.153664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.181818 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a0506288440dc57b35f78f146b172109fbc6763 | 135 | py | Python | CursoEmVideo/Soma_impares.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | null | null | null | CursoEmVideo/Soma_impares.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | 1 | 2021-01-28T17:06:06.000Z | 2021-01-30T15:13:03.000Z | CursoEmVideo/Soma_impares.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | null | null | null | sum=0
validacao=list();
for i in range(1,500,2):
if i%3==0:
validacao.append(i)
sum+=i
print(validacao)
print(sum) | 15 | 27 | 0.592593 | 24 | 135 | 3.333333 | 0.625 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 0.237037 | 135 | 9 | 28 | 15 | 0.699029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a05b30731051cd3afc513ca732a3de8554ee40c | 52 | py | Python | useless_bot/cogs/general/__init__.py | MRvillager/useless_bot | 68ee1a73d7f0ac4d041d96a02d93feae17194980 | [
"MIT"
] | null | null | null | useless_bot/cogs/general/__init__.py | MRvillager/useless_bot | 68ee1a73d7f0ac4d041d96a02d93feae17194980 | [
"MIT"
] | null | null | null | useless_bot/cogs/general/__init__.py | MRvillager/useless_bot | 68ee1a73d7f0ac4d041d96a02d93feae17194980 | [
"MIT"
] | null | null | null | from .general import General
__all__ = ["General"]
| 13 | 28 | 0.730769 | 6 | 52 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 3 | 29 | 17.333333 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8a14c9ae47f565d099f21529a0f6a179ec2f7c23 | 1,317 | py | Python | svarog/checks.py | dedoussis/svarog | aca5cd216fe544374d1e5d7e521645386ad8a3c7 | [
"MIT"
] | null | null | null | svarog/checks.py | dedoussis/svarog | aca5cd216fe544374d1e5d7e521645386ad8a3c7 | [
"MIT"
] | null | null | null | svarog/checks.py | dedoussis/svarog | aca5cd216fe544374d1e5d7e521645386ad8a3c7 | [
"MIT"
] | null | null | null | from typing import _GenericAlias # type: ignore
from typing import Any
from typing import Dict
from typing import List
from typing import Mapping
from typing import MutableSequence
from typing import Sequence
from typing import Type
from typing import TypeVar
from typing import Union
from .compat import _SpecialGener... | 25.823529 | 88 | 0.705391 | 173 | 1,317 | 5.011561 | 0.202312 | 0.11534 | 0.184544 | 0.059977 | 0.053057 | 0.053057 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214123 | 1,317 | 50 | 89 | 26.34 | 0.837681 | 0.018983 | 0 | 0.052632 | 0 | 0 | 0.018619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131579 | false | 0 | 0.342105 | 0.105263 | 0.605263 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
8a151729d0a33567e6b0a24cded9ba29bbd0d541 | 3,403 | py | Python | ckan/tests/model/test_license.py | hrace009/ckan | 6e05d8a56c92653d9571493873bc5ab7b7e1555d | [
"BSD-3-Clause"
] | null | null | null | ckan/tests/model/test_license.py | hrace009/ckan | 6e05d8a56c92653d9571493873bc5ab7b7e1555d | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:09:04.000Z | 2022-03-12T01:09:04.000Z | ckan/tests/model/test_license.py | hrace009/ckan | 6e05d8a56c92653d9571493873bc5ab7b7e1555d | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
import os
import pytest
import ckan.model as model
from ckan.common import config
from ckan.model.license import LicenseRegister
from ckan.tests import factories
this_dir = os.path.dirname(os.path.realpath(__file__))
@pytest.fixture
def reset():
yield
if hasattr(model.Package, "_license_... | 28.596639 | 76 | 0.717308 | 450 | 3,403 | 5.175556 | 0.235556 | 0.089309 | 0.03435 | 0.058394 | 0.775011 | 0.738944 | 0.711464 | 0.696007 | 0.671103 | 0.644053 | 0 | 0.007901 | 0.144578 | 3,403 | 118 | 77 | 28.838983 | 0.792168 | 0.023509 | 0 | 0.5 | 0 | 0 | 0.239157 | 0.026506 | 0 | 0 | 0 | 0 | 0.244186 | 1 | 0.139535 | false | 0 | 0.116279 | 0 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a179152fa1c842c189027718ec1dfc76777e5b5 | 5,710 | py | Python | redcmd/test/autocomp/test_generator.py | amol9/redcmd | 34086eb42ec6acc16dbd2b3ea530898a6a287639 | [
"MIT"
] | 1 | 2015-10-26T19:38:28.000Z | 2015-10-26T19:38:28.000Z | redcmd/test/autocomp/test_generator.py | amol9/redcmd | 34086eb42ec6acc16dbd2b3ea530898a6a287639 | [
"MIT"
] | null | null | null | redcmd/test/autocomp/test_generator.py | amol9/redcmd | 34086eb42ec6acc16dbd2b3ea530898a6a287639 | [
"MIT"
] | null | null | null | from unittest import TestCase, main as ut_main
from fnmatch import fnmatch
from os.path import basename, join as joinpath, dirname
from redcmd.commandline import CommandLine
from redcmd.command_collection import CommandCollection
from redcmd.autocomp.generator import Generator, GenError
from redcmd.autocomp.filter imp... | 37.81457 | 116 | 0.678109 | 754 | 5,710 | 5.007958 | 0.187003 | 0.19465 | 0.233581 | 0.260593 | 0.604873 | 0.565943 | 0.454184 | 0.349841 | 0.182733 | 0.157839 | 0 | 0.008464 | 0.130998 | 5,710 | 150 | 117 | 38.066667 | 0.752519 | 0.002802 | 0 | 0.130841 | 0 | 0 | 0.264453 | 0 | 0 | 0 | 0 | 0 | 0.46729 | 1 | 0.102804 | false | 0.046729 | 0.168224 | 0 | 0.308411 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a1e894494bf45586b861e03b2abeccd6c8bbda9 | 1,740 | py | Python | interpolate.py | abdulmcajh/secret-sharing | 7cd61c6b9146675baf1abc4e9f285a3e45f5465d | [
"MIT"
] | 5 | 2018-02-19T16:44:32.000Z | 2019-07-22T14:05:20.000Z | interpolate.py | abdulmcajh/secret-sharing | 7cd61c6b9146675baf1abc4e9f285a3e45f5465d | [
"MIT"
] | 2 | 2018-04-24T07:00:40.000Z | 2018-12-25T15:50:46.000Z | interpolate.py | skhakimov/secret-sharing | 7cd61c6b9146675baf1abc4e9f285a3e45f5465d | [
"MIT"
] | 2 | 2015-10-15T20:16:44.000Z | 2016-01-08T09:50:15.000Z | import random
import sys
class INTERPOLATE: #Class that interpolates points given a python dictionary to find an intercept
def __init__(self,field,points):
self.field = field #field in which operations are performed
self.points = points #interpolation will be performed using these points
self.x = self.po... | 1,740 | 1,740 | 0.604023 | 264 | 1,740 | 3.950758 | 0.393939 | 0.051774 | 0.023011 | 0.034516 | 0.024928 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037338 | 0.291954 | 1,740 | 1 | 1,740 | 1,740 | 0.809253 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.040816 | 0.020408 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a21df3005d5cfbeda1b3632dd7969298866bb3d | 145 | py | Python | tests/yamlett/conftest.py | vlandeiro/yamle | f412edd1745d16b6681bd73e782a747411fc85c9 | [
"MIT"
] | 1 | 2020-11-30T01:46:36.000Z | 2020-11-30T01:46:36.000Z | tests/yamlett/conftest.py | vlandeiro/yamlett | f412edd1745d16b6681bd73e782a747411fc85c9 | [
"MIT"
] | null | null | null | tests/yamlett/conftest.py | vlandeiro/yamlett | f412edd1745d16b6681bd73e782a747411fc85c9 | [
"MIT"
] | null | null | null | import pytest
from contextlib import contextmanager
@pytest.fixture
@contextmanager
def nullcontext(enter_result=None):
yield enter_result
| 16.111111 | 37 | 0.827586 | 17 | 145 | 6.941176 | 0.705882 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 145 | 8 | 38 | 18.125 | 0.929134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8a26f98b385bcedb52f3dc1fe4ff25bca0c34228 | 1,719 | py | Python | build/android/pylib/junit/junit_test_instance.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,219 | 2018-03-26T02:57:34.000Z | 2022-03-31T00:27:59.000Z | build/android/pylib/junit/junit_test_instance.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 250 | 2018-02-02T23:16:57.000Z | 2022-03-21T06:09:53.000Z | build/android/pylib/junit/junit_test_instance.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 473 | 2019-03-24T16:34:23.000Z | 2022-03-31T02:01:05.000Z | # Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from pylib.base import test_instance
from pylib.utils import test_filter
class JunitTestInstance(test_instance.TestInstance):
def __init__(self, args, ... | 22.324675 | 74 | 0.751018 | 231 | 1,719 | 5.229437 | 0.285714 | 0.09106 | 0.115894 | 0.05298 | 0.162252 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002835 | 0.179174 | 1,719 | 76 | 75 | 22.618421 | 0.853296 | 0.10413 | 0 | 0.235294 | 0 | 0 | 0.003262 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27451 | false | 0.039216 | 0.039216 | 0.215686 | 0.54902 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8a52996f502b5ec6959fc8c34f3809435484db1a | 2,486 | py | Python | app/models.py | UMULISA12/blog-app | 95f522f278bd63c7c8be13b3ec41f828f210aa05 | [
"MIT"
] | null | null | null | app/models.py | UMULISA12/blog-app | 95f522f278bd63c7c8be13b3ec41f828f210aa05 | [
"MIT"
] | null | null | null | app/models.py | UMULISA12/blog-app | 95f522f278bd63c7c8be13b3ec41f828f210aa05 | [
"MIT"
] | null | null | null | from flask_login import UserMixin
from . import db, login_manager
from werkzeug.security import generate_password_hash,check_password_hash
class User(UserMixin,db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer,primary_key = True)
username = db.Column(db.String(255))
email = db.Column(db.St... | 26.168421 | 74 | 0.67136 | 333 | 2,486 | 4.81982 | 0.231231 | 0.069782 | 0.087227 | 0.079751 | 0.346417 | 0.323988 | 0.295327 | 0.256698 | 0.174455 | 0.174455 | 0 | 0.009096 | 0.203942 | 2,486 | 95 | 75 | 26.168421 | 0.80192 | 0 | 0 | 0.253731 | 1 | 0 | 0.061922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19403 | false | 0.134328 | 0.044776 | 0.074627 | 0.716418 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8a6b84eebe03d01a1ce0d90e230e9fe9dd89e493 | 540 | py | Python | envisage/ui/workbench/action/api.py | enthought/envisage | ca57225c4e9022d1ed5299a60e13dc2290d7d94e | [
"BSD-3-Clause"
] | 51 | 2015-05-12T01:34:15.000Z | 2022-03-20T19:11:22.000Z | envisage/ui/workbench/action/api.py | enthought/envisage | ca57225c4e9022d1ed5299a60e13dc2290d7d94e | [
"BSD-3-Clause"
] | 347 | 2015-02-27T19:51:09.000Z | 2022-03-21T16:03:01.000Z | envisage/ui/workbench/action/api.py | enthought/envisage | ca57225c4e9022d1ed5299a60e13dc2290d7d94e | [
"BSD-3-Clause"
] | 11 | 2015-02-11T04:32:54.000Z | 2021-09-13T10:50:05.000Z | # (C) Copyright 2007-2021 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in LICENSE.txt and may be redistributed only under
# the conditions described in the aforementioned license. The license
# is also available online at... | 41.538462 | 71 | 0.805556 | 77 | 540 | 5.597403 | 0.74026 | 0.083527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.137037 | 540 | 12 | 72 | 45 | 0.907725 | 0.718519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8aa13a28ba63f9f38fe97928d73549fe6c095eb8 | 215 | py | Python | coremltools/graph_visualization/__init__.py | Mistobaan/coremltools | e5ce33c6396077c0b267180a92573355a8ab53eb | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | coremltools/graph_visualization/__init__.py | Mistobaan/coremltools | e5ce33c6396077c0b267180a92573355a8ab53eb | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | coremltools/graph_visualization/__init__.py | Mistobaan/coremltools | e5ce33c6396077c0b267180a92573355a8ab53eb | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | # Copyright (c) 2017, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
| 43 | 82 | 0.748837 | 39 | 215 | 4.128205 | 0.897436 | 0.049689 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033149 | 0.15814 | 215 | 4 | 83 | 53.75 | 0.856354 | 0.95814 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8aaf983abbfd18bbf942e0967173d8df2cfcd8c5 | 4,481 | py | Python | stubs.min/System/Windows/Input/__init___parts/StylusPointDescription.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Windows/Input/__init___parts/StylusPointDescription.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Input/__init___parts/StylusPointDescription.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class StylusPointDescription(object):
"""
Specifies the properties that are in a System.Windows.Input.StylusPoint.
StylusPointDescription()
StylusPointDescription(stylusPointPropertyInfos: IEnumerable[StylusPointPropertyInfo])
"""
@staticmethod
def AreCompatible(stylusPointDescription1,stylusPointDe... | 41.110092 | 157 | 0.770364 | 398 | 4,481 | 8.643216 | 0.193467 | 0.109593 | 0.151744 | 0.232558 | 0.486337 | 0.440698 | 0.350291 | 0.290116 | 0.191279 | 0.12093 | 0 | 0.001604 | 0.165142 | 4,481 | 108 | 158 | 41.490741 | 0.917936 | 0.756751 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.368421 | false | 0.368421 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8acfe0108b09bcf5e762bac38f1773027948233e | 476 | py | Python | wagtailgeowidget/app_settings.py | elpatiostudio/wagtail-geo-widget | c7892f089344cb49a529d0a5e2b175d9064b649f | [
"MIT"
] | 105 | 2016-11-04T06:56:11.000Z | 2022-03-23T08:08:56.000Z | wagtailgeowidget/app_settings.py | elpatiostudio/wagtail-geo-widget | c7892f089344cb49a529d0a5e2b175d9064b649f | [
"MIT"
] | 82 | 2016-11-25T09:39:27.000Z | 2022-03-08T18:52:59.000Z | wagtailgeowidget/app_settings.py | elpatiostudio/wagtail-geo-widget | c7892f089344cb49a529d0a5e2b175d9064b649f | [
"MIT"
] | 26 | 2016-12-31T02:26:29.000Z | 2022-02-15T17:16:13.000Z | from django.conf import settings
GEO_WIDGET_DEFAULT_LOCATION = getattr(settings, 'GEO_WIDGET_DEFAULT_LOCATION',
{'lat': 59.3293, 'lng': 18.0686})
GEO_WIDGET_EMPTY_LOCATION = getattr(settings, 'GEO_WIDGET_EMPTY_LOCATION', False)
GEO_WIDGET_ZOOM = getattr(settings, 'GEO_WIDGET_ZOOM... | 47.6 | 81 | 0.745798 | 63 | 476 | 5.190476 | 0.428571 | 0.165138 | 0.207951 | 0.220183 | 0.480122 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042079 | 0.151261 | 476 | 9 | 82 | 52.888889 | 0.767327 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ad05daba65d031260295f5671ae0cc8259c09e6 | 551 | py | Python | test/data/some.py | htgoebel/pysource-spellchecker | b74c42e400691b762ea4abe96863d2586fd2726f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-01-11T08:36:52.000Z | 2021-01-11T08:36:52.000Z | test/data/some.py | htgoebel/pysource-spellchecker | b74c42e400691b762ea4abe96863d2586fd2726f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | test/data/some.py | htgoebel/pysource-spellchecker | b74c42e400691b762ea4abe96863d2586fd2726f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2016-11-25T20:30:35.000Z | 2019-11-12T21:00:31.000Z | #!/usr/bin/env python2.7
"""
This file is part of pysource-spellchecker.
This word should be in project.dict: ixelbrings
This word should not be in project.dict: mixelmux
"""
# The next line intentionally contains a typo behind the `--` to
# trigger the spell checker.
#!/usr/bin/env python -- dummy shebanG word, will... | 23.956522 | 69 | 0.724138 | 90 | 551 | 4.433333 | 0.588889 | 0.045113 | 0.067669 | 0.075188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008734 | 0.168784 | 551 | 22 | 70 | 25.045455 | 0.862445 | 0.809437 | 0 | 0 | 0 | 0 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
76d0083d6e1e02b4d2f30c29c2e62d46914442c5 | 223 | py | Python | GLCServer/order/migrations/0010_auto_20200123_1251.py | anmac/GLC | a10e31f93954fe91445a5e9760fe29df0a71f24f | [
"MIT"
] | null | null | null | GLCServer/order/migrations/0010_auto_20200123_1251.py | anmac/GLC | a10e31f93954fe91445a5e9760fe29df0a71f24f | [
"MIT"
] | null | null | null | GLCServer/order/migrations/0010_auto_20200123_1251.py | anmac/GLC | a10e31f93954fe91445a5e9760fe29df0a71f24f | [
"MIT"
] | null | null | null | # Generated by Django 2.2.6 on 2020-01-23 12:51
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('order', '0009_auto_20191214_1449'),
]
operations = [
]
| 15.928571 | 47 | 0.650224 | 28 | 223 | 5.071429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182353 | 0.237668 | 223 | 13 | 48 | 17.153846 | 0.652941 | 0.201794 | 0 | 0 | 1 | 0 | 0.159091 | 0.130682 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
76d460f4738cead1c5397f3c9ff41a3675734119 | 417 | py | Python | exceptionHanlder/Handler.py | SyouEthernet/AutoExecutor | deeeea389a70aa5519a0b957df8dd7f345ef0645 | [
"Apache-2.0"
] | null | null | null | exceptionHanlder/Handler.py | SyouEthernet/AutoExecutor | deeeea389a70aa5519a0b957df8dd7f345ef0645 | [
"Apache-2.0"
] | null | null | null | exceptionHanlder/Handler.py | SyouEthernet/AutoExecutor | deeeea389a70aa5519a0b957df8dd7f345ef0645 | [
"Apache-2.0"
] | null | null | null | # 错误记录器
class ErrorLogger:
def log(self, error, path='error.log'):
errorLog = open(path, 'a')
# 先空一行
errorLog.write('\n')
# 写入错误记录
errorLog.write(error)
errorLog.close()
# 错误处理器
class ErrorHandler:
def handlePreExecuteFail(self):
return True
def hand... | 20.85 | 43 | 0.59952 | 42 | 417 | 5.952381 | 0.547619 | 0.12 | 0.168 | 0.136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29976 | 417 | 20 | 44 | 20.85 | 0.856164 | 0.055156 | 0 | 0.230769 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.230769 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
76d8f1f341fdeaed0d9fabccd6bc77d3dd37d56b | 45 | py | Python | src/plotting/utils/color.py | bradley-erickson/project1 | 075f6784fbb5893da93c279a64b590630f859e09 | [
"MIT"
] | null | null | null | src/plotting/utils/color.py | bradley-erickson/project1 | 075f6784fbb5893da93c279a64b590630f859e09 | [
"MIT"
] | 30 | 2021-09-03T21:46:54.000Z | 2021-09-22T18:36:10.000Z | src/plotting/utils/color.py | bradley-erickson/project1 | 075f6784fbb5893da93c279a64b590630f859e09 | [
"MIT"
] | 11 | 2021-09-26T16:09:42.000Z | 2021-11-03T03:25:26.000Z | light_grey = '#f6f6f6'
dark_grey = '#e9e9e9'
| 15 | 22 | 0.688889 | 6 | 45 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.133333 | 45 | 2 | 23 | 22.5 | 0.589744 | 0 | 0 | 0 | 0 | 0 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76d983453b6dd2262b7938467a0b608edfccea4b | 1,044 | py | Python | rocketgram/api/promote_chat_member.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | null | null | null | rocketgram/api/promote_chat_member.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | 1 | 2022-01-16T13:56:45.000Z | 2022-01-16T13:56:45.000Z | rocketgram/api/promote_chat_member.py | streemline/rocketgram | 6f4e69e37c64f51b6bed9ebb6a1413a187d2eee2 | [
"MIT"
] | null | null | null | # Copyright (C) 2015-2022 by Vd.
# This file is part of Rocketgram, the modern Telegram bot framework.
# Rocketgram is released under the MIT License (see LICENSE).
from dataclasses import dataclass
from typing import Union, Optional
from .request import Request
from .utils import BoolResultMixin
@dataclass(frozen... | 31.636364 | 69 | 0.744253 | 135 | 1,044 | 5.577778 | 0.496296 | 0.175299 | 0.233732 | 0.252324 | 0.217795 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009249 | 0.171456 | 1,044 | 32 | 70 | 32.625 | 0.861272 | 0.246169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.210526 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e239ab15ee49261643467e700c74fbd50ced91 | 918 | py | Python | 04_recognize/scripts/test.py | phsmit/iwclul2016-scripts | 20ead4c7492241ec19dec88fe86065a273c66af6 | [
"BSD-3-Clause"
] | null | null | null | 04_recognize/scripts/test.py | phsmit/iwclul2016-scripts | 20ead4c7492241ec19dec88fe86065a273c66af6 | [
"BSD-3-Clause"
] | null | null | null | 04_recognize/scripts/test.py | phsmit/iwclul2016-scripts | 20ead4c7492241ec19dec88fe86065a273c66af6 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
from os import path
import os
def exists_and_not_empty(f):
try:
return path.getsize(f) > 100
except:
return False
def check():
files = [path.join(os.environ['TEST_DIR'], 'recognitions', "{}--{}-fsa-b280-s30-tl100k.trn.sclite_ler".format(path.basename(os.environ['TES... | 36.72 | 190 | 0.631808 | 129 | 918 | 4.294574 | 0.364341 | 0.162455 | 0.234657 | 0.227437 | 0.709386 | 0.644404 | 0.644404 | 0.644404 | 0.644404 | 0.644404 | 0 | 0.038158 | 0.172113 | 918 | 24 | 191 | 38.25 | 0.690789 | 0.022876 | 0 | 0 | 0 | 0 | 0.257813 | 0.125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 0.055556 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76e487540f170d19cc1c58a80def13a3fe2ade9a | 204 | py | Python | tests/testapp/models.py | adityhere/django-trix | 01e4cfd4dec655db36e84ccee9c4d3ef8ed4a052 | [
"MIT"
] | 38 | 2015-10-20T16:49:50.000Z | 2019-11-29T13:35:16.000Z | tests/testapp/models.py | bodedev/django-trix | c4a0dceb43104c0d031b20183dda3ac5401a90c4 | [
"MIT"
] | 7 | 2016-01-25T01:03:01.000Z | 2019-11-01T01:57:18.000Z | tests/testapp/models.py | bodedev/django-trix | c4a0dceb43104c0d031b20183dda3ac5401a90c4 | [
"MIT"
] | 13 | 2015-11-02T17:06:31.000Z | 2019-12-05T19:36:05.000Z | from django.db import models
from trix.fields import TrixField
class Post(models.Model):
title = models.CharField(max_length=128)
raw_content = models.TextField()
rich_content = TrixField()
| 22.666667 | 44 | 0.75 | 27 | 204 | 5.555556 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 204 | 8 | 45 | 25.5 | 0.859649 | 0 | 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 | 0 | 0 | 0 | 3 |
76e704a60651fef454ff0d9b9066506c49787e01 | 2,115 | py | Python | services/stocks-api/app/providers/AppServiceProvider.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | 3 | 2020-08-09T14:43:45.000Z | 2020-08-11T23:22:15.000Z | services/stocks-api/app/providers/AppServiceProvider.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | null | null | null | services/stocks-api/app/providers/AppServiceProvider.py | krystianbajno/stocks | 0a1a9283cb6debe36cfe01308eb4bc0b85217a02 | [
"MIT"
] | 1 | 2020-11-11T00:58:42.000Z | 2020-11-11T00:58:42.000Z | import requests
from Crypto.Cipher import ARC4
from app.api.CryptoApi import CryptoApi
from app.api.ForexApi import ForexApi
from app.api.clients.coinbase.CoinbaseWebsocketClient import CoinbaseWebsocketClient
from app.asset_tables.AssetTableResolver import AssetTableResolver
from app.asset_tables.CryptoAssetTable imp... | 44.0625 | 108 | 0.753664 | 225 | 2,115 | 6.733333 | 0.222222 | 0.046205 | 0.072607 | 0.035644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02035 | 0.163593 | 2,115 | 47 | 109 | 45 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.039244 | 0.023641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135135 | false | 0 | 0.324324 | 0.108108 | 0.594595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
76e85b34a92217beeb82f1d1d3ee6803584b7b8d | 548 | py | Python | analysis/config.py | RJ-SEGOVI/processorio_pbi | cfcfbda3e563ad46adbf9101c51ad3e829b25bf1 | [
"MIT"
] | null | null | null | analysis/config.py | RJ-SEGOVI/processorio_pbi | cfcfbda3e563ad46adbf9101c51ad3e829b25bf1 | [
"MIT"
] | null | null | null | analysis/config.py | RJ-SEGOVI/processorio_pbi | cfcfbda3e563ad46adbf9101c51ad3e829b25bf1 | [
"MIT"
] | null | null | null | %reload_ext autoreload
%autoreload 2
import cx_Oracle
import os
from dotenv import load_dotenv
from copy import deepcopy
import numpy as np
import pandas as pd
pd.options.display.max_columns = 999
import plotly.express as px
# Carrega credenciais
load_dotenv()
# Conecta ao banco
cx_Oracle.init_oracle_client(lib_dir=... | 21.076923 | 65 | 0.770073 | 85 | 548 | 4.752941 | 0.541176 | 0.079208 | 0.138614 | 0.133663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.133212 | 548 | 25 | 66 | 21.92 | 0.84 | 0.065693 | 0 | 0 | 0 | 0 | 0.137525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.055556 | 0.388889 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
76fcd0c1133e02a51d069ad9a055d03541e640dd | 375 | py | Python | temp7.py | nikitacs16/ConvLab-2 | 5bd4c6154957ac9c5a28db151b4724431355b258 | [
"Apache-2.0"
] | null | null | null | temp7.py | nikitacs16/ConvLab-2 | 5bd4c6154957ac9c5a28db151b4724431355b258 | [
"Apache-2.0"
] | null | null | null | temp7.py | nikitacs16/ConvLab-2 | 5bd4c6154957ac9c5a28db151b4724431355b258 | [
"Apache-2.0"
] | null | null | null | import os
os.environ['CUDA_VISIBLE_DEVICES']="1"
from convlab2.dst.sumbt.multiwoz.bert_sumbt import *
m = SUMBTTracker(arg_path='/fs/startiger0/nmoghe/experiments/sumbt/base/zh-state/new/config9.json')
m.train()
#m.train(load_model=True, model_path='/fs/startiger0/nmoghe/code/ConvLab-2/convlab2/dst/sumbt/multiwoz/model... | 53.571429 | 162 | 0.818667 | 61 | 375 | 4.803279 | 0.672131 | 0.075085 | 0.109215 | 0.163823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019337 | 0.034667 | 375 | 6 | 163 | 62.5 | 0.790055 | 0.429333 | 0 | 0 | 0 | 0.2 | 0.42723 | 0.328639 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a02bed1f306f4d6b2996cbd2aa3eafdf672f759 | 20,300 | py | Python | cinder/tests/unit/api/v2/test_volume_metadata.py | tlakshman26/cinder-new-branch | 80ba191522d1756c1871a104fbdb91008cffaaa3 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/v2/test_volume_metadata.py | tlakshman26/cinder-new-branch | 80ba191522d1756c1871a104fbdb91008cffaaa3 | [
"Apache-2.0"
] | null | null | null | cinder/tests/unit/api/v2/test_volume_metadata.py | tlakshman26/cinder-new-branch | 80ba191522d1756c1871a104fbdb91008cffaaa3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 OpenStack Foundation.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 37.523105 | 78 | 0.590443 | 2,209 | 20,300 | 5.221367 | 0.100951 | 0.104387 | 0.040576 | 0.043697 | 0.795734 | 0.753771 | 0.732877 | 0.695075 | 0.668112 | 0.636813 | 0 | 0.013919 | 0.295714 | 20,300 | 540 | 79 | 37.592593 | 0.792824 | 0.036749 | 0 | 0.633803 | 0 | 0 | 0.125422 | 0.029231 | 0 | 0 | 0 | 0 | 0.075117 | 1 | 0.107981 | false | 0.004695 | 0.035211 | 0.016432 | 0.173709 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a6b3cd49328d0b94d0be0054a467ccaa1f190cf | 6,448 | py | Python | tests_old/test_api/test_view/test_imagesView.py | appukuttan-shailesh/hbp-validation-framework | 852cf57ad664aa6d7ba8f2551153b62a342e7727 | [
"Apache-2.0"
] | 5 | 2020-11-25T08:26:20.000Z | 2022-02-04T18:56:34.000Z | tests_old/test_api/test_view/test_imagesView.py | HumanBrainProject/hbp-validation-framework | 975c5311539ec0b8ac1db1be1a1006e6f847fa78 | [
"Apache-2.0"
] | 146 | 2018-03-23T10:09:55.000Z | 2022-01-03T10:51:00.000Z | tests_old/test_api/test_view/test_imagesView.py | appukuttan-shailesh/hbp-validation-framework | 852cf57ad664aa6d7ba8f2551153b62a342e7727 | [
"Apache-2.0"
] | 8 | 2018-03-20T14:07:05.000Z | 2020-07-23T10:11:42.000Z | """
Tests of the ValidationFramework TestsView.
"""
from test_base import *
class ImagesTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.data = DataForTests()
def setUp(self):
#Setup run before every test method.
pass
def compare_serializer_keys (self, eleme... | 36.845714 | 129 | 0.619727 | 718 | 6,448 | 5.360724 | 0.123955 | 0.101325 | 0.099766 | 0.105482 | 0.780722 | 0.751364 | 0.720707 | 0.688231 | 0.640686 | 0.640686 | 0 | 0.020902 | 0.243176 | 6,448 | 175 | 130 | 36.845714 | 0.767828 | 0.012252 | 0 | 0.483051 | 0 | 0 | 0.098397 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 1 | 0.127119 | false | 0.008475 | 0.008475 | 0 | 0.144068 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6a8841ee7baaf326761c1c2097a2bb9a522c8049 | 1,621 | py | Python | harness/fuzzware_harness/mmio_models/__init__.py | fuzzware-fuzzer/fuzzware-emulator | 4ee11957c32c02826577aef4c470505a4e359303 | [
"Apache-2.0"
] | null | null | null | harness/fuzzware_harness/mmio_models/__init__.py | fuzzware-fuzzer/fuzzware-emulator | 4ee11957c32c02826577aef4c470505a4e359303 | [
"Apache-2.0"
] | null | null | null | harness/fuzzware_harness/mmio_models/__init__.py | fuzzware-fuzzer/fuzzware-emulator | 4ee11957c32c02826577aef4c470505a4e359303 | [
"Apache-2.0"
] | 2 | 2022-03-27T12:23:09.000Z | 2022-03-30T12:08:07.000Z | def parse_mmio_model_config(uc, config):
if 'mmio_models' in config and config['mmio_models']:
if 'constant' in config['mmio_models']:
from .constant import parse_constant_handlers, register_constant_mmio_models
register_constant_mmio_models(uc, *parse_constant_handlers(uc.symbols, c... | 57.892857 | 124 | 0.697717 | 188 | 1,621 | 5.62766 | 0.12234 | 0.20794 | 0.196597 | 0.102079 | 0.398866 | 0.155955 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204195 | 1,621 | 27 | 125 | 60.037037 | 0.820155 | 0 | 0 | 0 | 0 | 0 | 0.149291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0.181818 | 0.272727 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6a887cc5550427d376e35e501a2e8216e343b65e | 52 | py | Python | squad_client/version.py | mrchapp/squad-client | 06612961fc16c5f4af9983fcfe6f378e7159f965 | [
"MIT"
] | null | null | null | squad_client/version.py | mrchapp/squad-client | 06612961fc16c5f4af9983fcfe6f378e7159f965 | [
"MIT"
] | null | null | null | squad_client/version.py | mrchapp/squad-client | 06612961fc16c5f4af9983fcfe6f378e7159f965 | [
"MIT"
] | null | null | null | __version__ = '0.25'
__min_squad_version__ = '1.47'
| 17.333333 | 30 | 0.730769 | 8 | 52 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 52 | 2 | 31 | 26 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6aa889d681ccf05884ebbd8dcb4ebdf29bac830a | 665 | py | Python | packages/pytiger2c/ast/logicaloperatornode.py | yasserglez/pytiger2c | 35c44d14775bf69ed6689b708b98d6d1ca533ba0 | [
"MIT"
] | 2 | 2015-11-16T11:50:24.000Z | 2017-09-27T23:18:16.000Z | packages/pytiger2c/ast/logicaloperatornode.py | yasserglez/pytiger2c | 35c44d14775bf69ed6689b708b98d6d1ca533ba0 | [
"MIT"
] | null | null | null | packages/pytiger2c/ast/logicaloperatornode.py | yasserglez/pytiger2c | 35c44d14775bf69ed6689b708b98d6d1ca533ba0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Clase C{LogicalOperatorNode} del árbol de sintáxis abstracta.
"""
from pytiger2c.ast.binaryoperatornode import BinaryOperatorNode
class LogicalOperatorNode(BinaryOperatorNode):
"""
Clase C{LogicalOperatorNode} del árbol de sintáxis abstracta.
"""
def __init__(self, l... | 27.708333 | 71 | 0.682707 | 67 | 665 | 6.597015 | 0.567164 | 0.054299 | 0.169683 | 0.126697 | 0.235294 | 0.235294 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0.003906 | 0.230075 | 665 | 23 | 72 | 28.913043 | 0.859375 | 0.52782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6abc7fb8699d6d9f545432e93d6ccf6b3735dcb9 | 96 | py | Python | tomef/distiller/common.py | unlikelymaths/tomef | 57b629a3ee932486c55afcf62ef9d8224488ae65 | [
"MIT"
] | null | null | null | tomef/distiller/common.py | unlikelymaths/tomef | 57b629a3ee932486c55afcf62ef9d8224488ae65 | [
"MIT"
] | 14 | 2020-01-28T22:36:41.000Z | 2022-03-11T23:44:22.000Z | tomef/distiller/common.py | unlikelymaths/tomef | 57b629a3ee932486c55afcf62ef9d8224488ae65 | [
"MIT"
] | null | null | null | from collections import namedtuple
TopicEntry = namedtuple('Topic', ['idx', 'weight', 'token']) | 32 | 60 | 0.729167 | 10 | 96 | 7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 3 | 60 | 32 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ac9c153c97b847176b679b0a9bfffc7213d5448 | 3,641 | py | Python | v2.5.7/toontown/ai/NewsManagerAI.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-01T15:46:43.000Z | 2021-07-23T16:26:48.000Z | v2.5.7/toontown/ai/NewsManagerAI.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 1 | 2019-06-29T03:40:05.000Z | 2021-06-13T01:15:16.000Z | v2.5.7/toontown/ai/NewsManagerAI.py | TTOFFLINE-LEAK/ttoffline | bb0e91704a755d34983e94288d50288e46b68380 | [
"MIT"
] | 4 | 2019-07-28T21:18:46.000Z | 2021-02-25T06:37:25.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectAI import DistributedObjectAI
from toontown.toonbase import ToontownGlobals
from toontown.toonbase.HolidayData import ONCELY_HOLIDAYS, WEEKLY_HOLIDAYS, YEARLY_HOLIDAYS
from otp.ai.MagicWordGlobal import *
class NewsManagerAI(Di... | 33.712963 | 105 | 0.730294 | 293 | 3,641 | 9.010239 | 0.320819 | 0.068939 | 0.054545 | 0.024242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002009 | 0.179621 | 3,641 | 108 | 106 | 33.712963 | 0.881821 | 0 | 0 | 0.12987 | 0 | 0 | 0.094728 | 0.032674 | 0 | 0 | 0 | 0 | 0 | 1 | 0.376623 | false | 0.103896 | 0.064935 | 0.064935 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
6acea62e0f44b537593bc90fbf7d25d72c3b7e96 | 126 | py | Python | msbot/apps.py | ahmadfaizalbh/Microsoft-chatbot | 302ffa0ecd19c86d5b2464859f50384a4039641b | [
"MIT"
] | 41 | 2017-01-05T17:48:18.000Z | 2022-01-01T08:10:08.000Z | msbot/apps.py | ahmadfaizalbh/Microsoft-chatbot | 302ffa0ecd19c86d5b2464859f50384a4039641b | [
"MIT"
] | 1 | 2019-11-06T09:14:13.000Z | 2019-11-20T16:49:41.000Z | msbot/apps.py | ahmadfaizalbh/Microsoft-chatbot | 302ffa0ecd19c86d5b2464859f50384a4039641b | [
"MIT"
] | 21 | 2016-09-07T06:25:41.000Z | 2022-03-28T11:45:56.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class MsbotConfig(AppConfig):
name = 'msbot'
| 15.75 | 39 | 0.785714 | 15 | 126 | 6.266667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 126 | 7 | 40 | 18 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ad7e96c620e13dd3b34e24d7b0f4b7efeaafb9b | 11,524 | py | Python | flowable_sdk/model/cmdb/import_result_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | flowable_sdk/model/cmdb/import_result_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | flowable_sdk/model/cmdb/import_result_pb2.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: import_result.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protob... | 48.624473 | 1,154 | 0.751996 | 1,532 | 11,524 | 5.351175 | 0.117493 | 0.057575 | 0.045621 | 0.061478 | 0.72786 | 0.681752 | 0.659063 | 0.640034 | 0.625396 | 0.612954 | 0 | 0.041073 | 0.123221 | 11,524 | 236 | 1,155 | 48.830508 | 0.770289 | 0.02664 | 0 | 0.647887 | 1 | 0.00939 | 0.146043 | 0.101615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.225352 | 0 | 0.225352 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6adba51d5fe2945d8a764612a818f29cc1a13856 | 1,454 | py | Python | pytypeutils/np_checks.py | Tjstretchalot/pytypeutils | 6acb1130d024278e1f7b62cbcc1a995cb3341162 | [
"CC0-1.0"
] | 1 | 2019-07-23T21:03:56.000Z | 2019-07-23T21:03:56.000Z | pytypeutils/np_checks.py | Tjstretchalot/pytypeutils | 6acb1130d024278e1f7b62cbcc1a995cb3341162 | [
"CC0-1.0"
] | 1 | 2020-08-24T12:01:42.000Z | 2020-08-24T12:01:42.000Z | pytypeutils/np_checks.py | Tjstretchalot/pytypeutils | 6acb1130d024278e1f7b62cbcc1a995cb3341162 | [
"CC0-1.0"
] | 1 | 2019-08-10T22:40:10.000Z | 2019-08-10T22:40:10.000Z | """Checks related to numpy arrays"""
import numpy as np
from pytypeutils.utils import check_tensorlikes
def check_ndarrays(**kwargs):
"""Checks to verify the given arguments are numpy arrays with the given
specifications. The keys are used for error messages and the values are
tuples of the form (ar... | 38.263158 | 80 | 0.654746 | 212 | 1,454 | 4.438679 | 0.382075 | 0.021254 | 0.02763 | 0.031881 | 0.044633 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005623 | 0.266162 | 1,454 | 37 | 81 | 39.297297 | 0.876289 | 0.792985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a7a66862ac5e24a82535881eda831097ae8e619 | 988 | py | Python | odp/db/models/scope.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 2 | 2021-03-04T07:09:47.000Z | 2022-01-02T19:23:41.000Z | odp/db/models/scope.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 18 | 2020-09-16T09:16:45.000Z | 2022-01-25T14:17:42.000Z | odp/db/models/scope.py | SAEONData/Open-Data-Platform | cfd2a53e145ec86e187d7c4e1260df17ec6dcb03 | [
"MIT"
] | 1 | 2021-06-25T13:02:57.000Z | 2021-06-25T13:02:57.000Z | from sqlalchemy import Column, String
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.orm import relationship
from odp.db import Base
from odp.db.models.client_scope import ClientScope
from odp.db.models.role_scope import RoleScope
class Scope(Base):
"""An OAuth2 scope."""
__ta... | 36.592593 | 123 | 0.753036 | 127 | 988 | 5.677165 | 0.393701 | 0.058252 | 0.037448 | 0.041609 | 0.263523 | 0.263523 | 0.263523 | 0.160888 | 0.160888 | 0.160888 | 0 | 0.001178 | 0.140688 | 988 | 26 | 124 | 38 | 0.848057 | 0.118421 | 0 | 0 | 0 | 0 | 0.123843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.133333 | 0.4 | 0.066667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
0a7ff22b8f2d2a1b767022acc60728ccdbac14a8 | 235 | py | Python | py_learning/python_demo/28/func_test2.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | 1 | 2020-09-20T04:02:38.000Z | 2020-09-20T04:02:38.000Z | py_learning/python_demo/28/func_test2.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | null | null | null | py_learning/python_demo/28/func_test2.py | flylei009/python_learning | 9d55a296dc56d6f2295d53f2c4be55724cc8fea3 | [
"MIT"
] | null | null | null | def counter(FIRST=0):
cnt = [FIRST]
def add_one():
cnt[0] += 1
return cnt[0]
return add_one
num5 = counter(5)
num10 = counter(10)
print(num5())
print(num5())
print(num5())
print(num10())
print(num10())
| 12.368421 | 21 | 0.574468 | 34 | 235 | 3.911765 | 0.411765 | 0.203008 | 0.315789 | 0.270677 | 0.240602 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096045 | 0.246809 | 235 | 18 | 22 | 13.055556 | 0.655367 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.307692 | 0.384615 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a83ae4e48d9695d077116e1f372daf7760162f3 | 13,539 | py | Python | sdk/python/pulumi_azure_native/blueprint/v20171111preview/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 31 | 2020-09-21T09:41:01.000Z | 2021-02-26T13:21:59.000Z | sdk/python/pulumi_azure_native/blueprint/v20171111preview/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 231 | 2020-09-21T09:38:45.000Z | 2021-03-01T11:16:03.000Z | sdk/python/pulumi_azure_native/blueprint/v20171111preview/_inputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 4 | 2020-09-29T14:14:59.000Z | 2021-02-10T20:38:16.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from... | 36.493261 | 168 | 0.643327 | 1,530 | 13,539 | 5.544444 | 0.096078 | 0.10633 | 0.09242 | 0.101143 | 0.840976 | 0.747495 | 0.65036 | 0.606153 | 0.594365 | 0.542261 | 0 | 0.000098 | 0.243593 | 13,539 | 370 | 169 | 36.591892 | 0.828239 | 0.245661 | 0 | 0.627273 | 1 | 0 | 0.100728 | 0.030271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.027273 | 0 | 0.340909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a8bce2365e8d25c165d84896e91feb2a5a89bd2 | 2,149 | py | Python | py3canvas/tests/quiz_submission_questions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/quiz_submission_questions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | py3canvas/tests/quiz_submission_questions.py | tylerclair/py3canvas | 7485d458606b65200f0ffa5bbe597a9d0bee189f | [
"MIT"
] | null | null | null | """QuizSubmissionQuestions API Tests for Version 1.0.
This is a testing template for the generated QuizSubmissionQuestionsAPI Class.
"""
import unittest
import requests
import secrets
from py3canvas.apis.quiz_submission_questions import QuizSubmissionQuestionsAPI
from py3canvas.apis.quiz_submission_questions import Qu... | 41.326923 | 126 | 0.74081 | 239 | 2,149 | 6.456067 | 0.288703 | 0.081659 | 0.124433 | 0.07129 | 0.653273 | 0.526896 | 0.526896 | 0.206092 | 0.206092 | 0.206092 | 0 | 0.002326 | 0.199628 | 2,149 | 51 | 127 | 42.137255 | 0.894767 | 0.465798 | 0 | 0.178571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.107143 | 0.178571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
0a92c301424d6ff99f51f9ab8ec5a6636fe68911 | 362 | py | Python | Python/6 kyu/The Lamp: Revisited/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-09T21:47:56.000Z | 2020-01-09T21:47:56.000Z | Python/6 kyu/The Lamp: Revisited/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | 1 | 2020-01-20T12:39:03.000Z | 2020-01-20T12:39:03.000Z | Python/6 kyu/The Lamp: Revisited/solution.py | Hsins/CodeWars | 7e7b912fdd0647c0af381d8b566408e383ea5df8 | [
"MIT"
] | null | null | null | # [6 kyu] The Lamp: Revisited
#
# Author: Hsins
# Date: 2019/12/23
class Lamp(object):
def __init__(self, color=None, on=False):
self.color = color
self.on = on
def toggle_switch(self):
# self.on ^= 1
self.on = not self.on
def state(self):
return "The lamp i... | 20.111111 | 67 | 0.560773 | 53 | 362 | 3.735849 | 0.584906 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.298343 | 362 | 17 | 68 | 21.294118 | 0.740157 | 0.212707 | 0 | 0 | 0 | 0 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a954d584b469b4ad9b4e40b1401ff5bd18b282b | 732 | py | Python | src/trio_util/__init__.py | ntamas/trio-util | 1807d69d0e4654ed24d193a90f58b06b1e6f8af3 | [
"MIT"
] | null | null | null | src/trio_util/__init__.py | ntamas/trio-util | 1807d69d0e4654ed24d193a90f58b06b1e6f8af3 | [
"MIT"
] | null | null | null | src/trio_util/__init__.py | ntamas/trio-util | 1807d69d0e4654ed24d193a90f58b06b1e6f8af3 | [
"MIT"
] | null | null | null | from ._version import __version__
from ._async_bool import AsyncBool
from ._async_dictionary import AsyncDictionary
from ._async_itertools import azip, azip_longest
from ._async_value import AsyncValue
from ._awaitables import wait_all, wait_any
from ._exceptions import defer_to_cancelled
from ._periodic import periodi... | 31.826087 | 80 | 0.77459 | 93 | 732 | 5.688172 | 0.602151 | 0.068053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169399 | 732 | 22 | 81 | 33.272727 | 0.870066 | 0.101093 | 0 | 0 | 0 | 0 | 0.010671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.611111 | 0 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0ac5bc2b9fca05bdd68e5afa438d7caf81c4e90b | 684 | py | Python | the_good_dollar/main/admin.py | fouadsan/the_good_dollar | f68d2c0a54302d1bec2d8ae86ef180fc5e7f076a | [
"MIT"
] | null | null | null | the_good_dollar/main/admin.py | fouadsan/the_good_dollar | f68d2c0a54302d1bec2d8ae86ef180fc5e7f076a | [
"MIT"
] | null | null | null | the_good_dollar/main/admin.py | fouadsan/the_good_dollar | f68d2c0a54302d1bec2d8ae86ef180fc5e7f076a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Banner, SmallPub, Service, Viewer
class BannerAdmin(admin.ModelAdmin):
list_display = ('alt_text', 'image_tag')
admin.site.register(Banner, BannerAdmin)
admin.site.register(SmallPub)
admin.site.register(Service)
class ViewerAdmin(admin.ModelAdmin):
... | 19.542857 | 55 | 0.722222 | 85 | 684 | 5.670588 | 0.435294 | 0.074689 | 0.141079 | 0.149378 | 0.228216 | 0.228216 | 0.157676 | 0 | 0 | 0 | 0 | 0 | 0.179825 | 684 | 34 | 56 | 20.117647 | 0.85918 | 0 | 0 | 0.222222 | 0 | 0 | 0.032164 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ad8738fc858b328c103315aaab19a10a831b16d | 967 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/DFX/tbuffer.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/DFX/tbuffer.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/DFX/tbuffer.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension DFX.tbuffer
This module customises the behaviour of the
OpenGL.raw.GL.DFX.tbuffer to provide a more
Python-friendly API
Overview (from the spec)
This extension allows a write mask to be defined for the fragment
mask which is created during multisample rendering. This can be used
t... | 33.344828 | 72 | 0.76939 | 137 | 967 | 5.386861 | 0.554745 | 0.081301 | 0.059621 | 0.056911 | 0.112466 | 0.084011 | 0.084011 | 0 | 0 | 0 | 0 | 0 | 0.171665 | 967 | 29 | 73 | 33.344828 | 0.921348 | 0.615305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0afb06f2f386f6dbea56b42b146ae0ce414071df | 496 | py | Python | terrascript/provider/hashicorp/helm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/provider/hashicorp/helm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/provider/hashicorp/helm.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/provider/hashicorp/helm.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:27 UTC)
import terrascript
class helm(terrascript.Provider):
"""terraform-provider-helm"""
__description__ = "terraform-provider-helm"
__namespace__ = "hashicorp"
__name__ = "helm"
__source... | 24.8 | 73 | 0.707661 | 57 | 496 | 5.596491 | 0.684211 | 0.159875 | 0.197492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069212 | 0.155242 | 496 | 19 | 74 | 26.105263 | 0.692124 | 0.272177 | 0 | 0 | 1 | 0 | 0.353107 | 0.064972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.9 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e4062604eb7ed91f0a79ddb5428cf5be0ca616ec | 829 | py | Python | CS2/Ch11/guess_number_utilities.py | DoctorOac/SwosuCsPythonExamples | 07476b9b4ef9a6f8bd68921aef19e8f00183b1e7 | [
"Apache-2.0"
] | 1 | 2022-03-28T18:27:10.000Z | 2022-03-28T18:27:10.000Z | CS2/Ch11/guess_number_utilities.py | DoctorOac/SwosuCsPythonExamples | 07476b9b4ef9a6f8bd68921aef19e8f00183b1e7 | [
"Apache-2.0"
] | 1 | 2022-01-11T16:27:40.000Z | 2022-01-11T16:27:40.000Z | CS2/Ch11/guess_number_utilities.py | DoctorOac/SwosuCsPythonExamples | 07476b9b4ef9a6f8bd68921aef19e8f00183b1e7 | [
"Apache-2.0"
] | 7 | 2022-03-25T21:01:42.000Z | 2022-03-28T18:51:24.000Z | import random
def greetUser():
print('hello user.')
def generate_random_number():
random.seed(900)
our_random_number = random.randint(1,101)
return our_random_number
def get_user_guess():
user_guess = input('please enter your guess between 1 and 100\n')
#TODO: need to add some limits on what ... | 26.741935 | 69 | 0.683957 | 123 | 829 | 4.325203 | 0.447154 | 0.157895 | 0.169173 | 0.071429 | 0.210526 | 0.210526 | 0.210526 | 0.210526 | 0.210526 | 0.210526 | 0 | 0.017081 | 0.22316 | 829 | 30 | 70 | 27.633333 | 0.809006 | 0.059107 | 0 | 0.166667 | 1 | 0 | 0.137356 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.208333 | false | 0 | 0.041667 | 0 | 0.416667 | 0.208333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c13f15e2104c8728093c4ad96144c1a274ef599 | 296 | py | Python | tests/plugins/test_btv.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 10 | 2017-04-10T18:25:41.000Z | 2021-09-15T20:14:58.000Z | tests/plugins/test_btv.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 9 | 2020-04-04T09:49:52.000Z | 2020-04-21T01:52:02.000Z | tests/plugins/test_btv.py | xcgx/streamlink | b635e0d9d0fe9363817a96ec7d31faefed95cb57 | [
"BSD-2-Clause"
] | 12 | 2022-01-30T23:34:18.000Z | 2022-03-26T17:09:43.000Z | from streamlink.plugins.btv import BTV
from tests.plugins import PluginCanHandleUrl
class TestPluginCanHandleUrlBTV(PluginCanHandleUrl):
__plugin__ = BTV
should_match = [
"http://btvplus.bg/live",
"http://btvplus.bg/live/",
"http://www.btvplus.bg/live/",
]
| 22.769231 | 52 | 0.675676 | 31 | 296 | 6.290323 | 0.548387 | 0.138462 | 0.2 | 0.174359 | 0.194872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199324 | 296 | 12 | 53 | 24.666667 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c6f5d15a0e1fe353449203c1bfe9bd903c756ec | 400 | py | Python | strings.py | coderRPN/python-first-project | ab7402546ee212d8522cc4f8e9b0a149b6459206 | [
"MIT"
] | null | null | null | strings.py | coderRPN/python-first-project | ab7402546ee212d8522cc4f8e9b0a149b6459206 | [
"MIT"
] | null | null | null | strings.py | coderRPN/python-first-project | ab7402546ee212d8522cc4f8e9b0a149b6459206 | [
"MIT"
] | null | null | null | first_name = "prabhdeep"
last_name = "singh"
first_name = "modified"
age = 30
is_male = True
first_name = first_name.upper()
print("First name is: \n \"" + first_name)
print("Last name is: " + last_name)
print(age)
print(is_male)
print(first_name.isupper())
print(len(first_name + last_name))
print(first_name[4].low... | 21.052632 | 45 | 0.72 | 63 | 400 | 4.333333 | 0.365079 | 0.362637 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008427 | 0.11 | 400 | 19 | 45 | 21.052632 | 0.758427 | 0 | 0 | 0 | 0 | 0 | 0.169576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
7c9a4bdaf8043eda146d1427f8b75011ed730f66 | 245 | py | Python | py/kubeflow/kubeflow/ci/notebook_servers/notebook_server_jupyter_pytorch_full_tests_runner.py | zhyon404/kubeflow | e0daf0f2eee705e5ffd78d78b5b34290c7e423ff | [
"Apache-2.0"
] | 9,272 | 2018-01-29T14:14:06.000Z | 2022-03-31T14:01:45.000Z | py/kubeflow/kubeflow/ci/notebook_servers/notebook_server_jupyter_pytorch_full_tests_runner.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 6,321 | 2018-01-29T14:00:15.000Z | 2022-03-31T21:21:07.000Z | py/kubeflow/kubeflow/ci/notebook_servers/notebook_server_jupyter_pytorch_full_tests_runner.py | zhou762/kubeflow | 5bf005f21647c2238b8f863e9e51e9c81872b2f5 | [
"Apache-2.0"
] | 1,909 | 2018-01-30T01:31:58.000Z | 2022-03-30T07:43:48.000Z | # This file is only intended for development purposes
from kubeflow.kubeflow.ci import base_runner
base_runner.main(component_name="notebook_servers.notebook_server_jupyter_pytorch_full_tests",
workflow_name="nb-j-pt-f-tests")
| 40.833333 | 94 | 0.791837 | 35 | 245 | 5.257143 | 0.828571 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134694 | 245 | 5 | 95 | 49 | 0.867925 | 0.208163 | 0 | 0 | 0 | 0 | 0.385417 | 0.307292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7ca7b6ffb2e98003c9d546e92b1d5e69dc54aece | 385 | py | Python | packages/api-server/api_server/models/rmf_api/kill_task_response.py | mayman99/rmf-web | 5670bd943567c6a866ec6345c972e6fb84d73476 | [
"Apache-2.0"
] | 23 | 2021-04-13T23:01:12.000Z | 2022-03-21T02:15:24.000Z | packages/api-server/api_server/models/rmf_api/kill_task_response.py | mayman99/rmf-web | 5670bd943567c6a866ec6345c972e6fb84d73476 | [
"Apache-2.0"
] | 326 | 2021-03-10T17:32:17.000Z | 2022-03-30T04:42:14.000Z | packages/api-server/api_server/models/rmf_api/kill_task_response.py | mayman99/rmf-web | 5670bd943567c6a866ec6345c972e6fb84d73476 | [
"Apache-2.0"
] | 13 | 2021-04-10T10:33:36.000Z | 2022-02-22T15:39:58.000Z | # generated by datamodel-codegen:
# filename: kill_task_response.json
from __future__ import annotations
from pydantic import BaseModel, Field
from . import simple_response
class TaskKillResponse(BaseModel):
__root__: simple_response.SimpleResponse = Field(
...,
description="Response to a re... | 22.647059 | 59 | 0.722078 | 43 | 385 | 6.186047 | 0.604651 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205195 | 385 | 16 | 60 | 24.0625 | 0.869281 | 0.176623 | 0 | 0 | 1 | 0 | 0.171975 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7cade4f2d0ef8db93c21ac9a2afe60d72a652bde | 1,973 | py | Python | vision/nn/mb_tiny.py | lyyiangang/Ultra-Light-Fast-Generic-Face-Detector-1MB | 78cd437ca0f016d55becfdd9a680763be99086e1 | [
"MIT"
] | 6,602 | 2019-10-10T10:41:34.000Z | 2022-03-31T01:16:18.000Z | vision/nn/mb_tiny.py | lyyiangang/Ultra-Light-Fast-Generic-Face-Detector-1MB | 78cd437ca0f016d55becfdd9a680763be99086e1 | [
"MIT"
] | 258 | 2019-10-12T03:21:57.000Z | 2022-03-17T08:54:50.000Z | vision/nn/mb_tiny.py | lyyiangang/Ultra-Light-Fast-Generic-Face-Detector-1MB | 78cd437ca0f016d55becfdd9a680763be99086e1 | [
"MIT"
] | 1,529 | 2019-10-11T01:39:57.000Z | 2022-03-31T05:06:45.000Z | import torch.nn as nn
import torch.nn.functional as F
class Mb_Tiny(nn.Module):
def __init__(self, num_classes=2):
super(Mb_Tiny, self).__init__()
self.base_channel = 8 * 2
def conv_bn(inp, oup, stride):
return nn.Sequential(
nn.Conv2d(inp, oup, 3, stride, 1, ... | 37.942308 | 78 | 0.545362 | 284 | 1,973 | 3.598592 | 0.211268 | 0.203523 | 0.381605 | 0.164384 | 0.613503 | 0.553816 | 0.553816 | 0.553816 | 0.553816 | 0.391389 | 0 | 0.066315 | 0.32742 | 1,973 | 51 | 79 | 38.686275 | 0.703843 | 0.015205 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093023 | false | 0 | 0.046512 | 0.046512 | 0.232558 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cb0ff4f0c259484f7f8ad8d16480fdaab55d52a | 145 | py | Python | res/templates/py/MyClass.py | ytyaru/Python.Jinja2.Extends.20180325101500 | 8747e8f991b0e9dc142202918e8ad49c4243fd46 | [
"CC0-1.0"
] | null | null | null | res/templates/py/MyClass.py | ytyaru/Python.Jinja2.Extends.20180325101500 | 8747e8f991b0e9dc142202918e8ad49c4243fd46 | [
"CC0-1.0"
] | null | null | null | res/templates/py/MyClass.py | ytyaru/Python.Jinja2.Extends.20180325101500 | 8747e8f991b0e9dc142202918e8ad49c4243fd46 | [
"CC0-1.0"
] | null | null | null | class {% block Name %}MyClass{% endblock %}:
def __init__(self):
print('init')
{% include "py/main.py" %}
c = {{ self.Name() }}()
| 18.125 | 44 | 0.531034 | 17 | 145 | 4.294118 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234483 | 145 | 7 | 45 | 20.714286 | 0.657658 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cb4737da725b9d905ecdf49dcfa1e3f847228ed | 243 | py | Python | Week_3/AdvanceDjango/restaurants/urls.py | girisagar46/DjangoTrainingClass | 373f4151b2ee46ea8f76ffa344603014e87d9764 | [
"MIT"
] | null | null | null | Week_3/AdvanceDjango/restaurants/urls.py | girisagar46/DjangoTrainingClass | 373f4151b2ee46ea8f76ffa344603014e87d9764 | [
"MIT"
] | null | null | null | Week_3/AdvanceDjango/restaurants/urls.py | girisagar46/DjangoTrainingClass | 373f4151b2ee46ea8f76ffa344603014e87d9764 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from .views import HomeView, RestaurantLocationListView
urlpatterns = [
url(r'^$', HomeView.as_view(), name='home'),
url(r'^restaurants/$', RestaurantLocationListView.as_view(), name='restaurants'),
] | 30.375 | 85 | 0.728395 | 27 | 243 | 6.481481 | 0.592593 | 0.045714 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115226 | 243 | 8 | 86 | 30.375 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.127049 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7cc2ae469ce2b5a315192b09122f42c2795d35d1 | 34,355 | py | Python | res_unet/model_training/make_dataset.py | CameronBodine/segmentation_zoo | 34a8e5800be06d043358db21d595a993fda922ab | [
"MIT"
] | null | null | null | res_unet/model_training/make_dataset.py | CameronBodine/segmentation_zoo | 34a8e5800be06d043358db21d595a993fda922ab | [
"MIT"
] | null | null | null | res_unet/model_training/make_dataset.py | CameronBodine/segmentation_zoo | 34a8e5800be06d043358db21d595a993fda922ab | [
"MIT"
] | null | null | null | # Written by Dr Daniel Buscombe, Marda Science LLC
# for the USGS Coastal Change Hazards Program
#
# MIT License
#
# Copyright (c) 2020, Marda Science LLC
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in... | 39.039773 | 191 | 0.571678 | 4,585 | 34,355 | 4.14831 | 0.107306 | 0.031809 | 0.038959 | 0.03123 | 0.782229 | 0.731756 | 0.708938 | 0.680915 | 0.656677 | 0.606887 | 0 | 0.025254 | 0.256557 | 34,355 | 879 | 192 | 39.084187 | 0.719432 | 0.557503 | 0 | 0.665541 | 0 | 0 | 0.059441 | 0.002572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006757 | false | 0.006757 | 0.02027 | 0 | 0.040541 | 0.064189 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cd2d0a97302a6af2123feef9b67cf6b85c11c08 | 1,843 | py | Python | server/world/replica/base_data.py | alentoghostflame/PyLUS | d23531c81a81754bea04c1d1de335117edab1670 | [
"MIT"
] | 7 | 2019-04-18T00:46:09.000Z | 2021-12-21T04:34:44.000Z | server/world/replica/base_data.py | alentoghostflame/PyLUS | d23531c81a81754bea04c1d1de335117edab1670 | [
"MIT"
] | 15 | 2021-03-08T17:29:40.000Z | 2021-04-08T18:22:52.000Z | server/world/replica/base_data.py | alentoghostflame/PyLUS | d23531c81a81754bea04c1d1de335117edab1670 | [
"MIT"
] | 6 | 2018-04-01T16:33:50.000Z | 2018-05-12T15:54:21.000Z | """
Base data
"""
from bitstream import c_uint8, c_uint32, c_int32, c_int64, c_float, c_bit
from pyraknet.replicamanager import Replica
class BaseData(Replica):
"""
Base data class
"""
def __init__(self, objid, lot, name, time_since_created=0, trigger=False, spawner=None, spawner_node=None, scale=No... | 29.725806 | 138 | 0.639175 | 242 | 1,843 | 4.673554 | 0.202479 | 0.194518 | 0.201592 | 0.172414 | 0.461538 | 0.298851 | 0.205128 | 0.205128 | 0.205128 | 0.205128 | 0 | 0.013768 | 0.251221 | 1,843 | 61 | 139 | 30.213115 | 0.805797 | 0.026587 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0 | 1 | 0.071429 | false | 0 | 0.047619 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cdc2f61d9416778e8fc498d2b85ebee861fcf6b | 125 | py | Python | share_var/gloable_demo.py | lishulongVI/Ilhabela | 12e97ad2c239038bca0aaecc037beba7f7d3715a | [
"MIT"
] | null | null | null | share_var/gloable_demo.py | lishulongVI/Ilhabela | 12e97ad2c239038bca0aaecc037beba7f7d3715a | [
"MIT"
] | null | null | null | share_var/gloable_demo.py | lishulongVI/Ilhabela | 12e97ad2c239038bca0aaecc037beba7f7d3715a | [
"MIT"
] | null | null | null | from share_var.gloable import lis
import time
def change():
global lis
for i in range(100):
lis.append(i)
| 12.5 | 33 | 0.648 | 20 | 125 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 0.272 | 125 | 9 | 34 | 13.888889 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7cdfe2999ea1755ad9eda421d33ff6f63e7f5ecc | 163 | py | Python | sonar/boards/ad_8k5/__init__.py | sharm294/sonar | 99de16dd16d0aa77734584e67263c78a37abef86 | [
"MIT"
] | 5 | 2018-11-21T02:33:38.000Z | 2020-10-30T12:22:05.000Z | sonar/boards/ad_8k5/__init__.py | sharm294/sonar | 99de16dd16d0aa77734584e67263c78a37abef86 | [
"MIT"
] | 2 | 2018-12-28T18:31:45.000Z | 2020-06-12T19:24:57.000Z | sonar/boards/ad_8k5/__init__.py | sharm294/sonar | 99de16dd16d0aa77734584e67263c78a37abef86 | [
"MIT"
] | 1 | 2019-03-10T13:48:50.000Z | 2019-03-10T13:48:50.000Z | """
The board definition should define the following variables:
PART (str): The part name of the FPGA according to the tool
"""
PART = "xcku115-flva1517-2-e"
| 23.285714 | 63 | 0.717791 | 25 | 163 | 4.68 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0.184049 | 163 | 6 | 64 | 27.166667 | 0.819549 | 0.754601 | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7cf3010903e74571bd9811a57a5a96529b807709 | 941 | py | Python | src/jj_analyzer/AnalyzerAPI.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | src/jj_analyzer/AnalyzerAPI.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | src/jj_analyzer/AnalyzerAPI.py | ninetymiles/jj-logcat-analyzer | d4ae0fddfefc303ae9c17e6c9e08aad6a231e036 | [
"Apache-1.1"
] | null | null | null | #! /usr/bin/python
import datetime
import logging
import re
import Analyzer
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
class AnalyzerAPI(Analyzer):
def __init__(self):
pass
def parse(self, dt, pid, tid, level, tag, message):
print("dt:%s ts:%f" % (dt, float(dt.strftim... | 26.885714 | 110 | 0.564293 | 118 | 941 | 4.466102 | 0.466102 | 0.01518 | 0.201139 | 0.212524 | 0.387097 | 0.387097 | 0.387097 | 0.110057 | 0.110057 | 0.110057 | 0 | 0.055085 | 0.247609 | 941 | 34 | 111 | 27.676471 | 0.689266 | 0.213603 | 0 | 0.181818 | 0 | 0 | 0.173677 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.181818 | 0 | 0.363636 | 0.227273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7cf5b60e0a6b0c5049b7e9b168314f3f340779e8 | 1,357 | py | Python | pincer/middleware/message_update.py | DamnikB/Pincer | d2b1e22d49a528d59c3e912ddbd4735d9d5a3ef9 | [
"MIT"
] | null | null | null | pincer/middleware/message_update.py | DamnikB/Pincer | d2b1e22d49a528d59c3e912ddbd4735d9d5a3ef9 | [
"MIT"
] | null | null | null | pincer/middleware/message_update.py | DamnikB/Pincer | d2b1e22d49a528d59c3e912ddbd4735d9d5a3ef9 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
"""sent when a message is updated in a subscribed text channel"""
from __future__ import annotations
from typing import TYPE_CHECKING
from ..objects import UserMessage
from ..utils.conversion import construct_client_di... | 27.14 | 82 | 0.703758 | 166 | 1,357 | 5.620482 | 0.427711 | 0.083601 | 0.048232 | 0.045016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006446 | 0.199705 | 1,357 | 49 | 83 | 27.693878 | 0.85267 | 0.121592 | 0 | 0 | 0 | 0 | 0.026521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | true | 0 | 0.444444 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6b0bc05d13cfced923727a8d8571fc7e60842aa2 | 16,422 | py | Python | bokeh/core/property/wrappers.py | teresafds/bokeh | 95b2a74ff463cfabdf9e3390951fa380166e6691 | [
"BSD-3-Clause"
] | null | null | null | bokeh/core/property/wrappers.py | teresafds/bokeh | 95b2a74ff463cfabdf9e3390951fa380166e6691 | [
"BSD-3-Clause"
] | null | null | null | bokeh/core/property/wrappers.py | teresafds/bokeh | 95b2a74ff463cfabdf9e3390951fa380166e6691 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2022, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 33.446029 | 111 | 0.597552 | 1,894 | 16,422 | 5.074446 | 0.221753 | 0.028613 | 0.027677 | 0.014046 | 0.441577 | 0.402351 | 0.37197 | 0.319009 | 0.28946 | 0.278431 | 0 | 0.005057 | 0.241384 | 16,422 | 490 | 112 | 33.514286 | 0.766415 | 0.560589 | 0 | 0.310559 | 0 | 0 | 0.03588 | 0.006959 | 0 | 0 | 0 | 0.002041 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.15528 | 0.509317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b14e044c290c0b1351ace03371cde8d98321731 | 1,328 | py | Python | langs/talon/talon.py | AndreasArvidsson/andreas-talon | 240218a385e450188a28f628af48d53d56d091d5 | [
"MIT"
] | 11 | 2021-08-22T19:41:23.000Z | 2022-02-24T11:39:42.000Z | langs/talon/talon.py | AndreasArvidsson/talon-user | c8945d94a8c3c53083b2f75b9e585500d9ae8845 | [
"MIT"
] | null | null | null | langs/talon/talon.py | AndreasArvidsson/talon-user | c8945d94a8c3c53083b2f75b9e585500d9ae8845 | [
"MIT"
] | 2 | 2022-01-28T04:59:31.000Z | 2022-03-04T21:28:59.000Z | from talon import Module, Context, actions
insert = actions.insert
mod = Module()
ctx = Context()
ctx.matches = r"""
tag: user.talon
"""
@ctx.action_class("user")
class UserActions:
# Assignment operator
def op_assign(): insert(" = ")
# Math operators
def op_sub(): insert(" -... | 32.390244 | 46 | 0.46762 | 138 | 1,328 | 4.26087 | 0.289855 | 0.178571 | 0.29932 | 0.144558 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.365964 | 1,328 | 40 | 47 | 33.2 | 0.698337 | 0.045934 | 0 | 0 | 0 | 0 | 0.083201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.6875 | false | 0 | 0.03125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6b181be348b1c9adb0022888c858aac4eab93594 | 335 | py | Python | ecomsite/shop/models.py | Lebana-source/ProyectoTienda | a7a6aa726e0f4fca7bdfa9803113de354791d4fa | [
"MIT"
] | null | null | null | ecomsite/shop/models.py | Lebana-source/ProyectoTienda | a7a6aa726e0f4fca7bdfa9803113de354791d4fa | [
"MIT"
] | null | null | null | ecomsite/shop/models.py | Lebana-source/ProyectoTienda | a7a6aa726e0f4fca7bdfa9803113de354791d4fa | [
"MIT"
] | 1 | 2021-07-06T20:39:45.000Z | 2021-07-06T20:39:45.000Z | from django.db import models
# Create your models here.
class Products(models.Model):
title = models.CharField(max_length=200)
price = models.FloatField()
discount_price = models.FloatField()
category = models.CharField(max_length=200)
description = models.TextField()
image = models.CharField(m... | 30.454545 | 47 | 0.737313 | 41 | 335 | 5.926829 | 0.585366 | 0.185185 | 0.222222 | 0.296296 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032028 | 0.161194 | 335 | 10 | 48 | 33.5 | 0.83274 | 0.071642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6b28c9c00d7b930c7393fa671c41c0c9405bdad2 | 251 | py | Python | data_loader/data_loader.py | junronglau/base-data-loader | ce1cef55b44692c0ca7339664e08b86b6b99c10b | [
"Apache-2.0"
] | null | null | null | data_loader/data_loader.py | junronglau/base-data-loader | ce1cef55b44692c0ca7339664e08b86b6b99c10b | [
"Apache-2.0"
] | 1 | 2020-12-21T14:25:15.000Z | 2020-12-21T15:19:24.000Z | data_loader/data_loader.py | junronglau/base-data-loader | ce1cef55b44692c0ca7339664e08b86b6b99c10b | [
"Apache-2.0"
] | null | null | null | import pandas as pd
class DataLoader:
def __init__(self, path):
self.path = path
self.df = None
def load_data(self):
self.df = pd.read_csv(self.path, encoding='utf-8')
def get_data(self):
return self.df
| 17.928571 | 58 | 0.601594 | 37 | 251 | 3.891892 | 0.567568 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.290837 | 251 | 13 | 59 | 19.307692 | 0.803371 | 0 | 0 | 0 | 0 | 0 | 0.01992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b2d2ad059b09c5e3b2516645dfecb22b3d786ed | 424 | py | Python | tests/basics/list_slice.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/list_slice.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/list_slice.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test list slices, getting values
x = list(range(10))
print(x[1:])
print(x[:-1])
print(x[2:3])
a = 2
b = 4
c = 3
print(x[:])
print(x[::])
print(x[::c])
print(x[:b])
print(x[:b:])
print(x[:b:c])
print(x[a])
print(x[a:])
print(x[a::])
print(x[a::c])
print(x[a:b])
print(x[a:b:])
print(x[a:b:c])
# these should not rai... | 12.470588 | 35 | 0.561321 | 83 | 424 | 2.86747 | 0.301205 | 0.403361 | 0.205882 | 0.151261 | 0.390756 | 0.306723 | 0.218487 | 0.218487 | 0.117647 | 0 | 0 | 0.032967 | 0.141509 | 424 | 33 | 36 | 12.848485 | 0.620879 | 0.15566 | 0 | 0 | 0 | 0 | 0.028169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.730769 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6b2df4ea7b6daab098eaf3711da190076cf1305a | 620 | py | Python | features_dir/located_in_parsertree.py | bobsru/EliIE | ed5f7cc5b0537bc2aed4a94cd50146a0d54e6b20 | [
"MIT"
] | 30 | 2017-04-06T17:16:04.000Z | 2022-01-13T04:24:44.000Z | features_dir/located_in_parsertree.py | bobsru/EliIE | ed5f7cc5b0537bc2aed4a94cd50146a0d54e6b20 | [
"MIT"
] | 3 | 2018-01-18T17:02:59.000Z | 2021-03-11T15:48:01.000Z | features_dir/located_in_parsertree.py | bobsru/EliIE | ed5f7cc5b0537bc2aed4a94cd50146a0d54e6b20 | [
"MIT"
] | 11 | 2016-10-26T16:44:11.000Z | 2021-12-08T22:25:41.000Z | __author__ = 'kangtian'
import os,nltk
sent='patients aged >= 20 years who undergo a screening , surveillance or diagnostic colonoscopy and are subsequently found to have colorectal polyps measuring 3 - 9 mm in size. ( 2 ) Patients who signed an informed consent .'
os.popen("echo '"+sent+"' > ~/stanfordtemp.txt")
pa... | 47.692308 | 227 | 0.730645 | 91 | 620 | 4.846154 | 0.67033 | 0.081633 | 0.027211 | 0.054422 | 0.068027 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026119 | 0.135484 | 620 | 13 | 228 | 47.692308 | 0.796642 | 0.264516 | 0 | 0 | 0 | 0.333333 | 0.730684 | 0.101545 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
861eeba747b6ee152f7077f55a391b5dce7e764a | 249 | py | Python | Generator.py | tomekrzymyszkiewicz/forward-error-correction | fba72896b77cd4f5dee79648e3ecbcc1c827e95c | [
"MIT"
] | 1 | 2021-09-09T15:34:44.000Z | 2021-09-09T15:34:44.000Z | Generator.py | tomekrzymyszkiewicz/forward-error-correction | fba72896b77cd4f5dee79648e3ecbcc1c827e95c | [
"MIT"
] | 1 | 2021-03-20T12:09:04.000Z | 2021-03-20T12:09:26.000Z | Generator.py | tomekrzymyszkiewicz/forward-error-correction | fba72896b77cd4f5dee79648e3ecbcc1c827e95c | [
"MIT"
] | null | null | null | from random import seed
from random import randint
class Generator:
def generate_bits(bits_number):
bits = []
for x in range(0, bits_number):
value = randint(0, 1)
bits.append(value)
return bits
| 20.75 | 39 | 0.60241 | 32 | 249 | 4.59375 | 0.625 | 0.136054 | 0.217687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.325301 | 249 | 11 | 40 | 22.636364 | 0.857143 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.555556 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8626d30060ed07a652893a39e26746c768ab8b2c | 45 | py | Python | monero/prio.py | massanchik/monero-python | 5699c26f6ba0a64f50ac065ebe0419daf01fd993 | [
"BSD-3-Clause"
] | 3 | 2020-05-02T02:48:16.000Z | 2021-06-15T16:50:11.000Z | monero/prio.py | massanchik/monero-python | 5699c26f6ba0a64f50ac065ebe0419daf01fd993 | [
"BSD-3-Clause"
] | 13 | 2019-03-18T16:01:19.000Z | 2019-09-04T08:32:40.000Z | monero/prio.py | massanchik/monero-python | 5699c26f6ba0a64f50ac065ebe0419daf01fd993 | [
"BSD-3-Clause"
] | 2 | 2019-04-29T14:22:34.000Z | 2019-05-20T16:36:37.000Z | UNIMPORTANT=1
NORMAL=2
ELEVATED=3
PRIORITY=4
| 9 | 13 | 0.822222 | 8 | 45 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.088889 | 45 | 4 | 14 | 11.25 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
864c18538ddc2100925e6f3e99a81fda6e88e5ce | 531 | py | Python | pysat_kamodo/nasa.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | null | null | null | pysat_kamodo/nasa.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | 2 | 2019-10-28T21:21:53.000Z | 2021-08-28T01:42:43.000Z | pysat_kamodo/nasa.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | 1 | 2020-01-31T18:45:13.000Z | 2020-01-31T18:45:13.000Z | # ---
# jupyter:
# jupytext:
# formats: py:light
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.13.0
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
# name: python3
# ---
# +
import pysat
i... | 21.24 | 86 | 0.679849 | 63 | 531 | 5.587302 | 0.68254 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01937 | 0.222222 | 531 | 24 | 87 | 22.125 | 0.83293 | 0.679849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
866400146c551db534c98b14daca06d89a95f1e6 | 890 | py | Python | oggm/global_tasks.py | sarah-hanus/oggm | 1c387d9407435355b74dc18e3bee0d4b73e9e87e | [
"BSD-3-Clause"
] | null | null | null | oggm/global_tasks.py | sarah-hanus/oggm | 1c387d9407435355b74dc18e3bee0d4b73e9e87e | [
"BSD-3-Clause"
] | null | null | null | oggm/global_tasks.py | sarah-hanus/oggm | 1c387d9407435355b74dc18e3bee0d4b73e9e87e | [
"BSD-3-Clause"
] | null | null | null | """OGGM global tasks.
This module is simply a shortcut to the core functions
"""
# flake8: noqa
from oggm.workflow import gis_prepro_tasks
from oggm.workflow import climate_tasks
from oggm.workflow import inversion_tasks
from oggm.workflow import calibrate_inversion_from_consensus
from oggm.workflow import match_regi... | 34.230769 | 60 | 0.869663 | 139 | 890 | 5.294964 | 0.381295 | 0.184783 | 0.17663 | 0.258152 | 0.449728 | 0.269022 | 0 | 0 | 0 | 0 | 0 | 0.001248 | 0.1 | 890 | 25 | 61 | 35.6 | 0.917603 | 0.098876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 3 |
8666565fa0838b7205e0fdd70670c721d508df99 | 6,207 | py | Python | Bioinformatics_k-mer_generator_with_Flask/venv/Lib/site-packages/Bio/AlignIO/Interfaces.py | ee2110/Machine_Learning_based_web_applications | a414f3906e49003230f5440bb7f035a8d72767a6 | [
"MIT"
] | null | null | null | Bioinformatics_k-mer_generator_with_Flask/venv/Lib/site-packages/Bio/AlignIO/Interfaces.py | ee2110/Machine_Learning_based_web_applications | a414f3906e49003230f5440bb7f035a8d72767a6 | [
"MIT"
] | null | null | null | Bioinformatics_k-mer_generator_with_Flask/venv/Lib/site-packages/Bio/AlignIO/Interfaces.py | ee2110/Machine_Learning_based_web_applications | a414f3906e49003230f5440bb7f035a8d72767a6 | [
"MIT"
] | null | null | null | # Copyright 2008-2018 by Peter Cock. All rights reserved.
#
# This file is part of the Biopython distribution and governed by your
# choice of the "Biopython License Agreement" or the "BSD 3-Clause License".
# Please see the LICENSE file that should have been included as part of this
# package.
"""AlignIO support modu... | 35.067797 | 81 | 0.587562 | 695 | 6,207 | 5.145324 | 0.296403 | 0.020134 | 0.021532 | 0.025168 | 0.4217 | 0.4217 | 0.369128 | 0.369128 | 0.369128 | 0.369128 | 0 | 0.003604 | 0.28484 | 6,207 | 176 | 82 | 35.267045 | 0.801982 | 0.570807 | 0 | 0.307692 | 0 | 0 | 0.059233 | 0 | 0 | 0 | 0 | 0.005682 | 0 | 1 | 0.307692 | false | 0.051282 | 0.076923 | 0 | 0.564103 | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
868ecf2983f07279f7cfd8e74b373b8289dc27c0 | 184 | py | Python | 03-python-basics/src/conversor2.py | kasteion/python-web-learning-route | e3477c0646f5520f7a4e30dcb0aedc33a4428659 | [
"MIT"
] | null | null | null | 03-python-basics/src/conversor2.py | kasteion/python-web-learning-route | e3477c0646f5520f7a4e30dcb0aedc33a4428659 | [
"MIT"
] | null | null | null | 03-python-basics/src/conversor2.py | kasteion/python-web-learning-route | e3477c0646f5520f7a4e30dcb0aedc33a4428659 | [
"MIT"
] | null | null | null | dolares = input("¿Cuántos dolares tienes?: ")
dolares = float(dolares)
valorDelDolar = 7.73
quetzales = str(round(dolares * valorDelDolar, 2))
print("Tienes Q", quetzales, "Quetzales") | 36.8 | 50 | 0.733696 | 23 | 184 | 5.913043 | 0.652174 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.11413 | 184 | 5 | 51 | 36.8 | 0.803681 | 0 | 0 | 0 | 0 | 0 | 0.232432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
869a5114828619ce6710ef2f89925a7a0ba26b97 | 635 | py | Python | xfers/xfuser.py | Xfers/xfers-python | d2bba22f907a832b3c6adaece2b0630d38f847e4 | [
"MIT"
] | null | null | null | xfers/xfuser.py | Xfers/xfers-python | d2bba22f907a832b3c6adaece2b0630d38f847e4 | [
"MIT"
] | null | null | null | xfers/xfuser.py | Xfers/xfers-python | d2bba22f907a832b3c6adaece2b0630d38f847e4 | [
"MIT"
] | null | null | null | from xfers import api_resource
from xfers import error
RESOURCE_URL = '/user'
def retrieve(connect_key=None):
return api_resource.get(None, RESOURCE_URL, connect_key)
def update(params=None, connect_key=None):
if not params:
raise error.InvalidRequestError("Params cannot be empty", 400)
return... | 26.458333 | 98 | 0.76063 | 88 | 635 | 5.261364 | 0.340909 | 0.172786 | 0.12095 | 0.181425 | 0.473002 | 0.24622 | 0.24622 | 0.24622 | 0 | 0 | 0 | 0.005435 | 0.130709 | 635 | 23 | 99 | 27.608696 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.103937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.230769 | 0.769231 | 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 | 0 | 0 | 0 | 3 |
869c7f9c3acce0b524ca160e835f3e79b0dd6e93 | 2,185 | py | Python | osbenchmark/paths.py | AGSaidi/opensearch-benchmark | 42d5c3d309ebf82cc024b8b204a07483b296cac9 | [
"Apache-2.0"
] | 26 | 2021-12-09T06:58:53.000Z | 2022-03-29T15:01:37.000Z | osbenchmark/paths.py | AGSaidi/opensearch-benchmark | 42d5c3d309ebf82cc024b8b204a07483b296cac9 | [
"Apache-2.0"
] | 63 | 2021-12-08T20:47:17.000Z | 2022-03-31T18:21:31.000Z | osbenchmark/paths.py | AGSaidi/opensearch-benchmark | 42d5c3d309ebf82cc024b8b204a07483b296cac9 | [
"Apache-2.0"
] | 5 | 2021-12-09T10:17:30.000Z | 2022-03-03T05:31:12.000Z | # SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.
# Licensed to Elasticsearch B.V. under one ... | 37.033898 | 112 | 0.757437 | 324 | 2,185 | 5.012346 | 0.45679 | 0.029557 | 0.044335 | 0.049261 | 0.072044 | 0.049261 | 0.049261 | 0.049261 | 0.049261 | 0 | 0 | 0.004327 | 0.153776 | 2,185 | 58 | 113 | 37.672414 | 0.873986 | 0.608696 | 0 | 0 | 0 | 0 | 0.116708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.117647 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
86aeb8bb4244cf5a0bb7dc70c8f85a5881598688 | 721 | py | Python | test/module_examples/pydoc_mod.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | null | null | null | test/module_examples/pydoc_mod.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | 1 | 2022-01-17T16:28:45.000Z | 2022-01-17T16:28:45.000Z | test/pydoc_mod.py | matthewdeanmartin/pydoc_fork | 174475b15be966f3751d5563b4db0beecc3ab1f9 | [
"MIT"
] | null | null | null | """This is a test module for test_pydoc"""
__author__ = "Benjamin Peterson"
__credits__ = "Nobody"
__version__ = "1.2.3.4"
__xyz__ = "X, Y and Z"
class A:
"""Hello and goodbye"""
def __init__():
"""Wow, I have no function!"""
pass
class B(object):
NO_MEANING: str = "eggs"
pass
cl... | 15.673913 | 53 | 0.571429 | 98 | 721 | 3.877551 | 0.612245 | 0.039474 | 0.068421 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007843 | 0.292649 | 721 | 45 | 54 | 16.022222 | 0.737255 | 0.274619 | 0 | 0.15 | 0 | 0 | 0.098291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.15 | 0 | 0.05 | 0.65 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
86af7201a425fe8817d4d6877a0b3aa618085511 | 18,896 | py | Python | tests/mobly/controllers/android_device_lib/service_manager_test.py | booneng/mobly | 539788309c7631c20fa5381937e10f9cd997e2d0 | [
"Apache-2.0"
] | 532 | 2016-11-07T22:01:00.000Z | 2022-03-30T17:11:40.000Z | tests/mobly/controllers/android_device_lib/service_manager_test.py | booneng/mobly | 539788309c7631c20fa5381937e10f9cd997e2d0 | [
"Apache-2.0"
] | 528 | 2016-11-22T01:42:19.000Z | 2022-03-24T02:27:15.000Z | tests/mobly/controllers/android_device_lib/service_manager_test.py | booneng/mobly | 539788309c7631c20fa5381937e10f9cd997e2d0 | [
"Apache-2.0"
] | 169 | 2016-11-18T15:12:26.000Z | 2022-03-24T01:22:08.000Z | # Copyright 2018 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 40.812095 | 79 | 0.753599 | 2,314 | 18,896 | 5.892826 | 0.086863 | 0.059402 | 0.071062 | 0.084702 | 0.794588 | 0.75396 | 0.738706 | 0.692945 | 0.667571 | 0.643297 | 0 | 0.017427 | 0.143628 | 18,896 | 462 | 80 | 40.900433 | 0.825238 | 0.033076 | 0 | 0.633838 | 0 | 0 | 0.09325 | 0 | 0 | 0 | 0 | 0 | 0.265152 | 1 | 0.103535 | false | 0.002525 | 0.017677 | 0.002525 | 0.131313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86b7e73d2edac8c42e7596d32fc56172f673b62b | 2,241 | py | Python | stubs.min/System/Runtime/InteropServices/__init___parts/CriticalHandle.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Runtime/InteropServices/__init___parts/CriticalHandle.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Runtime/InteropServices/__init___parts/CriticalHandle.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class CriticalHandle(CriticalFinalizerObject,IDisposable):
""" Represents a wrapper class for handle resources. """
def Close(self):
"""
Close(self: CriticalHandle)
Marks the handle for releasing and freeing resources.
"""
pass
def Dispose(self):
"""
Dispose(self: CriticalHandle)
Relea... | 31.125 | 215 | 0.691209 | 267 | 2,241 | 5.550562 | 0.385768 | 0.08502 | 0.044534 | 0.038462 | 0.235493 | 0.235493 | 0.196356 | 0.147773 | 0.147773 | 0.147773 | 0 | 0 | 0.201249 | 2,241 | 71 | 216 | 31.56338 | 0.827933 | 0.538599 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.391304 | false | 0.391304 | 0 | 0 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
86c54195f6658a7d12a93fefb887536c9e181c9b | 175 | py | Python | c1_python-crash-course/5_object-oriented-programming/_scripts/import_modules.py | DrShams/google-it-automation | 37cd90aa7fec1f771c25b1ce4d770db13c489f9b | [
"MIT"
] | null | null | null | c1_python-crash-course/5_object-oriented-programming/_scripts/import_modules.py | DrShams/google-it-automation | 37cd90aa7fec1f771c25b1ce4d770db13c489f9b | [
"MIT"
] | null | null | null | c1_python-crash-course/5_object-oriented-programming/_scripts/import_modules.py | DrShams/google-it-automation | 37cd90aa7fec1f771c25b1ce4d770db13c489f9b | [
"MIT"
] | null | null | null | import random
print(random.randint(1,100))
import datetime
now = datetime.datetime.now()
print(type(now))
print(now)
print(now.month)
print(now+ datetime.timedelta(days=28))
| 17.5 | 39 | 0.765714 | 27 | 175 | 4.962963 | 0.481481 | 0.179104 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.08 | 175 | 9 | 40 | 19.444444 | 0.795031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.625 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
86d605290780be88b161602344d8a7f36a397535 | 540 | py | Python | Learning Python/lists_tuples_ranges/iterators.py | siliconjesus/I-hate-python | f9cb978dd931f085ab5192173b00ef0eba310f1d | [
"Unlicense"
] | null | null | null | Learning Python/lists_tuples_ranges/iterators.py | siliconjesus/I-hate-python | f9cb978dd931f085ab5192173b00ef0eba310f1d | [
"Unlicense"
] | null | null | null | Learning Python/lists_tuples_ranges/iterators.py | siliconjesus/I-hate-python | f9cb978dd931f085ab5192173b00ef0eba310f1d | [
"Unlicense"
] | null | null | null | string = "abcdefghij"
# my_iterator = iter(string)
# print(my_iterator)
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# print(next(my_iterator))
# pr... | 19.285714 | 28 | 0.690741 | 80 | 540 | 4.4875 | 0.2 | 0.389972 | 0.337047 | 0.582173 | 0.557103 | 0.557103 | 0.557103 | 0.557103 | 0.557103 | 0.557103 | 0 | 0.004348 | 0.148148 | 540 | 28 | 29 | 19.285714 | 0.776087 | 0.690741 | 0 | 0 | 0 | 0 | 0.066225 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86dc89242b0b6be9dfe59292597bf69c5906f33c | 83 | py | Python | Day 1/day-1-exercies-3.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | Day 1/day-1-exercies-3.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | Day 1/day-1-exercies-3.py | hamzaoda/100-Days-of-Code---The-Complete-Python-Pro-Bootcamp-for-2021 | 5340007d8405df2e29643b47d3ff9fa4f7af9e10 | [
"Unlicense"
] | null | null | null | a= input("a:")
b= input("b:")
c=a
a=b
b=c
print("a is :" + a)
print("b is :" + b) | 9.222222 | 19 | 0.457831 | 20 | 83 | 1.9 | 0.3 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 83 | 9 | 20 | 9.222222 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86f47c31db69373a7fc15c99e816f84fdecf378b | 223 | py | Python | Amazon/problem_20.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | 54 | 2019-03-14T21:27:13.000Z | 2021-12-08T12:58:08.000Z | Amazon/problem_20.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | null | null | null | Amazon/problem_20.py | HouariZegai/DailyCodingProblem | bf625ef461863b2b149949d01477b5ea054c5d9f | [
"MIT"
] | 8 | 2020-02-06T23:28:01.000Z | 2021-08-05T20:33:16.000Z | """ Asked by: Amazon [Easy]
Given a sorted array, find the smallest positive integer that is not the sum of a subset of the array.
For example, for the input [1, 2, 3, 10], you should return 7.
Do this in O(N) time.
""" | 24.777778 | 102 | 0.690583 | 43 | 223 | 3.581395 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.210762 | 223 | 9 | 103 | 24.777778 | 0.840909 | 0.959641 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
811a7aa8785e6972283d115e4a47bd408dc7eb05 | 914 | py | Python | weather/app.py | sanjeepan23/weather-dashboard | 9e7fff7ee38cfc7ce139f7a32f98a35cb74d6c19 | [
"MIT"
] | null | null | null | weather/app.py | sanjeepan23/weather-dashboard | 9e7fff7ee38cfc7ce139f7a32f98a35cb74d6c19 | [
"MIT"
] | null | null | null | weather/app.py | sanjeepan23/weather-dashboard | 9e7fff7ee38cfc7ce139f7a32f98a35cb74d6c19 | [
"MIT"
] | null | null | null | from h2o_wave import main, app, Q
from .dashboard import show_dashboard
@app('/')
async def serve(q: Q):
route = q.args['#']
if route == 'dashboards/London':
await show_dashboard(q,"London")
elif route == 'dashboards/Toronto':
await show_dashboard(q,"Toronto")
elif route == 'dashboards/... | 33.851852 | 43 | 0.64442 | 108 | 914 | 5.342593 | 0.259259 | 0.247834 | 0.311958 | 0.329289 | 0.090121 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001401 | 0.218818 | 914 | 26 | 44 | 35.153846 | 0.806723 | 0 | 0 | 0.08 | 0 | 0 | 0.251641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
811c94d88c96c7d1660c97587d7656a24bfed200 | 790 | py | Python | src/onevision/datasets/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/datasets/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/datasets/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import annotations
from .a2i2haze import *
from .aicity import *
from .carla import *
from .cifar import *
from .cityscapes import *
from .coco import *
from .cubepp import *
from .deepupe import *
from .div2k import *
from .gladnet import *
from ... | 19.268293 | 34 | 0.711392 | 107 | 790 | 5.214953 | 0.401869 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020124 | 0.182278 | 790 | 40 | 35 | 19.75 | 0.843653 | 0.053165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
81227143ad661b2fa9546d5a1186eaa878682fce | 1,434 | py | Python | analyze_mzml_osw/pd_util.py | irahorecka/roest-ms | 348dd14ce626d0ca7d149768457e57b0d0055210 | [
"MIT"
] | null | null | null | analyze_mzml_osw/pd_util.py | irahorecka/roest-ms | 348dd14ce626d0ca7d149768457e57b0d0055210 | [
"MIT"
] | null | null | null | analyze_mzml_osw/pd_util.py | irahorecka/roest-ms | 348dd14ce626d0ca7d149768457e57b0d0055210 | [
"MIT"
] | null | null | null | """
For all things iterable regarding pandas df
"""
import pandas as pd
def merge_on_column(df_left, df_right, rm_obj_type=True, **kwargs):
if rm_obj_type:
df_left = exclude_dtypes(df_left, "object")
df_right = exclude_dtypes(df_right, "object")
return df_left.merge(df_right, **kwargs)
def e... | 26.072727 | 74 | 0.714086 | 227 | 1,434 | 4.255507 | 0.325991 | 0.037267 | 0.024845 | 0.040373 | 0.249482 | 0.223602 | 0.15528 | 0 | 0 | 0 | 0 | 0.005858 | 0.166667 | 1,434 | 54 | 75 | 26.555556 | 0.80251 | 0.069038 | 0 | 0 | 0 | 0 | 0.080633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.033333 | 0.166667 | 0.666667 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
81246d580a68e0ca04eaee6afefeb5c10c4d392e | 1,165 | py | Python | corkus/objects/skill_points.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 5 | 2021-09-10T14:20:15.000Z | 2022-01-09T11:27:49.000Z | corkus/objects/skill_points.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 11 | 2021-08-15T09:39:09.000Z | 2022-01-12T14:11:24.000Z | corkus/objects/skill_points.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 2 | 2021-12-01T23:33:14.000Z | 2022-01-12T11:08:18.000Z | from __future__ import annotations
from .partial_base import PartialBase
class SkillPoints(PartialBase):
"""This is multi-purpose class for player skill points. You may see it as a reqired
skill points for an item or skill points of the class."""
def __init__(self, corkus, strength: int, dexterity: int, i... | 30.657895 | 162 | 0.672961 | 134 | 1,165 | 5.649254 | 0.343284 | 0.072655 | 0.085865 | 0.112285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234335 | 1,165 | 37 | 163 | 31.486486 | 0.848655 | 0.11588 | 0 | 0.185185 | 0 | 0.037037 | 0.141176 | 0.12451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.074074 | 0.222222 | 0.592593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.