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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15a28217185f3fc51e4f3d7f262c875ed36e6017
| 764
|
py
|
Python
|
bot_components/bot_classes.py
|
sghill/hubcommander
|
3f39735506d07d1167e42e9346cffe39d6b8c3db
|
[
"Apache-2.0"
] | 1,286
|
2017-02-07T17:20:36.000Z
|
2022-03-29T16:20:19.000Z
|
bot_components/bot_classes.py
|
sghill/hubcommander
|
3f39735506d07d1167e42e9346cffe39d6b8c3db
|
[
"Apache-2.0"
] | 62
|
2017-02-07T04:08:23.000Z
|
2022-01-13T21:53:56.000Z
|
bot_components/bot_classes.py
|
sghill/hubcommander
|
3f39735506d07d1167e42e9346cffe39d6b8c3db
|
[
"Apache-2.0"
] | 190
|
2017-02-07T18:51:11.000Z
|
2022-03-27T10:16:30.000Z
|
"""
.. module: hubcommander.bot_components.bot_classes
:platform: Unix
:copyright: (c) 2017 by Netflix Inc., see AUTHORS for more
:license: Apache, see LICENSE for more details.
.. moduleauthor:: Mike Grima <mgrima@netflix.com>
"""
class BotPlugin:
def __init__(self):
pass
def setup(self, secrets, **kwargs):
raise NotImplementedError()
class BotCommander(BotPlugin):
def __init__(self):
super().__init__()
self.commands = {}
def setup(self, secrets, **kwargs):
pass
class BotAuthPlugin(BotPlugin):
def __init__(self):
super().__init__()
def setup(self, secrets, **kwargs):
pass
def authenticate(self, *args, **kwargs):
raise NotImplementedError()
| 20.648649
| 62
| 0.636126
| 81
| 764
| 5.728395
| 0.518519
| 0.068966
| 0.103448
| 0.12931
| 0.303879
| 0.25
| 0
| 0
| 0
| 0
| 0
| 0.006897
| 0.240838
| 764
| 36
| 63
| 21.222222
| 0.793103
| 0.308901
| 0
| 0.722222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.388889
| false
| 0.166667
| 0
| 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
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
15bcf087df1b9bd27e662d12fa08d7dfa12a8608
| 14,380
|
py
|
Python
|
scielo_migration/isisdb/base_h_record.py
|
scieloorg/scielo_migration
|
320de42e48e873990a561058e8731ae3c477421a
|
[
"BSD-2-Clause"
] | null | null | null |
scielo_migration/isisdb/base_h_record.py
|
scieloorg/scielo_migration
|
320de42e48e873990a561058e8731ae3c477421a
|
[
"BSD-2-Clause"
] | null | null | null |
scielo_migration/isisdb/base_h_record.py
|
scieloorg/scielo_migration
|
320de42e48e873990a561058e8731ae3c477421a
|
[
"BSD-2-Clause"
] | 1
|
2021-11-03T18:24:08.000Z
|
2021-11-03T18:24:08.000Z
|
# generated by ModelBuilder
from scielo_migration.iid2json.meta_record import MetaRecord
# generated by ModelBuilder
class BaseArticleRecord(MetaRecord):
def __init__(
self, record, multi_val_tags=None,
data_dictionary=None):
super().__init__(
record, multi_val_tags, data_dictionary)
# generated by ModelBuilder
@property
def fulltexts(self):
"""
Fulltexts
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def html_url(self):
"""
Html Url
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def is_ahead_of_print(self):
"""
Is Ahead Of Print
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def issue(self):
"""
Issue
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def issue_label(self):
"""
Issue Label
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def issue_url(self):
"""
Issue Url
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def journal(self):
"""
Journal
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def mixed_affiliations(self):
"""
Mixed Affiliations
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def pdf_url(self):
"""
Pdf Url
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def translated_htmls(self):
"""
Translated Htmls
v000
"""
return self.get_field_content("v000", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def assets_code(self):
"""
Assets Code
v004
"""
return self.get_field_content("v004", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def author(self):
"""
Author
v010 {'1': 'xref', 'k': 'orcid', 'l': 'lattes', 'n': 'given_names', 'p': 'prefix', 'r': 'role', 's': 'surname'}
"""
return self.get_field_content("v010", subfields={'1': 'xref', 'k': 'orcid', 'l': 'lattes', 'n': 'given_names', 'p': 'prefix', 'r': 'role', 's': 'surname'}, single=False, simple=False)
# generated by ModelBuilder
@property
def corporative_authors(self):
"""
Corporative Authors
v011
"""
return self.get_field_content("v011", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def article_titles(self):
"""
Article Titles
v012 {'s': 'subtitle', '_': 'text', 'l': 'language'}
"""
return self.get_field_content("v012", subfields={'s': 'subtitle', '_': 'text', 'l': 'language'}, single=False, simple=False)
# generated by ModelBuilder
@property
def page(self):
"""
Page
v014 {'e': 'elocation', 'f': 'start', 'l': 'end', 's': 'sequence'}
"""
return self.get_field_content("v014", subfields={'e': 'elocation', 'f': 'start', 'l': 'end', 's': 'sequence'}, single=False, simple=False)
# generated by ModelBuilder
@property
def illustrative_material(self):
"""
Illustrative Material
v038
"""
return self.get_field_content("v038", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def original_language(self):
"""
Original Language
v040
"""
return self.get_field_content("v040", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def original_section(self):
"""
Original Section
v049
"""
return self.get_field_content("v049", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def section(self):
"""
Section
v049
"""
return self.get_field_content("v049", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def section_code(self):
"""
Section Code
v049
"""
return self.get_field_content("v049", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def translated_section(self):
"""
Translated Section
v049
"""
return self.get_field_content("v049", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def thesis_degree(self):
"""
Thesis Degree
v051
"""
return self.get_field_content("v051", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def thesis_organization(self):
"""
Thesis Organization
v052
"""
return self.get_field_content("v052", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def project_sponsor(self):
"""
Project Sponsor
v058
"""
return self.get_field_content("v058", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def project_name(self):
"""
Project Name
v059
"""
return self.get_field_content("v059", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def contract(self):
"""
Contract
v060
"""
return self.get_field_content("v060", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def issue_publication_date(self):
"""
Issue Publication Date
v065
"""
return self.get_field_content("v065", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def publication_date(self):
"""
Publication Date
v065
"""
return self.get_field_content("v065", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def affiliations(self):
"""
Affiliations
v070 {'1': 'div1', '2': 'div2', '3': 'div3', '_': 'orgname', 'c': 'city', 'e': 'email', 'i': 'id', 'p': 'country', 's': 'state'}
"""
return self.get_field_content("v070", subfields={'1': 'div1', '2': 'div2', '3': 'div3', '_': 'orgname', 'c': 'city', 'e': 'email', 'i': 'id', 'p': 'country', 's': 'state'}, single=False, simple=False)
# generated by ModelBuilder
@property
def article_type(self):
"""
Article Type
v071
"""
return self.get_field_content("v071", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def document_type(self):
"""
Document Type
v071
"""
return self.get_field_content("v071", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def abstracts(self):
"""
Abstracts
v083 {'a': 'text', 'l': 'language'}
"""
return self.get_field_content("v083", subfields={'a': 'text', 'l': 'language'}, single=False, simple=False)
# generated by ModelBuilder
@property
def keywords(self):
"""
Keywords
v085 {'k': 'text', 'l': 'language'}
"""
return self.get_field_content("v085", subfields={'k': 'text', 'l': 'language'}, single=False, simple=False)
# generated by ModelBuilder
@property
def processing_date(self):
"""
Processing Date
v091
"""
return self.get_field_content("v091", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def update_date(self):
"""
Update Date
v091
"""
return self.get_field_content("v091", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def creation_date(self):
"""
Creation Date
v093
"""
return self.get_field_content("v093", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def receive_date_iso(self):
"""
Receive Date ISO
v112
"""
return self.get_field_content("v112", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def acceptance_date_iso(self):
"""
Acceptance Date ISO
v114
"""
return self.get_field_content("v114", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def review_date_iso(self):
"""
Review Date ISO
v116
"""
return self.get_field_content("v116", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def data_model_version(self):
"""
Data Model Version
v120
"""
return self.get_field_content("v120", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def internal_sequence_id(self):
"""
Internal Sequence Id
v121
"""
return self.get_field_content("v121", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def order(self):
"""
Order
v121
"""
return self.get_field_content("v121", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def ahead_publication_date(self):
"""
Ahead Publication Date
v223
"""
return self.get_field_content("v223", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def document_publication_date(self):
"""
Document Publication Date
v223
"""
return self.get_field_content("v223", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def doi(self):
"""
DOI
v237
"""
return self.get_field_content("v237", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def normalized_affiliations(self):
"""
Normalized Affiliations
v240 {'i': 'id', 'p': 'country'}
"""
return self.get_field_content("v240", subfields={'i': 'id', 'p': 'country'}, single=False, simple=False)
# generated by ModelBuilder
@property
def doi_with_lang(self):
"""
DOI with language
v337 {'d': 'doi', 'l': 'language'}
"""
return self.get_field_content("v337", subfields={'d': 'doi', 'l': 'language'}, single=False, simple=False)
# generated by ModelBuilder
@property
def any_issn(self):
"""
Any Issn
v435 {'_': 'value', 't': 'type'}
"""
return self.get_field_content("v435", subfields={'_': 'value', 't': 'type'}, single=False, simple=False)
# generated by ModelBuilder
@property
def permissions(self):
"""
Permissions
v540
"""
return self.get_field_content("v540", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def languages(self):
"""
Languages
v601
"""
return self.get_field_content("v601", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def xml_languages(self):
"""
Xml Languages
v601
"""
return self.get_field_content("v601", subfields={}, single=False, simple=True)
# generated by ModelBuilder
@property
def scielo_domain(self):
"""
Scielo Domain
v690
"""
return self.get_field_content("v690", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def file_code(self):
"""
File Code
v702
"""
return self.get_field_content("v702", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def original_html(self):
"""
Original Html
v702
"""
return self.get_field_content("v702", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def publisher_id(self):
"""
Publisher Id
v880
"""
return self.get_field_content("v880", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def scielo_pid_v2(self):
"""
SciELO PID v2
v880
"""
return self.get_field_content("v880", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def publisher_ahead_id(self):
"""
Publisher Ahead Id
v881
"""
return self.get_field_content("v881", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def scielo_pid_v3(self):
"""
SciELO PID v3
v885
"""
return self.get_field_content("v885", subfields={}, single=True, simple=True)
# generated by ModelBuilder
@property
def collection_acronym(self):
"""
Collection Acronym
v992
"""
return self.get_field_content("v992", subfields={}, single=True, simple=True)
| 26.385321
| 208
| 0.571419
| 1,462
| 14,380
| 5.4829
| 0.123803
| 0.083708
| 0.175025
| 0.228169
| 0.75499
| 0.666916
| 0.664421
| 0.66018
| 0.634606
| 0.599676
| 0
| 0.037111
| 0.301043
| 14,380
| 544
| 209
| 26.433824
| 0.760422
| 0.223366
| 0
| 0.483696
| 1
| 0
| 0.048723
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.326087
| false
| 0
| 0.005435
| 0
| 0.657609
| 0.005435
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
ec8773e1ce2f98e8ecbc0c5250f556cebd0b01d5
| 500
|
py
|
Python
|
test/TestPasswordHash.py
|
yangguichun/SimpleBlogWithFlask
|
1b6bb04605a580f6c7b47dddd1ba734eb464fabd
|
[
"Apache-2.0"
] | null | null | null |
test/TestPasswordHash.py
|
yangguichun/SimpleBlogWithFlask
|
1b6bb04605a580f6c7b47dddd1ba734eb464fabd
|
[
"Apache-2.0"
] | null | null | null |
test/TestPasswordHash.py
|
yangguichun/SimpleBlogWithFlask
|
1b6bb04605a580f6c7b47dddd1ba734eb464fabd
|
[
"Apache-2.0"
] | null | null | null |
import unittest
from werkzeug.security import generate_password_hash, check_password_hash
class TestPasswordHash(unittest.TestCase):
def test_generate_password_hash(self):
hash = generate_password_hash('mima')
print('mima的hash是:', hash)
def test_check_password_hash(self):
password = 'mima'
hash = generate_password_hash(password)
self.assertTrue(check_password_hash(hash, password))
self.assertFalse(check_password_hash(hash, password+'1'))
| 35.714286
| 73
| 0.74
| 58
| 500
| 6.068966
| 0.362069
| 0.272727
| 0.227273
| 0.136364
| 0.164773
| 0
| 0
| 0
| 0
| 0
| 0
| 0.002415
| 0.172
| 500
| 13
| 74
| 38.461538
| 0.847826
| 0
| 0
| 0
| 1
| 0
| 0.04
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 1
| 0.181818
| false
| 0.818182
| 0.181818
| 0
| 0.454545
| 0.090909
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
ecc9fbadf62756ff4d521776b745358bc90ffcbe
| 183
|
py
|
Python
|
setup.py
|
Chao8219/py_starter
|
70fb3a2626899c0996a05ec7377ec8690dd216f1
|
[
"MIT"
] | null | null | null |
setup.py
|
Chao8219/py_starter
|
70fb3a2626899c0996a05ec7377ec8690dd216f1
|
[
"MIT"
] | null | null | null |
setup.py
|
Chao8219/py_starter
|
70fb3a2626899c0996a05ec7377ec8690dd216f1
|
[
"MIT"
] | null | null | null |
import distutils.core
distutils.core.setup(
name='py_starter',
version='1.0',
description='The very beginning of python code.',
author=AChao,
# to be continued.
)
| 20.333333
| 53
| 0.672131
| 24
| 183
| 5.083333
| 0.916667
| 0.213115
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.013699
| 0.202186
| 183
| 9
| 54
| 20.333333
| 0.821918
| 0.087432
| 0
| 0
| 0
| 0
| 0.283133
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.142857
| 0
| 0.142857
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
01b03807a772b646022a290cf0b1e41d92a4ed7d
| 108
|
py
|
Python
|
Python_Socket/Test/SocketServer_Client_Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
Python_Socket/Test/SocketServer_Client_Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
Python_Socket/Test/SocketServer_Client_Test.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
from Module.SocketServer_Client import SocketServer_Client
Client = SocketServer_Client("localhost",5555)
| 36
| 59
| 0.851852
| 12
| 108
| 7.416667
| 0.583333
| 0.606742
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.040404
| 0.083333
| 108
| 3
| 60
| 36
| 0.858586
| 0
| 0
| 0
| 0
| 0
| 0.084112
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
01b32c10851c74675ebdb6bc1eb381c6107996eb
| 765
|
py
|
Python
|
platform/core/polyaxon/activitylogs/events/build_job.py
|
hackerwins/polyaxon
|
ff56a098283ca872abfbaae6ba8abba479ffa394
|
[
"Apache-2.0"
] | null | null | null |
platform/core/polyaxon/activitylogs/events/build_job.py
|
hackerwins/polyaxon
|
ff56a098283ca872abfbaae6ba8abba479ffa394
|
[
"Apache-2.0"
] | null | null | null |
platform/core/polyaxon/activitylogs/events/build_job.py
|
hackerwins/polyaxon
|
ff56a098283ca872abfbaae6ba8abba479ffa394
|
[
"Apache-2.0"
] | null | null | null |
import activitylogs
from events.registry import build_job
activitylogs.subscribe(build_job.BuildJobStartedTriggeredEvent)
activitylogs.subscribe(build_job.BuildJobSoppedTriggeredEvent)
activitylogs.subscribe(build_job.BuildJobDeletedTriggeredEvent)
activitylogs.subscribe(build_job.BuildJobCreatedEvent)
activitylogs.subscribe(build_job.BuildJobUpdatedEvent)
activitylogs.subscribe(build_job.BuildJobViewedEvent)
activitylogs.subscribe(build_job.BuildJobArchivedEvent)
activitylogs.subscribe(build_job.BuildJobRestoredEvent)
activitylogs.subscribe(build_job.BuildJobBookmarkedEvent)
activitylogs.subscribe(build_job.BuildJobUnBookmarkedEvent)
activitylogs.subscribe(build_job.BuildJobLogsViewedEvent)
activitylogs.subscribe(build_job.BuildJobStatusesViewedEvent)
| 45
| 63
| 0.909804
| 68
| 765
| 10.044118
| 0.294118
| 0.152269
| 0.456808
| 0.509517
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.026144
| 765
| 16
| 64
| 47.8125
| 0.916779
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.142857
| 0
| 0.142857
| 0
| 0
| 0
| 1
| 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
| 4
|
01c3854dca1655a33e493eb031e88aa4ce6113aa
| 209
|
py
|
Python
|
python/basis/18-package/parent/pack1/mymodule1.py
|
weizhenwei/tech-docs-2016
|
253564a1633e9ec75ac94efede57f52c02b29280
|
[
"BSD-2-Clause"
] | 3
|
2017-06-09T08:48:07.000Z
|
2020-12-13T10:37:44.000Z
|
python/basis/18-package/parent/pack1/mymodule1.py
|
weizhenwei/tech-docs-sharetome
|
253564a1633e9ec75ac94efede57f52c02b29280
|
[
"BSD-2-Clause"
] | null | null | null |
python/basis/18-package/parent/pack1/mymodule1.py
|
weizhenwei/tech-docs-sharetome
|
253564a1633e9ec75ac94efede57f52c02b29280
|
[
"BSD-2-Clause"
] | 4
|
2020-04-29T07:03:44.000Z
|
2021-07-25T15:12:15.000Z
|
#!/usr/bin/env python
#-*- coding=utf-8 -*-
def function1():
print "function1 running"
if __name__ == "__main__":
print "mymodule1 running as main program"
else:
print "mymodule1 initializing"
| 16.076923
| 45
| 0.669856
| 25
| 209
| 5.28
| 0.76
| 0.212121
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.029586
| 0.191388
| 209
| 12
| 46
| 17.416667
| 0.751479
| 0.191388
| 0
| 0
| 0
| 0
| 0.481928
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.5
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
bf17b2f0ea98563e28edc41e12b7db5fbfe9ce45
| 165
|
py
|
Python
|
scheduler_service/api/v1/task/url.py
|
CoCongV/scheduler-service
|
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
|
[
"BSD-2-Clause"
] | 2
|
2019-11-18T14:25:04.000Z
|
2020-08-01T13:16:40.000Z
|
scheduler_service/api/v1/task/url.py
|
CoCongV/scheduler-service
|
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
|
[
"BSD-2-Clause"
] | null | null | null |
scheduler_service/api/v1/task/url.py
|
CoCongV/scheduler-service
|
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
|
[
"BSD-2-Clause"
] | null | null | null |
# from sanic_restful import reqparse, Resource
# from scheduler_service.api import mongo_db
# url_parse = reqparse.RequestParser()
# url_parse.add_argument("name")
| 27.5
| 46
| 0.8
| 22
| 165
| 5.727273
| 0.772727
| 0.126984
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.109091
| 165
| 6
| 47
| 27.5
| 0.857143
| 0.939394
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
171ba407be1f7b1a08a60731bdef6857373c9c26
| 97
|
py
|
Python
|
binary/setup.py
|
namsral/piku
|
3159127df0d82a49b4efc319344f42e42cbe7867
|
[
"MIT"
] | 1,424
|
2019-08-23T22:20:26.000Z
|
2022-03-30T16:16:50.000Z
|
binary/setup.py
|
namsral/piku
|
3159127df0d82a49b4efc319344f42e42cbe7867
|
[
"MIT"
] | 125
|
2019-08-22T21:52:33.000Z
|
2022-03-22T03:03:51.000Z
|
binary/setup.py
|
namsral/piku
|
3159127df0d82a49b4efc319344f42e42cbe7867
|
[
"MIT"
] | 45
|
2019-08-24T08:13:02.000Z
|
2022-03-31T20:34:30.000Z
|
from distutils.core import setup
setup(name='piku-binary', version='0.0.1', scripts=['piku.py'])
| 32.333333
| 63
| 0.721649
| 16
| 97
| 4.375
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.033333
| 0.072165
| 97
| 2
| 64
| 48.5
| 0.744444
| 0
| 0
| 0
| 0
| 0
| 0.237113
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
172603d967e38fd3517415d28c601fcda847ad6a
| 827
|
py
|
Python
|
library/co2.py
|
juby-gif/air-quality-lib
|
dee707a7cf1479bf7a8d9f4661a87a0c523c895f
|
[
"BSD-3-Clause"
] | 1
|
2019-09-22T22:20:35.000Z
|
2019-09-22T22:20:35.000Z
|
library/co2.py
|
juby-gif/air-quality-lib
|
dee707a7cf1479bf7a8d9f4661a87a0c523c895f
|
[
"BSD-3-Clause"
] | null | null | null |
library/co2.py
|
juby-gif/air-quality-lib
|
dee707a7cf1479bf7a8d9f4661a87a0c523c895f
|
[
"BSD-3-Clause"
] | null | null | null |
#a2.t4 #This program is to create a function to check carbondioxide content in air
#taking advantage of python statistics library
import statistics
def check_air_quality(carbondioxide_data):
if statistics.median(carbondioxide_data) >= 400 and statistics.median(carbondioxide_data) < 700:
return "EXCELLENT"
elif statistics.median(carbondioxide_data) >= 700 and statistics.median(carbondioxide_data) < 900:
return "GOOD"
elif statistics.median(carbondioxide_data) >= 900 and statistics.median(carbondioxide_data) < 1100:
return "FAIR"
elif statistics.median(carbondioxide_data) >= 1100 and statistics.median(carbondioxide_data) < 1600:
return "MEDIOCRE"
elif statistics.median(carbondioxide_data) >= 1600 and statistics.median(carbondioxide_data) <=2100:
return "BAD"
| 55.133333
| 104
| 0.756953
| 99
| 827
| 6.191919
| 0.40404
| 0.305057
| 0.473083
| 0.538336
| 0.58075
| 0
| 0
| 0
| 0
| 0
| 0
| 0.053314
| 0.160822
| 827
| 14
| 105
| 59.071429
| 0.829971
| 0.151149
| 0
| 0
| 0
| 0
| 0.040057
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.083333
| false
| 0
| 0.083333
| 0
| 0.583333
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
1729bc1792141e43d686d08430a38150299f5fe9
| 56
|
py
|
Python
|
Web/venv/lib/python3.5/os.py
|
Pancras-Zheng/Graduation-Project
|
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
|
[
"MIT"
] | 37
|
2018-01-25T03:14:24.000Z
|
2021-12-15T10:02:37.000Z
|
Web/venv/lib/python3.5/os.py
|
Pancras-Zheng/Graduation-Project
|
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
|
[
"MIT"
] | null | null | null |
Web/venv/lib/python3.5/os.py
|
Pancras-Zheng/Graduation-Project
|
5d1ae78d5e890fa7ecc2456d0d3d22bdea7c29f0
|
[
"MIT"
] | 10
|
2019-04-11T07:27:10.000Z
|
2021-11-24T11:16:14.000Z
|
IntxLNK/ u s r / l i b / p y t h o n 3 . 5 / o s . p y
| 56
| 56
| 0.446429
| 7
| 56
| 3.571429
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035714
| 0
| 56
| 1
| 56
| 56
| 0.410714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
17620bdfb4cf67a633f129cfa555700c6171ac09
| 125
|
py
|
Python
|
number2text/main.py
|
rgreinho/number2text
|
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
|
[
"MIT"
] | null | null | null |
number2text/main.py
|
rgreinho/number2text
|
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
|
[
"MIT"
] | null | null | null |
number2text/main.py
|
rgreinho/number2text
|
1c32c4e0268ea05baaa5e3b1a06431e006d16d21
|
[
"MIT"
] | null | null | null |
"""Convert a number to its text representation."""
from number2text.cli.cli import cli
if __name__ == '__main__':
cli()
| 20.833333
| 50
| 0.704
| 17
| 125
| 4.705882
| 0.823529
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009615
| 0.168
| 125
| 5
| 51
| 25
| 0.759615
| 0.352
| 0
| 0
| 0
| 0
| 0.106667
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
177a3ca237d5d4bf472566aa5ce8d9bf5f80f77a
| 31
|
py
|
Python
|
SSM/evaluations/__init__.py
|
taufikxu/FD-ScoreMatching
|
9df0789bb98bb798b3de57072f63ee4b2f19947f
|
[
"MIT"
] | 12
|
2020-05-23T10:02:12.000Z
|
2021-03-25T19:54:00.000Z
|
SSM/evaluations/__init__.py
|
taufikxu/FD-ScoreMatching
|
9df0789bb98bb798b3de57072f63ee4b2f19947f
|
[
"MIT"
] | 6
|
2021-03-19T15:30:28.000Z
|
2022-03-12T00:51:16.000Z
|
SSM/evaluations/__init__.py
|
taufikxu/FD-ScoreMatching
|
9df0789bb98bb798b3de57072f63ee4b2f19947f
|
[
"MIT"
] | 4
|
2020-11-04T03:52:45.000Z
|
2021-12-28T16:07:08.000Z
|
__all__ = ['ais', 'fid', 'hmc']
| 31
| 31
| 0.516129
| 4
| 31
| 3
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.129032
| 31
| 1
| 31
| 31
| 0.444444
| 0
| 0
| 0
| 0
| 0
| 0.28125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
177e76b8a5ad62be0cc716aa96929143804c2c31
| 77
|
py
|
Python
|
src/fdk_organization_bff/sparql/__init__.py
|
Informasjonsforvaltning/organization-page-bffe
|
473dc9606649f864618f4f8bfc4a6a2a035f06d7
|
[
"Apache-2.0"
] | null | null | null |
src/fdk_organization_bff/sparql/__init__.py
|
Informasjonsforvaltning/organization-page-bffe
|
473dc9606649f864618f4f8bfc4a6a2a035f06d7
|
[
"Apache-2.0"
] | 47
|
2020-05-14T07:54:48.000Z
|
2022-03-29T22:17:08.000Z
|
src/fdk_organization_bff/sparql/__init__.py
|
Informasjonsforvaltning/organization-page-bffe
|
473dc9606649f864618f4f8bfc4a6a2a035f06d7
|
[
"Apache-2.0"
] | null | null | null |
"""SPARQL package.
Modules:
dataset_queries
dataservice_queries
"""
| 11
| 23
| 0.701299
| 7
| 77
| 7.428571
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.194805
| 77
| 6
| 24
| 12.833333
| 0.83871
| 0.896104
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
17829f70617771fbf2d26fae550ff76307f210c4
| 1,520
|
py
|
Python
|
tests/test_jwt_vc.py
|
BasileiosKal/py-verifier
|
6614bdc515f823245762c0250de429a27c39e203
|
[
"MIT"
] | null | null | null |
tests/test_jwt_vc.py
|
BasileiosKal/py-verifier
|
6614bdc515f823245762c0250de429a27c39e203
|
[
"MIT"
] | null | null | null |
tests/test_jwt_vc.py
|
BasileiosKal/py-verifier
|
6614bdc515f823245762c0250de429a27c39e203
|
[
"MIT"
] | 2
|
2022-01-17T11:08:27.000Z
|
2022-01-28T09:50:10.000Z
|
import pytest
import requests
import json
from issuer import Issuer
class TestJWT:
def test_valid_authorization_get(self):
token = Issuer().issue_valid_vc()
headers = {'Authorization':'Bearer ' + token, 'Accept': 'application/json'}
response = requests.get("http://localhost:9000/secure/jwt-vc", headers = headers)
print(response.text)
assert(response.status_code == 200)
def test_valid_authorization_post(self):
token = Issuer().issue_valid_vc()
headers = {'Authorization':'Bearer ' + token, 'Accept': 'application/json', 'Content-Type': 'application/json'}
data = {'on': False}
response = requests.post("http://localhost:9000/secure/jwt-vc", headers = headers, data = json.dumps(data))
print(response.text)
assert(response.status_code == 200)
def test_valid_authorization_get_with_exp(self):
token = Issuer().issue_valid_vc_with_exp()
headers = {'Authorization':'Bearer ' + token, 'Accept': 'application/json'}
response = requests.get("http://localhost:9000/secure/jwt-vc", headers = headers)
print(response.text)
assert(response.status_code == 200)
def test_expired(self):
token = Issuer().issue_expired()
headers = {'Authorization':'Bearer ' + token, 'Accept': 'application/json'}
response = requests.get("http://localhost:9000/secure/jwt-vc", headers = headers)
print(response.text)
assert(response.status_code == 401)
| 40
| 119
| 0.657237
| 172
| 1,520
| 5.662791
| 0.255814
| 0.055441
| 0.061602
| 0.082136
| 0.795688
| 0.76386
| 0.73614
| 0.73614
| 0.693018
| 0.693018
| 0
| 0.023121
| 0.203289
| 1,520
| 37
| 120
| 41.081081
| 0.781173
| 0
| 0
| 0.5
| 0
| 0
| 0.222515
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 1
| 0.133333
| false
| 0
| 0.133333
| 0
| 0.3
| 0.133333
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
bd594ed7d37726ea78538d30996e4d5ae12daca1
| 144
|
py
|
Python
|
blackjack/cmake/storage/file/__init__.py
|
grbd/GBD.Build.BlackJack
|
3e8d027625b7528af3674a373fd9931e3feaaab4
|
[
"Apache-2.0"
] | 1
|
2017-05-26T00:18:26.000Z
|
2017-05-26T00:18:26.000Z
|
blackjack/cmake/storage/file/__init__.py
|
grbd/GBD.Build.BlackJack
|
3e8d027625b7528af3674a373fd9931e3feaaab4
|
[
"Apache-2.0"
] | null | null | null |
blackjack/cmake/storage/file/__init__.py
|
grbd/GBD.Build.BlackJack
|
3e8d027625b7528af3674a373fd9931e3feaaab4
|
[
"Apache-2.0"
] | null | null | null |
# File Storage related class's
from .CacheFile import CacheFile
from .ScriptBlock import ScriptBlock
from .ToolchainFile import ToolchainFile
| 24
| 40
| 0.833333
| 18
| 144
| 6.722222
| 0.611111
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 144
| 5
| 41
| 28.8
| 0.952381
| 0.194444
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 1
| null | null | 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
bd59fe6a6c4d96a34287a8a86a0f7f63819a3a16
| 1,177
|
py
|
Python
|
python/phonenumbers/shortdata/region_MY.py
|
rodgar-nvkz/python-phonenumbers
|
4c7c4892211dbc9bc328bc3356b03853eaf993dc
|
[
"Apache-2.0"
] | 2,424
|
2015-01-05T05:34:45.000Z
|
2022-03-28T22:37:53.000Z
|
python/phonenumbers/shortdata/region_MY.py
|
rodgar-nvkz/python-phonenumbers
|
4c7c4892211dbc9bc328bc3356b03853eaf993dc
|
[
"Apache-2.0"
] | 166
|
2015-01-30T23:59:18.000Z
|
2022-03-14T21:08:42.000Z
|
python/phonenumbers/shortdata/region_MY.py
|
rodgar-nvkz/python-phonenumbers
|
4c7c4892211dbc9bc328bc3356b03853eaf993dc
|
[
"Apache-2.0"
] | 345
|
2015-01-02T00:33:27.000Z
|
2022-03-26T13:06:57.000Z
|
"""Auto-generated file, do not edit by hand. MY metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_MY = PhoneMetadata(id='MY', country_code=None, international_prefix=None,
general_desc=PhoneNumberDesc(national_number_pattern='[1369]\\d{2,4}', possible_length=(3, 4, 5)),
toll_free=PhoneNumberDesc(national_number_pattern='112|999', example_number='112', possible_length=(3,)),
emergency=PhoneNumberDesc(national_number_pattern='112|999', example_number='112', possible_length=(3,)),
short_code=PhoneNumberDesc(national_number_pattern='1(?:0[01348]|1(?:[02]|1[128]|311)|2(?:0[125]|[13-6]|2\\d{0,2})|(?:3[1-35-79]|7[45])\\d\\d?|5(?:454|5\\d\\d?|77|888|999?)|8(?:18?|2|8[18])|9(?:[124]\\d?|68|71|9[0679]))|66628|99[1-469]|13[5-7]|(?:1(?:0[569]|309|5[12]|7[136-9]|9[03])|3[23679]\\d\\d)\\d', example_number='100', possible_length=(3, 4, 5)),
standard_rate=PhoneNumberDesc(national_number_pattern='666\\d\\d', example_number='66600', possible_length=(5,)),
sms_services=PhoneNumberDesc(national_number_pattern='(?:3[23679]\\d|666)\\d\\d', example_number='32000', possible_length=(5,)),
short_data=True)
| 98.083333
| 358
| 0.705183
| 188
| 1,177
| 4.239362
| 0.446809
| 0.173149
| 0.218319
| 0.271016
| 0.271016
| 0.183187
| 0.183187
| 0.183187
| 0.183187
| 0.183187
| 0
| 0.152803
| 0.060323
| 1,177
| 11
| 359
| 107
| 0.567812
| 0.04503
| 0
| 0
| 1
| 0.111111
| 0.297853
| 0.245975
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.111111
| 0
| 0.111111
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
bd785257d7f6edb7876cb221a65ea0464f85372a
| 224
|
py
|
Python
|
entreprise/views.py
|
Kgermando/es
|
d3175832604552c79eef96fabd8e1675d04cf4a1
|
[
"Apache-2.0"
] | null | null | null |
entreprise/views.py
|
Kgermando/es
|
d3175832604552c79eef96fabd8e1675d04cf4a1
|
[
"Apache-2.0"
] | null | null | null |
entreprise/views.py
|
Kgermando/es
|
d3175832604552c79eef96fabd8e1675d04cf4a1
|
[
"Apache-2.0"
] | null | null | null |
from django.shortcuts import render
# Create your views here.
def entreprise_home(request):
template_name = 'pages/entreprise/entreprise_home.html'
context = None
return render(request, template_name, context)
| 24.888889
| 59
| 0.767857
| 28
| 224
| 6
| 0.714286
| 0.166667
| 0.22619
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15625
| 224
| 8
| 60
| 28
| 0.888889
| 0.102679
| 0
| 0
| 0
| 0
| 0.18593
| 0.18593
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
bd7c730835fa8f5d468d87e8c955c89982fc78f9
| 59
|
py
|
Python
|
python/test.py
|
mkanenobu/trashbox
|
c691dbf9a07991fd42304020c8aac58e1e4b9644
|
[
"WTFPL"
] | 2
|
2020-05-11T13:43:27.000Z
|
2020-07-31T11:57:19.000Z
|
python/test.py
|
mkanenobu/trashbox
|
c691dbf9a07991fd42304020c8aac58e1e4b9644
|
[
"WTFPL"
] | 2
|
2020-09-27T02:35:38.000Z
|
2021-03-08T08:33:02.000Z
|
python/test.py
|
mkanenobu/trashbox
|
c691dbf9a07991fd42304020c8aac58e1e4b9644
|
[
"WTFPL"
] | 1
|
2020-05-11T13:44:04.000Z
|
2020-05-11T13:44:04.000Z
|
import sys
def plen():
print(len(sys.argv))
plen()
| 6.555556
| 24
| 0.59322
| 9
| 59
| 3.888889
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.237288
| 59
| 8
| 25
| 7.375
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| true
| 0
| 0.25
| 0
| 0.5
| 0.25
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
bdaa3c35e12cb6be60fdc05cc2cfe86bb78ba70c
| 764
|
py
|
Python
|
tests/test_correct_pesel.py
|
matee911/pypesel
|
393e4bf4891b4bbb94cd077b26161dd2e94eed31
|
[
"Apache-2.0"
] | null | null | null |
tests/test_correct_pesel.py
|
matee911/pypesel
|
393e4bf4891b4bbb94cd077b26161dd2e94eed31
|
[
"Apache-2.0"
] | null | null | null |
tests/test_correct_pesel.py
|
matee911/pypesel
|
393e4bf4891b4bbb94cd077b26161dd2e94eed31
|
[
"Apache-2.0"
] | null | null | null |
from pesel import Pesel
import pytest
@pytest.fixture(scope='session', params=["65432101239"])
def pesel_value(request):
return request.param
@pytest.fixture(scope='session')
def pesel_obj(pesel_value):
return Pesel(pesel_value)
def test_correct_pesel(pesel_obj, pesel_value):
pytest.assume(pesel_obj.value == pesel_value)
def test_correct_pesel_gender(pesel_obj):
pytest.assume(pesel_obj.gender == 'male')
def test_correct_pesel_male(pesel_obj):
pytest.assume(pesel_obj.male is True)
def test_correct_pesel_year(pesel_obj):
pytest.assume(pesel_obj.year == 2165)
def test_correct_pesel_month(pesel_obj):
pytest.assume(pesel_obj.month == 3)
def test_incorrect_pesel_day(pesel_obj):
pytest.assume(pesel_obj.day == 21)
| 20.648649
| 56
| 0.764398
| 113
| 764
| 4.858407
| 0.256637
| 0.189435
| 0.185792
| 0.218579
| 0.360656
| 0.360656
| 0
| 0
| 0
| 0
| 0
| 0.026946
| 0.125654
| 764
| 36
| 57
| 21.222222
| 0.79491
| 0
| 0
| 0
| 0
| 0
| 0.037958
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.4
| false
| 0
| 0.1
| 0.1
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
da23f0ddb62bb0c0988bd093b73535c31a660639
| 72
|
py
|
Python
|
plugin/src/test/resources/refactoring/extractmethod/Comment.after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
plugin/src/test/resources/refactoring/extractmethod/Comment.after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | 11
|
2017-02-27T22:35:32.000Z
|
2021-12-24T08:07:40.000Z
|
plugin/src/test/resources/refactoring/extractmethod/Comment.after.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
def bar():
print("Hello")
#Comment to method
def foo():
bar()
| 9
| 18
| 0.555556
| 10
| 72
| 4
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.263889
| 72
| 7
| 19
| 10.285714
| 0.754717
| 0.236111
| 0
| 0
| 0
| 0
| 0.092593
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| true
| 0
| 0
| 0
| 0.5
| 0.25
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
da5590e5f9e56a1abcc8575518a715e6c27967cd
| 161
|
py
|
Python
|
hello-world.py
|
rmoralesdelgado/example-repo
|
a0d6f935264ec60a0278ea9fc5b8a694b5e33f0b
|
[
"MIT"
] | null | null | null |
hello-world.py
|
rmoralesdelgado/example-repo
|
a0d6f935264ec60a0278ea9fc5b8a694b5e33f0b
|
[
"MIT"
] | null | null | null |
hello-world.py
|
rmoralesdelgado/example-repo
|
a0d6f935264ec60a0278ea9fc5b8a694b5e33f0b
|
[
"MIT"
] | null | null | null |
# This is a modified line
if __name__ == "__main__":
print("Hello World")
print("I am a new line")
print(hi)
# blah blha
def myfunc_1():
pass
| 10.733333
| 28
| 0.608696
| 25
| 161
| 3.56
| 0.84
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008475
| 0.267081
| 161
| 14
| 29
| 11.5
| 0.745763
| 0.21118
| 0
| 0
| 0
| 0
| 0.274194
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| true
| 0.166667
| 0
| 0
| 0.166667
| 0.5
| 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
| 1
| 0
| 0
| 0
| 1
|
0
| 4
|
da5fcd544f0ebf019068c4964041f2d02daca8dc
| 2,606
|
py
|
Python
|
pyrh/endpoints.py
|
JamMarHer/pyrh
|
b5501482974d9a7ba9f34745642d0a2e585154f2
|
[
"MIT"
] | null | null | null |
pyrh/endpoints.py
|
JamMarHer/pyrh
|
b5501482974d9a7ba9f34745642d0a2e585154f2
|
[
"MIT"
] | null | null | null |
pyrh/endpoints.py
|
JamMarHer/pyrh
|
b5501482974d9a7ba9f34745642d0a2e585154f2
|
[
"MIT"
] | null | null | null |
BASE_API = "https://api.robinhood.com"
def login():
return BASE_API + "/oauth2/token/"
def logout():
return BASE_API + "/oauth2/revoke_token/"
def investment_profile():
return BASE_API + "/user/investment_profile/"
def accounts():
return BASE_API + "/accounts/"
def ach(option):
"""
Combination of 3 ACH endpoints. Options include:
* iav
* relationships
* transfers
"""
return (
BASE_API + "/ach/iav/auth/" if option == "iav" else BASE_API + f"/ach/{option}/"
)
def applications():
return BASE_API + "/applications/"
def dividends():
return BASE_API + "/dividends/"
def edocuments():
return BASE_API + "/documents/"
def instruments(instrument_id=None, option=None):
"""
Return information about a specific instrument by providing its instrument id.
Add extra options for additional information such as "popularity"
"""
url = BASE_API + f"/instruments/"
if instrument_id is not None:
url += f"{instrument_id}"
if option is not None:
url += f"{option}"
return url
def margin_upgrades():
return BASE_API + "/margin/upgrades/"
def markets():
return BASE_API + "/markets/"
def notifications():
return BASE_API + "/notifications/"
def orders(order_id=""):
return BASE_API + f"/orders/{order_id}"
def password_reset():
return BASE_API + "/password_reset/request/"
def portfolios():
return BASE_API + "/portfolios/"
def positions():
return BASE_API + "/positions/"
def quotes():
return BASE_API + "/quotes/"
def historicals():
return BASE_API + "/quotes/historicals/"
def document_requests():
return BASE_API + "/upload/document_requests/"
def user():
return BASE_API + "/user/"
def watchlists():
return BASE_API + "/watchlists/"
def news(stock):
return BASE_API + f"/midlands/news/{stock}/"
def fundamentals(stock):
return BASE_API + f"/fundamentals/{stock}/"
def tags(tag):
"""
Returns endpoint with tag concatenated.
"""
return BASE_API + f"/midlands/tags/tag/{tag}/"
def chain(instrument_id):
return BASE_API + f"/options/chains/?equity_instrument_ids={instrument_id}"
def options(chain_id, dates, option_type):
return (
BASE_API
+ f"/options/instruments/?chain_id={chain_id}&expiration_dates={dates}"
+ f"&state=active&tradability=tradable&type={option_type}"
)
def market_data(option_id):
return BASE_API + f"/marketdata/options/{option_id}/"
def convert_token():
return BASE_API + "/oauth2/migrate_token/"
| 18.748201
| 88
| 0.653492
| 320
| 2,606
| 5.140625
| 0.309375
| 0.12766
| 0.213374
| 0.059574
| 0.103343
| 0
| 0
| 0
| 0
| 0
| 0
| 0.001947
| 0.211819
| 2,606
| 138
| 89
| 18.884058
| 0.798929
| 0.107061
| 0
| 0.029412
| 0
| 0
| 0.29713
| 0.17351
| 0
| 0
| 0
| 0
| 0
| 1
| 0.411765
| false
| 0.029412
| 0
| 0.367647
| 0.823529
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
da69d942b34c7cb188f48d8f571305a3929e1a1b
| 95
|
py
|
Python
|
abfahrt/unittest/__init__.py
|
Team-Zugig-zum-Erfolg/InformatiCup
|
788076ac38bf6d8f462465b7fb96db14d13bed30
|
[
"MIT"
] | 1
|
2022-01-30T14:30:02.000Z
|
2022-01-30T14:30:02.000Z
|
abfahrt/unittest/__init__.py
|
Team-Zugig-zum-Erfolg/InformatiCup
|
788076ac38bf6d8f462465b7fb96db14d13bed30
|
[
"MIT"
] | null | null | null |
abfahrt/unittest/__init__.py
|
Team-Zugig-zum-Erfolg/InformatiCup
|
788076ac38bf6d8f462465b7fb96db14d13bed30
|
[
"MIT"
] | null | null | null |
"""
Unittest-Package for testing the most important classes/modules of the abfahrt-Package
"""
| 23.75
| 86
| 0.778947
| 13
| 95
| 5.692308
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126316
| 95
| 3
| 87
| 31.666667
| 0.891566
| 0.905263
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
da71b1822bbf0d5369bea52d007ca8f6061551f0
| 128
|
py
|
Python
|
MT-top-perf-cron.py
|
AdeTheux/ducksboard
|
339c965dcef448713ed521ba066759f6fb43c2b1
|
[
"MIT"
] | null | null | null |
MT-top-perf-cron.py
|
AdeTheux/ducksboard
|
339c965dcef448713ed521ba066759f6fb43c2b1
|
[
"MIT"
] | null | null | null |
MT-top-perf-cron.py
|
AdeTheux/ducksboard
|
339c965dcef448713ed521ba066759f6fb43c2b1
|
[
"MIT"
] | null | null | null |
python /homez.144/arnoz/www/dev/MT_ducksboard_top_perf.py -u EMAIL/token -p TOKEN -d mtservicedesk.zendesk.com -a TOKEN -l 72676
| 128
| 128
| 0.796875
| 24
| 128
| 4.125
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.068376
| 0.085938
| 128
| 1
| 128
| 128
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e510db97dd6ed101594891f1033e5947097f3261
| 127
|
py
|
Python
|
muve/sumo_server/__init__.py
|
muve-traffic/sumo-server
|
0a857ba9555569db1c118367668a507600c12cdf
|
[
"MIT"
] | null | null | null |
muve/sumo_server/__init__.py
|
muve-traffic/sumo-server
|
0a857ba9555569db1c118367668a507600c12cdf
|
[
"MIT"
] | null | null | null |
muve/sumo_server/__init__.py
|
muve-traffic/sumo-server
|
0a857ba9555569db1c118367668a507600c12cdf
|
[
"MIT"
] | null | null | null |
"""Muve Traffic SUMO server.
Server for simulating traffic and relaying traffic information programatically through SUMO.
"""
| 25.4
| 92
| 0.80315
| 15
| 127
| 6.8
| 0.733333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133858
| 127
| 4
| 93
| 31.75
| 0.927273
| 0.937008
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e53252e0bf00080e9f60852ab7af61c8c73fe549
| 35
|
py
|
Python
|
modules/2.79/bpy/types/ShaderNodeGroup.py
|
cmbasnett/fake-bpy-module
|
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
|
[
"MIT"
] | null | null | null |
modules/2.79/bpy/types/ShaderNodeGroup.py
|
cmbasnett/fake-bpy-module
|
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
|
[
"MIT"
] | null | null | null |
modules/2.79/bpy/types/ShaderNodeGroup.py
|
cmbasnett/fake-bpy-module
|
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
|
[
"MIT"
] | null | null | null |
ShaderNodeGroup.interface = None
| 8.75
| 32
| 0.8
| 3
| 35
| 9.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 35
| 3
| 33
| 11.666667
| 0.933333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e58b7e482ceb4804189a6da6cf34ef3305149a16
| 81
|
py
|
Python
|
tests/unit/system_status/formatters/__init__.py
|
BMeu/Orchard
|
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
|
[
"MIT"
] | 2
|
2016-10-06T21:19:32.000Z
|
2016-10-06T21:58:04.000Z
|
tests/unit/system_status/formatters/__init__.py
|
BMeu/Orchard
|
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
|
[
"MIT"
] | 392
|
2016-10-06T17:13:30.000Z
|
2021-01-15T04:15:38.000Z
|
tests/unit/system_status/formatters/__init__.py
|
BMeu/Orchard
|
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
Unit Test: orchard.system_status.formatters
"""
| 13.5
| 47
| 0.592593
| 9
| 81
| 5.222222
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015152
| 0.185185
| 81
| 5
| 48
| 16.2
| 0.69697
| 0.814815
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e5bdc2fd22c992b2cd181d55011e5aa6b716ab9f
| 80
|
py
|
Python
|
devices/windows_wsl.py
|
premandfriends/boardfarm-1
|
3c952c94507fff25ba9955cad993610ea4a95e2e
|
[
"BSD-3-Clause-Clear"
] | null | null | null |
devices/windows_wsl.py
|
premandfriends/boardfarm-1
|
3c952c94507fff25ba9955cad993610ea4a95e2e
|
[
"BSD-3-Clause-Clear"
] | 1
|
2019-02-03T17:06:21.000Z
|
2019-02-03T17:06:21.000Z
|
devices/windows_wsl.py
|
mgualco-contractor/boardfarm
|
6a033e5dc84c7368fdd8ec2738b08b35ca7b07e7
|
[
"BSD-3-Clause-Clear"
] | 1
|
2020-03-05T01:58:34.000Z
|
2020-03-05T01:58:34.000Z
|
import debian
class WindowsWSL(debian.DebianBox):
model = ('windows_wsl')
| 13.333333
| 35
| 0.725
| 9
| 80
| 6.333333
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1625
| 80
| 5
| 36
| 16
| 0.850746
| 0
| 0
| 0
| 0
| 0
| 0.1375
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e5e4afd5dbe24702344b3fb95577c4c8061e708c
| 415
|
py
|
Python
|
app/component/sink/resolver.py
|
melphi/kafkaform
|
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
|
[
"MIT"
] | null | null | null |
app/component/sink/resolver.py
|
melphi/kafkaform
|
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
|
[
"MIT"
] | null | null | null |
app/component/sink/resolver.py
|
melphi/kafkaform
|
391c4c70b6aff9fd5ad703dcf4b6e863e92d53b6
|
[
"MIT"
] | null | null | null |
from typing import Optional
from app import model, client
from app.component.connect import resolver
class SinkResolver(resolver.BaseConnectResolver):
def __init__(self, *, connect_client: client.ConnectClient):
super().__init__(connect_client=connect_client, connector_type=model.RESOURCE_SINK)
def _get_schema(self, target: model.SpecItem) -> Optional[model.SchemaParams]:
return None
| 31.923077
| 91
| 0.775904
| 49
| 415
| 6.265306
| 0.591837
| 0.127036
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.139759
| 415
| 12
| 92
| 34.583333
| 0.859944
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.375
| 0.125
| 0.875
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
f901a74dc09b82cece000f2c7ec33eaff647de92
| 26
|
py
|
Python
|
cryptolytic/__init__.py
|
Lambda-School-Labs/cryptolytic-ds
|
b58b6eb2b82a404f9d2d468e706d49d9c5999f21
|
[
"MIT"
] | 13
|
2019-10-10T21:01:23.000Z
|
2020-06-05T11:18:31.000Z
|
cryptolytic/__init__.py
|
ross-fisher/cryptolytic-ds
|
1539ae7311a622035d631058ebe47e7c697e3c11
|
[
"MIT"
] | 3
|
2019-12-18T16:46:48.000Z
|
2020-01-09T21:47:48.000Z
|
cryptolytic/__init__.py
|
ross-fisher/cryptolytic-ds
|
1539ae7311a622035d631058ebe47e7c697e3c11
|
[
"MIT"
] | 10
|
2019-10-15T15:30:25.000Z
|
2020-05-11T22:07:52.000Z
|
import os
session = None
| 6.5
| 14
| 0.730769
| 4
| 26
| 4.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.230769
| 26
| 3
| 15
| 8.666667
| 0.95
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
f91fd42bb12baf319840de39b6b389ba506e6ee2
| 341
|
py
|
Python
|
auctions/tests/auctions/domain/entities/test_auction.py
|
hyunsung-kim/py-clean-architecture
|
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
|
[
"MIT"
] | null | null | null |
auctions/tests/auctions/domain/entities/test_auction.py
|
hyunsung-kim/py-clean-architecture
|
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
|
[
"MIT"
] | null | null | null |
auctions/tests/auctions/domain/entities/test_auction.py
|
hyunsung-kim/py-clean-architecture
|
50f8d1fabdbbf70fa45a8b31fe235cd0f0e0dd34
|
[
"MIT"
] | null | null | null |
import logging
from auctions.domain.entities.auction import Auction
from auctions.domain.value_objects.money import Money
from auctions.domain.value_objects.currency import USD
logger = logging.getLogger()
def test_auction_class():
money = Money(USD, '100.00')
auction = Auction(1, '도자기', money, [])
logger.info(F"{auction}")
| 26.230769
| 54
| 0.750733
| 46
| 341
| 5.478261
| 0.5
| 0.142857
| 0.214286
| 0.18254
| 0.238095
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02027
| 0.131965
| 341
| 13
| 55
| 26.230769
| 0.831081
| 0
| 0
| 0
| 0
| 0
| 0.052632
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.111111
| false
| 0
| 0.444444
| 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
| 1
| 0
| 1
| 0
|
0
| 4
|
00a7adc5bde4b52916307d4762109f6e53b951fb
| 682
|
py
|
Python
|
tflib/deep_learning/metrics.py
|
AlexBlack2202/EigenGAN-Tensorflow
|
9668738852abdcd7161b64b7e6a074c7ebfea055
|
[
"MIT"
] | 581
|
2018-05-06T05:15:05.000Z
|
2022-03-29T08:13:54.000Z
|
tflib/metrics/metrics.py
|
yaojia1/darknet_my
|
92906e6b32cdcabaa841461c6d2efe06a54057d1
|
[
"MIT"
] | 52
|
2018-05-11T09:33:30.000Z
|
2022-03-24T04:27:07.000Z
|
tflib/metrics/metrics.py
|
yaojia1/darknet_my
|
92906e6b32cdcabaa841461c6d2efe06a54057d1
|
[
"MIT"
] | 137
|
2018-05-08T14:30:03.000Z
|
2022-02-24T01:50:37.000Z
|
import tensorflow as tf
def resettable_metric(metric_fn, metric_params, scope=None):
with tf.variable_scope(scope, 'resettable_metric') as sc:
metric_returns = metric_fn(**metric_params)
reset_op = tf.variables_initializer(tf.local_variables(sc.name))
return metric_returns + (reset_op,)
def make_resettable(metric_fn, scope=None):
def resettable_metric_fn(*args, **kwargs):
with tf.variable_scope(scope, 'resettable_metric') as sc:
metric_returns = metric_fn(*args, **kwargs)
reset_op = tf.variables_initializer(tf.local_variables(sc.name))
return metric_returns + (reset_op,)
return resettable_metric_fn
| 37.888889
| 76
| 0.719941
| 90
| 682
| 5.144444
| 0.277778
| 0.207343
| 0.116631
| 0.086393
| 0.613391
| 0.613391
| 0.613391
| 0.613391
| 0.613391
| 0.613391
| 0
| 0
| 0.180352
| 682
| 17
| 77
| 40.117647
| 0.828265
| 0
| 0
| 0.461538
| 0
| 0
| 0.049853
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.230769
| false
| 0
| 0.076923
| 0
| 0.538462
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
00cd418f08de7688755bad4855003598dfd95f01
| 404
|
py
|
Python
|
evaluator_package/exceptions.py
|
MONICA-Project/GOST-tools
|
08f0b5bc47e5ab683c6dffe90e8cfdff4305eab4
|
[
"BSD-2-Clause"
] | null | null | null |
evaluator_package/exceptions.py
|
MONICA-Project/GOST-tools
|
08f0b5bc47e5ab683c6dffe90e8cfdff4305eab4
|
[
"BSD-2-Clause"
] | null | null | null |
evaluator_package/exceptions.py
|
MONICA-Project/GOST-tools
|
08f0b5bc47e5ab683c6dffe90e8cfdff4305eab4
|
[
"BSD-2-Clause"
] | null | null | null |
class PassEnvironmentException(Exception):
"""A custom exception which passes the current environment and the current mode"""
def __init__(self, environment=None, exit_interactive_mode=False, exit_single_command_mode=False):
self.passed_environment = environment
self.exit_interactive_mode = exit_interactive_mode
self.exit_single_command_mode = exit_single_command_mode
| 50.5
| 102
| 0.789604
| 49
| 404
| 6.102041
| 0.44898
| 0.150502
| 0.190635
| 0.210702
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15099
| 404
| 7
| 103
| 57.714286
| 0.87172
| 0.188119
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.4
| 0
| 0
| 0.4
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
dacf5473b855ccb8326cf4f486426fd5801c552b
| 83
|
py
|
Python
|
run_bot.py
|
minproton/ReVot
|
077457a66fb476cf11622ee9ff29494695a84fc6
|
[
"Unlicense"
] | 3
|
2020-10-06T16:34:15.000Z
|
2021-04-17T18:10:33.000Z
|
run_bot.py
|
minproton/ReVot
|
077457a66fb476cf11622ee9ff29494695a84fc6
|
[
"Unlicense"
] | 1
|
2020-10-18T07:41:00.000Z
|
2020-10-18T07:43:04.000Z
|
run_bot.py
|
minproton/ReVot
|
077457a66fb476cf11622ee9ff29494695a84fc6
|
[
"Unlicense"
] | 3
|
2020-10-18T07:38:52.000Z
|
2021-10-03T17:00:41.000Z
|
from reverse_image_search_bot import bot
if __name__ == '__main__':
bot.main()
| 20.75
| 40
| 0.746988
| 12
| 83
| 4.25
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.156627
| 83
| 3
| 41
| 27.666667
| 0.728571
| 0
| 0
| 0
| 0
| 0
| 0.096386
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
daf21d401b40f3f6a6807cf4ef69459e7b2f3d68
| 731
|
py
|
Python
|
pynaries/tests.py
|
marshall/pynaries
|
52c0376b95de43ad9b910b1cab08c17d3600e070
|
[
"Apache-2.0"
] | 1
|
2016-05-09T10:08:26.000Z
|
2016-05-09T10:08:26.000Z
|
pynaries/tests.py
|
marshall/pynaries
|
52c0376b95de43ad9b910b1cab08c17d3600e070
|
[
"Apache-2.0"
] | null | null | null |
pynaries/tests.py
|
marshall/pynaries
|
52c0376b95de43ad9b910b1cab08c17d3600e070
|
[
"Apache-2.0"
] | null | null | null |
import unittest
from version import Version
class VersionTestCase(unittest.TestCase):
def testFromString(self):
v = Version.fromObject("1.3.3sp1")
self.assertEquals(v.major, 1)
self.assertEquals(v.minor, '3')
self.assertEquals(v.micro, '3sp1')
self.assertEquals(Version.getNumericPiece(v.micro), '3')
self.assertEquals(Version.getAnnotationPiece(v.micro), 'sp1')
self.assertEquals(str(v), "1.3.3sp1")
def testComparisons(self):
self.assertTrue(Version.fromObject('1.3.3') < Version.fromObject('1.3.3sp1'))
self.assertTrue(Version.fromObject('1.4.0') > Version.fromObject('1.3.3sp1'))
self.assertTrue(Version.fromObject('1.3.3p1') < Version.fromObject('1.4.0'))
if __name__ == '__main__':
unittest.main()
| 34.809524
| 79
| 0.730506
| 99
| 731
| 5.313131
| 0.313131
| 0.226236
| 0.239544
| 0.180608
| 0.36692
| 0.325095
| 0.209125
| 0.209125
| 0.209125
| 0.209125
| 0
| 0.05279
| 0.093023
| 731
| 21
| 80
| 34.809524
| 0.740573
| 0
| 0
| 0
| 0
| 0
| 0.096995
| 0
| 0
| 0
| 0
| 0
| 0.529412
| 1
| 0.117647
| false
| 0
| 0.117647
| 0
| 0.294118
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
daf767e70655a7695277ba68df583907a9b0cda7
| 319
|
py
|
Python
|
research_user_interest/model/config.py
|
sinchir0/research_user_interest
|
eb073aaae0e1dba0abb7064c1921c9c96671e2b0
|
[
"MIT"
] | null | null | null |
research_user_interest/model/config.py
|
sinchir0/research_user_interest
|
eb073aaae0e1dba0abb7064c1921c9c96671e2b0
|
[
"MIT"
] | null | null | null |
research_user_interest/model/config.py
|
sinchir0/research_user_interest
|
eb073aaae0e1dba0abb7064c1921c9c96671e2b0
|
[
"MIT"
] | null | null | null |
import luigi
class MasterConfig(luigi.Config):
model_path: str = luigi.Parameter()
embedding_dim: int = luigi.IntParameter()
target_title1: str = luigi.Parameter()
target_title2: str = luigi.Parameter()
target_title1_label: str = luigi.Parameter()
target_title2_label: str = luigi.Parameter()
| 29
| 48
| 0.724138
| 38
| 319
| 5.868421
| 0.447368
| 0.179372
| 0.381166
| 0.309417
| 0.26009
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015094
| 0.169279
| 319
| 10
| 49
| 31.9
| 0.826415
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
9722181f821ec59cdca98344a53584317eddeb5f
| 66
|
py
|
Python
|
setup.py
|
bhrutledge/track-ma-ballot
|
b09db2c15708a674ad65587ac890c9a0df94a745
|
[
"MIT"
] | 1
|
2020-10-21T11:10:58.000Z
|
2020-10-21T11:10:58.000Z
|
setup.py
|
bhrutledge/track-ma-ballot
|
b09db2c15708a674ad65587ac890c9a0df94a745
|
[
"MIT"
] | null | null | null |
setup.py
|
bhrutledge/track-ma-ballot
|
b09db2c15708a674ad65587ac890c9a0df94a745
|
[
"MIT"
] | 1
|
2020-10-21T11:11:14.000Z
|
2020-10-21T11:11:14.000Z
|
# type: ignore
# noqa: D100
import setuptools
setuptools.setup()
| 11
| 18
| 0.742424
| 8
| 66
| 6.125
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.053571
| 0.151515
| 66
| 5
| 19
| 13.2
| 0.821429
| 0.348485
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
97270c66567bd64adf1db520a0022c4279280b69
| 1,473
|
py
|
Python
|
cv/templatetags/cv_extras.py
|
radoslawdabrowski/personal-website-framework
|
c33f16811caa2aafdfd84c22af8c37ee0ab97720
|
[
"Apache-2.0"
] | 1
|
2021-11-06T15:22:15.000Z
|
2021-11-06T15:22:15.000Z
|
cv/templatetags/cv_extras.py
|
radoslawdabrowski/personal-website-framework
|
c33f16811caa2aafdfd84c22af8c37ee0ab97720
|
[
"Apache-2.0"
] | 92
|
2019-12-04T22:24:35.000Z
|
2022-03-12T00:11:21.000Z
|
cv/templatetags/cv_extras.py
|
radoslawdabrowski/personal-website
|
b3d4f92ea51b40b104449259a376134aeb11766b
|
[
"MIT"
] | 1
|
2019-05-07T21:23:57.000Z
|
2019-05-07T21:23:57.000Z
|
from django import template
from django.utils.translation import ugettext as _
from cv.views import education_view_context, experience_view_context, interests_view_context, skills_view_context
from cv.views import skill_view_context, school_view_context, hobby_view_context, job_view_context
from cv.views import date_view_context
from root.utils import divide_index
register = template.Library()
@register.inclusion_tag('components/cv/education.html')
def education():
return education_view_context()
@register.inclusion_tag('components/cv/experience.html')
def experience():
return experience_view_context()
@register.inclusion_tag('components/cv/interests.html')
def interests():
return interests_view_context()
@register.inclusion_tag('components/cv/skills.html')
def skills():
return skills_view_context()
@register.inclusion_tag('components/cv/single/school.html')
def school(item, wow=2):
return school_view_context(item, divide_index(wow, 10))
@register.inclusion_tag('components/cv/single/job.html')
def job(item, wow=2):
return job_view_context(item, divide_index(wow, 10))
@register.inclusion_tag('components/cv/single/hobby.html')
def hobby(item):
return hobby_view_context(item)
@register.inclusion_tag('components/cv/single/skill.html')
def skill(item):
return skill_view_context(item)
@register.inclusion_tag('components/cv/utils/date.html')
def date(start, end):
return date_view_context(start, end)
| 26.303571
| 113
| 0.792261
| 205
| 1,473
| 5.453659
| 0.190244
| 0.177102
| 0.161002
| 0.241503
| 0.450805
| 0.422182
| 0.36136
| 0.207513
| 0.123435
| 0.123435
| 0
| 0.004518
| 0.098439
| 1,473
| 55
| 114
| 26.781818
| 0.837349
| 0
| 0
| 0
| 0
| 0
| 0.177989
| 0.177989
| 0
| 0
| 0
| 0
| 0
| 1
| 0.264706
| false
| 0
| 0.176471
| 0.264706
| 0.705882
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
972a0a5762d3deb9a9df476c3af14b3fb2051949
| 961
|
py
|
Python
|
lxd/exa/bgp.py
|
eololab/rpki-lab
|
3390699142b1bfc65f4982023f03b6fb2ab166b7
|
[
"MIT"
] | null | null | null |
lxd/exa/bgp.py
|
eololab/rpki-lab
|
3390699142b1bfc65f4982023f03b6fb2ab166b7
|
[
"MIT"
] | null | null | null |
lxd/exa/bgp.py
|
eololab/rpki-lab
|
3390699142b1bfc65f4982023f03b6fb2ab166b7
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
import sys
import time
import struct
import socket
messages = []
messages.append('announce route 66.185.112.0/24 next-hop self as-path [174,2914,42]')
messages.append('announce route 144.41.0.0/16 next-hop self as-path [174,553]')
messages.append('announce route 193.16.4.0/22 next-hop self as-path [174,1299,680]')
messages.append('announce route 23.162.96.0/24 next-hop self as-path [174]')
messages.append('announce route 1.36.160.0/19 next-hop self as-path [174]')
messages.append('announce route 131.196.192.0/24 next-hop self as-path [174 16735 16735 28158 1]')
messages.append('announce route 194.20.8.0/21 next-hop self as-path [8968 3313]')
messages.append('announce route 151.17.0.0/16 next-hop self as-path [8968 1267]')
messages.append('announce route 211.13.0.0/17 next-hop self as-path [1299 2518 2518]')
for message in messages:
sys.stdout.write(message + '\n')
sys.stdout.flush()
while True:
time.sleep(1)
| 38.44
| 98
| 0.73153
| 178
| 961
| 3.949438
| 0.38764
| 0.179232
| 0.28165
| 0.345661
| 0.355619
| 0.331437
| 0.263158
| 0.263158
| 0.133713
| 0.133713
| 0
| 0.196471
| 0.115505
| 961
| 24
| 99
| 40.041667
| 0.630588
| 0.021852
| 0
| 0
| 0
| 0.473684
| 0.613419
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.210526
| 0
| 0.210526
| 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
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9783ca48fe51d9ac60d3e96b2b562fca5f560392
| 12
|
py
|
Python
|
Utils/kalman_utils/kf_template.mako.py
|
martinjaymckee/Chandra-HAL
|
337a0cc5d19b20af979145c07cf1d7351754bb27
|
[
"MIT"
] | null | null | null |
Utils/kalman_utils/kf_template.mako.py
|
martinjaymckee/Chandra-HAL
|
337a0cc5d19b20af979145c07cf1d7351754bb27
|
[
"MIT"
] | null | null | null |
Utils/kalman_utils/kf_template.mako.py
|
martinjaymckee/Chandra-HAL
|
337a0cc5d19b20af979145c07cf1d7351754bb27
|
[
"MIT"
] | null | null | null |
class ${KF}
| 6
| 11
| 0.583333
| 2
| 12
| 3.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 12
| 2
| 11
| 6
| 0.7
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
979b32ffcbb69c325f9cc6f26076b4bf72ce74b8
| 93
|
py
|
Python
|
django-version/djversion/apps.py
|
sarath196/django-mptt-demo-re-version
|
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
|
[
"MIT"
] | null | null | null |
django-version/djversion/apps.py
|
sarath196/django-mptt-demo-re-version
|
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
|
[
"MIT"
] | null | null | null |
django-version/djversion/apps.py
|
sarath196/django-mptt-demo-re-version
|
d570aa8612c0bf838c191a7a8a1b3f57bf2be16f
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class DjversionConfig(AppConfig):
name = 'djversion'
| 15.5
| 33
| 0.763441
| 10
| 93
| 7.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
97cf3240bc800a83f7619e974f4e80d78228793e
| 500
|
py
|
Python
|
calculatorapi/calculatorapi_client.py
|
sufyankhanrao/assignment_7_3_1
|
4bcf99c3e56f1ef5ae77990f59691f85b0307ff3
|
[
"MIT"
] | null | null | null |
calculatorapi/calculatorapi_client.py
|
sufyankhanrao/assignment_7_3_1
|
4bcf99c3e56f1ef5ae77990f59691f85b0307ff3
|
[
"MIT"
] | null | null | null |
calculatorapi/calculatorapi_client.py
|
sufyankhanrao/assignment_7_3_1
|
4bcf99c3e56f1ef5ae77990f59691f85b0307ff3
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
calculatorapi
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""
from calculatorapi.decorators import lazy_property
from calculatorapi.configuration import Configuration
from calculatorapi.controllers.simple_calculator_controller import SimpleCalculatorController
class CalculatorapiClient(object):
config = Configuration
@lazy_property
def simple_calculator(self):
return SimpleCalculatorController()
| 21.73913
| 93
| 0.77
| 48
| 500
| 7.916667
| 0.6875
| 0.134211
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007109
| 0.156
| 500
| 22
| 94
| 22.727273
| 0.893365
| 0.234
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.125
| false
| 0
| 0.375
| 0.125
| 0.875
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
8aec45c46dd80ffcb2b3b4c997ad5691276264a2
| 916
|
py
|
Python
|
option/asian.py
|
Michany/pycing
|
761c3cd1a887d6a168909abc107c6ea0d80992d3
|
[
"MIT"
] | null | null | null |
option/asian.py
|
Michany/pycing
|
761c3cd1a887d6a168909abc107c6ea0d80992d3
|
[
"MIT"
] | 1
|
2020-02-12T15:12:41.000Z
|
2020-02-12T15:13:34.000Z
|
option/asian.py
|
Michany/pycing
|
761c3cd1a887d6a168909abc107c6ea0d80992d3
|
[
"MIT"
] | null | null | null |
import numpy as np
from ..core.derivative import Derivative
class AsianCallOption(Derivative):
def __init__(self, S, K, T, r, sigma, steps, **kwargs):
super().__init__(S_0=S, T=T, r=r, sigma=sigma, steps=steps, **kwargs)
self.S = S
self.K = K
self.T = T
self.r = r
self.sigma = sigma
def payoff(self, underlyingAssetPath, **kwargs):
return max(underlyingAssetPath.mean() - self.K, 0) * np.exp(-self.r * self.T)
class AsianPutOption(Derivative):
def __init__(self, S, K, T, r, sigma, steps, **kwargs):
super().__init__(S_0=S, T=T, r=r, sigma=sigma, steps=steps, **kwargs)
self.S = S
self.K = K
self.T = T
self.r = r
self.sigma = sigma
def payoff(self, underlyingAssetPath, **kwargs):
return max(self.K - underlyingAssetPath.mean(), 0) * np.exp(-self.r * self.T)
| 26.941176
| 85
| 0.578603
| 129
| 916
| 3.968992
| 0.217054
| 0.039063
| 0.066406
| 0.082031
| 0.71875
| 0.71875
| 0.71875
| 0.65625
| 0.65625
| 0.65625
| 0
| 0.006033
| 0.276201
| 916
| 33
| 86
| 27.757576
| 0.766214
| 0
| 0
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.181818
| false
| 0
| 0.090909
| 0.090909
| 0.454545
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c10b7e02be55b3e42b50607092409d07c6db24f8
| 64
|
py
|
Python
|
phanpy/pokedex/admin.py
|
wengole/phanpy
|
17392d3770af16a35198f35a7b2bfa24ff18a1be
|
[
"BSD-3-Clause"
] | null | null | null |
phanpy/pokedex/admin.py
|
wengole/phanpy
|
17392d3770af16a35198f35a7b2bfa24ff18a1be
|
[
"BSD-3-Clause"
] | 1
|
2016-02-03T00:07:34.000Z
|
2016-02-03T00:07:34.000Z
|
phanpy/pokedex/admin.py
|
wengole/phanpy
|
17392d3770af16a35198f35a7b2bfa24ff18a1be
|
[
"BSD-3-Clause"
] | null | null | null |
from .autoregister import autoregister
autoregister('pokedex')
| 16
| 38
| 0.828125
| 6
| 64
| 8.833333
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09375
| 64
| 3
| 39
| 21.333333
| 0.913793
| 0
| 0
| 0
| 0
| 0
| 0.109375
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c13494ee29e2f123470e1509930b8cc4d4a82910
| 4,828
|
py
|
Python
|
tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/_transformer_base.py
|
iLuSIAnn/test
|
10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e
|
[
"Apache-2.0"
] | null | null | null |
tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/_transformer_base.py
|
iLuSIAnn/test
|
10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e
|
[
"Apache-2.0"
] | null | null | null |
tests/sandbox/.venv_ccf_sandbox/lib/python3.8/site-packages/adtk/_transformer_base.py
|
iLuSIAnn/test
|
10d0a20dc1a646b5c1f6c7bff2960e3f5df0510e
|
[
"Apache-2.0"
] | null | null | null |
from typing import Union
import pandas as pd
from ._base import (
_NonTrainableMultivariateModel,
_NonTrainableUnivariateModel,
_TrainableMultivariateModel,
_TrainableUnivariateModel,
)
class _NonTrainableUnivariateTransformer(_NonTrainableUnivariateModel):
def predict(
self, ts: Union[pd.Series, pd.DataFrame]
) -> Union[pd.Series, pd.DataFrame]:
"""Transform time series.
Parameters
----------
ts: pandas.Series or pandas.DataFrame
Time series to be transformed. If a DataFrame with k columns, it is
treated as k independent univariate time series and the transformer
will be applied to each univariate series independently.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
return self._predict(ts)
transform = predict
class _TrainableUnivariateTransformer(_TrainableUnivariateModel):
def fit(self, ts: Union[pd.Series, pd.DataFrame]) -> None:
"""Train the transformer with given time series.
Parameters
----------
ts: pandas.Series or pandas.DataFrame
Time series to be used to train the transformer.
If a DataFrame with k columns, k univariate transformers will be
trained independently.
"""
self._fit(ts)
def predict(
self, ts: Union[pd.Series, pd.DataFrame]
) -> Union[pd.Series, pd.DataFrame]:
"""Transform time series.
Parameters
----------
ts: pandas.Series or pandas.DataFrame
Time series to be transformed. If a DataFrame with k columns, it is
treated as k independent univariate time series.
- If the transformer was trained with a Series, the transformer
will be applied to each univariate series independently;
- If the transformer was trained with a DataFrame, i.e. the
transformer is essentially k transformers, those transformers
will be applied to each univariate series respectively.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
return self._predict(ts)
def fit_predict(
self, ts: Union[pd.Series, pd.DataFrame]
) -> Union[pd.Series, pd.DataFrame]:
"""Train the transformer, and tranform the time series used for
training.
Parameters
----------
ts: pandas.Series or pandas.DataFrame
Time series to be used for training and be transformed.
If a DataFrame with k columns, it is treated as k independent
univariate time series, and k univariate transformers will be
trained and applied to each series independently.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
self.fit(ts)
return self.predict(ts)
transform = predict
fit_transform = fit_predict
class _NonTrainableMultivariateTransformer(_NonTrainableMultivariateModel):
def predict(self, df: pd.DataFrame) -> Union[pd.Series, pd.DataFrame]:
"""Transform time series.
Parameters
----------
df: pandas.DataFrame
Time series to be transformed.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
return self._predict(df)
transform = predict
class _TrainableMultivariateTransformer(_TrainableMultivariateModel):
def fit(self, df: pd.DataFrame) -> None:
"""Train the transformer with given time series.
Parameters
----------
df: pandas.DataFrame
Time series to be used to train the transformer.
"""
self._fit(df)
def predict(self, df: pd.DataFrame) -> Union[pd.Series, pd.DataFrame]:
"""Transform time series.
Parameters
----------
df: pandas.DataFrame
Time series to be transformed.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
return self._predict(df)
def fit_predict(self, df: pd.DataFrame) -> Union[pd.Series, pd.DataFrame]:
"""Train the transformer, and tranform the time series used for
training.
Parameters
----------
df: pandas.DataFrame
Time series to be used for training and be transformed.
Returns
-------
pandas.Series or pandas.DataFrame
Transformed time series.
"""
self.fit(df)
return self.predict(df)
transform = predict
fit_transform = fit_predict
| 28.233918
| 79
| 0.606462
| 503
| 4,828
| 5.771372
| 0.131213
| 0.086118
| 0.044781
| 0.051671
| 0.800207
| 0.800207
| 0.716845
| 0.676886
| 0.676886
| 0.676197
| 0
| 0
| 0.308824
| 4,828
| 170
| 80
| 28.4
| 0.869943
| 0.509321
| 0
| 0.47619
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.190476
| false
| 0
| 0.071429
| 0
| 0.642857
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c13ec1a7b5e150d075490c6a5d27c1d7f874d34f
| 1,266
|
py
|
Python
|
ark_nlp/dataset/__init__.py
|
yubuyuabc/ark-nlp
|
165d35cfacd7476791c0aeba19bf43f4f8079553
|
[
"Apache-2.0"
] | 1
|
2022-03-23T05:10:55.000Z
|
2022-03-23T05:10:55.000Z
|
ark_nlp/dataset/__init__.py
|
yubuyuabc/ark-nlp
|
165d35cfacd7476791c0aeba19bf43f4f8079553
|
[
"Apache-2.0"
] | null | null | null |
ark_nlp/dataset/__init__.py
|
yubuyuabc/ark-nlp
|
165d35cfacd7476791c0aeba19bf43f4f8079553
|
[
"Apache-2.0"
] | null | null | null |
from ark_nlp.dataset.base._dataset import *
from ark_nlp.dataset.base._sentence_classification_dataset import SentenceClassificationDataset
from ark_nlp.dataset.base._sentence_classification_dataset import SentenceClassificationDataset as SCDataset
from ark_nlp.dataset.base._sentence_classification_dataset import PairMergeSentenceClassificationDataset
from ark_nlp.dataset.base._sentence_classification_dataset import PairMergeSentenceClassificationDataset as PMSCDataset
from ark_nlp.dataset.base._sentence_classification_dataset import TwinTowersSentenceClassificationDataset
from ark_nlp.dataset.base._sentence_classification_dataset import TwinTowersSentenceClassificationDataset as TTSCDataset
from ark_nlp.dataset.base._token_classification_dataset import TokenClassificationDataset
from ark_nlp.dataset.text_classification_dataset import TCDataset
from ark_nlp.dataset.text_match_dataset import TMDataset
from ark_nlp.dataset.bio_named_entity_recognition_dataset import BIONERDataset
from ark_nlp.dataset.biaffine_named_entity_recognition_dataset import BiaffineNERDataset
from ark_nlp.dataset.span_named_entity_recognition_dataset import SpanNERDataset
from ark_nlp.dataset.global_pointer_named_entity_recognition_dataset import GlobalPointerNERDataset
| 70.333333
| 120
| 0.919431
| 146
| 1,266
| 7.582192
| 0.226027
| 0.088528
| 0.126468
| 0.214995
| 0.69738
| 0.495032
| 0.495032
| 0.495032
| 0.495032
| 0.495032
| 0
| 0
| 0.051343
| 1,266
| 17
| 121
| 74.470588
| 0.921732
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 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
| 1
| 0
|
0
| 4
|
c1472dfe5defd2c2cedbd1490cbcbbe0967be5ae
| 67
|
py
|
Python
|
{{cookiecutter.git_project_name}}/core/views/__init__.py
|
imAsparky/django-cookiecutter
|
6608b46d3b3a75ef8880b18724eb06e9ed7567df
|
[
"BSD-3-Clause"
] | null | null | null |
{{cookiecutter.git_project_name}}/core/views/__init__.py
|
imAsparky/django-cookiecutter
|
6608b46d3b3a75ef8880b18724eb06e9ed7567df
|
[
"BSD-3-Clause"
] | 128
|
2021-09-28T03:17:40.000Z
|
2022-03-19T00:21:50.000Z
|
{{cookiecutter.git_project_name}}/core/views/__init__.py
|
imAsparky/django-cookiecutter
|
6608b46d3b3a75ef8880b18724eb06e9ed7567df
|
[
"BSD-3-Clause"
] | null | null | null |
"""Initialise {{cookiecutter.git_project_name}} Core App Views."""
| 33.5
| 66
| 0.746269
| 8
| 67
| 6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.074627
| 67
| 1
| 67
| 67
| 0.774194
| 0.895522
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c15bdeecdedb2772bfcc37455ef18ef0155dfd42
| 154
|
py
|
Python
|
src/arcrest/hostedservice/__init__.py
|
kevinsigwart/ArcREST
|
2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1
|
[
"Apache-2.0"
] | null | null | null |
src/arcrest/hostedservice/__init__.py
|
kevinsigwart/ArcREST
|
2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1
|
[
"Apache-2.0"
] | null | null | null |
src/arcrest/hostedservice/__init__.py
|
kevinsigwart/ArcREST
|
2d83bd87e23f3f78d6bba2131e6d47cf8e2e07c1
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import absolute_import
from .service import AdminFeatureService, AdminFeatureServiceLayer, AdminMapService, Services
__version__ = "3.5.6"
| 51.333333
| 93
| 0.857143
| 16
| 154
| 7.6875
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021277
| 0.084416
| 154
| 3
| 94
| 51.333333
| 0.851064
| 0
| 0
| 0
| 0
| 0
| 0.032258
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c18f09b8f5369b2d98ea558dbc26227c15367da2
| 131
|
py
|
Python
|
2344.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | 6
|
2021-04-13T00:33:43.000Z
|
2022-02-10T10:23:59.000Z
|
2344.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | null | null | null |
2344.py
|
heltonricardo/URI
|
160cca22d94aa667177c9ebf2a1c9864c5e55b41
|
[
"MIT"
] | 3
|
2021-03-23T18:42:24.000Z
|
2022-02-10T10:24:07.000Z
|
n = int(input())
if n == 0: print('E')
elif n <= 35: print('D')
elif n <= 60: print('C')
elif n <= 85: print('B')
else: print('A')
| 18.714286
| 24
| 0.519084
| 26
| 131
| 2.615385
| 0.615385
| 0.220588
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.066038
| 0.19084
| 131
| 6
| 25
| 21.833333
| 0.575472
| 0
| 0
| 0
| 0
| 0
| 0.038168
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.833333
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
c19f8556fffeaba80b71b3e0bca33cbbc4243288
| 2,291
|
py
|
Python
|
test/test_testrun_api.py
|
rcbops/qtest-swagger-client
|
28220aa95d878922ca4b35c325706932adabea4e
|
[
"Apache-2.0"
] | 1
|
2019-09-10T17:55:53.000Z
|
2019-09-10T17:55:53.000Z
|
test/test_testrun_api.py
|
rcbops/qtest-swagger-client
|
28220aa95d878922ca4b35c325706932adabea4e
|
[
"Apache-2.0"
] | null | null | null |
test/test_testrun_api.py
|
rcbops/qtest-swagger-client
|
28220aa95d878922ca4b35c325706932adabea4e
|
[
"Apache-2.0"
] | 2
|
2019-02-12T23:15:10.000Z
|
2022-03-11T20:08:28.000Z
|
# coding: utf-8
"""
qTest Manager API Version 8.6 - 9.1
qTest Manager API Version 8.6 - 9.1
OpenAPI spec version: 8.6 - 9.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import swagger_client
from swagger_client.rest import ApiException
from swagger_client.apis.testrun_api import TestrunApi
class TestTestrunApi(unittest.TestCase):
""" TestrunApi unit test stubs """
def setUp(self):
self.api = swagger_client.apis.testrun_api.TestrunApi()
def tearDown(self):
pass
def test_add_comment(self):
"""
Test case for add_comment
Adds a Comment to a Test Run
"""
pass
def test_create(self):
"""
Test case for create
Creates a Test Run
"""
pass
def test_delete(self):
"""
Test case for delete
Deletes a Test Run
"""
pass
def test_delete_comment(self):
"""
Test case for delete_comment
Deletes a Comment of a Test Run
"""
pass
def test_get(self):
"""
Test case for get
Gets a Test Run
"""
pass
def test_get_comment(self):
"""
Test case for get_comment
Gets a Comment from a Test Run
"""
pass
def test_get_comments(self):
"""
Test case for get_comments
Gets all Comments of a Test Run
"""
pass
def test_get_of(self):
"""
Test case for get_of
Gets multiple Test Runs
"""
pass
def test_get_status_valuable(self):
"""
Test case for get_status_valuable
Gets Test Run statuses
"""
pass
def test_update(self):
"""
Test case for update
Updates a Test Run
"""
pass
def test_update_comment(self):
"""
Test case for update_comment
Updates a Comment of a Test Run
"""
pass
if __name__ == '__main__':
unittest.main()
| 18.328
| 69
| 0.526408
| 266
| 2,291
| 4.360902
| 0.266917
| 0.066379
| 0.10431
| 0.142241
| 0.468966
| 0.225862
| 0.193103
| 0.086207
| 0
| 0
| 0
| 0.009503
| 0.402881
| 2,291
| 124
| 70
| 18.475806
| 0.83845
| 0.337844
| 0
| 0.333333
| 1
| 0
| 0.007859
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.361111
| false
| 0.333333
| 0.194444
| 0
| 0.583333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
c1a329ce0d56913c2a3d217d2eff794cd4ce53ce
| 156
|
py
|
Python
|
zfit/core/__init__.py
|
olantwin/zfit
|
dae89fd95fc2158c0e7530664d8ca999db4802c5
|
[
"BSD-3-Clause"
] | 1
|
2022-01-15T13:38:12.000Z
|
2022-01-15T13:38:12.000Z
|
zfit/core/__init__.py
|
kailiu77/zfit
|
00eed81fb34e0eb2e4bae5ddc9ebf38699e107ca
|
[
"BSD-3-Clause"
] | null | null | null |
zfit/core/__init__.py
|
kailiu77/zfit
|
00eed81fb34e0eb2e4bae5ddc9ebf38699e107ca
|
[
"BSD-3-Clause"
] | null | null | null |
from . import (baseobject, basepdf, basemodel, basefunc, data, interfaces, integration, math, loss,
sample, limits, operations, parameter, )
| 52
| 99
| 0.692308
| 15
| 156
| 7.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.205128
| 156
| 2
| 100
| 78
| 0.870968
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c1a725906e88f1b2357a9d34b387186061ce645e
| 280
|
py
|
Python
|
tests/data/test_regression_file_path_fixture/tests-inputs/case/test_fixture.py
|
sdinot/pytest-executable
|
45e5b2df8e81213973c6d8d70ec6e0fb0c4b8db6
|
[
"Apache-2.0"
] | 8
|
2020-04-22T06:26:58.000Z
|
2022-01-22T05:14:45.000Z
|
tests/data/test_regression_file_path_fixture/tests-inputs/case/test_fixture.py
|
sdinot/pytest-executable
|
45e5b2df8e81213973c6d8d70ec6e0fb0c4b8db6
|
[
"Apache-2.0"
] | 6
|
2020-08-08T19:56:15.000Z
|
2021-11-11T09:05:43.000Z
|
tests/data/test_regression_file_path_fixture/tests-inputs/case/test_fixture.py
|
sdinot/pytest-executable
|
45e5b2df8e81213973c6d8d70ec6e0fb0c4b8db6
|
[
"Apache-2.0"
] | 2
|
2020-04-23T06:37:42.000Z
|
2020-04-29T21:59:25.000Z
|
from fnmatch import fnmatch
def test_fixture(regression_file_path):
assert fnmatch(str(regression_file_path.relative), "[01].xmf")
assert fnmatch(
str(regression_file_path.absolute),
"*/test_regression_file_path_fixture0/references/case/[01].xmf",
)
| 28
| 72
| 0.732143
| 35
| 280
| 5.542857
| 0.514286
| 0.28866
| 0.371134
| 0.268041
| 0.350515
| 0.350515
| 0
| 0
| 0
| 0
| 0
| 0.021186
| 0.157143
| 280
| 9
| 73
| 31.111111
| 0.800847
| 0
| 0
| 0
| 0
| 0
| 0.246429
| 0.217857
| 0
| 0
| 0
| 0
| 0.285714
| 1
| 0.142857
| false
| 0
| 0.142857
| 0
| 0.285714
| 0
| 0
| 0
| 0
| null | 1
| 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
| 4
|
c1c7615a1093ffe7d7e900aa21ffc5ae797e37b3
| 374
|
py
|
Python
|
tests/mocks.py
|
lgatellier/webhook-router
|
7e68e469b54c1f605d03e10744774cb9f1f094f3
|
[
"Apache-2.0"
] | 1
|
2022-03-06T19:01:23.000Z
|
2022-03-06T19:01:23.000Z
|
tests/mocks.py
|
lgatellier/webhook-router
|
7e68e469b54c1f605d03e10744774cb9f1f094f3
|
[
"Apache-2.0"
] | 8
|
2021-11-18T22:49:49.000Z
|
2022-03-30T09:29:43.000Z
|
tests/mocks.py
|
lgatellier/webhook-gateway
|
975b7d380b17fd3b534d9c1eca51b6dd2cc44d00
|
[
"Apache-2.0"
] | null | null | null |
from fastapi import Request
class MockedHTTPRequest(Request):
def __init__(self, body: dict = {}, headers: dict = {}):
super().__init__({"type": "http"})
self.__body = body
self.__headers = headers
@property
def body(self) -> dict:
return self.__body
@property
def headers(self) -> dict:
return self.__headers
| 22
| 60
| 0.604278
| 40
| 374
| 5.25
| 0.425
| 0.114286
| 0.133333
| 0.171429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.272727
| 374
| 16
| 61
| 23.375
| 0.772059
| 0
| 0
| 0.166667
| 0
| 0
| 0.02139
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.083333
| 0.166667
| 0.583333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
c1c9379695253067028b6d9dd41b3f7776b4991c
| 304
|
py
|
Python
|
experimental/python_q_wrapper/Q/validate.py
|
subramon/qlu
|
2fb8a2b3636dd11e2dfeae2a6477bd130316da47
|
[
"MIT"
] | null | null | null |
experimental/python_q_wrapper/Q/validate.py
|
subramon/qlu
|
2fb8a2b3636dd11e2dfeae2a6477bd130316da47
|
[
"MIT"
] | 7
|
2020-07-29T16:48:25.000Z
|
2020-09-26T23:47:22.000Z
|
experimental/python_q_wrapper/Q/validate.py
|
subramon/qlu
|
2fb8a2b3636dd11e2dfeae2a6477bd130316da47
|
[
"MIT"
] | 1
|
2015-05-14T22:34:13.000Z
|
2015-05-14T22:34:13.000Z
|
def is_p_vector(val):
"""checks whether given value is of type P_Vector"""
from Q.p_vector import PVector
return isinstance(val, PVector)
def is_p_scalar(val):
"""checks whether given vlaue is of type P_Scalar"""
from Q.p_scalar import PScalar
return isinstance(val, PScalar)
| 23.384615
| 56
| 0.710526
| 48
| 304
| 4.333333
| 0.416667
| 0.100962
| 0.057692
| 0.201923
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.203947
| 304
| 13
| 57
| 23.384615
| 0.859504
| 0.305921
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 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
| 1
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
c1f67abeeac600fa8d3d5268d75de3463965e9bb
| 144
|
py
|
Python
|
500.py
|
TebbaaX/DownTime-Score
|
204f1f69e6ad46c36cc7d3a56483f4e51bf6c29b
|
[
"MIT"
] | 4
|
2021-05-08T00:13:47.000Z
|
2021-05-10T00:47:00.000Z
|
500.py
|
TebbaaX/DownTime-Score
|
204f1f69e6ad46c36cc7d3a56483f4e51bf6c29b
|
[
"MIT"
] | 1,449
|
2021-10-12T20:20:57.000Z
|
2022-03-31T11:40:41.000Z
|
500.py
|
TebbaaX/DownTime-Score
|
204f1f69e6ad46c36cc7d3a56483f4e51bf6c29b
|
[
"MIT"
] | 1
|
2021-09-15T21:41:54.000Z
|
2021-09-15T21:41:54.000Z
|
import time
print ("this is a 500 years python dummy file")
print ("see you after 500 years")
time.sleep(15768000000)
print ("Time Travel!")
| 28.8
| 48
| 0.722222
| 23
| 144
| 4.521739
| 0.73913
| 0.153846
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141667
| 0.166667
| 144
| 5
| 49
| 28.8
| 0.725
| 0
| 0
| 0
| 0
| 0
| 0.510638
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.2
| 0
| 0.2
| 0.6
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
de0ab5307c2122a25d2bba0938220eeea800d063
| 85
|
py
|
Python
|
config.py
|
hjdteny/nodemcu-pyflasher-vam
|
7b51f132ff52e12306b25db70fde2a54affe8a86
|
[
"MIT"
] | null | null | null |
config.py
|
hjdteny/nodemcu-pyflasher-vam
|
7b51f132ff52e12306b25db70fde2a54affe8a86
|
[
"MIT"
] | null | null | null |
config.py
|
hjdteny/nodemcu-pyflasher-vam
|
7b51f132ff52e12306b25db70fde2a54affe8a86
|
[
"MIT"
] | null | null | null |
VERSION = "1.3"
TITLE = "Speedshield VAM Flash Utility"
EXENAME = "VAM-Flash-Utility"
| 28.333333
| 39
| 0.729412
| 12
| 85
| 5.166667
| 0.75
| 0.258065
| 0.483871
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027027
| 0.129412
| 85
| 3
| 40
| 28.333333
| 0.810811
| 0
| 0
| 0
| 0
| 0
| 0.569767
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
de0da2ca4c0ba12fc1befb15406b1a9d25acd3b2
| 4,229
|
py
|
Python
|
domipy/messages/__init__.py
|
soliveira/python-domintell
|
64876f9d4dae9c29f354c3cfac755c22fa980a73
|
[
"MIT"
] | null | null | null |
domipy/messages/__init__.py
|
soliveira/python-domintell
|
64876f9d4dae9c29f354c3cfac755c22fa980a73
|
[
"MIT"
] | null | null | null |
domipy/messages/__init__.py
|
soliveira/python-domintell
|
64876f9d4dae9c29f354c3cfac755c22fa980a73
|
[
"MIT"
] | null | null | null |
"""
:author: Thomas Delaet <thomas@delaet.org>
"""
# pylint: disable-msg=C0301
# appifo scan messages and system messages
from domipy.messages.appinfo_request import AppInfoRequest
from domipy.messages.module_info import ModuleInfoMessage
from domipy.messages.ping import Ping
from domipy.messages.hello import Hello
from domipy.messages.login_request_salt import LoginRequestSaltCommand
from domipy.messages.login_request_salt import LoginRequestSaltMessage
from domipy.messages.waiting_for_loginsw import WaitingForLoginswMessage
from domipy.messages.login_request import LoginRequest
from domipy.messages.info import InfoMessage
from domipy.messages.control import ControllMessage
from domipy.messages.session_closed import SessionClosedMessage
from domipy.messages.session_opened import SessionOpenedMessage
from domipy.messages.session_timeout import SessionTimeoutMessage
# status messages
from domipy.messages.ai_status import GenericAIStatusMessage
from domipy.messages.ao_status import GenericAOStatusMessage
from domipy.messages.do_status import GenericDOStatusMessage
from domipy.messages.di_status import GenericDIStatusMessage
from domipy.messages.dio_status import GenericDIOStatusMessage
from domipy.messages.dbir_status import DBIRStatusMessage
from domipy.messages.dmr_status import DDMRStatusMessage
from domipy.messages.ddim_status import DDIMStatusMessage
from domipy.messages.din10v_status import DIN10VStatusMessage
from domipy.messages.dism_status import DISM4StatusMessage
from domipy.messages.dism_status import DISM8StatusMessage
from domipy.messages.dmov_status import DMOVStatusMessage
from domipy.messages.dpbu_status import DPBU01StatusMessage
from domipy.messages.dpbu_status import DPBU02StatusMessage
from domipy.messages.dpbu_status import DPBU04StatusMessage
from domipy.messages.dpbu_status import DPBU06StatusMessage
from domipy.messages.dtrp_status import DTRPStatusMessage
from domipy.messages.dtrv_status import DTRVStatusMessage
from domipy.messages.dtrv_status import DTRVBTStatusMessage
from domipy.messages.dtsc_status import DTSCStatusMessage
from domipy.messages.module_status_request import ModuleStatusRequest
from domipy.messages.dled_status import DLEDStatusMessage
# Command messages
from domipy.messages.set_ao import SetAnalogOutputMessage
from domipy.messages.set_di import DigitalShortPush
from domipy.messages.set_di import DigitalLongPush
from domipy.messages.set_di import DigitalShortPushEnd
from domipy.messages.set_di import DigitalLongPushEnd
from domipy.messages.set_dimmer import SetDimmer
from domipy.messages.set_dimmer import StartDimmer
from domipy.messages.set_dimmer import StopDimmer
from domipy.messages.set_dimmer import IncrementDimmer
from domipy.messages.set_dimmer import DecrementDimmer
from domipy.messages.set_do import SetDigitalOutputMessage
from domipy.messages.set_do import SetDigitalOutputOnMessage
from domipy.messages.set_do import SetDigitalOutputOffMessage
from domipy.messages.set_do import TogleDigitalOutputMessage
from domipy.messages.set_do import SetDigitalOutputOpenMessage
from domipy.messages.set_do import SetDigitalOutputCloseMessage
from domipy.messages.set_do import SetDigitalOutputStopMessage
from domipy.messages.set_temperature import SetTemperatureMessage
from domipy.messages.set_temperature import SetTemperatureModeMessage
from domipy.messages.set_temperature import SetTemperatureSetPointMessage
from domipy.messages.set_temperature import SetCoolingTemperatureSetPointMessage
from domipy.messages.set_temperature import SetTemperatureComfortMessage
from domipy.messages.set_temperature import SetTemperatureAutomaticMessage
from domipy.messages.set_temperature import SetTemperatureAbsenceMessage
from domipy.messages.set_temperature import SetTemperatureFrostMessage
from domipy.messages.set_temperature import SetRegulationModeMessage
from domipy.messages.temperature_status import TE1TemperaturetatusMessage
from domipy.messages.temperature_status import TE2TemperaturetatusMessage
from domipy.messages.var_status import VARStatusMessage
from domipy.messages.var_status import SYSStatusMessage
from domipy.messages.set_var import SwitchValueMessage
from domipy.messages.user_disconnected import UserDisconnected
| 56.386667
| 80
| 0.895011
| 489
| 4,229
| 7.603272
| 0.247444
| 0.180204
| 0.324368
| 0.152501
| 0.364712
| 0.356643
| 0.021517
| 0
| 0
| 0
| 0
| 0.005079
| 0.068811
| 4,229
| 75
| 81
| 56.386667
| 0.939055
| 0.033814
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
de14580203ff2ebf6ca00267c60b3e970d34d7b5
| 93
|
py
|
Python
|
divi.py
|
Shashanksinha9/hacktoberfest2021
|
20e66cb5d6d8d4879366cd921407d0c50eef0557
|
[
"Apache-2.0"
] | 4
|
2021-10-01T17:56:54.000Z
|
2021-10-11T05:49:20.000Z
|
divi.py
|
Shashanksinha9/hacktoberfest2021
|
20e66cb5d6d8d4879366cd921407d0c50eef0557
|
[
"Apache-2.0"
] | 4
|
2021-10-01T13:50:00.000Z
|
2021-10-11T05:52:12.000Z
|
divi.py
|
Shashanksinha9/hacktoberfest2021
|
20e66cb5d6d8d4879366cd921407d0c50eef0557
|
[
"Apache-2.0"
] | 31
|
2021-09-29T14:15:57.000Z
|
2021-10-16T03:32:24.000Z
|
name=input("Enter the name : ")
def greet(name):
print("Good day, "+ name )
greet(name)
| 15.5
| 31
| 0.623656
| 14
| 93
| 4.142857
| 0.642857
| 0.310345
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.193548
| 93
| 5
| 32
| 18.6
| 0.773333
| 0
| 0
| 0
| 0
| 0
| 0.290323
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.25
| 0.25
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
a9d4e535fb54b53fe43d60caf81b0fdd805c0370
| 408
|
py
|
Python
|
02-mayan.py
|
vyskocilm/plenty-of-couscous
|
f8d2dc299ce0faf78f81648f370ed1e2a088ef77
|
[
"BSD-3-Clause"
] | null | null | null |
02-mayan.py
|
vyskocilm/plenty-of-couscous
|
f8d2dc299ce0faf78f81648f370ed1e2a088ef77
|
[
"BSD-3-Clause"
] | null | null | null |
02-mayan.py
|
vyskocilm/plenty-of-couscous
|
f8d2dc299ce0faf78f81648f370ed1e2a088ef77
|
[
"BSD-3-Clause"
] | null | null | null |
#:: 0-.| .-| .|||-| ::-| .||-| ||
print "".join(("".join((y for y in x)) for x in
( (chr (sum( (x if y != 0 else x*20 for y, x in
enumerate ( len(x) if x != "0" else 0 for x in
(x.replace('|',':.:').replace(':','..')for x in
y))))) for y in x) for x in((x.split() for x in
y)for y in (x.split('-') for x in(x[1:] for x in
file(__file__, 'r') if x[0] == '#'))))))
#. :||-| ::||-| :|||-| .:|-| .-.| :-. .:||
| 40.8
| 48
| 0.421569
| 75
| 408
| 2.24
| 0.253333
| 0.142857
| 0.25
| 0.125
| 0.386905
| 0.386905
| 0.285714
| 0.285714
| 0
| 0
| 0
| 0.02454
| 0.20098
| 408
| 9
| 49
| 45.333333
| 0.490798
| 0.178922
| 0
| 0
| 0
| 0
| 0.033033
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.142857
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
a9ee7d9ddb02712f3efcfc4263b4574071d89f40
| 237
|
py
|
Python
|
src/server/handlers/issues.py
|
monosidev/monosi
|
a88b689fc74010b10dbabb32f4b2bdeae865f4d5
|
[
"Apache-2.0"
] | 156
|
2021-11-19T18:50:14.000Z
|
2022-03-31T19:48:59.000Z
|
src/server/handlers/issues.py
|
monosidev/monosi
|
a88b689fc74010b10dbabb32f4b2bdeae865f4d5
|
[
"Apache-2.0"
] | 30
|
2021-12-27T19:30:56.000Z
|
2022-03-30T17:49:00.000Z
|
src/server/handlers/issues.py
|
monosidev/monosi
|
a88b689fc74010b10dbabb32f4b2bdeae865f4d5
|
[
"Apache-2.0"
] | 14
|
2022-01-17T23:24:34.000Z
|
2022-03-29T09:27:47.000Z
|
from server.handlers.base import ListResource
from server.models import Issue
class IssueListResource(ListResource):
@property
def resource(self):
return Issue
@property
def key(self):
return "issues"
| 16.928571
| 45
| 0.696203
| 26
| 237
| 6.346154
| 0.653846
| 0.121212
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.236287
| 237
| 13
| 46
| 18.230769
| 0.911602
| 0
| 0
| 0.222222
| 0
| 0
| 0.025424
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0.222222
| 0.222222
| 0.777778
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
e715d497f6c98d297a4d39a0e91d8045bc2c4af4
| 81
|
py
|
Python
|
ims/apps.py
|
lcneo/ims
|
94fc8a1dea0278acdde8599224c0a7c8d54d758c
|
[
"MIT"
] | 8
|
2020-10-02T02:41:12.000Z
|
2021-09-22T08:37:26.000Z
|
ims/apps.py
|
lcneo/ims
|
94fc8a1dea0278acdde8599224c0a7c8d54d758c
|
[
"MIT"
] | 15
|
2021-03-19T03:43:56.000Z
|
2022-03-12T00:30:55.000Z
|
ims/apps.py
|
hisham2k9/IMS-and-CAPA
|
9f70988a6411c72ab4f0cbc818b84db58a28076f
|
[
"MIT"
] | 2
|
2018-12-22T20:19:13.000Z
|
2020-09-02T07:32:21.000Z
|
from django.apps import AppConfig
class ImsConfig(AppConfig):
name = 'ims'
| 13.5
| 33
| 0.728395
| 10
| 81
| 5.9
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.185185
| 81
| 5
| 34
| 16.2
| 0.893939
| 0
| 0
| 0
| 0
| 0
| 0.037037
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
e71d0f0f5c085420788077efbcac474df2e59445
| 57
|
py
|
Python
|
align_images/__init__.py
|
ArcturusB/align_images
|
7bf0348e17db4172bc4ddd259d8a9dfbe9eca0e7
|
[
"Unlicense"
] | 1
|
2019-06-21T05:11:34.000Z
|
2019-06-21T05:11:34.000Z
|
align_images/__init__.py
|
ArcturusB/align_images
|
7bf0348e17db4172bc4ddd259d8a9dfbe9eca0e7
|
[
"Unlicense"
] | null | null | null |
align_images/__init__.py
|
ArcturusB/align_images
|
7bf0348e17db4172bc4ddd259d8a9dfbe9eca0e7
|
[
"Unlicense"
] | null | null | null |
#!/usr/bin/env python3
from . import align, cc2d, tools
| 14.25
| 32
| 0.701754
| 9
| 57
| 4.444444
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.041667
| 0.157895
| 57
| 3
| 33
| 19
| 0.791667
| 0.368421
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e722cecb5e5dea00739adffd75f58caf64344e85
| 171
|
py
|
Python
|
assets/tuned/daemon/tuned/version.py
|
marioferh/cluster-node-tuning-operator
|
c0a64236e2083739e0b560f0bf75f65859df059e
|
[
"Apache-2.0"
] | null | null | null |
assets/tuned/daemon/tuned/version.py
|
marioferh/cluster-node-tuning-operator
|
c0a64236e2083739e0b560f0bf75f65859df059e
|
[
"Apache-2.0"
] | null | null | null |
assets/tuned/daemon/tuned/version.py
|
marioferh/cluster-node-tuning-operator
|
c0a64236e2083739e0b560f0bf75f65859df059e
|
[
"Apache-2.0"
] | 2
|
2022-02-02T11:46:53.000Z
|
2022-02-02T11:51:57.000Z
|
TUNED_VERSION_MAJOR = 2
TUNED_VERSION_MINOR = 18
TUNED_VERSION_PATCH = 0
TUNED_VERSION_STR = "%d.%d.%d" % (TUNED_VERSION_MAJOR, TUNED_VERSION_MINOR, TUNED_VERSION_PATCH)
| 28.5
| 96
| 0.807018
| 27
| 171
| 4.592593
| 0.37037
| 0.677419
| 0.274194
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.025974
| 0.099415
| 171
| 5
| 97
| 34.2
| 0.779221
| 0
| 0
| 0
| 0
| 0
| 0.046784
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e7266a839947e7bff99aab9ea7cf93fed2314c1b
| 84
|
py
|
Python
|
framework/rpibaremetal/connection/__init__.py
|
KisImre/rpi-bare-metal-prototyping-framework
|
ec3db9db3697ddfdd56e8883d34111981a4c38f7
|
[
"MIT"
] | null | null | null |
framework/rpibaremetal/connection/__init__.py
|
KisImre/rpi-bare-metal-prototyping-framework
|
ec3db9db3697ddfdd56e8883d34111981a4c38f7
|
[
"MIT"
] | null | null | null |
framework/rpibaremetal/connection/__init__.py
|
KisImre/rpi-bare-metal-prototyping-framework
|
ec3db9db3697ddfdd56e8883d34111981a4c38f7
|
[
"MIT"
] | null | null | null |
# Copyright (c) 2020, Kis Imre. All rights reserved.
# SPDX-License-Identifier: MIT
| 28
| 52
| 0.738095
| 12
| 84
| 5.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.055556
| 0.142857
| 84
| 2
| 53
| 42
| 0.805556
| 0.940476
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e75664bd27754a66bb2b335b17ad15fd80bbf4ca
| 1,041
|
py
|
Python
|
app/service/account_title_service.py
|
JunFuruya/Ratsnake
|
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
|
[
"MIT"
] | null | null | null |
app/service/account_title_service.py
|
JunFuruya/Ratsnake
|
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
|
[
"MIT"
] | 5
|
2018-05-17T04:03:39.000Z
|
2021-09-08T01:03:17.000Z
|
app/service/account_title_service.py
|
JunFuruya/Hideout
|
ff7fe7f6b56663978d2ee2d94df5d88786a0eaa7
|
[
"MIT"
] | null | null | null |
# -*- coding: UTF-8 -*-
from app.service.base_service import BaseService
from app.repository.account_title_repository import AccountTitleRepository
class AccountTitleService(BaseService):
def __init__(self):
self.__reposiroty = AccountTitleRepository()
pass
def getList(self, user_id, limit, offset):
return self.__reposiroty.findList(user_id, limit, offset)
def get(self, user_id, account_title_id):
return self.__reposiroty.find(user_id, account_title_id)
def create(self, user_id, account_title_name, account_title_classification_type):
return self.__reposiroty.insert(user_id, account_title_name, account_title_classification_type)
def update(self, account_title_id, user_id, account_title_name, account_title_classification_type):
return self.__reposiroty.update(account_title_id, user_id, account_title_name, account_title_classification_type)
def delete(self, account_title_id, user_id):
return self.__reposiroty.delete(account_title_id, user_id)
| 41.64
| 121
| 0.777137
| 133
| 1,041
| 5.62406
| 0.270677
| 0.240642
| 0.104278
| 0.144385
| 0.505348
| 0.414439
| 0.377005
| 0.377005
| 0.377005
| 0.377005
| 0
| 0.001124
| 0.145053
| 1,041
| 24
| 122
| 43.375
| 0.839326
| 0.020173
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.375
| false
| 0.0625
| 0.125
| 0.3125
| 0.875
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
|
0
| 4
|
e78dbfdb3c598a36053c36006335775401473a5a
| 83
|
py
|
Python
|
Project_3/source/test_perihelion/test_perihelion.py
|
larsjbro/FYS4150
|
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
|
[
"BSD-2-Clause"
] | null | null | null |
Project_3/source/test_perihelion/test_perihelion.py
|
larsjbro/FYS4150
|
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
|
[
"BSD-2-Clause"
] | null | null | null |
Project_3/source/test_perihelion/test_perihelion.py
|
larsjbro/FYS4150
|
95ac4e09b5aad133b29c9aabb5be1302abdd8e65
|
[
"BSD-2-Clause"
] | null | null | null |
'''
Created on 30. okt. 2017
@author: LJB
'''
if __name__ == '__main__':
pass
| 10.375
| 26
| 0.590361
| 11
| 83
| 3.727273
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09375
| 0.228916
| 83
| 8
| 27
| 10.375
| 0.546875
| 0.457831
| 0
| 0
| 0
| 0
| 0.210526
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
e7a293afddd2a5b54862d63c4e761125a74a8ae5
| 73
|
py
|
Python
|
Python/Reals/river_in_brazil/matrix_rotation.py
|
Mr-Perfection/coding_practice
|
41df85292a151eef3266b01545124aeb4e831286
|
[
"Unlicense"
] | null | null | null |
Python/Reals/river_in_brazil/matrix_rotation.py
|
Mr-Perfection/coding_practice
|
41df85292a151eef3266b01545124aeb4e831286
|
[
"Unlicense"
] | null | null | null |
Python/Reals/river_in_brazil/matrix_rotation.py
|
Mr-Perfection/coding_practice
|
41df85292a151eef3266b01545124aeb4e831286
|
[
"Unlicense"
] | null | null | null |
"""
Rotate a matrix 90 degrees a certain direction based on the flag
"""
| 18.25
| 64
| 0.726027
| 12
| 73
| 4.416667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.033898
| 0.191781
| 73
| 3
| 65
| 24.333333
| 0.864407
| 0.876712
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
e7a2a74212459c5c2d287344ef757f817b24bd0e
| 58
|
py
|
Python
|
vector3d/__init__.py
|
jayman39tx/vector3d
|
6ea8a759b5102b65aea33173da1ed78cde9a67b0
|
[
"MIT"
] | 2
|
2020-11-17T05:16:16.000Z
|
2021-11-07T19:48:30.000Z
|
vector3d/__init__.py
|
jayman39tx/vector3d
|
6ea8a759b5102b65aea33173da1ed78cde9a67b0
|
[
"MIT"
] | null | null | null |
vector3d/__init__.py
|
jayman39tx/vector3d
|
6ea8a759b5102b65aea33173da1ed78cde9a67b0
|
[
"MIT"
] | 3
|
2020-08-10T19:32:01.000Z
|
2021-04-09T12:58:50.000Z
|
name = "Vector3D"
from . import vector
from . import point
| 19.333333
| 20
| 0.741379
| 8
| 58
| 5.375
| 0.75
| 0.465116
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.020833
| 0.172414
| 58
| 3
| 21
| 19.333333
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0.135593
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e7a3a8f3dbc80823b966705e8802def2ed85da11
| 102
|
py
|
Python
|
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/simple_py3.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | 1
|
2022-01-08T12:30:44.000Z
|
2022-01-08T12:30:44.000Z
|
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/simple_py3.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | null | null | null |
Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/simple_py3.py
|
JE-Chen/je_old_repo
|
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
|
[
"MIT"
] | 1
|
2021-04-26T22:41:56.000Z
|
2021-04-26T22:41:56.000Z
|
import numpy as np
array = np.array([1, 2])
# The @ operator is not in python 2
array @ array
| 14.571429
| 36
| 0.627451
| 18
| 102
| 3.555556
| 0.722222
| 0.21875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.040541
| 0.27451
| 102
| 6
| 37
| 17
| 0.824324
| 0.323529
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
e7b099e6d68f75cea2e020cf38d8d5668c1b2d20
| 644
|
py
|
Python
|
chunked/models.py
|
grschafer/django-meetup-fileupload
|
e89e158e3d26a5ce41571f8d164e3f7aa0f1f079
|
[
"MIT"
] | null | null | null |
chunked/models.py
|
grschafer/django-meetup-fileupload
|
e89e158e3d26a5ce41571f8d164e3f7aa0f1f079
|
[
"MIT"
] | null | null | null |
chunked/models.py
|
grschafer/django-meetup-fileupload
|
e89e158e3d26a5ce41571f8d164e3f7aa0f1f079
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from django.db import models
# Create your models here.
class Upload(models.Model):
file = models.FileField(null=False, blank=False)
num_chunks = models.PositiveIntegerField(null=False, blank=False)
filesize = models.PositiveIntegerField(null=False, blank=False)
chunk_size = models.PositiveIntegerField(null=False, blank=False)
# TODO: status, checksum
class Chunk(models.Model):
upload = models.ForeignKey(Upload, null=False, blank=False, related_name='chunks')
index = models.PositiveIntegerField(null=False, blank=False)
size = models.PositiveIntegerField(null=False, blank=False)
| 37.882353
| 86
| 0.745342
| 78
| 644
| 6.115385
| 0.410256
| 0.132075
| 0.205451
| 0.278826
| 0.48847
| 0.48847
| 0.205451
| 0
| 0
| 0
| 0
| 0.001795
| 0.135093
| 644
| 16
| 87
| 40.25
| 0.854578
| 0.107143
| 0
| 0
| 0
| 0
| 0.010508
| 0
| 0
| 0
| 0
| 0.0625
| 0
| 1
| 0
| false
| 0
| 0.1
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
e7c57019e7800b7bf091d492331fc64fbacfb1a2
| 291
|
py
|
Python
|
package/PartSegCore/channel_class.py
|
neuromusic/PartSeg
|
a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf
|
[
"BSD-3-Clause"
] | 15
|
2020-03-21T03:27:56.000Z
|
2022-03-21T07:46:39.000Z
|
package/PartSegCore/channel_class.py
|
neuromusic/PartSeg
|
a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf
|
[
"BSD-3-Clause"
] | 479
|
2019-10-27T22:57:22.000Z
|
2022-03-30T12:48:14.000Z
|
package/PartSegCore/channel_class.py
|
neuromusic/PartSeg
|
a4edff1b9fbe55eb7f5e1fc8b5b3f8e730b35caf
|
[
"BSD-3-Clause"
] | 5
|
2020-02-05T14:25:02.000Z
|
2021-12-21T03:44:52.000Z
|
class Channel(int):
"""
This class is introduced to distinguish numerical algorithm parameter from choose chanel.
In autogenerated interface field with this type limits input values to number of current image channels
"""
def __str__(self):
return str(self + 1)
| 32.333333
| 107
| 0.714777
| 38
| 291
| 5.368421
| 0.868421
| 0.068627
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004464
| 0.230241
| 291
| 8
| 108
| 36.375
| 0.90625
| 0.66323
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
e7d2d32363335e20bef823b3804fd88486bdc7c4
| 122
|
py
|
Python
|
blocky_hardware.py
|
curlyz/blocky
|
ef23f81bd27a7a5cf34ec10b35dd9ca3fbd67691
|
[
"MIT"
] | null | null | null |
blocky_hardware.py
|
curlyz/blocky
|
ef23f81bd27a7a5cf34ec10b35dd9ca3fbd67691
|
[
"MIT"
] | null | null | null |
blocky_hardware.py
|
curlyz/blocky
|
ef23f81bd27a7a5cf34ec10b35dd9ca3fbd67691
|
[
"MIT"
] | null | null | null |
Port1 = { "pin1" : 33 , "pin2" : 32 , "adc" : 33} #ICSP Cable
Port2 = { "pin1" : 13 , "pin2" : 14 , "adc" : 34} #MP3 Port
| 61
| 62
| 0.491803
| 18
| 122
| 3.333333
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.211111
| 0.262295
| 122
| 2
| 63
| 61
| 0.455556
| 0.147541
| 0
| 0
| 0
| 0
| 0.215686
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
99d682c3f29dd2435974d682aa3469e2490bd049
| 220
|
py
|
Python
|
spotui/src/Logging.py
|
dbkosky/spotui
|
cabc6fbde3c0fbbc73fd94055661185ad51969c1
|
[
"MIT"
] | 410
|
2020-01-08T17:23:52.000Z
|
2022-03-31T03:19:01.000Z
|
spotui/src/Logging.py
|
octoshrimpy/spotui
|
b0d195d1cdc803839e8421472ed897521c6124d4
|
[
"MIT"
] | 28
|
2020-01-09T00:10:10.000Z
|
2022-03-19T01:22:39.000Z
|
spotui/src/Logging.py
|
octoshrimpy/spotui
|
b0d195d1cdc803839e8421472ed897521c6124d4
|
[
"MIT"
] | 22
|
2020-01-10T04:08:22.000Z
|
2022-03-17T13:31:13.000Z
|
import logging
import os
user_config_dir = os.path.expanduser("~")
logging.basicConfig(filename=user_config_dir + '/.cache/spotui.log', filemode='w',
format='%(name)s - %(levelname)s - %(message)s')
| 31.428571
| 82
| 0.659091
| 28
| 220
| 5.035714
| 0.714286
| 0.141844
| 0.184397
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.168182
| 220
| 6
| 83
| 36.666667
| 0.770492
| 0
| 0
| 0
| 0
| 0
| 0.263636
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
99e157d8a51a96d3537d160b4ad726d341cf4d8c
| 149
|
py
|
Python
|
pywky/db/__init__.py
|
loganjhennessy/worky
|
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
|
[
"MIT"
] | null | null | null |
pywky/db/__init__.py
|
loganjhennessy/worky
|
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
|
[
"MIT"
] | null | null | null |
pywky/db/__init__.py
|
loganjhennessy/worky
|
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
|
[
"MIT"
] | null | null | null |
from sqlalchemy import create_engine
from pywky.db.models import Base
engine = create_engine('sqlite:///worky_dev.db')
Base.metadata.bind = engine
| 21.285714
| 48
| 0.791946
| 22
| 149
| 5.227273
| 0.636364
| 0.208696
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107383
| 149
| 6
| 49
| 24.833333
| 0.864662
| 0
| 0
| 0
| 0
| 0
| 0.147651
| 0.147651
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
99e3ac14b2ccc4454ba52221648a884910d0156c
| 69
|
py
|
Python
|
run.py
|
econchick/foodify
|
87b2e395b4e720c1425f56fba790a4be2e8fdea9
|
[
"Zlib"
] | 1
|
2016-09-29T16:51:00.000Z
|
2016-09-29T16:51:00.000Z
|
run.py
|
econchick/foodify
|
87b2e395b4e720c1425f56fba790a4be2e8fdea9
|
[
"Zlib"
] | null | null | null |
run.py
|
econchick/foodify
|
87b2e395b4e720c1425f56fba790a4be2e8fdea9
|
[
"Zlib"
] | null | null | null |
#! /usr/bin/env python
from foodify import app
app.run(debug = True)
| 17.25
| 23
| 0.724638
| 12
| 69
| 4.166667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144928
| 69
| 4
| 24
| 17.25
| 0.847458
| 0.304348
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
99f29d7b80d7894462f8ed96f68faef9669e0b6b
| 3,022
|
py
|
Python
|
baidu_code/bcoreapi/info/schedule.py
|
deevarvar/myLab
|
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
|
[
"MIT"
] | null | null | null |
baidu_code/bcoreapi/info/schedule.py
|
deevarvar/myLab
|
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
|
[
"MIT"
] | null | null | null |
baidu_code/bcoreapi/info/schedule.py
|
deevarvar/myLab
|
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
|
[
"MIT"
] | 3
|
2016-10-08T15:01:49.000Z
|
2018-05-24T03:14:24.000Z
|
#-*- coding=utf-8 -*-
'''
@description: 影讯新接口——排期接口测试用例。
@author: miliang<miliang@baidu.com>
'''
from base import Info_Base
class Info_Schedule(Info_Base):
def __init__(self,cinema_id=None,encode_bid=None,bid=None):
super(Info_Schedule,self).__init__()
self.req_url = self.req_url + 'schedule'
self.req_dict = {}
if cinema_id:
self.req_dict['cinema_id'] = cinema_id
self.cinema_id = cinema_id
if encode_bid:
self.req_dict['encode_id'] = encode_id
self.encode_id = encode_id
if bid:
self.req_dict['bid'] = bid
self.bid = bid
def doAssert(self):
print self.page_dict
assert self.page_dict['errorMsg'] == 'Success'
assert self.page_dict['movie_id']
assert self.page_dict['time_table']
partner = ''
for date in self.page_dict['time_table']:
for schedule in self.page_dict['time_table'][date]:
#上一个合作方的竞争价,要求按竞争价升序排列(下线了)
#former_com_price = 0
assert schedule['time']
assert schedule['date']
assert schedule['movie_id']
assert schedule['end_time']
assert schedule.has_key('src_info')
for i in range(len(schedule['src_info'])):
assert schedule['src_info'][i]['src']
# 5.11:仅返回C端同一合作方的影讯
if partner == '':
partner = schedule['src_info'][i]['src']
else :
assert schedule['src_info'][i]['src'] == partner
assert schedule['src_info'][i].has_key('lan') # 这个暂时可能为空
assert schedule['src_info'][i].has_key('type') # 这个暂时可能为空
assert schedule['src_info'][i]['origin_price']
assert schedule['src_info'][i]['price']
assert schedule['src_info'][i].has_key('seq_no') # 这个暂时可能为空
assert schedule['src_info'][i]['third_cinema_id']
assert schedule['src_info'][i]['third_movie_id']
assert schedule['src_info'][i]['theater']
assert schedule['src_info'][i]['src_name']
assert schedule['src_info'][i]['out_buy_time']
assert schedule['src_info'][i].has_key('hall_id') # 这个暂时可能为空
assert schedule['src_info'][i].has_key('weight')
assert schedule['src_info'][i].has_key('status') and schedule['src_info'][i]['status'] == 0 or schedule['src_info'][i]['status'] == 1
#assert schedule['src_info'][i].has_key('com_price') and schedule['src_info'][i]['com_price'] >= former_com_price
#former_com_price = schedule['src_info'][i]['com_price']
if __name__ == '__main__':
case = Info_Schedule(cinema_id=8350)
case.execute()
| 43.171429
| 154
| 0.531105
| 348
| 3,022
| 4.324713
| 0.232759
| 0.106977
| 0.219269
| 0.223256
| 0.445847
| 0.352824
| 0.140864
| 0.047841
| 0
| 0
| 0
| 0.005456
| 0.332892
| 3,022
| 69
| 155
| 43.797101
| 0.740079
| 0.095301
| 0
| 0
| 0
| 0
| 0.155039
| 0
| 0
| 0
| 0
| 0
| 0.48
| 0
| null | null | 0
| 0.02
| null | null | 0.02
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
416fc4132f82c94ae93a71e4d7f00ce6d134cda7
| 764
|
py
|
Python
|
youtube/forms.py
|
shravs-cell/video
|
0bc56062f8200049c85dd35eb0e07447289bc902
|
[
"MIT"
] | null | null | null |
youtube/forms.py
|
shravs-cell/video
|
0bc56062f8200049c85dd35eb0e07447289bc902
|
[
"MIT"
] | null | null | null |
youtube/forms.py
|
shravs-cell/video
|
0bc56062f8200049c85dd35eb0e07447289bc902
|
[
"MIT"
] | null | null | null |
from django import forms
class LoginForm(forms.Form):
username = forms.CharField(label='Username', max_length=300)
password = forms.CharField(label='Password', max_length=300)
class RegisterForm(forms.Form):
username = forms.CharField(label='Username', max_length=300)
password = forms.CharField(label='Password', max_length=20)
email = forms.CharField(label='Email', max_length=300)
class CommentForm(forms.Form):
text = forms.CharField(label='Text', max_length=500)
#video = forms.IntegerField(widget=forms.HiddenInput(), initial=1)
class NewVideoForm(forms.Form):
title = forms.CharField(label='Title', max_length=700)
description = forms.CharField(label='Description', max_length=300)
file = forms.FileField()
| 36.380952
| 71
| 0.732984
| 95
| 764
| 5.810526
| 0.336842
| 0.202899
| 0.275362
| 0.07971
| 0.362319
| 0.362319
| 0.362319
| 0.362319
| 0.362319
| 0.362319
| 0
| 0.036199
| 0.132199
| 764
| 20
| 72
| 38.2
| 0.79638
| 0.085079
| 0
| 0.142857
| 0
| 0
| 0.081779
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.142857
| 0.071429
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
4170081c348b25a347acdd29605bf96b4bb56f60
| 59
|
py
|
Python
|
testing/resources/test_pvector_in_imported_module.py
|
timgates42/processing.py
|
78a237922c2a928b83f4ad579dbf8d32c0099890
|
[
"Apache-2.0"
] | 1,224
|
2015-01-01T22:09:23.000Z
|
2022-03-29T19:43:56.000Z
|
testing/resources/test_pvector_in_imported_module.py
|
timgates42/processing.py
|
78a237922c2a928b83f4ad579dbf8d32c0099890
|
[
"Apache-2.0"
] | 253
|
2015-01-14T03:45:51.000Z
|
2022-02-08T01:18:19.000Z
|
testing/resources/test_pvector_in_imported_module.py
|
timgates42/processing.py
|
78a237922c2a928b83f4ad579dbf8d32c0099890
|
[
"Apache-2.0"
] | 225
|
2015-01-13T18:38:33.000Z
|
2022-03-30T20:27:39.000Z
|
import imported_module_with_pvector as m
m.sayok()
exit()
| 11.8
| 40
| 0.79661
| 10
| 59
| 4.4
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.118644
| 59
| 4
| 41
| 14.75
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
419618fdd8ed14916e411a16d95f8129f3073e40
| 163
|
py
|
Python
|
src/controllers/__init__.py
|
dennismalmgren/marl
|
baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95
|
[
"Apache-2.0"
] | null | null | null |
src/controllers/__init__.py
|
dennismalmgren/marl
|
baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95
|
[
"Apache-2.0"
] | null | null | null |
src/controllers/__init__.py
|
dennismalmgren/marl
|
baa846dc4144cf6f53e51d8cf1e2fcf5800c9f95
|
[
"Apache-2.0"
] | null | null | null |
REGISTRY = {}
from .basic_controller import BasicMAC
from .distri_controller import DistriMAC
REGISTRY["basic_mac"] = BasicMAC
REGISTRY["distri_mac"] = DistriMAC
| 23.285714
| 40
| 0.797546
| 19
| 163
| 6.631579
| 0.473684
| 0.253968
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110429
| 163
| 7
| 41
| 23.285714
| 0.868966
| 0
| 0
| 0
| 0
| 0
| 0.115854
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
41a96db7893cd10b83b375c1bfc15b8901d9c8f4
| 207
|
py
|
Python
|
api/routes.py
|
santiagosilas/flask_sample_app
|
1a2f19439c1efb25abdccdb26f303f9cff95c911
|
[
"MIT"
] | null | null | null |
api/routes.py
|
santiagosilas/flask_sample_app
|
1a2f19439c1efb25abdccdb26f303f9cff95c911
|
[
"MIT"
] | null | null | null |
api/routes.py
|
santiagosilas/flask_sample_app
|
1a2f19439c1efb25abdccdb26f303f9cff95c911
|
[
"MIT"
] | null | null | null |
from flask import render_template
from api import app
@app.route('/')
@app.route('/home')
def home():
return render_template('index.html', answer = 42)
@app.route('/test')
def test():
return 'test'
| 18.818182
| 53
| 0.676329
| 30
| 207
| 4.6
| 0.533333
| 0.173913
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011364
| 0.149758
| 207
| 11
| 54
| 18.818182
| 0.772727
| 0
| 0
| 0
| 0
| 0
| 0.120192
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| true
| 0
| 0.222222
| 0.222222
| 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
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
41b34f1ab0810f5d2d8176ae3c4ecf1349c413df
| 2,169
|
py
|
Python
|
PosPy/frame/form.py
|
richierh/PointofSalePy
|
54fc11b5f167d361c75b6b1cb890c7020393d46c
|
[
"Apache-2.0"
] | null | null | null |
PosPy/frame/form.py
|
richierh/PointofSalePy
|
54fc11b5f167d361c75b6b1cb890c7020393d46c
|
[
"Apache-2.0"
] | null | null | null |
PosPy/frame/form.py
|
richierh/PointofSalePy
|
54fc11b5f167d361c75b6b1cb890c7020393d46c
|
[
"Apache-2.0"
] | null | null | null |
"""Subclass of FForm, which is generated by wxFormBuilder."""
import wx
import frame.mainframe as mainframe
# Implementing FForm
class FFormEvent( mainframe.FForm ):
def __init__( self, parent ):
mainframe.FForm.__init__( self, parent )
self.custom_event()
def custom_event(self):
# Connect Events
self.m_panel2.Bind(wx.EVT_CHAR_HOOK,self.m_panelOnChar)
self.m_textCtrl1.Bind( wx.EVT_TEXT, self.datatext1 )
self.m_textCtrl2.Bind( wx.EVT_TEXT, self.datatext2 )
self.m_textCtrl3.Bind( wx.EVT_TEXT, self.datatext3 )
self.m_textCtrl4.Bind( wx.EVT_TEXT, self.datatext4 )
self.m_textCtrl5.Bind( wx.EVT_TEXT, self.datatext5 )
self.m_textCtrl6.Bind( wx.EVT_TEXT, self.datatext5 )
self.m_button1.Bind( wx.EVT_BUTTON, self.batal )
self.m_button2.Bind( wx.EVT_BUTTON, self.ok )
# Handlers for FForm events.
def m_panelOnChar(self,event):
print (event.GetKeyCode)
if event.GetKeyCode() == wx.WXK_ESCAPE:
self.Destroy()
print ("okay")
else:
print ("wrong")
event.Skip()
def datatext1( self, event ):
# TODO: Implement datatext1
print(self.m_textCtrl1.GetValue())
pass
def datatext2( self, event ):
# TODO: Implement datatext2
pass
def datatext3( self, event ):
# TODO: Implement datatext3
pass
def datatext4( self, event ):
# TODO: Implement datatext4
pass
def datatext5( self, event ):
# TODO: Implement datatext5
pass
def datatext5( self, event ):
# TODO: Implement datatext5
pass
def batal( self, event ):
# TODO: Implement batal
pass
def ok( self, event ):
# TODO: Implement ok
print(self.m_textCtrl1.GetValue())
print(self.m_textCtrl2.GetValue())
print(self.m_textCtrl3.GetValue())
print(self.m_textCtrl4.GetValue())
print(self.m_textCtrl5.GetValue())
print(self.m_textCtrl6.GetValue())
print("okay")
pass
| 28.539474
| 63
| 0.600738
| 250
| 2,169
| 5.056
| 0.256
| 0.067247
| 0.064082
| 0.139241
| 0.255538
| 0.128956
| 0.128956
| 0.128956
| 0.079905
| 0.079905
| 0
| 0.022354
| 0.298755
| 2,169
| 75
| 64
| 28.92
| 0.808679
| 0.144767
| 0
| 0.291667
| 1
| 0
| 0.007069
| 0
| 0
| 0
| 0
| 0.013333
| 0
| 1
| 0.229167
| false
| 0.166667
| 0.041667
| 0
| 0.291667
| 0.229167
| 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
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
41c72ad44a90d0da8b7d83a6acf768aead8bfbf7
| 180
|
py
|
Python
|
student/filters.py
|
Floran-Github/Project-code
|
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
|
[
"Apache-2.0"
] | 3
|
2021-02-02T12:24:44.000Z
|
2021-12-28T11:23:11.000Z
|
student/filters.py
|
Floran-Github/Project-code
|
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
|
[
"Apache-2.0"
] | 8
|
2021-03-20T18:51:54.000Z
|
2021-09-08T02:39:21.000Z
|
student/filters.py
|
Floran-Github/Project-code
|
186ea185f1a5e57bf3fdc34b31b9979bafef4cfc
|
[
"Apache-2.0"
] | 1
|
2020-11-16T11:29:23.000Z
|
2020-11-16T11:29:23.000Z
|
import django_filters
from .models import *
class StudentFilter(django_filters.FilterSet):
class Meta:
model = Student
fields = ['current_year','current_dept']
| 25.714286
| 48
| 0.711111
| 20
| 180
| 6.2
| 0.75
| 0.209677
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 180
| 7
| 48
| 25.714286
| 0.861111
| 0
| 0
| 0
| 0
| 0
| 0.132597
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
ec1afc2d097e9ba6dee27be5f9ffabe63e509327
| 1,179
|
py
|
Python
|
cronsense/main.py
|
nicwaller/cronsense
|
f8eebaf6604edb30c770380a798c2173041eb0fa
|
[
"MIT"
] | null | null | null |
cronsense/main.py
|
nicwaller/cronsense
|
f8eebaf6604edb30c770380a798c2173041eb0fa
|
[
"MIT"
] | null | null | null |
cronsense/main.py
|
nicwaller/cronsense
|
f8eebaf6604edb30c770380a798c2173041eb0fa
|
[
"MIT"
] | null | null | null |
'''A cron wrapper that tells you more about your cron jobs
'''
from __future__ import absolute_import
from __future__ import print_function
from .config import config
from .logger import logger
def main():
print("Here is our logger: " + str(logger))
print("Here is our config: " + str(config))
# parser = argparse.ArgumentParser(description='Tells you more about your cron jobs')
# parser.add_argument('-s', '--statsd', required=False, help='Send metrics to statsd')
# parser.add_argument('-g', '--graphite', required=False, help='Send metrics directly to Graphite')
# parser.add_argument('-f', '--logfile', required=False, help='Write to a logfile')
# parser.add_argument('-l', '--logformat', required=False, help='What kind of logformat you like')
# # TODO: somehow clearly distinguish between the cronsense logs vs.
# # how logs of the child process will be directed
# # TODO: logstash version 1 and version 0
# # TODO: what if logrotate moves the file out from underneath us
# # maybe later I will relent and add email options?
# args = parser.parse_args()
# print(args)
if __name__ == '__main__':
main()
| 34.676471
| 103
| 0.69296
| 162
| 1,179
| 4.901235
| 0.530864
| 0.04534
| 0.085642
| 0.042821
| 0.143577
| 0.073048
| 0.073048
| 0
| 0
| 0
| 0
| 0.002096
| 0.19084
| 1,179
| 33
| 104
| 35.727273
| 0.830189
| 0.685327
| 0
| 0
| 0
| 0
| 0.137931
| 0
| 0
| 0
| 0
| 0.030303
| 0
| 1
| 0.111111
| true
| 0
| 0.444444
| 0
| 0.555556
| 0.333333
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
ec3aa0d2e05680652a1c6c5556aeb676e5bb64da
| 141
|
py
|
Python
|
sahi/scripts/predict_fiftyone.py
|
agat59/sahil6
|
1f413d3cba7fe058f663f8e0ff8c72981817c325
|
[
"MIT"
] | 11
|
2022-02-21T23:00:02.000Z
|
2022-03-11T02:55:07.000Z
|
sahi/scripts/predict_fiftyone.py
|
agat59/sahil6
|
1f413d3cba7fe058f663f8e0ff8c72981817c325
|
[
"MIT"
] | 1
|
2022-03-11T13:48:28.000Z
|
2022-03-11T13:48:28.000Z
|
sahi/scripts/predict_fiftyone.py
|
Kazuhito00/sahi-yolox-onnx-sample
|
2019a35522d6b1add49fce6933def860bed39bc2
|
[
"MIT"
] | 1
|
2021-12-01T12:01:05.000Z
|
2021-12-01T12:01:05.000Z
|
import fire
from sahi.predict import predict_fiftyone
def main():
fire.Fire(predict_fiftyone)
if __name__ == "__main__":
main()
| 11.75
| 41
| 0.70922
| 18
| 141
| 5
| 0.555556
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.191489
| 141
| 11
| 42
| 12.818182
| 0.789474
| 0
| 0
| 0
| 0
| 0
| 0.056738
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| true
| 0
| 0.333333
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
ec514a23b742340bf44e16e67b44d06088405dd5
| 31
|
py
|
Python
|
hyperhdr/__init__.py
|
mjoshd/hypehdr-py
|
3810c53c9fe886f24709ef84dd8f18cb73ed5ef6
|
[
"MIT"
] | null | null | null |
hyperhdr/__init__.py
|
mjoshd/hypehdr-py
|
3810c53c9fe886f24709ef84dd8f18cb73ed5ef6
|
[
"MIT"
] | null | null | null |
hyperhdr/__init__.py
|
mjoshd/hypehdr-py
|
3810c53c9fe886f24709ef84dd8f18cb73ed5ef6
|
[
"MIT"
] | null | null | null |
"""HyperHDR Client package."""
| 15.5
| 30
| 0.677419
| 3
| 31
| 7
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 31
| 1
| 31
| 31
| 0.75
| 0.774194
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ec548b3d676f9272d1291e93d1e7d30817e527b7
| 94
|
py
|
Python
|
dashtable/html2data/restructify/converters/convert_tt.py
|
r-dgreen/DashTable
|
744cfb6a717fa75a8092c83ebcd49b2668023681
|
[
"MIT"
] | 35
|
2017-04-25T04:37:16.000Z
|
2022-02-23T05:44:37.000Z
|
dashtable/html2data/restructify/converters/convert_tt.py
|
r-dgreen/DashTable
|
744cfb6a717fa75a8092c83ebcd49b2668023681
|
[
"MIT"
] | 14
|
2016-12-11T12:00:48.000Z
|
2021-06-13T06:52:09.000Z
|
dashtable/html2data/restructify/converters/convert_tt.py
|
r-dgreen/DashTable
|
744cfb6a717fa75a8092c83ebcd49b2668023681
|
[
"MIT"
] | 11
|
2017-04-05T14:10:16.000Z
|
2022-02-14T16:32:18.000Z
|
def convert_tt(element, text):
if text:
text = "``" + text + "``"
return text
| 18.8
| 33
| 0.510638
| 11
| 94
| 4.272727
| 0.636364
| 0.340426
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.319149
| 94
| 4
| 34
| 23.5
| 0.734375
| 0
| 0
| 0
| 0
| 0
| 0.042553
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6b50bc21a879c10d78635d8cfc74815310051f21
| 171
|
py
|
Python
|
examples/todo_app/app/main/__init__.py
|
MarkoShiva/quart
|
f6709c6082a3cab9dffdcd937122f4d65a5990f7
|
[
"MIT"
] | 1,085
|
2017-11-12T10:56:50.000Z
|
2022-03-31T15:14:26.000Z
|
examples/todo_app/app/main/__init__.py
|
MarkoShiva/quart
|
f6709c6082a3cab9dffdcd937122f4d65a5990f7
|
[
"MIT"
] | 139
|
2017-12-04T09:22:48.000Z
|
2022-03-26T08:34:07.000Z
|
examples/todo_app/app/main/__init__.py
|
MarkoShiva/quart
|
f6709c6082a3cab9dffdcd937122f4d65a5990f7
|
[
"MIT"
] | 92
|
2017-12-08T09:55:02.000Z
|
2022-03-29T20:45:44.000Z
|
from quart import Blueprint
main = Blueprint(
"main", __name__, template_folder="templates", static_folder="static", static_url_path="/main"
)
from .routes import *
| 21.375
| 98
| 0.74269
| 21
| 171
| 5.666667
| 0.619048
| 0.218487
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.134503
| 171
| 7
| 99
| 24.428571
| 0.804054
| 0
| 0
| 0
| 0
| 0
| 0.140351
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 0.4
| 0.4
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
6b61dd6ba514fdd5aff437d1bd860e1a3aa68538
| 109
|
py
|
Python
|
angr/procedures/libc/setvbuf.py
|
Kyle-Kyle/angr
|
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
|
[
"BSD-2-Clause"
] | 6,132
|
2015-08-06T23:24:47.000Z
|
2022-03-31T21:49:34.000Z
|
angr/procedures/libc/setvbuf.py
|
Kyle-Kyle/angr
|
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
|
[
"BSD-2-Clause"
] | 2,272
|
2015-08-10T08:40:07.000Z
|
2022-03-31T23:46:44.000Z
|
angr/procedures/libc/setvbuf.py
|
Kyle-Kyle/angr
|
345b2131a7a67e3a6ffc7d9fd475146a3e12f837
|
[
"BSD-2-Clause"
] | 1,155
|
2015-08-06T23:37:39.000Z
|
2022-03-31T05:54:11.000Z
|
import angr
class setvbuf(angr.SimProcedure):
def run(self, stream, buf, type_, size):
return 0
| 18.166667
| 44
| 0.669725
| 15
| 109
| 4.8
| 0.933333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.011905
| 0.229358
| 109
| 5
| 45
| 21.8
| 0.845238
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 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
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
6b7f71ca34f365255fcb346d72fcc8edbf289a3b
| 93
|
py
|
Python
|
podstrony/apps.py
|
ArminD93/Django_test
|
1f1de5976a1a8a46b7183200a22ef34500cdf1ee
|
[
"MIT"
] | null | null | null |
podstrony/apps.py
|
ArminD93/Django_test
|
1f1de5976a1a8a46b7183200a22ef34500cdf1ee
|
[
"MIT"
] | 6
|
2019-10-31T14:09:52.000Z
|
2021-04-12T21:17:02.000Z
|
podstrony/apps.py
|
ArminD93/Django_test
|
1f1de5976a1a8a46b7183200a22ef34500cdf1ee
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class PodstronyConfig(AppConfig):
name = 'podstrony'
| 15.5
| 33
| 0.763441
| 10
| 93
| 7.1
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 93
| 5
| 34
| 18.6
| 0.910256
| 0
| 0
| 0
| 0
| 0
| 0.096774
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
6b8528a6311dd8c9d7d8cb2e04442a68e44c16ec
| 46
|
py
|
Python
|
petal/__init__.py
|
gidoBOSSftw5731/petal
|
5d04796d9b74adfe8c022024945f6d0481f974ea
|
[
"MIT"
] | null | null | null |
petal/__init__.py
|
gidoBOSSftw5731/petal
|
5d04796d9b74adfe8c022024945f6d0481f974ea
|
[
"MIT"
] | null | null | null |
petal/__init__.py
|
gidoBOSSftw5731/petal
|
5d04796d9b74adfe8c022024945f6d0481f974ea
|
[
"MIT"
] | null | null | null |
from .petal import Petal
__all__ = ["Petal"]
| 11.5
| 24
| 0.695652
| 6
| 46
| 4.666667
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173913
| 46
| 3
| 25
| 15.333333
| 0.736842
| 0
| 0
| 0
| 0
| 0
| 0.108696
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
6b91473adaa0d54ec3df16837118bb8c64722382
| 227
|
py
|
Python
|
users/views.py
|
digitaloxford/do-wagtail
|
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
|
[
"MIT"
] | 2
|
2021-04-11T11:59:51.000Z
|
2021-04-12T06:56:23.000Z
|
users/views.py
|
digitaloxford/do-wagtail
|
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
|
[
"MIT"
] | 8
|
2021-04-10T10:40:27.000Z
|
2022-01-25T16:32:22.000Z
|
users/views.py
|
digitaloxford/do-wagtail
|
49dd75b95109ebb38bf66aca13d3fdeb8e25d319
|
[
"MIT"
] | null | null | null |
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
from django.views import generic
from . import models
def profile_view(request):
return render(request, "users/profile.html")
| 22.7
| 57
| 0.806167
| 31
| 227
| 5.83871
| 0.645161
| 0.165746
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123348
| 227
| 9
| 58
| 25.222222
| 0.909548
| 0
| 0
| 0
| 0
| 0
| 0.079295
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.666667
| 0.166667
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 4
|
6b9b875fc942d57331cb053f791fdadd062c380c
| 515
|
py
|
Python
|
src/handlers/os.py
|
rodones/daemon
|
5bcc680962274390ab1a7ca36eb3a621d4a2144d
|
[
"BSD-3-Clause"
] | null | null | null |
src/handlers/os.py
|
rodones/daemon
|
5bcc680962274390ab1a7ca36eb3a621d4a2144d
|
[
"BSD-3-Clause"
] | null | null | null |
src/handlers/os.py
|
rodones/daemon
|
5bcc680962274390ab1a7ca36eb3a621d4a2144d
|
[
"BSD-3-Clause"
] | null | null | null |
from core.handler import handle
import os
from datetime import datetime
import psutil
@handle("os/name")
def get_name():
return os.uname().nodename
@handle("os/kernel")
def get_kernel():
return os.uname().release
@handle("os/user")
def get_user():
return psutil.Process().username()
@handle("os/boottime")
def get_boottime():
return datetime.fromtimestamp(psutil.boot_time()).strftime("%Y-%m-%d %H:%M:%S")
@handle("os/processes")
def get_processes():
return psutil.Process().as_dict()
| 17.166667
| 83
| 0.699029
| 73
| 515
| 4.835616
| 0.438356
| 0.113314
| 0.073654
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.132039
| 515
| 29
| 84
| 17.758621
| 0.789709
| 0
| 0
| 0
| 0
| 0
| 0.12233
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.263158
| true
| 0
| 0.210526
| 0.263158
| 0.736842
| 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
| 0
| 1
| 1
| 0
|
0
| 4
|
6bc370acc905253ff8d26ccf15fd3f3f085e6141
| 110
|
py
|
Python
|
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
|
rsouvik/bitblue
|
a205fb77695a26512c7eb9ba33a7379f246ec357
|
[
"MIT"
] | 4
|
2019-12-08T21:02:32.000Z
|
2020-08-06T12:14:37.000Z
|
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
|
rsouvik/bitblue
|
a205fb77695a26512c7eb9ba33a7379f246ec357
|
[
"MIT"
] | 5
|
2021-02-20T02:41:55.000Z
|
2021-06-01T20:04:08.000Z
|
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
|
rsouvik/bitblue
|
a205fb77695a26512c7eb9ba33a7379f246ec357
|
[
"MIT"
] | 7
|
2019-10-07T23:53:49.000Z
|
2021-11-23T18:26:30.000Z
|
__base_version__ = "1.0"
__post_version__ = "137"
__gitversion__ = "9e8e29af9b9a922eb114b2c716205d0772946e56"
| 27.5
| 59
| 0.827273
| 9
| 110
| 8.555556
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.326733
| 0.081818
| 110
| 3
| 60
| 36.666667
| 0.435644
| 0
| 0
| 0
| 0
| 0
| 0.418182
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6bcf37239c800dc8e2d66410da87a160446a390a
| 296
|
py
|
Python
|
robot/Cumulus/resources/BaseObjects.py
|
SFDO-Alliances/NPSP
|
3711a3cf8e3124bc2d7e61644d6abecb4042004e
|
[
"BSD-3-Clause"
] | 413
|
2015-01-02T09:53:04.000Z
|
2019-12-05T15:31:25.000Z
|
robot/Cumulus/resources/BaseObjects.py
|
SFDO-Alliances/NPSP
|
3711a3cf8e3124bc2d7e61644d6abecb4042004e
|
[
"BSD-3-Clause"
] | 2,471
|
2015-01-02T03:33:55.000Z
|
2019-12-13T17:55:10.000Z
|
robot/Cumulus/resources/BaseObjects.py
|
SFDO-Alliances/NPSP
|
3711a3cf8e3124bc2d7e61644d6abecb4042004e
|
[
"BSD-3-Clause"
] | 296
|
2015-01-06T13:03:33.000Z
|
2019-12-11T14:19:31.000Z
|
from robot.libraries.BuiltIn import BuiltIn
class BaseNPSPPage:
@property
def npsp(self):
return self.builtin.get_library_instance('NPSP')
@property
def pageobjects(self):
return self.builtin.get_library_instance("cumulusci.robotframework.PageObjects")
| 24.666667
| 88
| 0.716216
| 32
| 296
| 6.5
| 0.5625
| 0.105769
| 0.134615
| 0.201923
| 0.375
| 0.375
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0.199324
| 296
| 12
| 88
| 24.666667
| 0.877637
| 0
| 0
| 0.25
| 0
| 0
| 0.13468
| 0.121212
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.125
| 0.25
| 0.75
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
6bdbc0070f7b68477be910727f103f97f2f7c5f9
| 23
|
py
|
Python
|
nerddiary/__init__.py
|
mishamsk/nerddiary
|
2d0981c5034460f353c2994347fb95a5c94a55bd
|
[
"Apache-2.0"
] | null | null | null |
nerddiary/__init__.py
|
mishamsk/nerddiary
|
2d0981c5034460f353c2994347fb95a5c94a55bd
|
[
"Apache-2.0"
] | 5
|
2022-02-20T06:10:28.000Z
|
2022-03-28T03:22:41.000Z
|
nerddiary/__init__.py
|
mishamsk/nerddiary
|
2d0981c5034460f353c2994347fb95a5c94a55bd
|
[
"Apache-2.0"
] | null | null | null |
__version__ = "0.2.2b"
| 11.5
| 22
| 0.652174
| 4
| 23
| 2.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15
| 0.130435
| 23
| 1
| 23
| 23
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0.26087
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d408bd7479135ab6ed59636c6e768556e8569655
| 133
|
py
|
Python
|
src/fritzscrapercargo.py
|
jodli/FritzScraper
|
7e96b5555a9e17d6920d08593d431df081c53f49
|
[
"MIT"
] | 5
|
2017-12-03T07:27:26.000Z
|
2020-11-05T09:58:42.000Z
|
src/fritzscrapercargo.py
|
jodli/FritzScraper
|
7e96b5555a9e17d6920d08593d431df081c53f49
|
[
"MIT"
] | null | null | null |
src/fritzscrapercargo.py
|
jodli/FritzScraper
|
7e96b5555a9e17d6920d08593d431df081c53f49
|
[
"MIT"
] | null | null | null |
import time
class FritzScraperCargo(object):
def __init__(self, cargo):
self.timestamp = time.time()
self.cargo = cargo
| 14.777778
| 32
| 0.699248
| 16
| 133
| 5.5625
| 0.625
| 0.202247
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.195489
| 133
| 8
| 33
| 16.625
| 0.831776
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
d4644f1d055899deb023c3fcbded50db465c8acd
| 29
|
py
|
Python
|
model/tests/test_gibbssampler.py
|
JonasPC/BayesFactorModel
|
7a210a8b198400d911b3269f277d4bb50106c688
|
[
"MIT"
] | null | null | null |
model/tests/test_gibbssampler.py
|
JonasPC/BayesFactorModel
|
7a210a8b198400d911b3269f277d4bb50106c688
|
[
"MIT"
] | null | null | null |
model/tests/test_gibbssampler.py
|
JonasPC/BayesFactorModel
|
7a210a8b198400d911b3269f277d4bb50106c688
|
[
"MIT"
] | null | null | null |
### Write some goddamn test
| 9.666667
| 27
| 0.689655
| 4
| 29
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.206897
| 29
| 2
| 28
| 14.5
| 0.869565
| 0.793103
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
d46a143b038029e9b4c40e27ea30ecd1cee32a8c
| 552
|
py
|
Python
|
Project/dbconnect.py
|
G00387859/DATA-REPRESENTATION-AND-QUERY
|
56490e235e393b350ec2eda8933ae3463c801be6
|
[
"MIT"
] | null | null | null |
Project/dbconnect.py
|
G00387859/DATA-REPRESENTATION-AND-QUERY
|
56490e235e393b350ec2eda8933ae3463c801be6
|
[
"MIT"
] | null | null | null |
Project/dbconnect.py
|
G00387859/DATA-REPRESENTATION-AND-QUERY
|
56490e235e393b350ec2eda8933ae3463c801be6
|
[
"MIT"
] | null | null | null |
from flask_sqlalchemy import SQLAlchemy
if __name__ == "__main__":
app.run(debug=True)
SQLALCHEMY_DATABASE_URI = "mysql+mysqlconnector://{username}:{password}@{hostname}/{databasename}".format(username="donalmaher067.mysql.pythonanywhere-services.com",password="Hollyroco@9552",hostname="donalmaher067.mysql.pythonanywhere-services.com",databasename=" donalmaher067$datarepresentation",)
app.config["SQLALCHEMY_DATABASE_URI"] = SQLALCHEMY_DATABASE_URI
app.config["SQLALCHEMY_POOL_RECYCLE"] = 299
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
| 78.857143
| 300
| 0.820652
| 60
| 552
| 7.233333
| 0.566667
| 0.124424
| 0.145161
| 0.184332
| 0.198157
| 0
| 0
| 0
| 0
| 0
| 0
| 0.030361
| 0.04529
| 552
| 7
| 301
| 78.857143
| 0.793169
| 0
| 0
| 0
| 0
| 0
| 0.533454
| 0.491863
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0.142857
| 0.142857
| 0
| 0.142857
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
d472079cf7438e4b98eb936c27d2f9a994e896f2
| 255
|
py
|
Python
|
webservice/tasks/email_tasks.py
|
geekgao/Dev_Blog_Webservice
|
a58e0f662ad98dc0b7b38cee5e50aed951f990f9
|
[
"MIT"
] | 1
|
2015-03-13T17:38:11.000Z
|
2015-03-13T17:38:11.000Z
|
webservice/tasks/email_tasks.py
|
geekgao/Dev_Blog_Webservice
|
a58e0f662ad98dc0b7b38cee5e50aed951f990f9
|
[
"MIT"
] | null | null | null |
webservice/tasks/email_tasks.py
|
geekgao/Dev_Blog_Webservice
|
a58e0f662ad98dc0b7b38cee5e50aed951f990f9
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from celery.task import task
from webservice.mail import send_reply_mail
@task
def send_email_task(receiver, title, content, did, username, diary_title):
send_reply_mail(receiver, title, content, did, username, diary_title)
| 25.5
| 74
| 0.760784
| 37
| 255
| 5.027027
| 0.513514
| 0.096774
| 0.139785
| 0.247312
| 0.44086
| 0.44086
| 0.44086
| 0
| 0
| 0
| 0
| 0.004525
| 0.133333
| 255
| 9
| 75
| 28.333333
| 0.837104
| 0.082353
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.6
| 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
| 1
| 0
|
0
| 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.