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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72e52480ffabdc893888dacc9be29a86d24e83e3
| 615
|
py
|
Python
|
hipims_io/__init__.py
|
mingxiaodong/hipims_io_python
|
10452b2e2e92b5587e89ee211f0e92d150e48f3c
|
[
"MIT"
] | 1
|
2022-03-14T12:27:14.000Z
|
2022-03-14T12:27:14.000Z
|
hipims_io/__init__.py
|
mingxiaodong/hipims_io_python
|
10452b2e2e92b5587e89ee211f0e92d150e48f3c
|
[
"MIT"
] | 1
|
2020-07-02T09:27:37.000Z
|
2020-07-02T09:35:51.000Z
|
hipims_io/__init__.py
|
mingxiaodong/hipims_io_python
|
10452b2e2e92b5587e89ee211f0e92d150e48f3c
|
[
"MIT"
] | 1
|
2020-06-30T13:11:37.000Z
|
2020-06-30T13:11:37.000Z
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
init
To do:
initialize a package
Created on Wed Apr 1 14:56:15 2020
@author: Xiaodong Ming
"""
import numpy as np
from .demo_functions import demo_input
from .demo_functions import demo_output
from .demo_functions import demo_raster
from .demo_functions import get_sample_data
from .InputHipims import InputHipims, load_input_object
from .OutputHipims import OutputHipims, load_output_object
from .indep_functions import clean_output, _dict2grid
from .indep_functions import write_times_setup, write_device_setup, write_rain_source
from .Raster import Raster
| 30.75
| 85
| 0.814634
| 92
| 615
| 5.195652
| 0.554348
| 0.188285
| 0.142259
| 0.192469
| 0.169456
| 0
| 0
| 0
| 0
| 0
| 0
| 0.025926
| 0.121951
| 615
| 20
| 86
| 30.75
| 0.859259
| 0.227642
| 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
|
72f1e571f7744c6865ca805874da9f3f4f542a85
| 169
|
py
|
Python
|
src/gbkfit/fitting/fitters/dynesty/__init__.py
|
bek0s/gbkf
|
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
|
[
"BSD-3-Clause"
] | 6
|
2016-06-26T16:52:25.000Z
|
2022-03-22T06:37:13.000Z
|
src/gbkfit/fitting/fitters/dynesty/__init__.py
|
bek0s/gbkf
|
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
|
[
"BSD-3-Clause"
] | 4
|
2016-07-30T08:11:20.000Z
|
2021-02-12T08:33:42.000Z
|
src/gbkfit/fitting/fitters/dynesty/__init__.py
|
bek0s/gbkf
|
2ef56e8554fdf7ee8136141bc16d59bd34efa6c8
|
[
"BSD-3-Clause"
] | 2
|
2015-05-18T03:21:56.000Z
|
2015-09-21T06:16:18.000Z
|
try:
import dynesty
except ModuleNotFoundError:
raise ModuleNotFoundError(
"to use the dynesty fitter, please install dynesty")
from .dynesty import *
| 18.777778
| 60
| 0.727811
| 18
| 169
| 6.833333
| 0.722222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.218935
| 169
| 8
| 61
| 21.125
| 0.931818
| 0
| 0
| 0
| 0
| 0
| 0.291667
| 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
|
f40a84500549635a3113c223f7baff67aa5cb1c3
| 161
|
py
|
Python
|
flask_blog/util/__init__.py
|
paciFIST-Studios/web
|
993503b86dd81de0fb5b854cd4d95f9cd7a80160
|
[
"MIT"
] | null | null | null |
flask_blog/util/__init__.py
|
paciFIST-Studios/web
|
993503b86dd81de0fb5b854cd4d95f9cd7a80160
|
[
"MIT"
] | 1
|
2022-03-12T01:02:31.000Z
|
2022-03-12T01:02:31.000Z
|
flask_blog/util/__init__.py
|
paciFIST-Studios/web
|
993503b86dd81de0fb5b854cd4d95f9cd7a80160
|
[
"MIT"
] | null | null | null |
import os
import json
def load_json(path):
if os.path.isfile(path):
with open(path) as infile:
return json.load(infile)
return None
| 17.888889
| 36
| 0.63354
| 24
| 161
| 4.208333
| 0.583333
| 0.237624
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.279503
| 161
| 8
| 37
| 20.125
| 0.87069
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| false
| 0
| 0.285714
| 0
| 0.714286
| 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
|
f415f1e34b760fd1539c2935b4ec24f262315299
| 66
|
py
|
Python
|
Section 22/4.2.Document-working_with_oops.py
|
airbornum/-Complete-Python-Scripting-for-Automation
|
bc053444f8786259086269ca1713bdb10144dd74
|
[
"MIT"
] | 18
|
2020-04-13T03:14:06.000Z
|
2022-03-09T18:54:41.000Z
|
Section 22/4.2.Document-working_with_oops.py
|
airbornum/-Complete-Python-Scripting-for-Automation
|
bc053444f8786259086269ca1713bdb10144dd74
|
[
"MIT"
] | null | null | null |
Section 22/4.2.Document-working_with_oops.py
|
airbornum/-Complete-Python-Scripting-for-Automation
|
bc053444f8786259086269ca1713bdb10144dd74
|
[
"MIT"
] | 22
|
2020-04-29T21:12:42.000Z
|
2022-03-17T18:19:54.000Z
|
class emp:
count=1
emp.count=emp.count+1
print(emp.count)
| 11
| 22
| 0.666667
| 12
| 66
| 3.666667
| 0.416667
| 0.727273
| 0.409091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.037736
| 0.19697
| 66
| 6
| 23
| 11
| 0.792453
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0.5
| 0.25
| 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
|
f43436e85f3ee23ece922eea93e19bb5e247be30
| 626
|
py
|
Python
|
models.py
|
mhanna15/playlist-creator
|
fc8f6af329fb10defe77b759a53de692215f23af
|
[
"MIT"
] | null | null | null |
models.py
|
mhanna15/playlist-creator
|
fc8f6af329fb10defe77b759a53de692215f23af
|
[
"MIT"
] | null | null | null |
models.py
|
mhanna15/playlist-creator
|
fc8f6af329fb10defe77b759a53de692215f23af
|
[
"MIT"
] | null | null | null |
from google.appengine.ext import ndb
class Song(ndb.Model):
mood = ndb.StringProperty(repeated = True)
genre = ndb.StringProperty(required = True)
song = ndb.StringProperty(required = True)
artist = ndb.StringProperty(required = True)
album = ndb.StringProperty(required = True)
url = ndb.StringProperty(required = True)
mood = ndb.StringProperty(repeated = True)
activity = ndb.StringProperty(repeated = True)
class User(ndb.Model):
nickname = ndb.StringProperty(required = True)
email = ndb.StringProperty(required = True)
favorites = ndb.KeyProperty(Song, repeated = True)
| 39.125
| 54
| 0.71246
| 70
| 626
| 6.371429
| 0.342857
| 0.381166
| 0.392377
| 0.455157
| 0.147982
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.182109
| 626
| 16
| 54
| 39.125
| 0.871094
| 0
| 0
| 0.142857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.071429
| 0
| 1
| 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
|
f4537105b7ce1e48bc7eaaf94152648a28bbaef7
| 70,476
|
py
|
Python
|
venv/Lib/site-packages/PyQt4/examples/widgets/stylesheet/stylesheet_rc3.py
|
prateekfxtd/ns_Startup
|
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/PyQt4/examples/widgets/stylesheet/stylesheet_rc3.py
|
prateekfxtd/ns_Startup
|
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
|
[
"MIT"
] | null | null | null |
venv/Lib/site-packages/PyQt4/examples/widgets/stylesheet/stylesheet_rc3.py
|
prateekfxtd/ns_Startup
|
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# Resource object code
#
# Created: Wed Mar 20 13:51:48 2013
# by: The Resource Compiler for PyQt (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = b"\
\x00\x00\x08\xc7\
\x2e\
\x51\x57\x69\x64\x67\x65\x74\x20\x7b\x0a\x20\x20\x20\x62\x61\x63\
\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x62\
\x65\x69\x67\x65\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x4e\x69\x63\x65\
\x20\x57\x69\x6e\x64\x6f\x77\x73\x2d\x58\x50\x2d\x73\x74\x79\x6c\
\x65\x20\x70\x61\x73\x73\x77\x6f\x72\x64\x20\x63\x68\x61\x72\x61\
\x63\x74\x65\x72\x2e\x20\x2a\x2f\x0a\x51\x4c\x69\x6e\x65\x45\x64\
\x69\x74\x5b\x65\x63\x68\x6f\x4d\x6f\x64\x65\x3d\x22\x32\x22\x5d\
\x20\x7b\x0a\x20\x20\x20\x20\x6c\x69\x6e\x65\x65\x64\x69\x74\x2d\
\x70\x61\x73\x73\x77\x6f\x72\x64\x2d\x63\x68\x61\x72\x61\x63\x74\
\x65\x72\x3a\x20\x39\x36\x37\x39\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\
\x57\x65\x20\x70\x72\x6f\x76\x69\x64\x65\x20\x61\x20\x6d\x69\x6e\
\x2d\x77\x69\x64\x74\x68\x20\x61\x6e\x64\x20\x6d\x69\x6e\x2d\x68\
\x65\x69\x67\x68\x74\x20\x66\x6f\x72\x20\x70\x75\x73\x68\x20\x62\
\x75\x74\x74\x6f\x6e\x73\x0a\x20\x20\x20\x73\x6f\x20\x74\x68\x61\
\x74\x20\x74\x68\x65\x79\x20\x6c\x6f\x6f\x6b\x20\x65\x6c\x65\x67\
\x61\x6e\x74\x20\x72\x65\x67\x61\x72\x64\x6c\x65\x73\x73\x20\x6f\
\x66\x20\x74\x68\x65\x20\x77\x69\x64\x74\x68\x20\x6f\x66\x20\x74\
\x68\x65\x20\x74\x65\x78\x74\x2e\x20\x2a\x2f\x0a\x51\x50\x75\x73\
\x68\x42\x75\x74\x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\
\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\
\x70\x61\x6c\x65\x67\x6f\x6c\x64\x65\x6e\x72\x6f\x64\x3b\x0a\x20\
\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\
\x20\x32\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\
\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x64\x61\x72\x6b\x6b\x68\x61\x6b\
\x69\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\
\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\
\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\
\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x33\
\x70\x78\x3b\x0a\x20\x20\x20\x20\x6d\x69\x6e\x2d\x77\x69\x64\x74\
\x68\x3a\x20\x39\x65\x78\x3b\x0a\x20\x20\x20\x20\x6d\x69\x6e\x2d\
\x68\x65\x69\x67\x68\x74\x3a\x20\x32\x2e\x35\x65\x78\x3b\x0a\x7d\
\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x3a\x68\x6f\
\x76\x65\x72\x20\x7b\x0a\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\
\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x6b\x68\x61\x6b\x69\
\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x49\x6e\x63\x72\x65\x61\x73\x65\
\x20\x74\x68\x65\x20\x70\x61\x64\x64\x69\x6e\x67\x2c\x20\x73\x6f\
\x20\x74\x68\x65\x20\x74\x65\x78\x74\x20\x69\x73\x20\x73\x68\x69\
\x66\x74\x65\x64\x20\x77\x68\x65\x6e\x20\x74\x68\x65\x20\x62\x75\
\x74\x74\x6f\x6e\x20\x69\x73\x0a\x20\x20\x20\x70\x72\x65\x73\x73\
\x65\x64\x2e\x20\x2a\x2f\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\
\x6f\x6e\x3a\x70\x72\x65\x73\x73\x65\x64\x20\x7b\x0a\x20\x20\x20\
\x20\x70\x61\x64\x64\x69\x6e\x67\x2d\x6c\x65\x66\x74\x3a\x20\x35\
\x70\x78\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x2d\
\x74\x6f\x70\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x61\
\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\
\x23\x64\x30\x64\x36\x37\x63\x3b\x0a\x7d\x0a\x0a\x51\x4c\x61\x62\
\x65\x6c\x2c\x20\x51\x41\x62\x73\x74\x72\x61\x63\x74\x42\x75\x74\
\x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x3a\x20\
\x62\x6f\x6c\x64\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x4d\x61\x72\x6b\
\x20\x6d\x61\x6e\x64\x61\x74\x6f\x72\x79\x20\x66\x69\x65\x6c\x64\
\x73\x20\x77\x69\x74\x68\x20\x61\x20\x62\x72\x6f\x77\x6e\x69\x73\
\x68\x20\x63\x6f\x6c\x6f\x72\x2e\x20\x2a\x2f\x0a\x2e\x6d\x61\x6e\
\x64\x61\x74\x6f\x72\x79\x20\x7b\x0a\x20\x20\x20\x20\x63\x6f\x6c\
\x6f\x72\x3a\x20\x62\x72\x6f\x77\x6e\x3b\x0a\x7d\x0a\x0a\x2f\x2a\
\x20\x42\x6f\x6c\x64\x20\x74\x65\x78\x74\x20\x6f\x6e\x20\x73\x74\
\x61\x74\x75\x73\x20\x62\x61\x72\x20\x6c\x6f\x6f\x6b\x73\x20\x61\
\x77\x66\x75\x6c\x2e\x20\x2a\x2f\x0a\x51\x53\x74\x61\x74\x75\x73\
\x42\x61\x72\x20\x51\x4c\x61\x62\x65\x6c\x20\x7b\x0a\x20\x20\x20\
\x66\x6f\x6e\x74\x3a\x20\x6e\x6f\x72\x6d\x61\x6c\x3b\x0a\x7d\x0a\
\x0a\x51\x53\x74\x61\x74\x75\x73\x42\x61\x72\x3a\x3a\x69\x74\x65\
\x6d\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\
\x69\x64\x74\x68\x3a\x20\x31\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\
\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x64\x61\x72\x6b\x6b\
\x68\x61\x6b\x69\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\
\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\
\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\
\x3a\x20\x32\x3b\x0a\x7d\x0a\x0a\x51\x43\x6f\x6d\x62\x6f\x42\x6f\
\x78\x2c\x20\x51\x4c\x69\x6e\x65\x45\x64\x69\x74\x2c\x20\x51\x53\
\x70\x69\x6e\x42\x6f\x78\x2c\x20\x51\x54\x65\x78\x74\x45\x64\x69\
\x74\x2c\x20\x51\x4c\x69\x73\x74\x56\x69\x65\x77\x20\x7b\x0a\x20\
\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\
\x6c\x6f\x72\x3a\x20\x63\x6f\x72\x6e\x73\x69\x6c\x6b\x3b\x0a\x20\
\x20\x20\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x2d\x63\x6f\x6c\
\x6f\x72\x3a\x20\x23\x30\x61\x32\x31\x34\x63\x3b\x20\x0a\x20\x20\
\x20\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x2d\x62\x61\x63\x6b\
\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x43\
\x31\x39\x41\x36\x42\x3b\x0a\x7d\x0a\x0a\x51\x4c\x69\x73\x74\x56\
\x69\x65\x77\x20\x7b\x0a\x20\x20\x20\x20\x73\x68\x6f\x77\x2d\x64\
\x65\x63\x6f\x72\x61\x74\x69\x6f\x6e\x2d\x73\x65\x6c\x65\x63\x74\
\x65\x64\x3a\x20\x31\x3b\x0a\x7d\x0a\x0a\x51\x4c\x69\x73\x74\x56\
\x69\x65\x77\x3a\x3a\x69\x74\x65\x6d\x3a\x68\x6f\x76\x65\x72\x20\
\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\
\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x65\x61\x74\x3b\x0a\x7d\
\x0a\x0a\x2f\x2a\x20\x57\x65\x20\x72\x65\x73\x65\x72\x76\x65\x20\
\x31\x20\x70\x69\x78\x65\x6c\x20\x73\x70\x61\x63\x65\x20\x69\x6e\
\x20\x70\x61\x64\x64\x69\x6e\x67\x2e\x20\x57\x68\x65\x6e\x20\x77\
\x65\x20\x67\x65\x74\x20\x74\x68\x65\x20\x66\x6f\x63\x75\x73\x2c\
\x0a\x20\x20\x20\x77\x65\x20\x6b\x69\x6c\x6c\x20\x74\x68\x65\x20\
\x70\x61\x64\x64\x69\x6e\x67\x20\x61\x6e\x64\x20\x65\x6e\x6c\x61\
\x72\x67\x65\x20\x74\x68\x65\x20\x62\x6f\x72\x64\x65\x72\x2e\x20\
\x54\x68\x69\x73\x20\x6d\x61\x6b\x65\x73\x20\x74\x68\x65\x20\x69\
\x74\x65\x6d\x73\x0a\x20\x20\x20\x67\x6c\x6f\x77\x2e\x20\x2a\x2f\
\x0a\x51\x4c\x69\x6e\x65\x45\x64\x69\x74\x2c\x20\x51\x46\x72\x61\
\x6d\x65\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\
\x77\x69\x64\x74\x68\x3a\x20\x32\x70\x78\x3b\x0a\x20\x20\x20\x20\
\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\
\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\
\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\
\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x64\x61\x72\x6b\x6b\x68\x61\
\x6b\x69\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\
\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x7d\x0a\x0a\x2f\
\x2a\x20\x41\x73\x20\x6d\x65\x6e\x74\x69\x6f\x6e\x65\x64\x20\x61\
\x62\x6f\x76\x65\x2c\x20\x65\x6c\x69\x6d\x69\x6e\x61\x74\x65\x20\
\x74\x68\x65\x20\x70\x61\x64\x64\x69\x6e\x67\x20\x61\x6e\x64\x20\
\x69\x6e\x63\x72\x65\x61\x73\x65\x20\x74\x68\x65\x20\x62\x6f\x72\
\x64\x65\x72\x2e\x20\x2a\x2f\x0a\x51\x4c\x69\x6e\x65\x45\x64\x69\
\x74\x3a\x66\x6f\x63\x75\x73\x2c\x20\x51\x46\x72\x61\x6d\x65\x3a\
\x66\x6f\x63\x75\x73\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\
\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x33\x70\x78\x3b\x0a\x20\
\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x30\x70\x78\x3b\
\x0a\x7d\x0a\x0a\x2f\x2a\x20\x41\x20\x51\x4c\x61\x62\x65\x6c\x20\
\x69\x73\x20\x61\x20\x51\x46\x72\x61\x6d\x65\x20\x2e\x2e\x2e\x20\
\x2a\x2f\x0a\x51\x4c\x61\x62\x65\x6c\x20\x7b\x0a\x20\x20\x20\x20\
\x62\x6f\x72\x64\x65\x72\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x20\x20\
\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x30\x3b\x0a\x20\x20\
\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x6e\x6f\
\x6e\x65\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x41\x20\x51\x54\x6f\x6f\
\x6c\x54\x69\x70\x20\x69\x73\x20\x61\x20\x51\x4c\x61\x62\x65\x6c\
\x20\x2e\x2e\x2e\x20\x2a\x2f\x0a\x51\x54\x6f\x6f\x6c\x54\x69\x70\
\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x32\
\x70\x78\x20\x73\x6f\x6c\x69\x64\x20\x64\x61\x72\x6b\x6b\x68\x61\
\x6b\x69\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\
\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\
\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x33\x70\x78\x3b\x0a\x20\x20\
\x20\x20\x6f\x70\x61\x63\x69\x74\x79\x3a\x20\x32\x30\x30\x3b\x0a\
\x7d\x0a\x0a\x2f\x2a\x20\x4e\x69\x63\x65\x20\x74\x6f\x20\x68\x61\
\x76\x65\x20\x74\x68\x65\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\
\x64\x20\x63\x6f\x6c\x6f\x72\x20\x63\x68\x61\x6e\x67\x65\x20\x77\
\x68\x65\x6e\x20\x68\x6f\x76\x65\x72\x65\x64\x2e\x20\x2a\x2f\x0a\
\x51\x52\x61\x64\x69\x6f\x42\x75\x74\x74\x6f\x6e\x3a\x68\x6f\x76\
\x65\x72\x2c\x20\x51\x43\x68\x65\x63\x6b\x42\x6f\x78\x3a\x68\x6f\
\x76\x65\x72\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\
\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x65\x61\
\x74\x3b\x0a\x7d\x0a\x0a\x2f\x2a\x20\x46\x6f\x72\x63\x65\x20\x74\
\x68\x65\x20\x64\x69\x61\x6c\x6f\x67\x27\x73\x20\x62\x75\x74\x74\
\x6f\x6e\x73\x20\x74\x6f\x20\x66\x6f\x6c\x6c\x6f\x77\x20\x74\x68\
\x65\x20\x57\x69\x6e\x64\x6f\x77\x73\x20\x67\x75\x69\x64\x65\x6c\
\x69\x6e\x65\x73\x2e\x20\x2a\x2f\x0a\x51\x44\x69\x61\x6c\x6f\x67\
\x42\x75\x74\x74\x6f\x6e\x42\x6f\x78\x20\x7b\x0a\x20\x20\x20\x20\
\x62\x75\x74\x74\x6f\x6e\x2d\x6c\x61\x79\x6f\x75\x74\x3a\x20\x30\
\x3b\x0a\x7d\x0a\x0a\x0a\
\x00\x00\x00\x17\
\x2f\
\x2a\x20\x65\x6d\x70\x74\x79\x20\x73\x74\x79\x6c\x65\x73\x68\x65\
\x65\x74\x20\x2a\x2f\x0a\
\x00\x00\x06\xb0\
\x00\
\x00\x1a\x79\x78\x9c\xa5\x59\x6d\x6f\xdb\x36\x10\xfe\xee\x5f\x71\
\xe8\x3e\xa4\x4d\xe3\xbc\xb5\x4e\x51\x05\x1d\xd0\x14\x5b\x31\xa0\
\xd9\xea\x25\x58\x07\x14\x45\x40\x49\xb4\x4d\x44\x16\x05\x92\x8a\
\xe3\x6d\xfd\xef\xbb\xe3\x8b\x2c\x59\x92\x5f\xd2\x02\x2d\x2c\xea\
\x78\x2f\xcf\x3d\x3c\xde\xa9\x27\x87\xf0\xa1\xd4\x46\xce\xc5\x3f\
\x1c\x58\xbe\x84\x22\x63\x22\x87\x85\x48\xa7\xdc\x80\x99\x31\x03\
\x42\x03\x83\x64\x26\xb2\x14\xe4\x04\x7f\x8e\xaf\x51\xe2\x8b\xc8\
\x53\xb9\x38\x86\xc3\x93\x41\xed\x19\x7e\x86\xe3\xf1\x17\xb7\xf7\
\xdf\x01\xe0\x9f\x98\x25\xf7\x53\x25\xcb\x3c\x1d\x26\x32\x93\x2a\
\x82\x29\x4a\xeb\x58\x2a\x79\xb9\x2e\x20\xe6\x6c\xca\x23\x28\x55\
\xf6\x3c\x3a\xb1\x0f\xfa\xa4\xc0\x7f\x27\x32\x4b\x8f\x8b\x7c\xfa\
\xa2\xb5\xa3\x90\x5a\x18\x21\xf3\x08\x8c\x2c\x40\x89\xe9\xcc\xb4\
\x64\x14\x2f\x38\x33\x11\xe4\xd2\xff\x1c\x7c\x1f\x0c\x4e\x0e\xe1\
\xb3\x92\x0f\x22\xc5\xa0\xa1\x60\x69\x2a\xf2\x29\x4c\xa4\xc2\x88\
\x39\x64\x6c\x29\x4b\x8c\x3b\xd7\xf4\x9e\x56\x26\x8a\xcd\xf9\x31\
\xdc\x86\x9f\x64\x83\x3f\x0a\x6d\x34\xc8\x3c\x5b\xa2\x75\x28\x7a\
\xd5\xa1\x6b\x43\xeb\x1a\xd8\x98\x8e\x40\x4b\x58\x78\x15\x45\x26\
\x12\x61\x50\x43\x2a\x34\x8b\x33\x67\x0d\xc1\x49\xb9\xb2\xd8\xfe\
\x34\x47\xb4\x7e\x25\x93\x1e\x4f\xaf\xdc\x29\x8c\xe0\xd5\x69\xf1\
\xe8\x23\xb6\x9b\x86\xda\x2c\x33\x4e\xc1\xe6\xbc\xb1\xee\xb1\xb5\
\xeb\x80\xd1\x6b\x91\x27\x1c\xdd\x00\x8d\xa9\x62\x0d\x29\x88\x79\
\x86\xa9\x44\xeb\x0e\xa8\x95\x0b\x0b\x99\x1f\x18\x98\xb1\x07\xf2\
\x13\x69\xd1\xd8\x55\x69\xa4\xf7\x6b\xd1\x91\x11\x61\x08\xa6\x03\
\xf2\xe0\x00\x4a\x4d\x08\x31\x98\x4b\x85\x3b\x0b\x9e\x88\x89\x48\
\x50\x2c\xe3\x89\x91\x2e\xf4\xb1\xb5\x79\x04\xe3\x4f\x22\xe7\xbf\
\xa4\xc2\xe0\xcf\x0f\x72\x1e\xcb\x2b\xf9\xf8\x95\xe3\x33\xe1\xf5\
\xee\x99\x51\x25\x7f\xf6\x0d\xdf\xdd\x14\x22\xc7\x57\x81\x77\x8d\
\xb0\x1b\x94\x72\xc9\x24\x3e\xc1\xeb\x06\x46\x48\x7a\x33\x43\x4c\
\x2f\x29\xf0\xf1\x27\x86\x38\x34\xb4\x6d\x81\xb5\x9e\x9f\x08\x4e\
\xd7\x89\x18\xa4\x1c\xa8\xd7\xec\x1e\x41\xe4\x8f\x44\x33\x98\x73\
\xad\x2d\xf0\xf2\x91\x6b\x8f\x02\x45\xe7\x8f\x97\x7b\xbb\x8a\x0d\
\xb7\x23\x26\xf7\xfa\x7d\x92\xe0\x2b\x81\x82\x57\xcb\x6b\x59\x6a\
\x0e\xff\xc1\x2d\xaa\xbc\xa9\x14\x84\x75\x54\x43\x1b\xbd\x1d\x34\
\x33\x24\xd3\x43\x91\x1b\xae\x58\x42\x27\x68\x38\xc9\xd8\x54\x47\
\x30\x22\x07\x51\x94\x7c\xbc\xb1\x15\x80\x7b\x87\x50\x08\xec\x11\
\xd6\x96\xd9\x2c\xcb\x7c\x95\xd0\xce\xcd\xc6\xb1\xaf\xb6\x84\x53\
\x1f\x67\x08\xc4\xe5\xda\xbb\x76\x71\xb8\x11\xd9\x03\x57\x4e\xae\
\xb9\xb3\x0e\x1b\xfa\xc4\x73\x23\x90\x3a\x0a\x89\xea\xf4\xf1\x94\
\x90\x14\x86\xcf\xe1\x41\xf0\x85\x77\xea\x7d\xac\x0d\x45\xf8\x1b\
\xae\xff\x85\xcb\xc1\xbd\x99\x5c\x0c\x53\x9e\x48\xc5\xac\x23\x41\
\x45\x04\x67\xc1\xd2\xef\x02\xd9\xec\xaa\x9a\xfe\xfb\xb3\x3b\x57\
\x98\x5d\xad\x17\x98\x79\x2c\x87\x8c\xd4\x72\x65\xb1\xa8\x96\x33\
\xa4\x2a\x10\x37\xbd\xf9\x40\xdd\xaf\x3c\x99\xc9\x6b\x99\x22\x5f\
\xcf\x9f\x7d\xf3\x4e\x90\x30\xc9\x0e\xc3\xf6\x61\xa5\x35\x82\xb7\
\x17\x6f\xde\x06\x57\x56\x05\xda\x48\x99\x19\x51\x78\xed\xb7\xf8\
\x74\x2b\x8a\xde\x4a\xab\xa6\xf1\xf3\xf3\xd3\xd3\x23\xfb\x77\x34\
\x7a\xd1\x60\xae\x97\x49\x99\xba\xd7\x19\x33\x7c\xaa\xd8\xb2\xeb\
\x34\x9c\x75\x17\x18\x2d\x33\x91\xae\x51\xfe\x55\x10\x9d\xc8\x1c\
\x6b\x53\x8c\x65\xbb\xb1\x55\xb1\x54\x94\xba\x26\x27\x0b\x86\xf5\
\x61\x19\x01\x7a\xd8\x0e\x96\xc4\x25\xc4\xa5\x31\x32\x77\x11\x0f\
\xc6\x7f\xd2\xda\x95\x5d\x0a\xa9\x24\x1d\x64\x7d\x44\x5a\xbf\x37\
\x65\xa2\x08\x13\x28\x12\x86\x35\xc5\x8b\x87\xa8\x2a\x1f\x66\xdc\
\x55\x52\xb7\xd2\xbf\x3f\x8a\xca\x3c\x99\xf1\xe4\x1e\x89\xe6\x54\
\x75\xd5\x16\xeb\xb3\x73\xf9\xae\x92\xf7\x77\xd7\x06\xdd\x95\x68\
\x34\x93\xc8\xff\x7d\x0d\xdc\xd9\x5d\xfb\x98\x29\x14\x96\x82\xfd\
\x23\xb9\xf3\xfb\xb6\x9b\x8a\xf6\xc3\x6a\x67\xa4\x9e\x82\xd3\x9e\
\x28\x3d\x0d\xa3\x5e\x84\x1a\x9c\x66\x0a\x2b\x96\x27\xf3\x61\x14\
\x61\x71\xc9\x87\x76\xed\x08\xf0\x71\xce\xf3\x72\xb8\xce\xd8\x2e\
\xc3\xb4\xef\xce\xee\xab\xf5\x45\x9e\xda\x6f\xd6\x99\xfd\xc6\x13\
\xbb\x61\x2f\xf2\x0d\x47\x6a\x0d\xd7\xd6\xe5\x64\xe2\x0c\x6f\xb6\
\x7b\x17\xf6\xaf\x02\x45\x3d\x65\xe1\xb4\x6c\x70\xbd\x2c\x9e\xe2\
\x78\x50\xdc\x74\xbb\x5a\xdd\xe8\x74\xb0\xd8\xe1\x72\x23\x37\x45\
\xa9\x67\xa1\xdc\x60\x2b\x8c\x45\x9e\xba\x0d\x7b\x27\x1f\xc3\x1f\
\xa5\x02\xc5\x59\x3a\xb4\xfd\x5e\x78\x63\x4d\x6a\x40\x5a\x61\x8f\
\x23\xe6\x22\x63\x8a\x9a\x1c\x56\xd7\x65\xfb\x3d\xbc\xb2\x50\x02\
\xcb\xbb\xbb\xbd\x34\x75\x53\xae\x2a\x3a\x97\x7d\x79\xfb\x8c\xdb\
\x1a\xd5\x6d\x2e\xf2\x50\x88\x5f\xf3\xb9\xa3\xed\x4a\xa8\xbb\x23\
\x9a\xb0\x4c\x53\x4b\x34\xe8\x6f\x97\x30\xe3\x0a\xbb\x52\x4a\xe7\
\xf6\x7e\x89\x62\x71\xa1\xb8\xa6\x69\xd4\x75\x4d\x8c\xd6\x7d\x73\
\x27\x74\xa3\x87\x5e\x64\x37\x3f\x2b\x7d\xd7\x78\x48\xae\x18\x56\
\x18\xba\xeb\x1b\x75\x60\xa7\x18\x6a\x55\x60\xd7\x48\xfc\x91\xde\
\x1c\x0b\x66\x63\xc7\x40\x6c\xde\x9a\x51\xc8\xbd\xd2\xd0\xa8\x31\
\x9b\x82\x68\x5e\xa7\x2d\xf6\xf2\x70\xab\xf6\x87\xb5\x36\x75\x64\
\x7c\x62\x6a\xf7\xf7\xda\x30\x72\x4e\xc3\x88\x1d\x2e\xf0\x4e\xe6\
\xd5\xfc\xe3\x2a\x82\x1b\x27\x36\x21\xd8\xe2\xa4\x2e\xe3\x04\x3b\
\x09\x25\xb3\xa1\x44\x13\x02\xc7\x3c\x6f\xf1\x72\xfd\x7d\xef\x20\
\x18\xee\xfb\xd1\x5a\x1b\x43\x91\x74\xf4\x32\xf5\xb7\xb5\x0e\xa9\
\xd5\x1c\x59\x81\x7a\x87\xb4\x35\xb6\xaa\xc2\xf6\x07\x47\xcf\xd8\
\xd7\x6e\x08\x2e\xe1\xd4\xb1\x7b\xf0\xab\x55\xc5\xb1\x81\x13\x0f\
\x7e\x02\x71\x39\x3a\xf3\xa9\x38\x83\x42\x3c\xe2\x1c\x43\xd8\x5a\
\x68\x7d\xd5\xa9\xa6\x3b\x9a\x69\x03\x21\x7c\xaa\x04\x4d\xb5\xb0\
\x98\xf1\xdc\xe6\xaf\x90\x45\x59\xd8\xc5\x82\xe7\xae\xf3\xdc\x2d\
\xd2\x15\xad\xfb\x7c\xc5\x64\xd5\x3a\x4c\xe7\xf9\xb9\x87\xb3\x41\
\xde\x60\x67\x27\xee\xba\x23\xd7\x3d\x30\x9f\x5d\x6c\xc8\x56\x5f\
\x71\xec\xc8\x95\x83\x71\x7f\x1e\xae\xce\x4e\x25\xc9\x62\x24\x60\
\x69\xea\x90\x9c\xaf\xd8\x8a\x07\x7e\x5e\x5b\x08\x47\x6d\x9f\x28\
\xf6\xab\xb0\x3b\x57\xb1\x66\xc9\xf2\x01\xda\x12\x00\x7d\x47\xe5\
\x95\x67\xe5\x82\x03\xcd\x3e\xee\xe3\x09\x09\xb8\xfb\xd6\xb2\x1b\
\x33\xa6\xcc\x8a\x9f\x37\x33\x31\x31\xb5\x3a\x62\x69\x29\xcc\xc1\
\x16\x3a\x56\x0e\xff\x20\x1b\xcf\xba\xd8\x68\x7b\x3d\x58\xb1\x70\
\xfc\x81\x16\x56\x03\x7a\x7b\x26\x09\x02\x4f\x1a\x48\x3a\x36\xef\
\x34\x8c\x58\x09\xf4\xb2\x73\x12\xd9\xa8\x74\x6b\x7b\xdd\x56\xdd\
\xea\xae\x37\x1b\xd8\xde\x5c\x77\x98\x68\x4f\x1f\x5d\x46\xf6\x00\
\x66\x37\x58\xf6\x06\x65\x1f\x48\x9e\x00\xc8\x6e\xa3\x86\xed\x33\
\xe9\xc7\x54\x89\xc2\xd1\xf4\x06\x1f\x3f\xaa\xea\x8b\x41\x97\x11\
\xda\x61\x37\xb4\xda\x73\x57\x39\x1b\x0c\xbd\xe8\x3a\x1c\x64\x97\
\x06\x19\x88\x99\x0a\x1f\xb0\x6c\xaf\xd3\xd9\xe2\xb4\xbe\xa8\xf5\
\x7d\xc0\xec\xf9\x1c\xe1\x0a\x64\xff\x4d\xee\xdf\xf7\x7f\xed\xa8\
\xbe\x5e\x74\xde\x3b\xba\x10\x39\xd4\xaf\x9b\xea\x2b\x23\x74\xde\
\x2e\xd5\x81\xf7\x72\x76\x46\x89\x1b\xdf\x2b\x7e\xec\x2e\x69\x65\
\xc4\x5e\xf2\x17\xf0\x12\xce\x0f\x11\x9b\x06\x5a\xf0\xce\x3a\x54\
\x7d\x90\x7e\x49\xf5\x97\xca\x2b\xd6\xd9\x5a\x1f\xb0\xa5\xef\x24\
\x08\x4a\xc7\x07\xfa\x3a\xd6\x93\x92\xee\x98\x77\x6d\xcf\x9d\x8d\
\x7a\x6b\x7e\xd6\xab\xb2\x79\x50\xb6\x2b\x6d\x34\xcb\xeb\x6a\xed\
\xf5\xf0\xc3\xf9\x71\x24\xeb\x4d\xd1\x2e\x8e\x92\x23\xdb\x30\xae\
\x2d\xd3\xff\x29\x84\x1b\xb7\x3f\xa4\x7d\xe0\xb7\xa3\xfd\x86\x04\
\xd4\xd5\xee\x95\x02\xab\xb8\x9d\x84\xff\x01\xe3\xe9\xc7\xaf\
\x00\x00\x01\x40\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xd2\x49\x44\x41\x54\x28\xcf\x95\
\x92\xbf\x0e\x82\x30\x10\xc6\xdb\xeb\x81\xc6\xc4\x84\xc4\x97\xd5\
\x8d\x8d\x77\x60\x72\xe2\xc1\x74\xe8\xe0\xa0\x0b\x05\x93\xfe\xf1\
\x8a\x50\x8b\x65\x80\x4b\x8e\xbb\xa4\xdf\xaf\xd7\x7e\x14\xeb\xba\
\x3e\x33\xc6\x4a\xb6\x3e\x4a\xa4\x4f\xc5\xb6\x45\x85\x53\x77\x2a\
\x8a\x06\x11\x5f\x00\xd0\x0d\xc9\x79\xa8\x9c\x73\xa5\xb5\xe6\x37\
\x29\xaf\x5e\x1b\xa0\x2c\xcf\x1f\xbb\x2c\x7b\x0a\x21\x14\x02\x28\
\x5f\x87\x04\x68\x7d\x55\x5d\x07\x93\x36\x40\x48\xbb\xa1\x10\xed\
\x28\x9c\x01\x3e\x49\x22\x12\x08\xbe\x8b\xad\x88\xa6\x8c\x13\x07\
\xd0\x39\x87\x29\x44\xbb\x62\x0c\x45\x80\xef\x49\x72\x48\xa0\x20\
\x5a\x38\x1a\x99\x61\x62\xfb\xe2\x49\x33\x21\x8e\x3d\x39\x67\xff\
\x3d\xff\x41\x73\x23\x26\xc0\x2d\xfd\xa8\x00\xa9\xbe\xcf\xb5\x31\
\x7b\xba\xb0\x35\xd6\x3a\x1e\xdd\xc1\x47\xff\x7e\x1f\x13\xe8\x2e\
\x65\xb3\xf6\x49\x78\xe8\xb2\xf5\xed\x7d\x00\xca\xd1\x62\xc7\x6e\
\x2e\xe9\x88\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x01\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x00\x00\x00\x13\x08\x06\x00\x00\x00\xd6\x3a\x8e\x1f\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\x93\x49\x44\x41\x54\x48\xc7\xd5\
\x97\xcd\x6a\x5a\x51\x14\x85\xd7\xf6\x1e\xbc\xde\xdb\x0e\xfa\x63\
\x48\x0c\x29\x38\xed\x13\xa4\x83\x0e\xda\x52\x3a\xc9\x28\x8f\x62\
\x90\xbc\x40\x86\x39\xd0\x99\xb3\xe4\x09\x4a\xfb\x00\x0e\x04\x07\
\x1d\x54\x0a\x15\x9c\x16\xa1\x52\xd0\x4a\xa1\xc4\xe3\xd5\xa3\xb8\
\x57\x06\xb9\x4a\x7d\x83\x7b\x16\xec\xf9\xda\xac\xf5\x6d\xce\x11\
\x92\xb0\xd6\xbe\x10\x91\x8f\x00\xde\x92\x7c\x86\xe2\x8a\x25\x91\
\x9f\x4a\xde\x00\xb8\x6e\x36\x9b\x1b\x63\xad\xad\x0b\xd0\x4f\x93\
\x8a\xa9\x9f\x1c\x67\x71\x5c\x9e\x14\xd7\x3e\xf0\x6f\x36\xab\x0e\
\x7f\xfd\xbe\x02\x70\x0a\xe0\x5c\xac\xb5\x5f\xd2\xa4\xf2\xe1\xfd\
\xeb\xd3\x71\x14\x45\x04\x00\x92\x28\xb2\x26\xd3\xbf\xc9\xd7\xef\
\xfd\x1a\x80\x33\x03\xe0\x4d\xfd\xe4\x38\x8b\xa2\x88\x24\x45\x49\
\x41\xc1\x17\x38\x78\xfe\xd4\x3f\x4a\x93\x6c\x9e\x2d\xde\x19\x92\
\x4f\x92\xa4\x32\xde\x28\x45\x55\x05\x81\x28\x4d\x2a\xbc\x9b\xb9\
\x23\x03\x00\x4a\x60\xa3\x2a\x45\xaf\xce\x1e\x0e\x04\x54\xb5\x64\
\xb6\x9d\x57\x12\x21\x2d\x90\x4b\x4c\x0e\x37\x94\x40\x48\xfe\xb7\
\x56\x77\x09\x30\xb4\x04\x72\xaf\x66\xd7\xa7\xa0\x13\x00\x72\x06\
\x10\x9c\x1e\xae\x90\x3e\x4c\x80\x0d\xda\x26\x90\x5f\x21\x04\x9a\
\x00\xf3\xfe\x87\xb4\xc0\xff\x0c\xcc\xbd\xf7\x91\x06\x06\xc0\xca\
\x7b\xa8\xea\x5d\x49\x44\xbe\xfd\x99\x4e\x13\x25\x85\x40\x10\x33\
\x73\xae\x9c\x2d\x16\xe9\x72\xb9\xec\x19\x92\x17\xce\xb9\xde\x60\
\x30\xa8\xd6\x6a\xb5\x79\x1c\xc7\x9b\xe2\x82\x4b\x71\xce\x95\x47\
\xa3\xd1\x63\x55\xfd\xd1\x6a\xb5\x3e\x49\xfe\xa1\x79\x25\x22\xb7\
\x24\x5f\x06\xd0\x9e\xf5\x7a\xbd\xfe\xdc\xe9\x74\x2e\xdb\xed\xf6\
\x64\xef\x01\xd7\x68\x34\xaa\x59\x96\x1d\xae\x56\xab\xa8\xa0\x09\
\xb0\xdb\xed\x8e\x87\xc3\xa1\x07\xe0\x49\xfa\x7b\x55\x3a\x21\x14\
\xe4\x9f\xa0\x8a\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\
\x00\x00\x01\x08\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\x9a\x49\x44\x41\x54\x28\xcf\x9d\
\x90\x3b\x0a\x02\x41\x10\x44\x6b\xb4\x11\x76\x35\x11\x3c\x8c\x81\
\x91\x37\xda\x5b\x98\x4c\x2e\x78\x16\x33\x03\x3f\x27\x70\xcf\xe0\
\x2f\x90\x05\x61\xba\xca\xc0\xdd\xdc\x99\x86\x86\x86\xe2\x51\x8f\
\xb6\x18\xe3\x63\x56\x57\x2f\x64\xce\xbb\xeb\x16\x36\xad\xab\xfb\
\x7a\xb5\x0c\xb9\xf0\xfe\x70\xbc\x99\x24\x51\xca\x86\x01\xc0\x24\
\x88\x02\xca\x60\x88\x94\xc6\xb9\xa0\x04\x18\x7e\xda\x28\xd5\x26\
\x59\xaa\x5d\xd8\x4c\xd2\x4d\x00\x73\x61\x92\xc1\xe9\x9f\xbe\xf9\
\x7f\x30\xa5\x34\xba\xb6\xed\xc4\x9d\x1b\x23\xd9\x9d\xce\x97\xf9\
\xf0\xc4\x7e\x11\xc2\x70\x07\x0d\x91\x04\xb9\xfb\xd3\xdd\xb7\x4d\
\xd3\xec\xbe\x3e\x15\x69\x2b\x64\x98\xc7\xc4\x00\x00\x00\x00\x49\
\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\xa9\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\x3b\x49\x44\x41\x54\x28\x91\x63\
\x98\x35\x6b\x56\x05\x10\xff\x20\x01\x57\x30\x00\x89\xff\xa4\x62\
\xb8\xa6\xb5\xab\x56\x2d\xdd\xb8\x6e\xdd\xd4\xcd\x1b\x36\xf4\x6c\
\xdd\xb4\xa9\x79\xfb\xe6\xcd\x55\x3b\xb7\x6e\x2d\xdc\xbd\x6d\x5b\
\xc6\x9e\xed\xdb\xe3\x76\x6c\xde\x1c\x8f\xa1\x69\xd3\x86\x0d\x13\
\x80\x8a\xea\xf7\xec\xd8\x51\x7a\x60\xd7\xae\xec\xc3\x7b\xf7\x26\
\x1e\x3b\x70\x20\x7c\xd7\xd6\xad\x91\x53\x26\x4d\x9a\xb8\x79\xdd\
\xba\x40\x0c\x4d\xdb\x36\x6e\x6c\xdb\xbb\x63\x47\xc9\x81\xdd\xbb\
\xb3\x80\x1a\x12\x80\x1a\xc2\x0e\xec\xdc\x19\xd4\xde\xd6\x76\xa3\
\xb1\xb1\xf1\x7f\x5f\x6f\xef\x14\x0c\x4d\x3b\xb6\x6c\xa9\x01\x6a\
\xc8\x04\x6a\x88\x07\x6a\x08\xbd\x7a\xf1\x62\xd2\xe4\x49\x93\x6e\
\x82\x34\x00\xf1\x9b\xa5\x8b\x16\x79\x60\x68\x9a\x3f\x67\xce\x8c\
\x96\x96\x96\x37\xeb\xd7\xae\x5d\xfc\xfe\xed\xdb\xa9\x8b\x17\x2d\
\xba\x05\xd5\xf0\x75\xde\xec\xd9\xbe\x07\x77\xef\xd6\xc6\xd0\x34\
\x63\xda\xb4\x85\x20\x45\xcd\xcd\xcd\xbf\x17\x2d\x5a\x04\xb3\xe1\
\xcf\xd4\xc9\x93\x13\x6e\x9c\x3f\x2f\x8b\x55\xd3\xfe\x5d\xbb\x62\
\xbb\x3a\x3b\x8f\x40\x15\xff\x87\xfa\xa3\x0c\xa4\x01\xa7\x26\xa0\
\x60\xf0\xc1\x5d\xbb\xdc\x81\x36\x3d\x00\x69\xe8\xec\xe8\x98\x00\
\xd3\x80\x53\x13\x30\x5e\x22\x81\xa1\xe7\xba\x69\xdd\x3a\xd7\xe9\
\x53\xa7\x26\x02\x83\xda\x08\x19\x03\xc5\xed\x31\x34\x91\x9a\x22\
\x48\x4e\x7b\x00\xb1\x3d\xbe\x78\xa0\x57\xd0\xf5\x00\x00\x00\x00\
\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\x15\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xa7\x49\x44\x41\x54\x28\xcf\xa5\
\x8e\x31\x0a\xc2\x50\x10\x44\xdf\x64\x3f\x0a\x76\xa2\x9d\x37\x10\
\x6c\xec\x2c\x2c\x3d\x8f\xb9\x81\x47\x48\xec\x04\xef\x63\xa1\x82\
\x95\x78\x0d\xb1\x49\x24\xc9\x5f\x0b\xb5\x37\xf1\xc1\xc2\x6c\xf1\
\x98\x51\x9e\x65\x87\x7e\xbf\x37\xe1\x8d\x0b\xfc\x9b\x01\x47\x7a\
\xff\xee\x00\x5e\x37\xcd\xa3\xae\x9b\xdd\x3a\x4d\xf7\xc1\xcc\x06\
\xab\xe5\xa2\xe2\x37\x54\x55\xf5\xf0\x72\xbd\x6d\xb6\x79\x4e\x22\
\xa1\xe8\xce\xaf\x67\xc1\xe2\x7c\x36\x7d\x9a\x59\x1a\x40\x49\x74\
\xda\xa1\xc4\xcd\xac\x17\xf8\x34\xb7\x45\x92\x05\x41\xd2\x45\x06\
\x08\x20\xc5\x48\x47\x59\xdd\x9a\x1d\x27\x08\xe9\x8f\xd9\xa8\xe9\
\xe2\x3a\x84\xa2\x2c\x47\xc7\xd3\xf9\xde\xd6\x2d\x8a\x62\xfc\x02\
\x60\xd2\x60\xc5\x54\xa5\xbb\x5b\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x01\x15\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xa7\x49\x44\x41\x54\x28\xcf\x9d\
\x90\x41\x0a\xc2\x40\x0c\x45\xff\x1f\x13\x17\xb3\x13\xdd\x79\x1f\
\xbd\x86\x3d\x40\xc1\x1b\x78\x87\x76\x23\x78\x04\x41\x70\x5d\xd7\
\x9e\x47\xc7\xd5\xb4\x98\xb8\x90\xd9\xb7\x7d\x10\x48\x02\x9f\xff\
\x13\x36\x4d\xf3\x8c\x31\x6e\xf1\xc7\x49\x7a\xe9\xcb\xec\x5e\x56\
\xf0\xbe\xef\xd3\x30\x0c\xe7\xba\xae\x2f\xa2\xaa\xb1\xaa\x0e\x03\
\xc6\xc1\x9c\xf3\xaa\xeb\x1e\xa7\xb6\x6d\x11\x00\xd0\xcc\x30\xb6\
\x54\xd5\xf6\xfb\x5d\x56\xd5\xa3\x90\x0c\x6e\x86\x29\x04\xd2\x45\
\x64\x29\x24\x68\xf6\xc5\x54\x42\x08\x0b\x21\xa6\x3b\x97\x7f\x0a\
\x48\xda\x1c\xb1\x03\x42\x60\xa6\x33\x20\x98\x79\xb3\xc3\x21\x24\
\xe9\x73\x63\xa7\xf4\x59\x5f\x6f\xf7\xd7\x54\xed\x3b\xa5\xcd\x0f\
\xda\x7f\x66\xb0\xc9\x65\xf3\x61\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x00\xf9\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\x8b\x49\x44\x41\x54\x28\x91\x9d\
\xd0\x31\x12\x82\x30\x14\x84\xe1\xe5\x15\xe6\x2e\xd2\xcb\x19\xed\
\x1d\xcf\x04\x1d\x27\xb0\xa6\x20\x38\x50\xe8\x4c\x12\xde\x6f\xa3\
\xbd\xa1\xf8\xca\x9d\xdd\x59\x1b\x86\x21\x8e\xe3\xf8\xa8\xd5\xf7\
\xfd\x66\x21\x9c\x96\xb6\x3d\x7b\xad\x10\xc2\x6c\x38\xec\xa5\xa8\
\x96\x24\x19\xe0\x7b\xc9\xaa\x05\xc8\xe0\x60\x33\xc8\x10\x7e\x24\
\x8c\x7e\xcd\x7b\x56\x2d\x21\x99\xd0\xa1\xd9\xe0\xfe\x3d\xac\x2e\
\x58\x72\x6e\xdc\x49\x86\xa0\xe6\xe5\x9c\x92\xcd\xcf\x35\x00\x77\
\x03\x5e\x53\xdc\xec\x0f\xcd\x14\x57\xa6\x65\x5b\xdf\x29\x5f\x2f\
\x5d\x77\xfb\x00\x6e\x37\xd5\xb0\x67\xb7\x7c\x1f\x00\x00\x00\x00\
\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x2c\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\xbe\x49\x44\x41\x54\x28\x53\x5d\
\x92\x3b\x4b\x03\x41\x14\x85\x67\x37\x9b\x18\x22\x12\x4c\x3a\x05\
\x31\x36\x16\x26\x88\x8d\xf8\x13\xc4\xc6\x42\xec\x14\x0b\xd1\x42\
\xc1\x42\x41\xed\xb2\x5b\x46\xc1\x07\x58\x09\x0a\x76\xda\x68\x29\
\xfa\x07\x14\xed\x04\x3b\x11\x05\x83\x24\x26\xbb\x24\x26\xd9\x47\
\x76\x66\x3c\x77\x49\x82\x3a\x70\xb8\x33\xc3\xf9\xe6\xde\x99\x3b\
\x9a\x94\x92\xb5\x47\x4e\xd7\x47\xc2\xe1\xf0\x82\xaa\xaa\x13\x42\
\x88\x41\xc4\x37\xce\xf9\xbd\xef\xfb\x67\x5b\xba\xfe\xdc\xf6\x69\
\x2d\x73\x08\x63\x3d\x16\x8b\xad\xa6\x52\xa9\x70\x3c\x1e\x77\x31\
\x77\x2a\x96\x95\xf8\x2a\x16\x27\xf3\x9f\x9f\xd3\x3b\xba\x7e\x8c\
\xe3\x0f\x00\xf3\x00\x22\x20\x99\x4c\xae\x65\x32\x19\x1b\x99\x1c\
\xda\xb3\xeb\x75\x4b\x11\xc2\xea\x89\x46\xcd\xfe\x44\xa2\x96\x2f\
\x95\x66\x9a\x42\x50\x59\x7b\x1a\x95\x44\x19\xd2\xe9\xb4\x03\x40\
\x08\xce\x7d\xbb\x56\xb3\x20\x33\x10\x60\x17\x31\xca\xf9\x4b\x93\
\xb1\x39\xf8\x6f\x34\x18\x97\xa8\xa4\x48\x24\xe2\x34\x3d\xcf\xfe\
\x03\xb4\xe6\x9e\xeb\x9a\xc8\x60\x85\x18\xbb\xe6\x52\xce\x6b\xb8\
\xec\x38\xee\xe0\xb9\xb6\xfd\xfd\xdf\x4c\x6a\xfa\xbe\xc5\x19\x33\
\x49\xa8\xed\x11\xf0\xa2\x86\x57\x1a\x50\xa4\xfc\xa8\x57\x2a\xa5\
\x06\x4c\x4e\x0b\xa0\x39\x4e\xed\x00\x02\x99\x00\xbc\x33\x45\x31\
\xe8\x21\xde\x4a\x85\x82\x1b\x92\xb2\xd8\xce\xe2\x34\x1a\x1d\x63\
\x1b\x82\x2c\xa1\x28\x7d\xe4\xd7\xd0\x87\x87\x72\xb9\x3c\xda\xad\
\xaa\x05\x02\x5c\xcf\x23\x73\x60\xfa\x0d\x6c\x1a\x46\x0d\x8f\x30\
\x05\xe8\x99\xca\x3b\x31\xab\xd5\x0b\x9f\xb1\x6f\x29\x44\xe1\xbf\
\x99\x0e\x00\xe0\x02\xe8\x05\xb0\x0c\xad\x68\xd4\xe9\x5c\x36\x7b\
\x5a\x65\x6c\xb2\x8b\x31\x6a\x20\x81\x9d\xd2\xb6\x0c\x43\x00\x88\
\xc3\xbc\x0b\x5d\x92\x3f\x68\x2e\x2e\x77\x28\xf0\x9f\x6c\xc6\x36\
\xb0\x3a\x87\xee\xb0\x97\x47\x1c\x06\x30\xd6\xca\x70\x05\x1d\x91\
\x3d\x80\xe8\x6b\x20\xec\xc3\x70\x8b\x38\x0b\x6d\x43\x43\xd0\x2b\
\xf4\x04\xad\xfe\xfe\x7b\x3f\x19\xc4\x49\xa6\x7a\x07\xda\xac\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\xfd\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x61\x00\x00\x00\x15\x08\x03\x00\x00\x00\x61\x6b\x70\x46\
\x00\x00\x00\x3c\x50\x4c\x54\x45\xf7\xf7\xf7\xb0\xb0\xb0\xff\xff\
\xff\x8b\x8b\x8b\x8c\x8c\x8c\x9d\x9d\x9d\xae\xae\xae\x8b\x8b\x8b\
\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\x8b\xde\
\xde\xde\x97\x97\x97\x8b\x8b\x8b\xdf\xdf\xdf\x8b\x8b\x8b\x8b\x8b\
\x8b\x8b\x8b\x8b\x51\x5f\xc0\xbc\x00\x00\x00\x13\x74\x52\x4e\x53\
\xca\xea\x00\xf4\xfd\xf3\xeb\x52\x9d\xd6\xfc\x1e\x20\xd4\xf6\x9c\
\xd4\xda\xfe\x7e\x17\x61\x47\x00\x00\x00\x5d\x49\x44\x41\x54\x78\
\x5e\xed\xd5\xc7\x01\xc0\x20\x14\x02\x50\xfc\xcd\x6e\x8a\xfb\xef\
\x9a\x63\x26\xe0\xe6\x5b\x80\x13\x00\x91\x51\x6a\xdb\x0c\xad\x96\
\x21\x02\xc9\x6a\x1e\x89\x21\xdc\x34\x0b\xba\xae\x09\x96\xb9\xb4\
\xe3\xb2\x1b\x3c\xb7\x5d\x78\x1c\x4c\xfe\xe0\x0d\x30\xc5\x8b\x9d\
\xc0\x94\xf6\x49\xf8\x9d\x84\x93\xc0\xef\x34\x7f\x97\xf8\xdb\xca\
\xff\x07\xfe\xc7\xf1\x7f\xfa\x03\x24\xa3\x11\xb1\xa1\x0a\xfe\x19\
\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\x0a\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x04\x00\x00\x00\xd8\xe2\x2c\xf7\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x9e\x49\x44\x41\x54\x18\xd3\x63\x98\x55\
\x31\xeb\x07\x56\x58\xc1\x30\xeb\x3f\x2e\x08\x96\x7a\x32\xf9\x6d\
\x0f\x32\x7c\x32\x19\x2e\xf5\xb9\xe3\x7f\x03\x0c\xde\x9b\xb7\xf3\
\xee\x9d\x85\x58\xa4\x9e\x4f\x5f\xff\x73\xed\xff\xd3\x3b\x91\xa4\
\x9e\xce\x00\x4a\x74\x7e\x5c\xbb\xe5\xfb\xda\xff\x3b\xef\xbd\xef\
\x82\x4b\x9d\xda\xbd\xf6\xff\xb1\x7b\x3f\x0e\x6f\xff\xb2\xf6\xff\
\xd6\x17\x5f\xdb\x3f\x77\xc0\xa5\x6e\x2e\x5e\xfb\x17\x28\x08\xd4\
\xb1\xf1\xe3\xbb\xde\xff\x0d\x48\x52\x9f\x3b\xce\xee\x58\xfb\x7f\
\xed\xff\xf5\x3f\x9e\x4f\x03\xd9\x88\x22\xf5\xbf\xe1\xd0\xa9\x0d\
\x5f\xee\x2e\x80\x38\x06\x49\x0a\xe2\xaf\xd7\xbd\x58\xfc\x85\x2b\
\x34\x70\x86\x21\x00\x8c\xe0\x06\x11\x3e\x64\x1f\xfd\x00\x00\x00\
\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\xec\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\x7e\x49\x44\x41\x54\x28\x53\x7d\
\x92\xcb\x4e\xc2\x60\x10\x85\x89\xbc\x8b\x21\x26\xbe\x95\x6e\x25\
\x6e\x58\xb9\xe4\x25\x34\xd1\x1a\x2c\x15\x85\x52\xae\x01\x1b\xca\
\x55\xd3\x16\xe4\xd6\x16\x90\x08\x26\xb0\x68\xa9\xa2\x5b\x96\x78\
\xa6\xa1\xa4\x1a\xc2\xe2\xa4\xed\xdf\xf3\x75\x66\xce\xd4\xb7\x5e\
\xaf\x7d\xae\x18\x86\x09\x40\x61\x28\x05\x75\x36\x57\x7a\x0e\x78\
\x7d\xae\xd9\x0f\x05\x21\x83\x8b\x46\x75\x3e\x91\x18\x65\xd2\xe9\
\x49\x4a\x10\x8c\x87\x58\xac\x75\x17\x89\xc8\x9b\xf7\x7e\x2f\x74\
\x7e\xcb\x30\x03\x21\x99\xfc\x90\x4a\xa5\x1f\x45\x96\x2d\xad\xd7\
\x9b\xb5\x54\xd5\x6c\xd4\x6a\xcb\x42\x3e\x3f\x8c\xb2\x6c\x03\x9e\
\xa0\x03\x01\x38\xa6\x0a\x04\x34\xea\xf5\x2f\xd3\x34\xf5\xd5\x6a\
\xa5\xb8\xb2\x17\x8b\xfe\x6b\xb3\x69\x89\xc5\xa2\x0e\xb0\x42\x7e\
\x82\xc2\xd4\x12\x55\xb0\x4c\x53\xf3\x02\xae\x3e\x6d\xbb\xaf\xca\
\xb2\x2d\xf0\x7c\x05\xad\x5e\x10\x94\x4a\xf2\xfc\x1b\x0e\xad\x5d\
\x80\x2b\x43\xd3\xe6\xa8\x26\x73\x2c\x7b\x4d\x50\x27\x9b\xc9\x4c\
\x69\x86\x7d\xd0\x64\x3c\x9e\x56\xcb\xe5\xee\x3d\xc7\x65\x9d\x4a\
\x48\x69\x40\x43\xef\x83\x46\x86\x31\x93\x44\xf1\x19\xd0\xa5\x33\
\xd3\x23\x62\xa5\x94\x68\xe8\x5d\xc0\xf7\x72\xd9\xeb\xb6\xdb\x66\
\x2e\x9d\xce\xa3\xbd\x90\x93\x1e\x86\x53\x28\x56\x4a\x89\x86\xfe\
\x0f\x0c\x74\x7d\x5e\xaf\x56\x55\x7c\x5c\x80\xf7\x68\xbb\x27\xda\
\x03\xc5\x4a\x29\xe9\xfd\xfe\xfc\x1d\x33\x0c\xd1\x12\x55\x00\xa0\
\xf0\xf1\x78\x12\x9e\xd3\x3f\x7f\x04\x16\x77\x86\xc3\x32\x62\x2d\
\x3f\x15\x0a\x2f\x15\x49\x6a\x97\x44\xb1\x86\x96\x72\xa8\x40\xc0\
\x09\x3c\x07\x5b\xc8\xfb\xef\xd1\x1e\x60\xb8\xc1\xc0\x39\xe8\x0a\
\xf7\x21\x9c\x1d\x7a\x7d\xbf\xa2\x4e\xfc\xbe\x25\x1e\x24\xce\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x14\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\xa6\x49\x44\x41\x54\x28\x53\x7d\
\x52\xcb\x4e\xc2\x50\x14\x34\xf2\x2f\xc6\x98\xf8\x57\xba\xd5\xb8\
\x71\xe5\xd2\x9f\xd0\x44\x6b\x14\xf0\x01\xa5\x94\x47\x80\x86\x16\
\x28\x9a\xb6\x2a\xcf\x16\x1f\x11\x4c\x80\x58\x04\xd1\x9d\x69\x5c\
\x18\x9c\x21\x62\x6a\x62\x5c\x9c\x9c\x9e\x73\x67\x7a\xce\xcc\xbd\
\x73\x93\xc9\x64\x6e\x16\x82\x20\x2c\x22\xb6\x11\x71\x44\xf5\x3b\
\xb3\x5e\xf4\xe3\x66\xe0\x00\x62\x1d\xe1\x84\x43\x21\x5b\x8c\x46\
\x6f\x13\xb2\xdc\x8e\x4b\x92\x73\x7a\x72\x72\x75\x74\x78\x68\x7c\
\x9f\x07\xfc\xa4\x8d\x03\x41\x68\x49\xb1\xd8\xa3\x9a\xcf\xbf\x99\
\x86\x31\x68\xd6\xeb\xdd\x2b\xcb\x72\xcb\xa5\xd2\x38\x93\x4e\xdf\
\x84\x82\xc1\x32\x30\xeb\x53\x12\x08\xcb\x9c\x40\x42\x59\xd7\x5f\
\x5c\xd7\xb5\x3d\xcf\x33\x67\x31\x7c\x7e\x6e\x5c\x5f\x5e\x0e\x94\
\x6c\xd6\x06\xb1\x40\x3c\x49\xdb\x5c\x89\x13\x06\xae\xdb\x24\xf0\
\x75\x34\xaa\x75\x3b\x9d\x3b\x66\xd6\xa3\xe1\xb0\x61\x19\xc6\x50\
\x12\xc5\x02\x56\xdd\x22\x29\x1e\x13\xc5\x3b\x34\x07\x04\x3c\xf5\
\xfb\x8e\x9e\xcd\xbe\xeb\xb9\x9c\xc7\xcc\x9a\x7d\xa7\xd9\xec\x61\
\x9a\x11\x0e\x06\xf7\x48\xaa\x26\x13\x89\x0e\x35\xf0\xd0\xae\x56\
\xfb\x00\x7f\x94\x15\xe5\x93\x99\x35\xfb\xed\xfb\xfb\x4e\x51\xd3\
\x6a\xc7\xe1\x70\x72\x3a\x09\x2e\xb5\x28\xfa\xbf\x49\xb7\x8e\xd3\
\x55\x15\xe5\x1c\xa4\x9d\xa9\xa6\x33\xd8\x4a\x97\x28\xfa\x2f\x4d\
\xaf\xe3\x71\xbd\x56\xa9\xb8\x29\x59\x4e\x63\xbd\xcd\xa9\x7b\x10\
\x67\xd2\x56\xba\x44\xd1\x7e\xf7\x48\x68\xd9\x76\x4f\x2f\x16\x2d\
\xfc\x5c\x02\x76\xe9\xe7\x9e\x78\x0f\xb4\x95\x2e\xd9\x8d\x46\xef\
\x01\x1a\x6e\xb0\x12\x27\x80\x60\x8a\x91\x48\x0c\x98\xd5\x5f\x2f\
\x02\x17\xb7\x86\xa6\x06\x5b\xb5\x5c\x26\x73\x51\x50\xd5\x4a\x5e\
\x51\x4a\x58\x29\x85\x09\x24\xac\x00\x33\xff\x43\xf2\xbf\x3d\xde\
\x03\x00\xfb\x10\x9c\x42\xec\xe2\x7b\x13\xbd\x05\x3f\xee\x0b\x45\
\x97\xf5\xcf\x14\x60\x2f\x66\x00\x00\x00\x00\x49\x45\x4e\x44\xae\
\x42\x60\x82\
\x00\x00\x01\x14\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xa6\x49\x44\x41\x54\x28\xcf\x9d\
\x90\x31\x0e\x41\x51\x14\x44\xe7\x72\xa3\x7d\x91\x58\x1e\x6b\x60\
\x19\xba\xdf\x4a\x94\x2c\x41\xa5\xb0\x01\x85\xc4\x3a\xf0\x55\x12\
\xfe\xdc\x3b\x0a\x11\x0d\xc5\x33\xe5\x24\x27\x33\x39\xd6\x34\xcd\
\xa5\x94\x72\xc5\x8f\x98\xd9\xd7\xbe\x6d\xdb\x91\x97\x52\xce\x93\
\xc9\xd8\x50\x99\xd5\x6a\x7d\xf2\xcc\x54\x90\xd5\xb0\x24\xb8\x94\
\x0a\x76\xb5\x2c\x20\xc1\x95\xca\x20\xfb\xd5\x2c\x04\x4f\x49\x41\
\xfe\xb1\x0c\xb8\x94\x19\x51\x7f\x5b\x78\xdd\xfe\x6b\x39\x23\xc2\
\x25\x65\x2d\x1c\x99\x46\xf2\xee\x92\xaa\x6c\x3f\xba\xae\xb7\x3f\
\x1c\x07\x64\xcc\x9d\xc1\xdb\x66\xbb\x1b\x1a\x0c\x30\xe8\xa5\xe2\
\xad\x04\x32\x40\xfa\xb0\x22\xa3\x25\xb9\x98\xce\x66\xcb\x27\x2a\
\x8d\x77\x7e\xf9\xf5\x91\x67\x00\x00\x00\x00\x49\x45\x4e\x44\xae\
\x42\x60\x82\
\x00\x00\x00\xae\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x07\x00\x00\x00\x05\x08\x04\x00\x00\x00\x23\x93\x3e\x53\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x42\x49\x44\x41\x54\x08\xd7\x63\xa8\x5f\
\xbd\xe6\x15\x0c\xd6\x2e\x61\x48\x56\xda\xf1\xe8\xc4\x57\x10\xdc\
\x74\x3e\x5c\x84\xe1\x3f\x43\x6b\x26\x88\xb3\xef\x55\x8d\xc5\x7f\
\x06\x20\x97\x81\x71\xc1\x86\xe3\x5f\xfb\x72\xfe\x33\x80\xb9\xff\
\x19\x52\xd5\x7a\x67\xfe\x07\xb3\x00\xb3\x22\x29\xee\xf2\x45\x54\
\xa5\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x15\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x00\x00\x00\x13\x08\x06\x00\x00\x00\xd6\x3a\x8e\x1f\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\xa7\x49\x44\x41\x54\x48\xc7\xd5\
\x97\xbf\x8e\x52\x41\x14\xc6\xbf\x19\x66\xff\x68\x24\x5c\xcd\x6e\
\xae\xc6\xec\x6a\xec\x6c\x28\x68\xc4\x0e\xed\x8c\x95\x8f\x82\x21\
\xbe\x80\xa5\x37\xb1\xa3\xd3\x27\x30\xf2\x00\x24\x14\x04\xb7\x70\
\x1b\xed\x6c\x70\x2a\x13\x2d\x48\x6e\x40\xae\x17\x98\x73\x3e\x0b\
\x58\x43\x7c\x82\x3b\x5f\x37\xdd\xf9\xe5\x77\xce\xc9\x19\x43\x12\
\x59\x96\x9d\x19\x63\xde\x1a\x63\x9e\xa8\xea\x2d\x54\x37\xb4\xd6\
\x4e\x55\xf5\x1d\x80\x37\xbd\x5e\x4f\x5c\x96\x65\xf7\x8d\x31\x5f\
\x1b\x8d\x86\x6b\xb7\xdb\xeb\x34\x4d\x97\x15\x06\x80\xf7\x3e\x9d\
\x4c\x26\xaf\x49\x3e\x02\xf0\xc2\x64\x59\x36\x68\x36\x9b\xcf\x3a\
\x9d\xce\x0f\xe7\x9c\x03\x70\x44\xb2\xca\x0c\xa5\xf7\xfe\x60\x30\
\x18\xdc\x01\xf0\xdc\x59\x6b\x3b\xad\x56\x0b\xb5\x9a\x35\x22\x21\
\x90\x14\x54\x3c\xe7\xe7\x67\xab\x24\x49\x8a\x3c\xcf\x9f\x3a\x6b\
\x6d\x72\xe0\x5c\x19\x36\x9b\x9a\xaa\x56\xbe\xf8\xab\xd4\xeb\x37\
\x38\x9b\xcd\x6e\x3b\x00\x20\x00\x15\x81\xaa\x22\x9a\x10\x50\x55\
\xeb\xb6\x0f\x42\x42\x88\x0a\x60\x37\xa7\x66\x67\x80\x10\x55\xa8\
\x48\x6c\x00\xf8\x67\x80\x1a\xa2\x02\xc0\x3e\x00\x49\x68\x10\x88\
\x84\x58\x0d\x00\xa2\x21\x2e\x00\xe8\x9e\x01\x6c\x0d\x68\x88\x08\
\x40\xff\x6f\xa1\xc8\x0c\x6c\x97\xff\x55\x0b\x81\x10\x89\x74\x06\
\xa8\xba\x94\x20\x4e\x37\x01\x1a\xe2\xd9\x42\xc5\x9f\x12\xaa\x3a\
\x77\xa2\xfa\x79\xfa\xdd\x3f\x3e\xad\x1f\x45\x53\x7d\x3e\x5f\x1c\
\x2e\x7e\x2f\xaf\x97\x65\x79\xe9\x48\xbe\xfc\x74\x71\x71\x79\x72\
\x33\x39\x7d\x70\xef\xee\xf2\xda\xf1\x71\x65\xfb\x48\x95\x26\x9f\
\x2f\x0e\xbf\x4d\x7d\x9d\xe4\x97\x7e\xbf\xff\xc1\xec\x3e\x34\x6d\
\x63\xcc\x7b\x92\x0f\x23\x10\xb0\x09\x21\x7c\x1c\x8d\x46\xaf\x86\
\xc3\xe1\x2f\xb3\x7f\xfb\x77\xbb\xdd\x93\xa2\x28\xd2\xf5\x7a\x5d\
\xab\xe8\xe0\x72\x3c\x1e\xff\xf4\xde\xaf\x00\xac\x48\xae\xfe\x02\
\x9e\xc5\x10\x4d\x61\xbe\x76\xec\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x00\x9f\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x04\x00\x00\x00\xd8\xe2\x2c\xf7\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x33\x49\x44\x41\x54\x18\xd3\x63\x98\x55\
\x31\xeb\x07\x56\x58\xc1\x30\xeb\x3f\x2e\x08\x96\x7a\x32\xf9\x6d\
\x0f\x32\x7c\x32\x19\x2e\xf5\xb9\xe3\x7f\x03\x32\xfc\xdc\x31\x84\
\xa4\xf0\xf8\x0b\x57\x68\xe0\x0c\x43\x00\x32\x58\x02\x75\x45\x0f\
\x73\xc2\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x02\x57\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x06\x00\x00\x00\x72\xeb\xe4\x7c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\xe9\x49\x44\x41\x54\x28\x53\x4d\
\x92\x3f\x68\x14\x41\x14\xc6\x67\x77\x67\xf7\x92\xe5\x64\xd1\x2b\
\x0c\x18\x72\x9c\x57\xca\x59\x69\x61\x69\x63\x69\x61\x21\x28\x48\
\x8a\x80\x88\x11\x0b\x41\x6c\x2f\xa5\x82\xc4\xc2\x42\xc4\xc6\x2a\
\xa5\x82\x4d\x48\x25\xd8\x25\x75\x0c\x58\x5c\x4c\x10\x74\x2f\x38\
\x6b\xd8\xdb\x9d\xfd\x3b\xcf\xef\x9d\xbb\xe0\xc2\x63\x66\xd8\xef\
\xf7\xde\xf7\xe6\x8d\x24\x22\xd1\x7e\xcf\xc7\xe3\x4b\xae\xeb\xae\
\x3a\x8e\x73\xd5\x18\xd3\xb7\x6d\xfb\xa8\xae\xeb\xbd\xb2\x2c\xdf\
\x3f\x1b\x8f\xf7\x5b\x9d\x6c\xc4\xd0\x39\x4f\x7c\xdf\x5f\x1f\x0c\
\x06\x6e\x10\x04\x39\xf6\x55\x9a\xa6\x7d\xa5\xd4\xc5\xc3\xc9\xe4\
\xd6\x8b\x8d\x8d\x37\x28\xb0\x09\xb8\x9e\x43\x0c\xf4\x7a\xbd\xc7\
\xa3\xd1\x48\xa3\x52\xd6\x66\x5c\xf0\x3c\x75\xb6\xdb\x8d\x9c\x95\
\x95\x78\x72\x7c\x7c\x37\x2b\x0a\xb6\xf5\x52\xb2\x25\xae\xd0\x00\
\xa6\x05\x74\x92\x44\x7a\x36\xe3\x50\x79\x92\xa8\xc0\x75\xbf\x01\
\xba\x07\xfd\xb6\xf4\x3c\xef\xc1\x70\x38\x74\xdb\x0a\xa6\xae\xab\
\x34\x8e\x73\x40\x8b\x59\x9a\x2a\x1d\xc7\x53\x06\x33\x80\xb0\xf5\
\xb9\x14\x62\x55\x5a\x96\x75\x85\x7b\x60\xa0\x2c\x0a\x0d\x80\x20\
\x1e\x62\x6f\xe3\x02\x96\xcb\xaa\x2a\x90\xe0\xa0\x16\x22\xb2\x84\
\x88\x21\xbb\x23\xd1\xdc\x32\xec\xa5\xb9\xd6\x31\x67\x84\x60\xa9\
\xaa\x2a\x49\xc6\x78\x10\xd8\x8e\x94\x17\x2a\x21\xa6\x80\x14\xfd\
\x83\x9e\x72\xa5\x1f\xbf\x4f\x4e\x3a\x0e\x51\xc8\x3d\x64\x80\xf1\
\xf3\xbc\x20\x72\xc9\xb6\x35\x80\x3d\x86\xd0\xac\xc2\x1a\x08\xcb\
\x3a\x94\x98\xc3\xee\x34\x0c\xaf\x9d\xe9\x74\xe6\xde\x19\xac\x89\
\xbe\x7a\xbe\xbf\x84\x59\x1d\x44\x51\xf4\x85\xab\xb0\x3d\xb2\xac\
\xcb\xa8\xb4\x2f\x61\xe5\xed\xcf\x30\xbc\x61\xba\xdd\x3f\x65\x9a\
\x4e\xf3\xa2\x50\x9c\x35\xd1\x3a\x6a\xc4\x2d\xe0\x00\x78\x88\x78\
\x24\x79\xd2\xb8\xc6\x77\xbf\x4e\x4f\x6f\x2e\x12\x6d\x89\xc6\x7f\
\x2b\xe6\x04\x00\x16\x78\x3e\x88\x8f\xac\x97\xcd\x58\x5e\xc1\x92\
\x99\x09\xb1\x66\x0b\xf1\x09\xe7\x5d\xf4\x75\x84\x38\x87\x1e\xae\
\xe3\x7c\x1f\xf1\x01\xf1\x9a\xc5\x73\x88\x9f\x06\x96\x4d\x54\xdc\
\x31\x44\xb7\xb1\x5f\x83\xb8\x8f\xf5\x3b\xf7\x80\x58\xff\xff\xed\
\xfd\x05\x44\x20\x32\xa9\x4e\xde\x14\x18\x00\x00\x00\x00\x49\x45\
\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\xaf\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x07\x00\x00\x00\x05\x08\x04\x00\x00\x00\x23\x93\x3e\x53\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x43\x49\x44\x41\x54\x08\x1d\x63\xc8\x5b\
\x38\xe3\x3a\x0c\xe6\xcc\x62\x70\x92\xeb\xda\x3c\x73\x1f\x08\xb6\
\x2c\xb5\x14\x62\xf8\xcf\xe0\x1e\x50\x3f\xaf\x7e\x5e\xd9\x6c\x27\
\x9d\xff\x0c\x40\x2e\x03\xa3\x4b\x76\x4a\xbd\x85\xfb\x7f\x10\x1b\
\x44\x88\x4a\x29\x87\x81\xe8\xff\x0c\x00\x6d\x8c\x21\x57\xad\xbb\
\x24\x67\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\xc5\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x07\x00\x00\x00\x05\x08\x03\x00\x00\x00\xbe\x44\x06\xea\
\x00\x00\x00\x39\x50\x4c\x54\x45\xff\xff\xff\x6e\x5d\x5d\x6e\x5c\
\x5c\x51\x44\x44\x14\x11\x11\x05\x04\x04\x03\x02\x02\x20\x1a\x1a\
\x00\x00\x00\x1a\x16\x16\x23\x1d\x1d\x1c\x17\x17\x59\x4a\x4a\x34\
\x2c\x2c\x5e\x4f\x4f\x24\x1e\x1e\x47\x3c\x3c\x47\x3c\x3c\x49\x3d\
\x3d\x21\xaf\x18\x83\x00\x00\x00\x13\x74\x52\x4e\x53\x00\xa2\x7e\
\x5d\x32\x39\x16\x23\x01\x46\x3e\x0f\x75\x3e\x7c\x19\x7f\x60\x84\
\x40\x08\xcd\x6e\x00\x00\x00\x28\x49\x44\x41\x54\x08\x1d\x05\xc1\
\x87\x01\x00\x20\x0c\xc3\x30\xa7\x65\x6f\xf8\xff\x58\x24\x80\x98\
\x00\x08\xb3\x16\x20\x5f\xf7\x06\x7d\x98\xd9\xda\x1c\x49\xd2\xfb\
\x0b\xb7\x00\xb7\x4d\xe4\xc7\xea\x00\x00\x00\x00\x49\x45\x4e\x44\
\xae\x42\x60\x82\
\x00\x00\x01\x0c\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\x9e\x49\x44\x41\x54\x28\xcf\x9d\
\x91\x31\x0a\x02\x41\x10\x04\x7b\x74\x30\x5d\x04\xdf\xe7\xfd\x40\
\xbf\x61\x76\xa9\x60\x74\x66\x82\xe0\x1f\x04\x7d\x8d\xba\x46\x82\
\xb7\xb3\xd3\x06\x87\x9a\x68\xb0\xdb\xe1\x40\x51\x14\x23\x6d\xdb\
\xde\x42\x08\x77\xfc\x99\x88\xfc\xbc\xc7\x18\x67\x1a\x42\xb8\x36\
\xcd\x5c\x50\xb8\xae\xdb\x5e\x94\x24\xdd\xbd\x18\x06\x00\x25\x9d\
\x74\xaf\x40\x09\x1d\xc4\x79\x5c\x8c\x12\x50\x3a\xeb\xcd\x4e\xba\
\xd7\xc0\x04\x94\xac\x33\x67\xf7\xfc\x6e\x2e\x03\x73\x16\x4b\xe9\
\x59\x6c\xee\xfb\x7e\x74\x3c\x9d\x27\x66\xb6\x52\x33\x7b\xec\xf6\
\x87\xe9\xa7\x44\xc0\xe1\xe9\xc2\xa1\x0c\xfc\x66\x92\x96\x2c\xa6\
\x94\xd6\x8b\xe5\x72\xf3\x02\x01\x4c\x73\x5c\x4d\x53\x9c\xcf\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\x07\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x04\x00\x00\x00\xd8\xe2\x2c\xf7\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x9b\x49\x44\x41\x54\x18\xd3\x63\x68\xac\
\x68\xfc\x81\x15\x56\x30\x34\xfe\xc7\x05\xc1\x52\xf7\x26\xbf\xec\
\x41\x86\xf7\x26\xc3\xa5\x3e\x74\xfc\x6f\x80\xc1\x73\xf3\xa6\xdc\
\x3d\xb5\x10\x8b\xd4\xed\xe9\xad\x3f\x1b\xff\x6f\xdc\x89\x24\x75\
\x6d\x06\x50\xa2\xf3\xd5\xda\x9e\xef\x8d\xff\xa7\xdc\x7b\xd3\x05\
\x97\x5a\xbf\xbb\xf1\xff\x8a\x7b\x5f\x0e\x4f\xfa\xd2\xf8\xbf\xf7\
\xc5\xc7\xf6\x0f\x1d\x70\xa9\xe3\x8b\x9b\xfe\x36\xfe\xef\x03\xea\
\xe8\xf8\xf8\xbc\xf7\x7f\x03\x92\xd4\x87\x8e\x4d\x3b\x40\x74\xeb\
\x8f\x9b\xd3\x40\x36\xa2\x48\xfd\x6f\x58\x78\xaa\xed\xcb\xe9\x05\
\x10\xc7\x20\x49\x41\xfc\xf5\xbc\x17\x8b\xbf\x70\x85\x06\xce\x30\
\x04\x00\x95\xde\xf8\xd0\x60\x7f\x65\x39\x00\x00\x00\x00\x49\x45\
\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\x12\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xa4\x49\x44\x41\x54\x28\xcf\x9d\
\x90\x21\x0e\xc2\x40\x10\x45\xff\x4c\x26\x2b\x10\x90\x10\x04\x86\
\x5e\xa0\xc8\x9e\x8a\x0b\x70\x10\x3c\xc7\x41\x74\x35\x07\x58\x85\
\x42\x50\x30\x4d\x77\x67\x10\x85\x84\xd4\xb0\xdb\xe7\xfe\x4f\x7e\
\x5e\xf2\xa9\x6d\xdb\x8b\x73\x6e\x8b\xff\x98\x99\xa9\xaa\xbe\x54\
\xf5\xdc\x34\xcd\x49\x98\x79\xb1\xaf\x6b\x45\x1e\x94\x52\x5a\x85\
\x10\x8e\xde\x7b\x93\xb1\x88\x28\x40\xab\x6a\xd7\x77\xd7\xe7\x41\
\x00\x70\x8a\x03\x0a\x31\x26\x72\xa3\x39\xe6\x98\x69\x09\x82\xfb\
\x26\x11\x21\x01\x8c\x32\xcd\xdd\x6f\x88\x71\x60\x81\x81\xf3\xcc\
\xd3\xeb\x81\x12\xf3\x74\x8e\xcf\x61\x73\xcc\x06\x81\xcd\x34\x9b\
\x41\x86\xa4\xeb\xdb\xbd\x7b\x94\x6e\xa3\xea\xe6\x0d\x9b\x62\x55\
\x2d\xe3\x08\x6f\xa2\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\
\x82\
\x00\x00\x06\x09\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x32\x00\x00\x00\x2d\x08\x06\x00\x00\x00\xec\xbf\x38\xff\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x05\x9b\x49\x44\x41\x54\x68\xde\xd5\
\x99\x4b\x4c\x63\x55\x18\xc7\x31\x63\x9c\x48\x4c\x34\xce\xca\xc4\
\xc4\x85\x0b\x17\x6a\x8c\xc6\xa8\x1b\x63\x62\x66\xa5\x9b\x89\x3b\
\x17\x46\x63\x8c\x2b\xc7\x07\xa3\xf3\xd0\x4c\xcc\x18\x1d\xc6\x30\
\x99\x90\xcc\x42\x98\x41\x23\x03\x03\x41\x79\xb6\x85\x96\xbe\x5f\
\xb4\x94\x47\x5b\xca\xa3\x40\x5b\x28\x2d\xa5\x14\x28\xef\x77\x29\
\xc7\xff\xd7\xf4\x34\x37\x04\x98\x0a\xb7\xd0\xbb\xf8\x2f\xda\x45\
\xcf\xf9\xf5\x7c\xdf\xef\x9c\x7b\x6e\x41\x75\x4d\xdd\x1d\xcf\x48\
\xf4\x72\x38\xce\x3e\x95\x70\x9e\x28\x68\x6d\x6d\x7d\xb6\xf2\x41\
\x55\x77\x47\xf7\x60\x25\xbe\xf8\x56\xa2\x39\x5b\xc0\x18\x2b\xe8\
\xe8\xe8\x78\xa5\xb1\xb1\xd1\xa5\x35\x58\x0d\xbe\xc9\xd5\x1f\x25\
\x0b\x92\x86\x79\x5b\xad\x56\x7b\x8d\x26\x8b\xbf\xdb\x33\x76\x57\
\xb2\x20\x14\x93\xc9\xf4\xae\x4e\xa7\x0b\xf6\xf6\xf6\xae\x1b\xcc\
\x0e\x79\x30\x96\xf8\x5e\x92\x20\x14\x83\xc1\x70\xde\x68\x34\x46\
\x46\x47\x47\x99\x56\x6f\x72\xf7\x0d\x4f\x15\x4b\x12\x84\xa2\xd7\
\xeb\x3f\x34\x9b\xcd\x51\xbf\xdf\xcf\xec\xf6\xce\xb8\xd9\xe6\x7c\
\x18\x9a\xdb\xfd\x4e\x72\x20\x14\x94\xd8\x47\x56\xab\x35\x16\x08\
\x04\xd8\xe0\xe0\xe0\xae\x5a\x6b\xb4\x78\x83\x0b\xd7\x25\x07\x42\
\x91\xcb\xe5\x5f\x51\xbf\x10\x8c\xcf\xe7\x63\x26\x93\x39\x64\xef\
\xf1\x96\x49\x0e\x84\x22\x93\xc9\x5a\xc6\xc6\xc6\x18\x85\x60\x5c\
\x2e\xd7\xb6\x46\x6f\x51\x05\xa6\x36\x2e\x4b\x0a\xa4\xae\xae\xae\
\x50\xab\xd5\x06\x26\x26\x26\x52\x30\xd4\x37\xc3\xc3\xc3\x4c\xab\
\x33\x0c\xf5\xf6\x07\x4b\x24\x03\x42\xa9\xaf\xaf\xff\x00\x2b\xb1\
\x4a\x30\xe3\xe3\xe3\x29\x98\x91\x91\x11\xd6\xd9\xd9\xb9\xac\x33\
\x75\xfe\x33\x31\xbb\x53\x24\x09\x90\x74\x89\x55\x10\x48\x28\x14\
\x4a\xc1\x50\xdf\x90\xa2\x07\x06\x06\x98\x4a\xad\x73\xf4\xfb\x62\
\x37\x24\x01\x52\x52\x52\x72\x06\x5a\xee\x8f\x44\x22\x2c\x1c\x0e\
\xb3\x60\x30\xc8\xb8\x04\xa8\xd4\xcc\x66\xcb\xb4\xc9\xe6\xaa\xc8\
\x7b\x10\x4a\x4d\x4d\xcd\x9b\x7d\x7d\x7d\x8b\x53\x53\x53\x19\x18\
\x2e\x01\x82\x71\xbb\xdd\x49\xa5\x5a\xaf\x1b\x09\x2d\x5f\xc9\x6b\
\x10\x4a\x4b\x4b\x4b\x31\x41\x70\x18\x2e\x01\x82\xa1\xbe\x19\x1a\
\x1a\x82\x08\xf4\x7e\x7b\xef\xf0\x9d\xbc\x06\xa1\x12\xb3\x58\x2c\
\x23\xb1\x58\x8c\x45\xa3\x51\x36\x39\x39\xc9\xf6\x4a\xc0\xeb\xf5\
\x32\x87\xc3\xb1\xa1\xd2\x18\x9b\xc6\x63\xdb\x45\x79\x09\x92\xb6\
\xd8\x35\x02\x99\x99\x99\x49\xc1\x50\xdf\xec\x95\x00\xc1\x78\x3c\
\x1e\xa6\x54\xa9\x5d\xce\xc1\xd0\xaf\x79\x09\x82\x55\x39\x0b\xf5\
\xfa\xe2\xf1\x78\x0a\x66\x7a\x7a\x3a\x03\xc3\x25\x40\x30\xd4\x37\
\x38\xde\x30\xac\x60\x5c\x6b\xb4\xff\x9d\xc3\xf3\xda\xd1\x40\x28\
\x4d\x4d\x4d\xbf\xcc\xcf\xcf\x33\xca\xec\xec\x6c\x06\x66\x3f\xa3\
\x11\x0c\xf6\xa1\xdd\xd6\xb6\x76\xf3\xe0\xd8\xdc\xb5\xbc\x02\xc1\
\xaa\x3c\x85\xc9\x8d\x2f\x2d\x2d\x65\x60\xa8\xdc\x0e\x93\x40\x7f\
\x7f\x3f\xd3\x6a\x75\x21\x68\xfa\x6e\xde\x80\x50\x14\x0a\xc5\xed\
\x95\x95\x15\x46\x30\x0b\x0b\x0b\x6c\x6e\x6e\x8e\x1d\x26\x01\x82\
\xa1\x0d\x14\x22\x48\x28\xda\xd4\x0a\x7f\x64\xbd\x28\x2f\x40\x4a\
\x4b\x4b\xcf\xa1\x6c\x42\xab\xab\xab\x6c\x79\x79\x39\x03\xc3\x25\
\x40\x30\x5c\x02\x04\xc3\x25\x40\x30\xd8\x8f\x20\x82\xf6\xa1\x4e\
\xd7\xe8\xcd\x53\x07\xa1\x68\x34\x9a\xfb\x9b\x9b\x9b\x6c\x6d\x6d\
\x2d\x05\xb3\xb8\xb8\xc8\xb8\x04\x0e\x33\x1a\xf5\x0d\x59\x0d\x22\
\x58\x51\xaa\x8d\x35\xc1\x99\x9d\xd3\x05\xa9\xaa\xaa\xba\x80\x95\
\x48\x12\xcc\xfa\xfa\x3a\xa3\x52\xe3\x30\xd9\x48\x80\x60\x9c\x4e\
\x27\x93\x2b\xda\xec\x6e\x6f\xe4\xa7\x53\x03\xa1\x0d\x12\x65\xe2\
\x4d\x24\x12\x6c\x6b\x6b\x2b\x03\x93\x8d\x04\x08\x86\x4b\x00\xc7\
\x1b\x86\xa7\xd2\x69\x8d\xc1\xf6\x07\x26\xf6\xcd\x89\x83\x50\x70\
\x59\x51\xb9\xbb\xbb\xcb\x76\x76\x76\x32\x30\xd4\x37\x1c\x86\x4b\
\x80\x60\xb8\x04\xf8\xb3\x8d\x50\x02\xd4\x37\x10\x41\x52\x06\x13\
\xe0\xb1\xfa\xd2\x89\x83\xd4\xd6\xd6\x7e\x42\x93\xe7\x30\xdb\xdb\
\xdb\x6c\x63\x63\x83\xed\x95\xc0\xa3\x8e\x35\x1c\x06\x5a\x67\x4a\
\xa5\x32\x60\xb6\xbb\x7f\x3f\x51\x10\xda\xe9\x31\x89\x00\x81\x50\
\x92\xc9\x64\x0a\x46\x28\x01\x82\xc9\x46\x02\x04\x43\x7d\x43\x30\
\x10\xc1\xa6\x4c\xa1\xfa\x77\x2c\xba\xf9\xf5\x89\x80\x50\x70\x7d\
\x54\xc7\x41\x38\x0c\xf5\x0d\x87\x39\x8a\x04\xa8\x6f\x7a\x7a\x7a\
\x98\x4c\xae\x70\x76\xb9\xfd\xd7\x4f\x04\x04\x77\xc7\x57\x68\xf2\
\x42\x18\x0a\x87\x11\x1a\x4d\x78\xac\x39\xe8\xd9\x46\x28\x01\xb2\
\x1a\x1e\xea\x16\x5a\x55\xfa\x3f\x43\xb3\xc9\x8b\x39\x05\x29\x2b\
\x2b\x7b\x1d\x7d\x90\xd8\x0b\x72\x98\x04\xb2\x3d\xd6\x50\xdf\x10\
\x0c\x0e\xaa\xac\xb9\x45\x66\xf4\x8c\x4e\x5f\xca\x19\x08\x69\x58\
\xd8\x27\xfb\xc1\x1c\x45\x02\x42\xa3\x11\x0c\x95\x9a\x4a\xa5\x0a\
\x43\xd3\xb7\x05\x9a\x16\x0f\x84\xd2\xd5\xd5\xa5\x39\x08\x44\x28\
\x01\x82\x39\x8e\x04\x08\x06\xb7\xa0\x89\xc6\x66\xb9\x6c\x34\xbc\
\x72\x51\x74\x10\x5c\x80\x97\x1d\x06\x72\x90\xd1\x84\xc7\x1a\xea\
\x1b\x9a\xbc\xcd\x66\x5b\xc6\xef\x05\x71\x04\x72\xe1\x75\x87\xa3\
\xbd\xbd\xdd\x8e\x95\xb0\x41\xcb\xd6\xb6\xb6\x36\x33\x5e\x50\x99\
\x9a\x9b\x9b\x95\xf7\xee\xdd\x6f\xaa\xf8\xeb\x41\xa1\xa8\x20\x0d\
\x0d\x0d\x45\xfb\x35\xfc\x7e\xd9\x2b\x01\xfc\xfb\xdb\x98\x7c\x10\
\x97\x81\x56\x6c\xb0\xd5\x58\x81\x5b\x28\xad\xdf\x90\x22\xe4\x02\
\xf2\x1a\xf2\x22\xf2\x02\xf2\x3c\xf2\x5c\x3a\xf4\xdd\x63\xa2\x82\
\x94\x97\x97\xbf\x43\xff\x6e\x36\x20\x14\xac\x46\x12\x75\x1f\xc5\
\x7b\x19\x07\x20\x2a\xd2\x13\xa7\x5c\x45\xde\x47\x9e\xc9\x76\x6c\
\x51\x41\xd0\xf0\xe7\xa0\xd1\x85\x47\x01\x90\xc1\x70\x39\x1e\xc1\
\x3f\x2f\x47\xfd\xdf\x14\x00\x7c\x89\xbc\x8a\x9c\xf9\xbf\x63\x8b\
\x0a\x42\x41\x49\xf8\x0f\x33\x17\x1a\x36\x8e\xda\x37\xc0\x46\xc5\
\x02\x00\x2a\x9f\x97\x8e\x33\xae\xe8\x20\xb0\x8a\x7d\x3f\x08\xf4\
\x00\x35\x6f\x17\x40\x4a\x04\x00\x3f\x23\xef\x21\x8f\x1f\x77\x5c\
\xd1\x41\xa0\x60\xc5\xde\xa6\xee\xee\xee\x0e\xe1\xfb\x32\x01\x00\
\xe5\x63\xe4\x69\xb1\xc6\x15\x1d\x04\x4d\xfb\x90\x43\x60\xf7\xde\
\x44\x23\xbb\x70\x76\xba\x25\x00\xb8\x81\xbc\x25\xf6\xb8\xa2\x83\
\xa0\x81\x53\x7b\x09\x76\xe6\x09\x5c\xaf\x7e\x91\x2e\x1f\x0e\xf1\
\x03\xa9\x53\xec\x31\x73\x02\x82\x9b\x95\xab\x58\x15\x6b\x75\x75\
\xf5\xcb\xf4\x19\x13\xff\x3c\x0d\xf1\x19\x52\x98\x0b\x88\x9c\x80\
\x40\xc1\x4f\xd2\xf3\x09\xff\x8c\xc9\xbf\x81\x9c\xa7\x4d\x2b\x57\
\x10\x94\xff\x00\x0c\x72\x2c\xb1\x4c\xc9\xc1\xa9\x00\x00\x00\x00\
\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\xac\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x07\x00\x00\x00\x05\x08\x04\x00\x00\x00\x23\x93\x3e\x53\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x40\x49\x44\x41\x54\x08\xd7\x63\xf8\xcf\
\x00\x82\x13\xeb\x93\x95\x40\x34\x98\x33\x25\xea\xc1\xae\x55\x7d\
\x0c\x8c\x60\x6e\x9d\xc1\x95\x2d\x8f\x76\x3d\xda\xd5\x1e\x01\xe4\
\x86\x0a\x1d\x5e\x04\xe2\x3c\xda\x75\x66\x43\x92\x1c\x43\x5d\xf7\
\xae\x9d\x30\xd8\x38\x01\x00\x65\x08\x27\x8f\x6e\x3d\x5d\x1d\x00\
\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\x9f\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x04\x00\x00\x00\xd8\xe2\x2c\xf7\
\x00\x00\x00\x02\x73\x42\x49\x54\x08\x08\x55\xec\x46\x04\x00\x00\
\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\x00\x77\
\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\x67\x9b\
\xee\x3c\x1a\x00\x00\x00\x33\x49\x44\x41\x54\x18\xd3\x63\x68\xac\
\x68\xfc\x81\x15\x56\x30\x34\xfe\xc7\x05\xc1\x52\xf7\x26\xbf\xec\
\x41\x86\xf7\x26\xc3\xa5\x3e\x74\xfc\x6f\x40\x86\x1f\x3a\x86\x90\
\x14\x1e\x7f\xe1\x0a\x0d\x9c\x61\x08\x00\xf5\x8f\xf9\x54\xcd\x1d\
\xdf\x00\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x01\x1b\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0f\x00\x00\x00\x0b\x08\x06\x00\x00\x00\xa0\x47\xd7\x5c\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x00\xad\x49\x44\x41\x54\x28\xcf\x9d\
\x90\x41\x4a\xc4\x40\x10\x45\xdf\x4f\xfe\xb8\xc8\x4e\x74\xe7\x71\
\xd4\x6b\xa8\x17\x08\x78\x03\xef\x90\x6c\x04\xef\xe1\x2a\x82\x2b\
\xcf\x23\x43\x46\x48\xba\xdb\x72\x21\xd9\x4f\xfa\x41\x41\xfd\x82\
\x47\x51\xa5\x61\x18\xbe\xba\xae\xbb\xe1\x9f\x90\x14\x5b\xbf\xe5\
\x88\x6d\x44\xac\xeb\x7a\x4c\x29\xbd\xf6\x7d\xff\xe6\x83\xdd\x3d\
\x3d\x3e\x24\xce\x43\xcb\xb2\x5c\x4e\xd3\xc7\xcb\x38\x8e\x34\x48\
\x2a\x39\x73\x6e\xb9\x6d\x7f\xef\xef\x6e\x97\x83\xfd\x6c\x41\x53\
\x72\x66\x27\x61\xfb\xc2\x08\x95\x9c\xf6\xca\xa8\x51\x6b\xa1\x9a\
\xcd\x10\x60\x40\xa5\xa4\x0a\x37\x30\x75\x37\x43\x04\x16\xa8\x46\
\x8e\x08\x8c\x50\xae\x78\x18\x01\x9e\xe7\xd3\xd5\xfb\xf4\xf9\xbd\
\xd7\x9d\x4f\x3f\xd7\x7f\xf5\x8b\x6a\x66\x34\x31\xed\x59\x00\x00\
\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\xf0\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x03\x00\x00\x00\x45\x35\x14\x4e\
\x00\x00\x00\x3c\x50\x4c\x54\x45\xf7\xf7\xf7\xff\xff\xff\x90\x90\
\x90\x8b\x8b\x8b\x8e\x8e\x8e\x8b\x8b\x8b\xec\xec\xec\x90\x90\x90\
\xc3\xc3\xc3\xde\xde\xde\xf0\xf0\xf0\xa0\xa0\xa0\xed\xed\xed\x90\
\x90\x90\xc2\xc2\xc2\x8f\x8f\x8f\xdc\xdc\xdc\x90\x90\x90\x8c\x8c\
\x8c\x8c\x8c\x8c\x20\x9b\x87\x59\x00\x00\x00\x14\x74\x52\x4e\x53\
\xc8\x00\xf0\x33\x87\x04\xcc\x9f\xde\xd2\xcb\xe7\xcc\xda\xdf\xa6\
\xd3\xdd\xf9\xfa\x54\x29\x6f\x66\x00\x00\x00\x4f\x49\x44\x41\x54\
\x78\x5e\x55\x8e\x59\x0a\x80\x30\x10\x43\x93\x99\x69\xab\xdd\xb5\
\xf7\xbf\xab\x88\x58\x98\xf7\x17\x42\x16\x90\xd4\xd4\xee\x96\x94\
\x24\x18\x4c\x8e\x33\x9f\x87\x58\x20\x68\xa5\xe2\xa5\x16\x23\x54\
\x22\x3e\xa2\x28\x46\xc7\x4f\x1f\xb8\xe6\x56\xf3\xc2\xca\x5b\xe5\
\xe5\x3d\x9f\xf3\x9d\x7e\xcf\x7f\xf1\x3f\x1f\x07\x1b\x02\xe3\x87\
\x82\x10\xf0\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x00\x81\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x10\x00\x00\x00\x10\x01\x03\x00\x00\x00\x25\x3d\x6d\x22\
\x00\x00\x00\x06\x50\x4c\x54\x45\x00\x00\x00\xae\xae\xae\x77\x6b\
\xd6\x2d\x00\x00\x00\x01\x74\x52\x4e\x53\x00\x40\xe6\xd8\x66\x00\
\x00\x00\x29\x49\x44\x41\x54\x78\x5e\x05\xc0\xb1\x0d\x00\x20\x08\
\x04\xc0\xc3\x58\xd8\xfe\x0a\xcc\xc2\x70\x8c\x6d\x28\x0e\x97\x47\
\x68\x86\x55\x71\xda\x1d\x6f\x25\xba\xcd\xd8\xfd\x35\x0a\x04\x1b\
\xd6\xd9\x1a\x92\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\
\x00\x00\x01\x63\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x0d\x00\x00\x00\x0d\x08\x03\x00\x00\x00\x45\x35\x14\x4e\
\x00\x00\x00\x7b\x50\x4c\x54\x45\xff\xff\xff\x8b\x8b\x8b\x8b\x8b\
\x8b\x8e\x8e\x8e\x90\x90\x90\x8f\x8f\x8f\xf7\xf7\xf7\xf4\xf3\xf3\
\xf0\xf0\xf0\xf2\xf1\xf1\xec\xec\xec\xed\xed\xed\xef\xed\xed\xeb\
\xe8\xe8\xde\xde\xde\xdc\xdc\xdc\xe3\xe1\xe1\xe1\xdd\xdd\x90\x90\
\x90\xdf\xda\xda\xde\xd9\xd9\x90\x90\x90\xc3\xc3\xc3\xda\xd4\xd4\
\xc2\xc2\xc2\xd4\xcf\xcf\xd2\xcb\xcb\xd0\xc8\xc8\xa0\xa0\xa0\xc9\
\xc2\xc2\x90\x90\x90\xc3\xbb\xbb\xc1\xb7\xb7\xc1\xb8\xb8\xc1\xb7\
\xb7\x8c\x8c\x8c\xc1\xb8\xb8\x8c\x8c\x8c\xc2\xb8\xb8\xc2\xb9\xb9\
\xc3\xba\xba\xd5\x0f\x4f\x7d\x00\x00\x00\x29\x74\x52\x4e\x53\x00\
\x04\x33\x87\x9f\xa6\xc8\xca\xcb\xcb\xcc\xcc\xcd\xd1\xd2\xd3\xd5\
\xd8\xda\xda\xdb\xdd\xde\xde\xdf\xe2\xe4\xe6\xe7\xec\xf0\xf2\xf5\
\xf6\xf7\xf9\xf9\xfa\xfa\xfa\xfd\x3e\x2b\x06\xf8\x00\x00\x00\x6e\
\x49\x44\x41\x54\x08\x5b\x5d\x8e\x41\x02\xc1\x30\x00\x04\xb7\x49\
\x33\xa2\xa5\xa1\xa4\x82\x0a\x45\xf1\xff\x17\x3a\xf4\xa2\xe6\xbe\
\xb3\x23\x49\xa6\x6c\x1f\x6d\x69\x24\x49\x85\xcd\x5d\xe3\x9b\x2e\
\xdb\x42\x92\xed\x6b\x00\xea\xde\x4a\x26\x57\x4c\x54\xd9\xc8\x25\
\x60\xb5\x59\x02\xc9\x29\x06\xd8\xde\x86\xeb\x1a\x42\xd4\xe8\xe1\
\xf2\xfe\x3c\x8f\xe0\x47\xc5\x00\xa7\xfb\x6b\xd8\x43\x88\x72\x09\
\x16\x87\xf3\x6e\xda\xcd\x9d\xf3\xbf\xbf\x96\xdf\xce\x2f\xbf\x0b\
\x07\xc6\xa9\xa3\x54\xf8\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x02\x0d\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x00\x00\x00\x13\x08\x06\x00\x00\x00\xd6\x3a\x8e\x1f\
\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\
\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\x74\x77\x61\x72\x65\
\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\x70\x65\x2e\x6f\x72\
\x67\x9b\xee\x3c\x1a\x00\x00\x01\x9f\x49\x44\x41\x54\x48\xc7\xd5\
\x57\xcd\x4a\xc3\x40\x18\xdc\x4d\xd6\x5a\x2a\xfd\xc1\x9f\x46\x85\
\x5a\x29\x88\xf4\x09\x4c\x3d\xa9\x27\xc1\x5e\x7c\x94\x4a\xf1\x05\
\x3c\x5a\xf0\xd6\x9b\x3e\x81\x98\x07\x28\xe6\x50\x7a\xb2\x97\x2a\
\x5e\xa5\xb7\xaa\x87\xd8\x54\x48\x4c\x62\xf2\xad\xdf\xd2\xd8\xf6\
\x11\xb2\x13\x16\xf6\xcb\x69\x66\x67\x06\x76\x29\xe7\x9c\xb4\x5a\
\xad\x12\xa5\xf4\x06\xd7\x31\x00\xac\x92\xe4\x82\x2b\x8a\xf2\x86\
\x1c\x6f\x71\x7f\xdd\x6c\x36\x23\x86\xe4\x77\x91\xf8\x73\x3e\x9f\
\x67\xba\xae\x07\x9a\xa6\x39\x09\x16\x40\x86\xc3\xa1\xd6\xeb\xf5\
\xae\xf0\xe0\x0f\x70\x3c\xa7\x28\xc0\xa8\x54\x2a\xa7\xf5\x7a\x7d\
\xc4\x10\xf8\x73\x59\xb8\x92\x60\x78\x28\x62\xc9\x30\x8c\x2d\xdc\
\x9f\x31\x4a\xc9\x51\xad\x56\xe3\x8c\xa9\x2a\x40\x14\x22\xf9\x88\
\x24\x1c\xe5\xf2\x8e\x5f\x28\x14\x5c\xdb\xb6\x4f\x18\x00\x2f\xa4\
\xd3\xe9\x9f\x28\x02\x21\x00\x88\x24\xc8\xe5\xb2\xdc\xb2\xac\x4d\
\x36\x6b\x07\x44\x94\x83\x34\xfc\x91\x30\x21\x58\x66\x85\xfd\x4f\
\x1c\xc4\x02\x99\xf8\x0b\x50\x36\x53\x23\x3e\x2e\x91\x03\xb1\x04\
\x16\x9f\xbf\xf0\x83\xc8\x15\xa1\x05\x01\x53\xfe\x5c\x64\x4a\x36\
\xfe\x64\x5e\x62\x8c\x10\x97\x39\x42\x92\x96\x78\x1e\x21\x41\x1e\
\xa4\xed\xc0\xb4\xc6\x92\x45\x28\x76\x00\x2f\x72\x4e\x18\x86\xaa\
\x4a\x55\xa9\x22\xe4\x38\xae\x48\xcc\xb7\x70\xe0\x69\x34\x7a\x3f\
\x2c\x6d\x17\xc3\x84\x5f\xe2\x66\xb0\xbe\xc6\x29\x7b\x32\xc9\x78\
\x9e\xd7\x67\x48\xfa\xe2\xd1\x34\xfb\xc5\xe2\xc6\x5a\x75\x7f\xcf\
\x59\xc9\x64\xc2\xe4\xc6\x1e\xa8\x65\x8d\x53\x83\x97\xd7\x2c\xf2\
\x1e\xb4\xdb\xed\x7b\x1a\x3f\x68\x74\x8c\xd2\x1d\xee\xab\x12\x18\
\xf0\x8b\x91\x7f\x30\x4d\xf3\xb2\xd3\xe9\x7c\xd2\xc5\xd8\x34\x1a\
\x8d\x75\xd7\x75\xb5\x20\x08\xd4\x64\x3a\xc0\x79\xb7\xdb\xfd\xc0\
\xf7\x80\x8f\xa3\x8f\xa3\xff\x07\x2d\x6a\xf7\xea\xcc\x13\x18\xa8\
\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
"
qt_resource_name = b"\
\x00\x06\
\x07\x03\x7d\xc3\
\x00\x69\
\x00\x6d\x00\x61\x00\x67\x00\x65\x00\x73\
\x00\x03\
\x00\x00\x78\xa3\
\x00\x71\
\x00\x73\x00\x73\
\x00\x0a\
\x0c\xbd\x13\x23\
\x00\x63\
\x00\x6f\x00\x66\x00\x66\x00\x65\x00\x65\x00\x2e\x00\x71\x00\x73\x00\x73\
\x00\x0b\
\x0c\xe2\x21\xa3\
\x00\x64\
\x00\x65\x00\x66\x00\x61\x00\x75\x00\x6c\x00\x74\x00\x2e\x00\x71\x00\x73\x00\x73\
\x00\x0c\
\x0c\xe8\xef\x03\
\x00\x70\
\x00\x61\x00\x67\x00\x65\x00\x66\x00\x6f\x00\x6c\x00\x64\x00\x2e\x00\x71\x00\x73\x00\x73\
\x00\x1e\
\x00\x4f\xcb\xe7\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\
\x00\x64\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x16\
\x0b\x31\x44\x87\
\x00\x70\
\x00\x75\x00\x73\x00\x68\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\
\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x14\
\x05\x6a\xa8\xa7\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x6e\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\
\x00\x70\x00\x6e\x00\x67\
\x00\x1c\
\x02\x75\x51\x87\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x5f\
\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x12\
\x03\xe4\x59\x27\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x75\x00\x70\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\
\x00\x67\
\x00\x10\
\x07\x5f\x75\x87\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x75\x00\x70\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x10\
\x0c\xba\x0b\x87\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x6e\x00\x5f\x00\x6f\x00\x66\x00\x66\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x21\
\x09\x84\x6e\x87\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\
\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\
\x00\x09\
\x08\x38\x8c\x47\
\x00\x66\
\x00\x72\x00\x61\x00\x6d\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x1a\
\x03\x0e\xe4\x87\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x5f\
\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x1f\
\x0c\x85\x15\xa7\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\
\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x1d\
\x05\xbc\x2c\x47\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\
\x00\x65\x00\x64\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x09\xaf\x5e\x27\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x17\
\x0c\xab\x51\x07\
\x00\x64\
\x00\x6f\x00\x77\x00\x6e\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x64\x00\x69\x00\x73\x00\x61\x00\x62\x00\x6c\
\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0e\
\x02\x9c\x73\xc7\
\x00\x70\
\x00\x75\x00\x73\x00\x68\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x1c\
\x0e\x3c\xde\x07\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\
\x00\x64\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x1f\
\x00\xbd\x9c\xe7\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\
\x00\x65\x00\x64\x00\x5f\x00\x70\x00\x72\x00\x65\x00\x73\x00\x73\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0e\
\x04\xa2\xfc\xa7\
\x00\x64\
\x00\x6f\x00\x77\x00\x6e\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x06\xe6\xe6\x67\
\x00\x75\
\x00\x70\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x12\
\x0f\x99\xfb\x67\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x6e\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\x00\x70\x00\x6e\
\x00\x67\
\x00\x14\
\x07\xec\xd1\xc7\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x2e\
\x00\x70\x00\x6e\x00\x67\
\x00\x0e\
\x0b\xc2\xcd\x07\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x75\x00\x70\x00\x5f\x00\x6f\x00\x66\x00\x66\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x0c\xe8\xe0\xe7\
\x00\x70\
\x00\x61\x00\x67\x00\x65\x00\x66\x00\x6f\x00\x6c\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x15\
\x0f\xf3\xc0\x07\
\x00\x75\
\x00\x70\x00\x5f\x00\x61\x00\x72\x00\x72\x00\x6f\x00\x77\x00\x5f\x00\x64\x00\x69\x00\x73\x00\x61\x00\x62\x00\x6c\x00\x65\x00\x64\
\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x16\
\x01\x75\xcc\x87\
\x00\x63\
\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x62\x00\x6f\x00\x78\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\x00\x65\
\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0a\
\x05\xcc\x19\x47\
\x00\x73\
\x00\x70\x00\x69\x00\x6e\x00\x75\x00\x70\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x19\
\x08\x11\x29\x47\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x75\x00\x6e\x00\x63\x00\x68\x00\x65\
\x00\x63\x00\x6b\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x0c\
\x06\x41\x40\x87\
\x00\x73\
\x00\x69\x00\x7a\x00\x65\x00\x67\x00\x72\x00\x69\x00\x70\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x17\
\x04\xb5\xb5\xa7\
\x00\x72\
\x00\x61\x00\x64\x00\x69\x00\x6f\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x63\x00\x68\x00\x65\x00\x63\x00\x6b\
\x00\x65\x00\x64\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x14\
\x09\x87\xa0\x87\
\x00\x70\
\x00\x75\x00\x73\x00\x68\x00\x62\x00\x75\x00\x74\x00\x74\x00\x6f\x00\x6e\x00\x5f\x00\x68\x00\x6f\x00\x76\x00\x65\x00\x72\x00\x2e\
\x00\x70\x00\x6e\x00\x67\
"
qt_resource_struct = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x03\x00\x00\x00\x21\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x1e\x00\x00\x00\x03\
\x00\x00\x00\x72\x00\x00\x00\x00\x00\x01\x00\x00\x0f\x9a\
\x00\x00\x03\x98\x00\x00\x00\x00\x00\x01\x00\x00\x25\x98\
\x00\x00\x04\xe4\x00\x00\x00\x00\x00\x01\x00\x00\x33\x5d\
\x00\x00\x01\x14\x00\x00\x00\x00\x00\x01\x00\x00\x13\xef\
\x00\x00\x03\x38\x00\x00\x00\x00\x00\x01\x00\x00\x22\xdc\
\x00\x00\x02\x28\x00\x00\x00\x00\x00\x01\x00\x00\x1b\xfc\
\x00\x00\x01\x52\x00\x00\x00\x00\x00\x01\x00\x00\x15\x9c\
\x00\x00\x03\xdc\x00\x00\x00\x00\x00\x01\x00\x00\x27\xf3\
\x00\x00\x05\x86\x00\x00\x00\x00\x00\x01\x00\x00\x36\x98\
\x00\x00\x00\xe6\x00\x00\x00\x00\x00\x01\x00\x00\x12\xe3\
\x00\x00\x02\xa6\x00\x00\x00\x00\x00\x01\x00\x00\x1e\xfa\
\x00\x00\x05\x16\x00\x00\x00\x00\x00\x01\x00\x00\x34\x00\
\x00\x00\x05\x68\x00\x00\x00\x00\x00\x01\x00\x00\x36\x13\
\x00\x00\x03\xfe\x00\x00\x00\x00\x00\x01\x00\x00\x28\xa6\
\x00\x00\x01\x7c\x00\x00\x00\x00\x00\x01\x00\x00\x16\xb5\
\x00\x00\x04\x46\x00\x00\x00\x00\x00\x01\x00\x00\x2a\x7f\
\x00\x00\x05\x30\x00\x00\x00\x00\x00\x01\x00\x00\x35\x1f\
\x00\x00\x02\x10\x00\x00\x00\x00\x00\x01\x00\x00\x1a\xfb\
\x00\x00\x01\xc8\x00\x00\x00\x00\x00\x01\x00\x00\x18\xcb\
\x00\x00\x05\xba\x00\x00\x00\x00\x00\x01\x00\x00\x37\xff\
\x00\x00\x02\xe6\x00\x00\x00\x00\x00\x01\x00\x00\x21\x12\
\x00\x00\x00\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x10\xde\
\x00\x00\x04\x74\x00\x00\x00\x00\x00\x01\x00\x00\x2b\x8a\
\x00\x00\x02\x62\x00\x00\x00\x00\x00\x01\x00\x00\x1d\x0a\
\x00\x00\x03\x04\x00\x00\x00\x00\x00\x01\x00\x00\x22\x2a\
\x00\x00\x01\xa2\x00\x00\x00\x00\x00\x01\x00\x00\x17\xce\
\x00\x00\x04\x96\x00\x00\x00\x00\x00\x01\x00\x00\x2c\xa0\
\x00\x00\x03\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x24\xf5\
\x00\x00\x04\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x29\x6f\
\x00\x00\x04\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x32\xad\
\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x00\x38\x00\x00\x00\x00\x00\x01\x00\x00\x08\xcb\
\x00\x00\x00\x54\x00\x01\x00\x00\x00\x01\x00\x00\x08\xe6\
"
def qInitResources():
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()
| 57.531429
| 129
| 0.724459
| 16,959
| 70,476
| 3.009552
| 0.017808
| 0.091695
| 0.069829
| 0.024217
| 0.399577
| 0.390172
| 0.374361
| 0.363604
| 0.340857
| 0.325692
| 0
| 0.359642
| 0.018233
| 70,476
| 1,224
| 130
| 57.578431
| 0.378012
| 0.002568
| 0
| 0.219189
| 0
| 0.826303
| 0
| 0
| 0
| 1
| 0.000114
| 0
| 0
| 1
| 0.001654
| false
| 0
| 0.000827
| 0
| 0.002481
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f473109c10c0a8910ed7cc4205471b3e5264199b
| 571
|
py
|
Python
|
torchelie/models/__init__.py
|
Vermeille/Torchelie
|
43957d83238372ae6436aac90127865c2040b76c
|
[
"MIT"
] | 117
|
2019-07-14T20:39:48.000Z
|
2021-10-17T19:16:48.000Z
|
torchelie/models/__init__.py
|
Vermeille/Torchelie
|
43957d83238372ae6436aac90127865c2040b76c
|
[
"MIT"
] | 41
|
2019-12-06T23:56:44.000Z
|
2021-08-02T09:13:30.000Z
|
torchelie/models/__init__.py
|
Vermeille/Torchelie
|
43957d83238372ae6436aac90127865c2040b76c
|
[
"MIT"
] | 13
|
2019-09-22T00:46:54.000Z
|
2021-04-09T15:53:15.000Z
|
from .classifier import ClassificationHead, ProjectionDiscr
from .vgg import *
from .resnet import *
from .patchgan import *
from .pixcnn import *
from .perceptualnet import *
from .unet import *
from .pix2pix import *
from .pix2pixhd import *
from .autogan import AutoGAN, autogan_32, autogan_64, autogan_128
from .snres_discr import *
from .hourglass import Hourglass
from .attention import Attention56Bone, attention56
from .stylegan2 import StyleGAN2Generator, StyleGAN2Discriminator
from .efficient import EfficientNet
from .registry import *
from .alexnet import *
| 31.722222
| 65
| 0.810858
| 67
| 571
| 6.850746
| 0.447761
| 0.217865
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.032193
| 0.129597
| 571
| 17
| 66
| 33.588235
| 0.891348
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
be5e6b05300e202ae01431d6b0b1ad2d66fcb8d4
| 3,019
|
py
|
Python
|
pycalphad/constraints.py
|
anilkunwar/pycalphad
|
eb3a074d5285b0bd76feddd1529e7edc6208c278
|
[
"MIT"
] | 1
|
2021-05-27T16:18:46.000Z
|
2021-05-27T16:18:46.000Z
|
pycalphad/constraints.py
|
anilkunwar/pycalphad
|
eb3a074d5285b0bd76feddd1529e7edc6208c278
|
[
"MIT"
] | null | null | null |
pycalphad/constraints.py
|
anilkunwar/pycalphad
|
eb3a074d5285b0bd76feddd1529e7edc6208c278
|
[
"MIT"
] | null | null | null |
"""
The constraints module contains definitions for equilibrium constraints and
their Jacobian.
"""
import pycalphad.variables as v
import numpy as np
# An index range is a list of (ordered pairs of indices).
def sitefrac_cons(input_x, idx_range):
"""
Accepts input vector and index range and returns
site fraction constraint.
"""
return sum(input_x[idx_range[0]:idx_range[1]]) - 1
def sitefrac_jac(input_x, idx_range):
"""
Accepts input vector and index range and returns
Jacobian of site fraction constraint.
"""
output_x = np.zeros(len(input_x))
for idx in range(idx_range[0], idx_range[1]):
output_x[idx] = 1
return output_x
def molefrac_cons(input_x, species, fix_val, all_variables, phases):
"""
Accept input vector, species and fixed value.
Returns constraint.
"""
output = -fix_val
phase_idx = 0
site_ratios = []
for idx, variable in enumerate(all_variables):
if isinstance(variable, v.PhaseFraction):
phase_idx = idx
# Normalize site ratios
site_ratio_normalization = 0
for n_idx, sublattice in \
enumerate(phases[variable.phase_name].constituents):
if species in set(sublattice):
site_ratio_normalization += \
phases[variable.phase_name].sublattices[n_idx]
site_ratios = [c/site_ratio_normalization for c in \
phases[variable.phase_name].sublattices]
if isinstance(variable, v.SiteFraction) and \
species == variable.species:
output += input_x[phase_idx] * \
site_ratios[variable.sublattice_index] * input_x[idx]
return output
#pylint: disable-msg=W0613
def molefrac_jac(input_x, species, fix_val, all_variables, phases):
"""
Accept input vector, species and fixed value.
Returns Jacobian of constraint.
"""
output_x = np.zeros(len(input_x))
phase_idx = 0
site_ratios = []
for idx, variable in enumerate(all_variables):
if isinstance(variable, v.PhaseFraction):
phase_idx = idx
# Normalize site ratios
site_ratio_normalization = 0
for n_idx, sublattice in \
enumerate(phases[variable.phase_name].constituents):
if species in set(sublattice):
site_ratio_normalization += \
phases[variable.phase_name].sublattices[n_idx]
site_ratios = [c/site_ratio_normalization \
for c in phases[variable.phase_name].sublattices]
# We add the phase fraction Jacobian contribution below
if isinstance(variable, v.SiteFraction) and \
species == variable.species:
output_x[idx] += input_x[phase_idx] * \
site_ratios[variable.sublattice_index]
output_x[phase_idx] += input_x[idx] * \
site_ratios[variable.sublattice_index]
return output_x
| 35.940476
| 75
| 0.632329
| 362
| 3,019
| 5.069061
| 0.229282
| 0.035967
| 0.071935
| 0.075204
| 0.740055
| 0.740055
| 0.700817
| 0.700817
| 0.66485
| 0.613624
| 0
| 0.006484
| 0.284863
| 3,019
| 83
| 76
| 36.373494
| 0.843446
| 0.191123
| 0
| 0.627451
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.078431
| false
| 0
| 0.039216
| 0
| 0.196078
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
be6cbdc1597ec46e6a07b008390f6976261ef71d
| 5,799
|
py
|
Python
|
tests/erica_legacy/test_config.py
|
digitalservice4germany/erica
|
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
|
[
"MIT"
] | 3
|
2022-01-31T15:17:17.000Z
|
2022-03-01T16:15:47.000Z
|
tests/erica_legacy/test_config.py
|
digitalservice4germany/erica
|
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
|
[
"MIT"
] | 59
|
2022-01-31T14:04:20.000Z
|
2022-03-31T20:08:47.000Z
|
tests/erica_legacy/test_config.py
|
digitalservice4germany/erica
|
7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2
|
[
"MIT"
] | 1
|
2022-03-10T09:24:28.000Z
|
2022-03-10T09:24:28.000Z
|
import os
import unittest
from unittest.mock import patch
import pytest
from erica.config import Settings, DevelopmentSettings, StagingSettings, TestingSettings, get_settings, UnknownEricaEnvironment
from tests.erica_legacy.utils import missing_cert, missing_pyeric_lib
class TestGetCertPath(unittest.TestCase):
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def setUp(self):
self.darwin_stick_cert_path = "libaetpkss.dylib"
self.linux_stick_cert_path = "libaetpkss.so"
self.file_cert_path = "erica/erica_legacy/instances/blueprint/cert.pfx"
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_using_stick_and_platform_darwin_then_return_correct_cert_path(self):
with patch('erica.config.platform', 'darwin'):
settings = Settings()
settings.using_stick = True
actual_cert_path = settings.get_cert_path()
self.assertEqual(self.darwin_stick_cert_path, actual_cert_path)
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_using_stick_and_platform_not_darwin_then_return_correct_cert_path(self):
with patch('erica.config.platform', 'not_darwin'):
settings = Settings()
settings.using_stick = True
actual_cert_path = settings.get_cert_path()
self.assertEqual(self.linux_stick_cert_path, actual_cert_path)
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_not_using_stick_and_platform_darwin_then_return_correct_cert_path(self):
with patch('erica.config.platform', 'darwin'):
settings = Settings()
settings.using_stick = False
actual_cert_path = settings.get_cert_path()
self.assertEqual(self.file_cert_path, actual_cert_path)
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_not_using_stick_and_platform_not_darwin_then_return_correct_cert_path(self):
with patch('erica.config.platform', 'not_darwin'):
settings = Settings()
settings.using_stick = False
actual_cert_path = settings.get_cert_path()
self.assertEqual(self.file_cert_path, actual_cert_path)
class TestGetEricDll(unittest.TestCase):
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def setUp(self):
self.darwin_dll_path = "erica/erica_legacy/lib/libericapi.dylib"
self.linux_dll_path = "erica/erica_legacy/lib/libericapi.so"
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_platform_darwin_then_return_correct_library(self):
with patch('erica.config.platform', 'darwin'):
actual_dll_path = Settings.get_eric_dll_path()
self.assertEqual(self.darwin_dll_path, actual_dll_path)
@pytest.mark.skipif(missing_cert(), reason="skipped because of missing cert.pfx; see pyeric/README.md")
@pytest.mark.skipif(missing_pyeric_lib(), reason="skipped because of missing eric lib; see pyeric/README.md")
def test_if_platform_not_darwin_then_return_linux_library(self):
with patch('erica.config.platform', 'not_darwin'):
actual_dll_path = Settings.get_eric_dll_path()
self.assertEqual(self.linux_dll_path, actual_dll_path)
class TestGetSettings(unittest.TestCase):
def setUp(self) -> None:
if 'ERICA_ENV' in os.environ:
self.old_env = os.environ['ERICA_ENV']
else:
self.old_env = None
get_settings.cache_clear() # Because the result is stored in a lru cache, we have to remove the stored value
def test_if_env_development_then_return_development_settings(self):
os.environ['ERICA_ENV'] = 'development'
setting = get_settings()
self.assertIsInstance(setting, DevelopmentSettings)
def test_if_env_testing_then_return_testing_settings(self):
os.environ['ERICA_ENV'] = 'testing'
setting = get_settings()
self.assertIsInstance(setting, TestingSettings)
def test_if_env_staging_then_return_staging_settings(self):
os.environ['ERICA_ENV'] = 'staging'
setting = get_settings()
self.assertIsInstance(setting, StagingSettings)
def test_if_other_env_then_raise_error(self):
os.environ['ERICA_ENV'] = 'other_env'
self.assertRaises(UnknownEricaEnvironment, get_settings)
def tearDown(self) -> None:
get_settings.cache_clear() # Because the result is stored in a lru cache, we have to remove the stored value
if self.old_env:
os.environ['ERICA_ENV'] = self.old_env
else:
os.environ.pop('ERICA_ENV', None)
| 50.868421
| 127
| 0.72547
| 774
| 5,799
| 5.158915
| 0.126615
| 0.046081
| 0.064112
| 0.092161
| 0.800651
| 0.761583
| 0.705985
| 0.66291
| 0.654145
| 0.654145
| 0
| 0
| 0.176755
| 5,799
| 113
| 128
| 51.318584
| 0.836406
| 0.027419
| 0
| 0.516484
| 0
| 0
| 0.238247
| 0.043995
| 0
| 0
| 0
| 0
| 0.10989
| 1
| 0.153846
| false
| 0
| 0.065934
| 0
| 0.252747
| 0.010989
| 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
|
be7323b5ecf1338f0619a174eb6d3ae6b157a7b2
| 1,938
|
py
|
Python
|
code/python/FundsAPIforDigitalPortals/v2/fds/sdk/FundsAPIforDigitalPortals/__init__.py
|
factset/enterprise-sdk
|
3fd4d1360756c515c9737a0c9a992c7451d7de7e
|
[
"Apache-2.0"
] | 6
|
2022-02-07T16:34:18.000Z
|
2022-03-30T08:04:57.000Z
|
code/python/FundsAPIforDigitalPortals/v2/fds/sdk/FundsAPIforDigitalPortals/__init__.py
|
factset/enterprise-sdk
|
3fd4d1360756c515c9737a0c9a992c7451d7de7e
|
[
"Apache-2.0"
] | 2
|
2022-02-07T05:25:57.000Z
|
2022-03-07T14:18:04.000Z
|
code/python/FundsAPIforDigitalPortals/v2/fds/sdk/FundsAPIforDigitalPortals/__init__.py
|
factset/enterprise-sdk
|
3fd4d1360756c515c9737a0c9a992c7451d7de7e
|
[
"Apache-2.0"
] | null | null | null |
# flake8: noqa
"""
Funds API For Digital Portals
Search for mutual funds and ETFs using one single consolidated API, including a criteria-based screener. The API provides also base data, key figures, and holdings. A separate endpoint returns the possible values and value range for the parameters that the endpoint /fund/notation/screener/search accepts: Application developers can request the values and value range only for a restricted set of notations that match predefined parameters. This functionality may be used to pre-fill the values and value ranges of the parameters of the /fund/notation/screener/search endpoint so that performing a search always leads to a non-empty set of notations. This API is fully integrated with the corresponding Quotes API, allowing access to detailed price and performance information of instruments, as well as basic security identifier cross-reference. For direct access to price histories, please refer to the Time Series API for Digital Portals. Similar criteria based screener APIs exist for equity instruments and securitized derivatives: See the Stocks API and the Securitized Derivatives API for details. # noqa: E501
The version of the OpenAPI document: 2
Generated by: https://openapi-generator.tech
"""
__version__ = "0.10.0"
# import ApiClient
from fds.sdk.FundsAPIforDigitalPortals.api_client import ApiClient
# import Configuration
from fds.sdk.FundsAPIforDigitalPortals.configuration import Configuration
# import exceptions
from fds.sdk.FundsAPIforDigitalPortals.exceptions import OpenApiException
from fds.sdk.FundsAPIforDigitalPortals.exceptions import ApiAttributeError
from fds.sdk.FundsAPIforDigitalPortals.exceptions import ApiTypeError
from fds.sdk.FundsAPIforDigitalPortals.exceptions import ApiValueError
from fds.sdk.FundsAPIforDigitalPortals.exceptions import ApiKeyError
from fds.sdk.FundsAPIforDigitalPortals.exceptions import ApiException
| 69.214286
| 1,125
| 0.828689
| 260
| 1,938
| 6.157692
| 0.492308
| 0.034978
| 0.049969
| 0.174891
| 0.191131
| 0.191131
| 0
| 0
| 0
| 0
| 0
| 0.005351
| 0.132095
| 1,938
| 27
| 1,126
| 71.777778
| 0.946492
| 0.674407
| 0
| 0
| 0
| 0
| 0.009934
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.888889
| 0
| 0.888889
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
be7a2b8fa460b5a0e13fc41fae8f4ef0b717e060
| 141
|
py
|
Python
|
pinax/teams/__init__.py
|
hamzamgit/pinax-teams
|
8ee93336fc7b03d385aaa5ab9d01e5875b3d17ef
|
[
"MIT"
] | null | null | null |
pinax/teams/__init__.py
|
hamzamgit/pinax-teams
|
8ee93336fc7b03d385aaa5ab9d01e5875b3d17ef
|
[
"MIT"
] | null | null | null |
pinax/teams/__init__.py
|
hamzamgit/pinax-teams
|
8ee93336fc7b03d385aaa5ab9d01e5875b3d17ef
|
[
"MIT"
] | 1
|
2020-06-29T04:18:26.000Z
|
2020-06-29T04:18:26.000Z
|
import pkg_resources
__version__ = pkg_resources.get_distribution("pinax-teams").version
default_app_config = "pinax.teams.apps.AppConfig"
| 23.5
| 67
| 0.829787
| 18
| 141
| 6
| 0.722222
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.070922
| 141
| 5
| 68
| 28.2
| 0.824427
| 0
| 0
| 0
| 0
| 0
| 0.262411
| 0.184397
| 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
|
be7b61bb2b6deba96c9ca7f255c9c678afadd410
| 143
|
py
|
Python
|
3rdParty/pytz/pytz-2016.10/build.py
|
rtobar/askapsoft
|
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
|
[
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1
|
2020-06-18T08:37:43.000Z
|
2020-06-18T08:37:43.000Z
|
3rdParty/pytz/pytz-2016.10/build.py
|
ATNF/askapsoft
|
d839c052d5c62ad8a511e58cd4b6548491a6006f
|
[
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null |
3rdParty/pytz/pytz-2016.10/build.py
|
ATNF/askapsoft
|
d839c052d5c62ad8a511e58cd4b6548491a6006f
|
[
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null |
from askapdev.rbuild.builders import Setuptools as Builder
builder = Builder()
builder.remote_archive = "pytz-2016.10.tar.gz"
builder.build()
| 23.833333
| 58
| 0.79021
| 20
| 143
| 5.6
| 0.8
| 0.375
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.046512
| 0.097902
| 143
| 5
| 59
| 28.6
| 0.821705
| 0
| 0
| 0
| 0
| 0
| 0.132867
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 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
|
be7d48870e230e807abf9d4a8e882198c841b871
| 974
|
py
|
Python
|
pbpstats/resources/enhanced_pbp/live/violation.py
|
bahalbach/pbpstats
|
6a9f602764edb7a3ee0e880fffbb5aa34990d6e9
|
[
"MIT"
] | null | null | null |
pbpstats/resources/enhanced_pbp/live/violation.py
|
bahalbach/pbpstats
|
6a9f602764edb7a3ee0e880fffbb5aa34990d6e9
|
[
"MIT"
] | null | null | null |
pbpstats/resources/enhanced_pbp/live/violation.py
|
bahalbach/pbpstats
|
6a9f602764edb7a3ee0e880fffbb5aa34990d6e9
|
[
"MIT"
] | null | null | null |
from pbpstats.resources.enhanced_pbp import Violation
from pbpstats.resources.enhanced_pbp.live.enhanced_pbp_item import LiveEnhancedPbpItem
class LiveViolation(Violation, LiveEnhancedPbpItem):
"""
Class for violation events
"""
action_type = "violation"
def __init__(self, *args):
super().__init__(*args)
@property
def is_delay_of_game(self):
return self.stripped_sub_type == "delayofgame"
@property
def is_goaltend_violation(self):
return self.stripped_sub_type == "defensivegoaltending"
@property
def is_lane_violation(self):
return self.stripped_sub_type == "lane"
@property
def is_jumpball_violation(self):
return self.stripped_sub_type == "jumpball"
@property
def is_kicked_ball_violation(self):
return self.stripped_sub_type == "kickedball"
@property
def is_double_lane_violation(self):
return self.stripped_sub_type == "doublelane"
| 25.631579
| 86
| 0.708419
| 111
| 974
| 5.855856
| 0.351351
| 0.101538
| 0.12
| 0.203077
| 0.447692
| 0.349231
| 0.304615
| 0.129231
| 0
| 0
| 0
| 0
| 0.205339
| 974
| 37
| 87
| 26.324324
| 0.839793
| 0.026694
| 0
| 0.25
| 0
| 0
| 0.077253
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.291667
| false
| 0
| 0.083333
| 0.25
| 0.708333
| 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
|
bea862cf78a6ddee4f94e445dc401e4254348613
| 2,202
|
py
|
Python
|
tools/src/test/python/dlpx/virtualization/_internal/fake_plugin/staged/successful.py
|
crystalplumage/virtualization-sdk
|
ddff908408812decfade475a47abc10b829a3028
|
[
"Apache-2.0"
] | 10
|
2020-01-08T22:34:20.000Z
|
2022-02-24T17:19:54.000Z
|
tools/src/test/python/dlpx/virtualization/_internal/fake_plugin/staged/successful.py
|
crystalplumage/virtualization-sdk
|
ddff908408812decfade475a47abc10b829a3028
|
[
"Apache-2.0"
] | 298
|
2019-12-18T00:20:13.000Z
|
2022-03-30T04:36:57.000Z
|
tools/src/test/python/dlpx/virtualization/_internal/fake_plugin/staged/successful.py
|
crystalplumage/virtualization-sdk
|
ddff908408812decfade475a47abc10b829a3028
|
[
"Apache-2.0"
] | 30
|
2019-12-13T19:53:38.000Z
|
2022-03-05T14:54:54.000Z
|
#
# Copyright (c) 2019 by Delphix. All rights reserved.
#
# flake8: noqa
from __future__ import print_function
import logging
from dlpx.virtualization.platform import Plugin
logger = logging.getLogger()
logger.setLevel(logging.NOTSET)
staged = Plugin()
@staged.discovery.repository()
def repository_discovery(source_connection):
return None
@staged.discovery.source_config()
def source_config_discovery(source_connection, repository):
return None
@staged.linked.mount_specification()
def staged_mount_specification(staged_source, repository):
return None
@staged.linked.pre_snapshot()
def staged_pre_snapshot(repository, source_config, staged_source,
optional_snapshot_parameters):
pass
@staged.linked.post_snapshot()
def staged_post_snapshot(repository, source_config, staged_source,
optional_snapshot_parameters):
return None
@staged.linked.start_staging()
def start_staging(repository, source_config, staged_source):
pass
@staged.linked.stop_staging()
def stop_staging(repository, source_config, staged_source):
pass
@staged.linked.status()
def staged_status(staged_source, repository, source_config):
return None
@staged.linked.worker()
def staged_worker(repository, source_config, staged_source):
pass
@staged.virtual.configure()
def configure(virtual_source, repository, snapshot):
return None
@staged.virtual.initialize()
def initialize(virtual_source, repository):
return None
@staged.virtual.mount_specification()
def mount_specification(virtual_source, repository):
return None
@staged.virtual.pre_snapshot()
def pre_snapshot(repository, source_config, virtual_source):
pass
@staged.virtual.post_snapshot()
def post_snapshot(repository, source_config, virtual_source):
return None
@staged.virtual.start()
def start(repository, source_config, virtual_source):
pass
@staged.virtual.stop()
def stop(repository, source_config, virtual_source):
pass
@staged.upgrade.repository('2019.10.30')
def repo_upgrade(old_repository):
return old_repository
@staged.upgrade.snapshot('2019.11.30')
def snap_upgrade(old_snapshot):
return old_snapshot
| 20.971429
| 66
| 0.771571
| 264
| 2,202
| 6.185606
| 0.215909
| 0.088181
| 0.134721
| 0.085732
| 0.410288
| 0.358849
| 0.327618
| 0.216779
| 0.153092
| 0
| 0
| 0.011047
| 0.136694
| 2,202
| 104
| 67
| 21.173077
| 0.847975
| 0.029064
| 0
| 0.290323
| 0
| 0
| 0.009376
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.290323
| false
| 0.112903
| 0.048387
| 0.177419
| 0.516129
| 0.016129
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 4
|
fe2bdc51cb9ea56f1bac3040b7cde53c433275e1
| 2,610
|
py
|
Python
|
game/templatetags/app_filters.py
|
lhy0807/industry_simulator
|
75daadcce3d2c14f8cc226d5c92f310dff46dbf6
|
[
"MIT"
] | null | null | null |
game/templatetags/app_filters.py
|
lhy0807/industry_simulator
|
75daadcce3d2c14f8cc226d5c92f310dff46dbf6
|
[
"MIT"
] | null | null | null |
game/templatetags/app_filters.py
|
lhy0807/industry_simulator
|
75daadcce3d2c14f8cc226d5c92f310dff46dbf6
|
[
"MIT"
] | null | null | null |
from django import template
from django.apps import apps
register = template.Library()
@register.filter(name='get_machine_purchased')
def get_machine_purchased(record, turn):
return record.get(turn=turn).machine_purchased
@register.filter(name='get_to_own')
def get_to_own(record, turn):
return record.get(turn=turn).to_own
@register.filter(name='get_machine_operated')
def get_machine_operated(record, turn):
return record.get(turn=turn).machine_operated
@register.filter(name='get_r_d_purchased')
def get_r_d_purchased(record, turn):
return record.get(turn=turn).r_d_purchased
@register.filter(name='get_mp_cost')
def get_mp_cost(record, turn):
return record.get(turn=turn).mp_cost * record.get(turn=turn).machine_purchased
@register.filter(name='get_mo_cost')
def get_mo_cost(record, turn):
return record.get(turn=turn).mo_cost * record.get(turn=turn).machine_operated
@register.filter(name='get_r_d_cost')
def get_r_d_cost(record, turn):
return record.get(turn=turn).r_d_cost
@register.filter(name='get_revenue')
def get_revenue(record, turn):
return record.get(turn=turn).revenue
@register.filter(name='get_unit_produce')
def get_unit_produce(record, turn):
return record.get(turn=turn).unit_produce
@register.filter(name='get_cost_per_turn')
def get_cost_per_turn(record, turn):
return record.get(turn=turn).cost_per_turn
@register.filter(name='get_bank_balance')
def get_bank_balance(record, turn):
return record.get(turn=turn).bank_balance
@register.filter(name='get_initial')
def get_get_initial(record, turn):
if turn > 1:
return record.get(turn=turn-1).bank_balance
return 0
@register.filter(name='get_before_revenue')
def get_before_revenue(record, turn):
return record.get(turn=turn).bank_balance - record.get(turn=turn).revenue
@register.filter(name='get_report_output')
def get_report_output(record, turn):
output = 0
Record = apps.get_model('game','Record')
for company in Record.objects.filter(game=record.get(turn=turn).game, turn=turn):
output += company.unit_produce
return output
@register.filter(name='get_report_price')
def get_report_price(record, turn):
if record.get(turn=turn).unit_produce == 0:
return 0
return record.get(turn=turn).revenue / record.get(turn=turn).unit_produce
@register.filter(name='get_demand_func')
def get_demand_func(game, Q):
Q = int(Q)
game = game
K = game.price_output_equal_player / (game.company_num()**(-1/game.demand_elasticity))
return K * Q**(-1/game.demand_elasticity) * game.price_growth_multiplier**game.turn_num
| 33.461538
| 91
| 0.756705
| 405
| 2,610
| 4.637037
| 0.135802
| 0.089457
| 0.138445
| 0.181044
| 0.538871
| 0.463259
| 0.428115
| 0.384452
| 0.300319
| 0.168264
| 0
| 0.00345
| 0.111494
| 2,610
| 78
| 91
| 33.461538
| 0.806382
| 0
| 0
| 0.032258
| 0
| 0
| 0.095366
| 0.008043
| 0
| 0
| 0
| 0
| 0
| 1
| 0.258065
| false
| 0
| 0.032258
| 0.193548
| 0.580645
| 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
|
fe436d2bdb4a7ff4381122c5a622c36da3d9fe8a
| 102
|
py
|
Python
|
motorcycles.3.py
|
Datapotomus/python_crash_course
|
05cdcb40e623227f5efe1a20089330410ee0b738
|
[
"Apache-2.0"
] | null | null | null |
motorcycles.3.py
|
Datapotomus/python_crash_course
|
05cdcb40e623227f5efe1a20089330410ee0b738
|
[
"Apache-2.0"
] | null | null | null |
motorcycles.3.py
|
Datapotomus/python_crash_course
|
05cdcb40e623227f5efe1a20089330410ee0b738
|
[
"Apache-2.0"
] | null | null | null |
motorcycles = ['honda', 'yamaha', 'suzuki']
print(motorcycles)
del motorcycles[1]
print(motorcycles)
| 17
| 43
| 0.735294
| 11
| 102
| 6.818182
| 0.636364
| 0.426667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01087
| 0.098039
| 102
| 6
| 44
| 17
| 0.804348
| 0
| 0
| 0.5
| 0
| 0
| 0.165049
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
fe4fcd81ae7a83bc31ae83415976889f28838d13
| 38
|
py
|
Python
|
xfClock/modules/__init__.py
|
fhansa/xfClock
|
4f52be03fec90bfdcd00db0c7492627f1be33bcf
|
[
"MIT"
] | null | null | null |
xfClock/modules/__init__.py
|
fhansa/xfClock
|
4f52be03fec90bfdcd00db0c7492627f1be33bcf
|
[
"MIT"
] | 2
|
2021-02-08T20:41:13.000Z
|
2021-04-30T21:12:52.000Z
|
xfClock/modules/__init__.py
|
fhansa/xfClock
|
4f52be03fec90bfdcd00db0c7492627f1be33bcf
|
[
"MIT"
] | null | null | null |
#
# xfClock, a smart bedroom clock
#
| 12.666667
| 34
| 0.657895
| 5
| 38
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.236842
| 38
| 3
| 35
| 12.666667
| 0.862069
| 0.789474
| 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
|
fe52b08ade6853b68a53cae738d81adaf060d69e
| 30
|
py
|
Python
|
imagesecrets/core/__init__.py
|
kucera-lukas/ImageSecrets
|
d7720886b215c5a40b94d4f06cb10d3c106dfcde
|
[
"MIT"
] | null | null | null |
imagesecrets/core/__init__.py
|
kucera-lukas/ImageSecrets
|
d7720886b215c5a40b94d4f06cb10d3c106dfcde
|
[
"MIT"
] | 74
|
2021-08-09T11:50:51.000Z
|
2022-03-30T21:23:24.000Z
|
imagesecrets/core/__init__.py
|
kucera-lukas/imagesecrets
|
d7720886b215c5a40b94d4f06cb10d3c106dfcde
|
[
"MIT"
] | null | null | null |
"""Files used for backend."""
| 15
| 29
| 0.633333
| 4
| 30
| 4.75
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 30
| 1
| 30
| 30
| 0.730769
| 0.766667
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
fe68c3ef8c783c82021e598e3e41d6e3f1c044d8
| 1,282
|
py
|
Python
|
exporter/ecju_queries/services.py
|
django-doctor/lite-frontend
|
330ff9575fd22d7c4c42698ac2d653244e6180d6
|
[
"MIT"
] | 1
|
2021-10-16T16:36:58.000Z
|
2021-10-16T16:36:58.000Z
|
exporter/ecju_queries/services.py
|
django-doctor/lite-frontend
|
330ff9575fd22d7c4c42698ac2d653244e6180d6
|
[
"MIT"
] | 45
|
2020-08-11T14:37:46.000Z
|
2022-03-29T17:03:02.000Z
|
exporter/ecju_queries/services.py
|
django-doctor/lite-frontend
|
330ff9575fd22d7c4c42698ac2d653244e6180d6
|
[
"MIT"
] | 3
|
2021-02-01T06:26:19.000Z
|
2022-02-21T23:02:46.000Z
|
from core import client
def get_ecju_query(request, pk, query_pk):
data = client.get(request, f"/cases/{pk}/ecju-queries/{query_pk}").json()["ecju_query"]
return data
def put_ecju_query(request, pk, query_pk, json):
data = client.put(request, f"/cases/{pk}/ecju-queries/{query_pk}/", json)
return data.json(), data.status_code
# Document
def get_ecju_query_document(request, pk, query_pk, doc_pk):
response = client.get(request, f"/cases/{pk}/ecju-queries/{query_pk}/document/{doc_pk}/")
response.raise_for_status()
return response.json().get("document")
def get_ecju_query_documents(request, pk, query_pk):
response = client.get(request, f"/cases/{pk}/ecju-queries/{query_pk}/document/")
response.raise_for_status()
return response.json().get("documents")
def delete_ecju_query_document(request, pk, query_pk, doc_pk):
response = client.delete(request, f"/cases/{pk}/ecju-queries/{query_pk}/document/{doc_pk}/")
response.raise_for_status()
return response.json(), response.status_code
def post_ecju_query_document(request, pk, query_pk, json):
response = client.post(request, f"/cases/{pk}/ecju-queries/{query_pk}/document/", json)
response.raise_for_status()
return response.json(), response.status_code
| 34.648649
| 96
| 0.724649
| 188
| 1,282
| 4.707447
| 0.143617
| 0.094915
| 0.094915
| 0.108475
| 0.80565
| 0.754802
| 0.698305
| 0.661017
| 0.60904
| 0.516384
| 0
| 0
| 0.120905
| 1,282
| 36
| 97
| 35.611111
| 0.785271
| 0.00624
| 0
| 0.26087
| 0
| 0
| 0.232704
| 0.211478
| 0
| 0
| 0
| 0
| 0
| 1
| 0.26087
| false
| 0
| 0.043478
| 0
| 0.565217
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
22816be88e6b1f33543787b858de50af002001b2
| 1,180
|
py
|
Python
|
Settings.py
|
rogerrain/twitchbotpy
|
a59011bb179cd42bbf3cf26e4269437cce5e2633
|
[
"MIT"
] | 1
|
2018-04-16T20:27:34.000Z
|
2018-04-16T20:27:34.000Z
|
Settings.py
|
rogerrain/twitchbotpy
|
a59011bb179cd42bbf3cf26e4269437cce5e2633
|
[
"MIT"
] | null | null | null |
Settings.py
|
rogerrain/twitchbotpy
|
a59011bb179cd42bbf3cf26e4269437cce5e2633
|
[
"MIT"
] | null | null | null |
def getSettings():
return getHost(), getPort(), getPass(), getNick(), getChannel()
def getHost():
infile = open("Settings.ini", "r")
lines = infile.readlines()
infile.close()
for line in lines:
if line.startswith("HOST"):
return line.strip().split(" ")[2]
def getPort():
infile = open("Settings.ini", "r")
lines = infile.readlines()
infile.close()
for line in lines:
if line.startswith("PORT"):
return int(line.strip().split(" ")[2])
def getPass():
infile = open("Settings.ini", "r")
lines = infile.readlines()
infile.close()
for line in lines:
if line.startswith("PASS"):
return line.strip().split(" ")[2]
def getNick():
infile = open("Settings.ini", "r")
lines = infile.readlines()
infile.close()
for line in lines:
if line.startswith("NICK"):
return line.strip().split(" ")[2]
def getChannel():
infile = open("Settings.ini", "r")
lines = infile.readlines()
infile.close()
for line in lines:
if line.startswith("CHANNEL"):
return line.strip().split(" ")[2]
| 27.44186
| 67
| 0.55678
| 134
| 1,180
| 4.902985
| 0.223881
| 0.076104
| 0.136986
| 0.159817
| 0.800609
| 0.741248
| 0.631659
| 0.631659
| 0.631659
| 0.631659
| 0
| 0.005841
| 0.274576
| 1,180
| 42
| 68
| 28.095238
| 0.761682
| 0
| 0
| 0.648649
| 0
| 0
| 0.078814
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.162162
| false
| 0.081081
| 0
| 0.027027
| 0.324324
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
228ec00d3a2e404d44db40284df6c18f2d65b8d0
| 159
|
py
|
Python
|
reddit2telegram/channels/r_explainmelikeimfive/app.py
|
mainyordle/reddit2telegram
|
1163e15aed3b6ff0fba65b222d3d9798f644c386
|
[
"MIT"
] | 187
|
2016-09-20T09:15:54.000Z
|
2022-03-29T12:22:33.000Z
|
reddit2telegram/channels/r_explainmelikeimfive/app.py
|
mainyordle/reddit2telegram
|
1163e15aed3b6ff0fba65b222d3d9798f644c386
|
[
"MIT"
] | 84
|
2016-09-22T14:25:07.000Z
|
2022-03-19T01:26:17.000Z
|
reddit2telegram/channels/r_explainmelikeimfive/app.py
|
mainyordle/reddit2telegram
|
1163e15aed3b6ff0fba65b222d3d9798f644c386
|
[
"MIT"
] | 172
|
2016-09-21T15:39:39.000Z
|
2022-03-16T15:15:58.000Z
|
#encoding:utf-8
t_channel = '@r_explainmelikeimfive'
subreddit = 'explainlikeimfive'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 17.666667
| 38
| 0.773585
| 19
| 159
| 6.263158
| 0.842105
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021429
| 0.119497
| 159
| 8
| 39
| 19.875
| 0.828571
| 0.08805
| 0
| 0
| 0
| 0
| 0.270833
| 0.152778
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0.25
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
229a665b2c2579a56d76e8f56f5d200378c84e5f
| 79
|
py
|
Python
|
dream/bluff/__init__.py
|
icyblade/dream
|
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
|
[
"MIT"
] | null | null | null |
dream/bluff/__init__.py
|
icyblade/dream
|
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
|
[
"MIT"
] | null | null | null |
dream/bluff/__init__.py
|
icyblade/dream
|
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
|
[
"MIT"
] | null | null | null |
class BaseBluff(object):
"""Abstract class of bluff function."""
pass
| 15.8
| 43
| 0.658228
| 9
| 79
| 5.777778
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.21519
| 79
| 4
| 44
| 19.75
| 0.83871
| 0.417722
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
22c44b750efd0cbed93d9985df2609e1853651e3
| 850
|
py
|
Python
|
basic_defs.py
|
prajwaldas95/A-Cloud-based-Replication-NAS-Backed-by-Multiple-Providers
|
1be4ed6720dd7c54f7a10db71b5b2834d166a063
|
[
"MIT"
] | null | null | null |
basic_defs.py
|
prajwaldas95/A-Cloud-based-Replication-NAS-Backed-by-Multiple-Providers
|
1be4ed6720dd7c54f7a10db71b5b2834d166a063
|
[
"MIT"
] | null | null | null |
basic_defs.py
|
prajwaldas95/A-Cloud-based-Replication-NAS-Backed-by-Multiple-Providers
|
1be4ed6720dd7c54f7a10db71b5b2834d166a063
|
[
"MIT"
] | null | null | null |
class cloud_storage:
block_size = 4096 # System configuration -- DO NOT CHANGE!
def list_blocks(self):
raise NotImplementedError
def read_block(self, offset):
raise NotImplementedError
def write_block(self, block, offset):
raise NotImplementedError
def delete_block(self, offset):
raise NotImplementedError
class NAS:
def open(self, filename):
raise NotImplementedError
def read(self, fd, len, offset):
raise NotImplementedError
def write(self, fd, data, offset):
raise NotImplementedError
def close(self, fd):
raise NotImplementedError
def delete(self, filename):
raise NotImplementedError
def get_storage_sizes(self):
return [len(b.list_blocks()) for b in self.backends]
| 23.611111
| 69
| 0.64
| 90
| 850
| 5.944444
| 0.388889
| 0.403738
| 0.403738
| 0.246729
| 0.37757
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006645
| 0.291765
| 850
| 35
| 70
| 24.285714
| 0.88206
| 0.044706
| 0
| 0.391304
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.434783
| false
| 0
| 0
| 0.043478
| 0.608696
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
22ca4190b2973c548bf589919f2b5829d42b1aa4
| 187
|
py
|
Python
|
quantlab/COCO/YOLOv3Tiny/__init__.py
|
lukasc-ch/QuantLab
|
7ddcc51ec1131a58269768cd898ce04e8b49beb6
|
[
"Apache-2.0"
] | 6
|
2019-05-24T17:39:07.000Z
|
2021-11-06T22:19:55.000Z
|
quantlab/COCO/YOLOv3Tiny/__init__.py
|
lukasc-ch/QuantLab
|
7ddcc51ec1131a58269768cd898ce04e8b49beb6
|
[
"Apache-2.0"
] | null | null | null |
quantlab/COCO/YOLOv3Tiny/__init__.py
|
lukasc-ch/QuantLab
|
7ddcc51ec1131a58269768cd898ce04e8b49beb6
|
[
"Apache-2.0"
] | 4
|
2019-05-24T17:39:15.000Z
|
2021-04-02T07:13:11.000Z
|
from .preprocess import load_data_sets
from .postprocess import postprocess_pr, postprocess_gt
from .loss_functions import YOLOv3Loss
from .yolov3tinybaseline import YOLOv3TinyBaseline
| 26.714286
| 55
| 0.871658
| 22
| 187
| 7.181818
| 0.590909
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.017857
| 0.101604
| 187
| 6
| 56
| 31.166667
| 0.922619
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
22d1fe2827fd543072bc0f3017868d26b2c6c496
| 132
|
py
|
Python
|
numero_mayor_cero.py
|
Gambl3r08/ejercicios-Python
|
ddf13b40c611f892112ebbe7bc907f5765998ea0
|
[
"MIT"
] | null | null | null |
numero_mayor_cero.py
|
Gambl3r08/ejercicios-Python
|
ddf13b40c611f892112ebbe7bc907f5765998ea0
|
[
"MIT"
] | null | null | null |
numero_mayor_cero.py
|
Gambl3r08/ejercicios-Python
|
ddf13b40c611f892112ebbe7bc907f5765998ea0
|
[
"MIT"
] | null | null | null |
x = input("ingrese un numero: ")
x = int(x)
if x > 0:
print("el numero es positivo ")
else:
print("el numero es negativoN ")
| 22
| 36
| 0.613636
| 22
| 132
| 3.681818
| 0.636364
| 0.17284
| 0.320988
| 0.37037
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009901
| 0.234848
| 132
| 6
| 36
| 22
| 0.792079
| 0
| 0
| 0
| 0
| 0
| 0.481203
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
a3beaba7c3a5d0da99264169d503c4b0be198aa2
| 4,412
|
py
|
Python
|
tests/model_options/test_default_pk.py
|
KaushikSathvara/django
|
3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946
|
[
"BSD-3-Clause",
"0BSD"
] | 61,676
|
2015-01-01T00:05:13.000Z
|
2022-03-31T20:37:54.000Z
|
tests/model_options/test_default_pk.py
|
KaushikSathvara/django
|
3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946
|
[
"BSD-3-Clause",
"0BSD"
] | 8,884
|
2015-01-01T00:12:05.000Z
|
2022-03-31T19:53:11.000Z
|
tests/model_options/test_default_pk.py
|
mustafa0x/django
|
d7394cfa13a4d1a02356e3a83e10ec100fbb9948
|
[
"BSD-3-Clause",
"0BSD"
] | 33,143
|
2015-01-01T02:04:52.000Z
|
2022-03-31T19:42:46.000Z
|
from django.core.exceptions import ImproperlyConfigured
from django.db import models
from django.test import SimpleTestCase, override_settings
from django.test.utils import isolate_apps
class MyBigAutoField(models.BigAutoField):
pass
@isolate_apps('model_options')
class TestDefaultPK(SimpleTestCase):
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.NonexistentAutoField')
def test_default_auto_field_setting_nonexistent(self):
msg = (
"DEFAULT_AUTO_FIELD refers to the module "
"'django.db.models.NonexistentAutoField' that could not be "
"imported."
)
with self.assertRaisesMessage(ImproperlyConfigured, msg):
class Model(models.Model):
pass
@isolate_apps('model_options.apps.ModelPKNonexistentConfig')
def test_app_default_auto_field_nonexistent(self):
msg = (
"model_options.apps.ModelPKNonexistentConfig.default_auto_field "
"refers to the module 'django.db.models.NonexistentAutoField' "
"that could not be imported."
)
with self.assertRaisesMessage(ImproperlyConfigured, msg):
class Model(models.Model):
pass
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.TextField')
def test_default_auto_field_setting_non_auto(self):
msg = (
"Primary key 'django.db.models.TextField' referred by "
"DEFAULT_AUTO_FIELD must subclass AutoField."
)
with self.assertRaisesMessage(ValueError, msg):
class Model(models.Model):
pass
@isolate_apps('model_options.apps.ModelPKNonAutoConfig')
def test_app_default_auto_field_non_auto(self):
msg = (
"Primary key 'django.db.models.TextField' referred by "
"model_options.apps.ModelPKNonAutoConfig.default_auto_field must "
"subclass AutoField."
)
with self.assertRaisesMessage(ValueError, msg):
class Model(models.Model):
pass
@override_settings(DEFAULT_AUTO_FIELD=None)
def test_default_auto_field_setting_none(self):
msg = 'DEFAULT_AUTO_FIELD must not be empty.'
with self.assertRaisesMessage(ImproperlyConfigured, msg):
class Model(models.Model):
pass
@isolate_apps('model_options.apps.ModelPKNoneConfig')
def test_app_default_auto_field_none(self):
msg = (
'model_options.apps.ModelPKNoneConfig.default_auto_field must not '
'be empty.'
)
with self.assertRaisesMessage(ImproperlyConfigured, msg):
class Model(models.Model):
pass
@isolate_apps('model_options.apps.ModelDefaultPKConfig')
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.SmallAutoField')
def test_default_auto_field_setting(self):
class Model(models.Model):
pass
self.assertIsInstance(Model._meta.pk, models.SmallAutoField)
@override_settings(
DEFAULT_AUTO_FIELD='model_options.test_default_pk.MyBigAutoField'
)
def test_default_auto_field_setting_bigautofield_subclass(self):
class Model(models.Model):
pass
self.assertIsInstance(Model._meta.pk, MyBigAutoField)
@isolate_apps('model_options.apps.ModelPKConfig')
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.AutoField')
def test_app_default_auto_field(self):
class Model(models.Model):
pass
self.assertIsInstance(Model._meta.pk, models.SmallAutoField)
@isolate_apps('model_options.apps.ModelDefaultPKConfig')
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.SmallAutoField')
def test_m2m_default_auto_field_setting(self):
class M2MModel(models.Model):
m2m = models.ManyToManyField('self')
m2m_pk = M2MModel._meta.get_field('m2m').remote_field.through._meta.pk
self.assertIsInstance(m2m_pk, models.SmallAutoField)
@isolate_apps('model_options.apps.ModelPKConfig')
@override_settings(DEFAULT_AUTO_FIELD='django.db.models.AutoField')
def test_m2m_app_default_auto_field(self):
class M2MModel(models.Model):
m2m = models.ManyToManyField('self')
m2m_pk = M2MModel._meta.get_field('m2m').remote_field.through._meta.pk
self.assertIsInstance(m2m_pk, models.SmallAutoField)
| 38.365217
| 82
| 0.693563
| 478
| 4,412
| 6.127615
| 0.146444
| 0.093889
| 0.136565
| 0.064527
| 0.826221
| 0.785592
| 0.689314
| 0.689314
| 0.668829
| 0.668829
| 0
| 0.004065
| 0.219402
| 4,412
| 114
| 83
| 38.701754
| 0.8464
| 0
| 0
| 0.526316
| 0
| 0
| 0.25136
| 0.179057
| 0
| 0
| 0
| 0
| 0.115789
| 1
| 0.115789
| false
| 0.105263
| 0.063158
| 0
| 0.315789
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
a3ea8a52dbc246f628fe2afab770928d190d40ae
| 269
|
py
|
Python
|
src/scc_hypervisor_collector/api/uploader.py
|
SUSE/scc-hypervisor-collector
|
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
|
[
"Apache-2.0"
] | null | null | null |
src/scc_hypervisor_collector/api/uploader.py
|
SUSE/scc-hypervisor-collector
|
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
|
[
"Apache-2.0"
] | null | null | null |
src/scc_hypervisor_collector/api/uploader.py
|
SUSE/scc-hypervisor-collector
|
e3b9d2e7ddc3210b1f4fbe7a06eac8c22adb4c9a
|
[
"Apache-2.0"
] | null | null | null |
"""
SCC Hypervisor Collector SCCUploader
The SCCUploader is responsible for uploading the hypervisor details
collected from the specified backends to the SCC using the provided
credentials.
"""
class SCCUploader:
"""SCC Uploader for scc-hypervisor-collector."""
| 22.416667
| 67
| 0.788104
| 33
| 269
| 6.424242
| 0.606061
| 0.122642
| 0.207547
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148699
| 269
| 11
| 68
| 24.454545
| 0.925764
| 0.851301
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
a3ef131d8d35b4b9017d9330d04f6ee6195a2b47
| 214
|
py
|
Python
|
sts/urls.py
|
chop-dbhi/django-sts
|
c05cd5dc71b40d6a9e7284a547bb256ea3cdd682
|
[
"BSD-3-Clause"
] | 2
|
2015-01-04T16:34:37.000Z
|
2015-11-18T05:40:04.000Z
|
sts/urls.py
|
chop-dbhi/django-sts
|
c05cd5dc71b40d6a9e7284a547bb256ea3cdd682
|
[
"BSD-3-Clause"
] | null | null | null |
sts/urls.py
|
chop-dbhi/django-sts
|
c05cd5dc71b40d6a9e7284a547bb256ea3cdd682
|
[
"BSD-3-Clause"
] | null | null | null |
from django.conf.urls import url, patterns
from . import views
urlpatterns = patterns('',
url(r'^$', views.systems, name='sts-systems'),
url(r'^(?P<pk>\d+)/$', views.systems, name='sts-system-detail'),
)
| 23.777778
| 68
| 0.64486
| 30
| 214
| 4.6
| 0.6
| 0.057971
| 0.231884
| 0.275362
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135514
| 214
| 8
| 69
| 26.75
| 0.745946
| 0
| 0
| 0
| 0
| 0
| 0.205607
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
|
a3f6ac6ded76167fd3b77ff447c3f2aca17da825
| 57
|
py
|
Python
|
tests/project/mastering/__init__.py
|
nguyentr17/tamr-toolbox
|
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
|
[
"Apache-2.0"
] | 6
|
2021-02-09T22:27:55.000Z
|
2022-01-14T18:15:17.000Z
|
tests/project/mastering/__init__.py
|
nguyentr17/tamr-toolbox
|
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
|
[
"Apache-2.0"
] | 34
|
2021-02-09T22:23:33.000Z
|
2022-03-31T16:22:51.000Z
|
tests/project/mastering/__init__.py
|
nguyentr17/tamr-toolbox
|
1d27101eda12f937813cdbfe27e2fa9c33ac34d2
|
[
"Apache-2.0"
] | 12
|
2021-02-09T21:17:10.000Z
|
2022-02-09T16:35:39.000Z
|
"""Tests for tasks related to Tamr Mastering projects"""
| 28.5
| 56
| 0.754386
| 8
| 57
| 5.375
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.140351
| 57
| 1
| 57
| 57
| 0.877551
| 0.877193
| 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
|
4313c2bb22b57b7826574ffa39b1c91076151d83
| 180
|
py
|
Python
|
login_first.py
|
fredhdx/weibospider
|
1ae14a702231b9d6d5abd095612a001ba832ea31
|
[
"MIT"
] | 9
|
2017-10-07T18:20:29.000Z
|
2020-06-11T08:54:43.000Z
|
login_first.py
|
fredhdx/weibospider
|
1ae14a702231b9d6d5abd095612a001ba832ea31
|
[
"MIT"
] | 1
|
2019-09-26T07:39:57.000Z
|
2019-09-26T07:39:57.000Z
|
login_first.py
|
fredhdx/weibospider
|
1ae14a702231b9d6d5abd095612a001ba832ea31
|
[
"MIT"
] | 11
|
2017-09-17T13:27:11.000Z
|
2019-08-17T10:32:38.000Z
|
# coding:utf-8
from tasks import login
if __name__ == '__main__':
# you should execute this file, because celery timer will execute login delayed
login.excute_login_task()
| 30
| 83
| 0.75
| 26
| 180
| 4.807692
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006757
| 0.177778
| 180
| 6
| 84
| 30
| 0.837838
| 0.5
| 0
| 0
| 0
| 0
| 0.090909
| 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
|
432e5fbeb124f7f5ce7dcbbcbf11b8e413d029d2
| 7,560
|
py
|
Python
|
mitoviz/tests/test_plot.py
|
robertopreste/mitoviz
|
3b5ec3d1185785b185d7c62c85b6ad98861817a7
|
[
"MIT"
] | null | null | null |
mitoviz/tests/test_plot.py
|
robertopreste/mitoviz
|
3b5ec3d1185785b185d7c62c85b6ad98861817a7
|
[
"MIT"
] | 93
|
2019-12-27T08:57:20.000Z
|
2022-03-31T23:04:02.000Z
|
mitoviz/tests/test_plot.py
|
robertopreste/mitoviz
|
3b5ec3d1185785b185d7c62c85b6ad98861817a7
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Created by Roberto Preste
import os
import unittest
import cv2
import matplotlib.patches as mpatches
import matplotlib.pyplot as plt
import numpy as np
from mitoviz.plot import Legend, PlotBase
from mitoviz.tests.constants import (
BASE_MITO_POLAR, BASE_MITO_POLAR_LEGEND, BASE_MITO_POLAR_SPLIT,
BASE_MITO_LINEAR, BASE_MITO_LINEAR_LEGEND, BASE_MITO_LINEAR_SPLIT,
BASE_MITO_PLOTLY, BASE_MITO_PLOTLY_LEGEND, BASE_MITO_PLOTLY_SPLIT,
BASE_MITO_PLOTLY_LINEAR, BASE_MITO_PLOTLY_LINEAR_LEGEND,
BASE_MITO_PLOTLY_LINEAR_SPLIT
)
class TestLegend(unittest.TestCase):
def setUp(self) -> None:
self.legend = Legend()
def test_patches(self):
# Given
expected = [
mpatches.Patch(color="#2e8b57", label="Coding"),
mpatches.Patch(color="#ffa500", label="Regulatory"),
mpatches.Patch(color="#cd5c5c", label="rRNA"),
mpatches.Patch(color="#4169e1", label="tRNA"),
mpatches.Patch(color="grey", label="Non Coding")
]
# When
result = self.legend.patches()
# Then
for n in range(len(result)):
self.assertTrue(self._compare_patches(expected[n], result[n]))
@staticmethod
def _compare_patches(expected, result):
return expected._original_facecolor == result._original_facecolor
class TestBasePlot(unittest.TestCase):
def setUp(self) -> None:
self.base_plot = PlotBase()
def test_polar(self):
# Given
base_img = cv2.imread(BASE_MITO_POLAR)
result_img_path = "test_base_mito.png"
# When
fig, ax = self.base_plot.polar()
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_polar_legend(self):
# Given
base_img = cv2.imread(BASE_MITO_POLAR_LEGEND)
result_img_path = "test_base_mito_legend.png"
# When
fig, ax = self.base_plot.polar(legend=True)
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_polar_split(self):
# Given
base_img = cv2.imread(BASE_MITO_POLAR_SPLIT)
result_img_path = "test_base_mito_split.png"
# When
fig, ax = self.base_plot.polar(split=True)
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_linear(self):
# Given
base_img = cv2.imread(BASE_MITO_LINEAR)
result_img_path = "test_base_mito.png"
# When
fig, ax = self.base_plot.linear()
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_linear_legend(self):
# Given
base_img = cv2.imread(BASE_MITO_LINEAR_LEGEND)
result_img_path = "test_base_mito_legend.png"
# When
fig, ax = self.base_plot.linear(legend=True)
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_linear_split(self):
# Given
base_img = cv2.imread(BASE_MITO_LINEAR_SPLIT)
result_img_path = "test_base_mito_split.png"
# When
fig, ax = self.base_plot.linear(split=True)
plt.savefig(result_img_path)
plt.close()
result_img = cv2.imread(result_img_path)
# Then
self.assertTrue(os.path.isfile(result_img_path))
diff = cv2.subtract(base_img, result_img)
self.assertFalse(np.any(diff))
# Cleanup
os.remove(result_img_path)
def test_polar_plotly(self):
# Given
base_img = BASE_MITO_PLOTLY
result_img = "test_base_mito.html"
# When
fig = self.base_plot.polar_plotly()
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
def test_polar_plotly_legend(self):
# Given
base_img = BASE_MITO_PLOTLY_LEGEND
result_img = "test_base_mito_legend.html"
# When
fig = self.base_plot.polar_plotly(legend=True)
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
def test_polar_plotly_split(self):
# Given
base_img = BASE_MITO_PLOTLY_SPLIT
result_img = "test_base_mito_split.html"
# When
fig = self.base_plot.polar_plotly(split=True)
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
def test_linear_plotly(self):
# Given
base_img = BASE_MITO_PLOTLY_LINEAR
result_img = "test_base_mito_linear.html"
# When
fig = self.base_plot.linear_plotly()
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
def test_linear_plotly_legend(self):
# Given
base_img = BASE_MITO_PLOTLY_LINEAR_LEGEND
result_img = "test_base_mito_legend_linear.html"
# When
fig = self.base_plot.linear_plotly(legend=True)
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
def test_linear_plotly_split(self):
# Given
base_img = BASE_MITO_PLOTLY_LINEAR_SPLIT
result_img = "test_base_mito_split_linear.html"
# When
fig = self.base_plot.linear_plotly(split=True)
fig.write_html(result_img)
# Then
self.assertTrue(os.path.isfile(result_img))
self.assertEqual(os.path.getsize(base_img),
os.path.getsize(result_img))
# Cleanup
os.remove(result_img)
| 29.416342
| 74
| 0.62791
| 955
| 7,560
| 4.665969
| 0.097382
| 0.145422
| 0.087522
| 0.043088
| 0.804758
| 0.783887
| 0.783887
| 0.739004
| 0.693896
| 0.581688
| 0
| 0.006209
| 0.275661
| 7,560
| 256
| 75
| 29.53125
| 0.807524
| 0.049206
| 0
| 0.519481
| 0
| 0
| 0.050603
| 0.033642
| 0
| 0
| 0
| 0
| 0.162338
| 1
| 0.103896
| false
| 0
| 0.051948
| 0.006494
| 0.175325
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4a309ef7bc5ddb0116be1bfba91c94a43a7336c9
| 853
|
py
|
Python
|
tests/tests_critsend.py
|
adamgilman/ems-costing
|
5565cd98b6046f989fe7b17c2d11cb82ac8d510f
|
[
"MIT"
] | null | null | null |
tests/tests_critsend.py
|
adamgilman/ems-costing
|
5565cd98b6046f989fe7b17c2d11cb82ac8d510f
|
[
"MIT"
] | null | null | null |
tests/tests_critsend.py
|
adamgilman/ems-costing
|
5565cd98b6046f989fe7b17c2d11cb82ac8d510f
|
[
"MIT"
] | null | null | null |
from vendors import CritSend
import unittest
class TestPostageApp(unittest.TestCase):
def setUp(self):
self.vendor = CritSend()
def test_ZeroEmails(self):
self.assertEqual(self.vendor.getPrice(0), 0)
def test_5Emails(self):
self.assertEqual(self.vendor.getPrice(5), .0)
def test_10Emails(self):
self.assertEqual(self.vendor.getPrice(10), .01)
def test_100k_pm(self):
self.assertEqual(self.vendor.getPrice(100000), 50)
def test_500k_pm(self):
self.assertEqual(self.vendor.getPrice(500000), 250)
def test_3000k_pm(self):
self.assertEqual(self.vendor.getPrice(3000000), 990)
def test_10000k_pm(self):
self.assertEqual(self.vendor.getPrice(10000000), 3000)
def test_50000k_pm(self):
self.assertEqual(self.vendor.getPrice(50000000), 14000)
| 26.65625
| 63
| 0.690504
| 109
| 853
| 5.284404
| 0.348624
| 0.125
| 0.263889
| 0.319444
| 0.53125
| 0.53125
| 0.338542
| 0
| 0
| 0
| 0
| 0.12029
| 0.19109
| 853
| 31
| 64
| 27.516129
| 0.714493
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.380952
| 1
| 0.428571
| false
| 0
| 0.095238
| 0
| 0.571429
| 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
|
4a48f4dfde27ff48cff40c9951fc4dc6227b77df
| 2,208
|
py
|
Python
|
migrations/versions/27c903b94867_add_iban_to_employee.py
|
HenriqueLin/CityWok-ManagementSystem
|
23130ea45784a9d4dc85cefb445cc44193b66fc0
|
[
"MIT"
] | null | null | null |
migrations/versions/27c903b94867_add_iban_to_employee.py
|
HenriqueLin/CityWok-ManagementSystem
|
23130ea45784a9d4dc85cefb445cc44193b66fc0
|
[
"MIT"
] | 238
|
2021-06-10T11:21:56.000Z
|
2022-03-01T20:08:25.000Z
|
migrations/versions/27c903b94867_add_iban_to_employee.py
|
HenriqueLin/CityWok-ManagementSystem
|
23130ea45784a9d4dc85cefb445cc44193b66fc0
|
[
"MIT"
] | 1
|
2021-06-12T15:40:08.000Z
|
2021-06-12T15:40:08.000Z
|
"""Add iban to employee
Revision ID: 27c903b94867
Revises: 284daa713702
Create Date: 2021-06-25 14:25:22.636903
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '27c903b94867'
down_revision = '284daa713702'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('employee', schema=None) as batch_op:
batch_op.add_column(sa.Column('iban', sa.String(), nullable=True))
batch_op.create_unique_constraint(batch_op.f('uq_employee_iban'), ['iban'])
batch_op.create_unique_constraint(batch_op.f('uq_employee_nif'), ['nif'])
batch_op.create_unique_constraint(batch_op.f('uq_employee_niss'), ['niss'])
with op.batch_alter_table('supplier', schema=None) as batch_op:
batch_op.create_unique_constraint(batch_op.f('uq_supplier_iban'), ['iban'])
batch_op.create_unique_constraint(batch_op.f('uq_supplier_nif'), ['nif'])
with op.batch_alter_table('user', schema=None) as batch_op:
batch_op.create_unique_constraint(batch_op.f('uq_user_email'), ['email'])
batch_op.create_unique_constraint(batch_op.f('uq_user_username'), ['username'])
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('user', schema=None) as batch_op:
batch_op.drop_constraint(batch_op.f('uq_user_username'), type_='unique')
batch_op.drop_constraint(batch_op.f('uq_user_email'), type_='unique')
with op.batch_alter_table('supplier', schema=None) as batch_op:
batch_op.drop_constraint(batch_op.f('uq_supplier_nif'), type_='unique')
batch_op.drop_constraint(batch_op.f('uq_supplier_iban'), type_='unique')
with op.batch_alter_table('employee', schema=None) as batch_op:
batch_op.drop_constraint(batch_op.f('uq_employee_niss'), type_='unique')
batch_op.drop_constraint(batch_op.f('uq_employee_nif'), type_='unique')
batch_op.drop_constraint(batch_op.f('uq_employee_iban'), type_='unique')
batch_op.drop_column('iban')
# ### end Alembic commands ###
| 40.145455
| 87
| 0.716033
| 316
| 2,208
| 4.658228
| 0.199367
| 0.171196
| 0.161685
| 0.171196
| 0.752717
| 0.738451
| 0.738451
| 0.692255
| 0.692255
| 0.670516
| 0
| 0.030753
| 0.145833
| 2,208
| 54
| 88
| 40.888889
| 0.749735
| 0.136775
| 0
| 0.2
| 0
| 0
| 0.192081
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.066667
| false
| 0
| 0.066667
| 0
| 0.133333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4a5d8f4b7fd4dc6f161e13384b7ef7a202891357
| 86
|
py
|
Python
|
HIS_void/his/apps.py
|
YuanchenZhu2020/HIS_void
|
7289bf537e9fc4b09750bbca76a4cc8354dc770f
|
[
"MIT"
] | null | null | null |
HIS_void/his/apps.py
|
YuanchenZhu2020/HIS_void
|
7289bf537e9fc4b09750bbca76a4cc8354dc770f
|
[
"MIT"
] | null | null | null |
HIS_void/his/apps.py
|
YuanchenZhu2020/HIS_void
|
7289bf537e9fc4b09750bbca76a4cc8354dc770f
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class HisConfig(AppConfig):
name = 'his'
| 14.333333
| 34
| 0.686047
| 10
| 86
| 5.9
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.232558
| 86
| 5
| 35
| 17.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
|
4a68da6486b99d9fad3f162c921032ccabe976ff
| 50
|
py
|
Python
|
mil/dimensionality_reduction/__init__.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 25
|
2020-11-02T23:33:32.000Z
|
2022-03-14T22:57:54.000Z
|
mil/dimensionality_reduction/__init__.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 4
|
2021-06-14T05:46:37.000Z
|
2021-07-12T16:25:26.000Z
|
mil/dimensionality_reduction/__init__.py
|
yangsenwxy/mil
|
8e6b6f0b55bddc961b957a682935cb346f3bca4c
|
[
"MIT"
] | 12
|
2020-12-28T04:02:06.000Z
|
2022-02-04T10:33:44.000Z
|
from mil.dimensionality_reduction.wrapper import *
| 50
| 50
| 0.88
| 6
| 50
| 7.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.06
| 50
| 1
| 50
| 50
| 0.914894
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4a7e40bfd53954e1918131ca8c617fbad5a7811c
| 58
|
py
|
Python
|
__init__.py
|
Terfin/pyodata-old
|
69282c7414d6d39e405392a941ba2ca06aa39167
|
[
"MIT"
] | 1
|
2015-04-13T15:16:11.000Z
|
2015-04-13T15:16:11.000Z
|
__init__.py
|
Terfin/pyodata-old
|
69282c7414d6d39e405392a941ba2ca06aa39167
|
[
"MIT"
] | null | null | null |
__init__.py
|
Terfin/pyodata-old
|
69282c7414d6d39e405392a941ba2ca06aa39167
|
[
"MIT"
] | null | null | null |
from edm import *
import utils
__all__ = ['utils', 'edm']
| 14.5
| 26
| 0.672414
| 8
| 58
| 4.375
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172414
| 58
| 4
| 26
| 14.5
| 0.729167
| 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 | 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
|
4a9eb5541498358c77a74ec7fb0624d9264ffbf4
| 256
|
py
|
Python
|
src/yellowdog_client/model/compute_namespace_filter.py
|
yellowdog/yellowdog-sdk-python-public
|
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
|
[
"Apache-2.0"
] | null | null | null |
src/yellowdog_client/model/compute_namespace_filter.py
|
yellowdog/yellowdog-sdk-python-public
|
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
|
[
"Apache-2.0"
] | null | null | null |
src/yellowdog_client/model/compute_namespace_filter.py
|
yellowdog/yellowdog-sdk-python-public
|
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
|
[
"Apache-2.0"
] | null | null | null |
from dataclasses import dataclass
from datetime import datetime
from typing import Optional
from .filter import Filter
@dataclass
class ComputeNamespaceFilter(Filter):
fromTime: datetime
untilTime: datetime
createdById: Optional[str] = None
| 19.692308
| 37
| 0.792969
| 28
| 256
| 7.25
| 0.535714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164063
| 256
| 12
| 38
| 21.333333
| 0.948598
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.444444
| 0
| 0.888889
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
4aaf6e92a9cb1372177d4b35f000c03b79dbb343
| 72
|
py
|
Python
|
ObjectModeling/SnakeAndLadder/SankeAndLadder/Player.py
|
riyasyash/CompetitiveProgramming
|
9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e
|
[
"Apache-2.0"
] | null | null | null |
ObjectModeling/SnakeAndLadder/SankeAndLadder/Player.py
|
riyasyash/CompetitiveProgramming
|
9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e
|
[
"Apache-2.0"
] | 79
|
2019-01-26T10:45:16.000Z
|
2022-02-21T22:16:24.000Z
|
ObjectModeling/SnakeAndLadder/SankeAndLadder/Player.py
|
riyasyash/CompetitiveProgramming
|
9cb5c71a2b4297fa8681f0e380ee7a7bb3ee5b5e
|
[
"Apache-2.0"
] | null | null | null |
class Player:
"""
class representing the Player
"""
pass
| 14.4
| 33
| 0.569444
| 7
| 72
| 5.857143
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 72
| 5
| 34
| 14.4
| 0.854167
| 0.402778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
4abed48ce411fee7e6199b6605b4a8624dc2fecb
| 149
|
py
|
Python
|
apps/splash/urls.py
|
Kpaubert/onlineweb4
|
9ac79f163bc3a816db57ffa8477ea88770d97807
|
[
"MIT"
] | 32
|
2017-02-22T13:38:38.000Z
|
2022-03-31T23:29:54.000Z
|
apps/splash/urls.py
|
Kpaubert/onlineweb4
|
9ac79f163bc3a816db57ffa8477ea88770d97807
|
[
"MIT"
] | 694
|
2017-02-15T23:09:52.000Z
|
2022-03-31T23:16:07.000Z
|
apps/splash/urls.py
|
Kpaubert/onlineweb4
|
9ac79f163bc3a816db57ffa8477ea88770d97807
|
[
"MIT"
] | 35
|
2017-09-02T21:13:09.000Z
|
2022-02-21T11:30:30.000Z
|
from django.conf.urls import url
from apps.splash import views
urlpatterns = [url(r"^events.ics$", views.calendar_export, name="splash_calendar")]
| 24.833333
| 83
| 0.771812
| 22
| 149
| 5.136364
| 0.727273
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.100671
| 149
| 5
| 84
| 29.8
| 0.843284
| 0
| 0
| 0
| 0
| 0
| 0.181208
| 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
|
4ac29a1ee9d536e0e36a903d3559c7f0540d544f
| 137
|
py
|
Python
|
runcmd.py
|
josephworks/PythonWS
|
7391580de63291018094037f87b930fe44c6eae8
|
[
"MIT"
] | null | null | null |
runcmd.py
|
josephworks/PythonWS
|
7391580de63291018094037f87b930fe44c6eae8
|
[
"MIT"
] | 3
|
2019-02-23T00:30:07.000Z
|
2020-09-28T05:25:20.000Z
|
runcmd.py
|
josephworks/PythonWS
|
7391580de63291018094037f87b930fe44c6eae8
|
[
"MIT"
] | null | null | null |
import os
cmd = "neofetch"
returned_value = os.system(cmd) # returns the exit code in unix
# print('returned value:', returned_value)
| 19.571429
| 64
| 0.729927
| 20
| 137
| 4.9
| 0.7
| 0.397959
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.160584
| 137
| 6
| 65
| 22.833333
| 0.852174
| 0.510949
| 0
| 0
| 0
| 0
| 0.125
| 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
|
4ac990d9e9fd9abdfe6e4840e582d4451c2dba64
| 467
|
py
|
Python
|
system_c/test_sun.py
|
objarni/gothpy_fun
|
9678092e7da16bc307b263aa963863672901f050
|
[
"MIT"
] | null | null | null |
system_c/test_sun.py
|
objarni/gothpy_fun
|
9678092e7da16bc307b263aa963863672901f050
|
[
"MIT"
] | null | null | null |
system_c/test_sun.py
|
objarni/gothpy_fun
|
9678092e7da16bc307b263aa963863672901f050
|
[
"MIT"
] | null | null | null |
import unittest
from sun import update_lamp_status
class TestSun(unittest.TestCase):
def test_lamp_is_set_to_red_when_sun_is_fully_up(self):
# TODO
pass
def test_lamp_is_set_to_orange_near_sunrise(self):
# TODO
pass
def test_lamp_is_set_to_red_near_sunset(self):
# TODO
pass
def test_lamp_is_set_to_off_at_night(self):
# TODO
pass
if __name__ == '__main__':
unittest.main()
| 17.296296
| 59
| 0.670236
| 68
| 467
| 4
| 0.470588
| 0.102941
| 0.161765
| 0.191176
| 0.419118
| 0.419118
| 0.419118
| 0.330882
| 0.330882
| 0
| 0
| 0
| 0.269807
| 467
| 26
| 60
| 17.961538
| 0.797654
| 0.040685
| 0
| 0.307692
| 0
| 0
| 0.018059
| 0
| 0
| 0
| 0
| 0.038462
| 0
| 1
| 0.307692
| false
| 0.307692
| 0.153846
| 0
| 0.538462
| 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
| 1
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
4370d982f7f45cbbd47fe41230721ba35ec1719f
| 1,633
|
py
|
Python
|
05_lists_challenges/23_basketball_roster.py
|
r7asmu7s/art_of_doing_python
|
62a03bcca084046c319976fc308bf3de3a2d412d
|
[
"Unlicense"
] | null | null | null |
05_lists_challenges/23_basketball_roster.py
|
r7asmu7s/art_of_doing_python
|
62a03bcca084046c319976fc308bf3de3a2d412d
|
[
"Unlicense"
] | null | null | null |
05_lists_challenges/23_basketball_roster.py
|
r7asmu7s/art_of_doing_python
|
62a03bcca084046c319976fc308bf3de3a2d412d
|
[
"Unlicense"
] | null | null | null |
print('Welcome to the Basketball Roster Program')
basketball_roster = []
point_guard = input('Who is your point guard? ').title()
basketball_roster.append(point_guard)
shooting_guard = input('Who is your shooting guard? ').title()
basketball_roster.append(shooting_guard)
small_forward = input('Who is your small forward? ').title()
basketball_roster.append(small_forward)
power_forward = input('Who is your power forward? ').title()
basketball_roster.append(power_forward)
center = input('Who is your center? ').title()
basketball_roster.append(center)
print('\n\tYour starting 5 for the upcomming basketball season')
print('\t\tPoint Guard:\t' + str(basketball_roster[0]))
print('\t\tShootin Guard:\t' + str(basketball_roster[1]))
print('\t\tSmall Forward:\t' + str(basketball_roster[2]))
print('\t\tPower Guard:\t' + str(basketball_roster[3]))
print('\t\tCenter:\t\t' + str(basketball_roster[4]))
print('\nOh no, ' + str(basketball_roster[2]) + ' is injured.')
print('Your roster only has ' + str(len(basketball_roster)-1) + ' players.')
basketball_roster[2] = input('Who will take ' + basketball_roster[2] + "'s spot? ").title()
print('\n\tYour starting 5 for the upcomming basketball season')
print('\t\tPoint Guard:\t' + str(basketball_roster[0]))
print('\t\tShootin Guard:\t' + str(basketball_roster[1]))
print('\t\tSmall Forward:\t' + str(basketball_roster[2]))
print('\t\tPower Guard:\t' + str(basketball_roster[3]))
print('\t\tCenter:\t\t' + str(basketball_roster[4]))
print('\nGood luck ' + str(basketball_roster[2] + ', you will do great!'))
print('Your roster now has ' + str(len(basketball_roster)) + ' players.')
| 46.657143
| 91
| 0.724434
| 240
| 1,633
| 4.804167
| 0.233333
| 0.319167
| 0.197745
| 0.173461
| 0.655681
| 0.428448
| 0.428448
| 0.428448
| 0.428448
| 0.428448
| 0
| 0.011573
| 0.100429
| 1,633
| 35
| 92
| 46.657143
| 0.773315
| 0
| 0
| 0.413793
| 0
| 0
| 0.363525
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.586207
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
43b87f787852624cc9ba97c0fc602a160515384f
| 342
|
py
|
Python
|
hermod-python/src/AsyncioMqttErrors.py
|
syntithenai/hermod
|
d456cc34ce8da2db6be60e83d51fecc0de16ba0b
|
[
"BSD-2-Clause-FreeBSD"
] | 91
|
2019-01-28T13:32:14.000Z
|
2021-12-08T03:23:56.000Z
|
hermod-python/src/AsyncioMqttErrors.py
|
syntithenai/hermod
|
d456cc34ce8da2db6be60e83d51fecc0de16ba0b
|
[
"BSD-2-Clause-FreeBSD"
] | 11
|
2019-02-22T23:44:24.000Z
|
2020-10-12T12:35:38.000Z
|
hermod-python/src/AsyncioMqttErrors.py
|
syntithenai/hermod
|
d456cc34ce8da2db6be60e83d51fecc0de16ba0b
|
[
"BSD-2-Clause-FreeBSD"
] | 21
|
2019-03-23T11:46:04.000Z
|
2021-08-25T08:59:03.000Z
|
# SPDX-License-Identifier: BSD-3-Clause
class MqttError(Exception):
"""Base exception for all asyncio-mqtt exceptions."""
pass
class MqttCodeError(MqttError):
def __init__(self, rc, *args):
super().__init__(*args)
self.rc = rc
def __str__(self):
return f'[code:{self.rc}] {super().__str__()}'
| 21.375
| 57
| 0.625731
| 41
| 342
| 4.829268
| 0.658537
| 0.090909
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.003759
| 0.222222
| 342
| 15
| 58
| 22.8
| 0.740602
| 0.251462
| 0
| 0
| 0
| 0
| 0.144578
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0.125
| 0
| 0.125
| 0.625
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 4
|
43bfaff3f3d858c1de0a4c16848991586ca600e8
| 5,592
|
py
|
Python
|
aim/web/migrations/versions/5ae8371b7481_.py
|
admariner/aim
|
4c143ea40acf3531abfa69f66503428d73d9fedc
|
[
"Apache-2.0"
] | 2,195
|
2020-01-23T03:08:11.000Z
|
2022-03-31T14:32:19.000Z
|
aim/web/migrations/versions/5ae8371b7481_.py
|
admariner/aim
|
4c143ea40acf3531abfa69f66503428d73d9fedc
|
[
"Apache-2.0"
] | 696
|
2020-02-08T21:55:45.000Z
|
2022-03-31T16:52:22.000Z
|
aim/web/migrations/versions/5ae8371b7481_.py
|
admariner/aim
|
4c143ea40acf3531abfa69f66503428d73d9fedc
|
[
"Apache-2.0"
] | 150
|
2020-03-27T10:44:25.000Z
|
2022-03-21T21:29:41.000Z
|
"""empty message
Revision ID: 5ae8371b7481
Revises: 11672b13f92c
Create Date: 2021-06-10 14:13:40.552387
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '5ae8371b7481'
down_revision = '11672b13f92c'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('dashboards',
sa.Column('uuid', sa.Text(), nullable=False),
sa.Column('name', sa.Text(), nullable=True),
sa.Column('description', sa.Text(), nullable=True),
sa.Column('created_at', sa.DateTime(), nullable=True),
sa.Column('updated_at', sa.DateTime(), nullable=True),
sa.Column('is_archived', sa.Boolean(), nullable=True),
sa.PrimaryKeyConstraint('uuid')
)
op.create_table('explore_states',
sa.Column('uuid', sa.Text(), nullable=False),
sa.Column('created_at', sa.DateTime(), nullable=True),
sa.Column('updated_at', sa.DateTime(), nullable=True),
sa.Column('is_archived', sa.Boolean(), nullable=True),
sa.Column('chart_focused_step', sa.Integer(), nullable=True),
sa.Column('chart_focused_metric_run_hash', sa.Text(), nullable=True),
sa.Column('chart_focused_metric_metric_name', sa.Text(), nullable=True),
sa.Column('chart_focused_metric_trace_context', sa.Text(), nullable=True),
sa.Column('chart_focused_circle_active', sa.Boolean(), nullable=True),
sa.Column('chart_focused_circle_run_hash', sa.Text(), nullable=True),
sa.Column('chart_focused_circle_metric_name', sa.Text(), nullable=True),
sa.Column('chart_focused_circle_step', sa.Integer(), nullable=True),
sa.Column('chart_focused_circle_trace_context', sa.Text(), nullable=True),
sa.Column('chart_focused_circle_param', sa.Text(), nullable=True),
sa.Column('chart_focused_circle_content_type', sa.Text(), nullable=True),
sa.Column('chart_settings_zoom_mode', sa.Boolean(), nullable=True),
sa.Column('chart_settings_single_zoom_mode', sa.Boolean(), nullable=True),
sa.Column('chart_settings_zoom_history', sa.Text(), nullable=True),
sa.Column('chart_settings_highlight_mode', sa.Text(), nullable=True),
sa.Column('chart_settings_persistent_display_outliers', sa.Boolean(), nullable=True),
sa.Column('chart_settings_persistent_zoom', sa.Text(), nullable=True),
sa.Column('chart_settings_persistent_interpolate', sa.Boolean(), nullable=True),
sa.Column('chart_settings_persistent_indicator', sa.Boolean(), nullable=True),
sa.Column('chart_settings_persistent_x_alignment', sa.Text(), nullable=True),
sa.Column('chart_settings_persistent_x_scale', sa.Integer(), nullable=True),
sa.Column('chart_settings_persistent_y_scale', sa.Integer(), nullable=True),
sa.Column('chart_settings_persistent_points_count', sa.Integer(), nullable=True),
sa.Column('chart_settings_persistent_smoothing_algorithm', sa.Text(), nullable=True),
sa.Column('chart_settings_persistent_smooth_factor', sa.Float(), nullable=True),
sa.Column('chart_settings_persistent_aggregated', sa.Boolean(), nullable=True),
sa.Column('chart_hidden_metrics', sa.Text(), nullable=True),
sa.Column('chart_tooltip_options_display', sa.Boolean(), nullable=True),
sa.Column('chart_tooltip_options_fields', sa.Text(), nullable=True),
sa.Column('search_query', sa.Text(), nullable=True),
sa.Column('search_v', sa.Integer(), nullable=True),
sa.Column('search_input_value', sa.Text(), nullable=True),
sa.Column('search_input_select_input', sa.Text(), nullable=True),
sa.Column('search_input_select_condition_input', sa.Text(), nullable=True),
sa.Column('context_filter_group_by_color', sa.Text(), nullable=True),
sa.Column('context_filter_group_by_style', sa.Text(), nullable=True),
sa.Column('context_filter_group_by_chart', sa.Text(), nullable=True),
sa.Column('context_filter_group_against_color', sa.Boolean(), nullable=True),
sa.Column('context_filter_group_against_style', sa.Boolean(), nullable=True),
sa.Column('context_filter_group_against_chart', sa.Boolean(), nullable=True),
sa.Column('context_filter_aggregated_area', sa.Text(), nullable=True),
sa.Column('context_filter_aggregated_line', sa.Text(), nullable=True),
sa.Column('context_filter_seed_color', sa.Integer(), nullable=True),
sa.Column('context_filter_seed_style', sa.Integer(), nullable=True),
sa.Column('context_filter_persist_color', sa.Boolean(), nullable=True),
sa.Column('context_filter_persist_style', sa.Boolean(), nullable=True),
sa.Column('color_palette', sa.Integer(), nullable=True),
sa.Column('sort_fields', sa.Text(), nullable=True),
sa.Column('table_row_height_mode', sa.Text(), nullable=True),
sa.Column('table_columns_order_left', sa.Text(), nullable=True),
sa.Column('table_columns_order_middle', sa.Text(), nullable=True),
sa.Column('table_columns_order_right', sa.Text(), nullable=True),
sa.Column('table_columns_widths', sa.Text(), nullable=True),
sa.Column('table_excluded_fields', sa.Text(), nullable=True),
sa.Column('screen_view_mode', sa.Text(), nullable=True),
sa.Column('screen_panel_flex', sa.Float(), nullable=True),
sa.Column('dashboard_id', sa.Text(), nullable=True),
sa.ForeignKeyConstraint(['dashboard_id'], ['dashboards.uuid'], ),
sa.PrimaryKeyConstraint('uuid')
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('explore_states')
op.drop_table('dashboards')
# ### end Alembic commands ###
| 54.291262
| 89
| 0.726395
| 745
| 5,592
| 5.194631
| 0.183893
| 0.138501
| 0.235142
| 0.325581
| 0.798191
| 0.793023
| 0.761757
| 0.624031
| 0.501034
| 0.257364
| 0
| 0.011254
| 0.110157
| 5,592
| 102
| 90
| 54.823529
| 0.766479
| 0.052754
| 0
| 0.119048
| 0
| 0
| 0.335171
| 0.2673
| 0
| 0
| 0
| 0
| 0
| 1
| 0.02381
| false
| 0
| 0.02381
| 0
| 0.047619
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
43cd8bfd7444dcc0be5055d6f18c7f966dd8524e
| 122
|
py
|
Python
|
example/to_run.py
|
andrewilyas/gridder
|
198e0e1d21895847b94a5c35c9826cdc2232820c
|
[
"MIT"
] | 1
|
2021-06-22T20:34:29.000Z
|
2021-06-22T20:34:29.000Z
|
example/to_run.py
|
andrewilyas/gridder
|
198e0e1d21895847b94a5c35c9826cdc2232820c
|
[
"MIT"
] | null | null | null |
example/to_run.py
|
andrewilyas/gridder
|
198e0e1d21895847b94a5c35c9826cdc2232820c
|
[
"MIT"
] | null | null | null |
import tensorflow as tf
import time
def main(args):
print("x * y * z:", args.x * args.y * args.z)
time.sleep(10)
| 17.428571
| 49
| 0.614754
| 22
| 122
| 3.409091
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.021277
| 0.229508
| 122
| 6
| 50
| 20.333333
| 0.776596
| 0
| 0
| 0
| 0
| 0
| 0.081967
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.6
| 0.2
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
78f1a1b76c1f5d9cb5d45861c1e6045030ba39a8
| 130
|
py
|
Python
|
src/transform.py
|
CedricFR/dfply-extensions
|
e2db8767bab6a52328ca26f585d83ad30e2fcd27
|
[
"Apache-2.0"
] | null | null | null |
src/transform.py
|
CedricFR/dfply-extensions
|
e2db8767bab6a52328ca26f585d83ad30e2fcd27
|
[
"Apache-2.0"
] | null | null | null |
src/transform.py
|
CedricFR/dfply-extensions
|
e2db8767bab6a52328ca26f585d83ad30e2fcd27
|
[
"Apache-2.0"
] | null | null | null |
from dfply import *
@pipe
def narep(df, val=0):
df = df.fillna(val)
return df
@dfpipe
def do(df, todo):
return todo
| 11.818182
| 23
| 0.623077
| 22
| 130
| 3.681818
| 0.636364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010309
| 0.253846
| 130
| 10
| 24
| 13
| 0.824742
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.125
| 0.125
| 0.625
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
603b30300132149af66f9d6a1a05952232bd4643
| 260
|
py
|
Python
|
chp3/3_8seeing_the_world.py
|
veragal/pycc
|
09a001b908c34588975dea8e337ccea33597c4cc
|
[
"MIT"
] | 2
|
2018-01-26T13:22:00.000Z
|
2018-01-28T03:54:50.000Z
|
chp3/3_8seeing_the_world.py
|
veragal/pycc
|
09a001b908c34588975dea8e337ccea33597c4cc
|
[
"MIT"
] | null | null | null |
chp3/3_8seeing_the_world.py
|
veragal/pycc
|
09a001b908c34588975dea8e337ccea33597c4cc
|
[
"MIT"
] | null | null | null |
# Copyright (c) Vera Galstyan Jan 25,2018
places = ['london','paris','barcelona','rome','berlin']
print(sorted(places))
print(places)
places.reverse
print(places)
places,reverse
print(places)
places.sort()
print(places)
places.sort(reverse=True)
print(places)
| 21.666667
| 55
| 0.753846
| 36
| 260
| 5.444444
| 0.5
| 0.280612
| 0.346939
| 0.244898
| 0.331633
| 0.331633
| 0.331633
| 0
| 0
| 0
| 0
| 0.025
| 0.076923
| 260
| 12
| 56
| 21.666667
| 0.791667
| 0.15
| 0
| 0.454545
| 0
| 0
| 0.136986
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.545455
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
60442c77c322af37aff7c74bc661e6dff6cf3ec7
| 21
|
py
|
Python
|
test/main.py
|
mallikarjunagutta/gitrepo1
|
8884ad95063e16a1b97a119ac7c1fd659189a9b9
|
[
"Apache-2.0"
] | null | null | null |
test/main.py
|
mallikarjunagutta/gitrepo1
|
8884ad95063e16a1b97a119ac7c1fd659189a9b9
|
[
"Apache-2.0"
] | null | null | null |
test/main.py
|
mallikarjunagutta/gitrepo1
|
8884ad95063e16a1b97a119ac7c1fd659189a9b9
|
[
"Apache-2.0"
] | null | null | null |
Code for featrure 1
| 10.5
| 20
| 0.761905
| 4
| 21
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.0625
| 0.238095
| 21
| 1
| 21
| 21
| 0.9375
| 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
|
6046b50ee6e2fd5c6bbc88a129839aa5e4811838
| 82
|
py
|
Python
|
tests/__init__.py
|
Brinfer/ClearWay
|
208abe652350ae457f4195ac3e73e6006738974a
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
Brinfer/ClearWay
|
208abe652350ae457f4195ac3e73e6006738974a
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
Brinfer/ClearWay
|
208abe652350ae457f4195ac3e73e6006738974a
|
[
"MIT"
] | null | null | null |
"""Top level module for ClearWay."""
import sys
sys.path.append("../clearway")
| 11.714286
| 36
| 0.670732
| 11
| 82
| 5
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.134146
| 82
| 6
| 37
| 13.666667
| 0.774648
| 0.365854
| 0
| 0
| 0
| 0
| 0.23913
| 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
|
6053e2a21c53afcba08df8786c54bda5d6f43e4e
| 2,610
|
py
|
Python
|
repos/fdbt-reference-data-service/src/uploaders/csv_uploader/db_queries.py
|
fares-data-build-tool/create-data
|
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
|
[
"MIT"
] | 6
|
2021-06-22T09:01:17.000Z
|
2022-03-04T12:48:25.000Z
|
repos/fdbt-reference-data-service/src/uploaders/csv_uploader/db_queries.py
|
fares-data-build-tool/create-data
|
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
|
[
"MIT"
] | 18
|
2021-08-04T09:23:10.000Z
|
2022-02-18T10:07:18.000Z
|
repos/fdbt-reference-data-service/src/uploaders/csv_uploader/db_queries.py
|
fares-data-build-tool/create-data
|
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
|
[
"MIT"
] | 1
|
2021-06-30T16:27:27.000Z
|
2021-06-30T16:27:27.000Z
|
def public_name_query(bucket_name):
return ["SET FOREIGN_KEY_CHECKS = 0;", "CREATE TABLE nocPublicNameNew LIKE nocPublicName;", f"LOAD DATA FROM S3 's3-eu-west-2://{bucket_name}/PublicName.csv' REPLACE INTO TABLE nocPublicNameNew FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '' LINES TERMINATED BY '\\n' IGNORE 1 lines ( pubNmId, operatorPublicName, pubNmQual, ttrteEnq, fareEnq, lostPropEnq, disruptEnq, complEnq, twitter, facebook, linkedin, youtube, changeDate, changeAgent, changeComment, ceasedDate, dataOwner, website );", "SET FOREIGN_KEY_CHECKS = 1;"]
def noc_table_query(bucket_name):
return ["SET FOREIGN_KEY_CHECKS = 0;", "CREATE TABLE nocTableNew LIKE nocTable;", f"LOAD DATA FROM S3 's3-eu-west-2://{bucket_name}/NOCTable.csv' REPLACE INTO TABLE nocTableNew FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '' LINES TERMINATED BY '\\n' IGNORE 1 lines ( nocCode, operatorPublicName, vosaPsvLicenseName, opId, pubNmId, nocCdQual, changeDate, changeAgent, changeComment, dateCeased, dataOwner );", "SET FOREIGN_KEY_CHECKS = 1;"]
def noc_lines_query(bucket_name):
return ["SET FOREIGN_KEY_CHECKS = 0;", "CREATE TABLE nocLineNew LIKE nocLine;", f"LOAD DATA FROM S3 's3-eu-west-2://{bucket_name}/NOCLines.csv' REPLACE INTO TABLE nocLineNew FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '' LINES TERMINATED BY '\\n' IGNORE 1 lines ( nocLineNo, nocCode, pubNm, refNm, licence, mode, tlRegOwn, ebsrAgent, lo, sw, wm, wa, yo, nw, ne, sc, se, ea, em, ni, nx, megabus, newBharat, terravision, ncsd, easybus, yorksRt, travelEnq, comment, auditDate, auditEditor, auditComment, duplicate, dateCeased, cessationComment );", "SET FOREIGN_KEY_CHECKS = 1;"]
def stops_query(bucket_name):
return ["SET FOREIGN_KEY_CHECKS = 0;", "CREATE TABLE naptanStopNew LIKE naptanStop;", f"LOAD DATA FROM S3 's3-eu-west-2://{bucket_name}/Stops.csv' REPLACE INTO TABLE naptanStopNew FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '' LINES TERMINATED BY '\\r\\n' IGNORE 1 lines ( atcoCode, naptanCode, plateCode, cleardownCode, commonName, commonNameLang, shortCommonName, shortCommonNameLang, landmark, landmarkLang, street, streetLang, crossing, crossingLang, indicator, indicatorLang, bearing, nptgLocalityCode, localityName, parentLocalityName, grandParentLocalityName, town, townLang, suburb, suburbLang, localityCentre, gridType, easting, northing, longitude, latitude, stopType, busStopType, timingStatus, defaultWaitTime, notes, notesLang, administrativeAreaCode, creationDateTime, modificationDateTime, revisionNumber, modification, status );", "SET FOREIGN_KEY_CHECKS = 1;"]
| 174
| 890
| 0.767816
| 319
| 2,610
| 6.184953
| 0.45768
| 0.040547
| 0.052712
| 0.07704
| 0.351749
| 0.341612
| 0.329954
| 0.303599
| 0.303599
| 0.303599
| 0
| 0.010412
| 0.116858
| 2,610
| 14
| 891
| 186.428571
| 0.845553
| 0
| 0
| 0
| 0
| 0.75
| 0.363602
| 0.065517
| 0
| 0
| 0
| 0
| 0
| 1
| 0.5
| false
| 0
| 0
| 0.5
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
606f26e2f96625cad6fb51c82a132c17114e38ef
| 1,139
|
py
|
Python
|
tests/test_poa.py
|
LBR-FUYI/CIRI-long
|
66c899331eb05bd304388a1bed11c1310afd9149
|
[
"MIT"
] | 1
|
2021-05-31T10:33:07.000Z
|
2021-05-31T10:33:07.000Z
|
tests/test_poa.py
|
LBR-FUYI/CIRI-long
|
66c899331eb05bd304388a1bed11c1310afd9149
|
[
"MIT"
] | null | null | null |
tests/test_poa.py
|
LBR-FUYI/CIRI-long
|
66c899331eb05bd304388a1bed11c1310afd9149
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
from spoa import poa
def test_poa():
fasta = (
('0-145', 'TCCCGGTCATCATAACCCCGATCGTACCCTCTGTCATAATAGTCTCGGCGGCGAGAACTGCCACTGTAAATCTGATCCCTGTCTTGAGCTGCTCTCCATCCACCTCCCTCCACCACCTCCTCCTCTGTATGATCTGCTGTAATAG'),
('145-289', 'TCCCGGTCATCATAACCCCGATCATTGCCACCTGTCATAGTCTCGGCGGCGAGAACTGCCACTGTAAATCCCCTGATCCCTGTCTTGAGCTGCTCTCCATCCCCTCCTCCACCACCTCCTCCTCTGTATGATCTGCTGTAATAG'),
('289-433', 'TCCCGGTCATCATAACCCCGATCGTACCCTCTGTCATAATGGTCTCGGCGGCGAGAACTGCCACTGTAAATCTGATCCCTGTCTTGAGCTGCTCTCCATCCACCTCCTCCACCACCTCCTCCTCTGTATGATCTGCTGTAATAG'),
('433-579', 'TCCCGGTCATCATAACCCCGATCGTACTCTGTCATAATAGTCTCGGCGGCGAGAGGCGCCACTGTAAATCTGATCCCTGTCTTGAGCTGCTCTCCATCCACCTCCTCCACCACCTCCTCCCCTCTGTATGATCTGCTGTAATAG'),
('579-721', 'TCCCGGTCATCATAACCCCGATCGTACCCATAATAGTCTCGGCGAGAACTGCCACTGTAAATCCTGATCCCTGTCTTGAGCTGCTCTCCATCCACCTCCTCCACCACCTCCTCCTCTGTATGATCTGCTGTAATAG'),
('721-742', 'TCCGGTCATCATAACCCCGATCCATAATAGTCTCGGCG'),
)
ccs, msa = poa([i[1] for i in fasta], 0, True, 10, -4, -8, -2, -24, -1)
print(ccs, msa)
if __name__ == '__main__':
test_poa()
| 56.95
| 169
| 0.794557
| 55
| 1,139
| 16.272727
| 0.727273
| 0.015642
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.043956
| 0.121159
| 1,139
| 19
| 170
| 59.947368
| 0.85015
| 0.017559
| 0
| 0
| 0
| 0
| 0.727025
| 0.683349
| 0
| 1
| 0
| 0
| 0
| 1
| 0.071429
| false
| 0
| 0.071429
| 0
| 0.142857
| 0.071429
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
6092905a8c6d706156392c892bf98f7d2518ab08
| 130
|
py
|
Python
|
nmartind/hello_world.py
|
nikiollie/my-hello-world
|
4856104ff9716f22bf5918203cd17c49113f07e4
|
[
"Apache-2.0"
] | null | null | null |
nmartind/hello_world.py
|
nikiollie/my-hello-world
|
4856104ff9716f22bf5918203cd17c49113f07e4
|
[
"Apache-2.0"
] | null | null | null |
nmartind/hello_world.py
|
nikiollie/my-hello-world
|
4856104ff9716f22bf5918203cd17c49113f07e4
|
[
"Apache-2.0"
] | null | null | null |
def hello():
hello = input("Enter hello in a language: ")
name = input("Enter your name: ")
print(hello + " " + name)
| 26
| 48
| 0.576923
| 17
| 130
| 4.411765
| 0.588235
| 0.266667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.261538
| 130
| 4
| 49
| 32.5
| 0.78125
| 0
| 0
| 0
| 0
| 0
| 0.346154
| 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
|
609f62ee36d6e2a007f0846b1888b95c1a57c9e9
| 909
|
py
|
Python
|
sdk/python/pulumi-run-my-darn-container/__init__.py
|
pulumi/pulumi-run-my-darn-container
|
1fb13881d245f852b1d44d96cefb8fbb329c7691
|
[
"Apache-2.0"
] | null | null | null |
sdk/python/pulumi-run-my-darn-container/__init__.py
|
pulumi/pulumi-run-my-darn-container
|
1fb13881d245f852b1d44d96cefb8fbb329c7691
|
[
"Apache-2.0"
] | 1
|
2021-10-15T02:46:38.000Z
|
2021-10-15T02:46:38.000Z
|
sdk/python/pulumi-run-my-darn-container/__init__.py
|
pulumi/pulumi-run-my-darn-container
|
1fb13881d245f852b1d44d96cefb8fbb329c7691
|
[
"Apache-2.0"
] | null | null | null |
# coding=utf-8
# *** WARNING: this file was generated by Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from . import _utilities
import typing
# Export this package's modules as members:
from .aws_instance import *
from .azure_instance import *
from .gcp_instance import *
from .provider import *
_utilities.register(
resource_modules="""
[
{
"pkg": "run-my-darn-container",
"mod": "index",
"fqn": "pulumi-run-my-darn-container",
"classes": {
"run-my-darn-container:index:AWSInstance": "AWSInstance",
"run-my-darn-container:index:AzureInstance": "AzureInstance",
"run-my-darn-container:index:GCPInstance": "GCPInstance"
}
}
]
""",
resource_packages="""
[
{
"pkg": "run-my-darn-container",
"token": "pulumi:providers:run-my-darn-container",
"fqn": "pulumi-run-my-darn-container",
"class": "Provider"
}
]
"""
)
| 23.921053
| 80
| 0.677668
| 115
| 909
| 5.295652
| 0.495652
| 0.065681
| 0.118227
| 0.236453
| 0.270936
| 0.08867
| 0
| 0
| 0
| 0
| 0
| 0.001295
| 0.150715
| 909
| 37
| 81
| 24.567568
| 0.787565
| 0.218922
| 0
| 0.125
| 1
| 0
| 0.666667
| 0.395745
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.1875
| 0
| 0.1875
| 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
| 1
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
60bdaa522be762e68337944e07f209ef913b3c0f
| 144
|
py
|
Python
|
sijuiacion_lang/preserved_registers.py
|
RemuLang/sijuiacion-lang
|
e3b5be79fb7afadc0790311e612ddd430b3f0b9d
|
[
"MIT"
] | 21
|
2019-10-13T14:11:32.000Z
|
2021-12-14T02:42:12.000Z
|
sijuiacion_lang/preserved_registers.py
|
RemuLang/sijuiacion-lang
|
e3b5be79fb7afadc0790311e612ddd430b3f0b9d
|
[
"MIT"
] | 1
|
2020-01-07T13:14:46.000Z
|
2020-01-09T16:58:07.000Z
|
sijuiacion_lang/preserved_registers.py
|
RemuLang/sijuiacion-lang
|
e3b5be79fb7afadc0790311e612ddd430b3f0b9d
|
[
"MIT"
] | 1
|
2020-08-13T16:17:09.000Z
|
2020-08-13T16:17:09.000Z
|
REG_CLOSURE = "$CLOSURE"
REG_RET = "$RET"
REG_LOCAL_STACK = "$LOCAL_STACK"
# for Python 3.8- only
REG_TEST_INDIR_JUMPED = "$TEST_INDIR_JUMPED"
| 20.571429
| 44
| 0.743056
| 23
| 144
| 4.217391
| 0.565217
| 0.206186
| 0.309278
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015873
| 0.125
| 144
| 6
| 45
| 24
| 0.753968
| 0.138889
| 0
| 0
| 0
| 0
| 0.344262
| 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
|
60f10b39ed9914e8c84b186f6207f6d85a8b279a
| 348
|
py
|
Python
|
logstash/__init__.py
|
israel-fl/python3-logstash
|
35e2d4df5f60c4560587664df9847fdd509fd99c
|
[
"MIT"
] | 12
|
2018-03-15T10:47:03.000Z
|
2021-02-03T05:32:56.000Z
|
logstash/__init__.py
|
israel-fl/python3-logstash
|
35e2d4df5f60c4560587664df9847fdd509fd99c
|
[
"MIT"
] | 10
|
2018-07-11T18:32:20.000Z
|
2020-12-11T15:17:15.000Z
|
logstash/__init__.py
|
israel-fl/python3-logstash
|
35e2d4df5f60c4560587664df9847fdd509fd99c
|
[
"MIT"
] | 16
|
2018-06-27T17:41:50.000Z
|
2020-07-30T17:10:28.000Z
|
from logstash.formatter import LogstashFormatterVersion0, LogstashFormatterVersion1
from logstash.handler_tcp import TCPLogstashHandler
from logstash.handler_udp import UDPLogstashHandler, LogstashHandler
try:
from logstash.handler_amqp import AMQPLogstashHandler
except:
# you need to install AMQP support to enable this handler.
pass
| 31.636364
| 83
| 0.844828
| 38
| 348
| 7.657895
| 0.631579
| 0.164948
| 0.195876
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006579
| 0.126437
| 348
| 10
| 84
| 34.8
| 0.950658
| 0.16092
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.142857
| 0.571429
| 0
| 0.571429
| 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
| 1
| 1
| 0
| 0
| 0
|
0
| 4
|
60f59d7a44e042731e40cabb158f6c9f2c9728d3
| 167
|
py
|
Python
|
sites/mysites/views.py
|
cmwaura/Final_Red_Scrap
|
6b1b78de7d1129cda787e9f4688ddd409af39eb5
|
[
"MIT"
] | null | null | null |
sites/mysites/views.py
|
cmwaura/Final_Red_Scrap
|
6b1b78de7d1129cda787e9f4688ddd409af39eb5
|
[
"MIT"
] | null | null | null |
sites/mysites/views.py
|
cmwaura/Final_Red_Scrap
|
6b1b78de7d1129cda787e9f4688ddd409af39eb5
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
# Create your views here.
def testcase(request):
template = "index.html"
context = {}
return render(request, template, context)
| 23.857143
| 42
| 0.754491
| 21
| 167
| 6
| 0.809524
| 0.238095
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.143713
| 167
| 7
| 42
| 23.857143
| 0.881119
| 0.137725
| 0
| 0
| 0
| 0
| 0.06993
| 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
|
88003069bcd917571757b0ad1d74b032ca513f66
| 295
|
py
|
Python
|
src/si/supervised/__init__.py
|
pg42862/Sistemas_Inteligentes_para_a_MBIONF
|
5dd5b487da5b3c6a0989274598c911cc639138a3
|
[
"Apache-2.0"
] | null | null | null |
src/si/supervised/__init__.py
|
pg42862/Sistemas_Inteligentes_para_a_MBIONF
|
5dd5b487da5b3c6a0989274598c911cc639138a3
|
[
"Apache-2.0"
] | null | null | null |
src/si/supervised/__init__.py
|
pg42862/Sistemas_Inteligentes_para_a_MBIONF
|
5dd5b487da5b3c6a0989274598c911cc639138a3
|
[
"Apache-2.0"
] | 1
|
2021-11-15T16:15:50.000Z
|
2021-11-15T16:15:50.000Z
|
from .KNN import KNN
from .LinearRegression import LinearRegression, LinearRegressionReg
from .LogisticRegression import LogisticRegression, LogisticRegressionReg
from .DecisionTree import DecisionTree
from .Ensemble import Ensemble, majority, average
from .NN import *
from .Model import Model
| 36.875
| 73
| 0.850847
| 31
| 295
| 8.096774
| 0.419355
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.108475
| 295
| 7
| 74
| 42.142857
| 0.954373
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
714ccbe9d09753e3aa7597105b5b39506f2bdd8d
| 111
|
py
|
Python
|
runtime/opt/taupage/init.d/91-setup-rkhunter.py
|
pc-alves/taupage
|
07025d45772d47b43e0a20d7ee21f10a6ff5162d
|
[
"Apache-2.0"
] | 49
|
2015-04-14T13:55:10.000Z
|
2020-02-14T22:55:43.000Z
|
runtime/opt/taupage/init.d/91-setup-rkhunter.py
|
pc-alves/taupage
|
07025d45772d47b43e0a20d7ee21f10a6ff5162d
|
[
"Apache-2.0"
] | 538
|
2015-04-01T10:53:09.000Z
|
2020-04-17T08:43:36.000Z
|
runtime/opt/taupage/init.d/91-setup-rkhunter.py
|
pc-alves/taupage
|
07025d45772d47b43e0a20d7ee21f10a6ff5162d
|
[
"Apache-2.0"
] | 67
|
2015-05-05T19:48:30.000Z
|
2020-11-04T04:59:00.000Z
|
#!/usr/bin/env python3
from subprocess import call
# update rkhunter database
call(["rkhunter", "--propupd"])
| 18.5
| 31
| 0.72973
| 14
| 111
| 5.785714
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010204
| 0.117117
| 111
| 5
| 32
| 22.2
| 0.816327
| 0.414414
| 0
| 0
| 0
| 0
| 0.269841
| 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
|
714e824993dd532b34bfcab13ffac69d84534399
| 39
|
py
|
Python
|
plugin/src/test/resources/refactoring/extractmethod/BinaryExpression.before.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
plugin/src/test/resources/refactoring/extractmethod/BinaryExpression.before.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/BinaryExpression.before.py
|
consulo/consulo-python
|
586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d
|
[
"Apache-2.0"
] | null | null | null |
aaa = <selection>bbb</selection> && ccc
| 39
| 39
| 0.692308
| 5
| 39
| 5.4
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.102564
| 39
| 1
| 39
| 39
| 0.771429
| 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
|
715a18868700e8505fee64f536f82189d12c71c5
| 69
|
py
|
Python
|
trapperkeeper/exceptions.py
|
yytsui/trapperkeeper
|
69e6fe2fcd93fb8046324a162cd1e00679032149
|
[
"Apache-2.0"
] | 61
|
2015-01-08T03:32:20.000Z
|
2022-03-23T22:49:41.000Z
|
trapperkeeper/exceptions.py
|
yytsui/trapperkeeper
|
69e6fe2fcd93fb8046324a162cd1e00679032149
|
[
"Apache-2.0"
] | 18
|
2015-03-23T21:31:53.000Z
|
2019-09-24T02:01:45.000Z
|
trapperkeeper/exceptions.py
|
isabella232/trapperkeeper
|
69e6fe2fcd93fb8046324a162cd1e00679032149
|
[
"Apache-2.0"
] | 22
|
2015-03-23T21:29:52.000Z
|
2020-11-18T17:49:40.000Z
|
class Error(Exception):
pass
class ConfigError(Error):
pass
| 11.5
| 25
| 0.695652
| 8
| 69
| 6
| 0.625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.217391
| 69
| 5
| 26
| 13.8
| 0.888889
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
717d391cd6af8105dfa242db81fa29edc977d521
| 743
|
py
|
Python
|
powderday/__init__.py
|
jwise77/powderday
|
66a5ce6b13f0e96ab9e5beeef0da339d36f18984
|
[
"BSD-3-Clause"
] | null | null | null |
powderday/__init__.py
|
jwise77/powderday
|
66a5ce6b13f0e96ab9e5beeef0da339d36f18984
|
[
"BSD-3-Clause"
] | null | null | null |
powderday/__init__.py
|
jwise77/powderday
|
66a5ce6b13f0e96ab9e5beeef0da339d36f18984
|
[
"BSD-3-Clause"
] | null | null | null |
from . import front_ends
from . import agn_models
from . import agn_spectrum
from . import SED_gen
from . import analytics
from . import backwards_compatibility
from . import config
from . import constants
from . import cutout_data
from . import dust_grid_gen
from . import enzo_tributary
from . import error_handling
from . import find_order
from . import grid_construction
from . import gridstats
from . import helpers
from . import hyperion_octree_stats
from . import image_processing
from . import m_control_tools
from . import octree_sanity_check
from . import zoom
from . import pfh_readsnap
from . import powderday_test_octree
from . import source_creation
from . import sph_tributary
from . import mlt
from . import tributary_dust_add
| 26.535714
| 37
| 0.818304
| 107
| 743
| 5.439252
| 0.439252
| 0.463918
| 0.044674
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.145357
| 743
| 27
| 38
| 27.518519
| 0.916535
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
71c48142fca70b957443a13df6d17949c858a35a
| 15,993
|
py
|
Python
|
aries_cloudagent/multitenant/admin/tests/test_routes.py
|
brianorwhatever/aries-cloudagent-python
|
9eb97df5956ed1156e6de353d87455b8df952483
|
[
"Apache-2.0"
] | null | null | null |
aries_cloudagent/multitenant/admin/tests/test_routes.py
|
brianorwhatever/aries-cloudagent-python
|
9eb97df5956ed1156e6de353d87455b8df952483
|
[
"Apache-2.0"
] | 22
|
2021-02-13T18:48:53.000Z
|
2021-04-27T07:29:50.000Z
|
aries_cloudagent/multitenant/admin/tests/test_routes.py
|
brianorwhatever/aries-cloudagent-python
|
9eb97df5956ed1156e6de353d87455b8df952483
|
[
"Apache-2.0"
] | 2
|
2021-02-19T17:53:37.000Z
|
2021-02-19T17:56:48.000Z
|
from asynctest import TestCase as AsyncTestCase
from asynctest import mock as async_mock
from marshmallow.exceptions import ValidationError
from ...manager import (
MultitenantManager,
MultitenantManagerError,
)
from ....admin.request_context import AdminRequestContext
from ....wallet.models.wallet_record import WalletRecord
from ....messaging.models.base import BaseModelError
from ....storage.error import StorageError, StorageNotFoundError
from .. import routes as test_module
class TestMultitenantRoutes(AsyncTestCase):
async def setUp(self):
mock_multitenant_mgr = async_mock.MagicMock(
__aexit__=async_mock.CoroutineMock(), autospec=True
)
mock_multitenant_mgr.__aenter__ = async_mock.CoroutineMock(
return_value=mock_multitenant_mgr
)
self.session_inject = {MultitenantManager: mock_multitenant_mgr}
self.context = AdminRequestContext.test_context(self.session_inject)
self.request_dict = {
"context": self.context,
"outbound_message_router": async_mock.CoroutineMock(),
}
self.request = async_mock.MagicMock(
app={},
match_info={},
query={},
__getitem__=lambda _, k: self.request_dict[k],
)
async def test_format_wallet_record_removes_wallet_key(self):
wallet_record = WalletRecord(
wallet_id="test",
key_management_mode=WalletRecord.MODE_MANAGED,
settings={"wallet.name": "wallet_name", "wallet.key": "wallet_key"},
)
formatted = test_module.format_wallet_record(wallet_record)
assert "wallet.key" not in formatted["settings"]
async def test_wallets_list(self):
with async_mock.patch.object(
test_module, "WalletRecord", autospec=True
) as mock_wallet_record, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
wallets = [
async_mock.MagicMock(
serialize=async_mock.MagicMock(
return_value={
"wallet_id": "wallet_id",
"created_at": "1234567890",
"settings": {"wallet.name": "test"},
}
)
),
async_mock.MagicMock(
serialize=async_mock.MagicMock(
return_value={
"wallet_id": "wallet_id",
"created_at": "1234567891",
"settings": {"wallet.name": "test"},
}
)
),
async_mock.MagicMock(
serialize=async_mock.MagicMock(
return_value={
"wallet_id": "wallet_id",
"created_at": "1234567892",
"settings": {"wallet.name": "test"},
}
)
),
]
mock_wallet_record.query = async_mock.CoroutineMock()
mock_wallet_record.query.return_value = [wallets[2], wallets[0], wallets[1]]
await test_module.wallets_list(self.request)
mock_response.assert_called_once_with(
{"results": [test_module.format_wallet_record(w) for w in wallets]}
)
async def test_wallets_list_x(self):
with async_mock.patch.object(
test_module, "WalletRecord", autospec=True
) as mock_wallet_record:
mock_wallet_record.query = async_mock.CoroutineMock()
mock_wallet_record.query.side_effect = StorageError()
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.wallets_list(self.request)
mock_wallet_record.query.side_effect = BaseModelError()
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.wallets_list(self.request)
async def test_wallet_create(self):
body = {
"wallet_name": "test",
"wallet_type": "indy",
"wallet_key": "test",
"key_management_mode": "managed",
"wallet_webhook_urls": [],
"wallet_dispatch_type": "base",
}
self.request.json = async_mock.CoroutineMock(return_value=body)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(test_module.web, "json_response") as mock_response:
wallet_mock = async_mock.MagicMock(
serialize=async_mock.MagicMock(
return_value={
"wallet_id": "test",
"settings": {},
"key_management_mode": body["key_management_mode"],
}
)
) # wallet_record
mock_multitenant_mgr.create_wallet = async_mock.CoroutineMock(
return_value=wallet_mock
)
mock_multitenant_mgr.create_auth_token = async_mock.Mock(
return_value="test_token"
)
print(self.request["context"])
await test_module.wallet_create(self.request)
mock_multitenant_mgr.create_wallet.assert_called_once_with(
{
"wallet.name": body["wallet_name"],
"wallet.type": body["wallet_type"],
"wallet.key": body["wallet_key"],
"wallet.webhook_urls": body["wallet_webhook_urls"],
"wallet.dispatch_type": body["wallet_dispatch_type"],
},
body["key_management_mode"],
)
mock_multitenant_mgr.create_auth_token.assert_called_once_with(
wallet_mock, body["wallet_key"]
)
mock_response.assert_called_once_with(
{**test_module.format_wallet_record(wallet_mock), "token": "test_token"}
)
async def test_wallet_create_x(self):
body = {}
self.request.json = async_mock.CoroutineMock(return_value=body)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
mock_multitenant_mgr.create_wallet.side_effect = MultitenantManagerError()
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.wallet_create(self.request)
async def test_wallet_create_schema_validation_fails_indy_no_name_key(self):
incorrect_body = {"wallet_type": "indy"}
with self.assertRaises(ValidationError):
schema = test_module.CreateWalletRequestSchema()
schema.validate_fields(incorrect_body)
async def test_wallet_create_optional_default_fields(self):
body = {
"wallet_name": "test",
"wallet_key": "test",
"wallet_webhook_urls": [],
"wallet_dispatch_type": "base",
"label": "my_test_label",
"image_url": "https://image.com",
}
self.request.json = async_mock.CoroutineMock(return_value=body)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(test_module.web, "json_response") as mock_response:
mock_multitenant_mgr.create_wallet = async_mock.CoroutineMock()
mock_multitenant_mgr.create_auth_token = async_mock.Mock()
await test_module.wallet_create(self.request)
mock_multitenant_mgr.create_wallet.assert_called_once_with(
{
"wallet.name": body["wallet_name"],
"wallet.type": "in_memory",
"wallet.key": body["wallet_key"],
"default_label": body["label"],
"image_url": body["image_url"],
"wallet.webhook_urls": body["wallet_webhook_urls"],
"wallet.dispatch_type": body["wallet_dispatch_type"],
},
WalletRecord.MODE_MANAGED,
)
async def test_wallet_get(self):
self.request.match_info = {"wallet_id": "dummy"}
mock_wallet_record = async_mock.MagicMock()
mock_wallet_record.serialize = async_mock.MagicMock(
return_value={"settings": {}, "wallet_id": "dummy"}
)
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_wallet_record_retrieve_by_id.return_value = mock_wallet_record
await test_module.wallet_get(self.request)
mock_response.assert_called_once_with(
{"settings": {}, "wallet_id": "dummy"}
)
async def test_wallet_get_not_found(self):
self.request.match_info = {"wallet_id": "dummy"}
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id:
mock_wallet_record_retrieve_by_id.side_effect = StorageNotFoundError()
with self.assertRaises(test_module.web.HTTPNotFound):
await test_module.wallet_get(self.request)
async def test_wallet_get_x(self):
self.request.match_info = {"wallet_id": "dummy"}
mock_wallet_record = async_mock.MagicMock()
mock_wallet_record.serialize = async_mock.MagicMock(
side_effect=test_module.BaseModelError()
)
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id:
mock_wallet_record_retrieve_by_id.return_value = mock_wallet_record
with self.assertRaises(test_module.web.HTTPBadRequest):
await test_module.wallet_get(self.request)
async def test_wallet_create_token_managed(self):
self.request.has_body = False
self.request.match_info = {"wallet_id": "dummy"}
mock_wallet_record = async_mock.MagicMock()
mock_wallet_record.serialize = async_mock.MagicMock(
return_value={"settings": {}, "wallet_id": "dummy"}
)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_wallet_record_retrieve_by_id.return_value = mock_wallet_record
mock_multitenant_mgr.create_auth_token = async_mock.Mock(
return_value="test_token"
)
await test_module.wallet_create_token(self.request)
mock_multitenant_mgr.create_auth_token.assert_called_once_with(
mock_wallet_record, None
)
mock_response.assert_called_once_with({"token": "test_token"})
async def test_wallet_create_token_unmanaged(self):
self.request.match_info = {"wallet_id": "dummy"}
self.request.json = async_mock.CoroutineMock(
return_value={"wallet_key": "dummy_key"}
)
mock_wallet_record = async_mock.MagicMock()
mock_wallet_record.serialize = async_mock.MagicMock(
return_value={"settings": {}, "wallet_id": "dummy"}
)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id, async_mock.patch.object(
test_module.web, "json_response"
) as mock_response:
mock_wallet_record_retrieve_by_id.return_value = mock_wallet_record
mock_multitenant_mgr.create_auth_token = async_mock.Mock(
return_value="test_token"
)
await test_module.wallet_create_token(self.request)
mock_multitenant_mgr.create_auth_token.assert_called_once_with(
mock_wallet_record, "dummy_key"
)
mock_response.assert_called_once_with({"token": "test_token"})
async def test_wallet_create_token_x(self):
self.request.has_body = False
self.request.match_info = {"wallet_id": "dummy"}
with async_mock.patch.object(
test_module.WalletRecord, "retrieve_by_id", async_mock.CoroutineMock()
) as mock_wallet_record_retrieve_by_id:
mock_wallet_record_retrieve_by_id.return_value = async_mock.MagicMock()
with self.assertRaises(test_module.web.HTTPUnauthorized):
mock_wallet_record_retrieve_by_id.side_effect = (
test_module.WalletKeyMissingError()
)
await test_module.wallet_create_token(self.request)
with self.assertRaises(test_module.web.HTTPNotFound):
mock_wallet_record_retrieve_by_id.side_effect = (
test_module.StorageNotFoundError()
)
await test_module.wallet_create_token(self.request)
async def test_wallet_remove_managed(self):
self.request.has_body = False
self.request.match_info = {"wallet_id": "dummy"}
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(test_module.web, "json_response") as mock_response:
mock_multitenant_mgr.remove_wallet = async_mock.CoroutineMock()
await test_module.wallet_remove(self.request)
mock_multitenant_mgr.remove_wallet.assert_called_once_with("dummy", None)
mock_response.assert_called_once_with({})
async def test_wallet_remove_unmanaged(self):
self.request.match_info = {"wallet_id": "dummy"}
self.request.json = async_mock.CoroutineMock(
return_value={"wallet_key": "dummy_key"}
)
mock_multitenant_mgr = self.session_inject[MultitenantManager]
with async_mock.patch.object(test_module.web, "json_response") as mock_response:
mock_multitenant_mgr.remove_wallet = async_mock.CoroutineMock()
await test_module.wallet_remove(self.request)
mock_multitenant_mgr.remove_wallet.assert_called_once_with(
"dummy", "dummy_key"
)
mock_response.assert_called_once_with({})
async def test_wallet_remove_x(self):
self.request.has_body = False
self.request.match_info = {"wallet_id": "dummy"}
mock_multitenant_mgr = self.session_inject[MultitenantManager]
mock_multitenant_mgr.remove_wallet = async_mock.CoroutineMock()
with self.assertRaises(test_module.web.HTTPUnauthorized):
mock_multitenant_mgr.remove_wallet.side_effect = (
test_module.WalletKeyMissingError()
)
await test_module.wallet_remove(self.request)
with self.assertRaises(test_module.web.HTTPNotFound):
mock_multitenant_mgr.remove_wallet.side_effect = (
test_module.StorageNotFoundError()
)
await test_module.wallet_remove(self.request)
async def test_register(self):
mock_app = async_mock.MagicMock()
mock_app.add_routes = async_mock.MagicMock()
await test_module.register(mock_app)
mock_app.add_routes.assert_called_once()
async def test_post_process_routes(self):
mock_app = async_mock.MagicMock(_state={"swagger_dict": {}})
test_module.post_process_routes(mock_app)
assert "tags" in mock_app._state["swagger_dict"]
| 41.007692
| 88
| 0.626274
| 1,682
| 15,993
| 5.551724
| 0.08799
| 0.061683
| 0.05997
| 0.034269
| 0.787106
| 0.759692
| 0.73067
| 0.700257
| 0.653673
| 0.62069
| 0
| 0.002885
| 0.284875
| 15,993
| 389
| 89
| 41.113111
| 0.813587
| 0.000813
| 0
| 0.535826
| 0
| 0
| 0.096132
| 0.001439
| 0
| 0
| 0
| 0
| 0.084112
| 1
| 0
| false
| 0
| 0.028037
| 0
| 0.031153
| 0.003115
| 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
|
71e5e735b6aec0f67a463c84b47a132ba69e0466
| 361
|
py
|
Python
|
eeyore/datasets/idataset.py
|
papamarkou/eeyore
|
4cd9b5a619cd095035aa93f348d1c937629aa8a3
|
[
"MIT"
] | 6
|
2020-04-22T18:56:46.000Z
|
2021-09-09T15:57:48.000Z
|
eeyore/datasets/idataset.py
|
papamarkou/eeyore
|
4cd9b5a619cd095035aa93f348d1c937629aa8a3
|
[
"MIT"
] | 19
|
2019-11-14T21:22:21.000Z
|
2020-10-31T16:18:36.000Z
|
eeyore/datasets/idataset.py
|
scidom/eeyore
|
4cd9b5a619cd095035aa93f348d1c937629aa8a3
|
[
"MIT"
] | null | null | null |
from torch.utils.data import Dataset
class IDataset(Dataset):
def __init__(self, dataset):
self.dataset = dataset
def __repr__(self):
return f'IDataset: indexed Dataset'
def __len__(self):
return self.dataset.__len__()
def __getitem__(self, idx):
x, y = self.dataset.__getitem__(idx)
return x, y, idx
| 22.5625
| 44
| 0.642659
| 45
| 361
| 4.622222
| 0.444444
| 0.211538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.257618
| 361
| 15
| 45
| 24.066667
| 0.776119
| 0
| 0
| 0
| 0
| 0
| 0.069252
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.363636
| false
| 0
| 0.090909
| 0.181818
| 0.818182
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
e099685270e041e28a9532debadb00d15848152d
| 1,770
|
py
|
Python
|
VSCode_work/chapter3/chapter3_3_6.py
|
syncccc/Python-Crash-Course
|
51fe429dd606583a790f3c1603bb3439382c09e0
|
[
"MIT"
] | 1
|
2021-08-15T15:58:21.000Z
|
2021-08-15T15:58:21.000Z
|
VSCode_work/chapter3/chapter3_3_6.py
|
syncccc/Python-Crash-Course
|
51fe429dd606583a790f3c1603bb3439382c09e0
|
[
"MIT"
] | null | null | null |
VSCode_work/chapter3/chapter3_3_6.py
|
syncccc/Python-Crash-Course
|
51fe429dd606583a790f3c1603bb3439382c09e0
|
[
"MIT"
] | null | null | null |
# 创建列表
invited_persons = ['dad','mother','sister','cui ping']
# 打印邀请消息
print("Dear " + invited_persons[0].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[1].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[2].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[3].title() + "," + " can you have dinner with me?")
# 指出无法赴约的嘉宾
print("\nHowever," + invited_persons[0].title() + " cannot keep the appointment.")
# 将无法赴约的嘉宾的姓名替换为新邀请的嘉宾的姓名
invited_persons[0] = 'ya ping'
# 再次发出邀请
print("\nDear " + invited_persons[0].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[1].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[2].title() + "," + " can you have dinner with me?")
print("\nDear " + invited_persons[3].title() + "," + " can you have dinner with me?")
# 指出找到了一个更大的餐桌
print("\nI found a larger dining table that can accommodate more people.")
invited_persons.insert(0,'hu jin')
print(invited_persons)
invited_persons.insert(2,'gao tong')
invited_persons.append('sun pengcheng')
print(invited_persons)
# 打印邀请信息
print("\nDear " + invited_persons[0].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[1].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[2].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[3].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[4].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[5].title() + "," + " can you have dinner with me?")
print("Dear " + invited_persons[6].title() + "," + " can you have dinner with me?")
| 47.837838
| 85
| 0.654237
| 244
| 1,770
| 4.651639
| 0.22541
| 0.2837
| 0.145374
| 0.198238
| 0.670485
| 0.670485
| 0.670485
| 0.646696
| 0.646696
| 0.646696
| 0
| 0.012625
| 0.149718
| 1,770
| 37
| 86
| 47.837838
| 0.741528
| 0.040678
| 0
| 0.416667
| 0
| 0
| 0.415139
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.791667
| 0
| 0
| 0
| null | 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
e0a987b9dc1a308bd7ce05728712db9eafb10e93
| 1,483
|
py
|
Python
|
atqo/bases.py
|
endremborza/atqo
|
00a6c6e4c1d9a43d803c717ac8d529a1eff4feb3
|
[
"MIT"
] | null | null | null |
atqo/bases.py
|
endremborza/atqo
|
00a6c6e4c1d9a43d803c717ac8d529a1eff4feb3
|
[
"MIT"
] | null | null | null |
atqo/bases.py
|
endremborza/atqo
|
00a6c6e4c1d9a43d803c717ac8d529a1eff4feb3
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
from asyncio import Future
from functools import cached_property
from typing import TYPE_CHECKING, Type
from structlog import get_logger
if TYPE_CHECKING:
from .core import SchedulerTask # pragma: no cover
class TaskPropertyBase: # pragma: no cover
# TODO
def __repr__(self):
param_str = ", ".join(f"{k}={v}" for k, v in self.__dict__.items())
return f"{type(self).__name__}({param_str})"
def __hash__(self):
return id(self).__hash__()
def __eq__(self, other):
return self.__hash__() == other.__hash__()
class ActorBase(ABC):
@abstractmethod
def consume(self, task_arg):
pass # pragma: no cover
def stop(self):
"""if any cleanup needed"""
pass # pragma: no cover
@cached_property
def _log(self):
return get_logger(actor=type(self).__name__).info
class DistAPIBase(ABC):
@property
def exception(self):
return Exception
def join(self):
"""wait on all running tasks"""
pass
@staticmethod
def kill(actor):
actor.stop()
@staticmethod
def get_running_actor(actor_cls: Type["ActorBase"]) -> ActorBase:
return actor_cls()
@staticmethod
def get_future(actor, next_task: "SchedulerTask") -> Future:
f = Future()
f.set_result(actor.consume(next_task.argument))
return f
@staticmethod
def parse_exception(e):
return e
| 22.815385
| 75
| 0.641268
| 182
| 1,483
| 4.923077
| 0.39011
| 0.035714
| 0.058036
| 0.037946
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.254214
| 1,483
| 64
| 76
| 23.171875
| 0.810127
| 0.081591
| 0
| 0.159091
| 0
| 0
| 0.048255
| 0.025241
| 0
| 0
| 0
| 0.015625
| 0
| 1
| 0.272727
| false
| 0.068182
| 0.136364
| 0.136364
| 0.659091
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
|
0
| 4
|
e0df56b52c07c40f87c2172f71484f1ef144ed01
| 87
|
py
|
Python
|
test1.py
|
kgz/PyLog
|
bca13a52fb3ad9cd083c22a3f67891c72954c980
|
[
"MIT"
] | null | null | null |
test1.py
|
kgz/PyLog
|
bca13a52fb3ad9cd083c22a3f67891c72954c980
|
[
"MIT"
] | null | null | null |
test1.py
|
kgz/PyLog
|
bca13a52fb3ad9cd083c22a3f67891c72954c980
|
[
"MIT"
] | null | null | null |
from PyLog import Log
class test1:
def __init__(self) -> None:
Log("here")
| 17.4
| 31
| 0.62069
| 12
| 87
| 4.166667
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015625
| 0.264368
| 87
| 5
| 32
| 17.4
| 0.765625
| 0
| 0
| 0
| 0
| 0
| 0.045455
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 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
|
e0ff371d6fb2f345bee4a4eb8fc8cd7079109d32
| 168
|
py
|
Python
|
psipy/io/tests/test_util.py
|
jj-gonzalez-aviles/PsiPy
|
415436b1f449e7125e9e8ff31385e9fc70af28a7
|
[
"MIT"
] | 4
|
2021-05-12T07:28:22.000Z
|
2022-03-23T13:38:14.000Z
|
psipy/io/tests/test_util.py
|
jj-gonzalez-aviles/PsiPy
|
415436b1f449e7125e9e8ff31385e9fc70af28a7
|
[
"MIT"
] | 26
|
2021-07-14T19:26:32.000Z
|
2022-03-31T13:54:51.000Z
|
psipy/io/tests/test_util.py
|
jj-gonzalez-aviles/PsiPy
|
415436b1f449e7125e9e8ff31385e9fc70af28a7
|
[
"MIT"
] | 4
|
2021-02-11T17:04:00.000Z
|
2022-03-13T16:31:08.000Z
|
import pytest
from psipy.io import util
def test_HDF4_error(tmp_path):
with pytest.raises(FileNotFoundError):
util.HDF4File(tmp_path / 'not_a_file.hdf')
| 18.666667
| 50
| 0.744048
| 25
| 168
| 4.76
| 0.8
| 0.117647
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014286
| 0.166667
| 168
| 8
| 51
| 21
| 0.835714
| 0
| 0
| 0
| 0
| 0
| 0.083333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
4600fce06f4d288024adcff82d548cf3c9491a64
| 100
|
py
|
Python
|
bureau/utilities/apps.py
|
clairempr/bureau
|
c9fd114e637829b4e9ff643459d15602cc2efc2f
|
[
"Apache-2.0"
] | 1
|
2019-02-15T09:05:35.000Z
|
2019-02-15T09:05:35.000Z
|
bureau/utilities/apps.py
|
clairempr/bureau
|
c9fd114e637829b4e9ff643459d15602cc2efc2f
|
[
"Apache-2.0"
] | null | null | null |
bureau/utilities/apps.py
|
clairempr/bureau
|
c9fd114e637829b4e9ff643459d15602cc2efc2f
|
[
"Apache-2.0"
] | null | null | null |
from django.apps import AppConfig
class UtilitiesConfig(AppConfig):
name = 'bureau.utilities'
| 16.666667
| 33
| 0.77
| 11
| 100
| 7
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15
| 100
| 5
| 34
| 20
| 0.905882
| 0
| 0
| 0
| 0
| 0
| 0.16
| 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
|
460aabeb2a6938b3517ecc967ec67fa1f7780c98
| 57
|
py
|
Python
|
python/py-axiom/files/setup.py
|
davidlrichmond/macports-ports
|
c79eda419c3963c074e4e9ce31a95296636bd500
|
[
"BSD-3-Clause"
] | 1,199
|
2016-10-16T01:55:27.000Z
|
2022-03-28T17:07:12.000Z
|
python/py-axiom/files/setup.py
|
davidlrichmond/macports-ports
|
c79eda419c3963c074e4e9ce31a95296636bd500
|
[
"BSD-3-Clause"
] | 11,428
|
2016-10-31T16:54:32.000Z
|
2022-03-31T22:58:45.000Z
|
python/py-axiom/files/setup.py
|
davidlrichmond/macports-ports
|
c79eda419c3963c074e4e9ce31a95296636bd500
|
[
"BSD-3-Clause"
] | 1,772
|
2016-10-16T22:28:33.000Z
|
2022-03-31T08:52:24.000Z
|
from setuptools import setup
setup(use_scm_version=True)
| 19
| 28
| 0.859649
| 9
| 57
| 5.222222
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.087719
| 57
| 2
| 29
| 28.5
| 0.903846
| 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
|
460e4f21661c7280492ae99455585d8c35aab147
| 114
|
py
|
Python
|
main/resources/message_templates.py
|
ohioh/ohioh_AI_Accumulator_Service
|
9f69fcecb03418a3a0c62fef1dc87a23d1df41df
|
[
"Apache-2.0"
] | 1
|
2020-08-11T18:43:39.000Z
|
2020-08-11T18:43:39.000Z
|
main/resources/message_templates.py
|
ohioh/-ohioh_AI_Accumulator_Service
|
9f69fcecb03418a3a0c62fef1dc87a23d1df41df
|
[
"Apache-2.0"
] | null | null | null |
main/resources/message_templates.py
|
ohioh/-ohioh_AI_Accumulator_Service
|
9f69fcecb03418a3a0c62fef1dc87a23d1df41df
|
[
"Apache-2.0"
] | null | null | null |
def error_message(criteria, message):
return {
'criteria': criteria,
'message': message
}
| 19
| 37
| 0.587719
| 10
| 114
| 6.6
| 0.5
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.298246
| 114
| 5
| 38
| 22.8
| 0.825
| 0
| 0
| 0
| 0
| 0
| 0.131579
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0
| 0.2
| 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
| 0
| 1
| 0
| 0
|
0
| 4
|
1cc6a8557bde0b7c7963baf9fcab6e27f5fc0337
| 431
|
py
|
Python
|
6 kyu_Complete The Pattern # 12.py
|
mwk48/pattern-series
|
df25d7741eca2d59a06a96dbee0abc30640cc2a7
|
[
"MIT"
] | null | null | null |
6 kyu_Complete The Pattern # 12.py
|
mwk48/pattern-series
|
df25d7741eca2d59a06a96dbee0abc30640cc2a7
|
[
"MIT"
] | null | null | null |
6 kyu_Complete The Pattern # 12.py
|
mwk48/pattern-series
|
df25d7741eca2d59a06a96dbee0abc30640cc2a7
|
[
"MIT"
] | null | null | null |
def pattern(n):
if n <= 0:
return ""
res = ""
for i in range(n):
if (i+1) != n:
res += " "*i+str((i+1) % 10)+" "*((n-1-i)*2-1) + \
str((i+1) % 10)+" "*i+"\n"
else:
res += " "*i+str((i+1) % 10)+" "*i+"\n"
for i in range(n-2, -1, -1):
res += " "*i+str((i+1) % 10)+" "*((n-1-i)*2-1) + \
str((i+1) % 10)+" "*i+"\n"
return res[:-1]
| 28.733333
| 62
| 0.308585
| 71
| 431
| 1.873239
| 0.225352
| 0.090226
| 0.18797
| 0.263158
| 0.654135
| 0.473684
| 0.37594
| 0.37594
| 0.37594
| 0.37594
| 0
| 0.101504
| 0.382831
| 431
| 14
| 63
| 30.785714
| 0.398496
| 0
| 0
| 0.285714
| 0
| 0
| 0.032483
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.071429
| false
| 0
| 0
| 0
| 0.214286
| 0
| 0
| 0
| 1
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1cce156ccd5085052f192897c3a4f6da8bef23b0
| 561
|
py
|
Python
|
oop-functions.py
|
syedmurad1/OOP-Python
|
d09627269c12ce901677ec1053bdf565861030d7
|
[
"MIT"
] | null | null | null |
oop-functions.py
|
syedmurad1/OOP-Python
|
d09627269c12ce901677ec1053bdf565861030d7
|
[
"MIT"
] | null | null | null |
oop-functions.py
|
syedmurad1/OOP-Python
|
d09627269c12ce901677ec1053bdf565861030d7
|
[
"MIT"
] | null | null | null |
def sayHi(): # def is for Functions
print("Hello") # need to be indented
sayHi() # to call
print("--------------------------------------------------------")
def sayHi(name):
print("Hello " + name)
sayHi("Syed")
print("--------------------------------------------------------")
def sayHi(name, age):
print("Hello " + name + " you are " + age)
sayHi("Tom", "24")
sayHi("Syed", "99")
print("--------------------------------------------------------")
def sayHi(name,age):
print("Hello " + name + " you are " + str(age))
sayHi("Syed", 94)
| 20.777778
| 65
| 0.397504
| 56
| 561
| 3.982143
| 0.392857
| 0.143498
| 0.174888
| 0.2287
| 0.358744
| 0.358744
| 0.358744
| 0.358744
| 0.358744
| 0.358744
| 0
| 0.012658
| 0.15508
| 561
| 26
| 66
| 21.576923
| 0.457806
| 0.085562
| 0
| 0.3125
| 0
| 0
| 0.447937
| 0.330059
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0
| 0
| 0.25
| 0.4375
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
1ce2741de8abf220456b5b125a9240795c9a788a
| 3,598
|
py
|
Python
|
tests/test_lueftungsanlage_addr.py
|
fgoettel/wgt
|
e093e2a003fa6c9d4c2082cebbc95701d7f9089d
|
[
"Unlicense"
] | null | null | null |
tests/test_lueftungsanlage_addr.py
|
fgoettel/wgt
|
e093e2a003fa6c9d4c2082cebbc95701d7f9089d
|
[
"Unlicense"
] | null | null | null |
tests/test_lueftungsanlage_addr.py
|
fgoettel/wgt
|
e093e2a003fa6c9d4c2082cebbc95701d7f9089d
|
[
"Unlicense"
] | 1
|
2022-01-29T12:01:47.000Z
|
2022-01-29T12:01:47.000Z
|
"""Tests for `wgt` addresses package."""
import pytest
from wgt import WGT
def test_addr():
"""Ensure that the addresses are in sync with documentation.
Doc updated 31.03.2020
"""
# pylint: disable=protected-access,too-many-statements
assert WGT._addr_betriebsart == 100
assert WGT._addr_luftstufe_manuell == 101
assert WGT._addr_luftstufe_aktuell == 102
assert WGT._addr_luftleistung_linear_manuell == 103
assert WGT._addr_luftstufe_ueberschreibung == 104
assert WGT._addr_luftstufe_zeitprogramm_basis == 110
assert WGT._addr_stosslueftung == 111
assert WGT._addr_stosslueftung_restlaufzeit == 112
assert WGT._addr_waermepumpe == 114
assert WGT._addr_nachheizregister == 116
assert WGT._addr_geblaese_zuluft == 117
assert WGT._addr_geblaese_abluft == 118
assert WGT._addr_erdwaermetauscher == 121
assert WGT._addr_bypass == 123
assert WGT._addr_aussenklappe == 131
assert WGT._addr_vorheizregister == 133
assert WGT._addr_luftstufe_zeitprogramm == 140
assert WGT._addr_luftstufe_sensoren == 141
assert WGT._addr_luftleistung_aktuell_zuluft == 142
assert WGT._addr_luftleistung_aktuell_abluft == 143
assert WGT._addr_drehzahl_aktuell_zuluft == 144
assert WGT._addr_drehzahl_aktuell_abluft == 145
assert WGT._addr_t1_nach_erdwaermetauscher == 200
assert WGT._addr_t2_nach_vorheizregister == 201
assert WGT._addr_t3_vor_nacherwaermung == 202
assert WGT._addr_t4_nach_nacherwaermung == 203
assert WGT._addr_t5_abluft == 204
assert WGT._addr_t6_waermetauscher == 205
assert WGT._addr_t7_verdampfer == 206
assert WGT._addr_t8_kondensator == 207
assert WGT._addr_t10_aussen == 209
assert WGT._addr_heizen_kuehlen == 230
assert WGT._addr_waermepumpe_heizen == 231
assert WGT._addr_waermepumpe_kuehlen == 232
assert WGT._addr_zusatzheizung_haus == 234
assert WGT._addr_druckwaechter == 242
assert WGT._addr_evu_sperre == 243
assert WGT._addr_tuer_offen == 244
assert WGT._addr_geraetefilter_verschmutzt == 245
assert WGT._addr_geraetefilter_vorgelagert_verschmutzt == 246
assert WGT._addr_niedertarif_abgeschaltet == 247
assert WGT._addr_versorgungsspannung_abgeschaltet == 248
assert WGT._addr_pressostat == 250
assert WGT._addr_evu_sperre_extern == 251
assert WGT._addr_heizmodul_testbetrieb == 252
assert WGT._addr_notbetrieb == 253
assert WGT._addr_zuluft_zu_kalt == 254
assert WGT._addr_geraetefilter_restlaufzeit == 265
assert WGT._addr_geraetefilter_vorgelagert_restlaufzeit == 263
assert WGT._addr_fehler == 240
assert WGT._addr_temperatur_raum1_ist == 360
assert WGT._addr_temperatur_raum1_soll == 400
assert WGT._addr_temperatur_raum1_basis == 420
assert WGT._addr_zusatzheizung_raum1_freigabe == 440
assert WGT._addr_zusatzheizung_raum1_aktiv == 460
assert WGT._addr_zeitprogramm_heizen_raum1 == 500
assert WGT._addr_betriebsstunden_luefter_gesamt == 800
assert WGT._addr_betriebsstunden_luefter_stufe1 == 801
assert WGT._addr_betriebsstunden_luefter_stufe2 == 802
assert WGT._addr_betriebsstunden_luefter_stufe3 == 803
assert WGT._addr_betriebsstunden_luefter_stufe4 == 804
assert WGT._addr_betriebsstunden_waermepumpe_gesamt == 805
assert WGT._addr_betriebsstunden_waermepumpe_kuehlen == 806
assert WGT._addr_betriebsstunden_vorheizregister == 809
assert WGT._addr_betriebsstunden_zusatzheizung == 810
assert WGT._addr_betriebsstunden_erdwaermetauscher == 813
if __name__ == "__main__":
pytest.main()
| 42.329412
| 66
| 0.770984
| 451
| 3,598
| 5.658537
| 0.388027
| 0.232759
| 0.336207
| 0.109718
| 0.276254
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075133
| 0.16398
| 3,598
| 84
| 67
| 42.833333
| 0.773271
| 0.047248
| 0
| 0
| 0
| 0
| 0.002348
| 0
| 0
| 0
| 0
| 0
| 0.929577
| 1
| 0.014085
| true
| 0.014085
| 0.028169
| 0
| 0.042254
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1cef55f7c4127baaaa6a27d4a185e0fd69da62a3
| 15,766
|
py
|
Python
|
tests/test_action.py
|
NoRedInk/homu
|
08343ed076514fc56244f3b3003519adf0b732c0
|
[
"MIT"
] | 329
|
2015-07-07T04:33:13.000Z
|
2022-02-20T06:08:20.000Z
|
tests/test_action.py
|
servo/homu
|
d6b918f45b4aadfb43ae4cba5b9b80a4f9c00638
|
[
"MIT"
] | 189
|
2015-12-10T01:21:06.000Z
|
2021-03-12T21:39:16.000Z
|
tests/test_action.py
|
NoRedInk/homu
|
08343ed076514fc56244f3b3003519adf0b732c0
|
[
"MIT"
] | 64
|
2015-12-24T18:56:31.000Z
|
2021-07-27T23:12:47.000Z
|
from collections import OrderedDict
import unittest
from unittest.mock import patch, call
from homu import action
from homu.action import LabelEvent
TRY_CHOOSER_CONFIG = {
"buildbot": {
"builders": ["mac-rel", "mac-wpt", "linux-wpt-1", "linux-wpt-2"],
# keeps the order for testing output
"try_choosers": OrderedDict([
("mac", ["mac-rel", "mac-wpt"]),
("wpt", ["linux-wpt-1", "linux-wpt-2"])
])
},
"try_choosers": [
"taskcluster"
],
}
TRY_CHOOSER_WITHOUT_BUILDBOT_CONFIG = {
"try_choosers": [
"taskcluster"
],
}
class TestAction(unittest.TestCase):
@patch('homu.main.PullReqState')
@patch('homu.action.get_portal_turret_dialog', return_value='message')
def test_still_here(self, mock_message, MockPullReqState):
state = MockPullReqState()
action.still_here(state)
state.add_comment.assert_called_once_with(':cake: message\n\n')
@patch('homu.main.PullReqState')
def test_set_treeclosed(self, MockPullReqState):
state = MockPullReqState()
action.set_treeclosed(state, '123')
state.change_treeclosed.assert_called_once_with(123)
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_delegate_to(self, MockPullReqState):
state = MockPullReqState()
action.delegate_to(state, True, 'user')
self.assertEqual(state.delegate, 'user')
state.save.assert_called_once_with()
state.add_comment.assert_called_once_with(
':v: @user can now approve this pull request'
)
@patch('homu.main.PullReqState')
def test_hello_or_ping(self, MockPullReqState):
state = MockPullReqState()
action.hello_or_ping(state)
state.add_comment.assert_called_once_with(":sleepy: I'm awake I'm awake")
@patch('homu.main.PullReqState')
def test_rollup_positive(self, MockPullReqState):
state = MockPullReqState()
action.rollup(state, 'rollup')
self.assertTrue(state.rollup)
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_rollup_negative(self, MockPullReqState):
state = MockPullReqState()
action.rollup(state, 'rollup-')
self.assertFalse(state.rollup)
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_try_positive(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', False, {})
self.assertTrue(state.try_)
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.TRY)
@patch('homu.main.PullReqState')
def test_try_negative(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try-', False, {})
self.assertFalse(state.try_)
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
assert not state.change_labels.called, 'change_labels was called and should never be.'
@patch('homu.main.PullReqState')
def test_try_chooser_no_setup(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', True, {}, choose="foo")
self.assertTrue(state.try_)
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.TRY)
state.add_comment.assert_called_once_with(":slightly_frowning_face: This repo does not have try choosers set up")
@patch('homu.main.PullReqState')
def test_try_chooser_not_found(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', True, TRY_CHOOSER_CONFIG, choose="foo")
self.assertEqual(state.try_choose, None)
state.init_build_res.assert_not_called()
state.save.assert_not_called()
state.change_labels.assert_not_called()
state.add_comment.assert_called_once_with(":slightly_frowning_face: There is no try chooser foo for this repo, try one of: taskcluster, mac, wpt")
@patch('homu.main.PullReqState')
def test_try_chooser_found(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', True, TRY_CHOOSER_CONFIG, choose="mac")
self.assertTrue(state.try_)
self.assertEqual(state.try_choose, "mac")
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.TRY)
@patch('homu.main.PullReqState')
def test_try_chooser_non_buildbot_found(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', True, TRY_CHOOSER_CONFIG, choose="taskcluster")
self.assertTrue(state.try_)
self.assertEqual(state.try_choose, "taskcluster")
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.TRY)
@patch('homu.main.PullReqState')
def test_try_chooser_without_buildbot_found(self, MockPullReqState):
state = MockPullReqState()
action._try(state, 'try', True, TRY_CHOOSER_WITHOUT_BUILDBOT_CONFIG, choose="taskcluster")
self.assertTrue(state.try_)
self.assertEqual(state.try_choose, "taskcluster")
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.TRY)
@patch('homu.main.PullReqState')
def test_clean(self, MockPullReqState):
state = MockPullReqState()
action.clean(state)
self.assertEqual(state.merge_sha, '')
state.init_build_res.assert_called_once_with([])
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_retry_try(self, MockPullReqState):
state = MockPullReqState()
state.try_ = True
action.retry(state)
state.set_status.assert_called_once_with('')
state.change_labels.assert_called_once_with(LabelEvent.TRY)
@patch('homu.main.PullReqState')
def test_treeclosed_negative(self, MockPullReqState):
state = MockPullReqState()
action.treeclosed_negative(state)
state.change_treeclosed.assert_called_once_with(-1)
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_retry_approved(self, MockPullReqState):
state = MockPullReqState()
state.try_ = False
action.retry(state)
state.set_status.assert_called_once_with('')
state.change_labels.assert_called_once_with(LabelEvent.APPROVED)
@patch('homu.main.PullReqState')
def test_delegate_negative(self, MockPullReqState):
state = MockPullReqState()
state.delegate = 'delegate'
action.delegate_negative(state)
self.assertEqual(state.delegate, '')
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_delegate_positive_realtime(self, MockPullReqState):
state = MockPullReqState()
action.delegate_positive(state, 'delegate', True)
self.assertEqual(state.delegate, 'delegate')
state.add_comment.assert_called_once_with(':v: @delegate can now approve this pull request')
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_delegate_positive_not_realtime(self, MockPullReqState):
state = MockPullReqState()
action.delegate_positive(state, 'delegate', False)
self.assertEqual(state.delegate, 'delegate')
state.save.assert_called_once_with()
assert not state.add_comment.called, 'state.save was called and should never be.'
@patch('homu.main.PullReqState')
def test_set_priority_not_priority_less_than_max_priority(self, MockPullReqState):
state = MockPullReqState()
action.set_priority(state, True, '1', {'max_priority': 3})
self.assertEqual(state.priority, 1)
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_set_priority_not_priority_more_than_max_priority(self, MockPullReqState):
state = MockPullReqState()
state.priority = 2
self.assertFalse(action.set_priority(state, True, '5', {'max_priority': 3}))
self.assertEqual(state.priority, 2)
state.add_comment.assert_called_once_with(':stop_sign: Priority higher than 3 is ignored.')
assert not state.save.called, 'state.save was called and should never be.'
@patch('homu.main.PullReqState')
def test_review_approved_approver_me(self, MockPullReqState):
state = MockPullReqState()
self.assertFalse(action.review_approved(state, True, 'me', 'user', 'user', '', []))
@patch('homu.main.PullReqState')
def test_review_approved_wip_todo_realtime(self, MockPullReqState):
state = MockPullReqState()
state.title = 'WIP work in progress'
self.assertFalse(action.review_approved(state, True, 'user', 'user', 'user', '', []))
state.add_comment.assert_called_once_with(':clipboard: Looks like this PR is still in progress, ignoring approval')
@patch('homu.main.PullReqState')
def test_review_approved_wip_not_realtime(self, MockPullReqState):
state = MockPullReqState()
state.title = 'WIP work in progress'
self.assertFalse(action.review_approved(state, False, 'user', 'user', 'user', '', []))
assert not state.add_comment.called, 'state.add_comment was called and should never be.'
@patch('homu.main.PullReqState')
def test_review_approved_equal_usernames(self, MockPullReqState):
state = MockPullReqState()
state.head_sha = 'abcd123'
state.title = "My pull request"
self.assertTrue(action.review_approved(state, True, 'user' ,'user', 'user', 'abcd123', []))
self.assertEqual(state.approved_by, 'user')
self.assertFalse(state.try_)
state.set_status.assert_called_once_with('')
state.save.assert_called_once_with()
@patch('homu.main.PullReqState')
def test_review_approved_different_usernames_sha_equals_head_sha(self, MockPullReqState):
state = MockPullReqState()
state.head_sha = 'abcd123'
state.title = "My pull request"
state.repo_label = 'label'
state.status = 'pending'
states = {}
states[state.repo_label] = {'label': state}
self.assertTrue(action.review_approved(state, True, 'user1' ,'user1', 'user2', 'abcd123', states))
self.assertEqual(state.approved_by, 'user1')
self.assertFalse(state.try_)
state.set_status.assert_called_once_with('')
state.save.assert_called_once_with()
state.add_comment.assert_called_once_with(":bulb: This pull request was already approved, no need to approve it again.\n\n- This pull request is currently being tested. If there's no response from the continuous integration service, you may use `retry` to trigger a build again.")
@patch('homu.main.PullReqState')
def test_review_approved_different_usernames_sha_different_head_sha(self, MockPullReqState):
state = MockPullReqState()
state.head_sha = 'sdf456'
state.title = "My pull request"
state.repo_label = 'label'
state.status = 'pending'
state.num = 1
states = {}
states[state.repo_label] = {'label': state}
self.assertTrue(action.review_approved(state, True, 'user1', 'user1', 'user2', 'abcd123', states))
state.add_comment.assert_has_calls([call(":bulb: This pull request was already approved, no need to approve it again.\n\n- This pull request is currently being tested. If there's no response from the continuous integration service, you may use `retry` to trigger a build again."),
call(':scream_cat: `abcd123` is not a valid commit SHA. Please try again with `sdf456`.')])
@patch('homu.main.PullReqState')
def test_review_approved_different_usernames_blank_sha_not_blocked_by_closed_tree(self, MockPullReqState):
state = MockPullReqState()
state.blocked_by_closed_tree.return_value = 0
state.head_sha = 'sdf456'
state.title = "My pull request"
state.repo_label = 'label'
state.status = 'pending'
states = {}
states[state.repo_label] = {'label': state}
self.assertTrue(action.review_approved(state, True, 'user1', 'user1', 'user2', '', states))
state.add_comment.assert_has_calls([call(":bulb: This pull request was already approved, no need to approve it again.\n\n- This pull request is currently being tested. If there's no response from the continuous integration service, you may use `retry` to trigger a build again."),
call(':pushpin: Commit sdf456 has been approved by `user1`\n\n<!-- @user2 r=user1 sdf456 -->')])
@patch('homu.main.PullReqState')
def test_review_approved_different_usernames_blank_sha_blocked_by_closed_tree(self, MockPullReqState):
state = MockPullReqState()
state.blocked_by_closed_tree.return_value = 1
state.head_sha = 'sdf456'
state.title = "My pull request"
state.repo_label = 'label'
state.status = 'pending'
states = {}
states[state.repo_label] = {'label': state}
self.assertTrue(action.review_approved(state, True, 'user1', 'user1', 'user2', '', states))
state.add_comment.assert_has_calls([call(":bulb: This pull request was already approved, no need to approve it again.\n\n- This pull request is currently being tested. If there's no response from the continuous integration service, you may use `retry` to trigger a build again."),
call(':pushpin: Commit sdf456 has been approved by `user1`\n\n<!-- @user2 r=user1 sdf456 -->'),
call(':evergreen_tree: The tree is currently closed for pull requests below priority 1, this pull request will be tested once the tree is reopened')])
state.change_labels.assert_called_once_with(LabelEvent.APPROVED)
@patch('homu.main.PullReqState')
def test_review_approved_same_usernames_sha_different_head_sha(self, MockPullReqState):
state = MockPullReqState()
state.head_sha = 'sdf456'
state.title = "My pull request"
state.repo_label = 'label'
state.status = 'pending'
states = {}
states[state.repo_label] = {'label': state}
self.assertTrue(action.review_approved(state, True, 'user', 'user', 'user', 'abcd123', states))
@patch('homu.main.PullReqState')
def test_review_rejected(self, MockPullReqState):
state = MockPullReqState()
action.review_rejected(state, True)
self.assertEqual(state.approved_by, '')
state.save.assert_called_once_with()
state.change_labels.assert_called_once_with(LabelEvent.REJECTED)
def test_sha_cmp_equal(self):
self.assertTrue(action.sha_cmp('f259660', 'f259660b128ae59133dff123998ee9b643aff050'))
def test_sha_cmp_not_equal(self):
self.assertFalse(action.sha_cmp('aaabbb12', 'f259660b128ae59133dff123998ee9b643aff050'))
def test_sha_cmp_short_length(self):
self.assertFalse(action.sha_cmp('f25', 'f259660b128ae59133dff123998ee9b643aff050'))
if __name__ == '__main__':
unittest.main()
| 47.203593
| 288
| 0.690093
| 1,883
| 15,766
| 5.527881
| 0.120021
| 0.057642
| 0.076857
| 0.096071
| 0.829763
| 0.777116
| 0.727255
| 0.667787
| 0.644634
| 0.605149
| 0
| 0.017172
| 0.198465
| 15,766
| 333
| 289
| 47.345345
| 0.806521
| 0.002157
| 0
| 0.560137
| 0
| 0.030928
| 0.232549
| 0.057724
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0.120275
| false
| 0
| 0.017182
| 0
| 0.140893
| 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
|
1cf26f94d346a5d9e9b2f68f67548b4541b471be
| 85
|
py
|
Python
|
__init__.py
|
eiriks/sortekat
|
9104f76190b6baa6e78b88a50e4ea83776d99b41
|
[
"MIT"
] | null | null | null |
__init__.py
|
eiriks/sortekat
|
9104f76190b6baa6e78b88a50e4ea83776d99b41
|
[
"MIT"
] | null | null | null |
__init__.py
|
eiriks/sortekat
|
9104f76190b6baa6e78b88a50e4ea83776d99b41
|
[
"MIT"
] | null | null | null |
# this file must be here.
# https://docs.python.org/3/tutorial/modules.html#packages
| 28.333333
| 58
| 0.752941
| 14
| 85
| 4.571429
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.012987
| 0.094118
| 85
| 2
| 59
| 42.5
| 0.818182
| 0.929412
| 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
|
1c31c1d12e2620556ec42dcce135fa3807ea0e6f
| 108
|
py
|
Python
|
module1-entry point.py
|
dronovroman/gh2021
|
bd01d55b20c02916f28213776224f31bd96ac479
|
[
"BSD-3-Clause"
] | null | null | null |
module1-entry point.py
|
dronovroman/gh2021
|
bd01d55b20c02916f28213776224f31bd96ac479
|
[
"BSD-3-Clause"
] | null | null | null |
module1-entry point.py
|
dronovroman/gh2021
|
bd01d55b20c02916f28213776224f31bd96ac479
|
[
"BSD-3-Clause"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
Created on Fri Aug 20 23:29:59 2021
@author: roman
Module 1 - entry point
"""
| 12
| 35
| 0.601852
| 18
| 108
| 3.611111
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.164706
| 0.212963
| 108
| 8
| 36
| 13.5
| 0.6
| 0.907407
| 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
|
1c3b17069c9737cf2b01ab0b39710f8ac86971f0
| 1,091
|
py
|
Python
|
src/agents/util/agent_credentials.py
|
MelleStarke/MAS_B06
|
fbedc7459006c0915428f0122d923dd41b57b51e
|
[
"MIT"
] | null | null | null |
src/agents/util/agent_credentials.py
|
MelleStarke/MAS_B06
|
fbedc7459006c0915428f0122d923dd41b57b51e
|
[
"MIT"
] | null | null | null |
src/agents/util/agent_credentials.py
|
MelleStarke/MAS_B06
|
fbedc7459006c0915428f0122d923dd41b57b51e
|
[
"MIT"
] | null | null | null |
sender = ("masb6-sender@01337.io", "sender-pass")
receiver = ("masb6-receiver@01337.io", "receiver-pass")
pra = ("masb6-pra@01337.io", "pra-pass")
kma = ("masb6-kma@01337.io", "kma-pass")
ca = ("masb6-ca@01337.io", "ca-pass")
oaa = ("masb6-oaa@01337.io", "oaa-pass")
ssa = ("masb6-ssa@01337.io", "ssa-pass")
oa = ("masb6-oa@01337.io", "oa-pass")
vra = ("masb6-vra@01337.io", "vra-pass")
sa1 = ("masb6-sa1@01337.io", "sa1-pass")
sa2 = ("masb6-sa2@01337.io", "sa2-pass")
sa3 = ("masb6-sa3@01337.io", "sa3-pass")
sa4 = ("masb6-sa4@01337.io", "sa4-pass")
sa5 = ("masb6-sa5@01337.io", "sa5-pass")
sa6 = ("masb6-sa6@01337.io", "sa6-pass")
sa7 = ("masb6-sa7@01337.io", "sa7-pass")
sa8 = ("masb6-sa8@01337.io", "sa8-pass")
sa9 = ("masb6-sa9@01337.io", "sa9-pass")
sa10 = ("masb6-sa10@01337.io", "sa10-pass")
va1 = ("masb6-va1@01337.io", "va1-pass")
va2 = ("masb6-va1@01337.io", "va2-pass")
"""
{"masb6-sa3@01337.io": 3, "masb6-sa1@01337.io": 1, "masb6-sa4@01337.io": 4, "masb6-sa2@01337.io": 2}
"""
| 40.407407
| 100
| 0.55912
| 167
| 1,091
| 3.652695
| 0.173653
| 0.286885
| 0.042623
| 0.04918
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.219621
| 0.177819
| 1,091
| 27
| 101
| 40.407407
| 0.460424
| 0
| 0
| 0
| 0
| 0
| 0.569106
| 0.044715
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 4
|
1c3f0b974b912a60861d9ae2ced14645b28dda03
| 100
|
py
|
Python
|
tracker/app/models/__init__.py
|
skielred/FairyJokeAPI
|
71228e477bc6dd259e6f5f7e09b30c1e23ab96a3
|
[
"MIT"
] | 3
|
2021-12-18T11:09:08.000Z
|
2022-03-31T22:42:19.000Z
|
tracker/app/models/__init__.py
|
skielred/FairyJokeAPI
|
71228e477bc6dd259e6f5f7e09b30c1e23ab96a3
|
[
"MIT"
] | null | null | null |
tracker/app/models/__init__.py
|
skielred/FairyJokeAPI
|
71228e477bc6dd259e6f5f7e09b30c1e23ab96a3
|
[
"MIT"
] | null | null | null |
from .user import User
from .game import Game
from .ddr import DDRLocalChart, DDRScore, DDRScoreMod
| 25
| 53
| 0.81
| 14
| 100
| 5.785714
| 0.571429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.14
| 100
| 3
| 54
| 33.333333
| 0.94186
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
1c4ec02bc7c1ed15535709a89b792da3b4bb3f78
| 41
|
py
|
Python
|
materi/pertemuan_6/python/loop_for3.py
|
ai-qadrlabs/dasar-pemrograman
|
73dbc87ef33159542be89f12f89b2873a06a4e3a
|
[
"MIT"
] | null | null | null |
materi/pertemuan_6/python/loop_for3.py
|
ai-qadrlabs/dasar-pemrograman
|
73dbc87ef33159542be89f12f89b2873a06a4e3a
|
[
"MIT"
] | null | null | null |
materi/pertemuan_6/python/loop_for3.py
|
ai-qadrlabs/dasar-pemrograman
|
73dbc87ef33159542be89f12f89b2873a06a4e3a
|
[
"MIT"
] | null | null | null |
for i in range(100, 0, -5):
print(i)
| 13.666667
| 27
| 0.536585
| 9
| 41
| 2.444444
| 0.888889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 0.268293
| 41
| 2
| 28
| 20.5
| 0.566667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
1c68aacb89c1d8e2a9339dcb8fd7c2ffa9fdec46
| 735
|
py
|
Python
|
web.py
|
JAckZ97/RaspberryPi_server
|
f6dcda748e5cd51618a27e8d69798d6bb9e0501b
|
[
"MIT"
] | null | null | null |
web.py
|
JAckZ97/RaspberryPi_server
|
f6dcda748e5cd51618a27e8d69798d6bb9e0501b
|
[
"MIT"
] | null | null | null |
web.py
|
JAckZ97/RaspberryPi_server
|
f6dcda748e5cd51618a27e8d69798d6bb9e0501b
|
[
"MIT"
] | null | null | null |
from flask import Flask, render_template
from flask_bootstrap import Bootstrap
app = Flask(__name__)
bootstrap = Bootstrap(app)
@app.errorhandler(404)
def page_not_found(error):
return render_template('404.html'), 404
@app.route('/')
@app.route('/home')
def index():
return render_template('index.html')
@app.route("/me")
def me():
return render_template('about.html')
@app.route("/Setup")
def firstpost():
return render_template('/pages/setup.html')
# @app.route('/login', methods = ["POST", "GET"])
# def login():
# return render_template('login.html')
# @app.route('/<user>')
# def user(usr):
# return "<h1>{usr}</h1>"
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0',port=3000)
| 21.617647
| 49
| 0.665306
| 101
| 735
| 4.633663
| 0.405941
| 0.179487
| 0.213675
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.030063
| 0.140136
| 735
| 34
| 50
| 21.617647
| 0.710443
| 0.22585
| 0
| 0
| 0
| 0
| 0.133215
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.210526
| false
| 0
| 0.105263
| 0.210526
| 0.526316
| 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
|
1c76f6eec5853addc64bce9be0c90ecd3b305598
| 149
|
py
|
Python
|
Pacote download/PythonExercíciosHARDMODE/ex010HM.py
|
RodrigoMASRamos/Projects.py
|
ed15981b320914c9667305dcd5fb5b7906fd9b00
|
[
"MIT"
] | null | null | null |
Pacote download/PythonExercíciosHARDMODE/ex010HM.py
|
RodrigoMASRamos/Projects.py
|
ed15981b320914c9667305dcd5fb5b7906fd9b00
|
[
"MIT"
] | null | null | null |
Pacote download/PythonExercíciosHARDMODE/ex010HM.py
|
RodrigoMASRamos/Projects.py
|
ed15981b320914c9667305dcd5fb5b7906fd9b00
|
[
"MIT"
] | null | null | null |
#ex010: Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar
#Considere US$ 1,00 = R$ 3,27
| 49.666667
| 118
| 0.771812
| 27
| 149
| 4.259259
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.073171
| 0.174497
| 149
| 2
| 119
| 74.5
| 0.861789
| 0.973154
| 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
|
98cab0cad31a54142bffd3969c399ed36e656baf
| 2,476
|
py
|
Python
|
old_fashioned_nlp/regression/sklearn_regressors.py
|
ChenghaoMou/old-fashioned-nlp
|
a88d510273d6f729274e0eab9242b6eb4e08c2a9
|
[
"MIT"
] | 1
|
2020-10-27T21:16:54.000Z
|
2020-10-27T21:16:54.000Z
|
old_fashioned_nlp/regression/sklearn_regressors.py
|
sleeplessindebugging/old-fashioned-nlp
|
a88d510273d6f729274e0eab9242b6eb4e08c2a9
|
[
"MIT"
] | null | null | null |
old_fashioned_nlp/regression/sklearn_regressors.py
|
sleeplessindebugging/old-fashioned-nlp
|
a88d510273d6f729274e0eab9242b6eb4e08c2a9
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Update : 2020-09-05 08:19:53
# @Author : Chenghao Mou (mouchenghao@gmail.com)
"""Sklearn-based text regressors."""
from sklearn.base import BaseEstimator
from sklearn.decomposition import LatentDirichletAllocation
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.pipeline import Pipeline
from sklearn.svm import LinearSVR
class TfidfLinearSVR(BaseEstimator):
def __init__(self, **kwargs):
"""
TfidfVectorizer + Linear SVM Regressor. See get_params for details.
Examples
--------
>>> model = TfidfLinearSVR(tfidf__sublinear_tf=True)
"""
self.model = Pipeline(
[("tfidf", TfidfVectorizer(sublinear_tf=True)), ("regressor", LinearSVR()),]
)
self.set_params(**kwargs)
def set_params(self, **params):
self.model.set_params(**params)
def get_params(self, deep=True):
return self.model.get_params(deep)
def fit(self, X, y, **kwargs):
self.model.fit(X, y)
return self
def predict(self, X):
return self.model.predict(X)
def score(self, X, y):
return self.model.score(X, y)
def __getattr__(self, name):
if name not in self.__dict__:
return getattr(self.model, name)
return self.__dict__[name]
class TfidfLDALinearSVR(BaseEstimator):
def __init__(self, **kwargs):
"""
TfidfVectorizer + LDA + Linear SVM Regressor. See get_params for details.
Examples
--------
>>> model = TfidfLDALinearSVR(tfidf__sublinear_tf=True, lda__n_components=100)
"""
self.model = Pipeline(
[
("tfidf", TfidfVectorizer(sublinear_tf=True)),
("lda", LatentDirichletAllocation(n_components=100)),
("regressor", LinearSVR()),
]
)
self.set_params(**kwargs)
def set_params(self, **params):
self.model.set_params(**params)
def get_params(self, deep=True):
return self.model.get_params(deep)
def fit(self, X, y, **kwargs):
self.model.fit(X, y)
return self
def predict(self, X):
return self.model.predict(X)
def score(self, X, y):
return self.model.score(X, y)
def __getattr__(self, name):
if name not in self.__dict__:
return getattr(self.model, name)
return self.__dict__[name]
| 27.820225
| 88
| 0.608239
| 283
| 2,476
| 5.120141
| 0.261484
| 0.086957
| 0.062112
| 0.033126
| 0.665286
| 0.665286
| 0.603175
| 0.603175
| 0.531401
| 0.531401
| 0
| 0.011589
| 0.268174
| 2,476
| 88
| 89
| 28.136364
| 0.788079
| 0.191438
| 0
| 0.705882
| 0
| 0
| 0.016324
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.27451
| false
| 0
| 0.098039
| 0.117647
| 0.647059
| 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
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
98f4cbddaac7e5278d19be4c39fdeb0410342278
| 166
|
py
|
Python
|
Lib/site-packages/mysql_cymysql/features.py
|
Desarrolloweb8/ultimo2
|
cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6
|
[
"bzip2-1.0.6"
] | null | null | null |
Lib/site-packages/mysql_cymysql/features.py
|
Desarrolloweb8/ultimo2
|
cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6
|
[
"bzip2-1.0.6"
] | null | null | null |
Lib/site-packages/mysql_cymysql/features.py
|
Desarrolloweb8/ultimo2
|
cdf14a6ae9cb212b8c933b404766f1aa2a58ceb6
|
[
"bzip2-1.0.6"
] | null | null | null |
from django.db.backends.mysql.features import DatabaseFeatures as BaseDatabaseFeatures
class DatabaseFeatures(BaseDatabaseFeatures):
empty_fetchmany_value = []
| 27.666667
| 86
| 0.837349
| 16
| 166
| 8.5625
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.10241
| 166
| 5
| 87
| 33.2
| 0.919463
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
98f6e1e744d4d6d04244ec4ba65c92f60bba0b71
| 3,047
|
py
|
Python
|
plotting.py
|
jsyoo61/MultiGPU-SRGAN
|
b265a1daf972f0cfd1b178661c9030f22ccac4b8
|
[
"MIT"
] | 1
|
2022-01-21T06:01:48.000Z
|
2022-01-21T06:01:48.000Z
|
plotting.py
|
jsyoo61/MultiGPU-SRGAN
|
b265a1daf972f0cfd1b178661c9030f22ccac4b8
|
[
"MIT"
] | null | null | null |
plotting.py
|
jsyoo61/MultiGPU-SRGAN
|
b265a1daf972f0cfd1b178661c9030f22ccac4b8
|
[
"MIT"
] | null | null | null |
import matplotlib.pyplot as plt
import os
import numpy as np
FIG_DIR = 'fig/'
os.makedirs(FIG_DIR, exist_ok=True)
def savefig(fig):
fig_savedir = str(len(os.listdir(FIG_DIR)) + 1) + '.png'
fig_savedir = os.path.join(FIG_DIR, fig_savedir)
fig.savefig(fig_savedir)
save=True
# save=False
# %% PSNR
xtick = ['Low resolution', 'Central', 'Distributed']
results = np.array([26.2965, 22.8740, 23.4061])
results = np.diag(results)
colors = plt.rcParams['axes.prop_cycle']
xlim = 1
fig = plt.figure(figsize=(9,6))
n_E = len(results)
x = np.array(range(n_E)) + 1
x = x*1.5
n_plot = len(results)
w = 2/n_plot
start_point = -(n_plot - 1) * (w/2)
for i, data in enumerate(zip(results, colors)):
y, color = data
plt.bar(x, y, width = w, color = color['color'])
# plt.plot(x, results, 'o')
plt.xticks(x, xtick, fontsize=20)
plt.xlim([x[0] - xlim, x[-1] + xlim])
plt.ylim([15, np.asarray(results).max() * 1.2 ])
plt.ylabel('PSNR', fontsize=20)
plt.grid(axis='y')
if save:
savefig(fig)
# %% SSIM
xtick = ['Low resolution', 'Central', 'Distributed']
results = np.diag([0.7801, 0.7806, 0.7882])
colors = plt.rcParams['axes.prop_cycle']
xlim = 1
fig = plt.figure(figsize=(9,6))
n_E = len(results[0])
x = np.array(range(n_E)) + 1
x = x*1.5
n_plot = len(results)
w = 2/n_plot
start_point = -(n_plot - 1) * (w/2)
for i, data in enumerate(zip(results, colors)):
y, color = data
plt.bar(x, y, width = w, color = color['color'])
plt.xticks(x, xtick, fontsize=20)
plt.xlim([x[0] - xlim, x[-1] + xlim])
plt.ylim([0.777, np.asarray(results).max()*1.003])
plt.ylabel('SSIM', fontsize=20)
plt.grid(axis='y')
if save:
savefig(fig)
# %% time - iter
xtick = ['Central', 'Distributed']
results = np.diag([3.997, 1.215])
colors = plt.rcParams['axes.prop_cycle']
xlim = 1
fig = plt.figure(figsize=(9,6))
n_E = len(results[0])
x = np.array(range(n_E)) + 1
x = x*1.5
n_plot = len(results)
w = 1.8/n_plot
start_point = -(n_plot - 1) * (w/2)
for i, data in enumerate(zip(results, colors)):
y, color = data
plt.bar(x, y, width = w, color = color['color'])
plt.xticks(x, xtick, fontsize=20)
plt.xlim([x[0] - xlim, x[-1] + xlim])
plt.ylim([0, np.asarray(results).max() * 1.2 ])
plt.ylabel('time per iteration [sec]', fontsize=20)
plt.grid(axis='y')
if save:
savefig(fig)
# %% time - inference
xtick = ['Central', 'Distributed']
results = np.diag([205.9635, 49.4598])
colors = plt.rcParams['axes.prop_cycle']
xlim = 1
fig = plt.figure(figsize=(9,6))
n_E = len(results[0])
x = np.array(range(n_E)) + 1
x = x*1.5
n_plot = len(results)
w = 1.8/n_plot
start_point = -(n_plot - 1) * (w/2)
for i, data in enumerate(zip(results, colors)):
y, color = data
plt.bar(x, y, width = w, color = color['color'])
plt.xticks(x, xtick, fontsize=20)
plt.xlim([x[0] - xlim, x[-1] + xlim])
plt.ylim([0, np.asarray(results).max() * 1.2 ])
plt.ylabel('time for inference [sec]', fontsize=20)
plt.grid(axis='y')
if save:
savefig(fig)
| 27.205357
| 61
| 0.616672
| 526
| 3,047
| 3.501901
| 0.197719
| 0.032573
| 0.05646
| 0.058632
| 0.799674
| 0.786645
| 0.747557
| 0.698697
| 0.68241
| 0.68241
| 0
| 0.055511
| 0.184116
| 3,047
| 111
| 62
| 27.45045
| 0.685438
| 0.028553
| 0
| 0.768421
| 0
| 0
| 0.087262
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.010526
| false
| 0
| 0.031579
| 0
| 0.042105
| 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
|
98f86fb5eeddd5b187af3af47fb8cd6f8ae84816
| 141
|
py
|
Python
|
d.py
|
pranay784/portfolio
|
fa06bf2647b1021767eb2f7c75bd7e91b8d41542
|
[
"Apache-2.0"
] | null | null | null |
d.py
|
pranay784/portfolio
|
fa06bf2647b1021767eb2f7c75bd7e91b8d41542
|
[
"Apache-2.0"
] | null | null | null |
d.py
|
pranay784/portfolio
|
fa06bf2647b1021767eb2f7c75bd7e91b8d41542
|
[
"Apache-2.0"
] | null | null | null |
file_object = open('sample.txt', 'w')
# Append 'hello' at the end of file
file_object.write('hello')
# Close the file
file_object.close()
| 28.2
| 38
| 0.702128
| 23
| 141
| 4.173913
| 0.608696
| 0.3125
| 0.291667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148936
| 141
| 5
| 39
| 28.2
| 0.8
| 0.340426
| 0
| 0
| 0
| 0
| 0.183908
| 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
|
98fe9289532feb95b149f14cd2afd1a4f7aee454
| 287
|
py
|
Python
|
_examples/empty/test.py
|
mullikine/gopy
|
f9e088d468e6ed87ec13c0fa43c0eda12ca8d811
|
[
"BSD-3-Clause"
] | 1
|
2019-06-17T21:22:14.000Z
|
2019-06-17T21:22:14.000Z
|
_examples/empty/test.py
|
mingrammer/gopy
|
3b8a754b6c689175fac23de448e31b96c231e001
|
[
"BSD-3-Clause"
] | null | null | null |
_examples/empty/test.py
|
mingrammer/gopy
|
3b8a754b6c689175fac23de448e31b96c231e001
|
[
"BSD-3-Clause"
] | null | null | null |
# Copyright 2015 The go-python Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
## py2/py3 compat
from __future__ import print_function
import empty as pkg
print("doc(pkg):\n%s" % repr(pkg.__doc__))
| 23.916667
| 61
| 0.745645
| 49
| 287
| 4.183673
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02521
| 0.170732
| 287
| 11
| 62
| 26.090909
| 0.836134
| 0.599303
| 0
| 0
| 0
| 0
| 0.12037
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0.666667
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
|
0
| 4
|
c73cd85d602170ead2c0316b5d5759f599dfc9ba
| 248
|
py
|
Python
|
ulord/ulord/utils/generate.py
|
monotone/Ulord-platform
|
8ec19bbb8845db8f22df925d33b118b22dab0d0b
|
[
"MIT"
] | 28
|
2018-04-27T08:02:18.000Z
|
2020-01-14T05:08:34.000Z
|
ulord/ulord/utils/generate.py
|
monotone/Ulord-platform
|
8ec19bbb8845db8f22df925d33b118b22dab0d0b
|
[
"MIT"
] | 2
|
2018-05-16T08:29:20.000Z
|
2018-06-17T04:51:08.000Z
|
ulord/ulord/utils/generate.py
|
monotone/Ulord-platform
|
8ec19bbb8845db8f22df925d33b118b22dab0d0b
|
[
"MIT"
] | 4
|
2018-05-14T11:43:31.000Z
|
2018-09-29T09:58:58.000Z
|
# -*- coding: utf-8 -*-
# @Date : 2018/3/30
# @Author : Shu
# @Email : httpservlet@yeah.net
# @Des : 生成各种数据的通用类
import uuid
def generate_appkey():
"""生成开发者的appkey"""
appkey = str(uuid.uuid1())
return appkey.replace('-', '')
| 19.076923
| 34
| 0.576613
| 28
| 248
| 5.071429
| 0.892857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.046875
| 0.225806
| 248
| 12
| 35
| 20.666667
| 0.692708
| 0.504032
| 0
| 0
| 1
| 0
| 0.00885
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
c76326cc6ad6fe4062344ac39bd109422840495c
| 2,930
|
py
|
Python
|
codes/projects/test_continuous_parameter/data_generator/prior_io.py
|
hwangoh/uq-vae
|
382548e6f6dd7f9d72feff0e0752beec871db348
|
[
"MIT"
] | 2
|
2021-07-28T16:47:18.000Z
|
2021-08-03T00:53:58.000Z
|
codes/projects/test_continuous_parameter/data_generator/prior_io.py
|
HwanGoh/uq-vae
|
24a3d26987e2ec807d57601b14c68b22f3652a18
|
[
"MIT"
] | null | null | null |
codes/projects/test_continuous_parameter/data_generator/prior_io.py
|
HwanGoh/uq-vae
|
24a3d26987e2ec807d57601b14c68b22f3652a18
|
[
"MIT"
] | 2
|
2021-09-29T08:31:46.000Z
|
2021-11-07T10:26:45.000Z
|
import numpy as np
import pandas as pd
def save_prior(filepaths, prior_mean,
prior_covariance, prior_covariance_inverse,
prior_covariance_cholesky, prior_covariance_cholesky_inverse):
#=== Mean ===#
df_prior_mean = pd.DataFrame({'prior_mean': prior_mean.flatten()})
df_prior_mean.to_csv(filepaths.prior_mean + '.csv', index=False)
#=== Covariance ===#
df_prior_covariance = pd.DataFrame({'prior_covariance': prior_covariance.flatten()})
df_prior_covariance.to_csv(filepaths.prior_covariance + '.csv', index=False)
#=== Covariance Inverse ===#
df_prior_covariance_inverse = pd.DataFrame(
{'prior_covariance_inverse': prior_covariance_inverse.flatten()})
df_prior_covariance_inverse.to_csv(filepaths.prior_covariance_inverse + '.csv', index=False)
#=== Covariance Cholesky ===#
df_prior_covariance_cholesky = pd.DataFrame(
{'prior_covariance_cholesky': prior_covariance_cholesky.flatten()})
df_prior_covariance_cholesky.to_csv(
filepaths.prior_covariance_cholesky + '.csv', index=False)
#=== Covariance Cholesky Inverse ===#
df_prior_covariance_cholesky_inverse = pd.DataFrame(
{'prior_covariance_cholesky_inverse': prior_covariance_cholesky_inverse.flatten()})
df_prior_covariance_cholesky_inverse.to_csv(
filepaths.prior_covariance_cholesky_inverse + '.csv', index=False)
def load_prior(filepaths, dimensions):
#=== Mean ===#
df_prior_mean = pd.read_csv(filepaths.prior_mean + '.csv')
prior_mean = df_prior_mean.to_numpy()
#=== Covariance ===#
df_prior_covariance = pd.read_csv(filepaths.prior_covariance + '.csv')
prior_covariance = df_prior_covariance.to_numpy()
prior_covariance = prior_covariance.reshape((dimensions, dimensions))
#=== Covariance Inverse ===#
df_prior_covariance_inverse =\
pd.read_csv(filepaths.prior_covariance_inverse + '.csv')
prior_covariance_inverse = df_prior_covariance_inverse.to_numpy()
prior_covariance_inverse = prior_covariance_inverse.reshape((dimensions, dimensions))
#=== Covariance Cholesky ===#
df_prior_covariance_cholesky =\
pd.read_csv(filepaths.prior_covariance_cholesky + '.csv')
prior_covariance_cholesky = df_prior_covariance_cholesky.to_numpy()
prior_covariance_cholesky = prior_covariance_cholesky.reshape((dimensions, dimensions))
#=== Covariance Cholesky Inverse ===#
df_covariance_cholesky_inverse =\
pd.read_csv(filepaths.prior_covariance_cholesky_inverse + '.csv')
prior_covariance_cholesky_inverse = df_covariance_cholesky_inverse.to_numpy()
prior_covariance_cholesky_inverse =\
prior_covariance_cholesky_inverse.reshape((dimensions, dimensions))
return prior_mean, prior_covariance, prior_covariance_inverse,\
prior_covariance_cholesky, prior_covariance_cholesky_inverse
| 44.393939
| 96
| 0.73686
| 324
| 2,930
| 6.200617
| 0.080247
| 0.37332
| 0.274764
| 0.164261
| 0.800398
| 0.581882
| 0.380289
| 0.158288
| 0.098557
| 0.098557
| 0
| 0
| 0.159386
| 2,930
| 65
| 97
| 45.076923
| 0.815672
| 0.080546
| 0
| 0
| 0
| 0
| 0.055348
| 0.030666
| 0
| 0
| 0
| 0
| 0
| 1
| 0.04878
| false
| 0
| 0.04878
| 0
| 0.121951
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c769c136dc839a16c9b121e9b0b46e1266286893
| 300
|
py
|
Python
|
notification/models.py
|
marcornett/twitter-clone
|
bcee2828311ffeb598a5740edcd576d562135981
|
[
"MIT"
] | null | null | null |
notification/models.py
|
marcornett/twitter-clone
|
bcee2828311ffeb598a5740edcd576d562135981
|
[
"MIT"
] | null | null | null |
notification/models.py
|
marcornett/twitter-clone
|
bcee2828311ffeb598a5740edcd576d562135981
|
[
"MIT"
] | null | null | null |
from django.db import models
from twitteruser.models import TwitterUser
from tweet.models import Tweet
class Notifications(models.Model):
notification = models.ForeignKey(Tweet, on_delete=models.CASCADE, null=True)
user = models.ForeignKey(TwitterUser, on_delete=models.CASCADE, null=True)
| 33.333333
| 80
| 0.803333
| 39
| 300
| 6.128205
| 0.461538
| 0.100418
| 0.117155
| 0.175732
| 0.242678
| 0.242678
| 0
| 0
| 0
| 0
| 0
| 0
| 0.113333
| 300
| 8
| 81
| 37.5
| 0.898496
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 1
| 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
|
c76bef30f924678fbbf53efb18d795d0d16b8a19
| 312
|
py
|
Python
|
Other Groups/Himawari/Boruto - Naruto Next Generations [WEB]/boruto_commons/masking.py
|
Setsugennoao/Encoding-Scripts
|
497c305ae19f0e380947d082df535fa8cf405676
|
[
"MIT"
] | 10
|
2021-09-18T20:45:46.000Z
|
2022-01-17T03:20:21.000Z
|
Other Groups/Himawari/Boruto - Naruto Next Generations [WEB]/boruto_commons/masking.py
|
Setsugennoao/Encoding-Scripts
|
497c305ae19f0e380947d082df535fa8cf405676
|
[
"MIT"
] | null | null | null |
Other Groups/Himawari/Boruto - Naruto Next Generations [WEB]/boruto_commons/masking.py
|
Setsugennoao/Encoding-Scripts
|
497c305ae19f0e380947d082df535fa8cf405676
|
[
"MIT"
] | null | null | null |
import vapoursynth as vs
from vsutil import iterate, depth
core = vs.core
def get_downdescale_mask(descale_mask: vs.VideoNode) -> vs.VideoNode:
return iterate(iterate(depth(descale_mask.resize.Bicubic(1280, 720), 16), core.std.Inflate, 20).std.Binarize(24 << 8), core.std.Inflate, 15).std.Binarize(24 << 8)
| 34.666667
| 164
| 0.753205
| 49
| 312
| 4.714286
| 0.571429
| 0.103896
| 0.121212
| 0.121212
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.068345
| 0.108974
| 312
| 8
| 165
| 39
| 0.76259
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0.2
| 0.8
| 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
|
c77a71aded9ff7689a217ccd595b6cf3f5945044
| 957
|
py
|
Python
|
aps/car/models.py
|
kunalvohra94/parkinglotproblem-python
|
9e133deb3aa948e0902d278f54dd92277a5bf441
|
[
"MIT"
] | 1
|
2018-12-13T22:42:33.000Z
|
2018-12-13T22:42:33.000Z
|
aps/car/models.py
|
kunalvohra94/parkinglotproblem-python
|
9e133deb3aa948e0902d278f54dd92277a5bf441
|
[
"MIT"
] | null | null | null |
aps/car/models.py
|
kunalvohra94/parkinglotproblem-python
|
9e133deb3aa948e0902d278f54dd92277a5bf441
|
[
"MIT"
] | null | null | null |
from django.db import models
# Create your models here.
class car(models.Model):
regno = models.CharField(max_length=200)
color = models.CharField(max_length=200, default='nocolor')
status = models.CharField(max_length=200, default='in')
slot = models.IntegerField(default=999)
level = models.IntegerField(default=999)
def __str__(self):
return self.regno
class parking(models.Model):
level = models.CharField(max_length=200, unique=True)
slot1 = models.IntegerField(default=0)
slot2 = models.IntegerField(default=0)
slot3 = models.IntegerField(default=0)
slot4 = models.IntegerField(default=0)
slot5 = models.IntegerField(default=0)
slot6 = models.IntegerField(default=0)
slot7 = models.IntegerField(default=0)
slot8 = models.IntegerField(default=0)
slot9 = models.IntegerField(default=0)
slot10 = models.IntegerField(default=0)
def __str_(self):
return self.level
| 34.178571
| 63
| 0.715778
| 119
| 957
| 5.663866
| 0.361345
| 0.320475
| 0.445104
| 0.385757
| 0.240356
| 0.10089
| 0
| 0
| 0
| 0
| 0
| 0.049118
| 0.170324
| 957
| 27
| 64
| 35.444444
| 0.799748
| 0.025078
| 0
| 0
| 0
| 0
| 0.009667
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.086957
| false
| 0
| 0.043478
| 0.086957
| 1
| 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
|
c77e8fee678ed3d873a27d8fc2bc48302ddaa064
| 1,185
|
py
|
Python
|
quizzes/00.organize.me/Cracking the Coding Interview/p00_combination_iter.py
|
JiniousChoi/encyclopedia-in-code
|
77bc551a03a2a3e3808e50016ece14adb5cfbd96
|
[
"MIT"
] | 2
|
2018-07-20T10:15:49.000Z
|
2018-07-20T10:16:54.000Z
|
quizzes/00.organize.me/Cracking the Coding Interview/p00_combination_iter.py
|
JiniousChoi/encyclopedia-in-code
|
77bc551a03a2a3e3808e50016ece14adb5cfbd96
|
[
"MIT"
] | 2
|
2018-06-26T09:12:44.000Z
|
2019-12-18T00:09:14.000Z
|
quizzes/00.organize.me/Cracking the Coding Interview/p00_combination_iter.py
|
JiniousChoi/encyclopedia-in-code
|
77bc551a03a2a3e3808e50016ece14adb5cfbd96
|
[
"MIT"
] | null | null | null |
def combination_iter(arr, many):
if type(arr)!=list or many<0 or many>len(arr):
assert(False)
result = []
queue = []
for ele in arr:
queue.append([ele])
while(0<len(queue)):
cur_list = queue.pop(0)
if len(cur_list) < many:
for ele in arr:
if cur_list[-1] < ele:
tmp_list = cur_list[:]
tmp_list.append(ele)
queue.append(tmp_list)
elif len(cur_list) == many:
result.append( cur_list )
else:
assert(False)
return result
def combination_wrapper( arr, many ):
#if not monotonically increasing:
#exit
for i in range(len(arr))[:-1]:
if arr[i]>arr[i+1]:
assert(False)
#if monotonically increasing:
return combination_iter(arr,many)
if __name__=="__main__":
arr = [1,2,3,4,5,6]
print combination_wrapper( arr, 1 )
print combination_wrapper( arr, 2 )
print combination_wrapper( arr, 3 )
print combination_wrapper( arr, 4 )
print combination_wrapper( arr, 5 )
print combination_wrapper( arr, 6 )
| 26.931818
| 50
| 0.545148
| 149
| 1,185
| 4.161074
| 0.281879
| 0.203226
| 0.237097
| 0.251613
| 0.077419
| 0
| 0
| 0
| 0
| 0
| 0
| 0.023226
| 0.345992
| 1,185
| 43
| 51
| 27.55814
| 0.776774
| 0.054008
| 0
| 0.151515
| 0
| 0
| 0.007156
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 0
| null | null | 0
| 0
| null | null | 0.181818
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
c7801b25132aca4e625222decd0d63d73c6e2739
| 71
|
py
|
Python
|
keras_contrib/optimizers/__init__.py
|
rgreenblatt/keras-contrib
|
46fcdb9384b3bc9399c651b2b43640aa54098e64
|
[
"MIT"
] | 7
|
2017-07-22T09:05:44.000Z
|
2019-04-30T02:08:04.000Z
|
keras_contrib/optimizers/__init__.py
|
rgreenblatt/keras-contrib
|
46fcdb9384b3bc9399c651b2b43640aa54098e64
|
[
"MIT"
] | 1
|
2017-12-26T02:59:59.000Z
|
2017-12-26T02:59:59.000Z
|
keras_contrib/optimizers/__init__.py
|
rgreenblatt/keras-contrib
|
46fcdb9384b3bc9399c651b2b43640aa54098e64
|
[
"MIT"
] | 11
|
2017-07-06T14:11:51.000Z
|
2021-08-21T23:18:20.000Z
|
from .ftml import FTML
from .padam import Padam
# aliases
ftml = FTML
| 11.833333
| 24
| 0.746479
| 11
| 71
| 4.818182
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.197183
| 71
| 5
| 25
| 14.2
| 0.929825
| 0.098592
| 0
| 0
| 0
| 0
| 0
| 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
|
c7940ab607efe863e371f0644ce265c956ed4e82
| 246
|
py
|
Python
|
notes/code/scrape/hackernews.py
|
akkiittiwari/msan692
|
70698a71e44a86dbdc0b226a46affcf0dc293b59
|
[
"MIT"
] | null | null | null |
notes/code/scrape/hackernews.py
|
akkiittiwari/msan692
|
70698a71e44a86dbdc0b226a46affcf0dc293b59
|
[
"MIT"
] | null | null | null |
notes/code/scrape/hackernews.py
|
akkiittiwari/msan692
|
70698a71e44a86dbdc0b226a46affcf0dc293b59
|
[
"MIT"
] | 1
|
2019-01-20T16:02:20.000Z
|
2019-01-20T16:02:20.000Z
|
import requests
from bs4 import BeautifulSoup
response = requests.get("https://news.ycombinator.com/newest")
html = BeautifulSoup(response.content, "html.parser")
for link in html.find_all(class_="storylink"):
print link['href'], link.text
| 27.333333
| 62
| 0.760163
| 33
| 246
| 5.606061
| 0.757576
| 0.227027
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004545
| 0.105691
| 246
| 8
| 63
| 30.75
| 0.836364
| 0
| 0
| 0
| 0
| 0
| 0.239837
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.333333
| null | null | 0.166667
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
c7be69e33026f4dc0c32ffda5effbb9a42353e05
| 167
|
py
|
Python
|
venv/bin/django-admin.py
|
edbolivar/perfectpair-django
|
798a88d16c6689bad2248add0e4e4958bda64545
|
[
"MIT"
] | null | null | null |
venv/bin/django-admin.py
|
edbolivar/perfectpair-django
|
798a88d16c6689bad2248add0e4e4958bda64545
|
[
"MIT"
] | null | null | null |
venv/bin/django-admin.py
|
edbolivar/perfectpair-django
|
798a88d16c6689bad2248add0e4e4958bda64545
|
[
"MIT"
] | null | null | null |
#!/Users/admin/Downloads/perfectpair-master/venv/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 27.833333
| 60
| 0.796407
| 21
| 167
| 5.809524
| 0.904762
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006579
| 0.08982
| 167
| 5
| 61
| 33.4
| 0.796053
| 0.353293
| 0
| 0
| 0
| 0
| 0.074766
| 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
|
c7eb687a4aa9eaadb05cbbca791847b7ca8a34e3
| 92
|
py
|
Python
|
awwards/apps.py
|
HASSAN1A/Awwards
|
0dd31882750f1200b7767865a523870eed8b71f7
|
[
"MIT"
] | 2
|
2021-05-19T12:58:43.000Z
|
2021-05-28T14:03:50.000Z
|
awwards/apps.py
|
HASSAN1A/Awwards
|
0dd31882750f1200b7767865a523870eed8b71f7
|
[
"MIT"
] | null | null | null |
awwards/apps.py
|
HASSAN1A/Awwards
|
0dd31882750f1200b7767865a523870eed8b71f7
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class AwwardsAppConfig(AppConfig):
name = 'awwards'
| 15.333333
| 34
| 0.76087
| 10
| 92
| 7
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163043
| 92
| 5
| 35
| 18.4
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0.076087
| 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
|
4063f3ea3b606c7a97057bb6d5b20674d29f4d61
| 109
|
py
|
Python
|
1.py
|
lujiayou123/Off-Policy-Meta-Reinforcement-Learning-via-Unsupervised-Domain-Translation
|
af4c8e96af77cbe84517ce79886a40618b94a56c
|
[
"MIT"
] | null | null | null |
1.py
|
lujiayou123/Off-Policy-Meta-Reinforcement-Learning-via-Unsupervised-Domain-Translation
|
af4c8e96af77cbe84517ce79886a40618b94a56c
|
[
"MIT"
] | null | null | null |
1.py
|
lujiayou123/Off-Policy-Meta-Reinforcement-Learning-via-Unsupervised-Domain-Translation
|
af4c8e96af77cbe84517ce79886a40618b94a56c
|
[
"MIT"
] | null | null | null |
import torch
import numpy as np
import rlkit.torch.pytorch_util as ptu
alpha =torch.tensor(0.)
print(alpha)
| 15.571429
| 38
| 0.788991
| 19
| 109
| 4.473684
| 0.684211
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010526
| 0.12844
| 109
| 6
| 39
| 18.166667
| 0.884211
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.6
| 0
| 0.6
| 0.2
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
40ad52c873653063680a633ee1bab36fdba862c6
| 177
|
py
|
Python
|
curso-em-video/aula_10/desafio34.py
|
talysonxx/python
|
520b108731e28c7dc1fca3523b925be506fd8340
|
[
"MIT"
] | null | null | null |
curso-em-video/aula_10/desafio34.py
|
talysonxx/python
|
520b108731e28c7dc1fca3523b925be506fd8340
|
[
"MIT"
] | null | null | null |
curso-em-video/aula_10/desafio34.py
|
talysonxx/python
|
520b108731e28c7dc1fca3523b925be506fd8340
|
[
"MIT"
] | null | null | null |
sal = float(input('Digite o seu salário : '))
if sal >= 1250:
print('Seu novo salário é:', (sal + (sal * 0.1)))
else:
print('Seu novo salário é:', (sal + (sal * 0.15)))
| 29.5
| 54
| 0.564972
| 29
| 177
| 3.448276
| 0.551724
| 0.16
| 0.24
| 0.38
| 0.54
| 0.54
| 0.54
| 0.54
| 0
| 0
| 0
| 0.065217
| 0.220339
| 177
| 5
| 55
| 35.4
| 0.65942
| 0
| 0
| 0
| 0
| 0
| 0.344633
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.4
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
40c135892f9e08154ebb4289bc42d1928ccb495a
| 305
|
py
|
Python
|
halite/__init__.py
|
w9PcJLyb/HaliteIV-bot
|
bade9e12fc849f0027d729d81847e5a2ecbbe63a
|
[
"Apache-2.0"
] | null | null | null |
halite/__init__.py
|
w9PcJLyb/HaliteIV-bot
|
bade9e12fc849f0027d729d81847e5a2ecbbe63a
|
[
"Apache-2.0"
] | null | null | null |
halite/__init__.py
|
w9PcJLyb/HaliteIV-bot
|
bade9e12fc849f0027d729d81847e5a2ecbbe63a
|
[
"Apache-2.0"
] | null | null | null |
from .board import MyBoard
from .opening import opening_actions
from .endspiel import endspiel_actions
from .ship_moves import ship_moves
from .ship_converts import ship_converts
from .defend_shipyards import defend_shipyards, leave_one_ship_in_a_shipyard
from .shipyards_actions import shipyards_actions
| 38.125
| 76
| 0.878689
| 44
| 305
| 5.75
| 0.386364
| 0.086957
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.095082
| 305
| 7
| 77
| 43.571429
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
40d4cef7d1d6622ca34abdd9801b18b9fee8e0f8
| 157
|
py
|
Python
|
base/our-tests/bound-and-free.py
|
jpolitz/lambda-py-paper
|
746ef63fc1123714b4adaf78119028afbea7bd76
|
[
"Apache-2.0"
] | 25
|
2015-04-16T04:31:49.000Z
|
2022-03-10T15:53:28.000Z
|
base/our-tests/bound-and-free.py
|
jpolitz/lambda-py-paper
|
746ef63fc1123714b4adaf78119028afbea7bd76
|
[
"Apache-2.0"
] | 1
|
2018-11-21T22:40:02.000Z
|
2018-11-26T17:53:11.000Z
|
base/our-tests/bound-and-free.py
|
jpolitz/lambda-py-paper
|
746ef63fc1123714b4adaf78119028afbea7bd76
|
[
"Apache-2.0"
] | 1
|
2021-03-26T03:36:19.000Z
|
2021-03-26T03:36:19.000Z
|
# var is bound and free in class
def f(x):
class C:
def m(self):
return x
a = x
return C
inst = f(3)()
inst.a
inst.m()
| 12.076923
| 32
| 0.477707
| 28
| 157
| 2.678571
| 0.607143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.010753
| 0.407643
| 157
| 12
| 33
| 13.083333
| 0.795699
| 0.191083
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.222222
| false
| 0
| 0
| 0.111111
| 0.666667
| 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.